From 52c25b9f7889516094fff40c8645dd4fb3c5b5f2 Mon Sep 17 00:00:00 2001 From: SciLor Date: Mon, 2 Sep 2024 09:33:28 +0000 Subject: [PATCH 1/2] Update frontend (make web) --- .../{index-hMb_Kd2P.js => index-Dmn4eEyq.js} | 156 +++++++++--------- contrib/data/www/web/index.html | 2 +- contrib/data/www/web/translations/de.json | 1 + contrib/data/www/web/translations/en.json | 1 + contrib/data/www/web/translations/fr.json | 1 + teddycloud_web | 2 +- 6 files changed, 83 insertions(+), 80 deletions(-) rename contrib/data/www/web/assets/{index-hMb_Kd2P.js => index-Dmn4eEyq.js} (89%) diff --git a/contrib/data/www/web/assets/index-hMb_Kd2P.js b/contrib/data/www/web/assets/index-Dmn4eEyq.js similarity index 89% rename from contrib/data/www/web/assets/index-hMb_Kd2P.js rename to contrib/data/www/web/assets/index-Dmn4eEyq.js index 5cd22d9f..d0c38d29 100644 --- a/contrib/data/www/web/assets/index-hMb_Kd2P.js +++ b/contrib/data/www/web/assets/index-Dmn4eEyq.js @@ -23,7 +23,7 @@ var MY=Object.defineProperty;var DY=(e,t,n)=>t in e?MY(e,t,{enumerable:!0,config * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(M,L){var F=M.length;M.push(L);e:for(;0>>1,B=M[j];if(0>>1;ja(U,F))Za(q,U)?(M[j]=q,M[Z]=F,j=Z):(M[j]=U,M[H]=F,j=H);else if(Za(q,F))M[j]=q,M[Z]=F,j=Z;else break e}}return L}function a(M,L){var F=M.sortIndex-L.sortIndex;return F!==0?F:M.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var c=[],u=[],d=1,f=null,p=3,g=!1,b=!1,m=!1,h=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(M){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=M)r(u),L.sortIndex=L.expirationTime,t(c,L);else break;L=n(u)}}function w(M){if(m=!1,S(M),!b)if(n(c)!==null)b=!0,N(x);else{var L=n(u);L!==null&&k(w,L.startTime-M)}}function x(M,L){b=!1,m&&(m=!1,y(R),R=-1),g=!0;var F=p;try{for(S(L),f=n(c);f!==null&&(!(f.expirationTime>L)||M&&!$());){var j=f.callback;if(typeof j=="function"){f.callback=null,p=f.priorityLevel;var B=j(f.expirationTime<=L);L=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(c)&&r(c),S(L)}else r(c);f=n(c)}if(f!==null)var z=!0;else{var H=n(u);H!==null&&k(w,H.startTime-L),z=!1}return z}finally{f=null,p=F,g=!1}}var E=!1,I=null,R=-1,T=5,_=-1;function $(){return!(e.unstable_now()-_M||125j?(M.sortIndex=F,t(u,M),n(c)===null&&M===n(u)&&(m?(y(R),R=-1):m=!0,k(w,F-j))):(M.sortIndex=B,t(c,M),b||g||(b=!0,N(x))),M},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(M){var L=p;return function(){var F=p;p=L;try{return M.apply(this,arguments)}finally{p=F}}}})(Lj);Pj.exports=Lj;var aX=Pj.exports;/** + */(function(e){function t(M,L){var F=M.length;M.push(L);e:for(;0>>1,B=M[j];if(0>>1;ja(U,F))Za(q,U)?(M[j]=q,M[Z]=F,j=Z):(M[j]=U,M[H]=F,j=H);else if(Za(q,F))M[j]=q,M[Z]=F,j=Z;else break e}}return L}function a(M,L){var F=M.sortIndex-L.sortIndex;return F!==0?F:M.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var c=[],u=[],d=1,f=null,p=3,g=!1,v=!1,m=!1,h=typeof setTimeout=="function"?setTimeout:null,y=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function S(M){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=M)r(u),L.sortIndex=L.expirationTime,t(c,L);else break;L=n(u)}}function w(M){if(m=!1,S(M),!v)if(n(c)!==null)v=!0,N(x);else{var L=n(u);L!==null&&k(w,L.startTime-M)}}function x(M,L){v=!1,m&&(m=!1,y(R),R=-1),g=!0;var F=p;try{for(S(L),f=n(c);f!==null&&(!(f.expirationTime>L)||M&&!$());){var j=f.callback;if(typeof j=="function"){f.callback=null,p=f.priorityLevel;var B=j(f.expirationTime<=L);L=e.unstable_now(),typeof B=="function"?f.callback=B:f===n(c)&&r(c),S(L)}else r(c);f=n(c)}if(f!==null)var z=!0;else{var H=n(u);H!==null&&k(w,H.startTime-L),z=!1}return z}finally{f=null,p=F,g=!1}}var E=!1,I=null,R=-1,T=5,_=-1;function $(){return!(e.unstable_now()-_M||125j?(M.sortIndex=F,t(u,M),n(c)===null&&M===n(u)&&(m?(y(R),R=-1):m=!0,k(w,F-j))):(M.sortIndex=B,t(c,M),v||g||(v=!0,N(x))),M},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(M){var L=p;return function(){var F=p;p=L;try{return M.apply(this,arguments)}finally{p=F}}}})(Lj);Pj.exports=Lj;var aX=Pj.exports;/** * @license React * react-dom.production.min.js * @@ -35,11 +35,11 @@ var MY=Object.defineProperty;var DY=(e,t,n)=>t in e?MY(e,t,{enumerable:!0,config `+ty+e}var ny=!1;function ry(e,t){if(!e||ny)return"";ny=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var a=u.stack.split(` `),o=r.stack.split(` `),i=a.length-1,s=o.length-1;1<=i&&0<=s&&a[i]!==o[s];)s--;for(;1<=i&&0<=s;i--,s--)if(a[i]!==o[s]){if(i!==1||s!==1)do if(i--,s--,0>s||a[i]!==o[s]){var c=` -`+a[i].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=i&&0<=s);break}}}finally{ny=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Yd(e):""}function uX(e){switch(e.tag){case 5:return Yd(e.type);case 16:return Yd("Lazy");case 13:return Yd("Suspense");case 19:return Yd("SuspenseList");case 0:case 2:case 15:return e=ry(e.type,!1),e;case 11:return e=ry(e.type.render,!1),e;case 1:return e=ry(e.type,!0),e;default:return""}}function O2(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wc:return"Fragment";case Vc:return"Portal";case R2:return"Profiler";case LR:return"StrictMode";case _2:return"Suspense";case $2:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Bj:return(e.displayName||"Context")+".Consumer";case jj:return(e._context.displayName||"Context")+".Provider";case FR:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jR:return t=e.displayName||null,t!==null?t:O2(e.type)||"Memo";case cs:t=e._payload,e=e._init;try{return O2(e(t))}catch{}}return null}function dX(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return O2(t);case 8:return t===LR?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ls(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hj(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fX(e){var t=Hj(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hg(e){e._valueTracker||(e._valueTracker=fX(e))}function Uj(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hj(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ah(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function N2(e,t){var n=t.checked;return Xn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wN(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ls(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vj(e,t){t=t.checked,t!=null&&PR(e,"checked",t,!1)}function k2(e,t){Vj(e,t);var n=Ls(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?A2(e,t.type,n):t.hasOwnProperty("defaultValue")&&A2(e,t.type,Ls(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function CN(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function A2(e,t,n){(t!=="number"||Ah(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Xd=Array.isArray;function cu(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Ug.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hf(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ff={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},pX=["Webkit","ms","Moz","O"];Object.keys(ff).forEach(function(e){pX.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ff[t]=ff[e]})});function Kj(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ff.hasOwnProperty(e)&&ff[e]?(""+t).trim():t+"px"}function Yj(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=Kj(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var gX=Xn({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 P2(e,t){if(t){if(gX[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ct(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ct(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ct(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ct(62))}}function L2(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 F2=null;function BR(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var j2=null,uu=null,du=null;function IN(e){if(e=Yp(e)){if(typeof j2!="function")throw Error(ct(280));var t=e.stateNode;t&&(t=Zv(t),j2(e.stateNode,e.type,t))}}function Xj(e){uu?du?du.push(e):du=[e]:uu=e}function Zj(){if(uu){var e=uu,t=du;if(du=uu=null,IN(e),t)for(e=0;e>>=0,e===0?32:31-(IX(e)/TX|0)|0}var Vg=64,Wg=4194304;function Zd(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Lh(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~a;s!==0?r=Zd(s):(o&=i,o!==0&&(r=Zd(o)))}else i=n&~a,i!==0?r=Zd(i):o!==0&&(r=Zd(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function qp(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Po(t),e[t]=n}function OX(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=gf),MN=" ",DN=!1;function vB(e,t){switch(e){case"keyup":return aZ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bB(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gc=!1;function iZ(e,t){switch(e){case"compositionend":return bB(t);case"keypress":return t.which!==32?null:(DN=!0,MN);case"textInput":return e=t.data,e===MN&&DN?null:e;default:return null}}function sZ(e,t){if(Gc)return e==="compositionend"||!KR&&vB(e,t)?(e=mB(),rh=WR=hs=null,Gc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=jN(n)}}function CB(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?CB(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xB(){for(var e=window,t=Ah();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ah(e.document)}return t}function YR(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function hZ(e){var t=xB(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&CB(n.ownerDocument.documentElement,n)){if(r!==null&&YR(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=r.end===void 0?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=BN(n,o);var i=BN(n,r);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>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;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,qc=null,W2=null,hf=null,G2=!1;function zN(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;G2||qc==null||qc!==Ah(r)||(r=qc,"selectionStart"in r&&YR(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),hf&&Kf(hf,r)||(hf=r,r=Bh(W2,"onSelect"),0Xc||(e.current=Q2[Xc],Q2[Xc]=null,Xc--)}function $n(e,t){Xc++,Q2[Xc]=e.current,e.current=t}var Fs={},ra=qs(Fs),Ia=qs(!1),Fl=Fs;function xu(e,t){var n=e.type.contextTypes;if(!n)return Fs;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ta(e){return e=e.childContextTypes,e!=null}function Hh(){jn(Ia),jn(ra)}function KN(e,t,n){if(ra.current!==Fs)throw Error(ct(168));$n(ra,t),$n(Ia,n)}function kB(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(ct(108,dX(e)||"Unknown",a));return Xn({},n,r)}function Uh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fs,Fl=ra.current,$n(ra,e),$n(Ia,Ia.current),!0}function YN(e,t,n){var r=e.stateNode;if(!r)throw Error(ct(169));n?(e=kB(e,t,Fl),r.__reactInternalMemoizedMergedChildContext=e,jn(Ia),jn(ra),$n(ra,e)):jn(Ia),$n(Ia,n)}var $i=null,Qv=!1,vy=!1;function AB(e){$i===null?$i=[e]:$i.push(e)}function _Z(e){Qv=!0,AB(e)}function Ks(){if(!vy&&$i!==null){vy=!0;var e=0,t=yn;try{var n=$i;for(yn=1;e>=i,a-=i,Mi=1<<32-Po(t)+a|n<R?(T=I,I=null):T=I.sibling;var _=p(y,I,S[R],w);if(_===null){I===null&&(I=T);break}e&&I&&_.alternate===null&&t(y,I),v=o(_,v,R),E===null?x=_:E.sibling=_,E=_,I=T}if(R===S.length)return n(y,I),Un&&dl(y,R),x;if(I===null){for(;RR?(T=I,I=null):T=I.sibling;var $=p(y,I,_.value,w);if($===null){I===null&&(I=T);break}e&&I&&$.alternate===null&&t(y,I),v=o($,v,R),E===null?x=$:E.sibling=$,E=$,I=T}if(_.done)return n(y,I),Un&&dl(y,R),x;if(I===null){for(;!_.done;R++,_=S.next())_=f(y,_.value,w),_!==null&&(v=o(_,v,R),E===null?x=_:E.sibling=_,E=_);return Un&&dl(y,R),x}for(I=r(y,I);!_.done;R++,_=S.next())_=g(I,y,R,_.value,w),_!==null&&(e&&_.alternate!==null&&I.delete(_.key===null?R:_.key),v=o(_,v,R),E===null?x=_:E.sibling=_,E=_);return e&&I.forEach(function(D){return t(y,D)}),Un&&dl(y,R),x}function h(y,v,S,w){if(typeof S=="object"&&S!==null&&S.type===Wc&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case zg:e:{for(var x=S.key,E=v;E!==null;){if(E.key===x){if(x=S.type,x===Wc){if(E.tag===7){n(y,E.sibling),v=a(E,S.props.children),v.return=y,y=v;break e}}else if(E.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===cs&&QN(x)===E.type){n(y,E.sibling),v=a(E,S.props),v.ref=_d(y,E,S),v.return=y,y=v;break e}n(y,E);break}else t(y,E);E=E.sibling}S.type===Wc?(v=Ol(S.props.children,y.mode,w,S.key),v.return=y,y=v):(w=dh(S.type,S.key,S.props,null,y.mode,w),w.ref=_d(y,v,S),w.return=y,y=w)}return i(y);case Vc:e:{for(E=S.key;v!==null;){if(v.key===E)if(v.tag===4&&v.stateNode.containerInfo===S.containerInfo&&v.stateNode.implementation===S.implementation){n(y,v.sibling),v=a(v,S.children||[]),v.return=y,y=v;break e}else{n(y,v);break}else t(y,v);v=v.sibling}v=Iy(S,y.mode,w),v.return=y,y=v}return i(y);case cs:return E=S._init,h(y,v,E(S._payload),w)}if(Xd(S))return b(y,v,S,w);if(xd(S))return m(y,v,S,w);Qg(y,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,v!==null&&v.tag===6?(n(y,v.sibling),v=a(v,S),v.return=y,y=v):(n(y,v),v=Ey(S,y.mode,w),v.return=y,y=v),i(y)):n(y,v)}return h}var Iu=LB(!0),FB=LB(!1),Gh=qs(null),qh=null,Jc=null,JR=null;function e_(){JR=Jc=qh=null}function t_(e){var t=Gh.current;jn(Gh),e._currentValue=t}function tI(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function pu(e,t){qh=e,JR=Jc=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(wa=!0),e.firstContext=null)}function go(e){var t=e._currentValue;if(JR!==e)if(e={context:e,memoizedValue:t,next:null},Jc===null){if(qh===null)throw Error(ct(308));Jc=e,qh.dependencies={lanes:0,firstContext:e}}else Jc=Jc.next=e;return t}var vl=null;function n_(e){vl===null?vl=[e]:vl.push(e)}function jB(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,n_(t)):(n.next=a.next,a.next=n),t.interleaved=n,Hi(e,r)}function Hi(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var us=!1;function r_(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function BB(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rs(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,dn&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Hi(e,n)}return a=r.interleaved,a===null?(t.next=t,n_(r)):(t.next=a.next,a.next=t),r.interleaved=t,Hi(e,n)}function oh(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,HR(e,n)}}function JN(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?a=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Kh(e,t,n,r){var a=e.updateQueue;us=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var c=s,u=c.next;c.next=null,i===null?o=u:i.next=u,i=c;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==i&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=c))}if(o!==null){var f=a.baseState;i=0,d=u=c=null,s=o;do{var p=s.lane,g=s.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var b=e,m=s;switch(p=t,g=n,m.tag){case 1:if(b=m.payload,typeof b=="function"){f=b.call(g,f,p);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=m.payload,p=typeof b=="function"?b.call(g,f,p):b,p==null)break e;f=Xn({},f,p);break e;case 2:us=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=a.effects,p===null?a.effects=[s]:p.push(s))}else g={eventTime:g,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=g,c=f):d=d.next=g,i|=p;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;p=s,s=p.next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}while(!0);if(d===null&&(c=f),a.baseState=c,a.firstBaseUpdate=u,a.lastBaseUpdate=d,t=a.shared.interleaved,t!==null){a=t;do i|=a.lane,a=a.next;while(a!==t)}else o===null&&(a.shared.lanes=0);zl|=i,e.lanes=i,e.memoizedState=f}}function ek(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=yy.transition;yy.transition={};try{e(!1),t()}finally{yn=n,yy.transition=r}}function rz(){return mo().memoizedState}function kZ(e,t,n){var r=$s(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},az(e))oz(t,n);else if(n=jB(e,t,n,r),n!==null){var a=ua();Lo(n,e,r,a),iz(n,t,r)}}function AZ(e,t,n){var r=$s(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(az(e))oz(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,zo(s,i)){var c=t.interleaved;c===null?(a.next=a,n_(t)):(a.next=c.next,c.next=a),t.interleaved=a;return}}catch{}finally{}n=jB(e,t,a,r),n!==null&&(a=ua(),Lo(n,e,r,a),iz(n,t,r))}}function az(e){var t=e.alternate;return e===Yn||t!==null&&t===Yn}function oz(e,t){vf=Xh=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function iz(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,HR(e,n)}}var Zh={readContext:go,useCallback:Kr,useContext:Kr,useEffect:Kr,useImperativeHandle:Kr,useInsertionEffect:Kr,useLayoutEffect:Kr,useMemo:Kr,useReducer:Kr,useRef:Kr,useState:Kr,useDebugValue:Kr,useDeferredValue:Kr,useTransition:Kr,useMutableSource:Kr,useSyncExternalStore:Kr,useId:Kr,unstable_isNewReconciler:!1},MZ={readContext:go,useCallback:function(e,t){return Jo().memoizedState=[e,t===void 0?null:t],e},useContext:go,useEffect:nk,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,sh(4194308,4,QB.bind(null,t,e),n)},useLayoutEffect:function(e,t){return sh(4194308,4,e,t)},useInsertionEffect:function(e,t){return sh(4,2,e,t)},useMemo:function(e,t){var n=Jo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jo();return t=n!==void 0?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=kZ.bind(null,Yn,e),[r.memoizedState,e]},useRef:function(e){var t=Jo();return e={current:e},t.memoizedState=e},useState:tk,useDebugValue:d_,useDeferredValue:function(e){return Jo().memoizedState=e},useTransition:function(){var e=tk(!1),t=e[0];return e=NZ.bind(null,e[1]),Jo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Yn,a=Jo();if(Un){if(n===void 0)throw Error(ct(407));n=n()}else{if(n=t(),Nr===null)throw Error(ct(349));Bl&30||VB(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,nk(GB.bind(null,r,o,e),[e]),r.flags|=2048,np(9,WB.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Jo(),t=Nr.identifierPrefix;if(Un){var n=Di,r=Mi;n=(r&~(1<<32-Po(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ep++,0")&&(c=c.replace("",e.displayName)),c}while(1<=i&&0<=s);break}}}finally{ny=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Yd(e):""}function uX(e){switch(e.tag){case 5:return Yd(e.type);case 16:return Yd("Lazy");case 13:return Yd("Suspense");case 19:return Yd("SuspenseList");case 0:case 2:case 15:return e=ry(e.type,!1),e;case 11:return e=ry(e.type.render,!1),e;case 1:return e=ry(e.type,!0),e;default:return""}}function O2(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Wc:return"Fragment";case Vc:return"Portal";case R2:return"Profiler";case LR:return"StrictMode";case _2:return"Suspense";case $2:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Bj:return(e.displayName||"Context")+".Consumer";case jj:return(e._context.displayName||"Context")+".Provider";case FR:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case jR:return t=e.displayName||null,t!==null?t:O2(e.type)||"Memo";case cs:t=e._payload,e=e._init;try{return O2(e(t))}catch{}}return null}function dX(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return O2(t);case 8:return t===LR?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Ls(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Hj(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function fX(e){var t=Hj(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hg(e){e._valueTracker||(e._valueTracker=fX(e))}function Uj(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Hj(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ah(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function N2(e,t){var n=t.checked;return Xn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wN(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ls(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Vj(e,t){t=t.checked,t!=null&&PR(e,"checked",t,!1)}function k2(e,t){Vj(e,t);var n=Ls(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?A2(e,t.type,n):t.hasOwnProperty("defaultValue")&&A2(e,t.type,Ls(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function CN(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function A2(e,t,n){(t!=="number"||Ah(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Xd=Array.isArray;function cu(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Ug.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Hf(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ff={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},pX=["Webkit","ms","Moz","O"];Object.keys(ff).forEach(function(e){pX.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ff[t]=ff[e]})});function Kj(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ff.hasOwnProperty(e)&&ff[e]?(""+t).trim():t+"px"}function Yj(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=Kj(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var gX=Xn({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 P2(e,t){if(t){if(gX[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ct(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ct(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ct(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ct(62))}}function L2(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";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 F2=null;function BR(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var j2=null,uu=null,du=null;function IN(e){if(e=Yp(e)){if(typeof j2!="function")throw Error(ct(280));var t=e.stateNode;t&&(t=Zv(t),j2(e.stateNode,e.type,t))}}function Xj(e){uu?du?du.push(e):du=[e]:uu=e}function Zj(){if(uu){var e=uu,t=du;if(du=uu=null,IN(e),t)for(e=0;e>>=0,e===0?32:31-(IX(e)/TX|0)|0}var Vg=64,Wg=4194304;function Zd(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Lh(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=n&268435455;if(i!==0){var s=i&~a;s!==0?r=Zd(s):(o&=i,o!==0&&(r=Zd(o)))}else i=n&~a,i!==0?r=Zd(i):o!==0&&(r=Zd(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function qp(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Po(t),e[t]=n}function OX(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=gf),MN=" ",DN=!1;function vB(e,t){switch(e){case"keyup":return aZ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function bB(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Gc=!1;function iZ(e,t){switch(e){case"compositionend":return bB(t);case"keypress":return t.which!==32?null:(DN=!0,MN);case"textInput":return e=t.data,e===MN&&DN?null:e;default:return null}}function sZ(e,t){if(Gc)return e==="compositionend"||!KR&&vB(e,t)?(e=mB(),rh=WR=hs=null,Gc=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=jN(n)}}function CB(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?CB(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xB(){for(var e=window,t=Ah();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ah(e.document)}return t}function YR(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function hZ(e){var t=xB(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&CB(n.ownerDocument.documentElement,n)){if(r!==null&&YR(n)){if(t=r.start,e=r.end,e===void 0&&(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,e.getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=r.end===void 0?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=BN(n,o);var i=BN(n,r);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>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;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,qc=null,W2=null,hf=null,G2=!1;function zN(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;G2||qc==null||qc!==Ah(r)||(r=qc,"selectionStart"in r&&YR(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),hf&&Kf(hf,r)||(hf=r,r=Bh(W2,"onSelect"),0Xc||(e.current=Q2[Xc],Q2[Xc]=null,Xc--)}function $n(e,t){Xc++,Q2[Xc]=e.current,e.current=t}var Fs={},ra=qs(Fs),Ia=qs(!1),Fl=Fs;function xu(e,t){var n=e.type.contextTypes;if(!n)return Fs;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Ta(e){return e=e.childContextTypes,e!=null}function Hh(){jn(Ia),jn(ra)}function KN(e,t,n){if(ra.current!==Fs)throw Error(ct(168));$n(ra,t),$n(Ia,n)}function kB(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in t))throw Error(ct(108,dX(e)||"Unknown",a));return Xn({},n,r)}function Uh(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fs,Fl=ra.current,$n(ra,e),$n(Ia,Ia.current),!0}function YN(e,t,n){var r=e.stateNode;if(!r)throw Error(ct(169));n?(e=kB(e,t,Fl),r.__reactInternalMemoizedMergedChildContext=e,jn(Ia),jn(ra),$n(ra,e)):jn(Ia),$n(Ia,n)}var $i=null,Qv=!1,vy=!1;function AB(e){$i===null?$i=[e]:$i.push(e)}function _Z(e){Qv=!0,AB(e)}function Ks(){if(!vy&&$i!==null){vy=!0;var e=0,t=yn;try{var n=$i;for(yn=1;e>=i,a-=i,Mi=1<<32-Po(t)+a|n<R?(T=I,I=null):T=I.sibling;var _=p(y,I,S[R],w);if(_===null){I===null&&(I=T);break}e&&I&&_.alternate===null&&t(y,I),b=o(_,b,R),E===null?x=_:E.sibling=_,E=_,I=T}if(R===S.length)return n(y,I),Un&&dl(y,R),x;if(I===null){for(;RR?(T=I,I=null):T=I.sibling;var $=p(y,I,_.value,w);if($===null){I===null&&(I=T);break}e&&I&&$.alternate===null&&t(y,I),b=o($,b,R),E===null?x=$:E.sibling=$,E=$,I=T}if(_.done)return n(y,I),Un&&dl(y,R),x;if(I===null){for(;!_.done;R++,_=S.next())_=f(y,_.value,w),_!==null&&(b=o(_,b,R),E===null?x=_:E.sibling=_,E=_);return Un&&dl(y,R),x}for(I=r(y,I);!_.done;R++,_=S.next())_=g(I,y,R,_.value,w),_!==null&&(e&&_.alternate!==null&&I.delete(_.key===null?R:_.key),b=o(_,b,R),E===null?x=_:E.sibling=_,E=_);return e&&I.forEach(function(D){return t(y,D)}),Un&&dl(y,R),x}function h(y,b,S,w){if(typeof S=="object"&&S!==null&&S.type===Wc&&S.key===null&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case zg:e:{for(var x=S.key,E=b;E!==null;){if(E.key===x){if(x=S.type,x===Wc){if(E.tag===7){n(y,E.sibling),b=a(E,S.props.children),b.return=y,y=b;break e}}else if(E.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===cs&&QN(x)===E.type){n(y,E.sibling),b=a(E,S.props),b.ref=_d(y,E,S),b.return=y,y=b;break e}n(y,E);break}else t(y,E);E=E.sibling}S.type===Wc?(b=Ol(S.props.children,y.mode,w,S.key),b.return=y,y=b):(w=dh(S.type,S.key,S.props,null,y.mode,w),w.ref=_d(y,b,S),w.return=y,y=w)}return i(y);case Vc:e:{for(E=S.key;b!==null;){if(b.key===E)if(b.tag===4&&b.stateNode.containerInfo===S.containerInfo&&b.stateNode.implementation===S.implementation){n(y,b.sibling),b=a(b,S.children||[]),b.return=y,y=b;break e}else{n(y,b);break}else t(y,b);b=b.sibling}b=Iy(S,y.mode,w),b.return=y,y=b}return i(y);case cs:return E=S._init,h(y,b,E(S._payload),w)}if(Xd(S))return v(y,b,S,w);if(xd(S))return m(y,b,S,w);Qg(y,S)}return typeof S=="string"&&S!==""||typeof S=="number"?(S=""+S,b!==null&&b.tag===6?(n(y,b.sibling),b=a(b,S),b.return=y,y=b):(n(y,b),b=Ey(S,y.mode,w),b.return=y,y=b),i(y)):n(y,b)}return h}var Iu=LB(!0),FB=LB(!1),Gh=qs(null),qh=null,Jc=null,JR=null;function e_(){JR=Jc=qh=null}function t_(e){var t=Gh.current;jn(Gh),e._currentValue=t}function tI(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function pu(e,t){qh=e,JR=Jc=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(wa=!0),e.firstContext=null)}function go(e){var t=e._currentValue;if(JR!==e)if(e={context:e,memoizedValue:t,next:null},Jc===null){if(qh===null)throw Error(ct(308));Jc=e,qh.dependencies={lanes:0,firstContext:e}}else Jc=Jc.next=e;return t}var vl=null;function n_(e){vl===null?vl=[e]:vl.push(e)}function jB(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,n_(t)):(n.next=a.next,a.next=n),t.interleaved=n,Hi(e,r)}function Hi(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var us=!1;function r_(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function BB(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Pi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Rs(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,dn&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Hi(e,n)}return a=r.interleaved,a===null?(t.next=t,n_(r)):(t.next=a.next,a.next=t),r.interleaved=t,Hi(e,n)}function oh(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,HR(e,n)}}function JN(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?a=o=i:o=o.next=i,n=n.next}while(n!==null);o===null?a=o=t:o=o.next=t}else a=o=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Kh(e,t,n,r){var a=e.updateQueue;us=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var c=s,u=c.next;c.next=null,i===null?o=u:i.next=u,i=c;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==i&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=c))}if(o!==null){var f=a.baseState;i=0,d=u=c=null,s=o;do{var p=s.lane,g=s.eventTime;if((r&p)===p){d!==null&&(d=d.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,m=s;switch(p=t,g=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){f=v.call(g,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,p=typeof v=="function"?v.call(g,f,p):v,p==null)break e;f=Xn({},f,p);break e;case 2:us=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=a.effects,p===null?a.effects=[s]:p.push(s))}else g={eventTime:g,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=g,c=f):d=d.next=g,i|=p;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;p=s,s=p.next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}while(!0);if(d===null&&(c=f),a.baseState=c,a.firstBaseUpdate=u,a.lastBaseUpdate=d,t=a.shared.interleaved,t!==null){a=t;do i|=a.lane,a=a.next;while(a!==t)}else o===null&&(a.shared.lanes=0);zl|=i,e.lanes=i,e.memoizedState=f}}function ek(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=yy.transition;yy.transition={};try{e(!1),t()}finally{yn=n,yy.transition=r}}function rz(){return mo().memoizedState}function kZ(e,t,n){var r=$s(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},az(e))oz(t,n);else if(n=jB(e,t,n,r),n!==null){var a=ua();Lo(n,e,r,a),iz(n,t,r)}}function AZ(e,t,n){var r=$s(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(az(e))oz(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,zo(s,i)){var c=t.interleaved;c===null?(a.next=a,n_(t)):(a.next=c.next,c.next=a),t.interleaved=a;return}}catch{}finally{}n=jB(e,t,a,r),n!==null&&(a=ua(),Lo(n,e,r,a),iz(n,t,r))}}function az(e){var t=e.alternate;return e===Yn||t!==null&&t===Yn}function oz(e,t){vf=Xh=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function iz(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,HR(e,n)}}var Zh={readContext:go,useCallback:Kr,useContext:Kr,useEffect:Kr,useImperativeHandle:Kr,useInsertionEffect:Kr,useLayoutEffect:Kr,useMemo:Kr,useReducer:Kr,useRef:Kr,useState:Kr,useDebugValue:Kr,useDeferredValue:Kr,useTransition:Kr,useMutableSource:Kr,useSyncExternalStore:Kr,useId:Kr,unstable_isNewReconciler:!1},MZ={readContext:go,useCallback:function(e,t){return Jo().memoizedState=[e,t===void 0?null:t],e},useContext:go,useEffect:nk,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,sh(4194308,4,QB.bind(null,t,e),n)},useLayoutEffect:function(e,t){return sh(4194308,4,e,t)},useInsertionEffect:function(e,t){return sh(4,2,e,t)},useMemo:function(e,t){var n=Jo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jo();return t=n!==void 0?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=kZ.bind(null,Yn,e),[r.memoizedState,e]},useRef:function(e){var t=Jo();return e={current:e},t.memoizedState=e},useState:tk,useDebugValue:d_,useDeferredValue:function(e){return Jo().memoizedState=e},useTransition:function(){var e=tk(!1),t=e[0];return e=NZ.bind(null,e[1]),Jo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Yn,a=Jo();if(Un){if(n===void 0)throw Error(ct(407));n=n()}else{if(n=t(),Nr===null)throw Error(ct(349));Bl&30||VB(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,nk(GB.bind(null,r,o,e),[e]),r.flags|=2048,np(9,WB.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Jo(),t=Nr.identifierPrefix;if(Un){var n=Di,r=Mi;n=(r&~(1<<32-Po(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ep++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[ni]=t,e[Zf]=r,hz(e,t,!1,!1),t.stateNode=e;e:{switch(i=L2(n,r),n){case"dialog":Pn("cancel",e),Pn("close",e),a=r;break;case"iframe":case"object":case"embed":Pn("load",e),a=r;break;case"video":case"audio":for(a=0;a_u&&(t.flags|=128,r=!0,$d(o,!1),t.lanes=4194304)}else{if(!r)if(e=Yh(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$d(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!Un)return Yr(t),null}else 2*sr()-o.renderingStartTime>_u&&n!==1073741824&&(t.flags|=128,r=!0,$d(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=sr(),t.sibling=null,n=Kn.current,$n(Kn,r?n&1|2:n&1),t):(Yr(t),null);case 22:case 23:return v_(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ja&1073741824&&(Yr(t),t.subtreeFlags&6&&(t.flags|=8192)):Yr(t),null;case 24:return null;case 25:return null}throw Error(ct(156,t.tag))}function HZ(e,t){switch(ZR(t),t.tag){case 1:return Ta(t.type)&&Hh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tu(),jn(Ia),jn(ra),i_(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return o_(t),null;case 13:if(jn(Kn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ct(340));Eu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return jn(Kn),null;case 4:return Tu(),null;case 10:return t_(t.type._context),null;case 22:case 23:return v_(),null;case 24:return null;default:return null}}var em=!1,Jr=!1,UZ=typeof WeakSet=="function"?WeakSet:Set,Et=null;function eu(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ar(e,t,r)}else n.current=null}function uI(e,t,n){try{n()}catch(r){ar(e,t,r)}}var pk=!1;function VZ(e,t){if(q2=Fh,e=xB(),YR(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var g;f!==n||a!==0&&f.nodeType!==3||(s=i+a),f!==o||r!==0&&f.nodeType!==3||(c=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++u===a&&(s=i),p===o&&++d===r&&(c=i),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(K2={focusedElem:e,selectionRange:n},Fh=!1,Et=t;Et!==null;)if(t=Et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Et=e;else for(;Et!==null;){t=Et;try{var b=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var m=b.memoizedProps,h=b.memoizedState,y=t.stateNode,v=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:$o(t.type,m),h);y.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ct(163))}}catch(w){ar(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,Et=e;break}Et=t.return}return b=pk,pk=!1,b}function bf(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&uI(t,n,o)}a=a.next}while(a!==r)}}function tb(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 dI(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function yz(e){var t=e.alternate;t!==null&&(e.alternate=null,yz(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ni],delete t[Zf],delete t[Z2],delete t[TZ],delete t[RZ])),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 Sz(e){return e.tag===5||e.tag===3||e.tag===4}function gk(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sz(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function fI(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=zh));else if(r!==4&&(e=e.child,e!==null))for(fI(e,t,n),e=e.sibling;e!==null;)fI(e,t,n),e=e.sibling}function pI(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(pI(e,t,n),e=e.sibling;e!==null;)pI(e,t,n),e=e.sibling}var Fr=null,Oo=!1;function ns(e,t,n){for(n=n.child;n!==null;)wz(e,t,n),n=n.sibling}function wz(e,t,n){if(oi&&typeof oi.onCommitFiberUnmount=="function")try{oi.onCommitFiberUnmount(qv,n)}catch{}switch(n.tag){case 5:Jr||eu(n,t);case 6:var r=Fr,a=Oo;Fr=null,ns(e,t,n),Fr=r,Oo=a,Fr!==null&&(Oo?(e=Fr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Fr.removeChild(n.stateNode));break;case 18:Fr!==null&&(Oo?(e=Fr,n=n.stateNode,e.nodeType===8?hy(e.parentNode,n):e.nodeType===1&&hy(e,n),Gf(e)):hy(Fr,n.stateNode));break;case 4:r=Fr,a=Oo,Fr=n.stateNode.containerInfo,Oo=!0,ns(e,t,n),Fr=r,Oo=a;break;case 0:case 11:case 14:case 15:if(!Jr&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&uI(n,t,i),a=a.next}while(a!==r)}ns(e,t,n);break;case 1:if(!Jr&&(eu(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ar(n,t,s)}ns(e,t,n);break;case 21:ns(e,t,n);break;case 22:n.mode&1?(Jr=(r=Jr)||n.memoizedState!==null,ns(e,t,n),Jr=r):ns(e,t,n);break;default:ns(e,t,n)}}function mk(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new UZ),t.forEach(function(r){var a=JZ.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function To(e,t){var n=t.deletions;if(n!==null)for(var r=0;ra&&(a=i),r&=~o}if(r=a,r=sr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*GZ(r/1960))-r,10e?16:e,vs===null)var r=!1;else{if(e=vs,vs=null,ev=0,dn&6)throw Error(ct(331));var a=dn;for(dn|=4,Et=e.current;Et!==null;){var o=Et,i=o.child;if(Et.flags&16){var s=o.deletions;if(s!==null){for(var c=0;csr()-m_?$l(e,0):g_|=n),Ra(e,t)}function $z(e,t){t===0&&(e.mode&1?(t=Wg,Wg<<=1,!(Wg&130023424)&&(Wg=4194304)):t=1);var n=ua();e=Hi(e,t),e!==null&&(qp(e,t,n),Ra(e,n))}function QZ(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),$z(e,n)}function JZ(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ct(314))}r!==null&&r.delete(t),$z(e,n)}var Oz;Oz=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ia.current)wa=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return wa=!1,BZ(e,t,n);wa=!!(e.flags&131072)}else wa=!1,Un&&t.flags&1048576&&MB(t,Wh,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;lh(e,t),e=t.pendingProps;var a=xu(t,ra.current);pu(t,n),a=l_(null,t,r,e,a,n);var o=c_();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ta(r)?(o=!0,Uh(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,r_(t),a.updater=eb,t.stateNode=a,a._reactInternals=t,rI(t,r,e,n),t=iI(null,t,r,!0,o,n)):(t.tag=0,Un&&o&&XR(t),la(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(lh(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=tQ(r),e=$o(r,e),a){case 0:t=oI(null,t,r,e,n);break e;case 1:t=uk(null,t,r,e,n);break e;case 11:t=lk(null,t,r,e,n);break e;case 14:t=ck(null,t,r,$o(r.type,e),n);break e}throw Error(ct(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$o(r,a),oI(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$o(r,a),uk(e,t,r,a,n);case 3:e:{if(pz(t),e===null)throw Error(ct(387));r=t.pendingProps,o=t.memoizedState,a=o.element,BB(e,t),Kh(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Ru(Error(ct(423)),t),t=dk(e,t,r,n,a);break e}else if(r!==a){a=Ru(Error(ct(424)),t),t=dk(e,t,r,n,a);break e}else for(za=Ts(t.stateNode.containerInfo.firstChild),Ka=t,Un=!0,Ao=null,n=FB(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Eu(),r===a){t=Ui(e,t,n);break e}la(e,t,r,n)}t=t.child}return t;case 5:return zB(t),e===null&&eI(t),r=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,Y2(r,a)?i=null:o!==null&&Y2(r,o)&&(t.flags|=32),fz(e,t),la(e,t,i,n),t.child;case 6:return e===null&&eI(t),null;case 13:return gz(e,t,n);case 4:return a_(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Iu(t,null,r,n):la(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$o(r,a),lk(e,t,r,a,n);case 7:return la(e,t,t.pendingProps,n),t.child;case 8:return la(e,t,t.pendingProps.children,n),t.child;case 12:return la(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,$n(Gh,r._currentValue),r._currentValue=i,o!==null)if(zo(o.value,i)){if(o.children===a.children&&!Ia.current){t=Ui(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var c=s.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=Pi(-1,n&-n),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),tI(o.return,n,t),s.lanes|=n;break}c=c.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(ct(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),tI(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}la(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,pu(t,n),a=go(a),r=r(a),t.flags|=1,la(e,t,r,n),t.child;case 14:return r=t.type,a=$o(r,t.pendingProps),a=$o(r.type,a),ck(e,t,r,a,n);case 15:return uz(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$o(r,a),lh(e,t),t.tag=1,Ta(r)?(e=!0,Uh(t)):e=!1,pu(t,n),sz(t,r,a),rI(t,r,a,n),iI(null,t,r,!0,e,n);case 19:return mz(e,t,n);case 22:return dz(e,t,n)}throw Error(ct(156,t.tag))};function Nz(e,t){return aB(e,t)}function eQ(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 fo(e,t,n,r){return new eQ(e,t,n,r)}function y_(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tQ(e){if(typeof e=="function")return y_(e)?1:0;if(e!=null){if(e=e.$$typeof,e===FR)return 11;if(e===jR)return 14}return 2}function Os(e,t){var n=e.alternate;return n===null?(n=fo(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function dh(e,t,n,r,a,o){var i=2;if(r=e,typeof e=="function")y_(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Wc:return Ol(n.children,a,o,t);case LR:i=8,a|=8;break;case R2:return e=fo(12,n,t,a|2),e.elementType=R2,e.lanes=o,e;case _2:return e=fo(13,n,t,a),e.elementType=_2,e.lanes=o,e;case $2:return e=fo(19,n,t,a),e.elementType=$2,e.lanes=o,e;case zj:return rb(n,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jj:i=10;break e;case Bj:i=9;break e;case FR:i=11;break e;case jR:i=14;break e;case cs:i=16,r=null;break e}throw Error(ct(130,e==null?e:typeof e,""))}return t=fo(i,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Ol(e,t,n,r){return e=fo(7,e,r,t),e.lanes=n,e}function rb(e,t,n,r){return e=fo(22,e,r,t),e.elementType=zj,e.lanes=n,e.stateNode={isHidden:!1},e}function Ey(e,t,n){return e=fo(6,e,null,t),e.lanes=n,e}function Iy(e,t,n){return t=fo(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function nQ(e,t,n,r,a){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=oy(0),this.expirationTimes=oy(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oy(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function S_(e,t,n,r,a,o,i,s,c){return e=new nQ(e,t,n,s,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=fo(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},r_(o),e}function rQ(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Dz)}catch(e){console.error(e)}}Dz(),Dj.exports=Xa;var Sr=Dj.exports;const ap=fa(Sr),lQ=$R({__proto__:null,default:ap},[Sr]);var xk=Sr;I2.createRoot=xk.createRoot,I2.hydrateRoot=xk.hydrateRoot;const cQ={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class rv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||cQ,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{let[s,c]=i;for(let u=0;u{let[s,c]=i;for(let u=0;u{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Ek=e=>e==null?"":""+e,uQ=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},dQ=/###/g,Ik=e=>e&&e.indexOf("###")>-1?e.replace(dQ,"."):e,Tk=e=>!e||typeof e=="string",wf=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a{const{obj:r,k:a}=wf(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let o=t[t.length-1],i=t.slice(0,t.length-1),s=wf(e,i,Object);for(;s.obj===void 0&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),s=wf(e,i,Object),s&&s.obj&&typeof s.obj[`${s.k}.${o}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},fQ=(e,t,n,r)=>{const{obj:a,k:o}=wf(e,t,Object);a[o]=a[o]||[],a[o].push(n)},av=(e,t)=>{const{obj:n,k:r}=wf(e,t);if(n)return n[r]},pQ=(e,t,n)=>{const r=av(e,n);return r!==void 0?r:av(t,n)},Pz=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Pz(e[r],t[r],n):e[r]=t[r]);return e},xc=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var gQ={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const mQ=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>gQ[t]):e;class hQ{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const vQ=[" ",",","?","!",";"],bQ=new hQ(20),yQ=(e,t,n)=>{t=t||"",n=n||"";const r=vQ.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=bQ.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let o=!a.test(e);if(!o){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o},bI=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let o=0;o-1&&ce&&e.indexOf("_")>0?e.replace("_","-"):e;class _k extends lb{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):typeof r=="string"&&o?s.push(...r.split(o)):s.push(r)));const c=av(this.data,s);return!c&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),c||!i||typeof r!="string"?c:bI(this.data&&this.data[t]&&this.data[t][n],r,o)}addResource(t,n,r,a){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(s=t.split("."),a=n,n=s[1]),this.addNamespaces(n),Rk(this.data,s,a),o.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(typeof r[o]=="string"||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),a=r,r=n,n=s[1]),this.addNamespaces(n);let c=av(this.data,s)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?Pz(c,r,o):c={...c,...r},Rk(this.data,s,c),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var Lz={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,a))}),t}};const $k={};class iv extends lb{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),uQ(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ai.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!yQ(t,r,a);if(i&&!s){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:o};const u=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),t=u.join(a)}return typeof o=="string"&&(o=[o]),{key:t,namespaces:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(t[t.length-1],n),c=s[s.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const w=n.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${w}${i}`,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${w}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:i}const f=this.resolve(t,n);let p=f&&f.res;const g=f&&f.usedKey||i,b=f&&f.exactUsedKey||i,m=Object.prototype.toString.apply(p),h=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject;if(v&&p&&(typeof p!="string"&&typeof p!="boolean"&&typeof p!="number")&&h.indexOf(m)<0&&!(typeof y=="string"&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,p,{...n,ns:s}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(f.res=w,f.usedParams=this.getUsedParamsDetails(n),f):w}if(o){const w=Array.isArray(p),x=w?[]:{},E=w?b:g;for(const I in p)if(Object.prototype.hasOwnProperty.call(p,I)){const R=`${E}${o}${I}`;x[I]=this.translate(R,{...n,joinArrays:!1,ns:s}),x[I]===R&&(x[I]=p[I])}p=x}}else if(v&&typeof y=="string"&&Array.isArray(p))p=p.join(y),p&&(p=this.extendTranslation(p,t,n,r));else{let w=!1,x=!1;const E=n.count!==void 0&&typeof n.count!="string",I=iv.hasDefaultValue(n),R=E?this.pluralResolver.getSuffix(u,n.count,n):"",T=n.ordinal&&E?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",_=E&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),$=_&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${T}`]||n.defaultValue;!this.isValidLookup(p)&&I&&(w=!0,p=$),this.isValidLookup(p)||(x=!0,p=i);const P=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&x?void 0:p,A=I&&$!==p&&this.options.updateMissing;if(x||w||A){if(this.logger.log(A?"updateKey":"missingKey",u,c,i,A?$:p),o){const M=this.resolve(i,{...n,keySeparator:!1});M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let O=[];const N=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&N&&N[0])for(let M=0;M{const j=I&&F!==p?F:P;this.options.missingKeyHandler?this.options.missingKeyHandler(M,c,L,j,A,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(M,c,L,j,A,n),this.emit("missingKey",M,c,L,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?O.forEach(M=>{const L=this.pluralResolver.getSuffixes(M,n);_&&n[`defaultValue${this.options.pluralSeparator}zero`]&&L.indexOf(`${this.options.pluralSeparator}zero`)<0&&L.push(`${this.options.pluralSeparator}zero`),L.forEach(F=>{k([M],i+F,n[`defaultValue${F}`]||$)})}):k(O,i,$))}p=this.extendTranslation(p,t,n,f,r),x&&p===i&&this.options.appendNamespaceToMissingKey&&(p=`${c}:${i}`),(x||w)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${i}`:i,w?p:void 0):p=this.options.parseMissingKeyHandler(p))}return a?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(t,n,r,a,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const p=t.match(this.interpolator.nestingRegexp);d=p&&p.length}let f=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,r.lng||this.language||a.usedLng,r),u){const p=t.match(this.interpolator.nestingRegexp),g=p&&p.length;d1&&arguments[1]!==void 0?arguments[1]:{},r,a,o,i,s;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(c,n),d=u.key;a=d;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const p=n.count!==void 0&&typeof n.count!="string",g=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),b=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(h=>{this.isValidLookup(r)||(s=h,!$k[`${m[0]}-${h}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&($k[`${m[0]}-${h}`]=!0,this.logger.warn(`key "${a}" for languages "${m.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(y=>{if(this.isValidLookup(r))return;i=y;const v=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(v,d,y,h,n);else{let w;p&&(w=this.pluralResolver.getSuffix(y,n.count,n));const x=`${this.options.pluralSeparator}zero`,E=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(v.push(d+w),n.ordinal&&w.indexOf(E)===0&&v.push(d+w.replace(E,this.options.pluralSeparator)),g&&v.push(d+x)),b){const I=`${d}${this.options.contextSeparator}${n.context}`;v.push(I),p&&(v.push(I+w),n.ordinal&&w.indexOf(E)===0&&v.push(I+w.replace(E,this.options.pluralSeparator)),g&&v.push(I+x))}}let S;for(;S=v.pop();)this.isValidLookup(r)||(o=S,r=this.getResource(y,h,S,n))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:i,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const o of n)delete a[o]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const Ty=e=>e.charAt(0).toUpperCase()+e.slice(1);class Ok{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ai.create("languageUtils")}getScriptPartFromCode(t){if(t=ov(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=ov(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ty(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ty(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Ty(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(o=>{if(o===a)return o;if(!(o.indexOf("-")<0&&a.indexOf("-")<0)&&(o.indexOf("-")>0&&a.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===a||o.indexOf(a)===0&&a.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],o=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):typeof t=="string"&&o(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&o(this.formatLanguageCode(i))}),a}}let SQ=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],wQ={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const CQ=["v1","v2","v3"],xQ=["v4"],Nk={zero:0,one:1,two:2,few:3,many:4,other:5},EQ=()=>{const e={};return SQ.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:wQ[t.fc]}})}),e};class IQ{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ai.create("pluralResolver"),(!this.options.compatibilityJSON||xQ.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=EQ()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(ov(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,o)=>Nk[a]-Nk[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const o=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!CQ.includes(this.options.compatibilityJSON)}}const kk=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=pQ(e,t,n);return!o&&a&&typeof n=="string"&&(o=bI(e,n,r),o===void 0&&(o=bI(t,n,r))),o},Ry=e=>e.replace(/\$/g,"$$$$");class TQ{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ai.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:o,prefixEscaped:i,suffix:s,suffixEscaped:c,formatSeparator:u,unescapeSuffix:d,unescapePrefix:f,nestingPrefix:p,nestingPrefixEscaped:g,nestingSuffix:b,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:y,alwaysFormat:v}=t.interpolation;this.escape=n!==void 0?n:mQ,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?xc(o):i||"{{",this.suffix=s?xc(s):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=p?xc(p):g||xc("$t("),this.nestingSuffix=b?xc(b):m||xc(")"),this.nestingOptionsSeparator=h||",",this.maxReplaces=y||1e3,this.alwaysFormat=v!==void 0?v:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let o,i,s;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=g=>{if(g.indexOf(this.formatSeparator)<0){const y=kk(n,c,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(y,void 0,r,{...a,...n,interpolationkey:g}):y}const b=g.split(this.formatSeparator),m=b.shift().trim(),h=b.join(this.formatSeparator).trim();return this.format(kk(n,c,m,this.options.keySeparator,this.options.ignoreJSONStructure),h,r,{...a,...n,interpolationkey:m})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,f=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>Ry(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?Ry(this.escape(g)):Ry(g)}].forEach(g=>{for(s=0;o=g.regex.exec(t);){const b=o[1].trim();if(i=u(b),i===void 0)if(typeof d=="function"){const h=d(t,o,a);i=typeof h=="string"?h:""}else if(a&&Object.prototype.hasOwnProperty.call(a,b))i="";else if(f){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=Ek(i));const m=g.safeValue(i);if(t=t.replace(o[0],m),f?(g.regex.lastIndex+=i.length,g.regex.lastIndex-=o[0].length):g.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,i;const s=(c,u)=>{const d=this.nestingOptionsSeparator;if(c.indexOf(d)<0)return c;const f=c.split(new RegExp(`${d}[ ]*{`));let p=`{${f[1]}`;c=f[0],p=this.interpolate(p,i);const g=p.match(/'/g),b=p.match(/"/g);(g&&g.length%2===0&&!b||b.length%2!==0)&&(p=p.replace(/'/g,'"'));try{i=JSON.parse(p),u&&(i={...u,...i})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,m),`${c}${d}${p}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];i={...r},i=i.replace&&typeof i.replace!="string"?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(f=>f.trim());a[1]=d.shift(),c=d,u=!0}if(o=n(s.call(this,a[1].trim(),i),i),o&&a[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=Ek(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),u&&(o=c.reduce((d,f)=>this.format(d,f,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const RQ=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[s,...c]=i.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();n[d]||(n[d]=u),u==="false"&&(n[d]=!1),u==="true"&&(n[d]=!0),isNaN(u)||(n[d]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},Ec=e=>{const t={};return(n,r,a)=>{const o=r+JSON.stringify(a);let i=t[o];return i||(i=e(ov(r),a),t[o]=i),i(n)}};class _Q{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ai.create("formatter"),this.options=t,this.formats={number:Ec((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:Ec((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:Ec((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:Ec((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:Ec((n,r)=>{const a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Ec(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(s=>s.indexOf(")")>-1)){const s=o.findIndex(c=>c.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,s)].join(this.formatSeparator)}return o.reduce((s,c)=>{const{formatName:u,formatOptions:d}=RQ(c);if(this.formats[u]){let f=s;try{const p=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},g=p.locale||p.lng||a.locale||a.lng||r;f=this.formats[u](s,g,{...d,...a,...p})}catch(p){this.logger.warn(p)}return f}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const $Q=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class OQ extends lb{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=ai.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const o={},i={},s={},c={};return t.forEach(u=>{let d=!0;n.forEach(f=>{const p=`${u}|${f}`;!r.reload&&this.store.hasResourceBundle(u,f)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?i[p]===void 0&&(i[p]=!0):(this.state[p]=1,d=!1,i[p]===void 0&&(i[p]=!0),o[p]===void 0&&(o[p]=!0),c[f]===void 0&&(c[f]=!0)))}),d||(s[u]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const a=t.split("|"),o=a[0],i=a[1];n&&this.emit("failedLoading",o,i,n),r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const s={};this.queue.forEach(c=>{fQ(c.loaded,[o],i),$Q(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{s[u]||(s[u]={});const d=c.loaded[u];d.length&&d.forEach(f=>{s[u][f]===void 0&&(s[u][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:o,callback:i});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&d&&a{this.read.call(this,t,n,r,a+1,o*2,i)},o);return}i(u,d)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return c(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const o=this.queueLoad(t,n,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(i,s)=>{i&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,i),!i&&s&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,s),this.loaded(t,i,s)})}saveMissing(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const c={...i,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,a,c):d=u(t,n,r,a),d&&typeof d.then=="function"?d.then(f=>s(null,f)).catch(s):s(null,d)}catch(d){s(d)}else u(t,n,r,a,s,c)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const Ak=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Mk=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),rm=()=>{},NQ=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class op extends lb{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Mk(t),this.services={},this.logger=ai,this.modules={external:[]},NQ(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=Ak();this.options={...a,...this.options,...Mk(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?ai.init(o(this.modules.logger),this.options):ai.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=_Q);const f=new Ok(this.options);this.store=new _k(this.options.resources,this.options);const p=this.services;p.logger=ai,p.resourceStore=this.store,p.languageUtils=f,p.pluralResolver=new IQ(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(p.formatter=o(d),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new TQ(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new OQ(o(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(g){for(var b=arguments.length,m=new Array(b>1?b-1:0),h=1;h1?b-1:0),h=1;h{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,r||(r=rm),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const c=Nd(),u=()=>{const d=(f,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(p),r(f,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],i=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&o.indexOf(u)<0&&o.push(u)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>i(c)),this.options.preload&&this.options.preload.forEach(s=>i(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const a=Nd();return t||(t=this.languages),n||(n=this.options.ns),r||(r=rm),this.services.backendConnector.reload(t,n,o=>{a.resolve(),r(o)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Lz.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=Nd();this.emit("languageChanging",t);const o=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},i=(c,u)=>{u?(o(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},s=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{i(d,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),a}getFixedT(t,n,r){var a=this;const o=function(i,s){let c;if(typeof s!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),f=2;f`${c.keyPrefix}${p}${b}`):g=c.keyPrefix?`${c.keyPrefix}${p}${i}`:i,a.t(g,c)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(s,c)=>{const u=this.services.backendConnector.state[`${s}|${c}`];return u===-1||u===2};if(n.precheck){const s=n.precheck(this,i);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(o,t)))}loadNamespaces(t,n){const r=Nd();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Nd();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],o=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return o.length?(this.options.preload=a.concat(o),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new Ok(Ak());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new op(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new op(a);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(s=>{o[s]=this[s]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new _k(this.store.data,a),o.services.resourceStore=o.store),o.translator=new iv(o.services,a),o.translator.on("*",function(s){for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d{console!=null&&console.warn&&(Nl(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Dk={},yI=(...e)=>{Nl(e[0])&&Dk[e[0]]||(Nl(e[0])&&(Dk[e[0]]=new Date),kQ(...e))},Fz=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Pk=(e,t,n)=>{e.loadNamespaces(t,Fz(e,n))},Lk=(e,t,n,r)=>{Nl(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,Fz(e,r))},AQ=(e,t,n={})=>!t.languages||!t.languages.length?(yI("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var o;if(((o=n.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),Nl=e=>typeof e=="string",MQ=e=>typeof e=="object"&&e!==null,DQ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,PQ={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},LQ=e=>PQ[e],FQ=e=>e.replace(DQ,LQ);let SI={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:FQ};const jQ=(e={})=>{SI={...SI,...e}},BQ=()=>SI;let jz;const zQ=e=>{jz=e},HQ=()=>jz,UQ={type:"3rdParty",init(e){jQ(e.options.react),zQ(e)}},VQ=l.createContext();class WQ{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var r;(r=this.usedNamespaces)[n]??(r[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const GQ=(e,t)=>{const n=l.useRef();return l.useEffect(()=>{n.current=e},[e,t]),n.current},Bz=(e,t,n,r)=>e.getFixedT(t,n,r),qQ=(e,t,n,r)=>l.useCallback(Bz(e,t,n,r),[e,t,n,r]),Ft=(e,t={})=>{var w,x,E,I;const{i18n:n}=t,{i18n:r,defaultNS:a}=l.useContext(VQ)||{},o=n||r||HQ();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new WQ),!o){yI("You will need to pass in an i18next instance by using initReactI18next");const R=(_,$)=>Nl($)?$:MQ($)&&Nl($.defaultValue)?$.defaultValue:Array.isArray(_)?_[_.length-1]:_,T=[R,{},!1];return T.t=R,T.i18n={},T.ready=!1,T}(w=o.options.react)!=null&&w.wait&&yI("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...BQ(),...o.options.react,...t},{useSuspense:s,keyPrefix:c}=i;let u=a||((x=o.options)==null?void 0:x.defaultNS);u=Nl(u)?[u]:u||["translation"],(I=(E=o.reportNamespaces).addUsedNamespaces)==null||I.call(E,u);const d=(o.isInitialized||o.initializedStoreOnce)&&u.every(R=>AQ(R,o,i)),f=qQ(o,t.lng||null,i.nsMode==="fallback"?u:u[0],c),p=()=>f,g=()=>Bz(o,t.lng||null,i.nsMode==="fallback"?u:u[0],c),[b,m]=l.useState(p);let h=u.join();t.lng&&(h=`${t.lng}${h}`);const y=GQ(h),v=l.useRef(!0);l.useEffect(()=>{const{bindI18n:R,bindI18nStore:T}=i;v.current=!0,!d&&!s&&(t.lng?Lk(o,t.lng,u,()=>{v.current&&m(g)}):Pk(o,u,()=>{v.current&&m(g)})),d&&y&&y!==h&&v.current&&m(g);const _=()=>{v.current&&m(g)};return R&&(o==null||o.on(R,_)),T&&(o==null||o.store.on(T,_)),()=>{v.current=!1,o&&(R==null||R.split(" ").forEach($=>o.off($,_))),T&&o&&T.split(" ").forEach($=>o.store.off($,_))}},[o,h]),l.useEffect(()=>{v.current&&d&&m(p)},[o,c,d]);const S=[b,o,d];if(S.t=b,S.i18n=o,S.ready=d,d||!d&&!s)return S;throw new Promise(R=>{t.lng?Lk(o,t.lng,u,()=>R()):Pk(o,u,()=>R())})};function wI(e){"@babel/helpers - typeof";return wI=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wI(e)}function zz(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":wI(XMLHttpRequest))==="object"}function KQ(e){return!!e&&typeof e.then=="function"}function YQ(e){return KQ(e)?e:Promise.resolve(e)}function XQ(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var CI={exports:{}},am={exports:{}},Fk;function ZQ(){return Fk||(Fk=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof ta<"u"&&ta,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(i){var s=typeof o<"u"&&o||typeof self<"u"&&self||typeof s<"u"&&s,c={searchParams:"URLSearchParams"in s,iterable:"Symbol"in s&&"iterator"in Symbol,blob:"FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in s,arrayBuffer:"ArrayBuffer"in s};function u(O){return O&&DataView.prototype.isPrototypeOf(O)}if(c.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(O){return O&&d.indexOf(Object.prototype.toString.call(O))>-1};function p(O){if(typeof O!="string"&&(O=String(O)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(O)||O==="")throw new TypeError('Invalid character in header field name: "'+O+'"');return O.toLowerCase()}function g(O){return typeof O!="string"&&(O=String(O)),O}function b(O){var N={next:function(){var k=O.shift();return{done:k===void 0,value:k}}};return c.iterable&&(N[Symbol.iterator]=function(){return N}),N}function m(O){this.map={},O instanceof m?O.forEach(function(N,k){this.append(k,N)},this):Array.isArray(O)?O.forEach(function(N){this.append(N[0],N[1])},this):O&&Object.getOwnPropertyNames(O).forEach(function(N){this.append(N,O[N])},this)}m.prototype.append=function(O,N){O=p(O),N=g(N);var k=this.map[O];this.map[O]=k?k+", "+N:N},m.prototype.delete=function(O){delete this.map[p(O)]},m.prototype.get=function(O){return O=p(O),this.has(O)?this.map[O]:null},m.prototype.has=function(O){return this.map.hasOwnProperty(p(O))},m.prototype.set=function(O,N){this.map[p(O)]=g(N)},m.prototype.forEach=function(O,N){for(var k in this.map)this.map.hasOwnProperty(k)&&O.call(N,this.map[k],k,this)},m.prototype.keys=function(){var O=[];return this.forEach(function(N,k){O.push(k)}),b(O)},m.prototype.values=function(){var O=[];return this.forEach(function(N){O.push(N)}),b(O)},m.prototype.entries=function(){var O=[];return this.forEach(function(N,k){O.push([k,N])}),b(O)},c.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function h(O){if(O.bodyUsed)return Promise.reject(new TypeError("Already read"));O.bodyUsed=!0}function y(O){return new Promise(function(N,k){O.onload=function(){N(O.result)},O.onerror=function(){k(O.error)}})}function v(O){var N=new FileReader,k=y(N);return N.readAsArrayBuffer(O),k}function S(O){var N=new FileReader,k=y(N);return N.readAsText(O),k}function w(O){for(var N=new Uint8Array(O),k=new Array(N.length),M=0;M-1?N:O}function T(O,N){if(!(this instanceof T))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');N=N||{};var k=N.body;if(O instanceof T){if(O.bodyUsed)throw new TypeError("Already read");this.url=O.url,this.credentials=O.credentials,N.headers||(this.headers=new m(O.headers)),this.method=O.method,this.mode=O.mode,this.signal=O.signal,!k&&O._bodyInit!=null&&(k=O._bodyInit,O.bodyUsed=!0)}else this.url=String(O);if(this.credentials=N.credentials||this.credentials||"same-origin",(N.headers||!this.headers)&&(this.headers=new m(N.headers)),this.method=R(N.method||this.method||"GET"),this.mode=N.mode||this.mode||null,this.signal=N.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(N.cache==="no-store"||N.cache==="no-cache")){var M=/([?&])_=[^&]*/;if(M.test(this.url))this.url=this.url.replace(M,"$1_="+new Date().getTime());else{var L=/\?/;this.url+=(L.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})};function _(O){var N=new FormData;return O.trim().split("&").forEach(function(k){if(k){var M=k.split("="),L=M.shift().replace(/\+/g," "),F=M.join("=").replace(/\+/g," ");N.append(decodeURIComponent(L),decodeURIComponent(F))}}),N}function $(O){var N=new m,k=O.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(M){return M.indexOf(` -`)===0?M.substr(1,M.length):M}).forEach(function(M){var L=M.split(":"),F=L.shift().trim();if(F){var j=L.join(":").trim();N.append(F,j)}}),N}E.call(T.prototype);function D(O,N){if(!(this instanceof D))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');N||(N={}),this.type="default",this.status=N.status===void 0?200:N.status,this.ok=this.status>=200&&this.status<300,this.statusText=N.statusText===void 0?"":""+N.statusText,this.headers=new m(N.headers),this.url=N.url||"",this._initBody(O)}E.call(D.prototype),D.prototype.clone=function(){return new D(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},D.error=function(){var O=new D(null,{status:0,statusText:""});return O.type="error",O};var P=[301,302,303,307,308];D.redirect=function(O,N){if(P.indexOf(N)===-1)throw new RangeError("Invalid status code");return new D(null,{status:N,headers:{location:O}})},i.DOMException=s.DOMException;try{new i.DOMException}catch{i.DOMException=function(N,k){this.message=N,this.name=k;var M=Error(N);this.stack=M.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function A(O,N){return new Promise(function(k,M){var L=new T(O,N);if(L.signal&&L.signal.aborted)return M(new i.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function j(){F.abort()}F.onload=function(){var z={status:F.status,statusText:F.statusText,headers:$(F.getAllResponseHeaders()||"")};z.url="responseURL"in F?F.responseURL:z.headers.get("X-Request-URL");var H="response"in F?F.response:F.responseText;setTimeout(function(){k(new D(H,z))},0)},F.onerror=function(){setTimeout(function(){M(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){M(new TypeError("Network request failed"))},0)},F.onabort=function(){setTimeout(function(){M(new i.DOMException("Aborted","AbortError"))},0)};function B(z){try{return z===""&&s.location.href?s.location.href:z}catch{return z}}F.open(L.method,B(L.url),!0),L.credentials==="include"?F.withCredentials=!0:L.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(c.blob?F.responseType="blob":c.arrayBuffer&&L.headers.get("Content-Type")&&L.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(F.responseType="arraybuffer")),N&&typeof N.headers=="object"&&!(N.headers instanceof m)?Object.getOwnPropertyNames(N.headers).forEach(function(z){F.setRequestHeader(z,g(N.headers[z]))}):L.headers.forEach(function(z,H){F.setRequestHeader(H,z)}),L.signal&&(L.signal.addEventListener("abort",j),F.onreadystatechange=function(){F.readyState===4&&L.signal.removeEventListener("abort",j)}),F.send(typeof L._bodyInit>"u"?null:L._bodyInit)})}return A.polyfill=!0,s.fetch||(s.fetch=A,s.Headers=m,s.Request=T,s.Response=D),i.Headers=m,i.Request=T,i.Response=D,i.fetch=A,i})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var a=n.fetch?n:r;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t}(am,am.exports)),am.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof ta<"u"&&ta.fetch?n=ta.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof XQ<"u"&&typeof window>"u"){var r=n||ZQ();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(CI,CI.exports);var Hz=CI.exports;const Uz=fa(Hz),jk=$R({__proto__:null,default:Uz},[Hz]);function Bk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function zk(e){for(var t=1;t"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(o["Content-Type"]="application/json");var i=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=zk({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},Uk?{}:i),c=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{Hk(n,s,a,c)}catch(u){if(!i||Object.keys(i).length===0||!u.message||u.message.indexOf("not implemented")<0)return a(u);try{Object.keys(i).forEach(function(d){delete s[d]}),Hk(n,s,a,c),Uk=!0}catch(d){a(d)}}},nJ=function(t,n,r,a){r&&Ul(r)==="object"&&(r=xI("",r).slice(1)),t.queryStringParams&&(n=xI(n,t.queryStringParams));try{var o;ip?o=new ip:o=new sv("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var i=t.customHeaders;if(i=typeof i=="function"?i():i,i)for(var s in i)o.setRequestHeader(s,i[s]);o.onreadystatechange=function(){o.readyState>3&&a(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(c){console&&console.log(c)}},rJ=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},Li&&n.indexOf("file:")!==0)return tJ(t,n,r,a);if(zz()||typeof ActiveXObject=="function")return nJ(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function $u(e){"@babel/helpers - typeof";return $u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$u(e)}function Vk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function _y(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};aJ(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return iJ(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=_y(_y(_y({},lJ()),this.options||{}),a),this.allOptions=o,this.services&&this.options.reloadInterval){var i=setInterval(function(){return r.reload()},this.options.reloadInterval);$u(i)==="object"&&typeof i.unref=="function"&&i.unref()}}},{key:"readMulti",value:function(n,r,a){this._readAny(n,n,r,r,a)}},{key:"read",value:function(n,r,a){this._readAny([n],n,[r],r,a)}},{key:"_readAny",value:function(n,r,a,o,i){var s=this,c=this.options.loadPath;typeof this.options.loadPath=="function"&&(c=this.options.loadPath(n,a)),c=YQ(c),c.then(function(u){if(!u)return i(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:a.join("+")});s.loadUrl(d,i,r,o)})}},{key:"loadUrl",value:function(n,r,a,o){var i=this,s=typeof a=="string"?[a]:a,c=typeof o=="string"?[o]:o,u=this.options.parseLoadPayload(s,c);this.options.request(this.options,n,u,function(d,f){if(f&&(f.status>=500&&f.status<600||!f.status))return r("failed loading "+n+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return r("failed loading "+n+"; status code: "+f.status,!1);if(!f&&d&&d.message&&d.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+d.message,!0);if(d)return r(d,!1);var p,g;try{typeof f.data=="string"?p=i.options.parse(f.data,a,o):p=f.data}catch{g="failed parsing "+n+" to json"}if(g)return r(g,!1);r(null,p)})}},{key:"create",value:function(n,r,a,o,i){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var c=this.options.parsePayload(r,a,o),u=0,d=[],f=[];n.forEach(function(p){var g=s.options.addPath;typeof s.options.addPath=="function"&&(g=s.options.addPath(p,r));var b=s.services.interpolator.interpolate(g,{lng:p,ns:r});s.options.request(s.options,b,c,function(m,h){u+=1,d.push(m),f.push(h),u===n.length&&typeof i=="function"&&i(d,f)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,o=r.languageUtils,i=r.logger,s=a.language;if(!(s&&s.toLowerCase()==="cimode")){var c=[],u=function(f){var p=o.toResolveHierarchy(f);p.forEach(function(g){c.indexOf(g)<0&&c.push(g)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),c.forEach(function(d){n.allOptions.ns.forEach(function(f){a.read(d,f,"read",null,null,function(p,g){p&&i.warn("loading namespace ".concat(f," for language ").concat(d," failed"),p),!p&&g&&i.log("loaded namespace ".concat(f," for language ").concat(d),g),a.loaded("".concat(d,"|").concat(f),p,g)})})})}}}])}();Gz.type="backend";const{slice:cJ,forEach:uJ}=[];function dJ(e){return uJ.call(cJ.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const Wk=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,fJ=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const a=encodeURIComponent(t);let o=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!Wk.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!Wk.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},Gk={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=fJ(e,encodeURIComponent(t),a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const i=a.substring(1).split("&");for(let s=0;s0&&i[s].substring(0,c)===t&&(n=i[s].substring(c+1))}}return n}};let Ad=null;const qk=()=>{if(Ad!==null)return Ad;try{Ad=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Ad=!1}return Ad};var mJ={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&qk())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&qk()&&window.localStorage.setItem(n,e)}};let Md=null;const Kk=()=>{if(Md!==null)return Md;try{Md=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Md=!1}return Md};var hJ={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&Kk())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&Kk()&&window.sessionStorage.setItem(n,e)}},vJ={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let o=0;o0?t:void 0}},bJ={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},yJ={name:"path",lookup(e){var a;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(a=n[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}},SJ={name:"subdomain",lookup(e){var a,o;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((o=(a=window.location)==null?void 0:a.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function wJ(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class qz{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=dJ(n,this.options||{},wJ()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(pJ),this.addDetector(gJ),this.addDetector(mJ),this.addDetector(hJ),this.addDetector(vJ),this.addDetector(bJ),this.addDetector(yJ),this.addDetector(SJ)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t,n){n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}qz.type="languageDetector";qr.use(Gz).use(qz).use(UQ).init({supportedLngs:["en","de","fr"],fallbackLng:"en",ns:["teddycloud"],defaultNS:"teddycloud",debug:!1,backend:{queryStringParams:{v:"2023072701"},loadPath:"/web/translations/{{lng}}.json"},interpolation:{escapeValue:!1}});var Kz={exports:{}};/*! +`+o.stack}return{value:e,source:t,stack:a,digest:null}}function Cy(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function aI(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var LZ=typeof WeakMap=="function"?WeakMap:Map;function lz(e,t,n){n=Pi(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Jh||(Jh=!0,gI=r),aI(e,t)},n}function cz(e,t,n){n=Pi(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){aI(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){aI(e,t),typeof r!="function"&&(_s===null?_s=new Set([this]):_s.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}function ok(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new LZ;var a=new Set;r.set(t,a)}else a=r.get(t),a===void 0&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=ZZ.bind(null,e,t,n),t.then(e,e))}function ik(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function sk(e,t,n,r,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Pi(-1,1),t.tag=2,Rs(n,t,1))),n.lanes|=1),e)}var FZ=Xi.ReactCurrentOwner,wa=!1;function la(e,t,n,r){t.child=e===null?FB(t,null,n,r):Iu(t,e.child,n,r)}function lk(e,t,n,r,a){n=n.render;var o=t.ref;return pu(t,a),r=l_(e,t,n,r,o,a),n=c_(),e!==null&&!wa?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ui(e,t,a)):(Un&&n&&XR(t),t.flags|=1,la(e,t,r,a),t.child)}function ck(e,t,n,r,a){if(e===null){var o=n.type;return typeof o=="function"&&!y_(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,uz(e,t,o,r,a)):(e=dh(n.type,null,r,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if(n=n.compare,n=n!==null?n:Kf,n(i,r)&&e.ref===t.ref)return Ui(e,t,a)}return t.flags|=1,e=Os(o,r),e.ref=t.ref,e.return=t,t.child=e}function uz(e,t,n,r,a){if(e!==null){var o=e.memoizedProps;if(Kf(o,r)&&e.ref===t.ref)if(wa=!1,t.pendingProps=r=o,(e.lanes&a)!==0)e.flags&131072&&(wa=!0);else return t.lanes=e.lanes,Ui(e,t,a)}return oI(e,t,n,r,a)}function dz(e,t,n){var r=t.pendingProps,a=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},$n(tu,ja),ja|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,$n(tu,ja),ja|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,$n(tu,ja),ja|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,$n(tu,ja),ja|=r;return la(e,t,a,n),t.child}function fz(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function oI(e,t,n,r,a){var o=Ta(n)?Fl:ra.current;return o=xu(t,o),pu(t,a),n=l_(e,t,n,r,o,a),r=c_(),e!==null&&!wa?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Ui(e,t,a)):(Un&&r&&XR(t),t.flags|=1,la(e,t,n,a),t.child)}function uk(e,t,n,r,a){if(Ta(n)){var o=!0;Uh(t)}else o=!1;if(pu(t,a),t.stateNode===null)lh(e,t),sz(t,n,r),rI(t,n,r,a),r=!0;else if(e===null){var i=t.stateNode,s=t.memoizedProps;i.props=s;var c=i.context,u=n.contextType;typeof u=="object"&&u!==null?u=go(u):(u=Ta(n)?Fl:ra.current,u=xu(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==r||c!==u)&&ak(t,i,r,u),us=!1;var p=t.memoizedState;i.state=p,Kh(t,r,i,a),c=t.memoizedState,s!==r||p!==c||Ia.current||us?(typeof d=="function"&&(nI(t,n,d,r),c=t.memoizedState),(s=us||rk(t,n,s,r,p,c,u))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),i.props=r,i.state=c,i.context=u,r=s):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,BB(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:$o(t.type,s),i.props=u,f=t.pendingProps,p=i.context,c=n.contextType,typeof c=="object"&&c!==null?c=go(c):(c=Ta(n)?Fl:ra.current,c=xu(t,c));var g=n.getDerivedStateFromProps;(d=typeof g=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(s!==f||p!==c)&&ak(t,i,r,c),us=!1,p=t.memoizedState,i.state=p,Kh(t,r,i,a);var v=t.memoizedState;s!==f||p!==v||Ia.current||us?(typeof g=="function"&&(nI(t,n,g,r),v=t.memoizedState),(u=us||rk(t,n,u,r,p,v,c)||!1)?(d||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(r,v,c),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(r,v,c)),typeof i.componentDidUpdate=="function"&&(t.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),i.props=r,i.state=v,i.context=c,r=u):(typeof i.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return iI(e,t,n,r,o,a)}function iI(e,t,n,r,a,o){fz(e,t);var i=(t.flags&128)!==0;if(!r&&!i)return a&&YN(t,n,!1),Ui(e,t,o);r=t.stateNode,FZ.current=t;var s=i&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&i?(t.child=Iu(t,e.child,null,o),t.child=Iu(t,null,s,o)):la(e,t,s,o),t.memoizedState=r.state,a&&YN(t,n,!0),t.child}function pz(e){var t=e.stateNode;t.pendingContext?KN(e,t.pendingContext,t.pendingContext!==t.context):t.context&&KN(e,t.context,!1),a_(e,t.containerInfo)}function dk(e,t,n,r,a){return Eu(),QR(a),t.flags|=256,la(e,t,n,r),t.child}var sI={dehydrated:null,treeContext:null,retryLane:0};function lI(e){return{baseLanes:e,cachePool:null,transitions:null}}function gz(e,t,n){var r=t.pendingProps,a=Kn.current,o=!1,i=(t.flags&128)!==0,s;if((s=i)||(s=e!==null&&e.memoizedState===null?!1:(a&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(a|=1),$n(Kn,a&1),e===null)return eI(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(i=r.children,e=r.fallback,o?(r=t.mode,o=t.child,i={mode:"hidden",children:i},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=i):o=rb(i,r,0,null),e=Ol(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=lI(n),t.memoizedState=sI,e):f_(t,i));if(a=e.memoizedState,a!==null&&(s=a.dehydrated,s!==null))return jZ(e,t,i,r,s,a,n);if(o){o=r.fallback,i=t.mode,a=e.child,s=a.sibling;var c={mode:"hidden",children:r.children};return!(i&1)&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Os(a,c),r.subtreeFlags=a.subtreeFlags&14680064),s!==null?o=Os(s,o):(o=Ol(o,i,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,i=e.child.memoizedState,i=i===null?lI(n):{baseLanes:i.baseLanes|n,cachePool:null,transitions:i.transitions},o.memoizedState=i,o.childLanes=e.childLanes&~n,t.memoizedState=sI,r}return o=e.child,e=o.sibling,r=Os(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function f_(e,t){return t=rb({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Jg(e,t,n,r){return r!==null&&QR(r),Iu(t,e.child,null,n),e=f_(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function jZ(e,t,n,r,a,o,i){if(n)return t.flags&256?(t.flags&=-257,r=Cy(Error(ct(422))),Jg(e,t,i,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,a=t.mode,r=rb({mode:"visible",children:r.children},a,0,null),o=Ol(o,a,i,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Iu(t,e.child,null,i),t.child.memoizedState=lI(i),t.memoizedState=sI,o);if(!(t.mode&1))return Jg(e,t,i,null);if(a.data==="$!"){if(r=a.nextSibling&&a.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(ct(419)),r=Cy(o,r,void 0),Jg(e,t,i,r)}if(s=(i&e.childLanes)!==0,wa||s){if(r=Nr,r!==null){switch(i&-i){case 4:a=2;break;case 16:a=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:a=32;break;case 536870912:a=268435456;break;default:a=0}a=a&(r.suspendedLanes|i)?0:a,a!==0&&a!==o.retryLane&&(o.retryLane=a,Hi(e,a),Lo(r,e,a,-1))}return b_(),r=Cy(Error(ct(421))),Jg(e,t,i,r)}return a.data==="$?"?(t.flags|=128,t.child=e.child,t=QZ.bind(null,e),a._reactRetry=t,null):(e=o.treeContext,za=Ts(a.nextSibling),Ka=t,Un=!0,Ao=null,e!==null&&(lo[co++]=Mi,lo[co++]=Di,lo[co++]=jl,Mi=e.id,Di=e.overflow,jl=t),t=f_(t,r.children),t.flags|=4096,t)}function fk(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),tI(e.return,t,n)}function xy(e,t,n,r,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function mz(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(la(e,t,r.children,n),r=Kn.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fk(e,n,t);else if(e.tag===19)fk(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if($n(Kn,r),!(t.mode&1))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;n!==null;)e=n.alternate,e!==null&&Yh(e)===null&&(a=n),n=n.sibling;n=a,n===null?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),xy(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;a!==null;){if(e=a.alternate,e!==null&&Yh(e)===null){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}xy(t,!0,n,null,o);break;case"together":xy(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function lh(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ui(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),zl|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(ct(153));if(t.child!==null){for(e=t.child,n=Os(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Os(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function BZ(e,t,n){switch(t.tag){case 3:pz(t),Eu();break;case 5:zB(t);break;case 1:Ta(t.type)&&Uh(t);break;case 4:a_(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;$n(Gh,r._currentValue),r._currentValue=a;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?($n(Kn,Kn.current&1),t.flags|=128,null):n&t.child.childLanes?gz(e,t,n):($n(Kn,Kn.current&1),e=Ui(e,t,n),e!==null?e.sibling:null);$n(Kn,Kn.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return mz(e,t,n);t.flags|=128}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),$n(Kn,Kn.current),r)break;return null;case 22:case 23:return t.lanes=0,dz(e,t,n)}return Ui(e,t,n)}var hz,cI,vz,bz;hz=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};cI=function(){};vz=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,bl(ii.current);var o=null;switch(n){case"input":a=N2(e,a),r=N2(e,r),o=[];break;case"select":a=Xn({},a,{value:void 0}),r=Xn({},r,{value:void 0}),o=[];break;case"textarea":a=M2(e,a),r=M2(e,r),o=[];break;default:typeof a.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=zh)}P2(n,r);var i;n=null;for(u in a)if(!r.hasOwnProperty(u)&&a.hasOwnProperty(u)&&a[u]!=null)if(u==="style"){var s=a[u];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(zf.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(s=a!=null?a[u]:void 0,r.hasOwnProperty(u)&&c!==s&&(c!=null||s!=null))if(u==="style")if(s){for(i in s)!s.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&s[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(o||(o=[]),o.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,s=s?s.__html:void 0,c!=null&&s!==c&&(o=o||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(o=o||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(zf.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&Pn("scroll",e),o||s===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};bz=function(e,t,n,r){n!==r&&(t.flags|=4)};function $d(e,t){if(!Un)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Yr(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags&14680064,r|=a.flags&14680064,a.return=e,a=a.sibling;else for(a=e.child;a!==null;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function zZ(e,t,n){var r=t.pendingProps;switch(ZR(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yr(t),null;case 1:return Ta(t.type)&&Hh(),Yr(t),null;case 3:return r=t.stateNode,Tu(),jn(Ia),jn(ra),i_(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Zg(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ao!==null&&(vI(Ao),Ao=null))),cI(e,t),Yr(t),null;case 5:o_(t);var a=bl(Jf.current);if(n=t.type,e!==null&&t.stateNode!=null)vz(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(ct(166));return Yr(t),null}if(e=bl(ii.current),Zg(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[ni]=t,r[Zf]=o,e=(t.mode&1)!==0,n){case"dialog":Pn("cancel",r),Pn("close",r);break;case"iframe":case"object":case"embed":Pn("load",r);break;case"video":case"audio":for(a=0;a<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[ni]=t,e[Zf]=r,hz(e,t,!1,!1),t.stateNode=e;e:{switch(i=L2(n,r),n){case"dialog":Pn("cancel",e),Pn("close",e),a=r;break;case"iframe":case"object":case"embed":Pn("load",e),a=r;break;case"video":case"audio":for(a=0;a_u&&(t.flags|=128,r=!0,$d(o,!1),t.lanes=4194304)}else{if(!r)if(e=Yh(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$d(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!Un)return Yr(t),null}else 2*sr()-o.renderingStartTime>_u&&n!==1073741824&&(t.flags|=128,r=!0,$d(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(n=o.last,n!==null?n.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=sr(),t.sibling=null,n=Kn.current,$n(Kn,r?n&1|2:n&1),t):(Yr(t),null);case 22:case 23:return v_(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ja&1073741824&&(Yr(t),t.subtreeFlags&6&&(t.flags|=8192)):Yr(t),null;case 24:return null;case 25:return null}throw Error(ct(156,t.tag))}function HZ(e,t){switch(ZR(t),t.tag){case 1:return Ta(t.type)&&Hh(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Tu(),jn(Ia),jn(ra),i_(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return o_(t),null;case 13:if(jn(Kn),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ct(340));Eu()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return jn(Kn),null;case 4:return Tu(),null;case 10:return t_(t.type._context),null;case 22:case 23:return v_(),null;case 24:return null;default:return null}}var em=!1,Jr=!1,UZ=typeof WeakSet=="function"?WeakSet:Set,Et=null;function eu(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ar(e,t,r)}else n.current=null}function uI(e,t,n){try{n()}catch(r){ar(e,t,r)}}var pk=!1;function VZ(e,t){if(q2=Fh,e=xB(),YR(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var i=0,s=-1,c=-1,u=0,d=0,f=e,p=null;t:for(;;){for(var g;f!==n||a!==0&&f.nodeType!==3||(s=i+a),f!==o||r!==0&&f.nodeType!==3||(c=i+r),f.nodeType===3&&(i+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++u===a&&(s=i),p===o&&++d===r&&(c=i),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(K2={focusedElem:e,selectionRange:n},Fh=!1,Et=t;Et!==null;)if(t=Et,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Et=e;else for(;Et!==null;){t=Et;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,h=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:$o(t.type,m),h);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var S=t.stateNode.containerInfo;S.nodeType===1?S.textContent="":S.nodeType===9&&S.documentElement&&S.removeChild(S.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ct(163))}}catch(w){ar(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,Et=e;break}Et=t.return}return v=pk,pk=!1,v}function bf(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&uI(t,n,o)}a=a.next}while(a!==r)}}function tb(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==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 dI(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function yz(e){var t=e.alternate;t!==null&&(e.alternate=null,yz(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ni],delete t[Zf],delete t[Z2],delete t[TZ],delete t[RZ])),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 Sz(e){return e.tag===5||e.tag===3||e.tag===4}function gk(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Sz(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function fI(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=zh));else if(r!==4&&(e=e.child,e!==null))for(fI(e,t,n),e=e.sibling;e!==null;)fI(e,t,n),e=e.sibling}function pI(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(pI(e,t,n),e=e.sibling;e!==null;)pI(e,t,n),e=e.sibling}var Fr=null,Oo=!1;function ns(e,t,n){for(n=n.child;n!==null;)wz(e,t,n),n=n.sibling}function wz(e,t,n){if(oi&&typeof oi.onCommitFiberUnmount=="function")try{oi.onCommitFiberUnmount(qv,n)}catch{}switch(n.tag){case 5:Jr||eu(n,t);case 6:var r=Fr,a=Oo;Fr=null,ns(e,t,n),Fr=r,Oo=a,Fr!==null&&(Oo?(e=Fr,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Fr.removeChild(n.stateNode));break;case 18:Fr!==null&&(Oo?(e=Fr,n=n.stateNode,e.nodeType===8?hy(e.parentNode,n):e.nodeType===1&&hy(e,n),Gf(e)):hy(Fr,n.stateNode));break;case 4:r=Fr,a=Oo,Fr=n.stateNode.containerInfo,Oo=!0,ns(e,t,n),Fr=r,Oo=a;break;case 0:case 11:case 14:case 15:if(!Jr&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&uI(n,t,i),a=a.next}while(a!==r)}ns(e,t,n);break;case 1:if(!Jr&&(eu(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ar(n,t,s)}ns(e,t,n);break;case 21:ns(e,t,n);break;case 22:n.mode&1?(Jr=(r=Jr)||n.memoizedState!==null,ns(e,t,n),Jr=r):ns(e,t,n);break;default:ns(e,t,n)}}function mk(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new UZ),t.forEach(function(r){var a=JZ.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function To(e,t){var n=t.deletions;if(n!==null)for(var r=0;ra&&(a=i),r&=~o}if(r=a,r=sr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*GZ(r/1960))-r,10e?16:e,vs===null)var r=!1;else{if(e=vs,vs=null,ev=0,dn&6)throw Error(ct(331));var a=dn;for(dn|=4,Et=e.current;Et!==null;){var o=Et,i=o.child;if(Et.flags&16){var s=o.deletions;if(s!==null){for(var c=0;csr()-m_?$l(e,0):g_|=n),Ra(e,t)}function $z(e,t){t===0&&(e.mode&1?(t=Wg,Wg<<=1,!(Wg&130023424)&&(Wg=4194304)):t=1);var n=ua();e=Hi(e,t),e!==null&&(qp(e,t,n),Ra(e,n))}function QZ(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),$z(e,n)}function JZ(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ct(314))}r!==null&&r.delete(t),$z(e,n)}var Oz;Oz=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ia.current)wa=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return wa=!1,BZ(e,t,n);wa=!!(e.flags&131072)}else wa=!1,Un&&t.flags&1048576&&MB(t,Wh,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;lh(e,t),e=t.pendingProps;var a=xu(t,ra.current);pu(t,n),a=l_(null,t,r,e,a,n);var o=c_();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ta(r)?(o=!0,Uh(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,r_(t),a.updater=eb,t.stateNode=a,a._reactInternals=t,rI(t,r,e,n),t=iI(null,t,r,!0,o,n)):(t.tag=0,Un&&o&&XR(t),la(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(lh(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=tQ(r),e=$o(r,e),a){case 0:t=oI(null,t,r,e,n);break e;case 1:t=uk(null,t,r,e,n);break e;case 11:t=lk(null,t,r,e,n);break e;case 14:t=ck(null,t,r,$o(r.type,e),n);break e}throw Error(ct(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$o(r,a),oI(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$o(r,a),uk(e,t,r,a,n);case 3:e:{if(pz(t),e===null)throw Error(ct(387));r=t.pendingProps,o=t.memoizedState,a=o.element,BB(e,t),Kh(t,r,null,n);var i=t.memoizedState;if(r=i.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=Ru(Error(ct(423)),t),t=dk(e,t,r,n,a);break e}else if(r!==a){a=Ru(Error(ct(424)),t),t=dk(e,t,r,n,a);break e}else for(za=Ts(t.stateNode.containerInfo.firstChild),Ka=t,Un=!0,Ao=null,n=FB(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Eu(),r===a){t=Ui(e,t,n);break e}la(e,t,r,n)}t=t.child}return t;case 5:return zB(t),e===null&&eI(t),r=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,Y2(r,a)?i=null:o!==null&&Y2(r,o)&&(t.flags|=32),fz(e,t),la(e,t,i,n),t.child;case 6:return e===null&&eI(t),null;case 13:return gz(e,t,n);case 4:return a_(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Iu(t,null,r,n):la(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$o(r,a),lk(e,t,r,a,n);case 7:return la(e,t,t.pendingProps,n),t.child;case 8:return la(e,t,t.pendingProps.children,n),t.child;case 12:return la(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,$n(Gh,r._currentValue),r._currentValue=i,o!==null)if(zo(o.value,i)){if(o.children===a.children&&!Ia.current){t=Ui(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){i=o.child;for(var c=s.firstContext;c!==null;){if(c.context===r){if(o.tag===1){c=Pi(-1,n&-n),c.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),tI(o.return,n,t),s.lanes|=n;break}c=c.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(ct(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),tI(i,n,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}la(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,pu(t,n),a=go(a),r=r(a),t.flags|=1,la(e,t,r,n),t.child;case 14:return r=t.type,a=$o(r,t.pendingProps),a=$o(r.type,a),ck(e,t,r,a,n);case 15:return uz(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$o(r,a),lh(e,t),t.tag=1,Ta(r)?(e=!0,Uh(t)):e=!1,pu(t,n),sz(t,r,a),rI(t,r,a,n),iI(null,t,r,!0,e,n);case 19:return mz(e,t,n);case 22:return dz(e,t,n)}throw Error(ct(156,t.tag))};function Nz(e,t){return aB(e,t)}function eQ(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 fo(e,t,n,r){return new eQ(e,t,n,r)}function y_(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tQ(e){if(typeof e=="function")return y_(e)?1:0;if(e!=null){if(e=e.$$typeof,e===FR)return 11;if(e===jR)return 14}return 2}function Os(e,t){var n=e.alternate;return n===null?(n=fo(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function dh(e,t,n,r,a,o){var i=2;if(r=e,typeof e=="function")y_(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Wc:return Ol(n.children,a,o,t);case LR:i=8,a|=8;break;case R2:return e=fo(12,n,t,a|2),e.elementType=R2,e.lanes=o,e;case _2:return e=fo(13,n,t,a),e.elementType=_2,e.lanes=o,e;case $2:return e=fo(19,n,t,a),e.elementType=$2,e.lanes=o,e;case zj:return rb(n,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jj:i=10;break e;case Bj:i=9;break e;case FR:i=11;break e;case jR:i=14;break e;case cs:i=16,r=null;break e}throw Error(ct(130,e==null?e:typeof e,""))}return t=fo(i,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function Ol(e,t,n,r){return e=fo(7,e,r,t),e.lanes=n,e}function rb(e,t,n,r){return e=fo(22,e,r,t),e.elementType=zj,e.lanes=n,e.stateNode={isHidden:!1},e}function Ey(e,t,n){return e=fo(6,e,null,t),e.lanes=n,e}function Iy(e,t,n){return t=fo(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function nQ(e,t,n,r,a){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=oy(0),this.expirationTimes=oy(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=oy(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function S_(e,t,n,r,a,o,i,s,c){return e=new nQ(e,t,n,s,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=fo(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},r_(o),e}function rQ(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Dz)}catch(e){console.error(e)}}Dz(),Dj.exports=Xa;var Sr=Dj.exports;const ap=fa(Sr),lQ=$R({__proto__:null,default:ap},[Sr]);var xk=Sr;I2.createRoot=xk.createRoot,I2.hydrateRoot=xk.hydrateRoot;const cQ={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class rv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||cQ,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{let[s,c]=i;for(let u=0;u{let[s,c]=i;for(let u=0;u{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},Ek=e=>e==null?"":""+e,uQ=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},dQ=/###/g,Ik=e=>e&&e.indexOf("###")>-1?e.replace(dQ,"."):e,Tk=e=>!e||typeof e=="string",wf=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a{const{obj:r,k:a}=wf(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let o=t[t.length-1],i=t.slice(0,t.length-1),s=wf(e,i,Object);for(;s.obj===void 0&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),s=wf(e,i,Object),s&&s.obj&&typeof s.obj[`${s.k}.${o}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},fQ=(e,t,n,r)=>{const{obj:a,k:o}=wf(e,t,Object);a[o]=a[o]||[],a[o].push(n)},av=(e,t)=>{const{obj:n,k:r}=wf(e,t);if(n)return n[r]},pQ=(e,t,n)=>{const r=av(e,n);return r!==void 0?r:av(t,n)},Pz=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Pz(e[r],t[r],n):e[r]=t[r]);return e},xc=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var gQ={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const mQ=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>gQ[t]):e;class hQ{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const vQ=[" ",",","?","!",";"],bQ=new hQ(20),yQ=(e,t,n)=>{t=t||"",n=n||"";const r=vQ.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=bQ.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let o=!a.test(e);if(!o){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o},bI=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let a=e;for(let o=0;o-1&&ce&&e.indexOf("_")>0?e.replace("_","-"):e;class _k extends lb{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):typeof r=="string"&&o?s.push(...r.split(o)):s.push(r)));const c=av(this.data,s);return!c&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),c||!i||typeof r!="string"?c:bI(this.data&&this.data[t]&&this.data[t][n],r,o)}addResource(t,n,r,a){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(s=t.split("."),a=n,n=s[1]),this.addNamespaces(n),Rk(this.data,s,a),o.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(typeof r[o]=="string"||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),a=r,r=n,n=s[1]),this.addNamespaces(n);let c=av(this.data,s)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?Pz(c,r,o):c={...c,...r},Rk(this.data,s,c),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var Lz={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,a))}),t}};const $k={};class iv extends lb{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),uQ(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ai.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!yQ(t,r,a);if(i&&!s){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:o};const u=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(u[0])>-1)&&(o=u.shift()),t=u.join(a)}return typeof o=="string"&&(o=[o]),{key:t,namespaces:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(t[t.length-1],n),c=s[s.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const w=n.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${w}${i}`,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${w}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:i}const f=this.resolve(t,n);let p=f&&f.res;const g=f&&f.usedKey||i,v=f&&f.exactUsedKey||i,m=Object.prototype.toString.apply(p),h=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject;if(b&&p&&(typeof p!="string"&&typeof p!="boolean"&&typeof p!="number")&&h.indexOf(m)<0&&!(typeof y=="string"&&Array.isArray(p))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const w=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,p,{...n,ns:s}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(f.res=w,f.usedParams=this.getUsedParamsDetails(n),f):w}if(o){const w=Array.isArray(p),x=w?[]:{},E=w?v:g;for(const I in p)if(Object.prototype.hasOwnProperty.call(p,I)){const R=`${E}${o}${I}`;x[I]=this.translate(R,{...n,joinArrays:!1,ns:s}),x[I]===R&&(x[I]=p[I])}p=x}}else if(b&&typeof y=="string"&&Array.isArray(p))p=p.join(y),p&&(p=this.extendTranslation(p,t,n,r));else{let w=!1,x=!1;const E=n.count!==void 0&&typeof n.count!="string",I=iv.hasDefaultValue(n),R=E?this.pluralResolver.getSuffix(u,n.count,n):"",T=n.ordinal&&E?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",_=E&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),$=_&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${T}`]||n.defaultValue;!this.isValidLookup(p)&&I&&(w=!0,p=$),this.isValidLookup(p)||(x=!0,p=i);const P=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&x?void 0:p,A=I&&$!==p&&this.options.updateMissing;if(x||w||A){if(this.logger.log(A?"updateKey":"missingKey",u,c,i,A?$:p),o){const M=this.resolve(i,{...n,keySeparator:!1});M&&M.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let O=[];const N=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&N&&N[0])for(let M=0;M{const j=I&&F!==p?F:P;this.options.missingKeyHandler?this.options.missingKeyHandler(M,c,L,j,A,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(M,c,L,j,A,n),this.emit("missingKey",M,c,L,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?O.forEach(M=>{const L=this.pluralResolver.getSuffixes(M,n);_&&n[`defaultValue${this.options.pluralSeparator}zero`]&&L.indexOf(`${this.options.pluralSeparator}zero`)<0&&L.push(`${this.options.pluralSeparator}zero`),L.forEach(F=>{k([M],i+F,n[`defaultValue${F}`]||$)})}):k(O,i,$))}p=this.extendTranslation(p,t,n,f,r),x&&p===i&&this.options.appendNamespaceToMissingKey&&(p=`${c}:${i}`),(x||w)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${i}`:i,w?p:void 0):p=this.options.parseMissingKeyHandler(p))}return a?(f.res=p,f.usedParams=this.getUsedParamsDetails(n),f):p}extendTranslation(t,n,r,a,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const p=t.match(this.interpolator.nestingRegexp);d=p&&p.length}let f=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(f={...this.options.interpolation.defaultVariables,...f}),t=this.interpolator.interpolate(t,f,r.lng||this.language||a.usedLng,r),u){const p=t.match(this.interpolator.nestingRegexp),g=p&&p.length;d1&&arguments[1]!==void 0?arguments[1]:{},r,a,o,i,s;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(c,n),d=u.key;a=d;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const p=n.count!==void 0&&typeof n.count!="string",g=p&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),v=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",m=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(h=>{this.isValidLookup(r)||(s=h,!$k[`${m[0]}-${h}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&($k[`${m[0]}-${h}`]=!0,this.logger.warn(`key "${a}" for languages "${m.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(y=>{if(this.isValidLookup(r))return;i=y;const b=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(b,d,y,h,n);else{let w;p&&(w=this.pluralResolver.getSuffix(y,n.count,n));const x=`${this.options.pluralSeparator}zero`,E=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(b.push(d+w),n.ordinal&&w.indexOf(E)===0&&b.push(d+w.replace(E,this.options.pluralSeparator)),g&&b.push(d+x)),v){const I=`${d}${this.options.contextSeparator}${n.context}`;b.push(I),p&&(b.push(I+w),n.ordinal&&w.indexOf(E)===0&&b.push(I+w.replace(E,this.options.pluralSeparator)),g&&b.push(I+x))}}let S;for(;S=b.pop();)this.isValidLookup(r)||(o=S,r=this.getResource(y,h,S,n))}))})}),{res:r,usedKey:a,exactUsedKey:o,usedLng:i,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const o of n)delete a[o]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const Ty=e=>e.charAt(0).toUpperCase()+e.slice(1);class Ok{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ai.create("languageUtils")}getScriptPartFromCode(t){if(t=ov(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=ov(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(a=>a.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ty(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Ty(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Ty(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(o=>{if(o===a)return o;if(!(o.indexOf("-")<0&&a.indexOf("-")<0)&&(o.indexOf("-")>0&&a.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===a||o.indexOf(a)===0&&a.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],o=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):typeof t=="string"&&o(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&o(this.formatLanguageCode(i))}),a}}let SQ=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],wQ={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const CQ=["v1","v2","v3"],xQ=["v4"],Nk={zero:0,one:1,two:2,few:3,many:4,other:5},EQ=()=>{const e={};return SQ.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:wQ[t.fc]}})}),e};class IQ{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ai.create("pluralResolver"),(!this.options.compatibilityJSON||xQ.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=EQ()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(ov(t==="dev"?"en":t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((a,o)=>Nk[a]-Nk[o]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):r.numbers.map(a=>this.getSuffix(t,a,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:this.getSuffixRetroCompatible(a,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let a=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const o=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?`_plural_${a.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!CQ.includes(this.options.compatibilityJSON)}}const kk=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=pQ(e,t,n);return!o&&a&&typeof n=="string"&&(o=bI(e,n,r),o===void 0&&(o=bI(t,n,r))),o},Ry=e=>e.replace(/\$/g,"$$$$");class TQ{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ai.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:o,prefixEscaped:i,suffix:s,suffixEscaped:c,formatSeparator:u,unescapeSuffix:d,unescapePrefix:f,nestingPrefix:p,nestingPrefixEscaped:g,nestingSuffix:v,nestingSuffixEscaped:m,nestingOptionsSeparator:h,maxReplaces:y,alwaysFormat:b}=t.interpolation;this.escape=n!==void 0?n:mQ,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?xc(o):i||"{{",this.suffix=s?xc(s):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=p?xc(p):g||xc("$t("),this.nestingSuffix=v?xc(v):m||xc(")"),this.nestingOptionsSeparator=h||",",this.maxReplaces=y||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let o,i,s;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=g=>{if(g.indexOf(this.formatSeparator)<0){const y=kk(n,c,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(y,void 0,r,{...a,...n,interpolationkey:g}):y}const v=g.split(this.formatSeparator),m=v.shift().trim(),h=v.join(this.formatSeparator).trim();return this.format(kk(n,c,m,this.options.keySeparator,this.options.ignoreJSONStructure),h,r,{...a,...n,interpolationkey:m})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,f=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>Ry(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?Ry(this.escape(g)):Ry(g)}].forEach(g=>{for(s=0;o=g.regex.exec(t);){const v=o[1].trim();if(i=u(v),i===void 0)if(typeof d=="function"){const h=d(t,o,a);i=typeof h=="string"?h:""}else if(a&&Object.prototype.hasOwnProperty.call(a,v))i="";else if(f){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${v} for interpolating ${t}`),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=Ek(i));const m=g.safeValue(i);if(t=t.replace(o[0],m),f?(g.regex.lastIndex+=i.length,g.regex.lastIndex-=o[0].length):g.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,i;const s=(c,u)=>{const d=this.nestingOptionsSeparator;if(c.indexOf(d)<0)return c;const f=c.split(new RegExp(`${d}[ ]*{`));let p=`{${f[1]}`;c=f[0],p=this.interpolate(p,i);const g=p.match(/'/g),v=p.match(/"/g);(g&&g.length%2===0&&!v||v.length%2!==0)&&(p=p.replace(/'/g,'"'));try{i=JSON.parse(p),u&&(i={...u,...i})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,m),`${c}${d}${p}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,c};for(;a=this.nestingRegexp.exec(t);){let c=[];i={...r},i=i.replace&&typeof i.replace!="string"?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(f=>f.trim());a[1]=d.shift(),c=d,u=!0}if(o=n(s.call(this,a[1].trim(),i),i),o&&a[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=Ek(o)),o||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),o=""),u&&(o=c.reduce((d,f)=>this.format(d,f,r.lng,{...r,interpolationkey:a[1].trim()}),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}const RQ=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[s,...c]=i.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();n[d]||(n[d]=u),u==="false"&&(n[d]=!1),u==="true"&&(n[d]=!0),isNaN(u)||(n[d]=parseInt(u,10))}})}return{formatName:t,formatOptions:n}},Ec=e=>{const t={};return(n,r,a)=>{const o=r+JSON.stringify(a);let i=t[o];return i||(i=e(ov(r),a),t[o]=i),i(n)}};class _Q{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ai.create("formatter"),this.options=t,this.formats={number:Ec((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:Ec((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:Ec((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:Ec((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:Ec((n,r)=>{const a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Ec(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(s=>s.indexOf(")")>-1)){const s=o.findIndex(c=>c.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,s)].join(this.formatSeparator)}return o.reduce((s,c)=>{const{formatName:u,formatOptions:d}=RQ(c);if(this.formats[u]){let f=s;try{const p=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},g=p.locale||p.lng||a.locale||a.lng||r;f=this.formats[u](s,g,{...d,...a,...p})}catch(p){this.logger.warn(p)}return f}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const $Q=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class OQ extends lb{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=ai.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,a.backend,a)}queueLoad(t,n,r,a){const o={},i={},s={},c={};return t.forEach(u=>{let d=!0;n.forEach(f=>{const p=`${u}|${f}`;!r.reload&&this.store.hasResourceBundle(u,f)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?i[p]===void 0&&(i[p]=!0):(this.state[p]=1,d=!1,i[p]===void 0&&(i[p]=!0),o[p]===void 0&&(o[p]=!0),c[f]===void 0&&(c[f]=!0)))}),d||(s[u]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const a=t.split("|"),o=a[0],i=a[1];n&&this.emit("failedLoading",o,i,n),r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2;const s={};this.queue.forEach(c=>{fQ(c.loaded,[o],i),$Q(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{s[u]||(s[u]={});const d=c.loaded[u];d.length&&d.forEach(f=>{s[u][f]===void 0&&(s[u][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:o,callback:i});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&d&&a{this.read.call(this,t,n,r,a+1,o*2,i)},o);return}i(u,d)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return c(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const o=this.queueLoad(t,n,r,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],o=r[1];this.read(a,o,"read",void 0,void 0,(i,s)=>{i&&this.logger.warn(`${n}loading namespace ${o} for language ${a} failed`,i),!i&&s&&this.logger.log(`${n}loaded namespace ${o} for language ${a}`,s),this.loaded(t,i,s)})}saveMissing(t,n,r,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const c={...i,isUpdate:o},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,a,c):d=u(t,n,r,a),d&&typeof d.then=="function"?d.then(f=>s(null,f)).catch(s):s(null,d)}catch(d){s(d)}else u(t,n,r,a,s,c)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const Ak=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Mk=e=>(typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),rm=()=>{},NQ=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class op extends lb{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Mk(t),this.services={},this.logger=ai,this.modules={external:[]},NQ(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=Ak();this.options={...a,...this.options,...Mk(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?ai.init(o(this.modules.logger),this.options):ai.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=_Q);const f=new Ok(this.options);this.store=new _k(this.options.resources,this.options);const p=this.services;p.logger=ai,p.resourceStore=this.store,p.languageUtils=f,p.pluralResolver=new IQ(f,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(p.formatter=o(d),p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new TQ(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new OQ(o(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(g){for(var v=arguments.length,m=new Array(v>1?v-1:0),h=1;h1?v-1:0),h=1;h{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,r||(r=rm),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const c=Nd(),u=()=>{const d=(f,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(p),r(f,p)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const o=[],i=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&o.indexOf(u)<0&&o.push(u)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>i(c)),this.options.preload&&this.options.preload.forEach(s=>i(s)),this.services.backendConnector.load(o,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const a=Nd();return t||(t=this.languages),n||(n=this.options.ns),r||(r=rm),this.services.backendConnector.reload(t,n,o=>{a.resolve(),r(o)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Lz.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=Nd();this.emit("languageChanging",t);const o=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},i=(c,u)=>{u?(o(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},s=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{i(d,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),a}getFixedT(t,n,r){var a=this;const o=function(i,s){let c;if(typeof s!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),f=2;f`${c.keyPrefix}${p}${v}`):g=c.keyPrefix?`${c.keyPrefix}${p}${i}`:i,a.t(g,c)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(s,c)=>{const u=this.services.backendConnector.state[`${s}|${c}`];return u===-1||u===2};if(n.precheck){const s=n.precheck(this,i);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(o,t)))}loadNamespaces(t,n){const r=Nd();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=Nd();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],o=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return o.length?(this.options.preload=a.concat(o),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new Ok(Ak());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new op(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:rm;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new op(a);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(s=>{o[s]=this[s]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new _k(this.store.data,a),o.services.resourceStore=o.store),o.translator=new iv(o.services,a),o.translator.on("*",function(s){for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d{console!=null&&console.warn&&(Nl(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},Dk={},yI=(...e)=>{Nl(e[0])&&Dk[e[0]]||(Nl(e[0])&&(Dk[e[0]]=new Date),kQ(...e))},Fz=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Pk=(e,t,n)=>{e.loadNamespaces(t,Fz(e,n))},Lk=(e,t,n,r)=>{Nl(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,Fz(e,r))},AQ=(e,t,n={})=>!t.languages||!t.languages.length?(yI("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var o;if(((o=n.bindI18n)==null?void 0:o.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),Nl=e=>typeof e=="string",MQ=e=>typeof e=="object"&&e!==null,DQ=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,PQ={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},LQ=e=>PQ[e],FQ=e=>e.replace(DQ,LQ);let SI={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:FQ};const jQ=(e={})=>{SI={...SI,...e}},BQ=()=>SI;let jz;const zQ=e=>{jz=e},HQ=()=>jz,UQ={type:"3rdParty",init(e){jQ(e.options.react),zQ(e)}},VQ=l.createContext();class WQ{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var r;(r=this.usedNamespaces)[n]??(r[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const GQ=(e,t)=>{const n=l.useRef();return l.useEffect(()=>{n.current=e},[e,t]),n.current},Bz=(e,t,n,r)=>e.getFixedT(t,n,r),qQ=(e,t,n,r)=>l.useCallback(Bz(e,t,n,r),[e,t,n,r]),Ft=(e,t={})=>{var w,x,E,I;const{i18n:n}=t,{i18n:r,defaultNS:a}=l.useContext(VQ)||{},o=n||r||HQ();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new WQ),!o){yI("You will need to pass in an i18next instance by using initReactI18next");const R=(_,$)=>Nl($)?$:MQ($)&&Nl($.defaultValue)?$.defaultValue:Array.isArray(_)?_[_.length-1]:_,T=[R,{},!1];return T.t=R,T.i18n={},T.ready=!1,T}(w=o.options.react)!=null&&w.wait&&yI("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...BQ(),...o.options.react,...t},{useSuspense:s,keyPrefix:c}=i;let u=a||((x=o.options)==null?void 0:x.defaultNS);u=Nl(u)?[u]:u||["translation"],(I=(E=o.reportNamespaces).addUsedNamespaces)==null||I.call(E,u);const d=(o.isInitialized||o.initializedStoreOnce)&&u.every(R=>AQ(R,o,i)),f=qQ(o,t.lng||null,i.nsMode==="fallback"?u:u[0],c),p=()=>f,g=()=>Bz(o,t.lng||null,i.nsMode==="fallback"?u:u[0],c),[v,m]=l.useState(p);let h=u.join();t.lng&&(h=`${t.lng}${h}`);const y=GQ(h),b=l.useRef(!0);l.useEffect(()=>{const{bindI18n:R,bindI18nStore:T}=i;b.current=!0,!d&&!s&&(t.lng?Lk(o,t.lng,u,()=>{b.current&&m(g)}):Pk(o,u,()=>{b.current&&m(g)})),d&&y&&y!==h&&b.current&&m(g);const _=()=>{b.current&&m(g)};return R&&(o==null||o.on(R,_)),T&&(o==null||o.store.on(T,_)),()=>{b.current=!1,o&&(R==null||R.split(" ").forEach($=>o.off($,_))),T&&o&&T.split(" ").forEach($=>o.store.off($,_))}},[o,h]),l.useEffect(()=>{b.current&&d&&m(p)},[o,c,d]);const S=[v,o,d];if(S.t=v,S.i18n=o,S.ready=d,d||!d&&!s)return S;throw new Promise(R=>{t.lng?Lk(o,t.lng,u,()=>R()):Pk(o,u,()=>R())})};function wI(e){"@babel/helpers - typeof";return wI=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wI(e)}function zz(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":wI(XMLHttpRequest))==="object"}function KQ(e){return!!e&&typeof e.then=="function"}function YQ(e){return KQ(e)?e:Promise.resolve(e)}function XQ(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var CI={exports:{}},am={exports:{}},Fk;function ZQ(){return Fk||(Fk=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof ta<"u"&&ta,r=function(){function o(){this.fetch=!1,this.DOMException=n.DOMException}return o.prototype=n,new o}();(function(o){(function(i){var s=typeof o<"u"&&o||typeof self<"u"&&self||typeof s<"u"&&s,c={searchParams:"URLSearchParams"in s,iterable:"Symbol"in s&&"iterator"in Symbol,blob:"FileReader"in s&&"Blob"in s&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in s,arrayBuffer:"ArrayBuffer"in s};function u(O){return O&&DataView.prototype.isPrototypeOf(O)}if(c.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],f=ArrayBuffer.isView||function(O){return O&&d.indexOf(Object.prototype.toString.call(O))>-1};function p(O){if(typeof O!="string"&&(O=String(O)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(O)||O==="")throw new TypeError('Invalid character in header field name: "'+O+'"');return O.toLowerCase()}function g(O){return typeof O!="string"&&(O=String(O)),O}function v(O){var N={next:function(){var k=O.shift();return{done:k===void 0,value:k}}};return c.iterable&&(N[Symbol.iterator]=function(){return N}),N}function m(O){this.map={},O instanceof m?O.forEach(function(N,k){this.append(k,N)},this):Array.isArray(O)?O.forEach(function(N){this.append(N[0],N[1])},this):O&&Object.getOwnPropertyNames(O).forEach(function(N){this.append(N,O[N])},this)}m.prototype.append=function(O,N){O=p(O),N=g(N);var k=this.map[O];this.map[O]=k?k+", "+N:N},m.prototype.delete=function(O){delete this.map[p(O)]},m.prototype.get=function(O){return O=p(O),this.has(O)?this.map[O]:null},m.prototype.has=function(O){return this.map.hasOwnProperty(p(O))},m.prototype.set=function(O,N){this.map[p(O)]=g(N)},m.prototype.forEach=function(O,N){for(var k in this.map)this.map.hasOwnProperty(k)&&O.call(N,this.map[k],k,this)},m.prototype.keys=function(){var O=[];return this.forEach(function(N,k){O.push(k)}),v(O)},m.prototype.values=function(){var O=[];return this.forEach(function(N){O.push(N)}),v(O)},m.prototype.entries=function(){var O=[];return this.forEach(function(N,k){O.push([k,N])}),v(O)},c.iterable&&(m.prototype[Symbol.iterator]=m.prototype.entries);function h(O){if(O.bodyUsed)return Promise.reject(new TypeError("Already read"));O.bodyUsed=!0}function y(O){return new Promise(function(N,k){O.onload=function(){N(O.result)},O.onerror=function(){k(O.error)}})}function b(O){var N=new FileReader,k=y(N);return N.readAsArrayBuffer(O),k}function S(O){var N=new FileReader,k=y(N);return N.readAsText(O),k}function w(O){for(var N=new Uint8Array(O),k=new Array(N.length),M=0;M-1?N:O}function T(O,N){if(!(this instanceof T))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');N=N||{};var k=N.body;if(O instanceof T){if(O.bodyUsed)throw new TypeError("Already read");this.url=O.url,this.credentials=O.credentials,N.headers||(this.headers=new m(O.headers)),this.method=O.method,this.mode=O.mode,this.signal=O.signal,!k&&O._bodyInit!=null&&(k=O._bodyInit,O.bodyUsed=!0)}else this.url=String(O);if(this.credentials=N.credentials||this.credentials||"same-origin",(N.headers||!this.headers)&&(this.headers=new m(N.headers)),this.method=R(N.method||this.method||"GET"),this.mode=N.mode||this.mode||null,this.signal=N.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&k)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(k),(this.method==="GET"||this.method==="HEAD")&&(N.cache==="no-store"||N.cache==="no-cache")){var M=/([?&])_=[^&]*/;if(M.test(this.url))this.url=this.url.replace(M,"$1_="+new Date().getTime());else{var L=/\?/;this.url+=(L.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}T.prototype.clone=function(){return new T(this,{body:this._bodyInit})};function _(O){var N=new FormData;return O.trim().split("&").forEach(function(k){if(k){var M=k.split("="),L=M.shift().replace(/\+/g," "),F=M.join("=").replace(/\+/g," ");N.append(decodeURIComponent(L),decodeURIComponent(F))}}),N}function $(O){var N=new m,k=O.replace(/\r?\n[\t ]+/g," ");return k.split("\r").map(function(M){return M.indexOf(` +`)===0?M.substr(1,M.length):M}).forEach(function(M){var L=M.split(":"),F=L.shift().trim();if(F){var j=L.join(":").trim();N.append(F,j)}}),N}E.call(T.prototype);function D(O,N){if(!(this instanceof D))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');N||(N={}),this.type="default",this.status=N.status===void 0?200:N.status,this.ok=this.status>=200&&this.status<300,this.statusText=N.statusText===void 0?"":""+N.statusText,this.headers=new m(N.headers),this.url=N.url||"",this._initBody(O)}E.call(D.prototype),D.prototype.clone=function(){return new D(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new m(this.headers),url:this.url})},D.error=function(){var O=new D(null,{status:0,statusText:""});return O.type="error",O};var P=[301,302,303,307,308];D.redirect=function(O,N){if(P.indexOf(N)===-1)throw new RangeError("Invalid status code");return new D(null,{status:N,headers:{location:O}})},i.DOMException=s.DOMException;try{new i.DOMException}catch{i.DOMException=function(N,k){this.message=N,this.name=k;var M=Error(N);this.stack=M.stack},i.DOMException.prototype=Object.create(Error.prototype),i.DOMException.prototype.constructor=i.DOMException}function A(O,N){return new Promise(function(k,M){var L=new T(O,N);if(L.signal&&L.signal.aborted)return M(new i.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function j(){F.abort()}F.onload=function(){var z={status:F.status,statusText:F.statusText,headers:$(F.getAllResponseHeaders()||"")};z.url="responseURL"in F?F.responseURL:z.headers.get("X-Request-URL");var H="response"in F?F.response:F.responseText;setTimeout(function(){k(new D(H,z))},0)},F.onerror=function(){setTimeout(function(){M(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){M(new TypeError("Network request failed"))},0)},F.onabort=function(){setTimeout(function(){M(new i.DOMException("Aborted","AbortError"))},0)};function B(z){try{return z===""&&s.location.href?s.location.href:z}catch{return z}}F.open(L.method,B(L.url),!0),L.credentials==="include"?F.withCredentials=!0:L.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(c.blob?F.responseType="blob":c.arrayBuffer&&L.headers.get("Content-Type")&&L.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(F.responseType="arraybuffer")),N&&typeof N.headers=="object"&&!(N.headers instanceof m)?Object.getOwnPropertyNames(N.headers).forEach(function(z){F.setRequestHeader(z,g(N.headers[z]))}):L.headers.forEach(function(z,H){F.setRequestHeader(H,z)}),L.signal&&(L.signal.addEventListener("abort",j),F.onreadystatechange=function(){F.readyState===4&&L.signal.removeEventListener("abort",j)}),F.send(typeof L._bodyInit>"u"?null:L._bodyInit)})}return A.polyfill=!0,s.fetch||(s.fetch=A,s.Headers=m,s.Request=T,s.Response=D),i.Headers=m,i.Request=T,i.Response=D,i.fetch=A,i})({})})(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var a=n.fetch?n:r;t=a.fetch,t.default=a.fetch,t.fetch=a.fetch,t.Headers=a.Headers,t.Request=a.Request,t.Response=a.Response,e.exports=t}(am,am.exports)),am.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof ta<"u"&&ta.fetch?n=ta.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof XQ<"u"&&typeof window>"u"){var r=n||ZQ();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(CI,CI.exports);var Hz=CI.exports;const Uz=fa(Hz),jk=$R({__proto__:null,default:Uz},[Hz]);function Bk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function zk(e){for(var t=1;t"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(o["Content-Type"]="application/json");var i=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=zk({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},Uk?{}:i),c=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{Hk(n,s,a,c)}catch(u){if(!i||Object.keys(i).length===0||!u.message||u.message.indexOf("not implemented")<0)return a(u);try{Object.keys(i).forEach(function(d){delete s[d]}),Hk(n,s,a,c),Uk=!0}catch(d){a(d)}}},nJ=function(t,n,r,a){r&&Ul(r)==="object"&&(r=xI("",r).slice(1)),t.queryStringParams&&(n=xI(n,t.queryStringParams));try{var o;ip?o=new ip:o=new sv("MSXML2.XMLHTTP.3.0"),o.open(r?"POST":"GET",n,1),t.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!t.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var i=t.customHeaders;if(i=typeof i=="function"?i():i,i)for(var s in i)o.setRequestHeader(s,i[s]);o.onreadystatechange=function(){o.readyState>3&&a(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(c){console&&console.log(c)}},rJ=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},Li&&n.indexOf("file:")!==0)return tJ(t,n,r,a);if(zz()||typeof ActiveXObject=="function")return nJ(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function $u(e){"@babel/helpers - typeof";return $u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$u(e)}function Vk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function _y(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};aJ(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return iJ(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=_y(_y(_y({},lJ()),this.options||{}),a),this.allOptions=o,this.services&&this.options.reloadInterval){var i=setInterval(function(){return r.reload()},this.options.reloadInterval);$u(i)==="object"&&typeof i.unref=="function"&&i.unref()}}},{key:"readMulti",value:function(n,r,a){this._readAny(n,n,r,r,a)}},{key:"read",value:function(n,r,a){this._readAny([n],n,[r],r,a)}},{key:"_readAny",value:function(n,r,a,o,i){var s=this,c=this.options.loadPath;typeof this.options.loadPath=="function"&&(c=this.options.loadPath(n,a)),c=YQ(c),c.then(function(u){if(!u)return i(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:a.join("+")});s.loadUrl(d,i,r,o)})}},{key:"loadUrl",value:function(n,r,a,o){var i=this,s=typeof a=="string"?[a]:a,c=typeof o=="string"?[o]:o,u=this.options.parseLoadPayload(s,c);this.options.request(this.options,n,u,function(d,f){if(f&&(f.status>=500&&f.status<600||!f.status))return r("failed loading "+n+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return r("failed loading "+n+"; status code: "+f.status,!1);if(!f&&d&&d.message&&d.message.indexOf("Failed to fetch")>-1)return r("failed loading "+n+": "+d.message,!0);if(d)return r(d,!1);var p,g;try{typeof f.data=="string"?p=i.options.parse(f.data,a,o):p=f.data}catch{g="failed parsing "+n+" to json"}if(g)return r(g,!1);r(null,p)})}},{key:"create",value:function(n,r,a,o,i){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var c=this.options.parsePayload(r,a,o),u=0,d=[],f=[];n.forEach(function(p){var g=s.options.addPath;typeof s.options.addPath=="function"&&(g=s.options.addPath(p,r));var v=s.services.interpolator.interpolate(g,{lng:p,ns:r});s.options.request(s.options,v,c,function(m,h){u+=1,d.push(m),f.push(h),u===n.length&&typeof i=="function"&&i(d,f)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,o=r.languageUtils,i=r.logger,s=a.language;if(!(s&&s.toLowerCase()==="cimode")){var c=[],u=function(f){var p=o.toResolveHierarchy(f);p.forEach(function(g){c.indexOf(g)<0&&c.push(g)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),c.forEach(function(d){n.allOptions.ns.forEach(function(f){a.read(d,f,"read",null,null,function(p,g){p&&i.warn("loading namespace ".concat(f," for language ").concat(d," failed"),p),!p&&g&&i.log("loaded namespace ".concat(f," for language ").concat(d),g),a.loaded("".concat(d,"|").concat(f),p,g)})})})}}}])}();Gz.type="backend";const{slice:cJ,forEach:uJ}=[];function dJ(e){return uJ.call(cJ.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const Wk=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,fJ=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const a=encodeURIComponent(t);let o=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");o+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!Wk.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!Wk.test(r.path))throw new TypeError("option path is invalid");o+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");o+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return o},Gk={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=fJ(e,encodeURIComponent(t),a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r-1&&(a=window.location.hash.substring(window.location.hash.indexOf("?")));const i=a.substring(1).split("&");for(let s=0;s0&&i[s].substring(0,c)===t&&(n=i[s].substring(c+1))}}return n}};let Ad=null;const qk=()=>{if(Ad!==null)return Ad;try{Ad=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Ad=!1}return Ad};var mJ={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&qk())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&qk()&&window.localStorage.setItem(n,e)}};let Md=null;const Kk=()=>{if(Md!==null)return Md;try{Md=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Md=!1}return Md};var hJ={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&Kk())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&Kk()&&window.sessionStorage.setItem(n,e)}},vJ={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let o=0;o0?t:void 0}},bJ={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},yJ={name:"path",lookup(e){var a;let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?(a=n[typeof t=="number"?t:0])==null?void 0:a.replace("/",""):void 0}},SJ={name:"subdomain",lookup(e){var a,o;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((o=(a=window.location)==null?void 0:a.hostname)==null?void 0:o.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function wJ(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class qz{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t||{languageUtils:{}},this.options=dJ(n,this.options||{},wJ()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(pJ),this.addDetector(gJ),this.addDetector(mJ),this.addDetector(hJ),this.addDetector(vJ),this.addDetector(bJ),this.addDetector(yJ),this.addDetector(SJ)}addDetector(t){return this.detectors[t.name]=t,this}detect(t){t||(t=this.options.order);let n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.map(r=>this.options.convertDetectedLanguage(r)),this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t,n){n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}qz.type="languageDetector";qr.use(Gz).use(qz).use(UQ).init({supportedLngs:["en","de","fr"],fallbackLng:"en",ns:["teddycloud"],defaultNS:"teddycloud",debug:!1,backend:{queryStringParams:{v:"2023072701"},loadPath:"/web/translations/{{lng}}.json"},interpolation:{escapeValue:!1}});var Kz={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames @@ -51,18 +51,18 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var E_=Symbol.for("react.element"),I_=Symbol.for("react.portal"),cb=Symbol.for("react.fragment"),ub=Symbol.for("react.strict_mode"),db=Symbol.for("react.profiler"),fb=Symbol.for("react.provider"),pb=Symbol.for("react.context"),xJ=Symbol.for("react.server_context"),gb=Symbol.for("react.forward_ref"),mb=Symbol.for("react.suspense"),hb=Symbol.for("react.suspense_list"),vb=Symbol.for("react.memo"),bb=Symbol.for("react.lazy"),EJ=Symbol.for("react.offscreen"),Xz;Xz=Symbol.for("react.module.reference");function Co(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case E_:switch(e=e.type,e){case cb:case db:case ub:case mb:case hb:return e;default:switch(e=e&&e.$$typeof,e){case xJ:case pb:case gb:case bb:case vb:case fb:return e;default:return t}}case I_:return t}}}Sn.ContextConsumer=pb;Sn.ContextProvider=fb;Sn.Element=E_;Sn.ForwardRef=gb;Sn.Fragment=cb;Sn.Lazy=bb;Sn.Memo=vb;Sn.Portal=I_;Sn.Profiler=db;Sn.StrictMode=ub;Sn.Suspense=mb;Sn.SuspenseList=hb;Sn.isAsyncMode=function(){return!1};Sn.isConcurrentMode=function(){return!1};Sn.isContextConsumer=function(e){return Co(e)===pb};Sn.isContextProvider=function(e){return Co(e)===fb};Sn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===E_};Sn.isForwardRef=function(e){return Co(e)===gb};Sn.isFragment=function(e){return Co(e)===cb};Sn.isLazy=function(e){return Co(e)===bb};Sn.isMemo=function(e){return Co(e)===vb};Sn.isPortal=function(e){return Co(e)===I_};Sn.isProfiler=function(e){return Co(e)===db};Sn.isStrictMode=function(e){return Co(e)===ub};Sn.isSuspense=function(e){return Co(e)===mb};Sn.isSuspenseList=function(e){return Co(e)===hb};Sn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cb||e===db||e===ub||e===mb||e===hb||e===EJ||typeof e=="object"&&e!==null&&(e.$$typeof===bb||e.$$typeof===vb||e.$$typeof===fb||e.$$typeof===pb||e.$$typeof===gb||e.$$typeof===Xz||e.getModuleId!==void 0)};Sn.typeOf=Co;Yz.exports=Sn;var Cf=Yz.exports;function or(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return le.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(or(r)):Cf.isFragment(r)&&r.props?n=n.concat(or(r.props.children,t)):n.push(r))}),n}var EI={},IJ=function(t){};function TJ(e,t){}function RJ(e,t){}function _J(){EI={}}function Zz(e,t,n){!t&&!EI[n]&&(e(!1,n),EI[n]=!0)}function cn(e,t){Zz(TJ,e,t)}function Qz(e,t){Zz(RJ,e,t)}cn.preMessage=IJ;cn.resetWarned=_J;cn.noteOnce=Qz;function ft(e){"@babel/helpers - typeof";return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(e)}function $J(e,t){if(ft(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ft(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jz(e){var t=$J(e,"string");return ft(t)=="symbol"?t:t+""}function V(e,t,n){return(t=Jz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t=19;var TI=l.createContext(null);function NJ(e){var t=e.children,n=e.onBatchResize,r=l.useRef(0),a=l.useRef([]),o=l.useContext(TI),i=l.useCallback(function(s,c,u){r.current+=1;var d=r.current;a.current.push({size:s,element:c,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(a.current),a.current=[])}),o==null||o(s,c,u)},[n,o]);return l.createElement(TI.Provider,{value:i},t)}var t7=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,o){return a[0]===n?(r=o,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,o=this.__entries__;a0},e.prototype.connect_=function(){!RI||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),LJ?(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)},e.prototype.disconnect_=function(){!RI||!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)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=PJ.some(function(o){return!!~r.indexOf(o)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),n7=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Ou(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new GJ(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Ou(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new qJ(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),a7=typeof WeakMap<"u"?new WeakMap:new t7,o7=function(){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=FJ.getInstance(),r=new KJ(t,n,this);a7.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){o7.prototype[e]=function(){var t;return(t=a7.get(this))[e].apply(t,arguments)}});var YJ=function(){return typeof lv.ResizeObserver<"u"?lv.ResizeObserver:o7}(),bs=new Map;function XJ(e){e.forEach(function(t){var n,r=t.target;(n=bs.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var i7=new YJ(XJ);function ZJ(e,t){bs.has(e)||(bs.set(e,new Set),i7.observe(e)),bs.get(e).add(t)}function QJ(e,t){bs.has(e)&&(bs.get(e).delete(t),bs.get(e).size||(i7.unobserve(e),bs.delete(e)))}function kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zk(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:{},n=[];return le.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(or(r)):Cf.isFragment(r)&&r.props?n=n.concat(or(r.props.children,t)):n.push(r))}),n}var EI={},IJ=function(t){};function TJ(e,t){}function RJ(e,t){}function _J(){EI={}}function Zz(e,t,n){!t&&!EI[n]&&(e(!1,n),EI[n]=!0)}function cn(e,t){Zz(TJ,e,t)}function Qz(e,t){Zz(RJ,e,t)}cn.preMessage=IJ;cn.resetWarned=_J;cn.noteOnce=Qz;function ft(e){"@babel/helpers - typeof";return ft=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ft(e)}function $J(e,t){if(ft(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ft(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Jz(e){var t=$J(e,"string");return ft(t)=="symbol"?t:t+""}function V(e,t,n){return(t=Jz(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Yk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function K(e){for(var t=1;t=19;var TI=l.createContext(null);function NJ(e){var t=e.children,n=e.onBatchResize,r=l.useRef(0),a=l.useRef([]),o=l.useContext(TI),i=l.useCallback(function(s,c,u){r.current+=1;var d=r.current;a.current.push({size:s,element:c,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(a.current),a.current=[])}),o==null||o(s,c,u)},[n,o]);return l.createElement(TI.Provider,{value:i},t)}var t7=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,o){return a[0]===n?(r=o,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,o=this.__entries__;a0},e.prototype.connect_=function(){!RI||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),LJ?(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)},e.prototype.disconnect_=function(){!RI||!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)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,a=PJ.some(function(o){return!!~r.indexOf(o)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),n7=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof Ou(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new GJ(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof Ou(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new qJ(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),a7=typeof WeakMap<"u"?new WeakMap:new t7,o7=function(){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=FJ.getInstance(),r=new KJ(t,n,this);a7.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){o7.prototype[e]=function(){var t;return(t=a7.get(this))[e].apply(t,arguments)}});var YJ=function(){return typeof lv.ResizeObserver<"u"?lv.ResizeObserver:o7}(),bs=new Map;function XJ(e){e.forEach(function(t){var n,r=t.target;(n=bs.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var i7=new YJ(XJ);function ZJ(e,t){bs.has(e)||(bs.set(e,new Set),i7.observe(e)),bs.get(e).add(t)}function QJ(e,t){bs.has(e)&&(bs.get(e).delete(t),bs.get(e).size||(i7.unobserve(e),bs.delete(e)))}function kn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zk(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;Qk+=1;var r=Qk;function a(o){if(o===0)d7(r),t();else{var i=c7(function(){a(o-1)});R_.set(r,i)}}return a(n),r};Dt.cancel=function(e){var t=R_.get(e);return d7(e),u7(t)};function f7(e){if(Array.isArray(e))return e}function iee(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,i,s=[],c=!0,u=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(d){u=!0,a=d}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw a}}return s}}function p7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function se(e,t){return f7(e)||iee(e,t)||T_(e,t)||p7()}function up(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function kr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function $I(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var Jk="data-rc-order",eA="data-rc-priority",see="rc-util-key",OI=new Map;function g7(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):see}function wb(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function lee(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function __(e){return Array.from((OI.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function m7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!kr())return null;var n=t.csp,r=t.prepend,a=t.priority,o=a===void 0?0:a,i=lee(r),s=i==="prependQueue",c=document.createElement("style");c.setAttribute(Jk,i),s&&o&&c.setAttribute(eA,"".concat(o)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=wb(t),d=u.firstChild;if(r){if(s){var f=(t.styles||__(u)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(Jk)))return!1;var g=Number(p.getAttribute(eA)||0);return o>=g});if(f.length)return u.insertBefore(c,f[f.length-1].nextSibling),c}u.insertBefore(c,d)}else u.appendChild(c);return c}function h7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=wb(t);return(t.styles||__(n)).find(function(r){return r.getAttribute(g7(t))===e})}function dp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=h7(e,t);if(n){var r=wb(t);r.removeChild(n)}}function cee(e,t){var n=OI.get(e);if(!n||!$I(document,n)){var r=m7("",t),a=r.parentNode;OI.set(e,a),e.removeChild(r)}}function Fi(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=wb(n),a=__(r),o=K(K({},n),{},{styles:a});cee(r,o);var i=h7(t,o);if(i){var s,c;if((s=o.csp)!==null&&s!==void 0&&s.nonce&&i.nonce!==((c=o.csp)===null||c===void 0?void 0:c.nonce)){var u;i.nonce=(u=o.csp)===null||u===void 0?void 0:u.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var d=m7(e,o);return d.setAttribute(g7(o),t),d}function uee(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function vt(e,t){if(e==null)return{};var n,r,a=uee(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(o,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=r.has(o);if(cn(!c,"Warning: There may be circular references"),c)return!1;if(o===i)return!0;if(n&&s>1)return!1;r.add(o);var u=s+1;if(Array.isArray(o)){if(!Array.isArray(i)||o.length!==i.length)return!1;for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(s){if(!i)i=void 0;else{var c;i=(c=i)===null||c===void 0||(c=c.map)===null||c===void 0?void 0:c.get(s)}}),(r=i)!==null&&r!==void 0&&r.value&&o&&(i.value[1]=this.cacheCallTimes++),(a=i)===null||a===void 0?void 0:a.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var a=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(u,d){var f=se(u,2),p=f[1];return a.internalGet(d)[1]0,void 0),tA+=1}return An(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),$y=new $_;function fp(e){var t=Array.isArray(e)?e:[e];return $y.has(t)||$y.set(t,new v7(t)),$y.get(t)}var mee=new WeakMap,Oy={};function hee(e,t){for(var n=mee,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n=nA.get(e)||"";return n||(Object.keys(e).forEach(function(r){var a=e[r];n+=r,a instanceof v7?n+=a.id:a&&ft(a)==="object"?n+=Ef(a,t):n+=a}),t&&(n=up(n)),nA.set(e,n)),n}function rA(e,t){return up("".concat(t,"_").concat(Ef(e,!0)))}var kI=kr();function W(e){return typeof e=="number"?"".concat(e,"px"):e}function uv(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(a)return e;var o=K(K({},r),{},V(V({},Nu,t),Fo,n)),i=Object.keys(o).map(function(s){var c=o[s];return c?"".concat(s,'="').concat(c,'"'):null}).filter(function(s){return s}).join(" ");return"")}var fh=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},vee=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(a){var o=se(a,2),i=o[0],s=o[1];return"".concat(i,":").concat(s,";")}).join(""),"}"):""},b7=function(t,n,r){var a={},o={};return Object.entries(t).forEach(function(i){var s,c,u=se(i,2),d=u[0],f=u[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[d])o[d]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(c=r.ignore)!==null&&c!==void 0&&c[d])){var p,g=fh(d,r==null?void 0:r.prefix);a[g]=typeof f=="number"&&!(r!=null&&(p=r.unitless)!==null&&p!==void 0&&p[d])?"".concat(f,"px"):String(f),o[d]="var(".concat(g,")")}}),[o,vee(a,n,{scope:r==null?void 0:r.scope})]},aA=kr()?l.useLayoutEffect:l.useEffect,zt=function(t,n){var r=l.useRef(!0);aA(function(){return t(r.current)},n),aA(function(){return r.current=!1,function(){r.current=!0}},[])},kl=function(t,n){zt(function(r){if(!r)return t()},n)},bee=K({},Gp),oA=bee.useInsertionEffect,yee=function(t,n,r){l.useMemo(t,r),zt(function(){return n(!0)},r)},See=oA?function(e,t,n){return oA(function(){return e(),t()},n)}:yee,wee=K({},Gp),Cee=wee.useInsertionEffect,xee=function(t){var n=[],r=!1;function a(o){r||n.push(o)}return l.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(o){return o()})}},t),a},Eee=function(){return function(t){t()}},Iee=typeof Cee<"u"?xee:Eee;function O_(e,t,n,r,a){var o=l.useContext(Cb),i=o.cache,s=[e].concat($e(t)),c=NI(s),u=Iee([c]),d=function(b){i.opUpdate(c,function(m){var h=m||[void 0,void 0],y=se(h,2),v=y[0],S=v===void 0?0:v,w=y[1],x=w,E=x||n(),I=[S,E];return b?b(I):I})};l.useMemo(function(){d()},[c]);var f=i.opGet(c),p=f[1];return See(function(){a==null||a(p)},function(g){return d(function(b){var m=se(b,2),h=m[0],y=m[1];return g&&h===0&&(a==null||a(p)),[h+1,y]}),function(){i.opUpdate(c,function(b){var m=b||[],h=se(m,2),y=h[0],v=y===void 0?0:y,S=h[1],w=v-1;return w===0?(u(function(){(g||!i.opGet(c))&&(r==null||r(S,!1))}),null):[v-1,S]})}},[c]),p}var Tee={},Ree="css",ml=new Map;function _ee(e){ml.set(e,(ml.get(e)||0)+1)}function $ee(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(Nu,'="').concat(e,'"]'));n.forEach(function(r){if(r[ys]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var Oee=0;function Nee(e,t){ml.set(e,(ml.get(e)||0)-1);var n=Array.from(ml.keys()),r=n.filter(function(a){var o=ml.get(a)||0;return o<=0});n.length-r.length>Oee&&r.forEach(function(a){$ee(a,t),ml.delete(a)})}var y7=function(t,n,r,a){var o=r.getDerivativeToken(t),i=K(K({},o),n);return a&&(i=a(i)),i},S7="token";function kee(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=l.useContext(Cb),a=r.cache.instanceId,o=r.container,i=n.salt,s=i===void 0?"":i,c=n.override,u=c===void 0?Tee:c,d=n.formatToken,f=n.getComputedToken,p=n.cssVar,g=hee(function(){return Object.assign.apply(Object,[{}].concat($e(t)))},t),b=Ef(g),m=Ef(u),h=p?Ef(p):"",y=O_(S7,[s,e.id,b,m,h],function(){var v,S=f?f(g,u,e):y7(g,u,e,d),w=K({},S),x="";if(p){var E=b7(S,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve}),I=se(E,2);S=I[0],x=I[1]}var R=rA(S,s);S._tokenKey=R,w._tokenKey=rA(w,s);var T=(v=p==null?void 0:p.key)!==null&&v!==void 0?v:R;S._themeKey=T,_ee(T);var _="".concat(Ree,"-").concat(up(R));return S._hashId=_,[S,_,w,x,(p==null?void 0:p.key)||""]},function(v){Nee(v[0]._themeKey,a)},function(v){var S=se(v,4),w=S[0],x=S[3];if(p&&x){var E=Fi(x,up("css-variables-".concat(w._themeKey)),{mark:Fo,prepend:"queue",attachTo:o,priority:-999});E[ys]=a,E.setAttribute(Nu,w._themeKey)}});return y}var Aee=function(t,n,r){var a=se(t,5),o=a[2],i=a[3],s=a[4],c=r||{},u=c.plain;if(!i)return null;var d=o._tokenKey,f=-999,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},g=uv(i,s,d,p,u);return[f,d,g]},Mee={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ln="-ms-",If="-moz-",hn="-webkit-",w7="comm",xb="rule",N_="decl",Dee="@import",C7="@keyframes",Pee="@layer",x7=Math.abs,k_=String.fromCharCode,AI=Object.assign;function Lee(e,t){return $r(e,0)^45?(((t<<2^$r(e,0))<<2^$r(e,1))<<2^$r(e,2))<<2^$r(e,3):0}function E7(e){return e.trim()}function Ri(e,t){return(e=t.exec(e))?e[0]:e}function Xt(e,t,n){return e.replace(t,n)}function ph(e,t,n){return e.indexOf(t,n)}function $r(e,t){return e.charCodeAt(t)|0}function ku(e,t,n){return e.slice(t,n)}function ei(e){return e.length}function I7(e){return e.length}function Jd(e,t){return t.push(e),e}function Fee(e,t){return e.map(t).join("")}function iA(e,t){return e.filter(function(n){return!Ri(n,t)})}var Eb=1,Au=1,T7=0,ho=0,dr=0,Zu="";function Ib(e,t,n,r,a,o,i,s){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:Eb,column:Au,length:i,return:"",siblings:s}}function is(e,t){return AI(Ib("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ic(e){for(;e.root;)e=is(e.root,{children:[e]});Jd(e,e.siblings)}function jee(){return dr}function Bee(){return dr=ho>0?$r(Zu,--ho):0,Au--,dr===10&&(Au=1,Eb--),dr}function jo(){return dr=ho2||MI(dr)>3?"":" "}function Vee(e,t){for(;--t&&jo()&&!(dr<48||dr>102||dr>57&&dr<65||dr>70&&dr<97););return Tb(e,gh()+(t<6&&Al()==32&&jo()==32))}function DI(e){for(;jo();)switch(dr){case e:return ho;case 34:case 39:e!==34&&e!==39&&DI(dr);break;case 40:e===41&&DI(e);break;case 92:jo();break}return ho}function Wee(e,t){for(;jo()&&e+dr!==57;)if(e+dr===84&&Al()===47)break;return"/*"+Tb(t,ho-1)+"*"+k_(e===47?e:jo())}function Gee(e){for(;!MI(Al());)jo();return Tb(e,ho)}function R7(e){return Hee(mh("",null,null,null,[""],e=zee(e),0,[0],e))}function mh(e,t,n,r,a,o,i,s,c){for(var u=0,d=0,f=i,p=0,g=0,b=0,m=1,h=1,y=1,v=0,S="",w=a,x=o,E=r,I=S;h;)switch(b=v,v=jo()){case 40:if(b!=108&&$r(I,f-1)==58){ph(I+=Xt(Ny(v),"&","&\f"),"&\f",x7(u?s[u-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:I+=Ny(v);break;case 9:case 10:case 13:case 32:I+=Uee(b);break;case 92:I+=Vee(gh()-1,7);continue;case 47:switch(Al()){case 42:case 47:Jd(qee(Wee(jo(),gh()),t,n,c),c);break;default:I+="/"}break;case 123*m:s[u++]=ei(I)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:h=0;case 59+d:y==-1&&(I=Xt(I,/\f/g,"")),g>0&&ei(I)-f&&Jd(g>32?lA(I+";",r,n,f-1,c):lA(Xt(I," ","")+";",r,n,f-2,c),c);break;case 59:I+=";";default:if(Jd(E=sA(I,t,n,u,d,a,s,S,w=[],x=[],f,o),o),v===123)if(d===0)mh(I,t,E,E,w,o,f,s,x);else switch(p===99&&$r(I,3)===110?100:p){case 100:case 108:case 109:case 115:mh(e,E,E,r&&Jd(sA(e,E,E,0,0,a,s,S,a,w=[],f,x),x),a,x,f,s,r?w:x);break;default:mh(I,E,E,E,[""],x,0,s,x)}}u=d=g=0,m=y=1,S=I="",f=i;break;case 58:f=1+ei(I),g=b;default:if(m<1){if(v==123)--m;else if(v==125&&m++==0&&Bee()==125)continue}switch(I+=k_(v),v*m){case 38:y=d>0?1:(I+="\f",-1);break;case 44:s[u++]=(ei(I)-1)*y,y=1;break;case 64:Al()===45&&(I+=Ny(jo())),p=Al(),d=f=ei(S=I+=Gee(gh())),v++;break;case 45:b===45&&ei(I)==2&&(m=0)}}return o}function sA(e,t,n,r,a,o,i,s,c,u,d,f){for(var p=a-1,g=a===0?o:[""],b=I7(g),m=0,h=0,y=0;m0?g[v]+" "+S:Xt(S,/&\f/g,g[v])))&&(c[y++]=w);return Ib(e,t,n,a===0?xb:s,c,u,d,f)}function qee(e,t,n,r){return Ib(e,t,n,w7,k_(jee()),ku(e,2,-2),0,r)}function lA(e,t,n,r,a){return Ib(e,t,n,N_,ku(e,0,r),ku(e,r+1,-1),r,a)}function _7(e,t,n){switch(Lee(e,t)){case 5103:return hn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return hn+e+e;case 4789:return If+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return hn+e+If+e+Ln+e+e;case 5936:switch($r(e,t+11)){case 114:return hn+e+Ln+Xt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return hn+e+Ln+Xt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return hn+e+Ln+Xt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return hn+e+Ln+e+e;case 6165:return hn+e+Ln+"flex-"+e+e;case 5187:return hn+e+Xt(e,/(\w+).+(:[^]+)/,hn+"box-$1$2"+Ln+"flex-$1$2")+e;case 5443:return hn+e+Ln+"flex-item-"+Xt(e,/flex-|-self/g,"")+(Ri(e,/flex-|baseline/)?"":Ln+"grid-row-"+Xt(e,/flex-|-self/g,""))+e;case 4675:return hn+e+Ln+"flex-line-pack"+Xt(e,/align-content|flex-|-self/g,"")+e;case 5548:return hn+e+Ln+Xt(e,"shrink","negative")+e;case 5292:return hn+e+Ln+Xt(e,"basis","preferred-size")+e;case 6060:return hn+"box-"+Xt(e,"-grow","")+hn+e+Ln+Xt(e,"grow","positive")+e;case 4554:return hn+Xt(e,/([^-])(transform)/g,"$1"+hn+"$2")+e;case 6187:return Xt(Xt(Xt(e,/(zoom-|grab)/,hn+"$1"),/(image-set)/,hn+"$1"),e,"")+e;case 5495:case 3959:return Xt(e,/(image-set\([^]*)/,hn+"$1$`$1");case 4968:return Xt(Xt(e,/(.+:)(flex-)?(.*)/,hn+"box-pack:$3"+Ln+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+hn+e+e;case 4200:if(!Ri(e,/flex-|baseline/))return Ln+"grid-column-align"+ku(e,t)+e;break;case 2592:case 3360:return Ln+Xt(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,Ri(r.props,/grid-\w+-end/)})?~ph(e+(n=n[t].value),"span",0)?e:Ln+Xt(e,"-start","")+e+Ln+"grid-row-span:"+(~ph(n,"span",0)?Ri(n,/\d+/):+Ri(n,/\d+/)-+Ri(e,/\d+/))+";":Ln+Xt(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Ri(r.props,/grid-\w+-start/)})?e:Ln+Xt(Xt(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Xt(e,/(.+)-inline(.+)/,hn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ei(e)-1-t>6)switch($r(e,t+1)){case 109:if($r(e,t+4)!==45)break;case 102:return Xt(e,/(.+:)(.+)-([^]+)/,"$1"+hn+"$2-$3$1"+If+($r(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ph(e,"stretch",0)?_7(Xt(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Xt(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,o,i,s,c,u){return Ln+a+":"+o+u+(i?Ln+a+"-span:"+(s?c:+c-+o)+u:"")+e});case 4949:if($r(e,t+6)===121)return Xt(e,":",":"+hn)+e;break;case 6444:switch($r(e,$r(e,14)===45?18:11)){case 120:return Xt(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+hn+($r(e,14)===45?"inline-":"")+"box$3$1"+hn+"$2$3$1"+Ln+"$2box$3")+e;case 100:return Xt(e,":",":"+Ln)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Xt(e,"scroll-","scroll-snap-")+e}return e}function pp(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case N_:e.return=_7(e.value,e.length,n);return;case C7:return pp([is(e,{value:Xt(e.value,"@","@"+hn)})],r);case xb:if(e.length)return Fee(n=e.props,function(a){switch(Ri(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ic(is(e,{props:[Xt(a,/:(read-\w+)/,":"+If+"$1")]})),Ic(is(e,{props:[a]})),AI(e,{props:iA(n,r)});break;case"::placeholder":Ic(is(e,{props:[Xt(a,/:(plac\w+)/,":"+hn+"input-$1")]})),Ic(is(e,{props:[Xt(a,/:(plac\w+)/,":"+If+"$1")]})),Ic(is(e,{props:[Xt(a,/:(plac\w+)/,Ln+"input-$1")]})),Ic(is(e,{props:[a]})),AI(e,{props:iA(n,r)});break}return""})}}var cA="data-ant-cssinjs-cache-path",O7="_FILE_STYLE__",Ml,N7=!0;function Zee(){if(!Ml&&(Ml={},kr())){var e=document.createElement("div");e.className=cA,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(a){var o=a.split(":"),i=se(o,2),s=i[0],c=i[1];Ml[s]=c});var n=document.querySelector("style[".concat(cA,"]"));if(n){var r;N7=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function Qee(e){return Zee(),!!Ml[e]}function Jee(e){var t=Ml[e],n=null;if(t&&kr())if(N7)n=O7;else{var r=document.querySelector("style[".concat(Fo,'="').concat(Ml[e],'"]'));r?n=r.innerHTML:delete Ml[e]}return[n,t]}var ete="_skip_check_",k7="_multi_value_";function hh(e){var t=pp(R7(e),$7);return t.replace(/\{%%%\:[^;];}/g,";")}function tte(e){return ft(e)==="object"&&e&&(ete in e||k7 in e)}function nte(e,t,n){if(!t)return e;var r=".".concat(t),a=n==="low"?":where(".concat(r,")"):r,o=e.split(",").map(function(i){var s,c=i.trim().split(/\s+/),u=c[0]||"",d=((s=u.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return u="".concat(d).concat(a).concat(u.slice(d.length)),[u].concat($e(c.slice(1))).join(" ")});return o.join(",")}var rte=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,o=r.injectHash,i=r.parentSelectors,s=n.hashId,c=n.layer;n.path;var u=n.hashPriority,d=n.transformers,f=d===void 0?[]:d;n.linters;var p="",g={};function b(y){var v=y.getName(s);if(!g[v]){var S=e(y.style,n,{root:!1,parentSelectors:i}),w=se(S,1),x=w[0];g[v]="@keyframes ".concat(y.getName(s)).concat(x)}}function m(y){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function(S){Array.isArray(S)?m(S,v):S&&v.push(S)}),v}var h=m(Array.isArray(t)?t:[t]);return h.forEach(function(y){var v=typeof y=="string"&&!a?{}:y;if(typeof v=="string")p+="".concat(v,` -`);else if(v._keyframe)b(v);else{var S=f.reduce(function(w,x){var E;return(x==null||(E=x.visit)===null||E===void 0?void 0:E.call(x,w))||w},v);Object.keys(S).forEach(function(w){var x=S[w];if(ft(x)==="object"&&x&&(w!=="animationName"||!x._keyframe)&&!tte(x)){var E=!1,I=w.trim(),R=!1;(a||o)&&s?I.startsWith("@")?E=!0:I=nte(w,s,u):a&&!s&&(I==="&"||I==="")&&(I="",R=!0);var T=e(x,n,{root:R,injectHash:E,parentSelectors:[].concat($e(i),[I])}),_=se(T,2),$=_[0],D=_[1];g=K(K({},g),D),p+="".concat(I).concat($)}else{let O=function(N,k){var M=N.replace(/[A-Z]/g,function(F){return"-".concat(F.toLowerCase())}),L=k;!Mee[N]&&typeof L=="number"&&L!==0&&(L="".concat(L,"px")),N==="animationName"&&k!==null&&k!==void 0&&k._keyframe&&(b(k),L=k.getName(s)),p+="".concat(M,":").concat(L,";")};var P,A=(P=x==null?void 0:x.value)!==null&&P!==void 0?P:x;ft(x)==="object"&&x!==null&&x!==void 0&&x[k7]&&Array.isArray(A)?A.forEach(function(N){O(w,N)}):O(w,A)}})}}),a?c&&(p="@layer ".concat(c.name," {").concat(p,"}"),c.dependencies&&(g["@layer ".concat(c.name)]=c.dependencies.map(function(y){return"@layer ".concat(y,", ").concat(c.name,";")}).join(` -`))):p="{".concat(p,"}"),[p,g]};function A7(e,t){return up("".concat(e.join("%")).concat(t))}function ate(){return null}var M7="style";function PI(e,t){var n=e.token,r=e.path,a=e.hashId,o=e.layer,i=e.nonce,s=e.clientOnly,c=e.order,u=c===void 0?0:c,d=l.useContext(Cb),f=d.autoClear;d.mock;var p=d.defaultCache,g=d.hashPriority,b=d.container,m=d.ssrInline,h=d.transformers,y=d.linters,v=d.cache,S=d.layer,w=n._tokenKey,x=[w];S&&x.push("layer"),x.push.apply(x,$e(r));var E=kI,I=O_(M7,x,function(){var D=x.join("|");if(Qee(D)){var P=Jee(D),A=se(P,2),O=A[0],N=A[1];if(O)return[O,w,N,{},s,u]}var k=t(),M=rte(k,{hashId:a,hashPriority:g,layer:S?o:void 0,path:r.join("-"),transformers:h,linters:y}),L=se(M,2),F=L[0],j=L[1],B=hh(F),z=A7(x,B);return[B,w,z,j,s,u]},function(D,P){var A=se(D,3),O=A[2];(P||f)&&kI&&dp(O,{mark:Fo})},function(D){var P=se(D,4),A=P[0];P[1];var O=P[2],N=P[3];if(E&&A!==O7){var k={mark:Fo,prepend:S?!1:"queue",attachTo:b,priority:u},M=typeof i=="function"?i():i;M&&(k.csp={nonce:M});var L=[],F=[];Object.keys(N).forEach(function(B){B.startsWith("@layer")?L.push(B):F.push(B)}),L.forEach(function(B){Fi(hh(N[B]),"_layer-".concat(B),K(K({},k),{},{prepend:!0}))});var j=Fi(A,O,k);j[ys]=v.instanceId,j.setAttribute(Nu,w),F.forEach(function(B){Fi(hh(N[B]),"_effect-".concat(B),k)})}}),R=se(I,3),T=R[0],_=R[1],$=R[2];return function(D){var P;return!m||E||!p?P=l.createElement(ate,null):P=l.createElement("style",be({},V(V({},Nu,_),Fo,$),{dangerouslySetInnerHTML:{__html:T}})),l.createElement(l.Fragment,null,P,D)}}var ote=function(t,n,r){var a=se(t,6),o=a[0],i=a[1],s=a[2],c=a[3],u=a[4],d=a[5],f=r||{},p=f.plain;if(u)return null;var g=o,b={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return g=uv(o,i,s,b,p),c&&Object.keys(c).forEach(function(m){if(!n[m]){n[m]=!0;var h=hh(c[m]),y=uv(h,i,"_effect-".concat(m),b,p);m.startsWith("@layer")?g=y+g:g+=y}}),[d,s,g]},D7="cssVar",ite=function(t,n){var r=t.key,a=t.prefix,o=t.unitless,i=t.ignore,s=t.token,c=t.scope,u=c===void 0?"":c,d=l.useContext(Cb),f=d.cache.instanceId,p=d.container,g=s._tokenKey,b=[].concat($e(t.path),[r,u,g]),m=O_(D7,b,function(){var h=n(),y=b7(h,r,{prefix:a,unitless:o,ignore:i,scope:u}),v=se(y,2),S=v[0],w=v[1],x=A7(b,w);return[S,w,x,r]},function(h){var y=se(h,3),v=y[2];kI&&dp(v,{mark:Fo})},function(h){var y=se(h,3),v=y[1],S=y[2];if(v){var w=Fi(v,S,{mark:Fo,prepend:"queue",attachTo:p,priority:-999});w[ys]=f,w.setAttribute(Nu,r)}});return m},ste=function(t,n,r){var a=se(t,4),o=a[1],i=a[2],s=a[3],c=r||{},u=c.plain;if(!o)return null;var d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},p=uv(o,s,i,f,u);return[d,i,p]};V(V(V({},M7,ote),S7,Aee),D7,ste);var Jt=function(){function e(t,n){kn(this,e),V(this,"name",void 0),V(this,"style",void 0),V(this,"_keyframe",!0),this.name=t,this.style=n}return An(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Tc(e){return e.notSplit=!0,e}Tc(["borderTop","borderBottom"]),Tc(["borderTop"]),Tc(["borderBottom"]),Tc(["borderLeft","borderRight"]),Tc(["borderLeft"]),Tc(["borderRight"]);var A_=l.createContext({});function P7(e){return f7(e)||l7(e)||T_(e)||p7()}function Ha(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Ha(e,t.slice(0,-1))?e:L7(e,t,n,r)}function lte(e){return ft(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function uA(e){return Array.isArray(e)?[]:{}}var cte=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function nu(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=ute,e},F7=l.createContext(void 0);var j7={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},fte={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},pte=K(K({},fte),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const B7={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},dv={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},pte),timePickerLocale:Object.assign({},B7)},Aa="${label} is not a valid ${type}",ci={locale:"en",Pagination:j7,DatePicker:dv,TimePicker:B7,Calendar:dv,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Aa,method:Aa,array:Aa,object:Aa,number:Aa,date:Aa,boolean:Aa,integer:Aa,float:Aa,regexp:Aa,email:Aa,url:Aa,hex:Aa},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let vh=Object.assign({},ci.Modal),bh=[];const dA=()=>bh.reduce((e,t)=>Object.assign(Object.assign({},e),t),ci.Modal);function gte(e){if(e){const t=Object.assign({},e);return bh.push(t),vh=dA(),()=>{bh=bh.filter(n=>n!==t),vh=dA()}}vh=Object.assign({},ci.Modal)}function z7(){return vh}const M_=l.createContext(void 0),mi=(e,t)=>{const n=l.useContext(M_),r=l.useMemo(()=>{var o;const i=t||ci[e],s=(o=n==null?void 0:n[e])!==null&&o!==void 0?o:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),s||{})},[e,t,n]),a=l.useMemo(()=>{const o=n==null?void 0:n.locale;return n!=null&&n.exist&&!o?ci.locale:o},[n]);return[r,a]},mte="internalMark",hte=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;l.useEffect(()=>gte(t==null?void 0:t.Modal),[t]);const a=l.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return l.createElement(M_.Provider,{value:a},n)};function Hr(e,t){vte(e)&&(e="100%");var n=bte(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function om(e){return Math.min(1,Math.max(0,e))}function vte(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function bte(e){return typeof e=="string"&&e.indexOf("%")!==-1}function H7(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function im(e){return e<=1?"".concat(Number(e)*100,"%"):e}function yl(e){return e.length===1?"0"+e:String(e)}function yte(e,t,n){return{r:Hr(e,255)*255,g:Hr(t,255)*255,b:Hr(n,255)*255}}function fA(e,t,n){e=Hr(e,255),t=Hr(t,255),n=Hr(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=0,s=(r+a)/2;if(r===a)i=0,o=0;else{var c=r-a;switch(i=s>.5?c/(2-r-a):c/(r+a),r){case e:o=(t-n)/c+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ste(e,t,n){var r,a,o;if(e=Hr(e,360),t=Hr(t,100),n=Hr(n,100),t===0)a=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=ky(s,i,e+1/3),a=ky(s,i,e),o=ky(s,i,e-1/3)}return{r:r*255,g:a*255,b:o*255}}function LI(e,t,n){e=Hr(e,255),t=Hr(t,255),n=Hr(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=r,s=r-a,c=r===0?0:s/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var jI={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 Hc(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,s=!1;return typeof e=="string"&&(e=Rte(e)),typeof e=="object"&&(Si(e.r)&&Si(e.g)&&Si(e.b)?(t=yte(e.r,e.g,e.b),i=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Si(e.h)&&Si(e.s)&&Si(e.v)?(r=im(e.s),a=im(e.v),t=wte(e.h,r,a),i=!0,s="hsv"):Si(e.h)&&Si(e.s)&&Si(e.l)&&(r=im(e.s),o=im(e.l),t=Ste(e.h,r,o),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=H7(n),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Ite="[-\\+]?\\d+%?",Tte="[-\\+]?\\d*\\.\\d+%?",Ss="(?:".concat(Tte,")|(?:").concat(Ite,")"),Ay="[\\s|\\(]+(".concat(Ss,")[,|\\s]+(").concat(Ss,")[,|\\s]+(").concat(Ss,")\\s*\\)?"),My="[\\s|\\(]+(".concat(Ss,")[,|\\s]+(").concat(Ss,")[,|\\s]+(").concat(Ss,")[,|\\s]+(").concat(Ss,")\\s*\\)?"),Ro={CSS_UNIT:new RegExp(Ss),rgb:new RegExp("rgb"+Ay),rgba:new RegExp("rgba"+My),hsl:new RegExp("hsl"+Ay),hsla:new RegExp("hsla"+My),hsv:new RegExp("hsv"+Ay),hsva:new RegExp("hsva"+My),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 Rte(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(jI[e])e=jI[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ro.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ro.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ro.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ro.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ro.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ro.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ro.hex8.exec(e),n?{r:Da(n[1]),g:Da(n[2]),b:Da(n[3]),a:pA(n[4]),format:t?"name":"hex8"}:(n=Ro.hex6.exec(e),n?{r:Da(n[1]),g:Da(n[2]),b:Da(n[3]),format:t?"name":"hex"}:(n=Ro.hex4.exec(e),n?{r:Da(n[1]+n[1]),g:Da(n[2]+n[2]),b:Da(n[3]+n[3]),a:pA(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ro.hex3.exec(e),n?{r:Da(n[1]+n[1]),g:Da(n[2]+n[2]),b:Da(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Si(e){return!!Ro.CSS_UNIT.exec(String(e))}var on=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Ete(t)),this.originalInput=t;var a=Hc(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.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=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,o=t.r/255,i=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=H7(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=LI(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=LI(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=fA(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=fA(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),FI(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Cte(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},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 t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Hr(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Hr(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+FI(this.r,this.g,this.b,!1),n=0,r=Object.entries(jI);n=0,o=!n&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},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){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=om(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=om(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=om(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=om(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){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),o=n/100,i={r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,o=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,o=n.v,i=[],s=1/t;t--;)i.push(new e({h:r,s:a,v:o})),o=(o+s)%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(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},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,a=[this],o=360/t,i=1;i=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-sm*t:Math.round(e.h)+sm*t:r=n?Math.round(e.h)+sm*t:Math.round(e.h)-sm*t,r<0?r+=360:r>=360&&(r-=360),r}function vA(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-gA*t:t===V7?r=e.s+gA:r=e.s+_te*t,r>1&&(r=1),n&&t===U7&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function bA(e,t,n){var r;return n?r=e.v+$te*t:r=e.v-Ote*t,r>1&&(r=1),Number(r.toFixed(2))}function Wl(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Hc(e),a=U7;a>0;a-=1){var o=mA(r),i=lm(Hc({h:hA(o,a,!0),s:vA(o,a,!0),v:bA(o,a,!0)}));n.push(i)}n.push(lm(r));for(var s=1;s<=V7;s+=1){var c=mA(r),u=lm(Hc({h:hA(c,s),s:vA(c,s),v:bA(c,s)}));n.push(u)}return t.theme==="dark"?Nte.map(function(d){var f=d.index,p=d.opacity,g=lm(kte(Hc(t.backgroundColor||"#141414"),Hc(n[f]),p*100));return g}):n}var mu={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"},BI=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];BI.primary=BI[5];var zI=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];zI.primary=zI[5];var HI=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];HI.primary=HI[5];var fv=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];fv.primary=fv[5];var UI=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];UI.primary=UI[5];var VI=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];VI.primary=VI[5];var WI=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];WI.primary=WI[5];var GI=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];GI.primary=GI[5];var Mu=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Mu.primary=Mu[5];var qI=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];qI.primary=qI[5];var KI=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];KI.primary=KI[5];var YI=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];YI.primary=YI[5];var XI=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];XI.primary=XI[5];var Dy={red:BI,volcano:zI,orange:HI,gold:fv,yellow:UI,lime:VI,green:WI,cyan:GI,blue:Mu,geekblue:qI,purple:KI,magenta:YI,grey:XI};const D_={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"},Du=Object.assign(Object.assign({},D_),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function se(e,t){return f7(e)||iee(e,t)||T_(e,t)||p7()}function up(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function kr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function $I(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var Jk="data-rc-order",eA="data-rc-priority",see="rc-util-key",OI=new Map;function g7(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):see}function wb(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function lee(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function __(e){return Array.from((OI.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function m7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!kr())return null;var n=t.csp,r=t.prepend,a=t.priority,o=a===void 0?0:a,i=lee(r),s=i==="prependQueue",c=document.createElement("style");c.setAttribute(Jk,i),s&&o&&c.setAttribute(eA,"".concat(o)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=wb(t),d=u.firstChild;if(r){if(s){var f=(t.styles||__(u)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(Jk)))return!1;var g=Number(p.getAttribute(eA)||0);return o>=g});if(f.length)return u.insertBefore(c,f[f.length-1].nextSibling),c}u.insertBefore(c,d)}else u.appendChild(c);return c}function h7(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=wb(t);return(t.styles||__(n)).find(function(r){return r.getAttribute(g7(t))===e})}function dp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=h7(e,t);if(n){var r=wb(t);r.removeChild(n)}}function cee(e,t){var n=OI.get(e);if(!n||!$I(document,n)){var r=m7("",t),a=r.parentNode;OI.set(e,a),e.removeChild(r)}}function Fi(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=wb(n),a=__(r),o=K(K({},n),{},{styles:a});cee(r,o);var i=h7(t,o);if(i){var s,c;if((s=o.csp)!==null&&s!==void 0&&s.nonce&&i.nonce!==((c=o.csp)===null||c===void 0?void 0:c.nonce)){var u;i.nonce=(u=o.csp)===null||u===void 0?void 0:u.nonce}return i.innerHTML!==e&&(i.innerHTML=e),i}var d=m7(e,o);return d.setAttribute(g7(o),t),d}function uee(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function vt(e,t){if(e==null)return{};var n,r,a=uee(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(o,i){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,c=r.has(o);if(cn(!c,"Warning: There may be circular references"),c)return!1;if(o===i)return!0;if(n&&s>1)return!1;r.add(o);var u=s+1;if(Array.isArray(o)){if(!Array.isArray(i)||o.length!==i.length)return!1;for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,i={map:this.cache};return n.forEach(function(s){if(!i)i=void 0;else{var c;i=(c=i)===null||c===void 0||(c=c.map)===null||c===void 0?void 0:c.get(s)}}),(r=i)!==null&&r!==void 0&&r.value&&o&&(i.value[1]=this.cacheCallTimes++),(a=i)===null||a===void 0?void 0:a.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var a=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(u,d){var f=se(u,2),p=f[1];return a.internalGet(d)[1]0,void 0),tA+=1}return An(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),$y=new $_;function fp(e){var t=Array.isArray(e)?e:[e];return $y.has(t)||$y.set(t,new v7(t)),$y.get(t)}var mee=new WeakMap,Oy={};function hee(e,t){for(var n=mee,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n=nA.get(e)||"";return n||(Object.keys(e).forEach(function(r){var a=e[r];n+=r,a instanceof v7?n+=a.id:a&&ft(a)==="object"?n+=Ef(a,t):n+=a}),t&&(n=up(n)),nA.set(e,n)),n}function rA(e,t){return up("".concat(t,"_").concat(Ef(e,!0)))}var kI=kr();function W(e){return typeof e=="number"?"".concat(e,"px"):e}function uv(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(a)return e;var o=K(K({},r),{},V(V({},Nu,t),Fo,n)),i=Object.keys(o).map(function(s){var c=o[s];return c?"".concat(s,'="').concat(c,'"'):null}).filter(function(s){return s}).join(" ");return"")}var fh=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},vee=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(a){var o=se(a,2),i=o[0],s=o[1];return"".concat(i,":").concat(s,";")}).join(""),"}"):""},b7=function(t,n,r){var a={},o={};return Object.entries(t).forEach(function(i){var s,c,u=se(i,2),d=u[0],f=u[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[d])o[d]=f;else if((typeof f=="string"||typeof f=="number")&&!(r!=null&&(c=r.ignore)!==null&&c!==void 0&&c[d])){var p,g=fh(d,r==null?void 0:r.prefix);a[g]=typeof f=="number"&&!(r!=null&&(p=r.unitless)!==null&&p!==void 0&&p[d])?"".concat(f,"px"):String(f),o[d]="var(".concat(g,")")}}),[o,vee(a,n,{scope:r==null?void 0:r.scope})]},aA=kr()?l.useLayoutEffect:l.useEffect,zt=function(t,n){var r=l.useRef(!0);aA(function(){return t(r.current)},n),aA(function(){return r.current=!1,function(){r.current=!0}},[])},kl=function(t,n){zt(function(r){if(!r)return t()},n)},bee=K({},Gp),oA=bee.useInsertionEffect,yee=function(t,n,r){l.useMemo(t,r),zt(function(){return n(!0)},r)},See=oA?function(e,t,n){return oA(function(){return e(),t()},n)}:yee,wee=K({},Gp),Cee=wee.useInsertionEffect,xee=function(t){var n=[],r=!1;function a(o){r||n.push(o)}return l.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(o){return o()})}},t),a},Eee=function(){return function(t){t()}},Iee=typeof Cee<"u"?xee:Eee;function O_(e,t,n,r,a){var o=l.useContext(Cb),i=o.cache,s=[e].concat($e(t)),c=NI(s),u=Iee([c]),d=function(v){i.opUpdate(c,function(m){var h=m||[void 0,void 0],y=se(h,2),b=y[0],S=b===void 0?0:b,w=y[1],x=w,E=x||n(),I=[S,E];return v?v(I):I})};l.useMemo(function(){d()},[c]);var f=i.opGet(c),p=f[1];return See(function(){a==null||a(p)},function(g){return d(function(v){var m=se(v,2),h=m[0],y=m[1];return g&&h===0&&(a==null||a(p)),[h+1,y]}),function(){i.opUpdate(c,function(v){var m=v||[],h=se(m,2),y=h[0],b=y===void 0?0:y,S=h[1],w=b-1;return w===0?(u(function(){(g||!i.opGet(c))&&(r==null||r(S,!1))}),null):[b-1,S]})}},[c]),p}var Tee={},Ree="css",ml=new Map;function _ee(e){ml.set(e,(ml.get(e)||0)+1)}function $ee(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(Nu,'="').concat(e,'"]'));n.forEach(function(r){if(r[ys]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var Oee=0;function Nee(e,t){ml.set(e,(ml.get(e)||0)-1);var n=Array.from(ml.keys()),r=n.filter(function(a){var o=ml.get(a)||0;return o<=0});n.length-r.length>Oee&&r.forEach(function(a){$ee(a,t),ml.delete(a)})}var y7=function(t,n,r,a){var o=r.getDerivativeToken(t),i=K(K({},o),n);return a&&(i=a(i)),i},S7="token";function kee(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=l.useContext(Cb),a=r.cache.instanceId,o=r.container,i=n.salt,s=i===void 0?"":i,c=n.override,u=c===void 0?Tee:c,d=n.formatToken,f=n.getComputedToken,p=n.cssVar,g=hee(function(){return Object.assign.apply(Object,[{}].concat($e(t)))},t),v=Ef(g),m=Ef(u),h=p?Ef(p):"",y=O_(S7,[s,e.id,v,m,h],function(){var b,S=f?f(g,u,e):y7(g,u,e,d),w=K({},S),x="";if(p){var E=b7(S,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve}),I=se(E,2);S=I[0],x=I[1]}var R=rA(S,s);S._tokenKey=R,w._tokenKey=rA(w,s);var T=(b=p==null?void 0:p.key)!==null&&b!==void 0?b:R;S._themeKey=T,_ee(T);var _="".concat(Ree,"-").concat(up(R));return S._hashId=_,[S,_,w,x,(p==null?void 0:p.key)||""]},function(b){Nee(b[0]._themeKey,a)},function(b){var S=se(b,4),w=S[0],x=S[3];if(p&&x){var E=Fi(x,up("css-variables-".concat(w._themeKey)),{mark:Fo,prepend:"queue",attachTo:o,priority:-999});E[ys]=a,E.setAttribute(Nu,w._themeKey)}});return y}var Aee=function(t,n,r){var a=se(t,5),o=a[2],i=a[3],s=a[4],c=r||{},u=c.plain;if(!i)return null;var d=o._tokenKey,f=-999,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(f)},g=uv(i,s,d,p,u);return[f,d,g]},Mee={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Ln="-ms-",If="-moz-",hn="-webkit-",w7="comm",xb="rule",N_="decl",Dee="@import",C7="@keyframes",Pee="@layer",x7=Math.abs,k_=String.fromCharCode,AI=Object.assign;function Lee(e,t){return $r(e,0)^45?(((t<<2^$r(e,0))<<2^$r(e,1))<<2^$r(e,2))<<2^$r(e,3):0}function E7(e){return e.trim()}function Ri(e,t){return(e=t.exec(e))?e[0]:e}function Xt(e,t,n){return e.replace(t,n)}function ph(e,t,n){return e.indexOf(t,n)}function $r(e,t){return e.charCodeAt(t)|0}function ku(e,t,n){return e.slice(t,n)}function ei(e){return e.length}function I7(e){return e.length}function Jd(e,t){return t.push(e),e}function Fee(e,t){return e.map(t).join("")}function iA(e,t){return e.filter(function(n){return!Ri(n,t)})}var Eb=1,Au=1,T7=0,ho=0,dr=0,Zu="";function Ib(e,t,n,r,a,o,i,s){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:Eb,column:Au,length:i,return:"",siblings:s}}function is(e,t){return AI(Ib("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Ic(e){for(;e.root;)e=is(e.root,{children:[e]});Jd(e,e.siblings)}function jee(){return dr}function Bee(){return dr=ho>0?$r(Zu,--ho):0,Au--,dr===10&&(Au=1,Eb--),dr}function jo(){return dr=ho2||MI(dr)>3?"":" "}function Vee(e,t){for(;--t&&jo()&&!(dr<48||dr>102||dr>57&&dr<65||dr>70&&dr<97););return Tb(e,gh()+(t<6&&Al()==32&&jo()==32))}function DI(e){for(;jo();)switch(dr){case e:return ho;case 34:case 39:e!==34&&e!==39&&DI(dr);break;case 40:e===41&&DI(e);break;case 92:jo();break}return ho}function Wee(e,t){for(;jo()&&e+dr!==57;)if(e+dr===84&&Al()===47)break;return"/*"+Tb(t,ho-1)+"*"+k_(e===47?e:jo())}function Gee(e){for(;!MI(Al());)jo();return Tb(e,ho)}function R7(e){return Hee(mh("",null,null,null,[""],e=zee(e),0,[0],e))}function mh(e,t,n,r,a,o,i,s,c){for(var u=0,d=0,f=i,p=0,g=0,v=0,m=1,h=1,y=1,b=0,S="",w=a,x=o,E=r,I=S;h;)switch(v=b,b=jo()){case 40:if(v!=108&&$r(I,f-1)==58){ph(I+=Xt(Ny(b),"&","&\f"),"&\f",x7(u?s[u-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:I+=Ny(b);break;case 9:case 10:case 13:case 32:I+=Uee(v);break;case 92:I+=Vee(gh()-1,7);continue;case 47:switch(Al()){case 42:case 47:Jd(qee(Wee(jo(),gh()),t,n,c),c);break;default:I+="/"}break;case 123*m:s[u++]=ei(I)*y;case 125*m:case 59:case 0:switch(b){case 0:case 125:h=0;case 59+d:y==-1&&(I=Xt(I,/\f/g,"")),g>0&&ei(I)-f&&Jd(g>32?lA(I+";",r,n,f-1,c):lA(Xt(I," ","")+";",r,n,f-2,c),c);break;case 59:I+=";";default:if(Jd(E=sA(I,t,n,u,d,a,s,S,w=[],x=[],f,o),o),b===123)if(d===0)mh(I,t,E,E,w,o,f,s,x);else switch(p===99&&$r(I,3)===110?100:p){case 100:case 108:case 109:case 115:mh(e,E,E,r&&Jd(sA(e,E,E,0,0,a,s,S,a,w=[],f,x),x),a,x,f,s,r?w:x);break;default:mh(I,E,E,E,[""],x,0,s,x)}}u=d=g=0,m=y=1,S=I="",f=i;break;case 58:f=1+ei(I),g=v;default:if(m<1){if(b==123)--m;else if(b==125&&m++==0&&Bee()==125)continue}switch(I+=k_(b),b*m){case 38:y=d>0?1:(I+="\f",-1);break;case 44:s[u++]=(ei(I)-1)*y,y=1;break;case 64:Al()===45&&(I+=Ny(jo())),p=Al(),d=f=ei(S=I+=Gee(gh())),b++;break;case 45:v===45&&ei(I)==2&&(m=0)}}return o}function sA(e,t,n,r,a,o,i,s,c,u,d,f){for(var p=a-1,g=a===0?o:[""],v=I7(g),m=0,h=0,y=0;m0?g[b]+" "+S:Xt(S,/&\f/g,g[b])))&&(c[y++]=w);return Ib(e,t,n,a===0?xb:s,c,u,d,f)}function qee(e,t,n,r){return Ib(e,t,n,w7,k_(jee()),ku(e,2,-2),0,r)}function lA(e,t,n,r,a){return Ib(e,t,n,N_,ku(e,0,r),ku(e,r+1,-1),r,a)}function _7(e,t,n){switch(Lee(e,t)){case 5103:return hn+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return hn+e+e;case 4789:return If+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return hn+e+If+e+Ln+e+e;case 5936:switch($r(e,t+11)){case 114:return hn+e+Ln+Xt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return hn+e+Ln+Xt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return hn+e+Ln+Xt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return hn+e+Ln+e+e;case 6165:return hn+e+Ln+"flex-"+e+e;case 5187:return hn+e+Xt(e,/(\w+).+(:[^]+)/,hn+"box-$1$2"+Ln+"flex-$1$2")+e;case 5443:return hn+e+Ln+"flex-item-"+Xt(e,/flex-|-self/g,"")+(Ri(e,/flex-|baseline/)?"":Ln+"grid-row-"+Xt(e,/flex-|-self/g,""))+e;case 4675:return hn+e+Ln+"flex-line-pack"+Xt(e,/align-content|flex-|-self/g,"")+e;case 5548:return hn+e+Ln+Xt(e,"shrink","negative")+e;case 5292:return hn+e+Ln+Xt(e,"basis","preferred-size")+e;case 6060:return hn+"box-"+Xt(e,"-grow","")+hn+e+Ln+Xt(e,"grow","positive")+e;case 4554:return hn+Xt(e,/([^-])(transform)/g,"$1"+hn+"$2")+e;case 6187:return Xt(Xt(Xt(e,/(zoom-|grab)/,hn+"$1"),/(image-set)/,hn+"$1"),e,"")+e;case 5495:case 3959:return Xt(e,/(image-set\([^]*)/,hn+"$1$`$1");case 4968:return Xt(Xt(e,/(.+:)(flex-)?(.*)/,hn+"box-pack:$3"+Ln+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+hn+e+e;case 4200:if(!Ri(e,/flex-|baseline/))return Ln+"grid-column-align"+ku(e,t)+e;break;case 2592:case 3360:return Ln+Xt(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,Ri(r.props,/grid-\w+-end/)})?~ph(e+(n=n[t].value),"span",0)?e:Ln+Xt(e,"-start","")+e+Ln+"grid-row-span:"+(~ph(n,"span",0)?Ri(n,/\d+/):+Ri(n,/\d+/)-+Ri(e,/\d+/))+";":Ln+Xt(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Ri(r.props,/grid-\w+-start/)})?e:Ln+Xt(Xt(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Xt(e,/(.+)-inline(.+)/,hn+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ei(e)-1-t>6)switch($r(e,t+1)){case 109:if($r(e,t+4)!==45)break;case 102:return Xt(e,/(.+:)(.+)-([^]+)/,"$1"+hn+"$2-$3$1"+If+($r(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ph(e,"stretch",0)?_7(Xt(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Xt(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,o,i,s,c,u){return Ln+a+":"+o+u+(i?Ln+a+"-span:"+(s?c:+c-+o)+u:"")+e});case 4949:if($r(e,t+6)===121)return Xt(e,":",":"+hn)+e;break;case 6444:switch($r(e,$r(e,14)===45?18:11)){case 120:return Xt(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+hn+($r(e,14)===45?"inline-":"")+"box$3$1"+hn+"$2$3$1"+Ln+"$2box$3")+e;case 100:return Xt(e,":",":"+Ln)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Xt(e,"scroll-","scroll-snap-")+e}return e}function pp(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case N_:e.return=_7(e.value,e.length,n);return;case C7:return pp([is(e,{value:Xt(e.value,"@","@"+hn)})],r);case xb:if(e.length)return Fee(n=e.props,function(a){switch(Ri(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Ic(is(e,{props:[Xt(a,/:(read-\w+)/,":"+If+"$1")]})),Ic(is(e,{props:[a]})),AI(e,{props:iA(n,r)});break;case"::placeholder":Ic(is(e,{props:[Xt(a,/:(plac\w+)/,":"+hn+"input-$1")]})),Ic(is(e,{props:[Xt(a,/:(plac\w+)/,":"+If+"$1")]})),Ic(is(e,{props:[Xt(a,/:(plac\w+)/,Ln+"input-$1")]})),Ic(is(e,{props:[a]})),AI(e,{props:iA(n,r)});break}return""})}}var cA="data-ant-cssinjs-cache-path",O7="_FILE_STYLE__",Ml,N7=!0;function Zee(){if(!Ml&&(Ml={},kr())){var e=document.createElement("div");e.className=cA,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(a){var o=a.split(":"),i=se(o,2),s=i[0],c=i[1];Ml[s]=c});var n=document.querySelector("style[".concat(cA,"]"));if(n){var r;N7=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function Qee(e){return Zee(),!!Ml[e]}function Jee(e){var t=Ml[e],n=null;if(t&&kr())if(N7)n=O7;else{var r=document.querySelector("style[".concat(Fo,'="').concat(Ml[e],'"]'));r?n=r.innerHTML:delete Ml[e]}return[n,t]}var ete="_skip_check_",k7="_multi_value_";function hh(e){var t=pp(R7(e),$7);return t.replace(/\{%%%\:[^;];}/g,";")}function tte(e){return ft(e)==="object"&&e&&(ete in e||k7 in e)}function nte(e,t,n){if(!t)return e;var r=".".concat(t),a=n==="low"?":where(".concat(r,")"):r,o=e.split(",").map(function(i){var s,c=i.trim().split(/\s+/),u=c[0]||"",d=((s=u.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return u="".concat(d).concat(a).concat(u.slice(d.length)),[u].concat($e(c.slice(1))).join(" ")});return o.join(",")}var rte=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,o=r.injectHash,i=r.parentSelectors,s=n.hashId,c=n.layer;n.path;var u=n.hashPriority,d=n.transformers,f=d===void 0?[]:d;n.linters;var p="",g={};function v(y){var b=y.getName(s);if(!g[b]){var S=e(y.style,n,{root:!1,parentSelectors:i}),w=se(S,1),x=w[0];g[b]="@keyframes ".concat(y.getName(s)).concat(x)}}function m(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function(S){Array.isArray(S)?m(S,b):S&&b.push(S)}),b}var h=m(Array.isArray(t)?t:[t]);return h.forEach(function(y){var b=typeof y=="string"&&!a?{}:y;if(typeof b=="string")p+="".concat(b,` +`);else if(b._keyframe)v(b);else{var S=f.reduce(function(w,x){var E;return(x==null||(E=x.visit)===null||E===void 0?void 0:E.call(x,w))||w},b);Object.keys(S).forEach(function(w){var x=S[w];if(ft(x)==="object"&&x&&(w!=="animationName"||!x._keyframe)&&!tte(x)){var E=!1,I=w.trim(),R=!1;(a||o)&&s?I.startsWith("@")?E=!0:I=nte(w,s,u):a&&!s&&(I==="&"||I==="")&&(I="",R=!0);var T=e(x,n,{root:R,injectHash:E,parentSelectors:[].concat($e(i),[I])}),_=se(T,2),$=_[0],D=_[1];g=K(K({},g),D),p+="".concat(I).concat($)}else{let O=function(N,k){var M=N.replace(/[A-Z]/g,function(F){return"-".concat(F.toLowerCase())}),L=k;!Mee[N]&&typeof L=="number"&&L!==0&&(L="".concat(L,"px")),N==="animationName"&&k!==null&&k!==void 0&&k._keyframe&&(v(k),L=k.getName(s)),p+="".concat(M,":").concat(L,";")};var P,A=(P=x==null?void 0:x.value)!==null&&P!==void 0?P:x;ft(x)==="object"&&x!==null&&x!==void 0&&x[k7]&&Array.isArray(A)?A.forEach(function(N){O(w,N)}):O(w,A)}})}}),a?c&&(p="@layer ".concat(c.name," {").concat(p,"}"),c.dependencies&&(g["@layer ".concat(c.name)]=c.dependencies.map(function(y){return"@layer ".concat(y,", ").concat(c.name,";")}).join(` +`))):p="{".concat(p,"}"),[p,g]};function A7(e,t){return up("".concat(e.join("%")).concat(t))}function ate(){return null}var M7="style";function PI(e,t){var n=e.token,r=e.path,a=e.hashId,o=e.layer,i=e.nonce,s=e.clientOnly,c=e.order,u=c===void 0?0:c,d=l.useContext(Cb),f=d.autoClear;d.mock;var p=d.defaultCache,g=d.hashPriority,v=d.container,m=d.ssrInline,h=d.transformers,y=d.linters,b=d.cache,S=d.layer,w=n._tokenKey,x=[w];S&&x.push("layer"),x.push.apply(x,$e(r));var E=kI,I=O_(M7,x,function(){var D=x.join("|");if(Qee(D)){var P=Jee(D),A=se(P,2),O=A[0],N=A[1];if(O)return[O,w,N,{},s,u]}var k=t(),M=rte(k,{hashId:a,hashPriority:g,layer:S?o:void 0,path:r.join("-"),transformers:h,linters:y}),L=se(M,2),F=L[0],j=L[1],B=hh(F),z=A7(x,B);return[B,w,z,j,s,u]},function(D,P){var A=se(D,3),O=A[2];(P||f)&&kI&&dp(O,{mark:Fo})},function(D){var P=se(D,4),A=P[0];P[1];var O=P[2],N=P[3];if(E&&A!==O7){var k={mark:Fo,prepend:S?!1:"queue",attachTo:v,priority:u},M=typeof i=="function"?i():i;M&&(k.csp={nonce:M});var L=[],F=[];Object.keys(N).forEach(function(B){B.startsWith("@layer")?L.push(B):F.push(B)}),L.forEach(function(B){Fi(hh(N[B]),"_layer-".concat(B),K(K({},k),{},{prepend:!0}))});var j=Fi(A,O,k);j[ys]=b.instanceId,j.setAttribute(Nu,w),F.forEach(function(B){Fi(hh(N[B]),"_effect-".concat(B),k)})}}),R=se(I,3),T=R[0],_=R[1],$=R[2];return function(D){var P;return!m||E||!p?P=l.createElement(ate,null):P=l.createElement("style",be({},V(V({},Nu,_),Fo,$),{dangerouslySetInnerHTML:{__html:T}})),l.createElement(l.Fragment,null,P,D)}}var ote=function(t,n,r){var a=se(t,6),o=a[0],i=a[1],s=a[2],c=a[3],u=a[4],d=a[5],f=r||{},p=f.plain;if(u)return null;var g=o,v={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return g=uv(o,i,s,v,p),c&&Object.keys(c).forEach(function(m){if(!n[m]){n[m]=!0;var h=hh(c[m]),y=uv(h,i,"_effect-".concat(m),v,p);m.startsWith("@layer")?g=y+g:g+=y}}),[d,s,g]},D7="cssVar",ite=function(t,n){var r=t.key,a=t.prefix,o=t.unitless,i=t.ignore,s=t.token,c=t.scope,u=c===void 0?"":c,d=l.useContext(Cb),f=d.cache.instanceId,p=d.container,g=s._tokenKey,v=[].concat($e(t.path),[r,u,g]),m=O_(D7,v,function(){var h=n(),y=b7(h,r,{prefix:a,unitless:o,ignore:i,scope:u}),b=se(y,2),S=b[0],w=b[1],x=A7(v,w);return[S,w,x,r]},function(h){var y=se(h,3),b=y[2];kI&&dp(b,{mark:Fo})},function(h){var y=se(h,3),b=y[1],S=y[2];if(b){var w=Fi(b,S,{mark:Fo,prepend:"queue",attachTo:p,priority:-999});w[ys]=f,w.setAttribute(Nu,r)}});return m},ste=function(t,n,r){var a=se(t,4),o=a[1],i=a[2],s=a[3],c=r||{},u=c.plain;if(!o)return null;var d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},p=uv(o,s,i,f,u);return[d,i,p]};V(V(V({},M7,ote),S7,Aee),D7,ste);var Jt=function(){function e(t,n){kn(this,e),V(this,"name",void 0),V(this,"style",void 0),V(this,"_keyframe",!0),this.name=t,this.style=n}return An(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Tc(e){return e.notSplit=!0,e}Tc(["borderTop","borderBottom"]),Tc(["borderTop"]),Tc(["borderBottom"]),Tc(["borderLeft","borderRight"]),Tc(["borderLeft"]),Tc(["borderRight"]);var A_=l.createContext({});function P7(e){return f7(e)||l7(e)||T_(e)||p7()}function Ha(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Ha(e,t.slice(0,-1))?e:L7(e,t,n,r)}function lte(e){return ft(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function uA(e){return Array.isArray(e)?[]:{}}var cte=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function nu(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=ute,e},F7=l.createContext(void 0);var j7={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"},fte={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},pte=K(K({},fte),{},{locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const B7={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},dv={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},pte),timePickerLocale:Object.assign({},B7)},Aa="${label} is not a valid ${type}",ci={locale:"en",Pagination:j7,DatePicker:dv,TimePicker:B7,Calendar:dv,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Aa,method:Aa,array:Aa,object:Aa,number:Aa,date:Aa,boolean:Aa,integer:Aa,float:Aa,regexp:Aa,email:Aa,url:Aa,hex:Aa},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let vh=Object.assign({},ci.Modal),bh=[];const dA=()=>bh.reduce((e,t)=>Object.assign(Object.assign({},e),t),ci.Modal);function gte(e){if(e){const t=Object.assign({},e);return bh.push(t),vh=dA(),()=>{bh=bh.filter(n=>n!==t),vh=dA()}}vh=Object.assign({},ci.Modal)}function z7(){return vh}const M_=l.createContext(void 0),mi=(e,t)=>{const n=l.useContext(M_),r=l.useMemo(()=>{var o;const i=t||ci[e],s=(o=n==null?void 0:n[e])!==null&&o!==void 0?o:{};return Object.assign(Object.assign({},typeof i=="function"?i():i),s||{})},[e,t,n]),a=l.useMemo(()=>{const o=n==null?void 0:n.locale;return n!=null&&n.exist&&!o?ci.locale:o},[n]);return[r,a]},mte="internalMark",hte=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;l.useEffect(()=>gte(t==null?void 0:t.Modal),[t]);const a=l.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return l.createElement(M_.Provider,{value:a},n)};function Hr(e,t){vte(e)&&(e="100%");var n=bte(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function om(e){return Math.min(1,Math.max(0,e))}function vte(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function bte(e){return typeof e=="string"&&e.indexOf("%")!==-1}function H7(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function im(e){return e<=1?"".concat(Number(e)*100,"%"):e}function yl(e){return e.length===1?"0"+e:String(e)}function yte(e,t,n){return{r:Hr(e,255)*255,g:Hr(t,255)*255,b:Hr(n,255)*255}}function fA(e,t,n){e=Hr(e,255),t=Hr(t,255),n=Hr(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=0,s=(r+a)/2;if(r===a)i=0,o=0;else{var c=r-a;switch(i=s>.5?c/(2-r-a):c/(r+a),r){case e:o=(t-n)/c+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ste(e,t,n){var r,a,o;if(e=Hr(e,360),t=Hr(t,100),n=Hr(n,100),t===0)a=n,o=n,r=n;else{var i=n<.5?n*(1+t):n+t-n*t,s=2*n-i;r=ky(s,i,e+1/3),a=ky(s,i,e),o=ky(s,i,e-1/3)}return{r:r*255,g:a*255,b:o*255}}function LI(e,t,n){e=Hr(e,255),t=Hr(t,255),n=Hr(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),o=0,i=r,s=r-a,c=r===0?0:s/r;if(r===a)o=0;else{switch(r){case e:o=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var jI={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 Hc(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,o=null,i=!1,s=!1;return typeof e=="string"&&(e=Rte(e)),typeof e=="object"&&(Si(e.r)&&Si(e.g)&&Si(e.b)?(t=yte(e.r,e.g,e.b),i=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Si(e.h)&&Si(e.s)&&Si(e.v)?(r=im(e.s),a=im(e.v),t=wte(e.h,r,a),i=!0,s="hsv"):Si(e.h)&&Si(e.s)&&Si(e.l)&&(r=im(e.s),o=im(e.l),t=Ste(e.h,r,o),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=H7(n),{ok:i,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Ite="[-\\+]?\\d+%?",Tte="[-\\+]?\\d*\\.\\d+%?",Ss="(?:".concat(Tte,")|(?:").concat(Ite,")"),Ay="[\\s|\\(]+(".concat(Ss,")[,|\\s]+(").concat(Ss,")[,|\\s]+(").concat(Ss,")\\s*\\)?"),My="[\\s|\\(]+(".concat(Ss,")[,|\\s]+(").concat(Ss,")[,|\\s]+(").concat(Ss,")[,|\\s]+(").concat(Ss,")\\s*\\)?"),Ro={CSS_UNIT:new RegExp(Ss),rgb:new RegExp("rgb"+Ay),rgba:new RegExp("rgba"+My),hsl:new RegExp("hsl"+Ay),hsla:new RegExp("hsla"+My),hsv:new RegExp("hsv"+Ay),hsva:new RegExp("hsva"+My),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 Rte(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(jI[e])e=jI[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ro.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ro.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ro.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ro.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ro.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ro.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ro.hex8.exec(e),n?{r:Da(n[1]),g:Da(n[2]),b:Da(n[3]),a:pA(n[4]),format:t?"name":"hex8"}:(n=Ro.hex6.exec(e),n?{r:Da(n[1]),g:Da(n[2]),b:Da(n[3]),format:t?"name":"hex"}:(n=Ro.hex4.exec(e),n?{r:Da(n[1]+n[1]),g:Da(n[2]+n[2]),b:Da(n[3]+n[3]),a:pA(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ro.hex3.exec(e),n?{r:Da(n[1]+n[1]),g:Da(n[2]+n[2]),b:Da(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Si(e){return!!Ro.CSS_UNIT.exec(String(e))}var on=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Ete(t)),this.originalInput=t;var a=Hc(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.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=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,o=t.r/255,i=t.g/255,s=t.b/255;return o<=.03928?n=o/12.92:n=Math.pow((o+.055)/1.055,2.4),i<=.03928?r=i/12.92:r=Math.pow((i+.055)/1.055,2.4),s<=.03928?a=s/12.92:a=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=H7(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=LI(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=LI(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=fA(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=fA(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),FI(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Cte(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},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 t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Hr(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Hr(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+FI(this.r,this.g,this.b,!1),n=0,r=Object.entries(jI);n=0,o=!n&&a&&(t.startsWith("hex")||t==="name");return o?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},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){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=om(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=om(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=om(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=om(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){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),o=n/100,i={r:(a.r-r.r)*o+r.r,g:(a.g-r.g)*o+r.g,b:(a.b-r.b)*o+r.b,a:(a.a-r.a)*o+r.a};return new e(i)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,o=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,o=n.v,i=[],s=1/t;t--;)i.push(new e({h:r,s:a,v:o})),o=(o+s)%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(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},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,a=[this],o=360/t,i=1;i=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-sm*t:Math.round(e.h)+sm*t:r=n?Math.round(e.h)+sm*t:Math.round(e.h)-sm*t,r<0?r+=360:r>=360&&(r-=360),r}function vA(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-gA*t:t===V7?r=e.s+gA:r=e.s+_te*t,r>1&&(r=1),n&&t===U7&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function bA(e,t,n){var r;return n?r=e.v+$te*t:r=e.v-Ote*t,r>1&&(r=1),Number(r.toFixed(2))}function Wl(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Hc(e),a=U7;a>0;a-=1){var o=mA(r),i=lm(Hc({h:hA(o,a,!0),s:vA(o,a,!0),v:bA(o,a,!0)}));n.push(i)}n.push(lm(r));for(var s=1;s<=V7;s+=1){var c=mA(r),u=lm(Hc({h:hA(c,s),s:vA(c,s),v:bA(c,s)}));n.push(u)}return t.theme==="dark"?Nte.map(function(d){var f=d.index,p=d.opacity,g=lm(kte(Hc(t.backgroundColor||"#141414"),Hc(n[f]),p*100));return g}):n}var mu={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"},BI=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];BI.primary=BI[5];var zI=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];zI.primary=zI[5];var HI=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];HI.primary=HI[5];var fv=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];fv.primary=fv[5];var UI=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];UI.primary=UI[5];var VI=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];VI.primary=VI[5];var WI=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];WI.primary=WI[5];var GI=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];GI.primary=GI[5];var Mu=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Mu.primary=Mu[5];var qI=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];qI.primary=qI[5];var KI=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];KI.primary=KI[5];var YI=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];YI.primary=YI[5];var XI=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];XI.primary=XI[5];var Dy={red:BI,volcano:zI,orange:HI,gold:fv,yellow:UI,lime:VI,green:WI,cyan:GI,blue:Mu,geekblue:qI,purple:KI,magenta:YI,grey:XI};const D_={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"},Du=Object.assign(Object.assign({},D_),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', -'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});function W7(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:o,colorError:i,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),p=n(a),g=n(o),b=n(i),m=n(s),h=r(u,d),y=e.colorLink||e.colorInfo,v=n(y);return Object.assign(Object.assign({},h),{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:b[1],colorErrorBgHover:b[2],colorErrorBgActive:b[3],colorErrorBorder:b[3],colorErrorBorderHover:b[4],colorErrorHover:b[5],colorError:b[6],colorErrorActive:b[7],colorErrorTextHover:b[8],colorErrorText:b[9],colorErrorTextActive:b[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new on("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Ate=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=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?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};function Mte(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1},Ate(r))}const G7=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function yh(e){return(e+8)/e}function Dte(e){const t=new Array(10).fill(null).map((n,r)=>{const a=r-1,o=e*Math.pow(Math.E,a/5),i=r>1?Math.floor(o):Math.ceil(o);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:yh(n)}))}const q7=e=>{const t=Dte(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),a=n[1],o=n[0],i=n[2],s=r[1],c=r[0],u=r[2];return{fontSizeSM:o,fontSize:a,fontSizeLG:i,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(s*a),fontHeightLG:Math.round(u*i),fontHeightSM:Math.round(c*o),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function Pte(e){const{sizeUnit:t,sizeStep:n}=e;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)}}const wi=(e,t)=>new on(e).setAlpha(t).toRgbString(),Dd=(e,t)=>new on(e).darken(t).toHexString(),Lte=e=>{const t=Wl(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]}},Fte=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:wi(r,.88),colorTextSecondary:wi(r,.65),colorTextTertiary:wi(r,.45),colorTextQuaternary:wi(r,.25),colorFill:wi(r,.15),colorFillSecondary:wi(r,.06),colorFillTertiary:wi(r,.04),colorFillQuaternary:wi(r,.02),colorBgLayout:Dd(n,4),colorBgContainer:Dd(n,0),colorBgElevated:Dd(n,0),colorBgSpotlight:wi(r,.85),colorBgBlur:"transparent",colorBorder:Dd(n,15),colorBorderSecondary:Dd(n,6)}};function Zp(e){mu.pink=mu.magenta,Dy.pink=Dy.magenta;const t=Object.keys(D_).map(n=>{const r=e[n]===mu[n]?Dy[n]:Wl(e[n]);return new Array(10).fill(1).reduce((a,o,i)=>(a[`${n}-${i+1}`]=r[i],a[`${n}${i+1}`]=r[i],a),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),W7(e,{generateColorPalettes:Lte,generateNeutralColorPalettes:Fte})),q7(e.fontSize)),Pte(e)),G7(e)),Mte(e))}const K7=fp(Zp),gp={token:Du,override:{override:Du},hashed:!0},Y7=le.createContext(gp),mp="ant",P_="anticon",jte=["outlined","borderless","filled"],Bte=(e,t)=>t||(e?`${mp}-${e}`:mp),ot=l.createContext({getPrefixCls:Bte,iconPrefixCls:P_}),zte=`-ant-${Date.now()}-${Math.random()}`;function Hte(e,t){const n={},r=(i,s)=>{let c=i.clone();return c=(s==null?void 0:s(c))||c,c.toRgbString()},a=(i,s)=>{const c=new on(i),u=Wl(c.toRgbString());n[`${s}-color`]=r(c),n[`${s}-color-disabled`]=u[1],n[`${s}-color-hover`]=u[4],n[`${s}-color-active`]=u[6],n[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=u[0],n[`${s}-color-deprecated-border`]=u[2]};if(t.primaryColor){a(t.primaryColor,"primary");const i=new on(t.primaryColor),s=Wl(i.toRgbString());s.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(i,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(i,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(i,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(i,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(i,u=>u.setAlpha(u.getAlpha()*.12));const c=new on(s[0]);n["primary-color-active-deprecated-f-30"]=r(c,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(c,u=>u.darken(2))}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),` +'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});function W7(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:o,colorError:i,colorInfo:s,colorPrimary:c,colorBgBase:u,colorTextBase:d}=e,f=n(c),p=n(a),g=n(o),v=n(i),m=n(s),h=r(u,d),y=e.colorLink||e.colorInfo,b=n(y);return Object.assign(Object.assign({},h),{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:v[1],colorErrorBgHover:v[2],colorErrorBgActive:v[3],colorErrorBorder:v[3],colorErrorBorderHover:v[4],colorErrorHover:v[5],colorError:v[6],colorErrorActive:v[7],colorErrorTextHover:v[8],colorErrorText:v[9],colorErrorTextActive:v[10],colorWarningBg:g[1],colorWarningBgHover:g[2],colorWarningBorder:g[3],colorWarningBorderHover:g[4],colorWarningHover:g[4],colorWarning:g[6],colorWarningActive:g[7],colorWarningTextHover:g[8],colorWarningText:g[9],colorWarningTextActive:g[10],colorInfoBg:m[1],colorInfoBgHover:m[2],colorInfoBorder:m[3],colorInfoBorderHover:m[4],colorInfoHover:m[4],colorInfo:m[6],colorInfoActive:m[7],colorInfoTextHover:m[8],colorInfoText:m[9],colorInfoTextActive:m[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new on("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Ate=e=>{let t=e,n=e,r=e,a=e;return e<6&&e>=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?a=4:e>=8&&(a=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:a}};function Mte(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:a}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:a+1},Ate(r))}const G7=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function yh(e){return(e+8)/e}function Dte(e){const t=new Array(10).fill(null).map((n,r)=>{const a=r-1,o=e*Math.pow(Math.E,a/5),i=r>1?Math.floor(o):Math.ceil(o);return Math.floor(i/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:yh(n)}))}const q7=e=>{const t=Dte(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),a=n[1],o=n[0],i=n[2],s=r[1],c=r[0],u=r[2];return{fontSizeSM:o,fontSize:a,fontSizeLG:i,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:c,fontHeight:Math.round(s*a),fontHeightLG:Math.round(u*i),fontHeightSM:Math.round(c*o),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function Pte(e){const{sizeUnit:t,sizeStep:n}=e;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)}}const wi=(e,t)=>new on(e).setAlpha(t).toRgbString(),Dd=(e,t)=>new on(e).darken(t).toHexString(),Lte=e=>{const t=Wl(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]}},Fte=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:wi(r,.88),colorTextSecondary:wi(r,.65),colorTextTertiary:wi(r,.45),colorTextQuaternary:wi(r,.25),colorFill:wi(r,.15),colorFillSecondary:wi(r,.06),colorFillTertiary:wi(r,.04),colorFillQuaternary:wi(r,.02),colorBgLayout:Dd(n,4),colorBgContainer:Dd(n,0),colorBgElevated:Dd(n,0),colorBgSpotlight:wi(r,.85),colorBgBlur:"transparent",colorBorder:Dd(n,15),colorBorderSecondary:Dd(n,6)}};function Zp(e){mu.pink=mu.magenta,Dy.pink=Dy.magenta;const t=Object.keys(D_).map(n=>{const r=e[n]===mu[n]?Dy[n]:Wl(e[n]);return new Array(10).fill(1).reduce((a,o,i)=>(a[`${n}-${i+1}`]=r[i],a[`${n}${i+1}`]=r[i],a),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),W7(e,{generateColorPalettes:Lte,generateNeutralColorPalettes:Fte})),q7(e.fontSize)),Pte(e)),G7(e)),Mte(e))}const K7=fp(Zp),gp={token:Du,override:{override:Du},hashed:!0},Y7=le.createContext(gp),mp="ant",P_="anticon",jte=["outlined","borderless","filled"],Bte=(e,t)=>t||(e?`${mp}-${e}`:mp),ot=l.createContext({getPrefixCls:Bte,iconPrefixCls:P_}),zte=`-ant-${Date.now()}-${Math.random()}`;function Hte(e,t){const n={},r=(i,s)=>{let c=i.clone();return c=(s==null?void 0:s(c))||c,c.toRgbString()},a=(i,s)=>{const c=new on(i),u=Wl(c.toRgbString());n[`${s}-color`]=r(c),n[`${s}-color-disabled`]=u[1],n[`${s}-color-hover`]=u[4],n[`${s}-color-active`]=u[6],n[`${s}-color-outline`]=c.clone().setAlpha(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=u[0],n[`${s}-color-deprecated-border`]=u[2]};if(t.primaryColor){a(t.primaryColor,"primary");const i=new on(t.primaryColor),s=Wl(i.toRgbString());s.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(i,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(i,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(i,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(i,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(i,u=>u.setAlpha(u.getAlpha()*.12));const c=new on(s[0]);n["primary-color-active-deprecated-f-30"]=r(c,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(c,u=>u.darken(2))}return t.successColor&&a(t.successColor,"success"),t.warningColor&&a(t.warningColor,"warning"),t.errorColor&&a(t.errorColor,"error"),t.infoColor&&a(t.infoColor,"info"),` :root { ${Object.keys(n).map(i=>`--${e}-${i}: ${n[i]};`).join(` `)} } - `.trim()}function Ute(e,t){const n=Hte(e,t);kr()&&Fi(n,`${zte}-dynamic-theme`)}const Vr=l.createContext(!1),L_=e=>{let{children:t,disabled:n}=e;const r=l.useContext(Vr);return l.createElement(Vr.Provider,{value:n??r},t)},Gl=l.createContext(void 0),Vte=e=>{let{children:t,size:n}=e;const r=l.useContext(Gl);return l.createElement(Gl.Provider,{value:n||r},t)};function Wte(){const e=l.useContext(Vr),t=l.useContext(Gl);return{componentDisabled:e,componentSize:t}}var X7=An(function e(){kn(this,e)}),Z7="CALC_UNIT",Gte=new RegExp(Z7,"g");function Py(e){return typeof e=="number"?"".concat(e).concat(Z7):e}var qte=function(e){Qa(n,e);var t=xo(n);function n(r,a){var o;kn(this,n),o=t.call(this),V(Ge(o),"result",""),V(Ge(o),"unitlessCssVar",void 0),V(Ge(o),"lowPriority",void 0);var i=ft(r);return o.unitlessCssVar=a,r instanceof n?o.result="(".concat(r.result,")"):i==="number"?o.result=Py(r):i==="string"&&(o.result=r),o}return An(n,[{key:"add",value:function(a){return a instanceof n?this.result="".concat(this.result," + ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," + ").concat(Py(a))),this.lowPriority=!0,this}},{key:"sub",value:function(a){return a instanceof n?this.result="".concat(this.result," - ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," - ").concat(Py(a))),this.lowPriority=!0,this}},{key:"mul",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," * ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," * ").concat(a)),this.lowPriority=!1,this}},{key:"div",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," / ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," / ").concat(a)),this.lowPriority=!1,this}},{key:"getResult",value:function(a){return this.lowPriority||a?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(a){var o=this,i=a||{},s=i.unit,c=!0;return typeof s=="boolean"?c=s:Array.from(this.unitlessCssVar).some(function(u){return o.result.includes(u)})&&(c=!1),this.result=this.result.replace(Gte,c?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(X7),Kte=function(e){Qa(n,e);var t=xo(n);function n(r){var a;return kn(this,n),a=t.call(this),V(Ge(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return An(n,[{key:"add",value:function(a){return a instanceof n?this.result+=a.result:typeof a=="number"&&(this.result+=a),this}},{key:"sub",value:function(a){return a instanceof n?this.result-=a.result:typeof a=="number"&&(this.result-=a),this}},{key:"mul",value:function(a){return a instanceof n?this.result*=a.result:typeof a=="number"&&(this.result*=a),this}},{key:"div",value:function(a){return a instanceof n?this.result/=a.result:typeof a=="number"&&(this.result/=a),this}},{key:"equal",value:function(){return this.result}}]),n}(X7),Yte=function(t,n){var r=t==="css"?qte:Kte;return function(a){return new r(a,n)}},yA=function(t,n){return"".concat([n,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Lt(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){for(var r,a=arguments.length,o=new Array(a),i=0;i1e4){var r=Date.now();this.lastAccessBeat.forEach(function(a,o){r-a>Jte&&(n.map.delete(o),n.lastAccessBeat.delete(o))}),this.accessBeat=0}}}]),e}(),xA=new ene;function tne(e,t){return le.useMemo(function(){var n=xA.get(t);if(n)return n;var r=e();return xA.set(t,r),r},t)}var nne=function(){return{}};function rne(e){var t=e.useCSP,n=t===void 0?nne:t,r=e.useToken,a=e.usePrefix,o=e.getResetStyles,i=e.getCommonStyle,s=e.getCompUnitless;function c(p,g,b,m){var h=Array.isArray(p)?p[0]:p;function y(R){return"".concat(String(h)).concat(R.slice(0,1).toUpperCase()).concat(R.slice(1))}var v=(m==null?void 0:m.unitless)||{},S=typeof s=="function"?s(p):{},w=K(K({},S),{},V({},y("zIndexPopup"),!0));Object.keys(v).forEach(function(R){w[y(R)]=v[R]});var x=K(K({},m),{},{unitless:w,prefixToken:y}),E=d(p,g,b,x),I=u(h,b,x);return function(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R,_=E(R,T),$=se(_,2),D=$[1],P=I(T),A=se(P,2),O=A[0],N=A[1];return[O,D,N]}}function u(p,g,b){var m=b.unitless,h=b.injectStyle,y=h===void 0?!0:h,v=b.prefixToken,S=b.ignore,w=function(I){var R=I.rootCls,T=I.cssVar,_=T===void 0?{}:T,$=r(),D=$.realToken;return ite({path:[p],prefix:_.prefix,key:_.key,unitless:m,ignore:S,token:D,scope:R},function(){var P=CA(p,D,g),A=SA(p,D,P,{deprecatedTokens:b==null?void 0:b.deprecatedTokens});return Object.keys(P).forEach(function(O){A[v(O)]=A[O],delete A[O]}),A}),null},x=function(I){var R=r(),T=R.cssVar;return[function(_){return y&&T?le.createElement(le.Fragment,null,le.createElement(w,{rootCls:I,cssVar:T,component:p}),_):_},T==null?void 0:T.key]};return x}function d(p,g,b){var m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},h=Array.isArray(p)?p:[p,p],y=se(h,1),v=y[0],S=h.join("-");return function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,E=r(),I=E.theme,R=E.realToken,T=E.hashId,_=E.token,$=E.cssVar,D=a(),P=D.rootPrefixCls,A=D.iconPrefixCls,O=n(),N=$?"css":"js",k=tne(function(){var z=new Set;return $&&Object.keys(m.unitless||{}).forEach(function(H){z.add(fh(H,$.prefix)),z.add(fh(H,yA(v,$.prefix)))}),Yte(N,z)},[N,v,$==null?void 0:$.prefix]),M=Qte(N),L=M.max,F=M.min,j={theme:I,token:_,hashId:T,nonce:function(){return O.nonce},clientOnly:m.clientOnly,layer:{name:"antd"},order:m.order||-999};PI(K(K({},j),{},{clientOnly:!1,path:["Shared",P]}),function(){return typeof o=="function"?o(_):[]});var B=PI(K(K({},j),{},{path:[S,w,A]}),function(){if(m.injectStyle===!1)return[];var z=Zte(_),H=z.token,U=z.flush,Z=CA(v,R,b),q=".".concat(w),Y=SA(v,R,Z,{deprecatedTokens:m.deprecatedTokens});$&&ft(Z)==="object"&&Object.keys(Z).forEach(function(ie){Z[ie]="var(".concat(fh(ie,yA(v,$.prefix)),")")});var te=Pt(H,{componentCls:q,prefixCls:w,iconCls:".".concat(A),antCls:".".concat(P),calc:k,max:L,min:F},$?Z:Y),ee=g(te,{hashId:T,prefixCls:w,rootPrefixCls:P,iconPrefixCls:A});U(v,Y);var X=typeof i=="function"?i(te,w,x,m.resetFont):null;return[m.resetStyle===!1?null:X,ee]});return[B,T]}}function f(p,g,b){var m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},h=d(p,g,b,K({resetStyle:!1,order:-998},m)),y=function(S){var w=S.prefixCls,x=S.rootCls,E=x===void 0?w:x;return h(w,E),null};return y}return{genStyleHooks:c,genSubStyleComponent:f,genComponentStyleHook:d}}const hp=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],ane="5.20.1";function Fy(e){return e>=0&&e<=255}function cm(e,t){const{r:n,g:r,b:a,a:o}=new on(e).toRgb();if(o<1)return e;const{r:i,g:s,b:c}=new on(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-i*(1-u))/u),f=Math.round((r-s*(1-u))/u),p=Math.round((a-c*(1-u))/u);if(Fy(d)&&Fy(f)&&Fy(p))return new on({r:d,g:f,b:p,a:Math.round(u*100)/100}).toRgbString()}return new on({r:n,g:r,b:a,a:1}).toRgbString()}var one=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{delete r[p]});const a=Object.assign(Object.assign({},n),r),o=480,i=576,s=768,c=992,u=1200,d=1600;if(a.motion===!1){const p="0s";a.motionDurationFast=p,a.motionDurationMid=p,a.motionDurationSlow=p}return Object.assign(Object.assign(Object.assign({},a),{colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:cm(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:cm(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:cm(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidthFocus:a.lineWidth*4,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:cm(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:` + `.trim()}function Ute(e,t){const n=Hte(e,t);kr()&&Fi(n,`${zte}-dynamic-theme`)}const Vr=l.createContext(!1),L_=e=>{let{children:t,disabled:n}=e;const r=l.useContext(Vr);return l.createElement(Vr.Provider,{value:n??r},t)},Gl=l.createContext(void 0),Vte=e=>{let{children:t,size:n}=e;const r=l.useContext(Gl);return l.createElement(Gl.Provider,{value:n||r},t)};function Wte(){const e=l.useContext(Vr),t=l.useContext(Gl);return{componentDisabled:e,componentSize:t}}var X7=An(function e(){kn(this,e)}),Z7="CALC_UNIT",Gte=new RegExp(Z7,"g");function Py(e){return typeof e=="number"?"".concat(e).concat(Z7):e}var qte=function(e){Qa(n,e);var t=xo(n);function n(r,a){var o;kn(this,n),o=t.call(this),V(Ge(o),"result",""),V(Ge(o),"unitlessCssVar",void 0),V(Ge(o),"lowPriority",void 0);var i=ft(r);return o.unitlessCssVar=a,r instanceof n?o.result="(".concat(r.result,")"):i==="number"?o.result=Py(r):i==="string"&&(o.result=r),o}return An(n,[{key:"add",value:function(a){return a instanceof n?this.result="".concat(this.result," + ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," + ").concat(Py(a))),this.lowPriority=!0,this}},{key:"sub",value:function(a){return a instanceof n?this.result="".concat(this.result," - ").concat(a.getResult()):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," - ").concat(Py(a))),this.lowPriority=!0,this}},{key:"mul",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," * ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," * ").concat(a)),this.lowPriority=!1,this}},{key:"div",value:function(a){return this.lowPriority&&(this.result="(".concat(this.result,")")),a instanceof n?this.result="".concat(this.result," / ").concat(a.getResult(!0)):(typeof a=="number"||typeof a=="string")&&(this.result="".concat(this.result," / ").concat(a)),this.lowPriority=!1,this}},{key:"getResult",value:function(a){return this.lowPriority||a?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(a){var o=this,i=a||{},s=i.unit,c=!0;return typeof s=="boolean"?c=s:Array.from(this.unitlessCssVar).some(function(u){return o.result.includes(u)})&&(c=!1),this.result=this.result.replace(Gte,c?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(X7),Kte=function(e){Qa(n,e);var t=xo(n);function n(r){var a;return kn(this,n),a=t.call(this),V(Ge(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return An(n,[{key:"add",value:function(a){return a instanceof n?this.result+=a.result:typeof a=="number"&&(this.result+=a),this}},{key:"sub",value:function(a){return a instanceof n?this.result-=a.result:typeof a=="number"&&(this.result-=a),this}},{key:"mul",value:function(a){return a instanceof n?this.result*=a.result:typeof a=="number"&&(this.result*=a),this}},{key:"div",value:function(a){return a instanceof n?this.result/=a.result:typeof a=="number"&&(this.result/=a),this}},{key:"equal",value:function(){return this.result}}]),n}(X7),Yte=function(t,n){var r=t==="css"?qte:Kte;return function(a){return new r(a,n)}},yA=function(t,n){return"".concat([n,t.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};function Lt(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){for(var r,a=arguments.length,o=new Array(a),i=0;i1e4){var r=Date.now();this.lastAccessBeat.forEach(function(a,o){r-a>Jte&&(n.map.delete(o),n.lastAccessBeat.delete(o))}),this.accessBeat=0}}}]),e}(),xA=new ene;function tne(e,t){return le.useMemo(function(){var n=xA.get(t);if(n)return n;var r=e();return xA.set(t,r),r},t)}var nne=function(){return{}};function rne(e){var t=e.useCSP,n=t===void 0?nne:t,r=e.useToken,a=e.usePrefix,o=e.getResetStyles,i=e.getCommonStyle,s=e.getCompUnitless;function c(p,g,v,m){var h=Array.isArray(p)?p[0]:p;function y(R){return"".concat(String(h)).concat(R.slice(0,1).toUpperCase()).concat(R.slice(1))}var b=(m==null?void 0:m.unitless)||{},S=typeof s=="function"?s(p):{},w=K(K({},S),{},V({},y("zIndexPopup"),!0));Object.keys(b).forEach(function(R){w[y(R)]=b[R]});var x=K(K({},m),{},{unitless:w,prefixToken:y}),E=d(p,g,v,x),I=u(h,v,x);return function(R){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R,_=E(R,T),$=se(_,2),D=$[1],P=I(T),A=se(P,2),O=A[0],N=A[1];return[O,D,N]}}function u(p,g,v){var m=v.unitless,h=v.injectStyle,y=h===void 0?!0:h,b=v.prefixToken,S=v.ignore,w=function(I){var R=I.rootCls,T=I.cssVar,_=T===void 0?{}:T,$=r(),D=$.realToken;return ite({path:[p],prefix:_.prefix,key:_.key,unitless:m,ignore:S,token:D,scope:R},function(){var P=CA(p,D,g),A=SA(p,D,P,{deprecatedTokens:v==null?void 0:v.deprecatedTokens});return Object.keys(P).forEach(function(O){A[b(O)]=A[O],delete A[O]}),A}),null},x=function(I){var R=r(),T=R.cssVar;return[function(_){return y&&T?le.createElement(le.Fragment,null,le.createElement(w,{rootCls:I,cssVar:T,component:p}),_):_},T==null?void 0:T.key]};return x}function d(p,g,v){var m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},h=Array.isArray(p)?p:[p,p],y=se(h,1),b=y[0],S=h.join("-");return function(w){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:w,E=r(),I=E.theme,R=E.realToken,T=E.hashId,_=E.token,$=E.cssVar,D=a(),P=D.rootPrefixCls,A=D.iconPrefixCls,O=n(),N=$?"css":"js",k=tne(function(){var z=new Set;return $&&Object.keys(m.unitless||{}).forEach(function(H){z.add(fh(H,$.prefix)),z.add(fh(H,yA(b,$.prefix)))}),Yte(N,z)},[N,b,$==null?void 0:$.prefix]),M=Qte(N),L=M.max,F=M.min,j={theme:I,token:_,hashId:T,nonce:function(){return O.nonce},clientOnly:m.clientOnly,layer:{name:"antd"},order:m.order||-999};PI(K(K({},j),{},{clientOnly:!1,path:["Shared",P]}),function(){return typeof o=="function"?o(_):[]});var B=PI(K(K({},j),{},{path:[S,w,A]}),function(){if(m.injectStyle===!1)return[];var z=Zte(_),H=z.token,U=z.flush,Z=CA(b,R,v),q=".".concat(w),Y=SA(b,R,Z,{deprecatedTokens:m.deprecatedTokens});$&&ft(Z)==="object"&&Object.keys(Z).forEach(function(ie){Z[ie]="var(".concat(fh(ie,yA(b,$.prefix)),")")});var ee=Pt(H,{componentCls:q,prefixCls:w,iconCls:".".concat(A),antCls:".".concat(P),calc:k,max:L,min:F},$?Z:Y),te=g(ee,{hashId:T,prefixCls:w,rootPrefixCls:P,iconPrefixCls:A});U(b,Y);var X=typeof i=="function"?i(ee,w,x,m.resetFont):null;return[m.resetStyle===!1?null:X,te]});return[B,T]}}function f(p,g,v){var m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},h=d(p,g,v,K({resetStyle:!1,order:-998},m)),y=function(S){var w=S.prefixCls,x=S.rootCls,E=x===void 0?w:x;return h(w,E),null};return y}return{genStyleHooks:c,genSubStyleComponent:f,genComponentStyleHook:d}}const hp=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],ane="5.20.1";function Fy(e){return e>=0&&e<=255}function cm(e,t){const{r:n,g:r,b:a,a:o}=new on(e).toRgb();if(o<1)return e;const{r:i,g:s,b:c}=new on(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-i*(1-u))/u),f=Math.round((r-s*(1-u))/u),p=Math.round((a-c*(1-u))/u);if(Fy(d)&&Fy(f)&&Fy(p))return new on({r:d,g:f,b:p,a:Math.round(u*100)/100}).toRgbString()}return new on({r:n,g:r,b:a,a:1}).toRgbString()}var one=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{delete r[p]});const a=Object.assign(Object.assign({},n),r),o=480,i=576,s=768,c=992,u=1200,d=1600;if(a.motion===!1){const p="0s";a.motionDurationFast=p,a.motionDurationMid=p,a.motionDurationSlow=p}return Object.assign(Object.assign(Object.assign({},a),{colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:cm(a.colorBorderSecondary,a.colorBgContainer),colorTextPlaceholder:a.colorTextQuaternary,colorTextDisabled:a.colorTextQuaternary,colorTextHeading:a.colorText,colorTextLabel:a.colorTextSecondary,colorTextDescription:a.colorTextTertiary,colorTextLightSolid:a.colorWhite,colorHighlight:a.colorError,colorBgTextHover:a.colorFillSecondary,colorBgTextActive:a.colorFill,colorIcon:a.colorTextTertiary,colorIconHover:a.colorText,colorErrorOutline:cm(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:cm(a.colorWarningBg,a.colorBgContainer),fontSizeIcon:a.fontSizeSM,lineWidthFocus:a.lineWidth*4,lineWidth:a.lineWidth,controlOutlineWidth:a.lineWidth*2,controlInteractiveSize:a.controlHeight/2,controlItemBgHover:a.colorFillTertiary,controlItemBgActive:a.colorPrimaryBg,controlItemBgActiveHover:a.colorPrimaryBgHover,controlItemBgActiveDisabled:a.colorFill,controlTmpOutline:a.colorFillQuaternary,controlOutline:cm(a.colorPrimaryBg,a.colorBgContainer),lineType:a.lineType,borderRadius:a.borderRadius,borderRadiusXS:a.borderRadiusXS,borderRadiusSM:a.borderRadiusSM,borderRadiusLG:a.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:a.sizeXXS,paddingXS:a.sizeXS,paddingSM:a.sizeSM,padding:a.size,paddingMD:a.sizeMD,paddingLG:a.sizeLG,paddingXL:a.sizeXL,paddingContentHorizontalLG:a.sizeLG,paddingContentVerticalLG:a.sizeMS,paddingContentHorizontal:a.sizeMS,paddingContentVertical:a.sizeSM,paddingContentHorizontalSM:a.size,paddingContentVerticalSM:a.sizeXS,marginXXS:a.sizeXXS,marginXS:a.sizeXS,marginSM:a.sizeSM,margin:a.size,marginMD:a.sizeMD,marginLG:a.sizeLG,marginXL:a.sizeXL,marginXXL:a.sizeXXL,boxShadow:` 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05) @@ -94,7 +94,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho 0 -6px 16px 0 rgba(0, 0, 0, 0.08), 0 -3px 6px -4px rgba(0, 0, 0, 0.12), 0 -9px 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var EA=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const r=n.getDerivativeToken(e),{override:a}=t,o=EA(t,["override"]);let i=Object.assign(Object.assign({},r),{override:a});return i=F_(i),o&&Object.entries(o).forEach(s=>{let[c,u]=s;const{theme:d}=u,f=EA(u,["theme"]);let p=f;d&&(p=e9(Object.assign(Object.assign({},i),f),{override:f},d)),i[c]=p}),i};function Mr(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=le.useContext(Y7),o=`${ane}-${t||""}`,i=n||K7,[s,c,u]=kee(i,[Du,e],{salt:o,override:r,getComputedToken:e9,formatToken:F_,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:J7,ignore:ine,preserve:sne}});return[i,u,t?c:"",s,a]}const j_=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),vo={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Gt=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!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}},Qu=()=>({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"}}),Vo=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),lne=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),cne=(e,t,n,r)=>{const a=`[class^="${t}"], [class*=" ${t}"]`,o=n?`.${n}`:a,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},s),i),{[a]:i})}},Vi=e=>({outline:`${W(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),ui=e=>({"&:focus-visible":Object.assign({},Vi(e))}),t9=(e,t)=>{const[n,r]=Mr();return PI({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},Qu()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},{genStyleHooks:Kt,genComponentStyleHook:une,genSubStyleComponent:Ju}=rne({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=l.useContext(ot);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,a]=Mr();return{theme:e,realToken:t,hashId:n,token:r,cssVar:a}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=l.useContext(ot);return t9(t,e),e??{}},getResetStyles:e=>[{"&":lne(e)}],getCommonStyle:cne,getCompUnitless:()=>J7});function n9(e,t){return hp.reduce((n,r)=>{const a=e[`${r}1`],o=e[`${r}3`],i=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:a,lightBorderColor:o,darkColor:i,textColor:s}))},{})}const dne=Object.assign({},Gp),{useId:IA}=dne,fne=()=>"",pne=typeof IA>"u"?fne:IA;function gne(e,t,n){var r;Xs();const a=e||{},o=a.inherit===!1||!t?Object.assign(Object.assign({},gp),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:gp.hashed,cssVar:t==null?void 0:t.cssVar}):t,i=pne();return Ys(()=>{var s,c;if(!e)return t;const u=Object.assign({},o.components);Object.keys(e.components||{}).forEach(p=>{u[p]=Object.assign(Object.assign({},u[p]),e.components[p])});const d=`css-var-${i.replace(/:/g,"")}`,f=((s=a.cssVar)!==null&&s!==void 0?s:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof o.cssVar=="object"?o.cssVar:{}),typeof a.cssVar=="object"?a.cssVar:{}),{key:typeof a.cssVar=="object"&&((c=a.cssVar)===null||c===void 0?void 0:c.key)||d});return Object.assign(Object.assign(Object.assign({},o),a),{token:Object.assign(Object.assign({},o.token),a.token),components:u,cssVar:f})},[a,o],(s,c)=>s.some((u,d)=>{const f=c[d];return!Uo(u,f,!0)}))}var mne=["children"],r9=l.createContext({});function hne(e){var t=e.children,n=vt(e,mne);return l.createElement(r9.Provider,{value:n},t)}var vne=function(e){Qa(n,e);var t=xo(n);function n(){return kn(this,n),t.apply(this,arguments)}return An(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component);function bne(e){var t=l.useReducer(function(s){return s+1},0),n=se(t,2),r=n[1],a=l.useRef(e),o=Lt(function(){return a.current}),i=Lt(function(s){a.current=typeof s=="function"?s(a.current):s,r()});return[o,i]}var ss="none",um="appear",dm="enter",fm="leave",TA="none",ko="prepare",ru="start",au="active",B_="end",a9="prepared";function RA(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}function yne(e,t){var n={animationend:RA("Animation","AnimationEnd"),transitionend:RA("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var Sne=yne(kr(),typeof window<"u"?window:{}),o9={};if(kr()){var wne=document.createElement("div");o9=wne.style}var pm={};function i9(e){if(pm[e])return pm[e];var t=Sne[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:2;t();var o=Dt(function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)});e.current=o}return l.useEffect(function(){return function(){t()}},[]),[n,t]};var Ene=[ko,ru,au,B_],Ine=[ko,a9],d9=!1,Tne=!0;function f9(e){return e===au||e===B_}const Rne=function(e,t,n){var r=ql(TA),a=se(r,2),o=a[0],i=a[1],s=xne(),c=se(s,2),u=c[0],d=c[1];function f(){i(ko,!0)}var p=t?Ine:Ene;return u9(function(){if(o!==TA&&o!==B_){var g=p.indexOf(o),b=p[g+1],m=n(o);m===d9?i(b,!0):b&&u(function(h){function y(){h.isCanceled()||i(b,!0)}m===!0?y():Promise.resolve(m).then(y)})}},[e,o]),l.useEffect(function(){return function(){d()}},[]),[f,o]};function _ne(e,t,n,r){var a=r.motionEnter,o=a===void 0?!0:a,i=r.motionAppear,s=i===void 0?!0:i,c=r.motionLeave,u=c===void 0?!0:c,d=r.motionDeadline,f=r.motionLeaveImmediately,p=r.onAppearPrepare,g=r.onEnterPrepare,b=r.onLeavePrepare,m=r.onAppearStart,h=r.onEnterStart,y=r.onLeaveStart,v=r.onAppearActive,S=r.onEnterActive,w=r.onLeaveActive,x=r.onAppearEnd,E=r.onEnterEnd,I=r.onLeaveEnd,R=r.onVisibleChanged,T=ql(),_=se(T,2),$=_[0],D=_[1],P=bne(ss),A=se(P,2),O=A[0],N=A[1],k=ql(null),M=se(k,2),L=M[0],F=M[1],j=O(),B=l.useRef(!1),z=l.useRef(null);function H(){return n()}var U=l.useRef(!1);function Z(){N(ss),F(null,!0)}var q=Lt(function(ye){var ge=O();if(ge!==ss){var J=H();if(!(ye&&!ye.deadline&&ye.target!==J)){var ce=U.current,ue;ge===um&&ce?ue=x==null?void 0:x(J,ye):ge===dm&&ce?ue=E==null?void 0:E(J,ye):ge===fm&&ce&&(ue=I==null?void 0:I(J,ye)),ce&&ue!==!1&&Z()}}}),Y=Cne(q),te=se(Y,1),ee=te[0],X=function(ge){switch(ge){case um:return V(V(V({},ko,p),ru,m),au,v);case dm:return V(V(V({},ko,g),ru,h),au,S);case fm:return V(V(V({},ko,b),ru,y),au,w);default:return{}}},ie=l.useMemo(function(){return X(j)},[j]),re=Rne(j,!e,function(ye){if(ye===ko){var ge=ie[ko];return ge?ge(H()):d9}if(ae in ie){var J;F(((J=ie[ae])===null||J===void 0?void 0:J.call(ie,H(),null))||null)}return ae===au&&j!==ss&&(ee(H()),d>0&&(clearTimeout(z.current),z.current=setTimeout(function(){q({deadline:!0})},d))),ae===a9&&Z(),Tne}),G=se(re,2),Q=G[0],ae=G[1],oe=f9(ae);U.current=oe,u9(function(){D(t);var ye=B.current;B.current=!0;var ge;!ye&&t&&s&&(ge=um),ye&&t&&o&&(ge=dm),(ye&&!t&&u||!ye&&f&&!t&&u)&&(ge=fm);var J=X(ge);ge&&(e||J[ko])?(N(ge),Q()):N(ss)},[t]),l.useEffect(function(){(j===um&&!s||j===dm&&!o||j===fm&&!u)&&N(ss)},[s,o,u]),l.useEffect(function(){return function(){B.current=!1,clearTimeout(z.current)}},[]);var de=l.useRef(!1);l.useEffect(function(){$&&(de.current=!0),$!==void 0&&j===ss&&((de.current||$)&&(R==null||R($)),de.current=!0)},[$,j]);var ve=L;return ie[ko]&&ae===ru&&(ve=K({transition:"none"},ve)),[j,ae,ve,$??t]}function $ne(e){var t=e;ft(e)==="object"&&(t=e.transitionSupport);function n(a,o){return!!(a.motionName&&t&&o!==!1)}var r=l.forwardRef(function(a,o){var i=a.visible,s=i===void 0?!0:i,c=a.removeOnLeave,u=c===void 0?!0:c,d=a.forceRender,f=a.children,p=a.motionName,g=a.leavedClassName,b=a.eventProps,m=l.useContext(r9),h=m.motion,y=n(a,h),v=l.useRef(),S=l.useRef();function w(){try{return v.current instanceof HTMLElement?v.current:xf(S.current)}catch{return null}}var x=_ne(y,s,w,a),E=se(x,4),I=E[0],R=E[1],T=E[2],_=E[3],$=l.useRef(_);_&&($.current=!0);var D=l.useCallback(function(L){v.current=L,lp(o,L)},[o]),P,A=K(K({},b),{},{visible:s});if(!f)P=null;else if(I===ss)_?P=f(K({},A),D):!u&&$.current&&g?P=f(K(K({},A),{},{className:g}),D):d||!u&&!g?P=f(K(K({},A),{},{style:{display:"none"}}),D):P=null;else{var O;R===ko?O="prepare":f9(R)?O="active":R===ru&&(O="start");var N=OA(p,"".concat(I,"-").concat(O));P=f(K(K({},A),{},{className:ne(OA(p,I),V(V({},N,N&&O),p,typeof p=="string")),style:T}),D)}if(l.isValidElement(P)&&Ho(P)){var k=P,M=k.ref;M||(P=l.cloneElement(P,{ref:D}))}return l.createElement(vne,{ref:S},P)});return r.displayName="CSSMotion",r}const Wr=$ne(c9);var QI="add",JI="keep",eT="remove",jy="removed";function One(e){var t;return e&&ft(e)==="object"&&"key"in e?t=e:t={key:e},K(K({},t),{},{key:String(t.key)})}function tT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(One)}function Nne(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,o=tT(e),i=tT(t);o.forEach(function(u){for(var d=!1,f=r;f1});return c.forEach(function(u){n=n.filter(function(d){var f=d.key,p=d.status;return f!==u||p!==eT}),n.forEach(function(d){d.key===u&&(d.status=JI)})}),n}var kne=["component","children","onVisibleChanged","onAllRemoved"],Ane=["status"],Mne=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Dne(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Wr,n=function(r){Qa(o,r);var a=xo(o);function o(){var i;kn(this,o);for(var s=arguments.length,c=new Array(s),u=0;unull;var Fne=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at.endsWith("Color"))}const Hne=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:a}=e;t!==void 0&&(pv=t),n!==void 0&&(p9=n),"holderRender"in e&&(m9=a),r&&(zne(r)?Ute(Sh(),r):g9=r)},h9=()=>({getPrefixCls:(e,t)=>t||(e?`${Sh()}-${e}`:Sh()),getIconPrefixCls:Bne,getRootPrefixCls:()=>pv||Sh(),getTheme:()=>g9,holderRender:m9}),Une=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:a,anchor:o,form:i,locale:s,componentSize:c,direction:u,space:d,virtual:f,dropdownMatchSelectWidth:p,popupMatchSelectWidth:g,popupOverflow:b,legacyLocale:m,parentContext:h,iconPrefixCls:y,theme:v,componentDisabled:S,segmented:w,statistic:x,spin:E,calendar:I,carousel:R,cascader:T,collapse:_,typography:$,checkbox:D,descriptions:P,divider:A,drawer:O,skeleton:N,steps:k,image:M,layout:L,list:F,mentions:j,modal:B,progress:z,result:H,slider:U,breadcrumb:Z,menu:q,pagination:Y,input:te,textArea:ee,empty:X,badge:ie,radio:re,rate:G,switch:Q,transfer:ae,avatar:oe,message:de,tag:ve,table:ye,card:ge,tabs:J,timeline:ce,timePicker:ue,upload:fe,notification:pe,tree:xe,colorPicker:Te,datePicker:Pe,rangePicker:ke,flex:Ue,wave:Be,dropdown:De,warning:Se,tour:_e,floatButtonGroup:Ce,variant:Re,inputNumber:he,treeSelect:Ee}=e,je=l.useCallback((We,Ze)=>{const{prefixCls:Ye}=e;if(Ze)return Ze;const at=Ye||h.getPrefixCls("");return We?`${at}-${We}`:at},[h.getPrefixCls,e.prefixCls]),Ae=y||h.iconPrefixCls||P_,Ne=n||h.csp;t9(Ae,Ne);const ze=gne(v,h.theme,{prefixCls:je("")}),qe={csp:Ne,autoInsertSpaceInButton:r,alert:a,anchor:o,locale:s||m,direction:u,space:d,virtual:f,popupMatchSelectWidth:g??p,popupOverflow:b,getPrefixCls:je,iconPrefixCls:Ae,theme:ze,segmented:w,statistic:x,spin:E,calendar:I,carousel:R,cascader:T,collapse:_,typography:$,checkbox:D,descriptions:P,divider:A,drawer:O,skeleton:N,steps:k,image:M,input:te,textArea:ee,layout:L,list:F,mentions:j,modal:B,progress:z,result:H,slider:U,breadcrumb:Z,menu:q,pagination:Y,empty:X,badge:ie,radio:re,rate:G,switch:Q,transfer:ae,avatar:oe,message:de,tag:ve,table:ye,card:ge,tabs:J,timeline:ce,timePicker:ue,upload:fe,notification:pe,tree:xe,colorPicker:Te,datePicker:Pe,rangePicker:ke,flex:Ue,wave:Be,dropdown:De,warning:Se,tour:_e,floatButtonGroup:Ce,variant:Re,inputNumber:he,treeSelect:Ee},Le=Object.assign({},h);Object.keys(qe).forEach(We=>{qe[We]!==void 0&&(Le[We]=qe[We])}),jne.forEach(We=>{const Ze=e[We];Ze&&(Le[We]=Ze)}),typeof r<"u"&&(Le.button=Object.assign({autoInsertSpace:r},Le.button));const Ke=Ys(()=>Le,Le,(We,Ze)=>{const Ye=Object.keys(We),at=Object.keys(Ze);return Ye.length!==at.length||Ye.some(wt=>We[wt]!==Ze[wt])}),Je=l.useMemo(()=>({prefixCls:Ae,csp:Ne}),[Ae,Ne]);let Xe=l.createElement(l.Fragment,null,l.createElement(Lne,{dropdownMatchSelectWidth:p}),t);const ut=l.useMemo(()=>{var We,Ze,Ye,at;return nu(((We=ci.Form)===null||We===void 0?void 0:We.defaultValidateMessages)||{},((Ye=(Ze=Ke.locale)===null||Ze===void 0?void 0:Ze.Form)===null||Ye===void 0?void 0:Ye.defaultValidateMessages)||{},((at=Ke.form)===null||at===void 0?void 0:at.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[Ke,i==null?void 0:i.validateMessages]);Object.keys(ut).length>0&&(Xe=l.createElement(F7.Provider,{value:ut},Xe)),s&&(Xe=l.createElement(hte,{locale:s,_ANT_MARK__:mte},Xe)),(Ae||Ne)&&(Xe=l.createElement(A_.Provider,{value:Je},Xe)),c&&(Xe=l.createElement(Vte,{size:c},Xe)),Xe=l.createElement(Pne,null,Xe);const pt=l.useMemo(()=>{const We=ze||{},{algorithm:Ze,token:Ye,components:at,cssVar:wt}=We,Ct=Fne(We,["algorithm","token","components","cssVar"]),Ot=Ze&&(!Array.isArray(Ze)||Ze.length>0)?fp(Ze):K7,dt={};Object.entries(at||{}).forEach(Qe=>{let[st,St]=Qe;const et=Object.assign({},St);"algorithm"in et&&(et.algorithm===!0?et.theme=Ot:(Array.isArray(et.algorithm)||typeof et.algorithm=="function")&&(et.theme=fp(et.algorithm)),delete et.algorithm),dt[st]=et});const it=Object.assign(Object.assign({},Du),Ye);return Object.assign(Object.assign({},Ct),{theme:Ot,token:it,components:dt,override:Object.assign({override:it},dt),cssVar:wt})},[ze]);return v&&(Xe=l.createElement(Y7.Provider,{value:pt},Xe)),Ke.warning&&(Xe=l.createElement(dte.Provider,{value:Ke.warning},Xe)),S!==void 0&&(Xe=l.createElement(L_,{disabled:S},Xe)),l.createElement(ot.Provider,{value:Ke},Xe)},Ko=e=>{const t=l.useContext(ot),n=l.useContext(M_);return l.createElement(Une,Object.assign({parentContext:t,legacyLocale:n},e))};Ko.ConfigContext=ot;Ko.SizeContext=Gl;Ko.config=Hne;Ko.useConfig=Wte;Object.defineProperty(Ko,"SizeContext",{get:()=>Gl});var Vne={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function v9(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Wne(e){return v9(e)instanceof ShadowRoot}function gv(e){return Wne(e)?v9(e):null}function Gne(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function qne(e,t){cn(e,"[@ant-design/icons] ".concat(t))}function NA(e){return ft(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(ft(e.icon)==="object"||typeof e.icon=="function")}function kA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[Gne(n)]=r}return t},{})}function nT(e,t,n){return n?le.createElement(e.tag,K(K({key:t},kA(e.attrs)),n),(e.children||[]).map(function(r,a){return nT(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):le.createElement(e.tag,K({key:t},kA(e.attrs)),(e.children||[]).map(function(r,a){return nT(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function b9(e){return Wl(e)[0]}function y9(e){return e?Array.isArray(e)?e:[e]:[]}var Kne=` + `,boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var EA=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const r=n.getDerivativeToken(e),{override:a}=t,o=EA(t,["override"]);let i=Object.assign(Object.assign({},r),{override:a});return i=F_(i),o&&Object.entries(o).forEach(s=>{let[c,u]=s;const{theme:d}=u,f=EA(u,["theme"]);let p=f;d&&(p=e9(Object.assign(Object.assign({},i),f),{override:f},d)),i[c]=p}),i};function Mr(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=le.useContext(Y7),o=`${ane}-${t||""}`,i=n||K7,[s,c,u]=kee(i,[Du,e],{salt:o,override:r,getComputedToken:e9,formatToken:F_,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:J7,ignore:ine,preserve:sne}});return[i,u,t?c:"",s,a]}const j_=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),vo={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},Gt=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!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}},Qu=()=>({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"}}),Vo=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),lne=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),cne=(e,t,n,r)=>{const a=`[class^="${t}"], [class*=" ${t}"]`,o=n?`.${n}`:a,i={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},s),i),{[a]:i})}},Vi=e=>({outline:`${W(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),ui=e=>({"&:focus-visible":Object.assign({},Vi(e))}),t9=(e,t)=>{const[n,r]=Mr();return PI({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[{[`.${e}`]:Object.assign(Object.assign({},Qu()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},{genStyleHooks:Kt,genComponentStyleHook:une,genSubStyleComponent:Ju}=rne({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=l.useContext(ot);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,a]=Mr();return{theme:e,realToken:t,hashId:n,token:r,cssVar:a}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=l.useContext(ot);return t9(t,e),e??{}},getResetStyles:e=>[{"&":lne(e)}],getCommonStyle:cne,getCompUnitless:()=>J7});function n9(e,t){return hp.reduce((n,r)=>{const a=e[`${r}1`],o=e[`${r}3`],i=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:a,lightBorderColor:o,darkColor:i,textColor:s}))},{})}const dne=Object.assign({},Gp),{useId:IA}=dne,fne=()=>"",pne=typeof IA>"u"?fne:IA;function gne(e,t,n){var r;Xs();const a=e||{},o=a.inherit===!1||!t?Object.assign(Object.assign({},gp),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:gp.hashed,cssVar:t==null?void 0:t.cssVar}):t,i=pne();return Ys(()=>{var s,c;if(!e)return t;const u=Object.assign({},o.components);Object.keys(e.components||{}).forEach(p=>{u[p]=Object.assign(Object.assign({},u[p]),e.components[p])});const d=`css-var-${i.replace(/:/g,"")}`,f=((s=a.cssVar)!==null&&s!==void 0?s:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof o.cssVar=="object"?o.cssVar:{}),typeof a.cssVar=="object"?a.cssVar:{}),{key:typeof a.cssVar=="object"&&((c=a.cssVar)===null||c===void 0?void 0:c.key)||d});return Object.assign(Object.assign(Object.assign({},o),a),{token:Object.assign(Object.assign({},o.token),a.token),components:u,cssVar:f})},[a,o],(s,c)=>s.some((u,d)=>{const f=c[d];return!Uo(u,f,!0)}))}var mne=["children"],r9=l.createContext({});function hne(e){var t=e.children,n=vt(e,mne);return l.createElement(r9.Provider,{value:n},t)}var vne=function(e){Qa(n,e);var t=xo(n);function n(){return kn(this,n),t.apply(this,arguments)}return An(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component);function bne(e){var t=l.useReducer(function(s){return s+1},0),n=se(t,2),r=n[1],a=l.useRef(e),o=Lt(function(){return a.current}),i=Lt(function(s){a.current=typeof s=="function"?s(a.current):s,r()});return[o,i]}var ss="none",um="appear",dm="enter",fm="leave",TA="none",ko="prepare",ru="start",au="active",B_="end",a9="prepared";function RA(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}function yne(e,t){var n={animationend:RA("Animation","AnimationEnd"),transitionend:RA("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var Sne=yne(kr(),typeof window<"u"?window:{}),o9={};if(kr()){var wne=document.createElement("div");o9=wne.style}var pm={};function i9(e){if(pm[e])return pm[e];var t=Sne[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:2;t();var o=Dt(function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)});e.current=o}return l.useEffect(function(){return function(){t()}},[]),[n,t]};var Ene=[ko,ru,au,B_],Ine=[ko,a9],d9=!1,Tne=!0;function f9(e){return e===au||e===B_}const Rne=function(e,t,n){var r=ql(TA),a=se(r,2),o=a[0],i=a[1],s=xne(),c=se(s,2),u=c[0],d=c[1];function f(){i(ko,!0)}var p=t?Ine:Ene;return u9(function(){if(o!==TA&&o!==B_){var g=p.indexOf(o),v=p[g+1],m=n(o);m===d9?i(v,!0):v&&u(function(h){function y(){h.isCanceled()||i(v,!0)}m===!0?y():Promise.resolve(m).then(y)})}},[e,o]),l.useEffect(function(){return function(){d()}},[]),[f,o]};function _ne(e,t,n,r){var a=r.motionEnter,o=a===void 0?!0:a,i=r.motionAppear,s=i===void 0?!0:i,c=r.motionLeave,u=c===void 0?!0:c,d=r.motionDeadline,f=r.motionLeaveImmediately,p=r.onAppearPrepare,g=r.onEnterPrepare,v=r.onLeavePrepare,m=r.onAppearStart,h=r.onEnterStart,y=r.onLeaveStart,b=r.onAppearActive,S=r.onEnterActive,w=r.onLeaveActive,x=r.onAppearEnd,E=r.onEnterEnd,I=r.onLeaveEnd,R=r.onVisibleChanged,T=ql(),_=se(T,2),$=_[0],D=_[1],P=bne(ss),A=se(P,2),O=A[0],N=A[1],k=ql(null),M=se(k,2),L=M[0],F=M[1],j=O(),B=l.useRef(!1),z=l.useRef(null);function H(){return n()}var U=l.useRef(!1);function Z(){N(ss),F(null,!0)}var q=Lt(function(ye){var ge=O();if(ge!==ss){var J=H();if(!(ye&&!ye.deadline&&ye.target!==J)){var ce=U.current,ue;ge===um&&ce?ue=x==null?void 0:x(J,ye):ge===dm&&ce?ue=E==null?void 0:E(J,ye):ge===fm&&ce&&(ue=I==null?void 0:I(J,ye)),ce&&ue!==!1&&Z()}}}),Y=Cne(q),ee=se(Y,1),te=ee[0],X=function(ge){switch(ge){case um:return V(V(V({},ko,p),ru,m),au,b);case dm:return V(V(V({},ko,g),ru,h),au,S);case fm:return V(V(V({},ko,v),ru,y),au,w);default:return{}}},ie=l.useMemo(function(){return X(j)},[j]),re=Rne(j,!e,function(ye){if(ye===ko){var ge=ie[ko];return ge?ge(H()):d9}if(ae in ie){var J;F(((J=ie[ae])===null||J===void 0?void 0:J.call(ie,H(),null))||null)}return ae===au&&j!==ss&&(te(H()),d>0&&(clearTimeout(z.current),z.current=setTimeout(function(){q({deadline:!0})},d))),ae===a9&&Z(),Tne}),G=se(re,2),Q=G[0],ae=G[1],oe=f9(ae);U.current=oe,u9(function(){D(t);var ye=B.current;B.current=!0;var ge;!ye&&t&&s&&(ge=um),ye&&t&&o&&(ge=dm),(ye&&!t&&u||!ye&&f&&!t&&u)&&(ge=fm);var J=X(ge);ge&&(e||J[ko])?(N(ge),Q()):N(ss)},[t]),l.useEffect(function(){(j===um&&!s||j===dm&&!o||j===fm&&!u)&&N(ss)},[s,o,u]),l.useEffect(function(){return function(){B.current=!1,clearTimeout(z.current)}},[]);var de=l.useRef(!1);l.useEffect(function(){$&&(de.current=!0),$!==void 0&&j===ss&&((de.current||$)&&(R==null||R($)),de.current=!0)},[$,j]);var ve=L;return ie[ko]&&ae===ru&&(ve=K({transition:"none"},ve)),[j,ae,ve,$??t]}function $ne(e){var t=e;ft(e)==="object"&&(t=e.transitionSupport);function n(a,o){return!!(a.motionName&&t&&o!==!1)}var r=l.forwardRef(function(a,o){var i=a.visible,s=i===void 0?!0:i,c=a.removeOnLeave,u=c===void 0?!0:c,d=a.forceRender,f=a.children,p=a.motionName,g=a.leavedClassName,v=a.eventProps,m=l.useContext(r9),h=m.motion,y=n(a,h),b=l.useRef(),S=l.useRef();function w(){try{return b.current instanceof HTMLElement?b.current:xf(S.current)}catch{return null}}var x=_ne(y,s,w,a),E=se(x,4),I=E[0],R=E[1],T=E[2],_=E[3],$=l.useRef(_);_&&($.current=!0);var D=l.useCallback(function(L){b.current=L,lp(o,L)},[o]),P,A=K(K({},v),{},{visible:s});if(!f)P=null;else if(I===ss)_?P=f(K({},A),D):!u&&$.current&&g?P=f(K(K({},A),{},{className:g}),D):d||!u&&!g?P=f(K(K({},A),{},{style:{display:"none"}}),D):P=null;else{var O;R===ko?O="prepare":f9(R)?O="active":R===ru&&(O="start");var N=OA(p,"".concat(I,"-").concat(O));P=f(K(K({},A),{},{className:ne(OA(p,I),V(V({},N,N&&O),p,typeof p=="string")),style:T}),D)}if(l.isValidElement(P)&&Ho(P)){var k=P,M=k.ref;M||(P=l.cloneElement(P,{ref:D}))}return l.createElement(vne,{ref:S},P)});return r.displayName="CSSMotion",r}const Wr=$ne(c9);var QI="add",JI="keep",eT="remove",jy="removed";function One(e){var t;return e&&ft(e)==="object"&&"key"in e?t=e:t={key:e},K(K({},t),{},{key:String(t.key)})}function tT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(One)}function Nne(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,o=tT(e),i=tT(t);o.forEach(function(u){for(var d=!1,f=r;f1});return c.forEach(function(u){n=n.filter(function(d){var f=d.key,p=d.status;return f!==u||p!==eT}),n.forEach(function(d){d.key===u&&(d.status=JI)})}),n}var kne=["component","children","onVisibleChanged","onAllRemoved"],Ane=["status"],Mne=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Dne(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Wr,n=function(r){Qa(o,r);var a=xo(o);function o(){var i;kn(this,o);for(var s=arguments.length,c=new Array(s),u=0;unull;var Fne=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at.endsWith("Color"))}const Hne=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:a}=e;t!==void 0&&(pv=t),n!==void 0&&(p9=n),"holderRender"in e&&(m9=a),r&&(zne(r)?Ute(Sh(),r):g9=r)},h9=()=>({getPrefixCls:(e,t)=>t||(e?`${Sh()}-${e}`:Sh()),getIconPrefixCls:Bne,getRootPrefixCls:()=>pv||Sh(),getTheme:()=>g9,holderRender:m9}),Une=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:a,anchor:o,form:i,locale:s,componentSize:c,direction:u,space:d,virtual:f,dropdownMatchSelectWidth:p,popupMatchSelectWidth:g,popupOverflow:v,legacyLocale:m,parentContext:h,iconPrefixCls:y,theme:b,componentDisabled:S,segmented:w,statistic:x,spin:E,calendar:I,carousel:R,cascader:T,collapse:_,typography:$,checkbox:D,descriptions:P,divider:A,drawer:O,skeleton:N,steps:k,image:M,layout:L,list:F,mentions:j,modal:B,progress:z,result:H,slider:U,breadcrumb:Z,menu:q,pagination:Y,input:ee,textArea:te,empty:X,badge:ie,radio:re,rate:G,switch:Q,transfer:ae,avatar:oe,message:de,tag:ve,table:ye,card:ge,tabs:J,timeline:ce,timePicker:ue,upload:fe,notification:pe,tree:xe,colorPicker:Te,datePicker:Pe,rangePicker:ke,flex:Ue,wave:Be,dropdown:De,warning:Se,tour:_e,floatButtonGroup:Ce,variant:Re,inputNumber:he,treeSelect:Ee}=e,je=l.useCallback((We,Ze)=>{const{prefixCls:Ye}=e;if(Ze)return Ze;const at=Ye||h.getPrefixCls("");return We?`${at}-${We}`:at},[h.getPrefixCls,e.prefixCls]),Ae=y||h.iconPrefixCls||P_,Ne=n||h.csp;t9(Ae,Ne);const ze=gne(b,h.theme,{prefixCls:je("")}),qe={csp:Ne,autoInsertSpaceInButton:r,alert:a,anchor:o,locale:s||m,direction:u,space:d,virtual:f,popupMatchSelectWidth:g??p,popupOverflow:v,getPrefixCls:je,iconPrefixCls:Ae,theme:ze,segmented:w,statistic:x,spin:E,calendar:I,carousel:R,cascader:T,collapse:_,typography:$,checkbox:D,descriptions:P,divider:A,drawer:O,skeleton:N,steps:k,image:M,input:ee,textArea:te,layout:L,list:F,mentions:j,modal:B,progress:z,result:H,slider:U,breadcrumb:Z,menu:q,pagination:Y,empty:X,badge:ie,radio:re,rate:G,switch:Q,transfer:ae,avatar:oe,message:de,tag:ve,table:ye,card:ge,tabs:J,timeline:ce,timePicker:ue,upload:fe,notification:pe,tree:xe,colorPicker:Te,datePicker:Pe,rangePicker:ke,flex:Ue,wave:Be,dropdown:De,warning:Se,tour:_e,floatButtonGroup:Ce,variant:Re,inputNumber:he,treeSelect:Ee},Le=Object.assign({},h);Object.keys(qe).forEach(We=>{qe[We]!==void 0&&(Le[We]=qe[We])}),jne.forEach(We=>{const Ze=e[We];Ze&&(Le[We]=Ze)}),typeof r<"u"&&(Le.button=Object.assign({autoInsertSpace:r},Le.button));const Ke=Ys(()=>Le,Le,(We,Ze)=>{const Ye=Object.keys(We),at=Object.keys(Ze);return Ye.length!==at.length||Ye.some(wt=>We[wt]!==Ze[wt])}),Je=l.useMemo(()=>({prefixCls:Ae,csp:Ne}),[Ae,Ne]);let Xe=l.createElement(l.Fragment,null,l.createElement(Lne,{dropdownMatchSelectWidth:p}),t);const ut=l.useMemo(()=>{var We,Ze,Ye,at;return nu(((We=ci.Form)===null||We===void 0?void 0:We.defaultValidateMessages)||{},((Ye=(Ze=Ke.locale)===null||Ze===void 0?void 0:Ze.Form)===null||Ye===void 0?void 0:Ye.defaultValidateMessages)||{},((at=Ke.form)===null||at===void 0?void 0:at.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[Ke,i==null?void 0:i.validateMessages]);Object.keys(ut).length>0&&(Xe=l.createElement(F7.Provider,{value:ut},Xe)),s&&(Xe=l.createElement(hte,{locale:s,_ANT_MARK__:mte},Xe)),(Ae||Ne)&&(Xe=l.createElement(A_.Provider,{value:Je},Xe)),c&&(Xe=l.createElement(Vte,{size:c},Xe)),Xe=l.createElement(Pne,null,Xe);const pt=l.useMemo(()=>{const We=ze||{},{algorithm:Ze,token:Ye,components:at,cssVar:wt}=We,Ct=Fne(We,["algorithm","token","components","cssVar"]),Ot=Ze&&(!Array.isArray(Ze)||Ze.length>0)?fp(Ze):K7,dt={};Object.entries(at||{}).forEach(Qe=>{let[st,St]=Qe;const et=Object.assign({},St);"algorithm"in et&&(et.algorithm===!0?et.theme=Ot:(Array.isArray(et.algorithm)||typeof et.algorithm=="function")&&(et.theme=fp(et.algorithm)),delete et.algorithm),dt[st]=et});const it=Object.assign(Object.assign({},Du),Ye);return Object.assign(Object.assign({},Ct),{theme:Ot,token:it,components:dt,override:Object.assign({override:it},dt),cssVar:wt})},[ze]);return b&&(Xe=l.createElement(Y7.Provider,{value:pt},Xe)),Ke.warning&&(Xe=l.createElement(dte.Provider,{value:Ke.warning},Xe)),S!==void 0&&(Xe=l.createElement(L_,{disabled:S},Xe)),l.createElement(ot.Provider,{value:Ke},Xe)},Ko=e=>{const t=l.useContext(ot),n=l.useContext(M_);return l.createElement(Une,Object.assign({parentContext:t,legacyLocale:n},e))};Ko.ConfigContext=ot;Ko.SizeContext=Gl;Ko.config=Hne;Ko.useConfig=Wte;Object.defineProperty(Ko,"SizeContext",{get:()=>Gl});var Vne={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 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};function v9(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Wne(e){return v9(e)instanceof ShadowRoot}function gv(e){return Wne(e)?v9(e):null}function Gne(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function qne(e,t){cn(e,"[@ant-design/icons] ".concat(t))}function NA(e){return ft(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(ft(e.icon)==="object"||typeof e.icon=="function")}function kA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[Gne(n)]=r}return t},{})}function nT(e,t,n){return n?le.createElement(e.tag,K(K({key:t},kA(e.attrs)),n),(e.children||[]).map(function(r,a){return nT(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):le.createElement(e.tag,K({key:t},kA(e.attrs)),(e.children||[]).map(function(r,a){return nT(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function b9(e){return Wl(e)[0]}function y9(e){return e?Array.isArray(e)?e:[e]:[]}var Kne=` .anticon { display: inline-flex; align-items: center; @@ -149,7 +149,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho transform: rotate(360deg); } } -`,Yne=function(t){var n=l.useContext(A_),r=n.csp,a=n.prefixCls,o=Kne;a&&(o=o.replace(/anticon/g,a)),l.useEffect(function(){var i=t.current,s=gv(i);Fi(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},Xne=["icon","className","onClick","style","primaryColor","secondaryColor"],Tf={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Zne(e){var t=e.primaryColor,n=e.secondaryColor;Tf.primaryColor=t,Tf.secondaryColor=n||b9(t),Tf.calculated=!!n}function Qne(){return K({},Tf)}var ed=function(t){var n=t.icon,r=t.className,a=t.onClick,o=t.style,i=t.primaryColor,s=t.secondaryColor,c=vt(t,Xne),u=l.useRef(),d=Tf;if(i&&(d={primaryColor:i,secondaryColor:s||b9(i)}),Yne(u),qne(NA(n),"icon should be icon definiton, but got ".concat(n)),!NA(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=K(K({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),nT(f.icon,"svg-".concat(f.name),K(K({className:r,onClick:a,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};ed.displayName="IconReact";ed.getTwoToneColors=Qne;ed.setTwoToneColors=Zne;function S9(e){var t=y9(e),n=se(t,2),r=n[0],a=n[1];return ed.setTwoToneColors({primaryColor:r,secondaryColor:a})}function Jne(){var e=ed.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var ere=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];S9(Mu.primary);var rt=l.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,o=e.rotate,i=e.tabIndex,s=e.onClick,c=e.twoToneColor,u=vt(e,ere),d=l.useContext(A_),f=d.prefixCls,p=f===void 0?"anticon":f,g=d.rootClassName,b=ne(g,p,V(V({},"".concat(p,"-").concat(r.name),!!r.name),"".concat(p,"-spin"),!!a||r.name==="loading"),n),m=i;m===void 0&&s&&(m=-1);var h=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,y=y9(c),v=se(y,2),S=v[0],w=v[1];return l.createElement("span",be({role:"img","aria-label":r.name},u,{ref:t,tabIndex:m,onClick:s,className:b}),l.createElement(ed,{icon:r,primaryColor:S,secondaryColor:w,style:h}))});rt.displayName="AntdIcon";rt.getTwoToneColor=Jne;rt.setTwoToneColor=S9;var tre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Vne}))},Qp=l.forwardRef(tre),nre={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"},rre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:nre}))},ic=l.forwardRef(rre),are={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"},ore=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:are}))},da=l.forwardRef(ore),ire={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-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},sre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:ire}))},Rb=l.forwardRef(sre),lre={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},cre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:lre}))},H_=l.forwardRef(cre),ure=`accept acceptCharset accessKey action allowFullScreen allowTransparency +`,Yne=function(t){var n=l.useContext(A_),r=n.csp,a=n.prefixCls,o=Kne;a&&(o=o.replace(/anticon/g,a)),l.useEffect(function(){var i=t.current,s=gv(i);Fi(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},Xne=["icon","className","onClick","style","primaryColor","secondaryColor"],Tf={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Zne(e){var t=e.primaryColor,n=e.secondaryColor;Tf.primaryColor=t,Tf.secondaryColor=n||b9(t),Tf.calculated=!!n}function Qne(){return K({},Tf)}var ed=function(t){var n=t.icon,r=t.className,a=t.onClick,o=t.style,i=t.primaryColor,s=t.secondaryColor,c=vt(t,Xne),u=l.useRef(),d=Tf;if(i&&(d={primaryColor:i,secondaryColor:s||b9(i)}),Yne(u),qne(NA(n),"icon should be icon definiton, but got ".concat(n)),!NA(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=K(K({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),nT(f.icon,"svg-".concat(f.name),K(K({className:r,onClick:a,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};ed.displayName="IconReact";ed.getTwoToneColors=Qne;ed.setTwoToneColors=Zne;function S9(e){var t=y9(e),n=se(t,2),r=n[0],a=n[1];return ed.setTwoToneColors({primaryColor:r,secondaryColor:a})}function Jne(){var e=ed.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var ere=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];S9(Mu.primary);var rt=l.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,o=e.rotate,i=e.tabIndex,s=e.onClick,c=e.twoToneColor,u=vt(e,ere),d=l.useContext(A_),f=d.prefixCls,p=f===void 0?"anticon":f,g=d.rootClassName,v=ne(g,p,V(V({},"".concat(p,"-").concat(r.name),!!r.name),"".concat(p,"-spin"),!!a||r.name==="loading"),n),m=i;m===void 0&&s&&(m=-1);var h=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,y=y9(c),b=se(y,2),S=b[0],w=b[1];return l.createElement("span",be({role:"img","aria-label":r.name},u,{ref:t,tabIndex:m,onClick:s,className:v}),l.createElement(ed,{icon:r,primaryColor:S,secondaryColor:w,style:h}))});rt.displayName="AntdIcon";rt.getTwoToneColor=Jne;rt.setTwoToneColor=S9;var tre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Vne}))},Qp=l.forwardRef(tre),nre={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"},rre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:nre}))},ic=l.forwardRef(rre),are={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"},ore=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:are}))},da=l.forwardRef(ore),ire={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-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},sre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:ire}))},Rb=l.forwardRef(sre),lre={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},cre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:lre}))},H_=l.forwardRef(cre),ure=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable @@ -166,31 +166,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata - onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,fre="".concat(ure," ").concat(dre).split(/[\s\n]+/),pre="aria-",gre="data-";function AA(e,t){return e.indexOf(t)===0}function Nn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=K({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||AA(a,pre))||n.data&&AA(a,gre)||n.attr&&fre.includes(a))&&(r[a]=e[a])}),r}function w9(e){return e&&le.isValidElement(e)&&e.type===le.Fragment}const U_=(e,t,n)=>le.isValidElement(e)?le.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function lr(e,t){return U_(e,e,t)}const gm=(e,t,n,r,a)=>({background:e,border:`${W(r.lineWidth)} ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),mre=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:a,fontSize:o,fontSizeLG:i,lineHeight:s,borderRadiusLG:c,motionEaseInOutCirc:u,withDescriptionIconSize:d,colorText:f,colorTextHeading:p,withDescriptionPadding:g,defaultPadding:b}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",display:"flex",alignItems:"center",padding:b,wordWrap:"break-word",borderRadius:c,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:s},"&-message":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, + onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,fre="".concat(ure," ").concat(dre).split(/[\s\n]+/),pre="aria-",gre="data-";function AA(e,t){return e.indexOf(t)===0}function Nn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=K({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||AA(a,pre))||n.data&&AA(a,gre)||n.attr&&fre.includes(a))&&(r[a]=e[a])}),r}function w9(e){return e&&le.isValidElement(e)&&e.type===le.Fragment}const U_=(e,t,n)=>le.isValidElement(e)?le.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function lr(e,t){return U_(e,e,t)}const gm=(e,t,n,r,a)=>({background:e,border:`${W(r.lineWidth)} ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),mre=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:a,fontSize:o,fontSizeLG:i,lineHeight:s,borderRadiusLG:c,motionEaseInOutCirc:u,withDescriptionIconSize:d,colorText:f,colorTextHeading:p,withDescriptionPadding:g,defaultPadding:v}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",display:"flex",alignItems:"center",padding:v,wordWrap:"break-word",borderRadius:c,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:s},"&-message":{color:p},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${u}, opacity ${n} ${u}, padding-top ${n} ${u}, padding-bottom ${n} ${u}, - margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:g,[`${t}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:p,fontSize:i},[`${t}-description`]:{display:"block",color:f}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},hre=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:a,colorWarning:o,colorWarningBorder:i,colorWarningBg:s,colorError:c,colorErrorBorder:u,colorErrorBg:d,colorInfo:f,colorInfoBorder:p,colorInfoBg:g}=e;return{[t]:{"&-success":gm(a,r,n,e,t),"&-info":gm(g,p,f,e,t),"&-warning":gm(s,i,o,e,t),"&-error":Object.assign(Object.assign({},gm(d,u,c,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},vre=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:a,fontSizeIcon:o,colorIcon:i,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:a},[`${t}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:o,lineHeight:W(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:i,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:i,transition:`color ${r}`,"&:hover":{color:s}}}}},bre=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),yre=Kt("Alert",e=>[mre(e),hre(e),vre(e)],bre);var MA=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{icon:t,prefixCls:n,type:r}=e,a=Sre[r]||null;return t?U_(t,l.createElement("span",{className:`${n}-icon`},t),()=>({className:ne(`${n}-icon`,{[t.props.className]:t.props.className})})):l.createElement(a,{className:`${n}-icon`})},Cre=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:a,ariaProps:o}=e,i=r===!0||r===void 0?l.createElement(da,null):r;return t?l.createElement("button",Object.assign({type:"button",onClick:a,className:`${n}-close-icon`,tabIndex:0},o),i):null},C9=l.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:a,banner:o,className:i,rootClassName:s,style:c,onMouseEnter:u,onMouseLeave:d,onClick:f,afterClose:p,showIcon:g,closable:b,closeText:m,closeIcon:h,action:y,id:v}=e,S=MA(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[w,x]=l.useState(!1),E=l.useRef(null);l.useImperativeHandle(t,()=>({nativeElement:E.current}));const{getPrefixCls:I,direction:R,alert:T}=l.useContext(ot),_=I("alert",r),[$,D,P]=yre(_),A=B=>{var z;x(!0),(z=e.onClose)===null||z===void 0||z.call(e,B)},O=l.useMemo(()=>e.type!==void 0?e.type:o?"warning":"info",[e.type,o]),N=l.useMemo(()=>typeof b=="object"&&b.closeIcon||m?!0:typeof b=="boolean"?b:h!==!1&&h!==null&&h!==void 0?!0:!!(T!=null&&T.closable),[m,h,b,T==null?void 0:T.closable]),k=o&&g===void 0?!0:g,M=ne(_,`${_}-${O}`,{[`${_}-with-description`]:!!n,[`${_}-no-icon`]:!k,[`${_}-banner`]:!!o,[`${_}-rtl`]:R==="rtl"},T==null?void 0:T.className,i,s,P,D),L=Nn(S,{aria:!0,data:!0}),F=l.useMemo(()=>{var B,z;return typeof b=="object"&&b.closeIcon?b.closeIcon:m||(h!==void 0?h:typeof(T==null?void 0:T.closable)=="object"&&(!((B=T==null?void 0:T.closable)===null||B===void 0)&&B.closeIcon)?(z=T==null?void 0:T.closable)===null||z===void 0?void 0:z.closeIcon:T==null?void 0:T.closeIcon)},[h,b,m,T==null?void 0:T.closeIcon]),j=l.useMemo(()=>{const B=b??(T==null?void 0:T.closable);return typeof B=="object"?MA(B,["closeIcon"]):{}},[b,T==null?void 0:T.closable]);return $(l.createElement(Wr,{visible:!w,motionName:`${_}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:B=>({maxHeight:B.offsetHeight}),onLeaveEnd:p},(B,z)=>{let{className:H,style:U}=B;return l.createElement("div",Object.assign({id:v,ref:Ar(E,z),"data-show":!w,className:ne(M,H),style:Object.assign(Object.assign(Object.assign({},T==null?void 0:T.style),c),U),onMouseEnter:u,onMouseLeave:d,onClick:f,role:"alert"},L),k?l.createElement(wre,{description:n,icon:e.icon,prefixCls:_,type:O}):null,l.createElement("div",{className:`${_}-content`},a?l.createElement("div",{className:`${_}-message`},a):null,n?l.createElement("div",{className:`${_}-description`},n):null),y?l.createElement("div",{className:`${_}-action`},y):null,l.createElement(Cre,{isClosable:N,prefixCls:_,closeIcon:F,handleClose:A,ariaProps:j}))}))});function xre(e,t,n){return t=Vl(t),s7(e,Sb()?Reflect.construct(t,n||[],Vl(e).constructor):t.apply(e,n))}let Ere=function(e){function t(){var n;return kn(this,t),n=xre(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Qa(t,e),An(t,[{key:"componentDidCatch",value:function(r,a){this.setState({error:r,info:a})}},{key:"render",value:function(){const{message:r,description:a,id:o,children:i}=this.props,{error:s,info:c}=this.state,u=(c==null?void 0:c.componentStack)||null,d=typeof r>"u"?(s||"").toString():r,f=typeof a>"u"?u:a;return s?l.createElement(C9,{id:o,type:"error",message:d,description:l.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},f)}):i}}])}(l.Component);const na=C9;na.ErrorBoundary=Ere;const DA=e=>typeof e=="object"&&e!=null&&e.nodeType===1,PA=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",By=(e,t)=>{if(e.clientHeight{const a=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!a&&(a.clientHeightot||o>e&&i=t&&s>=n?o-e-r:i>t&&sn?i-t+a:0,Ire=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},LA=(e,t)=>{var n,r,a,o;if(typeof document>"u")return[];const{scrollMode:i,block:s,inline:c,boundary:u,skipOverflowHiddenElements:d}=t,f=typeof u=="function"?u:N=>N!==u;if(!DA(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,g=[];let b=e;for(;DA(b)&&f(b);){if(b=Ire(b),b===p){g.push(b);break}b!=null&&b===document.body&&By(b)&&!By(document.documentElement)||b!=null&&By(b,d)&&g.push(b)}const m=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,h=(o=(a=window.visualViewport)==null?void 0:a.height)!=null?o:innerHeight,{scrollX:y,scrollY:v}=window,{height:S,width:w,top:x,right:E,bottom:I,left:R}=e.getBoundingClientRect(),{top:T,right:_,bottom:$,left:D}=(N=>{const k=window.getComputedStyle(N);return{top:parseFloat(k.scrollMarginTop)||0,right:parseFloat(k.scrollMarginRight)||0,bottom:parseFloat(k.scrollMarginBottom)||0,left:parseFloat(k.scrollMarginLeft)||0}})(e);let P=s==="start"||s==="nearest"?x-T:s==="end"?I+$:x+S/2-T+$,A=c==="center"?R+w/2-D+_:c==="end"?E+_:R-D;const O=[];for(let N=0;N=0&&R>=0&&I<=h&&E<=m&&x>=F&&I<=B&&R>=z&&E<=j)return O;const H=getComputedStyle(k),U=parseInt(H.borderLeftWidth,10),Z=parseInt(H.borderTopWidth,10),q=parseInt(H.borderRightWidth,10),Y=parseInt(H.borderBottomWidth,10);let te=0,ee=0;const X="offsetWidth"in k?k.offsetWidth-k.clientWidth-U-q:0,ie="offsetHeight"in k?k.offsetHeight-k.clientHeight-Z-Y:0,re="offsetWidth"in k?k.offsetWidth===0?0:L/k.offsetWidth:0,G="offsetHeight"in k?k.offsetHeight===0?0:M/k.offsetHeight:0;if(p===k)te=s==="start"?P:s==="end"?P-h:s==="nearest"?mm(v,v+h,h,Z,Y,v+P,v+P+S,S):P-h/2,ee=c==="start"?A:c==="center"?A-m/2:c==="end"?A-m:mm(y,y+m,m,U,q,y+A,y+A+w,w),te=Math.max(0,te+v),ee=Math.max(0,ee+y);else{te=s==="start"?P-F-Z:s==="end"?P-B+Y+ie:s==="nearest"?mm(F,B,M,Z,Y+ie,P,P+S,S):P-(F+M/2)+ie/2,ee=c==="start"?A-z-U:c==="center"?A-(z+L/2)+X/2:c==="end"?A-j+q+X:mm(z,j,L,U,q+X,A,A+w,w);const{scrollLeft:Q,scrollTop:ae}=k;te=G===0?0:Math.max(0,Math.min(ae+te/G,k.scrollHeight-M/G+ie)),ee=re===0?0:Math.max(0,Math.min(Q+ee/re,k.scrollWidth-L/re+X)),P+=ae-te,A+=Q-ee}O.push({el:k,top:te,left:ee})}return O},Tre=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Rre(e,t){if(!e.isConnected||!(a=>{let o=a;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;const n=(a=>{const o=window.getComputedStyle(a);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(e);if((a=>typeof a=="object"&&typeof a.behavior=="function")(t))return t.behavior(LA(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:a,top:o,left:i}of LA(e,Tre(t))){const s=o-n.top+n.bottom,c=i-n.left+n.right;a.scroll({top:s,left:c,behavior:r})}}function rT(e){return e!=null&&e===e.window}const _re=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return rT(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!rT(e)&&typeof r!="number"&&(r=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),r};function $re(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function Ore(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:a=450}=t,o=n(),i=_re(o),s=Date.now(),c=()=>{const d=Date.now()-s,f=$re(d>a?a:d,i,e,a);rT(o)?o.scrollTo(window.pageXOffset,f):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=f:o.scrollTop=f,d{const[,,,,t]=Mr();return t?`${e}-css-var`:""};var Me={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(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=Me.F1&&n<=Me.F12)return!1;switch(n){case Me.ALT:case Me.CAPS_LOCK:case Me.CONTEXT_MENU:case Me.CTRL:case Me.DOWN:case Me.END:case Me.ESC:case Me.HOME:case Me.INSERT:case Me.LEFT:case Me.MAC_FF_META:case Me.META:case Me.NUMLOCK:case Me.NUM_CENTER:case Me.PAGE_DOWN:case Me.PAGE_UP:case Me.PAUSE:case Me.PRINT_SCREEN:case Me.RIGHT:case Me.SHIFT:case Me.UP:case Me.WIN_KEY:case Me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Me.ZERO&&t<=Me.NINE||t>=Me.NUM_ZERO&&t<=Me.NUM_MULTIPLY||t>=Me.A&&t<=Me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Me.SPACE:case Me.QUESTION_MARK:case Me.NUM_PLUS:case Me.NUM_MINUS:case Me.NUM_PERIOD:case Me.NUM_DIVISION:case Me.SEMICOLON:case Me.DASH:case Me.EQUALS:case Me.COMMA:case Me.PERIOD:case Me.SLASH:case Me.APOSTROPHE:case Me.SINGLE_QUOTE:case Me.OPEN_SQUARE_BRACKET:case Me.BACKSLASH:case Me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},x9=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.className,o=e.duration,i=o===void 0?4.5:o,s=e.showProgress,c=e.pauseOnHover,u=c===void 0?!0:c,d=e.eventKey,f=e.content,p=e.closable,g=e.closeIcon,b=g===void 0?"x":g,m=e.props,h=e.onClick,y=e.onNoticeClose,v=e.times,S=e.hovering,w=l.useState(!1),x=se(w,2),E=x[0],I=x[1],R=l.useState(0),T=se(R,2),_=T[0],$=T[1],D=l.useState(0),P=se(D,2),A=P[0],O=P[1],N=S||E,k=i>0&&s,M=function(){y(d)},L=function(U){(U.key==="Enter"||U.code==="Enter"||U.keyCode===Me.ENTER)&&M()};l.useEffect(function(){if(!N&&i>0){var H=Date.now()-A,U=setTimeout(function(){M()},i*1e3-A);return function(){u&&clearTimeout(U),O(Date.now()-H)}}},[i,N,v]),l.useEffect(function(){if(!N&&k&&(u||A===0)){var H=performance.now(),U,Z=function q(){cancelAnimationFrame(U),U=requestAnimationFrame(function(Y){var te=Y+A-H,ee=Math.min(te/(i*1e3),1);$(ee*100),ee<1&&q()})};return Z(),function(){u&&cancelAnimationFrame(U)}}},[i,A,N,k,v]);var F=l.useMemo(function(){return ft(p)==="object"&&p!==null?p:p?{closeIcon:b}:{}},[p,b]),j=Nn(F,!0),B=100-(!_||_<0?0:_>100?100:_),z="".concat(n,"-notice");return l.createElement("div",be({},m,{ref:t,className:ne(z,a,V({},"".concat(z,"-closable"),p)),style:r,onMouseEnter:function(U){var Z;I(!0),m==null||(Z=m.onMouseEnter)===null||Z===void 0||Z.call(m,U)},onMouseLeave:function(U){var Z;I(!1),m==null||(Z=m.onMouseLeave)===null||Z===void 0||Z.call(m,U)},onClick:h}),l.createElement("div",{className:"".concat(z,"-content")},f),p&&l.createElement("a",be({tabIndex:0,className:"".concat(z,"-close"),onKeyDown:L,"aria-label":"Close"},j,{onClick:function(U){U.preventDefault(),U.stopPropagation(),M()}}),F.closeIcon),k&&l.createElement("progress",{className:"".concat(z,"-progress"),max:"100",value:B},B+"%"))}),E9=le.createContext({}),Nre=function(t){var n=t.children,r=t.classNames;return le.createElement(E9.Provider,{value:{classNames:r}},n)},FA=8,jA=3,BA=16,kre=function(t){var n={offset:FA,threshold:jA,gap:BA};if(t&&ft(t)==="object"){var r,a,o;n.offset=(r=t.offset)!==null&&r!==void 0?r:FA,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:jA,n.gap=(o=t.gap)!==null&&o!==void 0?o:BA}return[!!t,n]},Are=["className","style","classNames","styles"],Mre=function(t){var n=t.configList,r=t.placement,a=t.prefixCls,o=t.className,i=t.style,s=t.motion,c=t.onAllNoticeRemoved,u=t.onNoticeClose,d=t.stack,f=l.useContext(E9),p=f.classNames,g=l.useRef({}),b=l.useState(null),m=se(b,2),h=m[0],y=m[1],v=l.useState([]),S=se(v,2),w=S[0],x=S[1],E=n.map(function(N){return{config:N,key:String(N.key)}}),I=kre(d),R=se(I,2),T=R[0],_=R[1],$=_.offset,D=_.threshold,P=_.gap,A=T&&(w.length>0||E.length<=D),O=typeof s=="function"?s(r):s;return l.useEffect(function(){T&&w.length>1&&x(function(N){return N.filter(function(k){return E.some(function(M){var L=M.key;return k===L})})})},[w,E,T]),l.useEffect(function(){var N;if(T&&g.current[(N=E[E.length-1])===null||N===void 0?void 0:N.key]){var k;y(g.current[(k=E[E.length-1])===null||k===void 0?void 0:k.key])}},[E,T]),le.createElement(z_,be({key:r,className:ne(a,"".concat(a,"-").concat(r),p==null?void 0:p.list,o,V(V({},"".concat(a,"-stack"),!!T),"".concat(a,"-stack-expanded"),A)),style:i,keys:E,motionAppear:!0},O,{onAllRemoved:function(){c(r)}}),function(N,k){var M=N.config,L=N.className,F=N.style,j=N.index,B=M,z=B.key,H=B.times,U=String(z),Z=M,q=Z.className,Y=Z.style,te=Z.classNames,ee=Z.styles,X=vt(Z,Are),ie=E.findIndex(function(ue){return ue.key===U}),re={};if(T){var G=E.length-1-(ie>-1?ie:j-1),Q=r==="top"||r==="bottom"?"-50%":"0";if(G>0){var ae,oe,de;re.height=A?(ae=g.current[U])===null||ae===void 0?void 0:ae.offsetHeight:h==null?void 0:h.offsetHeight;for(var ve=0,ye=0;ye-1?g.current[U]=fe:delete g.current[U]},prefixCls:a,classNames:te,styles:ee,className:ne(q,p==null?void 0:p.notice),style:Y,times:H,key:z,eventKey:z,onNoticeClose:u,hovering:T&&w.length>0})))})},Dre=l.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,a=e.container,o=e.motion,i=e.maxCount,s=e.className,c=e.style,u=e.onAllRemoved,d=e.stack,f=e.renderNotifications,p=l.useState([]),g=se(p,2),b=g[0],m=g[1],h=function(T){var _,$=b.find(function(D){return D.key===T});$==null||(_=$.onClose)===null||_===void 0||_.call($),m(function(D){return D.filter(function(P){return P.key!==T})})};l.useImperativeHandle(t,function(){return{open:function(T){m(function(_){var $=$e(_),D=$.findIndex(function(O){return O.key===T.key}),P=K({},T);if(D>=0){var A;P.times=(((A=_[D])===null||A===void 0?void 0:A.times)||0)+1,$[D]=P}else P.times=0,$.push(P);return i>0&&$.length>i&&($=$.slice(-i)),$})},close:function(T){h(T)},destroy:function(){m([])}}});var y=l.useState({}),v=se(y,2),S=v[0],w=v[1];l.useEffect(function(){var R={};b.forEach(function(T){var _=T.placement,$=_===void 0?"topRight":_;$&&(R[$]=R[$]||[],R[$].push(T))}),Object.keys(S).forEach(function(T){R[T]=R[T]||[]}),w(R)},[b]);var x=function(T){w(function(_){var $=K({},_),D=$[T]||[];return D.length||delete $[T],$})},E=l.useRef(!1);if(l.useEffect(function(){Object.keys(S).length>0?E.current=!0:E.current&&(u==null||u(),E.current=!1)},[S]),!a)return null;var I=Object.keys(S);return Sr.createPortal(l.createElement(l.Fragment,null,I.map(function(R){var T=S[R],_=l.createElement(Mre,{key:R,configList:T,placement:R,prefixCls:r,className:s==null?void 0:s(R),style:c==null?void 0:c(R),motion:o,onNoticeClose:h,onAllNoticeRemoved:x,stack:d});return f?f(_,{prefixCls:r,key:R}):_})),a)}),Pre=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Lre=function(){return document.body},zA=0;function Fre(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?Lre:t,r=e.motion,a=e.prefixCls,o=e.maxCount,i=e.className,s=e.style,c=e.onAllRemoved,u=e.stack,d=e.renderNotifications,f=vt(e,Pre),p=l.useState(),g=se(p,2),b=g[0],m=g[1],h=l.useRef(),y=l.createElement(Dre,{container:b,ref:h,prefixCls:a,motion:r,maxCount:o,className:i,style:s,onAllRemoved:c,stack:u,renderNotifications:d}),v=l.useState([]),S=se(v,2),w=S[0],x=S[1],E=l.useMemo(function(){return{open:function(R){var T=Fre(f,R);(T.key===null||T.key===void 0)&&(T.key="rc-notification-".concat(zA),zA+=1),x(function(_){return[].concat($e(_),[{type:"open",config:T}])})},close:function(R){x(function(T){return[].concat($e(T),[{type:"close",key:R}])})},destroy:function(){x(function(R){return[].concat($e(R),[{type:"destroy"}])})}}},[]);return l.useEffect(function(){m(n())}),l.useEffect(function(){h.current&&w.length&&(w.forEach(function(I){switch(I.type){case"open":h.current.open(I.config);break;case"close":h.current.close(I.key);break;case"destroy":h.current.destroy();break}}),x(function(I){return I.filter(function(R){return!w.includes(R)})}))},[w]),[E,y]}var Bre={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},zre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Bre}))},Wi=l.forwardRef(zre);const Jp=le.createContext(void 0),pl=100,Hre=10,I9=pl*Hre,T9={Modal:pl,Drawer:pl,Popover:pl,Popconfirm:pl,Tooltip:pl,Tour:pl},Ure={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Vre(e){return e in T9}function Qi(e,t){const[,n]=Mr(),r=le.useContext(Jp),a=Vre(e);let o;if(t!==void 0)o=[t,t];else{let i=r??0;a?i+=(r?0:n.zIndexPopupBase)+T9[e]:i+=Ure[e],o=[r===void 0?t:i,i]}return o}const Wre=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:a,colorSuccess:o,colorError:i,colorWarning:s,colorInfo:c,fontSizeLG:u,motionEaseInOutCirc:d,motionDurationSlow:f,marginXS:p,paddingXS:g,borderRadiusLG:b,zIndexPopup:m,contentPadding:h,contentBg:y}=e,v=`${t}-notice`,S=new Jt("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:g,transform:"translateY(0)",opacity:1}}),w=new Jt("MessageMoveOut",{"0%":{maxHeight:e.height,padding:g,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:g,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:p,fontSize:u},[`${v}-content`]:{display:"inline-block",padding:h,background:y,borderRadius:b,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:o},[`${t}-error > ${n}`]:{color:i},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, + margin-bottom ${n} ${u}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:g,[`${t}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:p,fontSize:i},[`${t}-description`]:{display:"block",color:f}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},hre=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:a,colorWarning:o,colorWarningBorder:i,colorWarningBg:s,colorError:c,colorErrorBorder:u,colorErrorBg:d,colorInfo:f,colorInfoBorder:p,colorInfoBg:g}=e;return{[t]:{"&-success":gm(a,r,n,e,t),"&-info":gm(g,p,f,e,t),"&-warning":gm(s,i,o,e,t),"&-error":Object.assign(Object.assign({},gm(d,u,c,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},vre=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:a,fontSizeIcon:o,colorIcon:i,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:a},[`${t}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:o,lineHeight:W(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:i,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:i,transition:`color ${r}`,"&:hover":{color:s}}}}},bre=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),yre=Kt("Alert",e=>[mre(e),hre(e),vre(e)],bre);var MA=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{icon:t,prefixCls:n,type:r}=e,a=Sre[r]||null;return t?U_(t,l.createElement("span",{className:`${n}-icon`},t),()=>({className:ne(`${n}-icon`,{[t.props.className]:t.props.className})})):l.createElement(a,{className:`${n}-icon`})},Cre=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:a,ariaProps:o}=e,i=r===!0||r===void 0?l.createElement(da,null):r;return t?l.createElement("button",Object.assign({type:"button",onClick:a,className:`${n}-close-icon`,tabIndex:0},o),i):null},C9=l.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:a,banner:o,className:i,rootClassName:s,style:c,onMouseEnter:u,onMouseLeave:d,onClick:f,afterClose:p,showIcon:g,closable:v,closeText:m,closeIcon:h,action:y,id:b}=e,S=MA(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[w,x]=l.useState(!1),E=l.useRef(null);l.useImperativeHandle(t,()=>({nativeElement:E.current}));const{getPrefixCls:I,direction:R,alert:T}=l.useContext(ot),_=I("alert",r),[$,D,P]=yre(_),A=B=>{var z;x(!0),(z=e.onClose)===null||z===void 0||z.call(e,B)},O=l.useMemo(()=>e.type!==void 0?e.type:o?"warning":"info",[e.type,o]),N=l.useMemo(()=>typeof v=="object"&&v.closeIcon||m?!0:typeof v=="boolean"?v:h!==!1&&h!==null&&h!==void 0?!0:!!(T!=null&&T.closable),[m,h,v,T==null?void 0:T.closable]),k=o&&g===void 0?!0:g,M=ne(_,`${_}-${O}`,{[`${_}-with-description`]:!!n,[`${_}-no-icon`]:!k,[`${_}-banner`]:!!o,[`${_}-rtl`]:R==="rtl"},T==null?void 0:T.className,i,s,P,D),L=Nn(S,{aria:!0,data:!0}),F=l.useMemo(()=>{var B,z;return typeof v=="object"&&v.closeIcon?v.closeIcon:m||(h!==void 0?h:typeof(T==null?void 0:T.closable)=="object"&&(!((B=T==null?void 0:T.closable)===null||B===void 0)&&B.closeIcon)?(z=T==null?void 0:T.closable)===null||z===void 0?void 0:z.closeIcon:T==null?void 0:T.closeIcon)},[h,v,m,T==null?void 0:T.closeIcon]),j=l.useMemo(()=>{const B=v??(T==null?void 0:T.closable);return typeof B=="object"?MA(B,["closeIcon"]):{}},[v,T==null?void 0:T.closable]);return $(l.createElement(Wr,{visible:!w,motionName:`${_}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:B=>({maxHeight:B.offsetHeight}),onLeaveEnd:p},(B,z)=>{let{className:H,style:U}=B;return l.createElement("div",Object.assign({id:b,ref:Ar(E,z),"data-show":!w,className:ne(M,H),style:Object.assign(Object.assign(Object.assign({},T==null?void 0:T.style),c),U),onMouseEnter:u,onMouseLeave:d,onClick:f,role:"alert"},L),k?l.createElement(wre,{description:n,icon:e.icon,prefixCls:_,type:O}):null,l.createElement("div",{className:`${_}-content`},a?l.createElement("div",{className:`${_}-message`},a):null,n?l.createElement("div",{className:`${_}-description`},n):null),y?l.createElement("div",{className:`${_}-action`},y):null,l.createElement(Cre,{isClosable:N,prefixCls:_,closeIcon:F,handleClose:A,ariaProps:j}))}))});function xre(e,t,n){return t=Vl(t),s7(e,Sb()?Reflect.construct(t,n||[],Vl(e).constructor):t.apply(e,n))}let Ere=function(e){function t(){var n;return kn(this,t),n=xre(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Qa(t,e),An(t,[{key:"componentDidCatch",value:function(r,a){this.setState({error:r,info:a})}},{key:"render",value:function(){const{message:r,description:a,id:o,children:i}=this.props,{error:s,info:c}=this.state,u=(c==null?void 0:c.componentStack)||null,d=typeof r>"u"?(s||"").toString():r,f=typeof a>"u"?u:a;return s?l.createElement(C9,{id:o,type:"error",message:d,description:l.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},f)}):i}}])}(l.Component);const na=C9;na.ErrorBoundary=Ere;const DA=e=>typeof e=="object"&&e!=null&&e.nodeType===1,PA=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",By=(e,t)=>{if(e.clientHeight{const a=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!a&&(a.clientHeightot||o>e&&i=t&&s>=n?o-e-r:i>t&&sn?i-t+a:0,Ire=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},LA=(e,t)=>{var n,r,a,o;if(typeof document>"u")return[];const{scrollMode:i,block:s,inline:c,boundary:u,skipOverflowHiddenElements:d}=t,f=typeof u=="function"?u:N=>N!==u;if(!DA(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,g=[];let v=e;for(;DA(v)&&f(v);){if(v=Ire(v),v===p){g.push(v);break}v!=null&&v===document.body&&By(v)&&!By(document.documentElement)||v!=null&&By(v,d)&&g.push(v)}const m=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,h=(o=(a=window.visualViewport)==null?void 0:a.height)!=null?o:innerHeight,{scrollX:y,scrollY:b}=window,{height:S,width:w,top:x,right:E,bottom:I,left:R}=e.getBoundingClientRect(),{top:T,right:_,bottom:$,left:D}=(N=>{const k=window.getComputedStyle(N);return{top:parseFloat(k.scrollMarginTop)||0,right:parseFloat(k.scrollMarginRight)||0,bottom:parseFloat(k.scrollMarginBottom)||0,left:parseFloat(k.scrollMarginLeft)||0}})(e);let P=s==="start"||s==="nearest"?x-T:s==="end"?I+$:x+S/2-T+$,A=c==="center"?R+w/2-D+_:c==="end"?E+_:R-D;const O=[];for(let N=0;N=0&&R>=0&&I<=h&&E<=m&&x>=F&&I<=B&&R>=z&&E<=j)return O;const H=getComputedStyle(k),U=parseInt(H.borderLeftWidth,10),Z=parseInt(H.borderTopWidth,10),q=parseInt(H.borderRightWidth,10),Y=parseInt(H.borderBottomWidth,10);let ee=0,te=0;const X="offsetWidth"in k?k.offsetWidth-k.clientWidth-U-q:0,ie="offsetHeight"in k?k.offsetHeight-k.clientHeight-Z-Y:0,re="offsetWidth"in k?k.offsetWidth===0?0:L/k.offsetWidth:0,G="offsetHeight"in k?k.offsetHeight===0?0:M/k.offsetHeight:0;if(p===k)ee=s==="start"?P:s==="end"?P-h:s==="nearest"?mm(b,b+h,h,Z,Y,b+P,b+P+S,S):P-h/2,te=c==="start"?A:c==="center"?A-m/2:c==="end"?A-m:mm(y,y+m,m,U,q,y+A,y+A+w,w),ee=Math.max(0,ee+b),te=Math.max(0,te+y);else{ee=s==="start"?P-F-Z:s==="end"?P-B+Y+ie:s==="nearest"?mm(F,B,M,Z,Y+ie,P,P+S,S):P-(F+M/2)+ie/2,te=c==="start"?A-z-U:c==="center"?A-(z+L/2)+X/2:c==="end"?A-j+q+X:mm(z,j,L,U,q+X,A,A+w,w);const{scrollLeft:Q,scrollTop:ae}=k;ee=G===0?0:Math.max(0,Math.min(ae+ee/G,k.scrollHeight-M/G+ie)),te=re===0?0:Math.max(0,Math.min(Q+te/re,k.scrollWidth-L/re+X)),P+=ae-ee,A+=Q-te}O.push({el:k,top:ee,left:te})}return O},Tre=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Rre(e,t){if(!e.isConnected||!(a=>{let o=a;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;const n=(a=>{const o=window.getComputedStyle(a);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(e);if((a=>typeof a=="object"&&typeof a.behavior=="function")(t))return t.behavior(LA(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:a,top:o,left:i}of LA(e,Tre(t))){const s=o-n.top+n.bottom,c=i-n.left+n.right;a.scroll({top:s,left:c,behavior:r})}}function rT(e){return e!=null&&e===e.window}const _re=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return rT(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!rT(e)&&typeof r!="number"&&(r=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),r};function $re(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function Ore(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:a=450}=t,o=n(),i=_re(o),s=Date.now(),c=()=>{const d=Date.now()-s,f=$re(d>a?a:d,i,e,a);rT(o)?o.scrollTo(window.pageXOffset,f):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=f:o.scrollTop=f,d{const[,,,,t]=Mr();return t?`${e}-css-var`:""};var Me={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(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=Me.F1&&n<=Me.F12)return!1;switch(n){case Me.ALT:case Me.CAPS_LOCK:case Me.CONTEXT_MENU:case Me.CTRL:case Me.DOWN:case Me.END:case Me.ESC:case Me.HOME:case Me.INSERT:case Me.LEFT:case Me.MAC_FF_META:case Me.META:case Me.NUMLOCK:case Me.NUM_CENTER:case Me.PAGE_DOWN:case Me.PAGE_UP:case Me.PAUSE:case Me.PRINT_SCREEN:case Me.RIGHT:case Me.SHIFT:case Me.UP:case Me.WIN_KEY:case Me.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Me.ZERO&&t<=Me.NINE||t>=Me.NUM_ZERO&&t<=Me.NUM_MULTIPLY||t>=Me.A&&t<=Me.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Me.SPACE:case Me.QUESTION_MARK:case Me.NUM_PLUS:case Me.NUM_MINUS:case Me.NUM_PERIOD:case Me.NUM_DIVISION:case Me.SEMICOLON:case Me.DASH:case Me.EQUALS:case Me.COMMA:case Me.PERIOD:case Me.SLASH:case Me.APOSTROPHE:case Me.SINGLE_QUOTE:case Me.OPEN_SQUARE_BRACKET:case Me.BACKSLASH:case Me.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},x9=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.className,o=e.duration,i=o===void 0?4.5:o,s=e.showProgress,c=e.pauseOnHover,u=c===void 0?!0:c,d=e.eventKey,f=e.content,p=e.closable,g=e.closeIcon,v=g===void 0?"x":g,m=e.props,h=e.onClick,y=e.onNoticeClose,b=e.times,S=e.hovering,w=l.useState(!1),x=se(w,2),E=x[0],I=x[1],R=l.useState(0),T=se(R,2),_=T[0],$=T[1],D=l.useState(0),P=se(D,2),A=P[0],O=P[1],N=S||E,k=i>0&&s,M=function(){y(d)},L=function(U){(U.key==="Enter"||U.code==="Enter"||U.keyCode===Me.ENTER)&&M()};l.useEffect(function(){if(!N&&i>0){var H=Date.now()-A,U=setTimeout(function(){M()},i*1e3-A);return function(){u&&clearTimeout(U),O(Date.now()-H)}}},[i,N,b]),l.useEffect(function(){if(!N&&k&&(u||A===0)){var H=performance.now(),U,Z=function q(){cancelAnimationFrame(U),U=requestAnimationFrame(function(Y){var ee=Y+A-H,te=Math.min(ee/(i*1e3),1);$(te*100),te<1&&q()})};return Z(),function(){u&&cancelAnimationFrame(U)}}},[i,A,N,k,b]);var F=l.useMemo(function(){return ft(p)==="object"&&p!==null?p:p?{closeIcon:v}:{}},[p,v]),j=Nn(F,!0),B=100-(!_||_<0?0:_>100?100:_),z="".concat(n,"-notice");return l.createElement("div",be({},m,{ref:t,className:ne(z,a,V({},"".concat(z,"-closable"),p)),style:r,onMouseEnter:function(U){var Z;I(!0),m==null||(Z=m.onMouseEnter)===null||Z===void 0||Z.call(m,U)},onMouseLeave:function(U){var Z;I(!1),m==null||(Z=m.onMouseLeave)===null||Z===void 0||Z.call(m,U)},onClick:h}),l.createElement("div",{className:"".concat(z,"-content")},f),p&&l.createElement("a",be({tabIndex:0,className:"".concat(z,"-close"),onKeyDown:L,"aria-label":"Close"},j,{onClick:function(U){U.preventDefault(),U.stopPropagation(),M()}}),F.closeIcon),k&&l.createElement("progress",{className:"".concat(z,"-progress"),max:"100",value:B},B+"%"))}),E9=le.createContext({}),Nre=function(t){var n=t.children,r=t.classNames;return le.createElement(E9.Provider,{value:{classNames:r}},n)},FA=8,jA=3,BA=16,kre=function(t){var n={offset:FA,threshold:jA,gap:BA};if(t&&ft(t)==="object"){var r,a,o;n.offset=(r=t.offset)!==null&&r!==void 0?r:FA,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:jA,n.gap=(o=t.gap)!==null&&o!==void 0?o:BA}return[!!t,n]},Are=["className","style","classNames","styles"],Mre=function(t){var n=t.configList,r=t.placement,a=t.prefixCls,o=t.className,i=t.style,s=t.motion,c=t.onAllNoticeRemoved,u=t.onNoticeClose,d=t.stack,f=l.useContext(E9),p=f.classNames,g=l.useRef({}),v=l.useState(null),m=se(v,2),h=m[0],y=m[1],b=l.useState([]),S=se(b,2),w=S[0],x=S[1],E=n.map(function(N){return{config:N,key:String(N.key)}}),I=kre(d),R=se(I,2),T=R[0],_=R[1],$=_.offset,D=_.threshold,P=_.gap,A=T&&(w.length>0||E.length<=D),O=typeof s=="function"?s(r):s;return l.useEffect(function(){T&&w.length>1&&x(function(N){return N.filter(function(k){return E.some(function(M){var L=M.key;return k===L})})})},[w,E,T]),l.useEffect(function(){var N;if(T&&g.current[(N=E[E.length-1])===null||N===void 0?void 0:N.key]){var k;y(g.current[(k=E[E.length-1])===null||k===void 0?void 0:k.key])}},[E,T]),le.createElement(z_,be({key:r,className:ne(a,"".concat(a,"-").concat(r),p==null?void 0:p.list,o,V(V({},"".concat(a,"-stack"),!!T),"".concat(a,"-stack-expanded"),A)),style:i,keys:E,motionAppear:!0},O,{onAllRemoved:function(){c(r)}}),function(N,k){var M=N.config,L=N.className,F=N.style,j=N.index,B=M,z=B.key,H=B.times,U=String(z),Z=M,q=Z.className,Y=Z.style,ee=Z.classNames,te=Z.styles,X=vt(Z,Are),ie=E.findIndex(function(ue){return ue.key===U}),re={};if(T){var G=E.length-1-(ie>-1?ie:j-1),Q=r==="top"||r==="bottom"?"-50%":"0";if(G>0){var ae,oe,de;re.height=A?(ae=g.current[U])===null||ae===void 0?void 0:ae.offsetHeight:h==null?void 0:h.offsetHeight;for(var ve=0,ye=0;ye-1?g.current[U]=fe:delete g.current[U]},prefixCls:a,classNames:ee,styles:te,className:ne(q,p==null?void 0:p.notice),style:Y,times:H,key:z,eventKey:z,onNoticeClose:u,hovering:T&&w.length>0})))})},Dre=l.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,a=e.container,o=e.motion,i=e.maxCount,s=e.className,c=e.style,u=e.onAllRemoved,d=e.stack,f=e.renderNotifications,p=l.useState([]),g=se(p,2),v=g[0],m=g[1],h=function(T){var _,$=v.find(function(D){return D.key===T});$==null||(_=$.onClose)===null||_===void 0||_.call($),m(function(D){return D.filter(function(P){return P.key!==T})})};l.useImperativeHandle(t,function(){return{open:function(T){m(function(_){var $=$e(_),D=$.findIndex(function(O){return O.key===T.key}),P=K({},T);if(D>=0){var A;P.times=(((A=_[D])===null||A===void 0?void 0:A.times)||0)+1,$[D]=P}else P.times=0,$.push(P);return i>0&&$.length>i&&($=$.slice(-i)),$})},close:function(T){h(T)},destroy:function(){m([])}}});var y=l.useState({}),b=se(y,2),S=b[0],w=b[1];l.useEffect(function(){var R={};v.forEach(function(T){var _=T.placement,$=_===void 0?"topRight":_;$&&(R[$]=R[$]||[],R[$].push(T))}),Object.keys(S).forEach(function(T){R[T]=R[T]||[]}),w(R)},[v]);var x=function(T){w(function(_){var $=K({},_),D=$[T]||[];return D.length||delete $[T],$})},E=l.useRef(!1);if(l.useEffect(function(){Object.keys(S).length>0?E.current=!0:E.current&&(u==null||u(),E.current=!1)},[S]),!a)return null;var I=Object.keys(S);return Sr.createPortal(l.createElement(l.Fragment,null,I.map(function(R){var T=S[R],_=l.createElement(Mre,{key:R,configList:T,placement:R,prefixCls:r,className:s==null?void 0:s(R),style:c==null?void 0:c(R),motion:o,onNoticeClose:h,onAllNoticeRemoved:x,stack:d});return f?f(_,{prefixCls:r,key:R}):_})),a)}),Pre=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Lre=function(){return document.body},zA=0;function Fre(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?Lre:t,r=e.motion,a=e.prefixCls,o=e.maxCount,i=e.className,s=e.style,c=e.onAllRemoved,u=e.stack,d=e.renderNotifications,f=vt(e,Pre),p=l.useState(),g=se(p,2),v=g[0],m=g[1],h=l.useRef(),y=l.createElement(Dre,{container:v,ref:h,prefixCls:a,motion:r,maxCount:o,className:i,style:s,onAllRemoved:c,stack:u,renderNotifications:d}),b=l.useState([]),S=se(b,2),w=S[0],x=S[1],E=l.useMemo(function(){return{open:function(R){var T=Fre(f,R);(T.key===null||T.key===void 0)&&(T.key="rc-notification-".concat(zA),zA+=1),x(function(_){return[].concat($e(_),[{type:"open",config:T}])})},close:function(R){x(function(T){return[].concat($e(T),[{type:"close",key:R}])})},destroy:function(){x(function(R){return[].concat($e(R),[{type:"destroy"}])})}}},[]);return l.useEffect(function(){m(n())}),l.useEffect(function(){h.current&&w.length&&(w.forEach(function(I){switch(I.type){case"open":h.current.open(I.config);break;case"close":h.current.close(I.key);break;case"destroy":h.current.destroy();break}}),x(function(I){return I.filter(function(R){return!w.includes(R)})}))},[w]),[E,y]}var Bre={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},zre=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Bre}))},Wi=l.forwardRef(zre);const Jp=le.createContext(void 0),pl=100,Hre=10,I9=pl*Hre,T9={Modal:pl,Drawer:pl,Popover:pl,Popconfirm:pl,Tooltip:pl,Tour:pl},Ure={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Vre(e){return e in T9}function Qi(e,t){const[,n]=Mr(),r=le.useContext(Jp),a=Vre(e);let o;if(t!==void 0)o=[t,t];else{let i=r??0;a?i+=(r?0:n.zIndexPopupBase)+T9[e]:i+=Ure[e],o=[r===void 0?t:i,i]}return o}const Wre=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:a,colorSuccess:o,colorError:i,colorWarning:s,colorInfo:c,fontSizeLG:u,motionEaseInOutCirc:d,motionDurationSlow:f,marginXS:p,paddingXS:g,borderRadiusLG:v,zIndexPopup:m,contentPadding:h,contentBg:y}=e,b=`${t}-notice`,S=new Jt("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:g,transform:"translateY(0)",opacity:1}}),w=new Jt("MessageMoveOut",{"0%":{maxHeight:e.height,padding:g,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),x={padding:g,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:p,fontSize:u},[`${b}-content`]:{display:"inline-block",padding:h,background:y,borderRadius:v,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:o},[`${t}-error > ${n}`]:{color:i},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, ${t}-loading > ${n}`]:{color:c}};return[{[t]:Object.assign(Object.assign({},Gt(e)),{color:a,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:m,[`${t}-move-up`]:{animationFillMode:"forwards"},[` ${t}-move-up-appear, ${t}-move-up-enter `]:{animationName:S,animationDuration:f,animationPlayState:"paused",animationTimingFunction:d},[` ${t}-move-up-appear${t}-move-up-appear-active, ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:w,animationDuration:f,animationPlayState:"paused",animationTimingFunction:d},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${v}-wrapper`]:Object.assign({},x)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},x),{padding:0,textAlign:"start"})}]},Gre=e=>({zIndexPopup:e.zIndexPopupBase+I9+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),R9=Kt("Message",e=>{const t=Pt(e,{height:150});return[Wre(t)]},Gre);var qre=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,type:n,icon:r,children:a}=e;return l.createElement("div",{className:ne(`${t}-custom-content`,`${t}-${n}`)},r||Kre[n],l.createElement("span",null,a))},Yre=e=>{const{prefixCls:t,className:n,type:r,icon:a,content:o}=e,i=qre(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=l.useContext(ot),c=t||s("message"),u=Vn(c),[d,f,p]=R9(c,u);return d(l.createElement(x9,Object.assign({},i,{prefixCls:c,className:ne(n,f,`${c}-notice-pure-panel`,p,u),eventKey:"pure",duration:null,content:l.createElement(_9,{prefixCls:c,type:r,icon:a},o)})))};function Xre(e,t){return{motionName:t??`${e}-move-up`}}function V_(e){let t;const n=new Promise(a=>{t=e(()=>{a(!0)})}),r=()=>{t==null||t()};return r.then=(a,o)=>n.then(a,o),r.promise=n,r}var Zre=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{children:t,prefixCls:n}=e;const r=Vn(n),[a,o,i]=R9(n,r);return a(l.createElement(Nre,{classNames:{list:ne(o,i,r)}},t))},tae=(e,t)=>{let{prefixCls:n,key:r}=t;return l.createElement(eae,{prefixCls:n,key:r},e)},nae=l.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:a,maxCount:o,duration:i=Jre,rtl:s,transitionName:c,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:f,message:p,direction:g}=l.useContext(ot),b=r||d("message"),m=()=>({left:"50%",transform:"translateX(-50%)",top:n??Qre}),h=()=>ne({[`${b}-rtl`]:s??g==="rtl"}),y=()=>Xre(b,c),v=l.createElement("span",{className:`${b}-close-x`},l.createElement(da,{className:`${b}-close-icon`})),[S,w]=jre({prefixCls:b,style:m,className:h,motion:y,closable:!1,closeIcon:v,duration:i,getContainer:()=>(a==null?void 0:a())||(f==null?void 0:f())||document.body,maxCount:o,onAllRemoved:u,renderNotifications:tae});return l.useImperativeHandle(t,()=>Object.assign(Object.assign({},S),{prefixCls:b,message:p})),w});let HA=0;function $9(e){const t=l.useRef(null);return Xs(),[l.useMemo(()=>{const r=c=>{var u;(u=t.current)===null||u===void 0||u.close(c)},a=c=>{if(!t.current){const E=()=>{};return E.then=()=>{},E}const{open:u,prefixCls:d,message:f}=t.current,p=`${d}-notice`,{content:g,icon:b,type:m,key:h,className:y,style:v,onClose:S}=c,w=Zre(c,["content","icon","type","key","className","style","onClose"]);let x=h;return x==null&&(HA+=1,x=`antd-message-${HA}`),V_(E=>(u(Object.assign(Object.assign({},w),{key:x,content:l.createElement(_9,{prefixCls:d,type:m,icon:b},g),placement:"top",className:ne(m&&`${p}-${m}`,y,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),v),onClose:()=>{S==null||S(),E()}})),()=>{r(x)}))},i={open:a,destroy:c=>{var u;c!==void 0?r(c):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(c=>{const u=(d,f,p)=>{let g;d&&typeof d=="object"&&"content"in d?g=d:g={content:d};let b,m;typeof f=="function"?m=f:(b=f,m=p);const h=Object.assign(Object.assign({onClose:m,duration:b},g),{type:c});return a(h)};i[c]=u}),i},[]),l.createElement(nae,Object.assign({key:"message-holder"},e,{ref:t}))]}function rae(e){return $9(e)}function aae(){const[e,t]=l.useState([]),n=l.useCallback(r=>(t(a=>[].concat($e(a),[r])),()=>{t(a=>a.filter(o=>o!==r))}),[]);return[e,n]}function Gr(){Gr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(N,k,M){N[k]=M.value},o=typeof Symbol=="function"?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(N,k,M){return Object.defineProperty(N,k,{value:M,enumerable:!0,configurable:!0,writable:!0}),N[k]}try{u({},"")}catch{u=function(M,L,F){return M[L]=F}}function d(N,k,M,L){var F=k&&k.prototype instanceof y?k:y,j=Object.create(F.prototype),B=new A(L||[]);return a(j,"_invoke",{value:_(N,M,B)}),j}function f(N,k,M){try{return{type:"normal",arg:N.call(k,M)}}catch(L){return{type:"throw",arg:L}}}t.wrap=d;var p="suspendedStart",g="suspendedYield",b="executing",m="completed",h={};function y(){}function v(){}function S(){}var w={};u(w,i,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(O([])));E&&E!==n&&r.call(E,i)&&(w=E);var I=S.prototype=y.prototype=Object.create(w);function R(N){["next","throw","return"].forEach(function(k){u(N,k,function(M){return this._invoke(k,M)})})}function T(N,k){function M(F,j,B,z){var H=f(N[F],N,j);if(H.type!=="throw"){var U=H.arg,Z=U.value;return Z&&ft(Z)=="object"&&r.call(Z,"__await")?k.resolve(Z.__await).then(function(q){M("next",q,B,z)},function(q){M("throw",q,B,z)}):k.resolve(Z).then(function(q){U.value=q,B(U)},function(q){return M("throw",q,B,z)})}z(H.arg)}var L;a(this,"_invoke",{value:function(j,B){function z(){return new k(function(H,U){M(j,B,H,U)})}return L=L?L.then(z,z):z()}})}function _(N,k,M){var L=p;return function(F,j){if(L===b)throw Error("Generator is already running");if(L===m){if(F==="throw")throw j;return{value:e,done:!0}}for(M.method=F,M.arg=j;;){var B=M.delegate;if(B){var z=$(B,M);if(z){if(z===h)continue;return z}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(L===p)throw L=m,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);L=b;var H=f(N,k,M);if(H.type==="normal"){if(L=M.done?m:g,H.arg===h)continue;return{value:H.arg,done:M.done}}H.type==="throw"&&(L=m,M.method="throw",M.arg=H.arg)}}}function $(N,k){var M=k.method,L=N.iterator[M];if(L===e)return k.delegate=null,M==="throw"&&N.iterator.return&&(k.method="return",k.arg=e,$(N,k),k.method==="throw")||M!=="return"&&(k.method="throw",k.arg=new TypeError("The iterator does not provide a '"+M+"' method")),h;var F=f(L,N.iterator,k.arg);if(F.type==="throw")return k.method="throw",k.arg=F.arg,k.delegate=null,h;var j=F.arg;return j?j.done?(k[N.resultName]=j.value,k.next=N.nextLoc,k.method!=="return"&&(k.method="next",k.arg=e),k.delegate=null,h):j:(k.method="throw",k.arg=new TypeError("iterator result is not an object"),k.delegate=null,h)}function D(N){var k={tryLoc:N[0]};1 in N&&(k.catchLoc=N[1]),2 in N&&(k.finallyLoc=N[2],k.afterLoc=N[3]),this.tryEntries.push(k)}function P(N){var k=N.completion||{};k.type="normal",delete k.arg,N.completion=k}function A(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(D,this),this.reset(!0)}function O(N){if(N||N===""){var k=N[i];if(k)return k.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var M=-1,L=function F(){for(;++M=0;--F){var j=this.tryEntries[F],B=j.completion;if(j.tryLoc==="root")return L("end");if(j.tryLoc<=this.prev){var z=r.call(j,"catchLoc"),H=r.call(j,"finallyLoc");if(z&&H){if(this.prev=0;--L){var F=this.tryEntries[L];if(F.tryLoc<=this.prev&&r.call(F,"finallyLoc")&&this.prev=0;--M){var L=this.tryEntries[M];if(L.finallyLoc===k)return this.complete(L.completion,L.afterLoc),P(L),h}},catch:function(k){for(var M=this.tryEntries.length-1;M>=0;--M){var L=this.tryEntries[M];if(L.tryLoc===k){var F=L.completion;if(F.type==="throw"){var j=F.arg;P(L)}return j}}throw Error("illegal catch attempt")},delegateYield:function(k,M,L){return this.delegate={iterator:O(k),resultName:M,nextLoc:L},this.method==="next"&&(this.arg=e),h}},t}function UA(e,t,n,r,a,o,i){try{var s=e[o](i),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,a)}function Zs(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(c){UA(o,r,a,i,s,"next",c)}function s(c){UA(o,r,a,i,s,"throw",c)}i(void 0)})}}var eg=K({},lQ),oae=eg.version,iae=eg.render,sae=eg.unmountComponentAtNode,_b;try{var lae=Number((oae||"").split(".")[0]);lae>=18&&(_b=eg.createRoot)}catch{}function VA(e){var t=eg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&ft(t)==="object"&&(t.usingClientEntryPoint=e)}var mv="__rc_react_root__";function cae(e,t){VA(!0);var n=t[mv]||_b(t);VA(!1),n.render(e),t[mv]=n}function uae(e,t){iae(e,t)}function W_(e,t){if(_b){cae(e,t);return}uae(e,t)}function dae(e){return aT.apply(this,arguments)}function aT(){return aT=Zs(Gr().mark(function e(t){return Gr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var a;(a=t[mv])===null||a===void 0||a.unmount(),delete t[mv]}));case 1:case"end":return r.stop()}},e)})),aT.apply(this,arguments)}function fae(e){sae(e)}function O9(e){return oT.apply(this,arguments)}function oT(){return oT=Zs(Gr().mark(function e(t){return Gr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(_b===void 0){r.next=2;break}return r.abrupt("return",dae(t));case 2:fae(t);case 3:case"end":return r.stop()}},e)})),oT.apply(this,arguments)}const zy=()=>({height:0,opacity:0}),WA=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},pae=e=>({height:e?e.offsetHeight:0}),Hy=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Pu=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:mp}-motion-collapse`,onAppearStart:zy,onEnterStart:zy,onAppearActive:WA,onEnterActive:WA,onLeaveStart:pae,onLeaveActive:zy,onAppearEnd:Hy,onEnterEnd:Hy,onLeaveEnd:Hy,motionDeadline:500}},bo=(e,t,n)=>n!==void 0?n:`${e}-${t}`,td=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),o=a.width,i=a.height;if(o||i)return!0}}return!1},gae=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},mae=une("Wave",e=>[gae(e)]),$b=`${mp}-wave-target`;function hae(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Uy(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&hae(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function vae(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Uy(t)?t:Uy(n)?n:Uy(r)?r:null}function Vy(e){return Number.isNaN(e)?0:e}const bae=e=>{const{className:t,target:n,component:r}=e,a=l.useRef(null),[o,i]=l.useState(null),[s,c]=l.useState([]),[u,d]=l.useState(0),[f,p]=l.useState(0),[g,b]=l.useState(0),[m,h]=l.useState(0),[y,v]=l.useState(!1),S={left:u,top:f,width:g,height:m,borderRadius:s.map(E=>`${E}px`).join(" ")};o&&(S["--wave-color"]=o);function w(){const E=getComputedStyle(n);i(vae(n));const I=E.position==="static",{borderLeftWidth:R,borderTopWidth:T}=E;d(I?n.offsetLeft:Vy(-parseFloat(R))),p(I?n.offsetTop:Vy(-parseFloat(T))),b(n.offsetWidth),h(n.offsetHeight);const{borderTopLeftRadius:_,borderTopRightRadius:$,borderBottomLeftRadius:D,borderBottomRightRadius:P}=E;c([_,$,P,D].map(A=>Vy(parseFloat(A))))}if(l.useEffect(()=>{if(n){const E=Dt(()=>{w(),v(!0)});let I;return typeof ResizeObserver<"u"&&(I=new ResizeObserver(w),I.observe(n)),()=>{Dt.cancel(E),I==null||I.disconnect()}}},[]),!y)return null;const x=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains($b));return l.createElement(Wr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(E,I)=>{var R;if(I.deadline||I.propertyName==="opacity"){const T=(R=a.current)===null||R===void 0?void 0:R.parentElement;O9(T).then(()=>{T==null||T.remove()})}return!1}},(E,I)=>{let{className:R}=E;return l.createElement("div",{ref:Ar(a,I),className:ne(t,R,{"wave-quick":x}),style:S})})},yae=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const a=document.createElement("div");a.style.position="absolute",a.style.left="0px",a.style.top="0px",e==null||e.insertBefore(a,e==null?void 0:e.firstChild),W_(l.createElement(bae,Object.assign({},t,{target:e})),a)},Sae=(e,t,n)=>{const{wave:r}=l.useContext(ot),[,a,o]=Mr(),i=Lt(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const f=d.querySelector(`.${$b}`)||d,{showEffect:p}=r||{};(p||yae)(f,{className:t,token:a,component:n,event:u,hashId:o})}),s=l.useRef();return u=>{Dt.cancel(s.current),s.current=Dt(()=>{i(u)})}},tg=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:a}=l.useContext(ot),o=l.useRef(null),i=a("wave"),[,s]=mae(i),c=Sae(o,ne(i,s),r);if(le.useEffect(()=>{const d=o.current;if(!d||d.nodeType!==1||n)return;const f=p=>{!td(p.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||c(p)};return d.addEventListener("click",f,!0),()=>{d.removeEventListener("click",f,!0)}},[n]),!le.isValidElement(t))return t??null;const u=Ho(t)?Ar(t.ref,o):o;return lr(t,{ref:u})},cr=e=>{const t=le.useContext(Gl);return le.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},wae=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Cae=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{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"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},xae=e=>{const{componentCls:t}=e;return{[t]:{"&-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}}}},N9=Kt("Space",e=>{const t=Pt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Cae(t),xae(t),wae(t)]},()=>({}),{resetStyle:!1});var k9=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=l.useContext(Ob),r=l.useMemo(()=>{if(!n)return"";const{compactDirection:a,isFirstItem:o,isLastItem:i}=n,s=a==="vertical"?"-vertical-":"-";return ne(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:i,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},Eae=e=>{let{children:t}=e;return l.createElement(Ob.Provider,{value:null},t)},Iae=e=>{var{children:t}=e,n=k9(e,["children"]);return l.createElement(Ob.Provider,{value:n},t)},Tae=e=>{const{getPrefixCls:t,direction:n}=l.useContext(ot),{size:r,direction:a,block:o,prefixCls:i,className:s,rootClassName:c,children:u}=e,d=k9(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=cr(S=>r??S),p=t("space-compact",i),[g,b]=N9(p),m=ne(p,b,{[`${p}-rtl`]:n==="rtl",[`${p}-block`]:o,[`${p}-vertical`]:a==="vertical"},s,c),h=l.useContext(Ob),y=or(u),v=l.useMemo(()=>y.map((S,w)=>{const x=(S==null?void 0:S.key)||`${p}-item-${w}`;return l.createElement(Iae,{key:x,compactSize:f,compactDirection:a,isFirstItem:w===0&&(!h||(h==null?void 0:h.isFirstItem)),isLastItem:w===y.length-1&&(!h||(h==null?void 0:h.isLastItem))},S)}),[r,y,h]);return y.length===0?null:g(l.createElement("div",Object.assign({className:m},d),v))};var Rae=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n}=l.useContext(ot),{prefixCls:r,size:a,className:o}=e,i=Rae(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,c]=Mr();let u="";switch(a){case"large":u="lg";break;case"small":u="sm";break}const d=ne(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:n==="rtl"},o,c);return l.createElement(A9.Provider,{value:a},l.createElement("div",Object.assign({},i,{className:d})))},GA=/^[\u4e00-\u9fa5]{2}$/,iT=GA.test.bind(GA);function M9(e){return e==="danger"?{danger:!0}:{type:e}}function qA(e){return typeof e=="string"}function Wy(e){return e==="text"||e==="link"}function $ae(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&qA(e.type)&&iT(e.props.children)?lr(e,{children:e.props.children.split("").join(n)}):qA(e)?iT(e)?le.createElement("span",null,e.split("").join(n)):le.createElement("span",null,e):w9(e)?le.createElement("span",null,e):e}function Oae(e,t){let n=!1;const r=[];return le.Children.forEach(e,a=>{const o=typeof a,i=o==="string"||o==="number";if(n&&i){const s=r.length-1,c=r[s];r[s]=`${c}${a}`}else r.push(a);n=i}),le.Children.map(r,a=>$ae(a,t))}const D9=l.forwardRef((e,t)=>{const{className:n,style:r,children:a,prefixCls:o}=e,i=ne(`${o}-icon`,n);return le.createElement("span",{ref:t,className:i,style:r},a)}),KA=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:a,iconClassName:o}=e,i=ne(`${n}-loading-icon`,r);return le.createElement(D9,{prefixCls:n,className:i,style:a,ref:t},le.createElement(Wi,{className:o}))}),Gy=()=>({width:0,opacity:0,transform:"scale(0)"}),qy=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Nae=e=>{const{prefixCls:t,loading:n,existIcon:r,className:a,style:o}=e,i=!!n;return r?le.createElement(KA,{prefixCls:t,className:a,style:o}):le.createElement(Wr,{visible:i,motionName:`${t}-loading-icon-motion`,motionLeave:i,removeOnLeave:!0,onAppearStart:Gy,onAppearActive:qy,onEnterStart:Gy,onEnterActive:qy,onLeaveStart:qy,onLeaveActive:Gy},(s,c)=>{let{className:u,style:d}=s;return le.createElement(KA,{prefixCls:t,className:a,style:Object.assign(Object.assign({},o),d),ref:c,iconClassName:u})})},YA=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),kae=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:a,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},YA(`${t}-primary`,a),YA(`${t}-danger`,o)]}},P9=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Pt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},L9=e=>{var t,n,r,a,o,i;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,c=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(a=e.contentLineHeight)!==null&&a!==void 0?a:yh(s),f=(o=e.contentLineHeightSM)!==null&&o!==void 0?o:yh(c),p=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:yh(u);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${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,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:c,contentFontSizeLG:u,contentLineHeight:d,contentLineHeightSM:f,contentLineHeightLG:p,paddingBlock:Math.max((e.controlHeight-s*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-c*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*p)/2-e.lineWidth,0)}},Aae=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${W(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},ui(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},Gi=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Mae=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Dae=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),Pae=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),vp=(e,t,n,r,a,o,i,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Gi(e,Object.assign({background:t},i),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:a||void 0,borderColor:o||void 0}})}),G_=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},Pae(e))}),F9=e=>Object.assign({},G_(e)),hv=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),j9=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F9(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Gi(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),vp(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Gi(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),vp(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),G_(e))}),Lae=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F9(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),Gi(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),vp(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},Gi(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),vp(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),G_(e))}),Fae=e=>Object.assign(Object.assign({},j9(e)),{borderStyle:"dashed"}),jae=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Gi(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),hv(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Gi(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),hv(e))}),Bae=e=>Object.assign(Object.assign(Object.assign({},Gi(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),hv(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},hv(e)),Gi(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),zae=e=>{const{componentCls:t}=e;return{[`${t}-default`]:j9(e),[`${t}-primary`]:Lae(e),[`${t}-dashed`]:Fae(e),[`${t}-link`]:jae(e),[`${t}-text`]:Bae(e),[`${t}-ghost`]:vp(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},q_=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:a,lineHeight:o,borderRadius:i,buttonPaddingHorizontal:s,iconCls:c,buttonPaddingVertical:u}=e,d=`${n}-icon-only`;return[{[t]:{fontSize:a,lineHeight:o,height:r,padding:`${W(u)} ${W(s)}`,borderRadius:i,[`&${d}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:Mae(e)},{[`${n}${n}-round${t}`]:Dae(e)}]},Hae=e=>{const t=Pt(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return q_(t,e.componentCls)},Uae=e=>{const t=Pt(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return q_(t,`${e.componentCls}-sm`)},Vae=e=>{const t=Pt(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return q_(t,`${e.componentCls}-lg`)},Wae=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Gae=Kt("Button",e=>{const t=P9(e);return[Aae(t),Hae(t),Uae(t),Vae(t),Wae(t),zae(t),kae(t)]},L9,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function qae(e,t,n){const{focusElCls:r,focus:a,borderElCls:o}=n,i=o?"> *":"",s=["hover",a?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${i}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}function Kae(e,t,n){const{borderElCls:r}=n,a=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${a}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function ng(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},qae(e,r,t)),Kae(n,r,t))}}function Yae(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Xae(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Zae(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Yae(e,t)),Xae(e.componentCls,t))}}const Qae=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${W(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${W(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Jae=Ju(["Button","compact"],e=>{const t=P9(e);return[ng(t),Zae(t),Qae(t)]},L9);var eoe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a;const{loading:o=!1,prefixCls:i,type:s,danger:c=!1,shape:u="default",size:d,styles:f,disabled:p,className:g,rootClassName:b,children:m,icon:h,iconPosition:y="start",ghost:v=!1,block:S=!1,htmlType:w="button",classNames:x,style:E={},autoInsertSpace:I}=e,R=eoe(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),T=s||"default",{getPrefixCls:_,direction:$,button:D}=l.useContext(ot),P=(n=I??(D==null?void 0:D.autoInsertSpace))!==null&&n!==void 0?n:!0,A=_("btn",i),[O,N,k]=Gae(A),M=l.useContext(Vr),L=p??M,F=l.useContext(A9),j=l.useMemo(()=>toe(o),[o]),[B,z]=l.useState(j.loading),[H,U]=l.useState(!1),q=Ar(t,l.createRef()),Y=l.Children.count(m)===1&&!h&&!Wy(T);l.useEffect(()=>{let ue=null;j.delay>0?ue=setTimeout(()=>{ue=null,z(!0)},j.delay):z(j.loading);function fe(){ue&&(clearTimeout(ue),ue=null)}return fe},[j]),l.useEffect(()=>{if(!q||!q.current||!P)return;const ue=q.current.textContent;Y&&iT(ue)?H||U(!0):H&&U(!1)},[q]);const te=ue=>{const{onClick:fe}=e;if(B||L){ue.preventDefault();return}fe==null||fe(ue)},{compactSize:ee,compactItemClassnames:X}=Ji(A,$),ie={large:"lg",small:"sm",middle:void 0},re=cr(ue=>{var fe,pe;return(pe=(fe=d??ee)!==null&&fe!==void 0?fe:F)!==null&&pe!==void 0?pe:ue}),G=re&&ie[re]||"",Q=B?"loading":h,ae=gn(R,["navigate"]),oe=ne(A,N,k,{[`${A}-${u}`]:u!=="default"&&u,[`${A}-${T}`]:T,[`${A}-${G}`]:G,[`${A}-icon-only`]:!m&&m!==0&&!!Q,[`${A}-background-ghost`]:v&&!Wy(T),[`${A}-loading`]:B,[`${A}-two-chinese-chars`]:H&&P&&!B,[`${A}-block`]:S,[`${A}-dangerous`]:c,[`${A}-rtl`]:$==="rtl",[`${A}-icon-end`]:y==="end"},X,g,b,D==null?void 0:D.className),de=Object.assign(Object.assign({},D==null?void 0:D.style),E),ve=ne(x==null?void 0:x.icon,(r=D==null?void 0:D.classNames)===null||r===void 0?void 0:r.icon),ye=Object.assign(Object.assign({},(f==null?void 0:f.icon)||{}),((a=D==null?void 0:D.styles)===null||a===void 0?void 0:a.icon)||{}),ge=h&&!B?le.createElement(D9,{prefixCls:A,className:ve,style:ye},h):le.createElement(Nae,{existIcon:!!h,prefixCls:A,loading:B}),J=m||m===0?Oae(m,Y&&P):null;if(ae.href!==void 0)return O(le.createElement("a",Object.assign({},ae,{className:ne(oe,{[`${A}-disabled`]:L}),href:L?void 0:ae.href,style:de,onClick:te,ref:q,tabIndex:L?-1:0}),ge,J));let ce=le.createElement("button",Object.assign({},R,{type:w,className:oe,style:de,onClick:te,disabled:L,ref:q}),ge,J,!!X&&le.createElement(Jae,{key:"compact",prefixCls:A}));return Wy(T)||(ce=le.createElement(tg,{component:"Button",disabled:B},ce)),O(ce)}),$t=noe;$t.Group=_ae;$t.__ANT_BUTTON=!0;function Ky(e){return!!(e!=null&&e.then)}const B9=e=>{const{type:t,children:n,prefixCls:r,buttonProps:a,close:o,autoFocus:i,emitEvent:s,isSilent:c,quitOnNullishReturnValue:u,actionFn:d}=e,f=l.useRef(!1),p=l.useRef(null),[g,b]=ql(!1),m=function(){o==null||o.apply(void 0,arguments)};l.useEffect(()=>{let v=null;return i&&(v=setTimeout(()=>{var S;(S=p.current)===null||S===void 0||S.focus()})),()=>{v&&clearTimeout(v)}},[]);const h=v=>{Ky(v)&&(b(!0),v.then(function(){b(!1,!0),m.apply(void 0,arguments),f.current=!1},S=>{if(b(!1,!0),f.current=!1,!(c!=null&&c()))return Promise.reject(S)}))},y=v=>{if(f.current)return;if(f.current=!0,!d){m();return}let S;if(s){if(S=d(v),u&&!Ky(S)){f.current=!1,m(v);return}}else if(d.length)S=d(o),f.current=!1;else if(S=d(),!Ky(S)){m();return}h(S)};return l.createElement($t,Object.assign({},M9(t),{onClick:y,loading:g,prefixCls:r},a,{ref:p}),n)},rg=le.createContext({}),{Provider:z9}=rg,XA=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:a,rootPrefixCls:o,close:i,onCancel:s,onConfirm:c}=l.useContext(rg);return a?le.createElement(B9,{isSilent:r,actionFn:s,close:function(){i==null||i.apply(void 0,arguments),c==null||c(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${o}-btn`},n):null},ZA=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:a,okTextLocale:o,okType:i,onConfirm:s,onOk:c}=l.useContext(rg);return le.createElement(B9,{isSilent:n,type:i||"primary",actionFn:c,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${a}-btn`},o)};var H9=l.createContext(null),QA=[];function roe(e,t){var n=l.useState(function(){if(!kr())return null;var b=document.createElement("div");return b}),r=se(n,1),a=r[0],o=l.useRef(!1),i=l.useContext(H9),s=l.useState(QA),c=se(s,2),u=c[0],d=c[1],f=i||(o.current?void 0:function(b){d(function(m){var h=[b].concat($e(m));return h})});function p(){a.parentElement||document.body.appendChild(a),o.current=!0}function g(){var b;(b=a.parentElement)===null||b===void 0||b.removeChild(a),o.current=!1}return zt(function(){return e?i?i(p):p():g(),g},[e]),zt(function(){u.length&&(u.forEach(function(b){return b()}),d(QA))},[u]),[a,f]}var Yy;function U9(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var a,o;if(e){var i=getComputedStyle(e);r.scrollbarColor=i.scrollbarColor,r.scrollbarWidth=i.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(s.width,10),u=parseInt(s.height,10);try{var d=c?"width: ".concat(s.width,";"):"",f=u?"height: ".concat(s.height,";"):"";Fi(` + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:w,animationDuration:f,animationPlayState:"paused",animationTimingFunction:d},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${b}-wrapper`]:Object.assign({},x)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},x),{padding:0,textAlign:"start"})}]},Gre=e=>({zIndexPopup:e.zIndexPopupBase+I9+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),R9=Kt("Message",e=>{const t=Pt(e,{height:150});return[Wre(t)]},Gre);var qre=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,type:n,icon:r,children:a}=e;return l.createElement("div",{className:ne(`${t}-custom-content`,`${t}-${n}`)},r||Kre[n],l.createElement("span",null,a))},Yre=e=>{const{prefixCls:t,className:n,type:r,icon:a,content:o}=e,i=qre(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=l.useContext(ot),c=t||s("message"),u=Vn(c),[d,f,p]=R9(c,u);return d(l.createElement(x9,Object.assign({},i,{prefixCls:c,className:ne(n,f,`${c}-notice-pure-panel`,p,u),eventKey:"pure",duration:null,content:l.createElement(_9,{prefixCls:c,type:r,icon:a},o)})))};function Xre(e,t){return{motionName:t??`${e}-move-up`}}function V_(e){let t;const n=new Promise(a=>{t=e(()=>{a(!0)})}),r=()=>{t==null||t()};return r.then=(a,o)=>n.then(a,o),r.promise=n,r}var Zre=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{children:t,prefixCls:n}=e;const r=Vn(n),[a,o,i]=R9(n,r);return a(l.createElement(Nre,{classNames:{list:ne(o,i,r)}},t))},tae=(e,t)=>{let{prefixCls:n,key:r}=t;return l.createElement(eae,{prefixCls:n,key:r},e)},nae=l.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:a,maxCount:o,duration:i=Jre,rtl:s,transitionName:c,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:f,message:p,direction:g}=l.useContext(ot),v=r||d("message"),m=()=>({left:"50%",transform:"translateX(-50%)",top:n??Qre}),h=()=>ne({[`${v}-rtl`]:s??g==="rtl"}),y=()=>Xre(v,c),b=l.createElement("span",{className:`${v}-close-x`},l.createElement(da,{className:`${v}-close-icon`})),[S,w]=jre({prefixCls:v,style:m,className:h,motion:y,closable:!1,closeIcon:b,duration:i,getContainer:()=>(a==null?void 0:a())||(f==null?void 0:f())||document.body,maxCount:o,onAllRemoved:u,renderNotifications:tae});return l.useImperativeHandle(t,()=>Object.assign(Object.assign({},S),{prefixCls:v,message:p})),w});let HA=0;function $9(e){const t=l.useRef(null);return Xs(),[l.useMemo(()=>{const r=c=>{var u;(u=t.current)===null||u===void 0||u.close(c)},a=c=>{if(!t.current){const E=()=>{};return E.then=()=>{},E}const{open:u,prefixCls:d,message:f}=t.current,p=`${d}-notice`,{content:g,icon:v,type:m,key:h,className:y,style:b,onClose:S}=c,w=Zre(c,["content","icon","type","key","className","style","onClose"]);let x=h;return x==null&&(HA+=1,x=`antd-message-${HA}`),V_(E=>(u(Object.assign(Object.assign({},w),{key:x,content:l.createElement(_9,{prefixCls:d,type:m,icon:v},g),placement:"top",className:ne(m&&`${p}-${m}`,y,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),b),onClose:()=>{S==null||S(),E()}})),()=>{r(x)}))},i={open:a,destroy:c=>{var u;c!==void 0?r(c):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(c=>{const u=(d,f,p)=>{let g;d&&typeof d=="object"&&"content"in d?g=d:g={content:d};let v,m;typeof f=="function"?m=f:(v=f,m=p);const h=Object.assign(Object.assign({onClose:m,duration:v},g),{type:c});return a(h)};i[c]=u}),i},[]),l.createElement(nae,Object.assign({key:"message-holder"},e,{ref:t}))]}function rae(e){return $9(e)}function aae(){const[e,t]=l.useState([]),n=l.useCallback(r=>(t(a=>[].concat($e(a),[r])),()=>{t(a=>a.filter(o=>o!==r))}),[]);return[e,n]}function Gr(){Gr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(N,k,M){N[k]=M.value},o=typeof Symbol=="function"?Symbol:{},i=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(N,k,M){return Object.defineProperty(N,k,{value:M,enumerable:!0,configurable:!0,writable:!0}),N[k]}try{u({},"")}catch{u=function(M,L,F){return M[L]=F}}function d(N,k,M,L){var F=k&&k.prototype instanceof y?k:y,j=Object.create(F.prototype),B=new A(L||[]);return a(j,"_invoke",{value:_(N,M,B)}),j}function f(N,k,M){try{return{type:"normal",arg:N.call(k,M)}}catch(L){return{type:"throw",arg:L}}}t.wrap=d;var p="suspendedStart",g="suspendedYield",v="executing",m="completed",h={};function y(){}function b(){}function S(){}var w={};u(w,i,function(){return this});var x=Object.getPrototypeOf,E=x&&x(x(O([])));E&&E!==n&&r.call(E,i)&&(w=E);var I=S.prototype=y.prototype=Object.create(w);function R(N){["next","throw","return"].forEach(function(k){u(N,k,function(M){return this._invoke(k,M)})})}function T(N,k){function M(F,j,B,z){var H=f(N[F],N,j);if(H.type!=="throw"){var U=H.arg,Z=U.value;return Z&&ft(Z)=="object"&&r.call(Z,"__await")?k.resolve(Z.__await).then(function(q){M("next",q,B,z)},function(q){M("throw",q,B,z)}):k.resolve(Z).then(function(q){U.value=q,B(U)},function(q){return M("throw",q,B,z)})}z(H.arg)}var L;a(this,"_invoke",{value:function(j,B){function z(){return new k(function(H,U){M(j,B,H,U)})}return L=L?L.then(z,z):z()}})}function _(N,k,M){var L=p;return function(F,j){if(L===v)throw Error("Generator is already running");if(L===m){if(F==="throw")throw j;return{value:e,done:!0}}for(M.method=F,M.arg=j;;){var B=M.delegate;if(B){var z=$(B,M);if(z){if(z===h)continue;return z}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(L===p)throw L=m,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);L=v;var H=f(N,k,M);if(H.type==="normal"){if(L=M.done?m:g,H.arg===h)continue;return{value:H.arg,done:M.done}}H.type==="throw"&&(L=m,M.method="throw",M.arg=H.arg)}}}function $(N,k){var M=k.method,L=N.iterator[M];if(L===e)return k.delegate=null,M==="throw"&&N.iterator.return&&(k.method="return",k.arg=e,$(N,k),k.method==="throw")||M!=="return"&&(k.method="throw",k.arg=new TypeError("The iterator does not provide a '"+M+"' method")),h;var F=f(L,N.iterator,k.arg);if(F.type==="throw")return k.method="throw",k.arg=F.arg,k.delegate=null,h;var j=F.arg;return j?j.done?(k[N.resultName]=j.value,k.next=N.nextLoc,k.method!=="return"&&(k.method="next",k.arg=e),k.delegate=null,h):j:(k.method="throw",k.arg=new TypeError("iterator result is not an object"),k.delegate=null,h)}function D(N){var k={tryLoc:N[0]};1 in N&&(k.catchLoc=N[1]),2 in N&&(k.finallyLoc=N[2],k.afterLoc=N[3]),this.tryEntries.push(k)}function P(N){var k=N.completion||{};k.type="normal",delete k.arg,N.completion=k}function A(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(D,this),this.reset(!0)}function O(N){if(N||N===""){var k=N[i];if(k)return k.call(N);if(typeof N.next=="function")return N;if(!isNaN(N.length)){var M=-1,L=function F(){for(;++M=0;--F){var j=this.tryEntries[F],B=j.completion;if(j.tryLoc==="root")return L("end");if(j.tryLoc<=this.prev){var z=r.call(j,"catchLoc"),H=r.call(j,"finallyLoc");if(z&&H){if(this.prev=0;--L){var F=this.tryEntries[L];if(F.tryLoc<=this.prev&&r.call(F,"finallyLoc")&&this.prev=0;--M){var L=this.tryEntries[M];if(L.finallyLoc===k)return this.complete(L.completion,L.afterLoc),P(L),h}},catch:function(k){for(var M=this.tryEntries.length-1;M>=0;--M){var L=this.tryEntries[M];if(L.tryLoc===k){var F=L.completion;if(F.type==="throw"){var j=F.arg;P(L)}return j}}throw Error("illegal catch attempt")},delegateYield:function(k,M,L){return this.delegate={iterator:O(k),resultName:M,nextLoc:L},this.method==="next"&&(this.arg=e),h}},t}function UA(e,t,n,r,a,o,i){try{var s=e[o](i),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,a)}function Zs(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(c){UA(o,r,a,i,s,"next",c)}function s(c){UA(o,r,a,i,s,"throw",c)}i(void 0)})}}var eg=K({},lQ),oae=eg.version,iae=eg.render,sae=eg.unmountComponentAtNode,_b;try{var lae=Number((oae||"").split(".")[0]);lae>=18&&(_b=eg.createRoot)}catch{}function VA(e){var t=eg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&ft(t)==="object"&&(t.usingClientEntryPoint=e)}var mv="__rc_react_root__";function cae(e,t){VA(!0);var n=t[mv]||_b(t);VA(!1),n.render(e),t[mv]=n}function uae(e,t){iae(e,t)}function W_(e,t){if(_b){cae(e,t);return}uae(e,t)}function dae(e){return aT.apply(this,arguments)}function aT(){return aT=Zs(Gr().mark(function e(t){return Gr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var a;(a=t[mv])===null||a===void 0||a.unmount(),delete t[mv]}));case 1:case"end":return r.stop()}},e)})),aT.apply(this,arguments)}function fae(e){sae(e)}function O9(e){return oT.apply(this,arguments)}function oT(){return oT=Zs(Gr().mark(function e(t){return Gr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(_b===void 0){r.next=2;break}return r.abrupt("return",dae(t));case 2:fae(t);case 3:case"end":return r.stop()}},e)})),oT.apply(this,arguments)}const zy=()=>({height:0,opacity:0}),WA=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},pae=e=>({height:e?e.offsetHeight:0}),Hy=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Pu=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:mp}-motion-collapse`,onAppearStart:zy,onEnterStart:zy,onAppearActive:WA,onEnterActive:WA,onLeaveStart:pae,onLeaveActive:zy,onAppearEnd:Hy,onEnterEnd:Hy,onLeaveEnd:Hy,motionDeadline:500}},bo=(e,t,n)=>n!==void 0?n:`${e}-${t}`,td=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var a=e.getBoundingClientRect(),o=a.width,i=a.height;if(o||i)return!0}}return!1},gae=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},mae=une("Wave",e=>[gae(e)]),$b=`${mp}-wave-target`;function hae(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}function Uy(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&hae(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function vae(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return Uy(t)?t:Uy(n)?n:Uy(r)?r:null}function Vy(e){return Number.isNaN(e)?0:e}const bae=e=>{const{className:t,target:n,component:r}=e,a=l.useRef(null),[o,i]=l.useState(null),[s,c]=l.useState([]),[u,d]=l.useState(0),[f,p]=l.useState(0),[g,v]=l.useState(0),[m,h]=l.useState(0),[y,b]=l.useState(!1),S={left:u,top:f,width:g,height:m,borderRadius:s.map(E=>`${E}px`).join(" ")};o&&(S["--wave-color"]=o);function w(){const E=getComputedStyle(n);i(vae(n));const I=E.position==="static",{borderLeftWidth:R,borderTopWidth:T}=E;d(I?n.offsetLeft:Vy(-parseFloat(R))),p(I?n.offsetTop:Vy(-parseFloat(T))),v(n.offsetWidth),h(n.offsetHeight);const{borderTopLeftRadius:_,borderTopRightRadius:$,borderBottomLeftRadius:D,borderBottomRightRadius:P}=E;c([_,$,P,D].map(A=>Vy(parseFloat(A))))}if(l.useEffect(()=>{if(n){const E=Dt(()=>{w(),b(!0)});let I;return typeof ResizeObserver<"u"&&(I=new ResizeObserver(w),I.observe(n)),()=>{Dt.cancel(E),I==null||I.disconnect()}}},[]),!y)return null;const x=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains($b));return l.createElement(Wr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(E,I)=>{var R;if(I.deadline||I.propertyName==="opacity"){const T=(R=a.current)===null||R===void 0?void 0:R.parentElement;O9(T).then(()=>{T==null||T.remove()})}return!1}},(E,I)=>{let{className:R}=E;return l.createElement("div",{ref:Ar(a,I),className:ne(t,R,{"wave-quick":x}),style:S})})},yae=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const a=document.createElement("div");a.style.position="absolute",a.style.left="0px",a.style.top="0px",e==null||e.insertBefore(a,e==null?void 0:e.firstChild),W_(l.createElement(bae,Object.assign({},t,{target:e})),a)},Sae=(e,t,n)=>{const{wave:r}=l.useContext(ot),[,a,o]=Mr(),i=Lt(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const f=d.querySelector(`.${$b}`)||d,{showEffect:p}=r||{};(p||yae)(f,{className:t,token:a,component:n,event:u,hashId:o})}),s=l.useRef();return u=>{Dt.cancel(s.current),s.current=Dt(()=>{i(u)})}},tg=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:a}=l.useContext(ot),o=l.useRef(null),i=a("wave"),[,s]=mae(i),c=Sae(o,ne(i,s),r);if(le.useEffect(()=>{const d=o.current;if(!d||d.nodeType!==1||n)return;const f=p=>{!td(p.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||c(p)};return d.addEventListener("click",f,!0),()=>{d.removeEventListener("click",f,!0)}},[n]),!le.isValidElement(t))return t??null;const u=Ho(t)?Ar(t.ref,o):o;return lr(t,{ref:u})},cr=e=>{const t=le.useContext(Gl);return le.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},wae=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Cae=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{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"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},xae=e=>{const{componentCls:t}=e;return{[t]:{"&-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}}}},N9=Kt("Space",e=>{const t=Pt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Cae(t),xae(t),wae(t)]},()=>({}),{resetStyle:!1});var k9=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=l.useContext(Ob),r=l.useMemo(()=>{if(!n)return"";const{compactDirection:a,isFirstItem:o,isLastItem:i}=n,s=a==="vertical"?"-vertical-":"-";return ne(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:i,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},Eae=e=>{let{children:t}=e;return l.createElement(Ob.Provider,{value:null},t)},Iae=e=>{var{children:t}=e,n=k9(e,["children"]);return l.createElement(Ob.Provider,{value:n},t)},Tae=e=>{const{getPrefixCls:t,direction:n}=l.useContext(ot),{size:r,direction:a,block:o,prefixCls:i,className:s,rootClassName:c,children:u}=e,d=k9(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=cr(S=>r??S),p=t("space-compact",i),[g,v]=N9(p),m=ne(p,v,{[`${p}-rtl`]:n==="rtl",[`${p}-block`]:o,[`${p}-vertical`]:a==="vertical"},s,c),h=l.useContext(Ob),y=or(u),b=l.useMemo(()=>y.map((S,w)=>{const x=(S==null?void 0:S.key)||`${p}-item-${w}`;return l.createElement(Iae,{key:x,compactSize:f,compactDirection:a,isFirstItem:w===0&&(!h||(h==null?void 0:h.isFirstItem)),isLastItem:w===y.length-1&&(!h||(h==null?void 0:h.isLastItem))},S)}),[r,y,h]);return y.length===0?null:g(l.createElement("div",Object.assign({className:m},d),b))};var Rae=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n}=l.useContext(ot),{prefixCls:r,size:a,className:o}=e,i=Rae(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,c]=Mr();let u="";switch(a){case"large":u="lg";break;case"small":u="sm";break}const d=ne(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:n==="rtl"},o,c);return l.createElement(A9.Provider,{value:a},l.createElement("div",Object.assign({},i,{className:d})))},GA=/^[\u4e00-\u9fa5]{2}$/,iT=GA.test.bind(GA);function M9(e){return e==="danger"?{danger:!0}:{type:e}}function qA(e){return typeof e=="string"}function Wy(e){return e==="text"||e==="link"}function $ae(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&qA(e.type)&&iT(e.props.children)?lr(e,{children:e.props.children.split("").join(n)}):qA(e)?iT(e)?le.createElement("span",null,e.split("").join(n)):le.createElement("span",null,e):w9(e)?le.createElement("span",null,e):e}function Oae(e,t){let n=!1;const r=[];return le.Children.forEach(e,a=>{const o=typeof a,i=o==="string"||o==="number";if(n&&i){const s=r.length-1,c=r[s];r[s]=`${c}${a}`}else r.push(a);n=i}),le.Children.map(r,a=>$ae(a,t))}const D9=l.forwardRef((e,t)=>{const{className:n,style:r,children:a,prefixCls:o}=e,i=ne(`${o}-icon`,n);return le.createElement("span",{ref:t,className:i,style:r},a)}),KA=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:a,iconClassName:o}=e,i=ne(`${n}-loading-icon`,r);return le.createElement(D9,{prefixCls:n,className:i,style:a,ref:t},le.createElement(Wi,{className:o}))}),Gy=()=>({width:0,opacity:0,transform:"scale(0)"}),qy=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Nae=e=>{const{prefixCls:t,loading:n,existIcon:r,className:a,style:o}=e,i=!!n;return r?le.createElement(KA,{prefixCls:t,className:a,style:o}):le.createElement(Wr,{visible:i,motionName:`${t}-loading-icon-motion`,motionLeave:i,removeOnLeave:!0,onAppearStart:Gy,onAppearActive:qy,onEnterStart:Gy,onEnterActive:qy,onLeaveStart:qy,onLeaveActive:Gy},(s,c)=>{let{className:u,style:d}=s;return le.createElement(KA,{prefixCls:t,className:a,style:Object.assign(Object.assign({},o),d),ref:c,iconClassName:u})})},YA=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),kae=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:a,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},YA(`${t}-primary`,a),YA(`${t}-danger`,o)]}},P9=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Pt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},L9=e=>{var t,n,r,a,o,i;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,c=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,u=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,d=(a=e.contentLineHeight)!==null&&a!==void 0?a:yh(s),f=(o=e.contentLineHeightSM)!==null&&o!==void 0?o:yh(c),p=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:yh(u);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${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,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:s,contentFontSizeSM:c,contentFontSizeLG:u,contentLineHeight:d,contentLineHeightSM:f,contentLineHeightLG:p,paddingBlock:Math.max((e.controlHeight-s*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-c*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*p)/2-e.lineWidth,0)}},Aae=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${W(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:1},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},ui(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},"&-icon-end":{flexDirection:"row-reverse"}}}},Gi=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Mae=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Dae=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),Pae=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),vp=(e,t,n,r,a,o,i,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Gi(e,Object.assign({background:t},i),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:a||void 0,borderColor:o||void 0}})}),G_=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},Pae(e))}),F9=e=>Object.assign({},G_(e)),hv=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),j9=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F9(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Gi(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),vp(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Gi(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),vp(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),G_(e))}),Lae=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},F9(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),Gi(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),vp(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},Gi(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),vp(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),G_(e))}),Fae=e=>Object.assign(Object.assign({},j9(e)),{borderStyle:"dashed"}),jae=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Gi(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),hv(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Gi(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),hv(e))}),Bae=e=>Object.assign(Object.assign(Object.assign({},Gi(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),hv(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},hv(e)),Gi(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),zae=e=>{const{componentCls:t}=e;return{[`${t}-default`]:j9(e),[`${t}-primary`]:Lae(e),[`${t}-dashed`]:Fae(e),[`${t}-link`]:jae(e),[`${t}-text`]:Bae(e),[`${t}-ghost`]:vp(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},q_=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:a,lineHeight:o,borderRadius:i,buttonPaddingHorizontal:s,iconCls:c,buttonPaddingVertical:u}=e,d=`${n}-icon-only`;return[{[t]:{fontSize:a,lineHeight:o,height:r,padding:`${W(u)} ${W(s)}`,borderRadius:i,[`&${d}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[c]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:Mae(e)},{[`${n}${n}-round${t}`]:Dae(e)}]},Hae=e=>{const t=Pt(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return q_(t,e.componentCls)},Uae=e=>{const t=Pt(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return q_(t,`${e.componentCls}-sm`)},Vae=e=>{const t=Pt(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return q_(t,`${e.componentCls}-lg`)},Wae=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Gae=Kt("Button",e=>{const t=P9(e);return[Aae(t),Hae(t),Uae(t),Vae(t),Wae(t),zae(t),kae(t)]},L9,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function qae(e,t,n){const{focusElCls:r,focus:a,borderElCls:o}=n,i=o?"> *":"",s=["hover",a?"focus":null,"active"].filter(Boolean).map(c=>`&:${c} ${i}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${i}`]:{zIndex:0}})}}function Kae(e,t,n){const{borderElCls:r}=n,a=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${a}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${a}, &${e}-sm ${a}, &${e}-lg ${a}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function ng(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},qae(e,r,t)),Kae(n,r,t))}}function Yae(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function Xae(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function Zae(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Yae(e,t)),Xae(e.componentCls,t))}}const Qae=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${W(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${W(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Jae=Ju(["Button","compact"],e=>{const t=P9(e);return[ng(t),Zae(t),Qae(t)]},L9);var eoe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a;const{loading:o=!1,prefixCls:i,type:s,danger:c=!1,shape:u="default",size:d,styles:f,disabled:p,className:g,rootClassName:v,children:m,icon:h,iconPosition:y="start",ghost:b=!1,block:S=!1,htmlType:w="button",classNames:x,style:E={},autoInsertSpace:I}=e,R=eoe(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),T=s||"default",{getPrefixCls:_,direction:$,button:D}=l.useContext(ot),P=(n=I??(D==null?void 0:D.autoInsertSpace))!==null&&n!==void 0?n:!0,A=_("btn",i),[O,N,k]=Gae(A),M=l.useContext(Vr),L=p??M,F=l.useContext(A9),j=l.useMemo(()=>toe(o),[o]),[B,z]=l.useState(j.loading),[H,U]=l.useState(!1),q=Ar(t,l.createRef()),Y=l.Children.count(m)===1&&!h&&!Wy(T);l.useEffect(()=>{let ue=null;j.delay>0?ue=setTimeout(()=>{ue=null,z(!0)},j.delay):z(j.loading);function fe(){ue&&(clearTimeout(ue),ue=null)}return fe},[j]),l.useEffect(()=>{if(!q||!q.current||!P)return;const ue=q.current.textContent;Y&&iT(ue)?H||U(!0):H&&U(!1)},[q]);const ee=ue=>{const{onClick:fe}=e;if(B||L){ue.preventDefault();return}fe==null||fe(ue)},{compactSize:te,compactItemClassnames:X}=Ji(A,$),ie={large:"lg",small:"sm",middle:void 0},re=cr(ue=>{var fe,pe;return(pe=(fe=d??te)!==null&&fe!==void 0?fe:F)!==null&&pe!==void 0?pe:ue}),G=re&&ie[re]||"",Q=B?"loading":h,ae=gn(R,["navigate"]),oe=ne(A,N,k,{[`${A}-${u}`]:u!=="default"&&u,[`${A}-${T}`]:T,[`${A}-${G}`]:G,[`${A}-icon-only`]:!m&&m!==0&&!!Q,[`${A}-background-ghost`]:b&&!Wy(T),[`${A}-loading`]:B,[`${A}-two-chinese-chars`]:H&&P&&!B,[`${A}-block`]:S,[`${A}-dangerous`]:c,[`${A}-rtl`]:$==="rtl",[`${A}-icon-end`]:y==="end"},X,g,v,D==null?void 0:D.className),de=Object.assign(Object.assign({},D==null?void 0:D.style),E),ve=ne(x==null?void 0:x.icon,(r=D==null?void 0:D.classNames)===null||r===void 0?void 0:r.icon),ye=Object.assign(Object.assign({},(f==null?void 0:f.icon)||{}),((a=D==null?void 0:D.styles)===null||a===void 0?void 0:a.icon)||{}),ge=h&&!B?le.createElement(D9,{prefixCls:A,className:ve,style:ye},h):le.createElement(Nae,{existIcon:!!h,prefixCls:A,loading:B}),J=m||m===0?Oae(m,Y&&P):null;if(ae.href!==void 0)return O(le.createElement("a",Object.assign({},ae,{className:ne(oe,{[`${A}-disabled`]:L}),href:L?void 0:ae.href,style:de,onClick:ee,ref:q,tabIndex:L?-1:0}),ge,J));let ce=le.createElement("button",Object.assign({},R,{type:w,className:oe,style:de,onClick:ee,disabled:L,ref:q}),ge,J,!!X&&le.createElement(Jae,{key:"compact",prefixCls:A}));return Wy(T)||(ce=le.createElement(tg,{component:"Button",disabled:B},ce)),O(ce)}),$t=noe;$t.Group=_ae;$t.__ANT_BUTTON=!0;function Ky(e){return!!(e!=null&&e.then)}const B9=e=>{const{type:t,children:n,prefixCls:r,buttonProps:a,close:o,autoFocus:i,emitEvent:s,isSilent:c,quitOnNullishReturnValue:u,actionFn:d}=e,f=l.useRef(!1),p=l.useRef(null),[g,v]=ql(!1),m=function(){o==null||o.apply(void 0,arguments)};l.useEffect(()=>{let b=null;return i&&(b=setTimeout(()=>{var S;(S=p.current)===null||S===void 0||S.focus()})),()=>{b&&clearTimeout(b)}},[]);const h=b=>{Ky(b)&&(v(!0),b.then(function(){v(!1,!0),m.apply(void 0,arguments),f.current=!1},S=>{if(v(!1,!0),f.current=!1,!(c!=null&&c()))return Promise.reject(S)}))},y=b=>{if(f.current)return;if(f.current=!0,!d){m();return}let S;if(s){if(S=d(b),u&&!Ky(S)){f.current=!1,m(b);return}}else if(d.length)S=d(o),f.current=!1;else if(S=d(),!Ky(S)){m();return}h(S)};return l.createElement($t,Object.assign({},M9(t),{onClick:y,loading:g,prefixCls:r},a,{ref:p}),n)},rg=le.createContext({}),{Provider:z9}=rg,XA=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:a,rootPrefixCls:o,close:i,onCancel:s,onConfirm:c}=l.useContext(rg);return a?le.createElement(B9,{isSilent:r,actionFn:s,close:function(){i==null||i.apply(void 0,arguments),c==null||c(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${o}-btn`},n):null},ZA=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:a,okTextLocale:o,okType:i,onConfirm:s,onOk:c}=l.useContext(rg);return le.createElement(B9,{isSilent:n,type:i||"primary",actionFn:c,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${a}-btn`},o)};var H9=l.createContext(null),QA=[];function roe(e,t){var n=l.useState(function(){if(!kr())return null;var v=document.createElement("div");return v}),r=se(n,1),a=r[0],o=l.useRef(!1),i=l.useContext(H9),s=l.useState(QA),c=se(s,2),u=c[0],d=c[1],f=i||(o.current?void 0:function(v){d(function(m){var h=[v].concat($e(m));return h})});function p(){a.parentElement||document.body.appendChild(a),o.current=!0}function g(){var v;(v=a.parentElement)===null||v===void 0||v.removeChild(a),o.current=!1}return zt(function(){return e?i?i(p):p():g(),g},[e]),zt(function(){u.length&&(u.forEach(function(v){return v()}),d(QA))},[u]),[a,f]}var Yy;function U9(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var a,o;if(e){var i=getComputedStyle(e);r.scrollbarColor=i.scrollbarColor,r.scrollbarWidth=i.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),c=parseInt(s.width,10),u=parseInt(s.height,10);try{var d=c?"width: ".concat(s.width,";"):"",f=u?"height: ".concat(s.height,";"):"";Fi(` #`.concat(t,`::-webkit-scrollbar { `).concat(d,` `).concat(f,` -}`),t)}catch(b){console.error(b),a=c,o=u}}document.body.appendChild(n);var p=e&&a&&!isNaN(a)?a:n.offsetWidth-n.clientWidth,g=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),dp(t),{width:p,height:g}}function JA(e){return typeof document>"u"?0:(Yy===void 0&&(Yy=U9()),Yy.width)}function sT(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:U9(e)}function aoe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ooe="rc-util-locker-".concat(Date.now()),e3=0;function ioe(e){var t=!!e,n=l.useState(function(){return e3+=1,"".concat(ooe,"_").concat(e3)}),r=se(n,1),a=r[0];zt(function(){if(t){var o=sT(document.body).width,i=aoe();Fi(` +}`),t)}catch(v){console.error(v),a=c,o=u}}document.body.appendChild(n);var p=e&&a&&!isNaN(a)?a:n.offsetWidth-n.clientWidth,g=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),dp(t),{width:p,height:g}}function JA(e){return typeof document>"u"?0:(Yy===void 0&&(Yy=U9()),Yy.width)}function sT(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:U9(e)}function aoe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var ooe="rc-util-locker-".concat(Date.now()),e3=0;function ioe(e){var t=!!e,n=l.useState(function(){return e3+=1,"".concat(ooe,"_").concat(e3)}),r=se(n,1),a=r[0];zt(function(){if(t){var o=sT(document.body).width,i=aoe();Fi(` html body { overflow-y: hidden; `.concat(i?"width: calc(100% - ".concat(o,"px);"):"",` -}`),a)}else dp(a);return function(){dp(a)}},[t,a])}var soe=!1;function loe(e){return soe}var t3=function(t){return t===!1?!1:!kr()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Nb=l.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer;e.debug;var o=e.autoDestroy,i=o===void 0?!0:o,s=e.children,c=l.useState(n),u=se(c,2),d=u[0],f=u[1],p=d||n;l.useEffect(function(){(i||n)&&f(n)},[n,i]);var g=l.useState(function(){return t3(a)}),b=se(g,2),m=b[0],h=b[1];l.useEffect(function(){var $=t3(a);h($??null)});var y=roe(p&&!m),v=se(y,2),S=v[0],w=v[1],x=m??S;ioe(r&&n&&kr()&&(x===S||x===document.body));var E=null;if(s&&Ho(s)&&t){var I=s;E=I.ref}var R=Zi(E,t);if(!p||!kr()||m===void 0)return null;var T=x===!1||loe(),_=s;return t&&(_=l.cloneElement(s,{ref:R})),l.createElement(H9.Provider,{value:w},T?_:Sr.createPortal(_,x))}),V9=l.createContext({});function coe(){var e=K({},Gp);return e.useId}var n3=0,r3=coe();const W9=r3?function(t){var n=r3();return t||n}:function(t){var n=l.useState("ssr-id"),r=se(n,2),a=r[0],o=r[1];return l.useEffect(function(){var i=n3;n3+=1,o("rc_unique_".concat(i))},[]),t||a};function a3(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function o3(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var a=e.document;n=a.documentElement[r],typeof n!="number"&&(n=a.body[r])}return n}function uoe(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=o3(a),n.top+=o3(a,!0),n}const doe=l.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var i3={width:0,height:0,overflow:"hidden",outline:"none"},foe={outline:"none"},G9=le.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.title,i=e.ariaId,s=e.footer,c=e.closable,u=e.closeIcon,d=e.onClose,f=e.children,p=e.bodyStyle,g=e.bodyProps,b=e.modalRender,m=e.onMouseDown,h=e.onMouseUp,y=e.holderRef,v=e.visible,S=e.forceRender,w=e.width,x=e.height,E=e.classNames,I=e.styles,R=le.useContext(V9),T=R.panel,_=Zi(y,T),$=l.useRef(),D=l.useRef(),P=l.useRef();le.useImperativeHandle(t,function(){return{focus:function(){var z;(z=P.current)===null||z===void 0||z.focus({preventScroll:!0})},changeActive:function(z){var H=document,U=H.activeElement;z&&U===D.current?$.current.focus({preventScroll:!0}):!z&&U===$.current&&D.current.focus({preventScroll:!0})}}});var A={};w!==void 0&&(A.width=w),x!==void 0&&(A.height=x);var O=s?le.createElement("div",{className:ne("".concat(n,"-footer"),E==null?void 0:E.footer),style:K({},I==null?void 0:I.footer)},s):null,N=o?le.createElement("div",{className:ne("".concat(n,"-header"),E==null?void 0:E.header),style:K({},I==null?void 0:I.header)},le.createElement("div",{className:"".concat(n,"-title"),id:i},o)):null,k=l.useMemo(function(){return ft(c)==="object"&&c!==null?c:c?{closeIcon:u??le.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[c,u,n]),M=Nn(k,!0),L=ft(c)==="object"&&c.disabled,F=c?le.createElement("button",be({type:"button",onClick:d,"aria-label":"Close"},M,{className:"".concat(n,"-close"),disabled:L}),k.closeIcon):null,j=le.createElement("div",{className:ne("".concat(n,"-content"),E==null?void 0:E.content),style:I==null?void 0:I.content},F,N,le.createElement("div",be({className:ne("".concat(n,"-body"),E==null?void 0:E.body),style:K(K({},p),I==null?void 0:I.body)},g),f),O);return le.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":o?i:null,"aria-modal":"true",ref:_,style:K(K({},a),A),className:ne(n,r),onMouseDown:m,onMouseUp:h},le.createElement("div",{tabIndex:0,ref:$,style:i3,"aria-hidden":"true"}),le.createElement("div",{ref:P,tabIndex:-1,style:foe},le.createElement(doe,{shouldUpdate:v||S},b?b(j):j)),le.createElement("div",{tabIndex:0,ref:D,style:i3,"aria-hidden":"true"}))}),q9=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,a=e.style,o=e.className,i=e.visible,s=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,f=e.onVisibleChanged,p=e.mousePosition,g=l.useRef(),b=l.useState(),m=se(b,2),h=m[0],y=m[1],v={};h&&(v.transformOrigin=h);function S(){var w=uoe(g.current);y(p&&(p.x||p.y)?"".concat(p.x-w.left,"px ").concat(p.y-w.top,"px"):"")}return l.createElement(Wr,{visible:i,onVisibleChanged:f,onAppearPrepare:S,onEnterPrepare:S,forceRender:s,motionName:u,removeOnLeave:c,ref:g},function(w,x){var E=w.className,I=w.style;return l.createElement(G9,be({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:x,style:K(K(K({},I),a),v),className:ne(o,E)}))})});q9.displayName="Content";var poe=function(t){var n=t.prefixCls,r=t.style,a=t.visible,o=t.maskProps,i=t.motionName,s=t.className;return l.createElement(Wr,{key:"mask",visible:a,motionName:i,leavedClassName:"".concat(n,"-mask-hidden")},function(c,u){var d=c.className,f=c.style;return l.createElement("div",be({ref:u,style:K(K({},f),r),className:ne("".concat(n,"-mask"),d,s)},o))})},goe=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,a=t.zIndex,o=t.visible,i=o===void 0?!1:o,s=t.keyboard,c=s===void 0?!0:s,u=t.focusTriggerAfterClose,d=u===void 0?!0:u,f=t.wrapStyle,p=t.wrapClassName,g=t.wrapProps,b=t.onClose,m=t.afterOpenChange,h=t.afterClose,y=t.transitionName,v=t.animation,S=t.closable,w=S===void 0?!0:S,x=t.mask,E=x===void 0?!0:x,I=t.maskTransitionName,R=t.maskAnimation,T=t.maskClosable,_=T===void 0?!0:T,$=t.maskStyle,D=t.maskProps,P=t.rootClassName,A=t.classNames,O=t.styles,N=l.useRef(),k=l.useRef(),M=l.useRef(),L=l.useState(i),F=se(L,2),j=F[0],B=F[1],z=W9();function H(){$I(k.current,document.activeElement)||(N.current=document.activeElement)}function U(){if(!$I(k.current,document.activeElement)){var Q;(Q=M.current)===null||Q===void 0||Q.focus()}}function Z(Q){if(Q)U();else{if(B(!1),E&&N.current&&d){try{N.current.focus({preventScroll:!0})}catch{}N.current=null}j&&(h==null||h())}m==null||m(Q)}function q(Q){b==null||b(Q)}var Y=l.useRef(!1),te=l.useRef(),ee=function(){clearTimeout(te.current),Y.current=!0},X=function(){te.current=setTimeout(function(){Y.current=!1})},ie=null;_&&(ie=function(ae){Y.current?Y.current=!1:k.current===ae.target&&q(ae)});function re(Q){if(c&&Q.keyCode===Me.ESC){Q.stopPropagation(),q(Q);return}i&&Q.keyCode===Me.TAB&&M.current.changeActive(!Q.shiftKey)}l.useEffect(function(){i&&(B(!0),H())},[i]),l.useEffect(function(){return function(){clearTimeout(te.current)}},[]);var G=K(K(K({zIndex:a},f),O==null?void 0:O.wrapper),{},{display:j?null:"none"});return l.createElement("div",be({className:ne("".concat(r,"-root"),P)},Nn(t,{data:!0})),l.createElement(poe,{prefixCls:r,visible:E&&i,motionName:a3(r,I,R),style:K(K({zIndex:a},$),O==null?void 0:O.mask),maskProps:D,className:A==null?void 0:A.mask}),l.createElement("div",be({tabIndex:-1,onKeyDown:re,className:ne("".concat(r,"-wrap"),p,A==null?void 0:A.wrapper),ref:k,onClick:ie,style:G},g),l.createElement(q9,be({},t,{onMouseDown:ee,onMouseUp:X,ref:M,closable:w,ariaId:z,prefixCls:r,visible:i&&j,onClose:q,onVisibleChanged:Z,motionName:a3(r,y,v)}))))},K9=function(t){var n=t.visible,r=t.getContainer,a=t.forceRender,o=t.destroyOnClose,i=o===void 0?!1:o,s=t.afterClose,c=t.panelRef,u=l.useState(n),d=se(u,2),f=d[0],p=d[1],g=l.useMemo(function(){return{panel:c}},[c]);return l.useEffect(function(){n&&p(!0)},[n]),!a&&i&&!f?null:l.createElement(V9.Provider,{value:g},l.createElement(Nb,{open:n||a||f,autoDestroy:!1,getContainer:r,autoLock:n||f},l.createElement(goe,be({},t,{destroyOnClose:i,afterClose:function(){s==null||s(),p(!1)}}))))};K9.displayName="Dialog";var Sl="RC_FORM_INTERNAL_HOOKS",xn=function(){cn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Kl=l.createContext({getFieldValue:xn,getFieldsValue:xn,getFieldError:xn,getFieldWarning:xn,getFieldsError:xn,isFieldsTouched:xn,isFieldTouched:xn,isFieldValidating:xn,isFieldsValidating:xn,resetFields:xn,setFields:xn,setFieldValue:xn,setFieldsValue:xn,validateFields:xn,submit:xn,getInternalHooks:function(){return xn(),{dispatch:xn,initEntityValue:xn,registerField:xn,useSubscribe:xn,setInitialValues:xn,destroyForm:xn,setCallbacks:xn,registerWatch:xn,getFields:xn,setValidateMessages:xn,setPreserve:xn,getInitialValue:xn}}}),bp=l.createContext(null);function lT(e){return e==null?[]:Array.isArray(e)?e:[e]}function moe(e){return e&&!!e._init}function cT(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var uT=cT();function hoe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function voe(e,t,n){if(Sb())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&cp(a,n.prototype),a}function dT(e){var t=typeof Map=="function"?new Map:void 0;return dT=function(r){if(r===null||!hoe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return voe(r,arguments,Vl(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),cp(a,r)},dT(e)}var boe=/%[sdj%]/g,yoe=function(){};function fT(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Ua(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=o)return s;switch(s){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return s}});return i}return e}function Soe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function xr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Soe(t)&&typeof e=="string"&&!e)}function woe(e,t,n){var r=[],a=0,o=e.length;function i(s){r.push.apply(r,$e(s||[])),a++,a===o&&n(r)}e.forEach(function(s){t(s,i)})}function s3(e,t,n){var r=0,a=e.length;function o(i){if(i&&i.length){n(i);return}var s=r;r=r+1,st.max?a.push(Ua(o.messages[f].max,t.fullField,t.max)):s&&c&&(dt.max)&&a.push(Ua(o.messages[f].range,t.fullField,t.min,t.max))},Y9=function(t,n,r,a,o,i){t.required&&(!r.hasOwnProperty(t.field)||xr(n,i||t.type))&&a.push(Ua(o.messages.required,t.fullField))},hm;const $oe=function(){if(hm)return hm;var e="[a-fA-F\\d:]",t=function(E){return E&&E.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(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}",a=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],o="(?:%[0-9a-zA-Z]{1,})?",i="(?:".concat(a.join("|"),")").concat(o),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),c=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(i,"$")),d=function(E){return E&&E.exact?s:new RegExp("(?:".concat(t(E)).concat(n).concat(t(E),")|(?:").concat(t(E)).concat(i).concat(t(E),")"),"g")};d.v4=function(x){return x&&x.exact?c:new RegExp("".concat(t(x)).concat(n).concat(t(x)),"g")},d.v6=function(x){return x&&x.exact?u:new RegExp("".concat(t(x)).concat(i).concat(t(x)),"g")};var f="(?:(?:[a-z]+:)?//)",p="(?:\\S+(?::\\S*)?@)?",g=d.v4().source,b=d.v6().source,m="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",v="(?::\\d{2,5})?",S='(?:[/?#][^\\s"]*)?',w="(?:".concat(f,"|www\\.)").concat(p,"(?:localhost|").concat(g,"|").concat(b,"|").concat(m).concat(h).concat(y,")").concat(v).concat(S);return hm=new RegExp("(?:^".concat(w,"$)"),"i"),hm};var d3={email:/^(([^<>()\[\]\\.,;:\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,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ef={integer:function(t){return ef.number(t)&&parseInt(t,10)===t},float:function(t){return ef.number(t)&&!ef.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return ft(t)==="object"&&!ef.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(d3.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match($oe())},hex:function(t){return typeof t=="string"&&!!t.match(d3.hex)}},Ooe=function(t,n,r,a,o){if(t.required&&n===void 0){Y9(t,n,r,a,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;i.indexOf(s)>-1?ef[s](n)||a.push(Ua(o.messages.types[s],t.fullField,t.type)):s&&ft(n)!==t.type&&a.push(Ua(o.messages.types[s],t.fullField,t.type))},Noe=function(t,n,r,a,o){(/^\s+$/.test(n)||n==="")&&a.push(Ua(o.messages.whitespace,t.fullField))};const sn={required:Y9,whitespace:Noe,type:Ooe,range:_oe,enum:Toe,pattern:Roe};var koe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o)}r(i)},Aoe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();sn.required(t,n,a,i,o,"array"),n!=null&&(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o))}r(i)},Moe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&sn.type(t,n,a,i,o)}r(i)},Doe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n,"date")&&!t.required)return r();if(sn.required(t,n,a,i,o),!xr(n,"date")){var c;n instanceof Date?c=n:c=new Date(n),sn.type(t,c,a,i,o),c&&sn.range(t,c.getTime(),a,i,o)}}r(i)},Poe="enum",Loe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&sn[Poe](t,n,a,i,o)}r(i)},Foe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o))}r(i)},joe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o))}r(i)},Boe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&sn.type(t,n,a,i,o)}r(i)},zoe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o))}r(i)},Hoe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&sn.type(t,n,a,i,o)}r(i)},Uoe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n,"string")&&!t.required)return r();sn.required(t,n,a,i,o),xr(n,"string")||sn.pattern(t,n,a,i,o)}r(i)},Voe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),xr(n)||sn.type(t,n,a,i,o)}r(i)},Woe=function(t,n,r,a,o){var i=[],s=Array.isArray(n)?"array":ft(n);sn.required(t,n,a,i,o,s),r(i)},Goe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n,"string")&&!t.required)return r();sn.required(t,n,a,i,o,"string"),xr(n,"string")||(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o),sn.pattern(t,n,a,i,o),t.whitespace===!0&&sn.whitespace(t,n,a,i,o))}r(i)},Xy=function(t,n,r,a,o){var i=t.type,s=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(xr(n,i)&&!t.required)return r();sn.required(t,n,a,s,o,i),xr(n,i)||sn.type(t,n,a,s,o)}r(s)};const Rf={string:Goe,method:Boe,number:zoe,boolean:Moe,regexp:Voe,integer:joe,float:Foe,array:Aoe,object:Hoe,enum:Loe,pattern:Uoe,date:Doe,url:Xy,hex:Xy,email:Xy,required:Woe,any:koe};var ag=function(){function e(t){kn(this,e),V(this,"rules",null),V(this,"_messages",uT),this.define(t)}return An(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(ft(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(a){var o=n[a];r.rules[a]=Array.isArray(o)?o:[o]})}},{key:"messages",value:function(n){return n&&(this._messages=u3(cT(),n)),this._messages}},{key:"validate",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},i=n,s=a,c=o;if(typeof s=="function"&&(c=s,s={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,i),Promise.resolve(i);function u(b){var m=[],h={};function y(S){if(Array.isArray(S)){var w;m=(w=m).concat.apply(w,$e(S))}else m.push(S)}for(var v=0;v0&&arguments[0]!==void 0?arguments[0]:[],R=Array.isArray(I)?I:[I];!s.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&h.message!==void 0&&(R=[].concat(h.message));var T=R.map(c3(h,i));if(s.first&&T.length)return g[h.field]=1,m(T);if(!y)m(T);else{if(h.required&&!b.value)return h.message!==void 0?T=[].concat(h.message).map(c3(h,i)):s.error&&(T=[s.error(h,Ua(s.messages.required,h.field))]),m(T);var _={};h.defaultField&&Object.keys(b.value).map(function(P){_[P]=h.defaultField}),_=K(K({},_),b.rule.fields);var $={};Object.keys(_).forEach(function(P){var A=_[P],O=Array.isArray(A)?A:[A];$[P]=O.map(v.bind(null,P))});var D=new e($);D.messages(s.messages),b.rule.options&&(b.rule.options.messages=s.messages,b.rule.options.error=s.error),D.validate(b.value,b.rule.options||s,function(P){var A=[];T&&T.length&&A.push.apply(A,$e(T)),P&&P.length&&A.push.apply(A,$e(P)),m(A.length?A:null)})}}var w;if(h.asyncValidator)w=h.asyncValidator(h,b.value,S,b.source,s);else if(h.validator){try{w=h.validator(h,b.value,S,b.source,s)}catch(I){var x,E;(x=(E=console).error)===null||x===void 0||x.call(E,I),s.suppressValidatorError||setTimeout(function(){throw I},0),S(I.message)}w===!0?S():w===!1?S(typeof h.message=="function"?h.message(h.fullField||h.field):h.message||"".concat(h.fullField||h.field," fails")):w instanceof Array?S(w):w instanceof Error&&S(w.message)}w&&w.then&&w.then(function(){return S()},function(I){return S(I)})},function(b){u(b)},i)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!Rf.hasOwnProperty(n.type))throw new Error(Ua("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),a=r.indexOf("message");return a!==-1&&r.splice(a,1),r.length===1&&r[0]==="required"?Rf.required:Rf[this.getType(n)]||void 0}}]),e}();V(ag,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Rf[t]=n});V(ag,"warning",yoe);V(ag,"messages",uT);V(ag,"validators",Rf);var Ma="'${name}' is not a valid ${type}",X9={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Ma,method:Ma,array:Ma,object:Ma,number:Ma,date:Ma,boolean:Ma,integer:Ma,float:Ma,regexp:Ma,email:Ma,url:Ma,hex:Ma},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},f3=ag;function qoe(e,t){return e.replace(/\$\{\w+\}/g,function(n){var r=n.slice(2,-1);return t[r]})}var p3="CODE_LOGIC_ERROR";function pT(e,t,n,r,a){return gT.apply(this,arguments)}function gT(){return gT=Zs(Gr().mark(function e(t,n,r,a,o){var i,s,c,u,d,f,p,g,b;return Gr().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return i=K({},r),delete i.ruleIndex,f3.warning=function(){},i.validator&&(s=i.validator,i.validator=function(){try{return s.apply(void 0,arguments)}catch(y){return console.error(y),Promise.reject(p3)}}),c=null,i&&i.type==="array"&&i.defaultField&&(c=i.defaultField,delete i.defaultField),u=new f3(V({},t,[i])),d=nu(X9,a.validateMessages),u.messages(d),f=[],h.prev=10,h.next=13,Promise.resolve(u.validate(V({},t,n),K({},a)));case 13:h.next=18;break;case 15:h.prev=15,h.t0=h.catch(10),h.t0.errors&&(f=h.t0.errors.map(function(y,v){var S=y.message,w=S===p3?d.default:S;return l.isValidElement(w)?l.cloneElement(w,{key:"error_".concat(v)}):w}));case 18:if(!(!f.length&&c)){h.next=23;break}return h.next=21,Promise.all(n.map(function(y,v){return pT("".concat(t,".").concat(v),y,c,a,o)}));case 21:return p=h.sent,h.abrupt("return",p.reduce(function(y,v){return[].concat($e(y),$e(v))},[]));case 23:return g=K(K({},r),{},{name:t,enum:(r.enum||[]).join(", ")},o),b=f.map(function(y){return typeof y=="string"?qoe(y,g):y}),h.abrupt("return",b);case 26:case"end":return h.stop()}},e,null,[[10,15]])})),gT.apply(this,arguments)}function Koe(e,t,n,r,a,o){var i=e.join("."),s=n.map(function(d,f){var p=d.validator,g=K(K({},d),{},{ruleIndex:f});return p&&(g.validator=function(b,m,h){var y=!1,v=function(){for(var x=arguments.length,E=new Array(x),I=0;I2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return Z9(t,r,n)})}function Z9(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,a){return e[a]===r})}function Zoe(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||ft(e)!=="object"||ft(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),a=new Set([].concat(n,r));return $e(a).every(function(o){var i=e[o],s=t[o];return typeof i=="function"&&typeof s=="function"?!0:i===s})}function Qoe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&ft(t.target)==="object"&&e in t.target?t.target[e]:t}function m3(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var a=e[t],o=t-n;return o>0?[].concat($e(e.slice(0,n)),[a],$e(e.slice(n,t)),$e(e.slice(t+1,r))):o<0?[].concat($e(e.slice(0,t)),$e(e.slice(t+1,n+1)),[a],$e(e.slice(n+1,r))):e}var Joe=["name"],eo=[];function Zy(e,t,n,r,a,o){return typeof e=="function"?e(t,n,"source"in o?{source:o.source}:{}):r!==a}var K_=function(e){Qa(n,e);var t=xo(n);function n(r){var a;if(kn(this,n),a=t.call(this,r),V(Ge(a),"state",{resetCount:0}),V(Ge(a),"cancelRegisterFunc",null),V(Ge(a),"mounted",!1),V(Ge(a),"touched",!1),V(Ge(a),"dirty",!1),V(Ge(a),"validatePromise",void 0),V(Ge(a),"prevValidating",void 0),V(Ge(a),"errors",eo),V(Ge(a),"warnings",eo),V(Ge(a),"cancelRegister",function(){var c=a.props,u=c.preserve,d=c.isListField,f=c.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(d,u,ir(f)),a.cancelRegisterFunc=null}),V(Ge(a),"getNamePath",function(){var c=a.props,u=c.name,d=c.fieldContext,f=d.prefixName,p=f===void 0?[]:f;return u!==void 0?[].concat($e(p),$e(u)):[]}),V(Ge(a),"getRules",function(){var c=a.props,u=c.rules,d=u===void 0?[]:u,f=c.fieldContext;return d.map(function(p){return typeof p=="function"?p(f):p})}),V(Ge(a),"refresh",function(){a.mounted&&a.setState(function(c){var u=c.resetCount;return{resetCount:u+1}})}),V(Ge(a),"metaCache",null),V(Ge(a),"triggerMetaEvent",function(c){var u=a.props.onMetaChange;if(u){var d=K(K({},a.getMeta()),{},{destroy:c});Uo(a.metaCache,d)||u(d),a.metaCache=d}else a.metaCache=null}),V(Ge(a),"onStoreChange",function(c,u,d){var f=a.props,p=f.shouldUpdate,g=f.dependencies,b=g===void 0?[]:g,m=f.onReset,h=d.store,y=a.getNamePath(),v=a.getValue(c),S=a.getValue(h),w=u&&hu(u,y);switch(d.type==="valueUpdate"&&d.source==="external"&&!Uo(v,S)&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=eo,a.warnings=eo,a.triggerMetaEvent()),d.type){case"reset":if(!u||w){a.touched=!1,a.dirty=!1,a.validatePromise=void 0,a.errors=eo,a.warnings=eo,a.triggerMetaEvent(),m==null||m(),a.refresh();return}break;case"remove":{if(p&&Zy(p,c,h,v,S,d)){a.reRender();return}break}case"setField":{var x=d.data;if(w){"touched"in x&&(a.touched=x.touched),"validating"in x&&!("originRCField"in x)&&(a.validatePromise=x.validating?Promise.resolve([]):null),"errors"in x&&(a.errors=x.errors||eo),"warnings"in x&&(a.warnings=x.warnings||eo),a.dirty=!0,a.triggerMetaEvent(),a.reRender();return}else if("value"in x&&hu(u,y,!0)){a.reRender();return}if(p&&!y.length&&Zy(p,c,h,v,S,d)){a.reRender();return}break}case"dependenciesUpdate":{var E=b.map(ir);if(E.some(function(I){return hu(d.relatedFields,I)})){a.reRender();return}break}default:if(w||(!b.length||y.length||p)&&Zy(p,c,h,v,S,d)){a.reRender();return}break}p===!0&&a.reRender()}),V(Ge(a),"validateRules",function(c){var u=a.getNamePath(),d=a.getValue(),f=c||{},p=f.triggerName,g=f.validateOnly,b=g===void 0?!1:g,m=Promise.resolve().then(Zs(Gr().mark(function h(){var y,v,S,w,x,E,I;return Gr().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(a.mounted){T.next=2;break}return T.abrupt("return",[]);case 2:if(y=a.props,v=y.validateFirst,S=v===void 0?!1:v,w=y.messageVariables,x=y.validateDebounce,E=a.getRules(),p&&(E=E.filter(function(_){return _}).filter(function(_){var $=_.validateTrigger;if(!$)return!0;var D=lT($);return D.includes(p)})),!(x&&p)){T.next=10;break}return T.next=8,new Promise(function(_){setTimeout(_,x)});case 8:if(a.validatePromise===m){T.next=10;break}return T.abrupt("return",[]);case 10:return I=Koe(u,d,E,c,S,w),I.catch(function(_){return _}).then(function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:eo;if(a.validatePromise===m){var $;a.validatePromise=null;var D=[],P=[];($=_.forEach)===null||$===void 0||$.call(_,function(A){var O=A.rule.warningOnly,N=A.errors,k=N===void 0?eo:N;O?P.push.apply(P,$e(k)):D.push.apply(D,$e(k))}),a.errors=D,a.warnings=P,a.triggerMetaEvent(),a.reRender()}}),T.abrupt("return",I);case 13:case"end":return T.stop()}},h)})));return b||(a.validatePromise=m,a.dirty=!0,a.errors=eo,a.warnings=eo,a.triggerMetaEvent(),a.reRender()),m}),V(Ge(a),"isFieldValidating",function(){return!!a.validatePromise}),V(Ge(a),"isFieldTouched",function(){return a.touched}),V(Ge(a),"isFieldDirty",function(){if(a.dirty||a.props.initialValue!==void 0)return!0;var c=a.props.fieldContext,u=c.getInternalHooks(Sl),d=u.getInitialValue;return d(a.getNamePath())!==void 0}),V(Ge(a),"getErrors",function(){return a.errors}),V(Ge(a),"getWarnings",function(){return a.warnings}),V(Ge(a),"isListField",function(){return a.props.isListField}),V(Ge(a),"isList",function(){return a.props.isList}),V(Ge(a),"isPreserve",function(){return a.props.preserve}),V(Ge(a),"getMeta",function(){a.prevValidating=a.isFieldValidating();var c={touched:a.isFieldTouched(),validating:a.prevValidating,errors:a.errors,warnings:a.warnings,name:a.getNamePath(),validated:a.validatePromise===null};return c}),V(Ge(a),"getOnlyChild",function(c){if(typeof c=="function"){var u=a.getMeta();return K(K({},a.getOnlyChild(c(a.getControlled(),u,a.props.fieldContext))),{},{isFunction:!0})}var d=or(c);return d.length!==1||!l.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),V(Ge(a),"getValue",function(c){var u=a.props.fieldContext.getFieldsValue,d=a.getNamePath();return Ha(c||u(!0),d)}),V(Ge(a),"getControlled",function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.props,d=u.name,f=u.trigger,p=u.validateTrigger,g=u.getValueFromEvent,b=u.normalize,m=u.valuePropName,h=u.getValueProps,y=u.fieldContext,v=p!==void 0?p:y.validateTrigger,S=a.getNamePath(),w=y.getInternalHooks,x=y.getFieldsValue,E=w(Sl),I=E.dispatch,R=a.getValue(),T=h||function(A){return V({},m,A)},_=c[f],$=d!==void 0?T(R):{},D=K(K({},c),$);D[f]=function(){a.touched=!0,a.dirty=!0,a.triggerMetaEvent();for(var A,O=arguments.length,N=new Array(O),k=0;k=0&&_<=$.length?(d.keys=[].concat($e(d.keys.slice(0,_)),[d.id],$e(d.keys.slice(_))),S([].concat($e($.slice(0,_)),[T],$e($.slice(_))))):(d.keys=[].concat($e(d.keys),[d.id]),S([].concat($e($),[T]))),d.id+=1},remove:function(T){var _=x(),$=new Set(Array.isArray(T)?T:[T]);$.size<=0||(d.keys=d.keys.filter(function(D,P){return!$.has(P)}),S(_.filter(function(D,P){return!$.has(P)})))},move:function(T,_){if(T!==_){var $=x();T<0||T>=$.length||_<0||_>=$.length||(d.keys=m3(d.keys,T,_),S(m3($,T,_)))}}},I=v||[];return Array.isArray(I)||(I=[]),r(I.map(function(R,T){var _=d.keys[T];return _===void 0&&(d.keys[T]=d.id,_=d.keys[T],d.id+=1),{name:T,key:_,isListField:!0}}),E,h)})))}function eie(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(a,o){e.forEach(function(i,s){i.catch(function(c){return t=!0,c}).then(function(c){n-=1,r[s]=c,!(n>0)&&(t&&o(r),a(r))})})}):Promise.resolve([])}var J9="__@field_split__";function Qy(e){return e.map(function(t){return"".concat(ft(t),":").concat(t)}).join(J9)}var _c=function(){function e(){kn(this,e),V(this,"kvs",new Map)}return An(e,[{key:"set",value:function(n,r){this.kvs.set(Qy(n),r)}},{key:"get",value:function(n){return this.kvs.get(Qy(n))}},{key:"update",value:function(n,r){var a=this.get(n),o=r(a);o?this.set(n,o):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(Qy(n))}},{key:"map",value:function(n){return $e(this.kvs.entries()).map(function(r){var a=se(r,2),o=a[0],i=a[1],s=o.split(J9);return n({key:s.map(function(c){var u=c.match(/^([^:]*):(.*)$/),d=se(u,3),f=d[1],p=d[2];return f==="number"?Number(p):p}),value:i})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var a=r.key,o=r.value;return n[a.join(".")]=o,null}),n}}]),e}(),tie=["name"],nie=An(function e(t){var n=this;kn(this,e),V(this,"formHooked",!1),V(this,"forceRootUpdate",void 0),V(this,"subscribable",!0),V(this,"store",{}),V(this,"fieldEntities",[]),V(this,"initialValues",{}),V(this,"callbacks",{}),V(this,"validateMessages",null),V(this,"preserve",null),V(this,"lastValidatePromise",null),V(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}}),V(this,"getInternalHooks",function(r){return r===Sl?(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}):(cn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),V(this,"useSubscribe",function(r){n.subscribable=r}),V(this,"prevWithoutPreserves",null),V(this,"setInitialValues",function(r,a){if(n.initialValues=r||{},a){var o,i=nu(r,n.store);(o=n.prevWithoutPreserves)===null||o===void 0||o.map(function(s){var c=s.key;i=No(i,c,Ha(r,c))}),n.prevWithoutPreserves=null,n.updateStore(i)}}),V(this,"destroyForm",function(r){if(r)n.updateStore({});else{var a=new _c;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||a.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=a}}),V(this,"getInitialValue",function(r){var a=Ha(n.initialValues,r);return r.length?nu(a):a}),V(this,"setCallbacks",function(r){n.callbacks=r}),V(this,"setValidateMessages",function(r){n.validateMessages=r}),V(this,"setPreserve",function(r){n.preserve=r}),V(this,"watchList",[]),V(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(a){return a!==r})}}),V(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var a=n.getFieldsValue(),o=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(a,o,r)})}}),V(this,"timeoutId",null),V(this,"warningUnhooked",function(){}),V(this,"updateStore",function(r){n.store=r}),V(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(a){return a.getNamePath().length}):n.fieldEntities}),V(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=new _c;return n.getFieldEntities(r).forEach(function(o){var i=o.getNamePath();a.set(i,o)}),a}),V(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var a=n.getFieldsMap(!0);return r.map(function(o){var i=ir(o);return a.get(i)||{INVALIDATE_NAME_PATH:ir(o)}})}),V(this,"getFieldsValue",function(r,a){n.warningUnhooked();var o,i,s;if(r===!0||Array.isArray(r)?(o=r,i=a):r&&ft(r)==="object"&&(s=r.strict,i=r.filter),o===!0&&!i)return n.store;var c=n.getFieldEntitiesForNamePathList(Array.isArray(o)?o:null),u=[];return c.forEach(function(d){var f,p,g="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(s){var b,m;if((b=(m=d).isList)!==null&&b!==void 0&&b.call(m))return}else if(!o&&(f=(p=d).isListField)!==null&&f!==void 0&&f.call(p))return;if(!i)u.push(g);else{var h="getMeta"in d?d.getMeta():null;i(h)&&u.push(g)}}),g3(n.store,u.map(ir))}),V(this,"getFieldValue",function(r){n.warningUnhooked();var a=ir(r);return Ha(n.store,a)}),V(this,"getFieldsError",function(r){n.warningUnhooked();var a=n.getFieldEntitiesForNamePathList(r);return a.map(function(o,i){return o&&!("INVALIDATE_NAME_PATH"in o)?{name:o.getNamePath(),errors:o.getErrors(),warnings:o.getWarnings()}:{name:ir(r[i]),errors:[],warnings:[]}})}),V(this,"getFieldError",function(r){n.warningUnhooked();var a=ir(r),o=n.getFieldsError([a])[0];return o.errors}),V(this,"getFieldWarning",function(r){n.warningUnhooked();var a=ir(r),o=n.getFieldsError([a])[0];return o.warnings}),V(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,a=new Array(r),o=0;o0&&arguments[0]!==void 0?arguments[0]:{},a=new _c,o=n.getFieldEntities(!0);o.forEach(function(c){var u=c.props.initialValue,d=c.getNamePath();if(u!==void 0){var f=a.get(d)||new Set;f.add({entity:c,value:u}),a.set(d,f)}});var i=function(u){u.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var p=d.getNamePath(),g=n.getInitialValue(p);if(g!==void 0)cn(!1,"Form already set 'initialValues' with path '".concat(p.join("."),"'. Field can not overwrite it."));else{var b=a.get(p);if(b&&b.size>1)cn(!1,"Multiple Field with path '".concat(p.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(b){var m=n.getFieldValue(p),h=d.isListField();!h&&(!r.skipExist||m===void 0)&&n.updateStore(No(n.store,p,$e(b)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(c){var u=a.get(c);if(u){var d;(d=s).push.apply(d,$e($e(u).map(function(f){return f.entity})))}})):s=o,i(s)}),V(this,"resetFields",function(r){n.warningUnhooked();var a=n.store;if(!r){n.updateStore(nu(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(a,null,{type:"reset"}),n.notifyWatch();return}var o=r.map(ir);o.forEach(function(i){var s=n.getInitialValue(i);n.updateStore(No(n.store,i,s))}),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(a,o,{type:"reset"}),n.notifyWatch(o)}),V(this,"setFields",function(r){n.warningUnhooked();var a=n.store,o=[];r.forEach(function(i){var s=i.name,c=vt(i,tie),u=ir(s);o.push(u),"value"in c&&n.updateStore(No(n.store,u,c.value)),n.notifyObservers(a,[u],{type:"setField",data:i})}),n.notifyWatch(o)}),V(this,"getFields",function(){var r=n.getFieldEntities(!0),a=r.map(function(o){var i=o.getNamePath(),s=o.getMeta(),c=K(K({},s),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(c,"originRCField",{value:!0}),c});return a}),V(this,"initEntityValue",function(r){var a=r.props.initialValue;if(a!==void 0){var o=r.getNamePath(),i=Ha(n.store,o);i===void 0&&n.updateStore(No(n.store,o,a))}}),V(this,"isMergedPreserve",function(r){var a=r!==void 0?r:n.preserve;return a??!0}),V(this,"registerField",function(r){n.fieldEntities.push(r);var a=r.getNamePath();if(n.notifyWatch([a]),r.props.initialValue!==void 0){var o=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(o,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(s)&&(!i||c.length>1)){var u=i?void 0:n.getInitialValue(a);if(a.length&&n.getFieldValue(a)!==u&&n.fieldEntities.every(function(f){return!Z9(f.getNamePath(),a)})){var d=n.store;n.updateStore(No(d,a,u,!0)),n.notifyObservers(d,[a],{type:"remove"}),n.triggerDependenciesUpdate(d,a)}}n.notifyWatch([a])}}),V(this,"dispatch",function(r){switch(r.type){case"updateValue":{var a=r.namePath,o=r.value;n.updateValue(a,o);break}case"validateField":{var i=r.namePath,s=r.triggerName;n.validateFields([i],{triggerName:s});break}}}),V(this,"notifyObservers",function(r,a,o){if(n.subscribable){var i=K(K({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var c=s.onStoreChange;c(r,a,i)})}else n.forceRootUpdate()}),V(this,"triggerDependenciesUpdate",function(r,a){var o=n.getDependencyChildrenFields(a);return o.length&&n.validateFields(o),n.notifyObservers(r,o,{type:"dependenciesUpdate",relatedFields:[a].concat($e(o))}),o}),V(this,"updateValue",function(r,a){var o=ir(r),i=n.store;n.updateStore(No(n.store,o,a)),n.notifyObservers(i,[o],{type:"valueUpdate",source:"internal"}),n.notifyWatch([o]);var s=n.triggerDependenciesUpdate(i,o),c=n.callbacks.onValuesChange;if(c){var u=g3(n.store,[o]);c(u,n.getFieldsValue())}n.triggerOnFieldsChange([o].concat($e(s)))}),V(this,"setFieldsValue",function(r){n.warningUnhooked();var a=n.store;if(r){var o=nu(n.store,r);n.updateStore(o)}n.notifyObservers(a,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),V(this,"setFieldValue",function(r,a){n.setFields([{name:r,value:a}])}),V(this,"getDependencyChildrenFields",function(r){var a=new Set,o=[],i=new _c;n.getFieldEntities().forEach(function(c){var u=c.props.dependencies;(u||[]).forEach(function(d){var f=ir(d);i.update(f,function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return p.add(c),p})})});var s=function c(u){var d=i.get(u)||new Set;d.forEach(function(f){if(!a.has(f)){a.add(f);var p=f.getNamePath();f.isFieldDirty()&&p.length&&(o.push(p),c(p))}})};return s(r),o}),V(this,"triggerOnFieldsChange",function(r,a){var o=n.callbacks.onFieldsChange;if(o){var i=n.getFields();if(a){var s=new _c;a.forEach(function(u){var d=u.name,f=u.errors;s.set(d,f)}),i.forEach(function(u){u.errors=s.get(u.name)||u.errors})}var c=i.filter(function(u){var d=u.name;return hu(r,d)});c.length&&o(c,i)}}),V(this,"validateFields",function(r,a){n.warningUnhooked();var o,i;Array.isArray(r)||typeof r=="string"||typeof a=="string"?(o=r,i=a):i=r;var s=!!o,c=s?o.map(ir):[],u=[],d=String(Date.now()),f=new Set,p=i||{},g=p.recursive,b=p.dirty;n.getFieldEntities(!0).forEach(function(v){if(s||c.push(v.getNamePath()),!(!v.props.rules||!v.props.rules.length)&&!(b&&!v.isFieldDirty())){var S=v.getNamePath();if(f.add(S.join(d)),!s||hu(c,S,g)){var w=v.validateRules(K({validateMessages:K(K({},X9),n.validateMessages)},i));u.push(w.then(function(){return{name:S,errors:[],warnings:[]}}).catch(function(x){var E,I=[],R=[];return(E=x.forEach)===null||E===void 0||E.call(x,function(T){var _=T.rule.warningOnly,$=T.errors;_?R.push.apply(R,$e($)):I.push.apply(I,$e($))}),I.length?Promise.reject({name:S,errors:I,warnings:R}):{name:S,errors:I,warnings:R}}))}}});var m=eie(u);n.lastValidatePromise=m,m.catch(function(v){return v}).then(function(v){var S=v.map(function(w){var x=w.name;return x});n.notifyObservers(n.store,S,{type:"validateFinish"}),n.triggerOnFieldsChange(S,v)});var h=m.then(function(){return n.lastValidatePromise===m?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(v){var S=v.filter(function(w){return w&&w.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:S,outOfDate:n.lastValidatePromise!==m})});h.catch(function(v){return v});var y=c.filter(function(v){return f.has(v.join(d))});return n.triggerOnFieldsChange(y),h}),V(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var a=n.callbacks.onFinish;if(a)try{a(r)}catch(o){console.error(o)}}).catch(function(r){var a=n.callbacks.onFinishFailed;a&&a(r)})}),this.forceRootUpdate=t});function X_(e){var t=l.useRef(),n=l.useState({}),r=se(n,2),a=r[1];if(!t.current)if(e)t.current=e;else{var o=function(){a({})},i=new nie(o);t.current=i.getForm()}return[t.current]}var vT=l.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eH=function(t){var n=t.validateMessages,r=t.onFormChange,a=t.onFormFinish,o=t.children,i=l.useContext(vT),s=l.useRef({});return l.createElement(vT.Provider,{value:K(K({},i),{},{validateMessages:K(K({},i.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:s.current}),i.triggerFormChange(u,d)},triggerFormFinish:function(u,d){a&&a(u,{values:d,forms:s.current}),i.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(s.current=K(K({},s.current),{},V({},u,d))),i.registerForm(u,d)},unregisterForm:function(u){var d=K({},s.current);delete d[u],s.current=d,i.unregisterForm(u)}})},o)},rie=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],aie=function(t,n){var r=t.name,a=t.initialValues,o=t.fields,i=t.form,s=t.preserve,c=t.children,u=t.component,d=u===void 0?"form":u,f=t.validateMessages,p=t.validateTrigger,g=p===void 0?"onChange":p,b=t.onValuesChange,m=t.onFieldsChange,h=t.onFinish,y=t.onFinishFailed,v=t.clearOnDestroy,S=vt(t,rie),w=l.useRef(null),x=l.useContext(vT),E=X_(i),I=se(E,1),R=I[0],T=R.getInternalHooks(Sl),_=T.useSubscribe,$=T.setInitialValues,D=T.setCallbacks,P=T.setValidateMessages,A=T.setPreserve,O=T.destroyForm;l.useImperativeHandle(n,function(){return K(K({},R),{},{nativeElement:w.current})}),l.useEffect(function(){return x.registerForm(r,R),function(){x.unregisterForm(r)}},[x,R,r]),P(K(K({},x.validateMessages),f)),D({onValuesChange:b,onFieldsChange:function(H){if(x.triggerFormChange(r,H),m){for(var U=arguments.length,Z=new Array(U>1?U-1:0),q=1;q{}}),nH=l.createContext(null),rH=e=>{const t=gn(e,["prefixCls"]);return l.createElement(eH,Object.assign({},t))},Z_=l.createContext({prefixCls:""}),Er=l.createContext({}),iie=e=>{let{children:t,status:n,override:r}=e;const a=l.useContext(Er),o=l.useMemo(()=>{const i=Object.assign({},a);return r&&delete i.isFormItemInput,n&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[n,r,a]);return l.createElement(Er.Provider,{value:o},t)},aH=l.createContext(void 0),di=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let a=r;return n&&(a=le.createElement(iie,{override:!0,status:!0},a)),t&&(a=le.createElement(Eae,null,a)),a};function Lu(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function v3(e){const{closable:t,closeIcon:n}=e||{};return le.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function b3(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{a&&Object.keys(a).forEach(o=>{a[o]!==void 0&&(e[o]=a[o])})}),e}const sie={};function Q_(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sie;const r=v3(e),a=v3(t),o=le.useMemo(()=>Object.assign({closeIcon:le.createElement(da,null)},n),[n]),i=le.useMemo(()=>r===!1?!1:r?b3(o,a,r):a===!1?!1:a?b3(o,a):o.closable?o:!1,[r,a,o]);return le.useMemo(()=>{if(i===!1)return[!1,null];const{closeIconRender:s}=o,{closeIcon:c}=i;let u=c;if(u!=null){s&&(u=s(c));const d=Nn(i,!0);Object.keys(d).length&&(u=le.isValidElement(u)?le.cloneElement(u,d):le.createElement("span",Object.assign({},d),u))}return[!0,u]},[i,o])}var oH=function(t){if(kr()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(a){return a in r.style})}return!1},lie=function(t,n){if(!oH(t))return!1;var r=document.createElement("div"),a=r.style[t];return r.style[t]=n,r.style[t]!==a};function bT(e,t){return!Array.isArray(e)&&t!==void 0?lie(e,t):oH(e)}const cie=()=>kr()&&window.document.documentElement,kb=e=>{const{prefixCls:t,className:n,style:r,size:a,shape:o}=e,i=ne({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),s=ne({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),c=l.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return l.createElement("span",{className:ne(t,i,s,n),style:Object.assign(Object.assign({},c),r)})},uie=new Jt("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ab=e=>({height:e,lineHeight:W(e)}),vu=e=>Object.assign({width:e},Ab(e)),die=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:uie,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Jy=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Ab(e)),fie=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},vu(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},vu(a)),[`${t}${t}-sm`]:Object.assign({},vu(o))}},pie=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},Jy(t,s)),[`${r}-lg`]:Object.assign({},Jy(a,s)),[`${r}-sm`]:Object.assign({},Jy(o,s))}},y3=e=>Object.assign({width:e},Ab(e)),gie=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a,calc:o}=e;return{[t]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},y3(o(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},y3(n)),{maxWidth:o(n).mul(4).equal(),maxHeight:o(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},eS=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},tS=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Ab(e)),mie=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},tS(r,s))},eS(e,r,n)),{[`${n}-lg`]:Object.assign({},tS(a,s))}),eS(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},tS(o,s))}),eS(e,o,`${n}-sm`))},hie=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:o,skeletonInputCls:i,skeletonImageCls:s,controlHeight:c,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:p,marginSM:g,borderRadius:b,titleHeight:m,blockRadius:h,paragraphLiHeight:y,controlHeightXS:v,paragraphMarginTop:S}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},vu(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},vu(u)),[`${n}-sm`]:Object.assign({},vu(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:m,background:f,borderRadius:h,[`+ ${a}`]:{marginBlockStart:d}},[a]:{padding:0,"> li":{width:"100%",height:y,listStyle:"none",background:f,borderRadius:h,"+ li":{marginBlockStart:v}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:b}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:g,[`+ ${a}`]:{marginBlockStart:S}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},mie(e)),fie(e)),pie(e)),gie(e)),[`${t}${t}-block`]:{width:"100%",[o]:{width:"100%"},[i]:{width:"100%"}},[`${t}${t}-active`]:{[` +}`),a)}else dp(a);return function(){dp(a)}},[t,a])}var soe=!1;function loe(e){return soe}var t3=function(t){return t===!1?!1:!kr()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Nb=l.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer;e.debug;var o=e.autoDestroy,i=o===void 0?!0:o,s=e.children,c=l.useState(n),u=se(c,2),d=u[0],f=u[1],p=d||n;l.useEffect(function(){(i||n)&&f(n)},[n,i]);var g=l.useState(function(){return t3(a)}),v=se(g,2),m=v[0],h=v[1];l.useEffect(function(){var $=t3(a);h($??null)});var y=roe(p&&!m),b=se(y,2),S=b[0],w=b[1],x=m??S;ioe(r&&n&&kr()&&(x===S||x===document.body));var E=null;if(s&&Ho(s)&&t){var I=s;E=I.ref}var R=Zi(E,t);if(!p||!kr()||m===void 0)return null;var T=x===!1||loe(),_=s;return t&&(_=l.cloneElement(s,{ref:R})),l.createElement(H9.Provider,{value:w},T?_:Sr.createPortal(_,x))}),V9=l.createContext({});function coe(){var e=K({},Gp);return e.useId}var n3=0,r3=coe();const W9=r3?function(t){var n=r3();return t||n}:function(t){var n=l.useState("ssr-id"),r=se(n,2),a=r[0],o=r[1];return l.useEffect(function(){var i=n3;n3+=1,o("rc_unique_".concat(i))},[]),t||a};function a3(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function o3(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var a=e.document;n=a.documentElement[r],typeof n!="number"&&(n=a.body[r])}return n}function uoe(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=o3(a),n.top+=o3(a,!0),n}const doe=l.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var i3={width:0,height:0,overflow:"hidden",outline:"none"},foe={outline:"none"},G9=le.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.title,i=e.ariaId,s=e.footer,c=e.closable,u=e.closeIcon,d=e.onClose,f=e.children,p=e.bodyStyle,g=e.bodyProps,v=e.modalRender,m=e.onMouseDown,h=e.onMouseUp,y=e.holderRef,b=e.visible,S=e.forceRender,w=e.width,x=e.height,E=e.classNames,I=e.styles,R=le.useContext(V9),T=R.panel,_=Zi(y,T),$=l.useRef(),D=l.useRef(),P=l.useRef();le.useImperativeHandle(t,function(){return{focus:function(){var z;(z=P.current)===null||z===void 0||z.focus({preventScroll:!0})},changeActive:function(z){var H=document,U=H.activeElement;z&&U===D.current?$.current.focus({preventScroll:!0}):!z&&U===$.current&&D.current.focus({preventScroll:!0})}}});var A={};w!==void 0&&(A.width=w),x!==void 0&&(A.height=x);var O=s?le.createElement("div",{className:ne("".concat(n,"-footer"),E==null?void 0:E.footer),style:K({},I==null?void 0:I.footer)},s):null,N=o?le.createElement("div",{className:ne("".concat(n,"-header"),E==null?void 0:E.header),style:K({},I==null?void 0:I.header)},le.createElement("div",{className:"".concat(n,"-title"),id:i},o)):null,k=l.useMemo(function(){return ft(c)==="object"&&c!==null?c:c?{closeIcon:u??le.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[c,u,n]),M=Nn(k,!0),L=ft(c)==="object"&&c.disabled,F=c?le.createElement("button",be({type:"button",onClick:d,"aria-label":"Close"},M,{className:"".concat(n,"-close"),disabled:L}),k.closeIcon):null,j=le.createElement("div",{className:ne("".concat(n,"-content"),E==null?void 0:E.content),style:I==null?void 0:I.content},F,N,le.createElement("div",be({className:ne("".concat(n,"-body"),E==null?void 0:E.body),style:K(K({},p),I==null?void 0:I.body)},g),f),O);return le.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":o?i:null,"aria-modal":"true",ref:_,style:K(K({},a),A),className:ne(n,r),onMouseDown:m,onMouseUp:h},le.createElement("div",{tabIndex:0,ref:$,style:i3,"aria-hidden":"true"}),le.createElement("div",{ref:P,tabIndex:-1,style:foe},le.createElement(doe,{shouldUpdate:b||S},v?v(j):j)),le.createElement("div",{tabIndex:0,ref:D,style:i3,"aria-hidden":"true"}))}),q9=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,a=e.style,o=e.className,i=e.visible,s=e.forceRender,c=e.destroyOnClose,u=e.motionName,d=e.ariaId,f=e.onVisibleChanged,p=e.mousePosition,g=l.useRef(),v=l.useState(),m=se(v,2),h=m[0],y=m[1],b={};h&&(b.transformOrigin=h);function S(){var w=uoe(g.current);y(p&&(p.x||p.y)?"".concat(p.x-w.left,"px ").concat(p.y-w.top,"px"):"")}return l.createElement(Wr,{visible:i,onVisibleChanged:f,onAppearPrepare:S,onEnterPrepare:S,forceRender:s,motionName:u,removeOnLeave:c,ref:g},function(w,x){var E=w.className,I=w.style;return l.createElement(G9,be({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:x,style:K(K(K({},I),a),b),className:ne(o,E)}))})});q9.displayName="Content";var poe=function(t){var n=t.prefixCls,r=t.style,a=t.visible,o=t.maskProps,i=t.motionName,s=t.className;return l.createElement(Wr,{key:"mask",visible:a,motionName:i,leavedClassName:"".concat(n,"-mask-hidden")},function(c,u){var d=c.className,f=c.style;return l.createElement("div",be({ref:u,style:K(K({},f),r),className:ne("".concat(n,"-mask"),d,s)},o))})},goe=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,a=t.zIndex,o=t.visible,i=o===void 0?!1:o,s=t.keyboard,c=s===void 0?!0:s,u=t.focusTriggerAfterClose,d=u===void 0?!0:u,f=t.wrapStyle,p=t.wrapClassName,g=t.wrapProps,v=t.onClose,m=t.afterOpenChange,h=t.afterClose,y=t.transitionName,b=t.animation,S=t.closable,w=S===void 0?!0:S,x=t.mask,E=x===void 0?!0:x,I=t.maskTransitionName,R=t.maskAnimation,T=t.maskClosable,_=T===void 0?!0:T,$=t.maskStyle,D=t.maskProps,P=t.rootClassName,A=t.classNames,O=t.styles,N=l.useRef(),k=l.useRef(),M=l.useRef(),L=l.useState(i),F=se(L,2),j=F[0],B=F[1],z=W9();function H(){$I(k.current,document.activeElement)||(N.current=document.activeElement)}function U(){if(!$I(k.current,document.activeElement)){var Q;(Q=M.current)===null||Q===void 0||Q.focus()}}function Z(Q){if(Q)U();else{if(B(!1),E&&N.current&&d){try{N.current.focus({preventScroll:!0})}catch{}N.current=null}j&&(h==null||h())}m==null||m(Q)}function q(Q){v==null||v(Q)}var Y=l.useRef(!1),ee=l.useRef(),te=function(){clearTimeout(ee.current),Y.current=!0},X=function(){ee.current=setTimeout(function(){Y.current=!1})},ie=null;_&&(ie=function(ae){Y.current?Y.current=!1:k.current===ae.target&&q(ae)});function re(Q){if(c&&Q.keyCode===Me.ESC){Q.stopPropagation(),q(Q);return}i&&Q.keyCode===Me.TAB&&M.current.changeActive(!Q.shiftKey)}l.useEffect(function(){i&&(B(!0),H())},[i]),l.useEffect(function(){return function(){clearTimeout(ee.current)}},[]);var G=K(K(K({zIndex:a},f),O==null?void 0:O.wrapper),{},{display:j?null:"none"});return l.createElement("div",be({className:ne("".concat(r,"-root"),P)},Nn(t,{data:!0})),l.createElement(poe,{prefixCls:r,visible:E&&i,motionName:a3(r,I,R),style:K(K({zIndex:a},$),O==null?void 0:O.mask),maskProps:D,className:A==null?void 0:A.mask}),l.createElement("div",be({tabIndex:-1,onKeyDown:re,className:ne("".concat(r,"-wrap"),p,A==null?void 0:A.wrapper),ref:k,onClick:ie,style:G},g),l.createElement(q9,be({},t,{onMouseDown:te,onMouseUp:X,ref:M,closable:w,ariaId:z,prefixCls:r,visible:i&&j,onClose:q,onVisibleChanged:Z,motionName:a3(r,y,b)}))))},K9=function(t){var n=t.visible,r=t.getContainer,a=t.forceRender,o=t.destroyOnClose,i=o===void 0?!1:o,s=t.afterClose,c=t.panelRef,u=l.useState(n),d=se(u,2),f=d[0],p=d[1],g=l.useMemo(function(){return{panel:c}},[c]);return l.useEffect(function(){n&&p(!0)},[n]),!a&&i&&!f?null:l.createElement(V9.Provider,{value:g},l.createElement(Nb,{open:n||a||f,autoDestroy:!1,getContainer:r,autoLock:n||f},l.createElement(goe,be({},t,{destroyOnClose:i,afterClose:function(){s==null||s(),p(!1)}}))))};K9.displayName="Dialog";var Sl="RC_FORM_INTERNAL_HOOKS",xn=function(){cn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Kl=l.createContext({getFieldValue:xn,getFieldsValue:xn,getFieldError:xn,getFieldWarning:xn,getFieldsError:xn,isFieldsTouched:xn,isFieldTouched:xn,isFieldValidating:xn,isFieldsValidating:xn,resetFields:xn,setFields:xn,setFieldValue:xn,setFieldsValue:xn,validateFields:xn,submit:xn,getInternalHooks:function(){return xn(),{dispatch:xn,initEntityValue:xn,registerField:xn,useSubscribe:xn,setInitialValues:xn,destroyForm:xn,setCallbacks:xn,registerWatch:xn,getFields:xn,setValidateMessages:xn,setPreserve:xn,getInitialValue:xn}}}),bp=l.createContext(null);function lT(e){return e==null?[]:Array.isArray(e)?e:[e]}function moe(e){return e&&!!e._init}function cT(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var uT=cT();function hoe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function voe(e,t,n){if(Sb())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&cp(a,n.prototype),a}function dT(e){var t=typeof Map=="function"?new Map:void 0;return dT=function(r){if(r===null||!hoe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return voe(r,arguments,Vl(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),cp(a,r)},dT(e)}var boe=/%[sdj%]/g,yoe=function(){};function fT(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Ua(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=o)return s;switch(s){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return s}});return i}return e}function Soe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function xr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Soe(t)&&typeof e=="string"&&!e)}function woe(e,t,n){var r=[],a=0,o=e.length;function i(s){r.push.apply(r,$e(s||[])),a++,a===o&&n(r)}e.forEach(function(s){t(s,i)})}function s3(e,t,n){var r=0,a=e.length;function o(i){if(i&&i.length){n(i);return}var s=r;r=r+1,st.max?a.push(Ua(o.messages[f].max,t.fullField,t.max)):s&&c&&(dt.max)&&a.push(Ua(o.messages[f].range,t.fullField,t.min,t.max))},Y9=function(t,n,r,a,o,i){t.required&&(!r.hasOwnProperty(t.field)||xr(n,i||t.type))&&a.push(Ua(o.messages.required,t.fullField))},hm;const $oe=function(){if(hm)return hm;var e="[a-fA-F\\d:]",t=function(E){return E&&E.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(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}",a=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],o="(?:%[0-9a-zA-Z]{1,})?",i="(?:".concat(a.join("|"),")").concat(o),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),c=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(i,"$")),d=function(E){return E&&E.exact?s:new RegExp("(?:".concat(t(E)).concat(n).concat(t(E),")|(?:").concat(t(E)).concat(i).concat(t(E),")"),"g")};d.v4=function(x){return x&&x.exact?c:new RegExp("".concat(t(x)).concat(n).concat(t(x)),"g")},d.v6=function(x){return x&&x.exact?u:new RegExp("".concat(t(x)).concat(i).concat(t(x)),"g")};var f="(?:(?:[a-z]+:)?//)",p="(?:\\S+(?::\\S*)?@)?",g=d.v4().source,v=d.v6().source,m="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",h="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",S='(?:[/?#][^\\s"]*)?',w="(?:".concat(f,"|www\\.)").concat(p,"(?:localhost|").concat(g,"|").concat(v,"|").concat(m).concat(h).concat(y,")").concat(b).concat(S);return hm=new RegExp("(?:^".concat(w,"$)"),"i"),hm};var d3={email:/^(([^<>()\[\]\\.,;:\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,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},ef={integer:function(t){return ef.number(t)&&parseInt(t,10)===t},float:function(t){return ef.number(t)&&!ef.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return ft(t)==="object"&&!ef.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(d3.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match($oe())},hex:function(t){return typeof t=="string"&&!!t.match(d3.hex)}},Ooe=function(t,n,r,a,o){if(t.required&&n===void 0){Y9(t,n,r,a,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;i.indexOf(s)>-1?ef[s](n)||a.push(Ua(o.messages.types[s],t.fullField,t.type)):s&&ft(n)!==t.type&&a.push(Ua(o.messages.types[s],t.fullField,t.type))},Noe=function(t,n,r,a,o){(/^\s+$/.test(n)||n==="")&&a.push(Ua(o.messages.whitespace,t.fullField))};const sn={required:Y9,whitespace:Noe,type:Ooe,range:_oe,enum:Toe,pattern:Roe};var koe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o)}r(i)},Aoe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();sn.required(t,n,a,i,o,"array"),n!=null&&(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o))}r(i)},Moe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&sn.type(t,n,a,i,o)}r(i)},Doe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n,"date")&&!t.required)return r();if(sn.required(t,n,a,i,o),!xr(n,"date")){var c;n instanceof Date?c=n:c=new Date(n),sn.type(t,c,a,i,o),c&&sn.range(t,c.getTime(),a,i,o)}}r(i)},Poe="enum",Loe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&sn[Poe](t,n,a,i,o)}r(i)},Foe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o))}r(i)},joe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o))}r(i)},Boe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&sn.type(t,n,a,i,o)}r(i)},zoe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o))}r(i)},Hoe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),n!==void 0&&sn.type(t,n,a,i,o)}r(i)},Uoe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n,"string")&&!t.required)return r();sn.required(t,n,a,i,o),xr(n,"string")||sn.pattern(t,n,a,i,o)}r(i)},Voe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n)&&!t.required)return r();sn.required(t,n,a,i,o),xr(n)||sn.type(t,n,a,i,o)}r(i)},Woe=function(t,n,r,a,o){var i=[],s=Array.isArray(n)?"array":ft(n);sn.required(t,n,a,i,o,s),r(i)},Goe=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n,"string")&&!t.required)return r();sn.required(t,n,a,i,o,"string"),xr(n,"string")||(sn.type(t,n,a,i,o),sn.range(t,n,a,i,o),sn.pattern(t,n,a,i,o),t.whitespace===!0&&sn.whitespace(t,n,a,i,o))}r(i)},Xy=function(t,n,r,a,o){var i=t.type,s=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(xr(n,i)&&!t.required)return r();sn.required(t,n,a,s,o,i),xr(n,i)||sn.type(t,n,a,s,o)}r(s)};const Rf={string:Goe,method:Boe,number:zoe,boolean:Moe,regexp:Voe,integer:joe,float:Foe,array:Aoe,object:Hoe,enum:Loe,pattern:Uoe,date:Doe,url:Xy,hex:Xy,email:Xy,required:Woe,any:koe};var ag=function(){function e(t){kn(this,e),V(this,"rules",null),V(this,"_messages",uT),this.define(t)}return An(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(ft(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(a){var o=n[a];r.rules[a]=Array.isArray(o)?o:[o]})}},{key:"messages",value:function(n){return n&&(this._messages=u3(cT(),n)),this._messages}},{key:"validate",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},i=n,s=a,c=o;if(typeof s=="function"&&(c=s,s={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(null,i),Promise.resolve(i);function u(v){var m=[],h={};function y(S){if(Array.isArray(S)){var w;m=(w=m).concat.apply(w,$e(S))}else m.push(S)}for(var b=0;b0&&arguments[0]!==void 0?arguments[0]:[],R=Array.isArray(I)?I:[I];!s.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&h.message!==void 0&&(R=[].concat(h.message));var T=R.map(c3(h,i));if(s.first&&T.length)return g[h.field]=1,m(T);if(!y)m(T);else{if(h.required&&!v.value)return h.message!==void 0?T=[].concat(h.message).map(c3(h,i)):s.error&&(T=[s.error(h,Ua(s.messages.required,h.field))]),m(T);var _={};h.defaultField&&Object.keys(v.value).map(function(P){_[P]=h.defaultField}),_=K(K({},_),v.rule.fields);var $={};Object.keys(_).forEach(function(P){var A=_[P],O=Array.isArray(A)?A:[A];$[P]=O.map(b.bind(null,P))});var D=new e($);D.messages(s.messages),v.rule.options&&(v.rule.options.messages=s.messages,v.rule.options.error=s.error),D.validate(v.value,v.rule.options||s,function(P){var A=[];T&&T.length&&A.push.apply(A,$e(T)),P&&P.length&&A.push.apply(A,$e(P)),m(A.length?A:null)})}}var w;if(h.asyncValidator)w=h.asyncValidator(h,v.value,S,v.source,s);else if(h.validator){try{w=h.validator(h,v.value,S,v.source,s)}catch(I){var x,E;(x=(E=console).error)===null||x===void 0||x.call(E,I),s.suppressValidatorError||setTimeout(function(){throw I},0),S(I.message)}w===!0?S():w===!1?S(typeof h.message=="function"?h.message(h.fullField||h.field):h.message||"".concat(h.fullField||h.field," fails")):w instanceof Array?S(w):w instanceof Error&&S(w.message)}w&&w.then&&w.then(function(){return S()},function(I){return S(I)})},function(v){u(v)},i)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!Rf.hasOwnProperty(n.type))throw new Error(Ua("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),a=r.indexOf("message");return a!==-1&&r.splice(a,1),r.length===1&&r[0]==="required"?Rf.required:Rf[this.getType(n)]||void 0}}]),e}();V(ag,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Rf[t]=n});V(ag,"warning",yoe);V(ag,"messages",uT);V(ag,"validators",Rf);var Ma="'${name}' is not a valid ${type}",X9={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Ma,method:Ma,array:Ma,object:Ma,number:Ma,date:Ma,boolean:Ma,integer:Ma,float:Ma,regexp:Ma,email:Ma,url:Ma,hex:Ma},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},f3=ag;function qoe(e,t){return e.replace(/\$\{\w+\}/g,function(n){var r=n.slice(2,-1);return t[r]})}var p3="CODE_LOGIC_ERROR";function pT(e,t,n,r,a){return gT.apply(this,arguments)}function gT(){return gT=Zs(Gr().mark(function e(t,n,r,a,o){var i,s,c,u,d,f,p,g,v;return Gr().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return i=K({},r),delete i.ruleIndex,f3.warning=function(){},i.validator&&(s=i.validator,i.validator=function(){try{return s.apply(void 0,arguments)}catch(y){return console.error(y),Promise.reject(p3)}}),c=null,i&&i.type==="array"&&i.defaultField&&(c=i.defaultField,delete i.defaultField),u=new f3(V({},t,[i])),d=nu(X9,a.validateMessages),u.messages(d),f=[],h.prev=10,h.next=13,Promise.resolve(u.validate(V({},t,n),K({},a)));case 13:h.next=18;break;case 15:h.prev=15,h.t0=h.catch(10),h.t0.errors&&(f=h.t0.errors.map(function(y,b){var S=y.message,w=S===p3?d.default:S;return l.isValidElement(w)?l.cloneElement(w,{key:"error_".concat(b)}):w}));case 18:if(!(!f.length&&c)){h.next=23;break}return h.next=21,Promise.all(n.map(function(y,b){return pT("".concat(t,".").concat(b),y,c,a,o)}));case 21:return p=h.sent,h.abrupt("return",p.reduce(function(y,b){return[].concat($e(y),$e(b))},[]));case 23:return g=K(K({},r),{},{name:t,enum:(r.enum||[]).join(", ")},o),v=f.map(function(y){return typeof y=="string"?qoe(y,g):y}),h.abrupt("return",v);case 26:case"end":return h.stop()}},e,null,[[10,15]])})),gT.apply(this,arguments)}function Koe(e,t,n,r,a,o){var i=e.join("."),s=n.map(function(d,f){var p=d.validator,g=K(K({},d),{},{ruleIndex:f});return p&&(g.validator=function(v,m,h){var y=!1,b=function(){for(var x=arguments.length,E=new Array(x),I=0;I2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return Z9(t,r,n)})}function Z9(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,a){return e[a]===r})}function Zoe(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||ft(e)!=="object"||ft(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),a=new Set([].concat(n,r));return $e(a).every(function(o){var i=e[o],s=t[o];return typeof i=="function"&&typeof s=="function"?!0:i===s})}function Qoe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&ft(t.target)==="object"&&e in t.target?t.target[e]:t}function m3(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var a=e[t],o=t-n;return o>0?[].concat($e(e.slice(0,n)),[a],$e(e.slice(n,t)),$e(e.slice(t+1,r))):o<0?[].concat($e(e.slice(0,t)),$e(e.slice(t+1,n+1)),[a],$e(e.slice(n+1,r))):e}var Joe=["name"],eo=[];function Zy(e,t,n,r,a,o){return typeof e=="function"?e(t,n,"source"in o?{source:o.source}:{}):r!==a}var K_=function(e){Qa(n,e);var t=xo(n);function n(r){var a;if(kn(this,n),a=t.call(this,r),V(Ge(a),"state",{resetCount:0}),V(Ge(a),"cancelRegisterFunc",null),V(Ge(a),"mounted",!1),V(Ge(a),"touched",!1),V(Ge(a),"dirty",!1),V(Ge(a),"validatePromise",void 0),V(Ge(a),"prevValidating",void 0),V(Ge(a),"errors",eo),V(Ge(a),"warnings",eo),V(Ge(a),"cancelRegister",function(){var c=a.props,u=c.preserve,d=c.isListField,f=c.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(d,u,ir(f)),a.cancelRegisterFunc=null}),V(Ge(a),"getNamePath",function(){var c=a.props,u=c.name,d=c.fieldContext,f=d.prefixName,p=f===void 0?[]:f;return u!==void 0?[].concat($e(p),$e(u)):[]}),V(Ge(a),"getRules",function(){var c=a.props,u=c.rules,d=u===void 0?[]:u,f=c.fieldContext;return d.map(function(p){return typeof p=="function"?p(f):p})}),V(Ge(a),"refresh",function(){a.mounted&&a.setState(function(c){var u=c.resetCount;return{resetCount:u+1}})}),V(Ge(a),"metaCache",null),V(Ge(a),"triggerMetaEvent",function(c){var u=a.props.onMetaChange;if(u){var d=K(K({},a.getMeta()),{},{destroy:c});Uo(a.metaCache,d)||u(d),a.metaCache=d}else a.metaCache=null}),V(Ge(a),"onStoreChange",function(c,u,d){var f=a.props,p=f.shouldUpdate,g=f.dependencies,v=g===void 0?[]:g,m=f.onReset,h=d.store,y=a.getNamePath(),b=a.getValue(c),S=a.getValue(h),w=u&&hu(u,y);switch(d.type==="valueUpdate"&&d.source==="external"&&!Uo(b,S)&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=eo,a.warnings=eo,a.triggerMetaEvent()),d.type){case"reset":if(!u||w){a.touched=!1,a.dirty=!1,a.validatePromise=void 0,a.errors=eo,a.warnings=eo,a.triggerMetaEvent(),m==null||m(),a.refresh();return}break;case"remove":{if(p&&Zy(p,c,h,b,S,d)){a.reRender();return}break}case"setField":{var x=d.data;if(w){"touched"in x&&(a.touched=x.touched),"validating"in x&&!("originRCField"in x)&&(a.validatePromise=x.validating?Promise.resolve([]):null),"errors"in x&&(a.errors=x.errors||eo),"warnings"in x&&(a.warnings=x.warnings||eo),a.dirty=!0,a.triggerMetaEvent(),a.reRender();return}else if("value"in x&&hu(u,y,!0)){a.reRender();return}if(p&&!y.length&&Zy(p,c,h,b,S,d)){a.reRender();return}break}case"dependenciesUpdate":{var E=v.map(ir);if(E.some(function(I){return hu(d.relatedFields,I)})){a.reRender();return}break}default:if(w||(!v.length||y.length||p)&&Zy(p,c,h,b,S,d)){a.reRender();return}break}p===!0&&a.reRender()}),V(Ge(a),"validateRules",function(c){var u=a.getNamePath(),d=a.getValue(),f=c||{},p=f.triggerName,g=f.validateOnly,v=g===void 0?!1:g,m=Promise.resolve().then(Zs(Gr().mark(function h(){var y,b,S,w,x,E,I;return Gr().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(a.mounted){T.next=2;break}return T.abrupt("return",[]);case 2:if(y=a.props,b=y.validateFirst,S=b===void 0?!1:b,w=y.messageVariables,x=y.validateDebounce,E=a.getRules(),p&&(E=E.filter(function(_){return _}).filter(function(_){var $=_.validateTrigger;if(!$)return!0;var D=lT($);return D.includes(p)})),!(x&&p)){T.next=10;break}return T.next=8,new Promise(function(_){setTimeout(_,x)});case 8:if(a.validatePromise===m){T.next=10;break}return T.abrupt("return",[]);case 10:return I=Koe(u,d,E,c,S,w),I.catch(function(_){return _}).then(function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:eo;if(a.validatePromise===m){var $;a.validatePromise=null;var D=[],P=[];($=_.forEach)===null||$===void 0||$.call(_,function(A){var O=A.rule.warningOnly,N=A.errors,k=N===void 0?eo:N;O?P.push.apply(P,$e(k)):D.push.apply(D,$e(k))}),a.errors=D,a.warnings=P,a.triggerMetaEvent(),a.reRender()}}),T.abrupt("return",I);case 13:case"end":return T.stop()}},h)})));return v||(a.validatePromise=m,a.dirty=!0,a.errors=eo,a.warnings=eo,a.triggerMetaEvent(),a.reRender()),m}),V(Ge(a),"isFieldValidating",function(){return!!a.validatePromise}),V(Ge(a),"isFieldTouched",function(){return a.touched}),V(Ge(a),"isFieldDirty",function(){if(a.dirty||a.props.initialValue!==void 0)return!0;var c=a.props.fieldContext,u=c.getInternalHooks(Sl),d=u.getInitialValue;return d(a.getNamePath())!==void 0}),V(Ge(a),"getErrors",function(){return a.errors}),V(Ge(a),"getWarnings",function(){return a.warnings}),V(Ge(a),"isListField",function(){return a.props.isListField}),V(Ge(a),"isList",function(){return a.props.isList}),V(Ge(a),"isPreserve",function(){return a.props.preserve}),V(Ge(a),"getMeta",function(){a.prevValidating=a.isFieldValidating();var c={touched:a.isFieldTouched(),validating:a.prevValidating,errors:a.errors,warnings:a.warnings,name:a.getNamePath(),validated:a.validatePromise===null};return c}),V(Ge(a),"getOnlyChild",function(c){if(typeof c=="function"){var u=a.getMeta();return K(K({},a.getOnlyChild(c(a.getControlled(),u,a.props.fieldContext))),{},{isFunction:!0})}var d=or(c);return d.length!==1||!l.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),V(Ge(a),"getValue",function(c){var u=a.props.fieldContext.getFieldsValue,d=a.getNamePath();return Ha(c||u(!0),d)}),V(Ge(a),"getControlled",function(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.props,d=u.name,f=u.trigger,p=u.validateTrigger,g=u.getValueFromEvent,v=u.normalize,m=u.valuePropName,h=u.getValueProps,y=u.fieldContext,b=p!==void 0?p:y.validateTrigger,S=a.getNamePath(),w=y.getInternalHooks,x=y.getFieldsValue,E=w(Sl),I=E.dispatch,R=a.getValue(),T=h||function(A){return V({},m,A)},_=c[f],$=d!==void 0?T(R):{},D=K(K({},c),$);D[f]=function(){a.touched=!0,a.dirty=!0,a.triggerMetaEvent();for(var A,O=arguments.length,N=new Array(O),k=0;k=0&&_<=$.length?(d.keys=[].concat($e(d.keys.slice(0,_)),[d.id],$e(d.keys.slice(_))),S([].concat($e($.slice(0,_)),[T],$e($.slice(_))))):(d.keys=[].concat($e(d.keys),[d.id]),S([].concat($e($),[T]))),d.id+=1},remove:function(T){var _=x(),$=new Set(Array.isArray(T)?T:[T]);$.size<=0||(d.keys=d.keys.filter(function(D,P){return!$.has(P)}),S(_.filter(function(D,P){return!$.has(P)})))},move:function(T,_){if(T!==_){var $=x();T<0||T>=$.length||_<0||_>=$.length||(d.keys=m3(d.keys,T,_),S(m3($,T,_)))}}},I=b||[];return Array.isArray(I)||(I=[]),r(I.map(function(R,T){var _=d.keys[T];return _===void 0&&(d.keys[T]=d.id,_=d.keys[T],d.id+=1),{name:T,key:_,isListField:!0}}),E,h)})))}function eie(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(a,o){e.forEach(function(i,s){i.catch(function(c){return t=!0,c}).then(function(c){n-=1,r[s]=c,!(n>0)&&(t&&o(r),a(r))})})}):Promise.resolve([])}var J9="__@field_split__";function Qy(e){return e.map(function(t){return"".concat(ft(t),":").concat(t)}).join(J9)}var _c=function(){function e(){kn(this,e),V(this,"kvs",new Map)}return An(e,[{key:"set",value:function(n,r){this.kvs.set(Qy(n),r)}},{key:"get",value:function(n){return this.kvs.get(Qy(n))}},{key:"update",value:function(n,r){var a=this.get(n),o=r(a);o?this.set(n,o):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(Qy(n))}},{key:"map",value:function(n){return $e(this.kvs.entries()).map(function(r){var a=se(r,2),o=a[0],i=a[1],s=o.split(J9);return n({key:s.map(function(c){var u=c.match(/^([^:]*):(.*)$/),d=se(u,3),f=d[1],p=d[2];return f==="number"?Number(p):p}),value:i})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var a=r.key,o=r.value;return n[a.join(".")]=o,null}),n}}]),e}(),tie=["name"],nie=An(function e(t){var n=this;kn(this,e),V(this,"formHooked",!1),V(this,"forceRootUpdate",void 0),V(this,"subscribable",!0),V(this,"store",{}),V(this,"fieldEntities",[]),V(this,"initialValues",{}),V(this,"callbacks",{}),V(this,"validateMessages",null),V(this,"preserve",null),V(this,"lastValidatePromise",null),V(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}}),V(this,"getInternalHooks",function(r){return r===Sl?(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}):(cn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),V(this,"useSubscribe",function(r){n.subscribable=r}),V(this,"prevWithoutPreserves",null),V(this,"setInitialValues",function(r,a){if(n.initialValues=r||{},a){var o,i=nu(r,n.store);(o=n.prevWithoutPreserves)===null||o===void 0||o.map(function(s){var c=s.key;i=No(i,c,Ha(r,c))}),n.prevWithoutPreserves=null,n.updateStore(i)}}),V(this,"destroyForm",function(r){if(r)n.updateStore({});else{var a=new _c;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||a.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=a}}),V(this,"getInitialValue",function(r){var a=Ha(n.initialValues,r);return r.length?nu(a):a}),V(this,"setCallbacks",function(r){n.callbacks=r}),V(this,"setValidateMessages",function(r){n.validateMessages=r}),V(this,"setPreserve",function(r){n.preserve=r}),V(this,"watchList",[]),V(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(a){return a!==r})}}),V(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var a=n.getFieldsValue(),o=n.getFieldsValue(!0);n.watchList.forEach(function(i){i(a,o,r)})}}),V(this,"timeoutId",null),V(this,"warningUnhooked",function(){}),V(this,"updateStore",function(r){n.store=r}),V(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(a){return a.getNamePath().length}):n.fieldEntities}),V(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=new _c;return n.getFieldEntities(r).forEach(function(o){var i=o.getNamePath();a.set(i,o)}),a}),V(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var a=n.getFieldsMap(!0);return r.map(function(o){var i=ir(o);return a.get(i)||{INVALIDATE_NAME_PATH:ir(o)}})}),V(this,"getFieldsValue",function(r,a){n.warningUnhooked();var o,i,s;if(r===!0||Array.isArray(r)?(o=r,i=a):r&&ft(r)==="object"&&(s=r.strict,i=r.filter),o===!0&&!i)return n.store;var c=n.getFieldEntitiesForNamePathList(Array.isArray(o)?o:null),u=[];return c.forEach(function(d){var f,p,g="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(s){var v,m;if((v=(m=d).isList)!==null&&v!==void 0&&v.call(m))return}else if(!o&&(f=(p=d).isListField)!==null&&f!==void 0&&f.call(p))return;if(!i)u.push(g);else{var h="getMeta"in d?d.getMeta():null;i(h)&&u.push(g)}}),g3(n.store,u.map(ir))}),V(this,"getFieldValue",function(r){n.warningUnhooked();var a=ir(r);return Ha(n.store,a)}),V(this,"getFieldsError",function(r){n.warningUnhooked();var a=n.getFieldEntitiesForNamePathList(r);return a.map(function(o,i){return o&&!("INVALIDATE_NAME_PATH"in o)?{name:o.getNamePath(),errors:o.getErrors(),warnings:o.getWarnings()}:{name:ir(r[i]),errors:[],warnings:[]}})}),V(this,"getFieldError",function(r){n.warningUnhooked();var a=ir(r),o=n.getFieldsError([a])[0];return o.errors}),V(this,"getFieldWarning",function(r){n.warningUnhooked();var a=ir(r),o=n.getFieldsError([a])[0];return o.warnings}),V(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,a=new Array(r),o=0;o0&&arguments[0]!==void 0?arguments[0]:{},a=new _c,o=n.getFieldEntities(!0);o.forEach(function(c){var u=c.props.initialValue,d=c.getNamePath();if(u!==void 0){var f=a.get(d)||new Set;f.add({entity:c,value:u}),a.set(d,f)}});var i=function(u){u.forEach(function(d){var f=d.props.initialValue;if(f!==void 0){var p=d.getNamePath(),g=n.getInitialValue(p);if(g!==void 0)cn(!1,"Form already set 'initialValues' with path '".concat(p.join("."),"'. Field can not overwrite it."));else{var v=a.get(p);if(v&&v.size>1)cn(!1,"Multiple Field with path '".concat(p.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(v){var m=n.getFieldValue(p),h=d.isListField();!h&&(!r.skipExist||m===void 0)&&n.updateStore(No(n.store,p,$e(v)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(c){var u=a.get(c);if(u){var d;(d=s).push.apply(d,$e($e(u).map(function(f){return f.entity})))}})):s=o,i(s)}),V(this,"resetFields",function(r){n.warningUnhooked();var a=n.store;if(!r){n.updateStore(nu(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(a,null,{type:"reset"}),n.notifyWatch();return}var o=r.map(ir);o.forEach(function(i){var s=n.getInitialValue(i);n.updateStore(No(n.store,i,s))}),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(a,o,{type:"reset"}),n.notifyWatch(o)}),V(this,"setFields",function(r){n.warningUnhooked();var a=n.store,o=[];r.forEach(function(i){var s=i.name,c=vt(i,tie),u=ir(s);o.push(u),"value"in c&&n.updateStore(No(n.store,u,c.value)),n.notifyObservers(a,[u],{type:"setField",data:i})}),n.notifyWatch(o)}),V(this,"getFields",function(){var r=n.getFieldEntities(!0),a=r.map(function(o){var i=o.getNamePath(),s=o.getMeta(),c=K(K({},s),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(c,"originRCField",{value:!0}),c});return a}),V(this,"initEntityValue",function(r){var a=r.props.initialValue;if(a!==void 0){var o=r.getNamePath(),i=Ha(n.store,o);i===void 0&&n.updateStore(No(n.store,o,a))}}),V(this,"isMergedPreserve",function(r){var a=r!==void 0?r:n.preserve;return a??!0}),V(this,"registerField",function(r){n.fieldEntities.push(r);var a=r.getNamePath();if(n.notifyWatch([a]),r.props.initialValue!==void 0){var o=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(o,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(i,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(f){return f!==r}),!n.isMergedPreserve(s)&&(!i||c.length>1)){var u=i?void 0:n.getInitialValue(a);if(a.length&&n.getFieldValue(a)!==u&&n.fieldEntities.every(function(f){return!Z9(f.getNamePath(),a)})){var d=n.store;n.updateStore(No(d,a,u,!0)),n.notifyObservers(d,[a],{type:"remove"}),n.triggerDependenciesUpdate(d,a)}}n.notifyWatch([a])}}),V(this,"dispatch",function(r){switch(r.type){case"updateValue":{var a=r.namePath,o=r.value;n.updateValue(a,o);break}case"validateField":{var i=r.namePath,s=r.triggerName;n.validateFields([i],{triggerName:s});break}}}),V(this,"notifyObservers",function(r,a,o){if(n.subscribable){var i=K(K({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var c=s.onStoreChange;c(r,a,i)})}else n.forceRootUpdate()}),V(this,"triggerDependenciesUpdate",function(r,a){var o=n.getDependencyChildrenFields(a);return o.length&&n.validateFields(o),n.notifyObservers(r,o,{type:"dependenciesUpdate",relatedFields:[a].concat($e(o))}),o}),V(this,"updateValue",function(r,a){var o=ir(r),i=n.store;n.updateStore(No(n.store,o,a)),n.notifyObservers(i,[o],{type:"valueUpdate",source:"internal"}),n.notifyWatch([o]);var s=n.triggerDependenciesUpdate(i,o),c=n.callbacks.onValuesChange;if(c){var u=g3(n.store,[o]);c(u,n.getFieldsValue())}n.triggerOnFieldsChange([o].concat($e(s)))}),V(this,"setFieldsValue",function(r){n.warningUnhooked();var a=n.store;if(r){var o=nu(n.store,r);n.updateStore(o)}n.notifyObservers(a,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),V(this,"setFieldValue",function(r,a){n.setFields([{name:r,value:a}])}),V(this,"getDependencyChildrenFields",function(r){var a=new Set,o=[],i=new _c;n.getFieldEntities().forEach(function(c){var u=c.props.dependencies;(u||[]).forEach(function(d){var f=ir(d);i.update(f,function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return p.add(c),p})})});var s=function c(u){var d=i.get(u)||new Set;d.forEach(function(f){if(!a.has(f)){a.add(f);var p=f.getNamePath();f.isFieldDirty()&&p.length&&(o.push(p),c(p))}})};return s(r),o}),V(this,"triggerOnFieldsChange",function(r,a){var o=n.callbacks.onFieldsChange;if(o){var i=n.getFields();if(a){var s=new _c;a.forEach(function(u){var d=u.name,f=u.errors;s.set(d,f)}),i.forEach(function(u){u.errors=s.get(u.name)||u.errors})}var c=i.filter(function(u){var d=u.name;return hu(r,d)});c.length&&o(c,i)}}),V(this,"validateFields",function(r,a){n.warningUnhooked();var o,i;Array.isArray(r)||typeof r=="string"||typeof a=="string"?(o=r,i=a):i=r;var s=!!o,c=s?o.map(ir):[],u=[],d=String(Date.now()),f=new Set,p=i||{},g=p.recursive,v=p.dirty;n.getFieldEntities(!0).forEach(function(b){if(s||c.push(b.getNamePath()),!(!b.props.rules||!b.props.rules.length)&&!(v&&!b.isFieldDirty())){var S=b.getNamePath();if(f.add(S.join(d)),!s||hu(c,S,g)){var w=b.validateRules(K({validateMessages:K(K({},X9),n.validateMessages)},i));u.push(w.then(function(){return{name:S,errors:[],warnings:[]}}).catch(function(x){var E,I=[],R=[];return(E=x.forEach)===null||E===void 0||E.call(x,function(T){var _=T.rule.warningOnly,$=T.errors;_?R.push.apply(R,$e($)):I.push.apply(I,$e($))}),I.length?Promise.reject({name:S,errors:I,warnings:R}):{name:S,errors:I,warnings:R}}))}}});var m=eie(u);n.lastValidatePromise=m,m.catch(function(b){return b}).then(function(b){var S=b.map(function(w){var x=w.name;return x});n.notifyObservers(n.store,S,{type:"validateFinish"}),n.triggerOnFieldsChange(S,b)});var h=m.then(function(){return n.lastValidatePromise===m?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(b){var S=b.filter(function(w){return w&&w.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:S,outOfDate:n.lastValidatePromise!==m})});h.catch(function(b){return b});var y=c.filter(function(b){return f.has(b.join(d))});return n.triggerOnFieldsChange(y),h}),V(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var a=n.callbacks.onFinish;if(a)try{a(r)}catch(o){console.error(o)}}).catch(function(r){var a=n.callbacks.onFinishFailed;a&&a(r)})}),this.forceRootUpdate=t});function X_(e){var t=l.useRef(),n=l.useState({}),r=se(n,2),a=r[1];if(!t.current)if(e)t.current=e;else{var o=function(){a({})},i=new nie(o);t.current=i.getForm()}return[t.current]}var vT=l.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),eH=function(t){var n=t.validateMessages,r=t.onFormChange,a=t.onFormFinish,o=t.children,i=l.useContext(vT),s=l.useRef({});return l.createElement(vT.Provider,{value:K(K({},i),{},{validateMessages:K(K({},i.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:s.current}),i.triggerFormChange(u,d)},triggerFormFinish:function(u,d){a&&a(u,{values:d,forms:s.current}),i.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(s.current=K(K({},s.current),{},V({},u,d))),i.registerForm(u,d)},unregisterForm:function(u){var d=K({},s.current);delete d[u],s.current=d,i.unregisterForm(u)}})},o)},rie=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],aie=function(t,n){var r=t.name,a=t.initialValues,o=t.fields,i=t.form,s=t.preserve,c=t.children,u=t.component,d=u===void 0?"form":u,f=t.validateMessages,p=t.validateTrigger,g=p===void 0?"onChange":p,v=t.onValuesChange,m=t.onFieldsChange,h=t.onFinish,y=t.onFinishFailed,b=t.clearOnDestroy,S=vt(t,rie),w=l.useRef(null),x=l.useContext(vT),E=X_(i),I=se(E,1),R=I[0],T=R.getInternalHooks(Sl),_=T.useSubscribe,$=T.setInitialValues,D=T.setCallbacks,P=T.setValidateMessages,A=T.setPreserve,O=T.destroyForm;l.useImperativeHandle(n,function(){return K(K({},R),{},{nativeElement:w.current})}),l.useEffect(function(){return x.registerForm(r,R),function(){x.unregisterForm(r)}},[x,R,r]),P(K(K({},x.validateMessages),f)),D({onValuesChange:v,onFieldsChange:function(H){if(x.triggerFormChange(r,H),m){for(var U=arguments.length,Z=new Array(U>1?U-1:0),q=1;q{}}),nH=l.createContext(null),rH=e=>{const t=gn(e,["prefixCls"]);return l.createElement(eH,Object.assign({},t))},Z_=l.createContext({prefixCls:""}),Er=l.createContext({}),iie=e=>{let{children:t,status:n,override:r}=e;const a=l.useContext(Er),o=l.useMemo(()=>{const i=Object.assign({},a);return r&&delete i.isFormItemInput,n&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[n,r,a]);return l.createElement(Er.Provider,{value:o},t)},aH=l.createContext(void 0),di=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let a=r;return n&&(a=le.createElement(iie,{override:!0,status:!0},a)),t&&(a=le.createElement(Eae,null,a)),a};function Lu(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function v3(e){const{closable:t,closeIcon:n}=e||{};return le.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function b3(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{a&&Object.keys(a).forEach(o=>{a[o]!==void 0&&(e[o]=a[o])})}),e}const sie={};function Q_(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:sie;const r=v3(e),a=v3(t),o=le.useMemo(()=>Object.assign({closeIcon:le.createElement(da,null)},n),[n]),i=le.useMemo(()=>r===!1?!1:r?b3(o,a,r):a===!1?!1:a?b3(o,a):o.closable?o:!1,[r,a,o]);return le.useMemo(()=>{if(i===!1)return[!1,null];const{closeIconRender:s}=o,{closeIcon:c}=i;let u=c;if(u!=null){s&&(u=s(c));const d=Nn(i,!0);Object.keys(d).length&&(u=le.isValidElement(u)?le.cloneElement(u,d):le.createElement("span",Object.assign({},d),u))}return[!0,u]},[i,o])}var oH=function(t){if(kr()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(a){return a in r.style})}return!1},lie=function(t,n){if(!oH(t))return!1;var r=document.createElement("div"),a=r.style[t];return r.style[t]=n,r.style[t]!==a};function bT(e,t){return!Array.isArray(e)&&t!==void 0?lie(e,t):oH(e)}const cie=()=>kr()&&window.document.documentElement,kb=e=>{const{prefixCls:t,className:n,style:r,size:a,shape:o}=e,i=ne({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),s=ne({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),c=l.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return l.createElement("span",{className:ne(t,i,s,n),style:Object.assign(Object.assign({},c),r)})},uie=new Jt("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Ab=e=>({height:e,lineHeight:W(e)}),vu=e=>Object.assign({width:e},Ab(e)),die=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:uie,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),Jy=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Ab(e)),fie=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},vu(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},vu(a)),[`${t}${t}-sm`]:Object.assign({},vu(o))}},pie=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:n},Jy(t,s)),[`${r}-lg`]:Object.assign({},Jy(a,s)),[`${r}-sm`]:Object.assign({},Jy(o,s))}},y3=e=>Object.assign({width:e},Ab(e)),gie=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a,calc:o}=e;return{[t]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},y3(o(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},y3(n)),{maxWidth:o(n).mul(4).equal(),maxHeight:o(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},eS=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},tS=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Ab(e)),mie=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o,gradientFromColor:i,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:i,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},tS(r,s))},eS(e,r,n)),{[`${n}-lg`]:Object.assign({},tS(a,s))}),eS(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},tS(o,s))}),eS(e,o,`${n}-sm`))},hie=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:o,skeletonInputCls:i,skeletonImageCls:s,controlHeight:c,controlHeightLG:u,controlHeightSM:d,gradientFromColor:f,padding:p,marginSM:g,borderRadius:v,titleHeight:m,blockRadius:h,paragraphLiHeight:y,controlHeightXS:b,paragraphMarginTop:S}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:p,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:f},vu(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},vu(u)),[`${n}-sm`]:Object.assign({},vu(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:m,background:f,borderRadius:h,[`+ ${a}`]:{marginBlockStart:d}},[a]:{padding:0,"> li":{width:"100%",height:y,listStyle:"none",background:f,borderRadius:h,"+ li":{marginBlockStart:b}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:v}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:g,[`+ ${a}`]:{marginBlockStart:S}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},mie(e)),fie(e)),pie(e)),gie(e)),[`${t}${t}-block`]:{width:"100%",[o]:{width:"100%"},[i]:{width:"100%"}},[`${t}${t}-active`]:{[` ${r}, ${a} > li, ${n}, ${o}, ${i}, ${s} - `]:Object.assign({},die(e))}}},vie=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,a=n;return{color:r,colorGradientEnd:a,gradientFromColor:r,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},rd=Kt("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Pt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[hie(r)]},vie,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),bie=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:o="circle",size:i="default"}=e,{getPrefixCls:s}=l.useContext(ot),c=s("skeleton",t),[u,d,f]=rd(c),p=gn(e,["prefixCls","className"]),g=ne(c,`${c}-element`,{[`${c}-active`]:a},n,r,d,f);return u(l.createElement("div",{className:g},l.createElement(kb,Object.assign({prefixCls:`${c}-avatar`,shape:o,size:i},p))))},yie=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o=!1,size:i="default"}=e,{getPrefixCls:s}=l.useContext(ot),c=s("skeleton",t),[u,d,f]=rd(c),p=gn(e,["prefixCls"]),g=ne(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},n,r,d,f);return u(l.createElement("div",{className:g},l.createElement(kb,Object.assign({prefixCls:`${c}-button`,size:i},p))))},Sie="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",wie=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o}=e,{getPrefixCls:i}=l.useContext(ot),s=i("skeleton",t),[c,u,d]=rd(s),f=ne(s,`${s}-element`,{[`${s}-active`]:o},n,r,u,d);return c(l.createElement("div",{className:f},l.createElement("div",{className:ne(`${s}-image`,n),style:a},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},l.createElement("title",null,"Image placeholder"),l.createElement("path",{d:Sie,className:`${s}-image-path`})))))},Cie=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o,size:i="default"}=e,{getPrefixCls:s}=l.useContext(ot),c=s("skeleton",t),[u,d,f]=rd(c),p=gn(e,["prefixCls"]),g=ne(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},n,r,d,f);return u(l.createElement("div",{className:g},l.createElement(kb,Object.assign({prefixCls:`${c}-input`,size:i},p))))};var xie={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"},Eie=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:xie}))},Iie=l.forwardRef(Eie);const Tie=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o,children:i}=e,{getPrefixCls:s}=l.useContext(ot),c=s("skeleton",t),[u,d,f]=rd(c),p=ne(c,`${c}-element`,{[`${c}-active`]:o},d,n,r,f),g=i??l.createElement(Iie,null);return u(l.createElement("div",{className:p},l.createElement("div",{className:ne(`${c}-image`,n),style:a},g)))},Rie=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},_ie=e=>{const{prefixCls:t,className:n,style:r,rows:a}=e,o=$e(Array(a)).map((i,s)=>l.createElement("li",{key:s,style:{width:Rie(s,e)}}));return l.createElement("ul",{className:ne(t,n),style:r},o)},$ie=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return l.createElement("h3",{className:ne(t,n),style:Object.assign({width:r},a)})};function nS(e){return e&&typeof e=="object"?e:{}}function Oie(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Nie(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function kie(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Qs=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:a,style:o,children:i,avatar:s=!1,title:c=!0,paragraph:u=!0,active:d,round:f}=e,{getPrefixCls:p,direction:g,skeleton:b}=l.useContext(ot),m=p("skeleton",t),[h,y,v]=rd(m);if(n||!("loading"in e)){const S=!!s,w=!!c,x=!!u;let E;if(S){const T=Object.assign(Object.assign({prefixCls:`${m}-avatar`},Oie(w,x)),nS(s));E=l.createElement("div",{className:`${m}-header`},l.createElement(kb,Object.assign({},T)))}let I;if(w||x){let T;if(w){const $=Object.assign(Object.assign({prefixCls:`${m}-title`},Nie(S,x)),nS(c));T=l.createElement($ie,Object.assign({},$))}let _;if(x){const $=Object.assign(Object.assign({prefixCls:`${m}-paragraph`},kie(S,w)),nS(u));_=l.createElement(_ie,Object.assign({},$))}I=l.createElement("div",{className:`${m}-content`},T,_)}const R=ne(m,{[`${m}-with-avatar`]:S,[`${m}-active`]:d,[`${m}-rtl`]:g==="rtl",[`${m}-round`]:f},b==null?void 0:b.className,r,a,y,v);return h(l.createElement("div",{className:R,style:Object.assign(Object.assign({},b==null?void 0:b.style),o)},E,I))}return i??null};Qs.Button=yie;Qs.Avatar=bie;Qs.Input=Cie;Qs.Image=wie;Qs.Node=Tie;function S3(){}const Aie=l.createContext({add:S3,remove:S3});function iH(e){const t=l.useContext(Aie),n=l.useRef();return Lt(a=>{if(a){const o=e?a.querySelector(e):a;t.add(o),n.current=o}else t.remove(n.current)})}const w3=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=l.useContext(rg);return le.createElement($t,Object.assign({onClick:n},e),t)},C3=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:a}=l.useContext(rg);return le.createElement($t,Object.assign({},M9(n),{loading:e,onClick:a},t),r)};function sH(e,t){return le.createElement("span",{className:`${e}-close-x`},t||le.createElement(da,{className:`${e}-close-icon`}))}const lH=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:o,onCancel:i,okButtonProps:s,cancelButtonProps:c,footer:u}=e,[d]=mi("Modal",z7()),f=t||(d==null?void 0:d.okText),p=r||(d==null?void 0:d.cancelText),g={confirmLoading:a,okButtonProps:s,cancelButtonProps:c,okTextLocale:f,cancelTextLocale:p,okType:n,onOk:o,onCancel:i},b=le.useMemo(()=>g,$e(Object.values(g)));let m;return typeof u=="function"||typeof u>"u"?(m=le.createElement(le.Fragment,null,le.createElement(w3,null),le.createElement(C3,null)),typeof u=="function"&&(m=u(m,{OkBtn:C3,CancelBtn:w3})),m=le.createElement(z9,{value:b},m)):m=u,le.createElement(L_,{disabled:!1},m)},og=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + `]:Object.assign({},die(e))}}},vie=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,a=n;return{color:r,colorGradientEnd:a,gradientFromColor:r,gradientToColor:a,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},rd=Kt("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Pt(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[hie(r)]},vie,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),bie=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:o="circle",size:i="default"}=e,{getPrefixCls:s}=l.useContext(ot),c=s("skeleton",t),[u,d,f]=rd(c),p=gn(e,["prefixCls","className"]),g=ne(c,`${c}-element`,{[`${c}-active`]:a},n,r,d,f);return u(l.createElement("div",{className:g},l.createElement(kb,Object.assign({prefixCls:`${c}-avatar`,shape:o,size:i},p))))},yie=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o=!1,size:i="default"}=e,{getPrefixCls:s}=l.useContext(ot),c=s("skeleton",t),[u,d,f]=rd(c),p=gn(e,["prefixCls"]),g=ne(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},n,r,d,f);return u(l.createElement("div",{className:g},l.createElement(kb,Object.assign({prefixCls:`${c}-button`,size:i},p))))},Sie="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",wie=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o}=e,{getPrefixCls:i}=l.useContext(ot),s=i("skeleton",t),[c,u,d]=rd(s),f=ne(s,`${s}-element`,{[`${s}-active`]:o},n,r,u,d);return c(l.createElement("div",{className:f},l.createElement("div",{className:ne(`${s}-image`,n),style:a},l.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},l.createElement("title",null,"Image placeholder"),l.createElement("path",{d:Sie,className:`${s}-image-path`})))))},Cie=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o,size:i="default"}=e,{getPrefixCls:s}=l.useContext(ot),c=s("skeleton",t),[u,d,f]=rd(c),p=gn(e,["prefixCls"]),g=ne(c,`${c}-element`,{[`${c}-active`]:a,[`${c}-block`]:o},n,r,d,f);return u(l.createElement("div",{className:g},l.createElement(kb,Object.assign({prefixCls:`${c}-input`,size:i},p))))};var xie={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"},Eie=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:xie}))},Iie=l.forwardRef(Eie);const Tie=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o,children:i}=e,{getPrefixCls:s}=l.useContext(ot),c=s("skeleton",t),[u,d,f]=rd(c),p=ne(c,`${c}-element`,{[`${c}-active`]:o},d,n,r,f),g=i??l.createElement(Iie,null);return u(l.createElement("div",{className:p},l.createElement("div",{className:ne(`${c}-image`,n),style:a},g)))},Rie=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},_ie=e=>{const{prefixCls:t,className:n,style:r,rows:a}=e,o=$e(Array(a)).map((i,s)=>l.createElement("li",{key:s,style:{width:Rie(s,e)}}));return l.createElement("ul",{className:ne(t,n),style:r},o)},$ie=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return l.createElement("h3",{className:ne(t,n),style:Object.assign({width:r},a)})};function nS(e){return e&&typeof e=="object"?e:{}}function Oie(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Nie(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function kie(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Qs=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:a,style:o,children:i,avatar:s=!1,title:c=!0,paragraph:u=!0,active:d,round:f}=e,{getPrefixCls:p,direction:g,skeleton:v}=l.useContext(ot),m=p("skeleton",t),[h,y,b]=rd(m);if(n||!("loading"in e)){const S=!!s,w=!!c,x=!!u;let E;if(S){const T=Object.assign(Object.assign({prefixCls:`${m}-avatar`},Oie(w,x)),nS(s));E=l.createElement("div",{className:`${m}-header`},l.createElement(kb,Object.assign({},T)))}let I;if(w||x){let T;if(w){const $=Object.assign(Object.assign({prefixCls:`${m}-title`},Nie(S,x)),nS(c));T=l.createElement($ie,Object.assign({},$))}let _;if(x){const $=Object.assign(Object.assign({prefixCls:`${m}-paragraph`},kie(S,w)),nS(u));_=l.createElement(_ie,Object.assign({},$))}I=l.createElement("div",{className:`${m}-content`},T,_)}const R=ne(m,{[`${m}-with-avatar`]:S,[`${m}-active`]:d,[`${m}-rtl`]:g==="rtl",[`${m}-round`]:f},v==null?void 0:v.className,r,a,y,b);return h(l.createElement("div",{className:R,style:Object.assign(Object.assign({},v==null?void 0:v.style),o)},E,I))}return i??null};Qs.Button=yie;Qs.Avatar=bie;Qs.Input=Cie;Qs.Image=wie;Qs.Node=Tie;function S3(){}const Aie=l.createContext({add:S3,remove:S3});function iH(e){const t=l.useContext(Aie),n=l.useRef();return Lt(a=>{if(a){const o=e?a.querySelector(e):a;t.add(o),n.current=o}else t.remove(n.current)})}const w3=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=l.useContext(rg);return le.createElement($t,Object.assign({onClick:n},e),t)},C3=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:a}=l.useContext(rg);return le.createElement($t,Object.assign({},M9(n),{loading:e,onClick:a},t),r)};function sH(e,t){return le.createElement("span",{className:`${e}-close-x`},t||le.createElement(da,{className:`${e}-close-icon`}))}const lH=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:o,onCancel:i,okButtonProps:s,cancelButtonProps:c,footer:u}=e,[d]=mi("Modal",z7()),f=t||(d==null?void 0:d.okText),p=r||(d==null?void 0:d.cancelText),g={confirmLoading:a,okButtonProps:s,cancelButtonProps:c,okTextLocale:f,cancelTextLocale:p,okType:n,onOk:o,onCancel:i},v=le.useMemo(()=>g,$e(Object.values(g)));let m;return typeof u=="function"||typeof u>"u"?(m=le.createElement(le.Fragment,null,le.createElement(w3,null),le.createElement(C3,null)),typeof u=="function"&&(m=u(m,{OkBtn:C3,CancelBtn:w3})),m=le.createElement(z9,{value:v},m)):m=u,le.createElement(L_,{disabled:!1},m)},og=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),Mie=e=>({animationDuration:e,animationFillMode:"both"}),Die=e=>({animationDuration:e,animationFillMode:"both"}),Mb=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${o}${e}-enter, @@ -212,10 +212,10 @@ html body { ${r}-appear `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function I3(e){return{position:e,inset:0}}const lse=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},I3("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},I3("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:cH(e)}]},cse=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${W(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},Gt(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${W(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),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 ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:W(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},ui(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${W(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, ${t}-body, - ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},use=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},uH=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Pt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},dH=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${W(e.paddingMD)} ${W(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${W(e.padding)} ${W(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${W(e.paddingXS)} ${W(e.padding)}`:0,footerBorderTop:e.wireframe?`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${W(e.padding*2)} ${W(e.padding*2)} ${W(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),fH=Kt("Modal",e=>{const t=uH(e);return[cse(t),use(t),lse(t),ig(t,"zoom")]},dH,{unitless:{titleLineHeight:!0}});var dse=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{yT={x:e.pageX,y:e.pageY},setTimeout(()=>{yT=null},100)};cie()&&document.documentElement.addEventListener("click",fse,!0);const pH=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:a,modal:o}=l.useContext(ot),i=B=>{const{onCancel:z}=e;z==null||z(B)},s=B=>{const{onOk:z}=e;z==null||z(B)},{prefixCls:c,className:u,rootClassName:d,open:f,wrapClassName:p,centered:g,getContainer:b,focusTriggerAfterClose:m=!0,style:h,visible:y,width:v=520,footer:S,classNames:w,styles:x,children:E,loading:I}=e,R=dse(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),T=r("modal",c),_=r(),$=Vn(T),[D,P,A]=fH(T,$),O=ne(p,{[`${T}-centered`]:!!g,[`${T}-wrap-rtl`]:a==="rtl"}),N=S!==null&&!I?l.createElement(lH,Object.assign({},e,{onOk:s,onCancel:i})):null,[k,M]=Q_(Lu(e),Lu(o),{closable:!0,closeIcon:l.createElement(da,{className:`${T}-close-icon`}),closeIconRender:B=>sH(T,B)}),L=iH(`.${T}-content`),[F,j]=Qi("Modal",R.zIndex);return D(l.createElement(di,{form:!0,space:!0},l.createElement(Jp.Provider,{value:j},l.createElement(K9,Object.assign({width:v},R,{zIndex:F,getContainer:b===void 0?n:b,prefixCls:T,rootClassName:ne(P,d,A,$),footer:N,visible:f??y,mousePosition:(t=R.mousePosition)!==null&&t!==void 0?t:yT,onClose:i,closable:k,closeIcon:M,focusTriggerAfterClose:m,transitionName:bo(_,"zoom",e.transitionName),maskTransitionName:bo(_,"fade",e.maskTransitionName),className:ne(P,u,o==null?void 0:o.className),style:Object.assign(Object.assign({},o==null?void 0:o.style),h),classNames:Object.assign(Object.assign(Object.assign({},o==null?void 0:o.classNames),w),{wrapper:ne(O,w==null?void 0:w.wrapper)}),styles:Object.assign(Object.assign({},o==null?void 0:o.styles),x),panelRef:L}),I?l.createElement(Qs,{active:!0,title:!1,paragraph:{rows:4},className:`${T}-body-skeleton`}):E))))},pse=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:a,fontSize:o,lineHeight:i,modalTitleHeight:s,fontHeight:c,confirmBodyPadding:u}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:Object.assign({},Vo()),[`&${t} ${t}-body`]:{padding:u},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:a,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(a).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(a).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${W(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${d}-content`]:{color:e.colorText,fontSize:o,lineHeight:i},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls}, - ${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},gse=Ju(["Modal","confirm"],e=>{const t=uH(e);return[pse(t)]},dH,{order:-1e3});var mse=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);av,$e(Object.values(v))),w=l.createElement(l.Fragment,null,l.createElement(XA,null),l.createElement(ZA,null)),x=e.title!==void 0&&e.title!==null,E=`${o}-body`;return l.createElement("div",{className:`${o}-body-wrapper`},l.createElement("div",{className:ne(E,{[`${E}-has-title`]:x})},f,l.createElement("div",{className:`${o}-paragraph`},x&&l.createElement("span",{className:`${o}-title`},e.title),l.createElement("div",{className:`${o}-content`},e.content))),c===void 0||typeof c=="function"?l.createElement(z9,{value:S},l.createElement("div",{className:`${o}-btns`},typeof c=="function"?c(w,{OkBtn:ZA,CancelBtn:XA}):w)):c,l.createElement(gse,{prefixCls:t}))}const hse=e=>{const{close:t,zIndex:n,afterClose:r,open:a,keyboard:o,centered:i,getContainer:s,maskStyle:c,direction:u,prefixCls:d,wrapClassName:f,rootPrefixCls:p,bodyStyle:g,closable:b=!1,closeIcon:m,modalRender:h,focusTriggerAfterClose:y,onConfirm:v,styles:S}=e,w=`${d}-confirm`,x=e.width||416,E=e.style||{},I=e.mask===void 0?!0:e.mask,R=e.maskClosable===void 0?!1:e.maskClosable,T=ne(w,`${w}-${e.type}`,{[`${w}-rtl`]:u==="rtl"},e.className),[,_]=Mr(),$=l.useMemo(()=>n!==void 0?n:_.zIndexPopupBase+I9,[n,_]);return l.createElement(pH,{prefixCls:d,className:T,wrapClassName:ne({[`${w}-centered`]:!!e.centered},f),onCancel:()=>{t==null||t({triggerCancel:!0}),v==null||v(!1)},open:a,title:"",footer:null,transitionName:bo(p||"","zoom",e.transitionName),maskTransitionName:bo(p||"","fade",e.maskTransitionName),mask:I,maskClosable:R,style:E,styles:Object.assign({body:g,mask:c},S),width:x,zIndex:$,afterClose:r,keyboard:o,centered:i,getContainer:s,closable:b,closeIcon:m,modalRender:h,focusTriggerAfterClose:y},l.createElement(gH,Object.assign({},e,{confirmPrefixCls:w})))},mH=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:a}=e;return l.createElement(Ko,{prefixCls:t,iconPrefixCls:n,direction:r,theme:a},l.createElement(hse,Object.assign({},e)))},wl=[];let hH="";function vH(){return hH}const vse=e=>{var t,n;const{prefixCls:r,getContainer:a,direction:o}=e,i=z7(),s=l.useContext(ot),c=vH()||s.getPrefixCls(),u=r||`${c}-modal`;let d=a;return d===!1&&(d=void 0),le.createElement(mH,Object.assign({},e,{rootPrefixCls:c,prefixCls:u,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:o??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:i,getContainer:d}))};function sg(e){const t=h9(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:s,open:!0}),a;function o(){for(var u,d=arguments.length,f=new Array(d),p=0;pm==null?void 0:m.triggerCancel)){var b;(u=e.onCancel)===null||u===void 0||(b=u).call.apply(b,[e,()=>{}].concat($e(f.slice(1))))}for(let m=0;m{const d=t.getPrefixCls(void 0,vH()),f=t.getIconPrefixCls(),p=t.getTheme(),g=le.createElement(vse,Object.assign({},u));W_(le.createElement(Ko,{prefixCls:d,iconPrefixCls:f,theme:p},t.holderRender?t.holderRender(g):g),n)})}function s(){for(var u=arguments.length,d=new Array(u),f=0;f{typeof e.afterClose=="function"&&e.afterClose(),o.apply(this,d)}}),r.visible&&delete r.visible,i(r)}function c(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),i(r)}return i(r),wl.push(s),{destroy:s,update:c}}function bH(e){return Object.assign(Object.assign({},e),{type:"warning"})}function yH(e){return Object.assign(Object.assign({},e),{type:"info"})}function SH(e){return Object.assign(Object.assign({},e),{type:"success"})}function wH(e){return Object.assign(Object.assign({},e),{type:"error"})}function CH(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function bse(e){let{rootPrefixCls:t}=e;hH=t}var yse=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,{afterClose:r,config:a}=e,o=yse(e,["afterClose","config"]);const[i,s]=l.useState(!0),[c,u]=l.useState(a),{direction:d,getPrefixCls:f}=l.useContext(ot),p=f("modal"),g=f(),b=()=>{var v;r(),(v=c.afterClose)===null||v===void 0||v.call(c)},m=function(){var v;s(!1);for(var S=arguments.length,w=new Array(S),x=0;xR==null?void 0:R.triggerCancel)){var I;(v=c.onCancel)===null||v===void 0||(I=v).call.apply(I,[c,()=>{}].concat($e(w.slice(1))))}};l.useImperativeHandle(t,()=>({destroy:m,update:v=>{u(S=>Object.assign(Object.assign({},S),v))}}));const h=(n=c.okCancel)!==null&&n!==void 0?n:c.type==="confirm",[y]=mi("Modal",ci.Modal);return l.createElement(mH,Object.assign({prefixCls:p,rootPrefixCls:g},c,{close:m,open:i,afterClose:b,okText:c.okText||(h?y==null?void 0:y.okText:y==null?void 0:y.justOkText),direction:c.direction||d,cancelText:c.cancelText||(y==null?void 0:y.cancelText)},o))},wse=l.forwardRef(Sse);let T3=0;const Cse=l.memo(l.forwardRef((e,t)=>{const[n,r]=aae();return l.useImperativeHandle(t,()=>({patchElement:r}),[]),l.createElement(l.Fragment,null,n)}));function xse(){const e=l.useRef(null),[t,n]=l.useState([]);l.useEffect(()=>{t.length&&($e(t).forEach(i=>{i()}),n([]))},[t]);const r=l.useCallback(o=>function(s){var c;T3+=1;const u=l.createRef();let d;const f=new Promise(h=>{d=h});let p=!1,g;const b=l.createElement(wse,{key:`modal-${T3}`,config:o(s),ref:u,afterClose:()=>{g==null||g()},isSilent:()=>p,onConfirm:h=>{d(h)}});return g=(c=e.current)===null||c===void 0?void 0:c.patchElement(b),g&&wl.push(g),{destroy:()=>{function h(){var y;(y=u.current)===null||y===void 0||y.destroy()}u.current?h():n(y=>[].concat($e(y),[h]))},update:h=>{function y(){var v;(v=u.current)===null||v===void 0||v.update(h)}u.current?y():n(v=>[].concat($e(v),[y]))},then:h=>(p=!0,f.then(h))}},[]);return[l.useMemo(()=>({info:r(yH),success:r(SH),error:r(wH),warning:r(bH),confirm:r(CH)}),[]),l.createElement(Cse,{key:"modal-holder",ref:e})]}const Ese=le.createContext({});function xH(e){return t=>l.createElement(Ko,{theme:{token:{motion:!1,zIndexPopupBase:0}}},l.createElement(e,Object.assign({},t)))}const lg=(e,t,n,r)=>xH(o=>{const{prefixCls:i,style:s}=o,c=l.useRef(null),[u,d]=l.useState(0),[f,p]=l.useState(0),[g,b]=Qt(!1,{value:o.open}),{getPrefixCls:m}=l.useContext(ot),h=m(t||"select",i);l.useEffect(()=>{if(b(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver(x=>{const E=x[0].target;d(E.offsetHeight+8),p(E.offsetWidth)}),w=setInterval(()=>{var x;const E=n?`.${n(h)}`:`.${h}-dropdown`,I=(x=c.current)===null||x===void 0?void 0:x.querySelector(E);I&&(clearInterval(w),S.observe(I))},10);return()=>{clearInterval(w),S.disconnect()}}},[]);let y=Object.assign(Object.assign({},o),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>c.current});r&&(y=r(y));const v={paddingBottom:u,position:"relative",minWidth:f};return l.createElement("div",{ref:c,style:v},l.createElement(e,Object.assign({},y)))}),jb=function(){if(typeof navigator>"u"||typeof window>"u")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(e==null?void 0:e.substr(0,4))};var Bb=function(t){var n=t.className,r=t.customizeIcon,a=t.customizeIconProps,o=t.children,i=t.onMouseDown,s=t.onClick,c=typeof r=="function"?r(a):r;return l.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),i==null||i(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},c!==void 0?c:l.createElement("span",{className:ne(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},o))},Ise=function(t,n,r,a,o){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=le.useMemo(function(){if(ft(a)==="object")return a.clearIcon;if(o)return o},[a,o]),d=le.useMemo(function(){return!!(!i&&a&&(r.length||s)&&!(c==="combobox"&&s===""))},[a,i,r.length,s,c]);return{allowClear:d,clearIcon:le.createElement(Bb,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},EH=l.createContext(null);function IH(){return l.useContext(EH)}function Tse(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=l.useState(!1),n=se(t,2),r=n[0],a=n[1],o=l.useRef(null),i=function(){window.clearTimeout(o.current)};l.useEffect(function(){return i},[]);var s=function(u,d){i(),o.current=window.setTimeout(function(){a(u),d&&d()},e)};return[r,s,i]}function TH(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=l.useRef(null),n=l.useRef(null);l.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(a){(a||t.current===null)&&(t.current=a),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function Rse(e,t,n,r){var a=l.useRef(null);a.current={open:t,triggerOpen:n,customizedTrigger:r},l.useEffect(function(){function o(i){var s;if(!((s=a.current)!==null&&s!==void 0&&s.customizedTrigger)){var c=i.target;c.shadowRoot&&i.composed&&(c=i.composedPath()[0]||c),a.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(c)&&u!==c})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",o),function(){return window.removeEventListener("mousedown",o)}},[])}function _se(e){return![Me.ESC,Me.SHIFT,Me.BACKSPACE,Me.TAB,Me.WIN_KEY,Me.ALT,Me.META,Me.WIN_KEY_RIGHT,Me.CTRL,Me.SEMICOLON,Me.EQUALS,Me.CAPS_LOCK,Me.CONTEXT_MENU,Me.F1,Me.F2,Me.F3,Me.F4,Me.F5,Me.F6,Me.F7,Me.F8,Me.F9,Me.F10,Me.F11,Me.F12].includes(e)}var $se=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],$c=void 0;function Ose(e,t){var n=e.prefixCls,r=e.invalidate,a=e.item,o=e.renderItem,i=e.responsive,s=e.responsiveDisabled,c=e.registerSize,u=e.itemKey,d=e.className,f=e.style,p=e.children,g=e.display,b=e.order,m=e.component,h=m===void 0?"div":m,y=vt(e,$se),v=i&&!g;function S(R){c(u,R)}l.useEffect(function(){return function(){S(null)}},[]);var w=o&&a!==$c?o(a):p,x;r||(x={opacity:v?0:1,height:v?0:$c,overflowY:v?"hidden":$c,order:i?b:$c,pointerEvents:v?"none":$c,position:v?"absolute":$c});var E={};v&&(E["aria-hidden"]=!0);var I=l.createElement(h,be({className:ne(!r&&n,d),style:K(K({},x),f)},E,y,{ref:t}),w);return i&&(I=l.createElement(zr,{onResize:function(T){var _=T.offsetWidth;S(_)},disabled:s},I)),I}var _f=l.forwardRef(Ose);_f.displayName="Item";function Nse(e){if(typeof MessageChannel>"u")Dt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function kse(){var e=l.useRef(null),t=function(r){e.current||(e.current=[],Nse(function(){Sr.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function Pd(e,t){var n=l.useState(t),r=se(n,2),a=r[0],o=r[1],i=Lt(function(s){e(function(){o(s)})});return[a,i]}var vv=le.createContext(null),Ase=["component"],Mse=["className"],Dse=["className"],Pse=function(t,n){var r=l.useContext(vv);if(!r){var a=t.component,o=a===void 0?"div":a,i=vt(t,Ase);return l.createElement(o,be({},i,{ref:n}))}var s=r.className,c=vt(r,Mse),u=t.className,d=vt(t,Dse);return l.createElement(vv.Provider,{value:null},l.createElement(_f,be({ref:n,className:ne(s,u)},c,d)))},RH=l.forwardRef(Pse);RH.displayName="RawItem";var Lse=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],_H="responsive",$H="invalidate";function Fse(e){return"+ ".concat(e.length," ...")}function jse(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,a=e.data,o=a===void 0?[]:a,i=e.renderItem,s=e.renderRawItem,c=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,f=e.ssr,p=e.style,g=e.className,b=e.maxCount,m=e.renderRest,h=e.renderRawRest,y=e.suffix,v=e.component,S=v===void 0?"div":v,w=e.itemComponent,x=e.onVisibleChange,E=vt(e,Lse),I=f==="full",R=kse(),T=Pd(R,null),_=se(T,2),$=_[0],D=_[1],P=$||0,A=Pd(R,new Map),O=se(A,2),N=O[0],k=O[1],M=Pd(R,0),L=se(M,2),F=L[0],j=L[1],B=Pd(R,0),z=se(B,2),H=z[0],U=z[1],Z=Pd(R,0),q=se(Z,2),Y=q[0],te=q[1],ee=l.useState(null),X=se(ee,2),ie=X[0],re=X[1],G=l.useState(null),Q=se(G,2),ae=Q[0],oe=Q[1],de=l.useMemo(function(){return ae===null&&I?Number.MAX_SAFE_INTEGER:ae||0},[ae,$]),ve=l.useState(!1),ye=se(ve,2),ge=ye[0],J=ye[1],ce="".concat(r,"-item"),ue=Math.max(F,H),fe=b===_H,pe=o.length&&fe,xe=b===$H,Te=pe||typeof b=="number"&&o.length>b,Pe=l.useMemo(function(){var Je=o;return pe?$===null&&I?Je=o:Je=o.slice(0,Math.min(o.length,P/d)):typeof b=="number"&&(Je=o.slice(0,b)),Je},[o,d,$,b,pe]),ke=l.useMemo(function(){return pe?o.slice(de+1):o.slice(Pe.length)},[o,Pe,pe,de]),Ue=l.useCallback(function(Je,Xe){var ut;return typeof c=="function"?c(Je):(ut=c&&(Je==null?void 0:Je[c]))!==null&&ut!==void 0?ut:Xe},[c]),Be=l.useCallback(i||function(Je){return Je},[i]);function De(Je,Xe,ut){ae===Je&&(Xe===void 0||Xe===ie)||(oe(Je),ut||(J(JeP){De(pt-1,Je-We-Y+H);break}}y&&he(0)+Y>P&&re(null)}},[P,N,H,Y,Ue,Pe]);var Ee=ge&&!!ke.length,je={};ie!==null&&pe&&(je={position:"absolute",left:ie,top:0});var Ae={prefixCls:ce,responsive:pe,component:w,invalidate:xe},Ne=s?function(Je,Xe){var ut=Ue(Je,Xe);return l.createElement(vv.Provider,{key:ut,value:K(K({},Ae),{},{order:Xe,item:Je,itemKey:ut,registerSize:_e,display:Xe<=de})},s(Je,Xe))}:function(Je,Xe){var ut=Ue(Je,Xe);return l.createElement(_f,be({},Ae,{order:Xe,key:ut,item:Je,renderItem:Be,itemKey:ut,registerSize:_e,display:Xe<=de}))},ze,qe={order:Ee?de:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:Ce,display:Ee};if(h)h&&(ze=l.createElement(vv.Provider,{value:K(K({},Ae),qe)},h(ke)));else{var Le=m||Fse;ze=l.createElement(_f,be({},Ae,qe),typeof Le=="function"?Le(ke):Le)}var Ke=l.createElement(S,be({className:ne(!xe&&r,g),style:p,ref:t},E),Pe.map(Ne),Te?ze:null,y&&l.createElement(_f,be({},Ae,{responsive:fe,responsiveDisabled:!pe,order:de,className:"".concat(ce,"-suffix"),registerSize:Re,display:!0,style:je}),y));return fe&&(Ke=l.createElement(zr,{onResize:Se,disabled:!pe},Ke)),Ke}var Bo=l.forwardRef(jse);Bo.displayName="Overflow";Bo.Item=RH;Bo.RESPONSIVE=_H;Bo.INVALIDATE=$H;var Bse=function(t,n){var r,a=t.prefixCls,o=t.id,i=t.inputElement,s=t.disabled,c=t.tabIndex,u=t.autoFocus,d=t.autoComplete,f=t.editable,p=t.activeDescendantId,g=t.value,b=t.maxLength,m=t.onKeyDown,h=t.onMouseDown,y=t.onChange,v=t.onPaste,S=t.onCompositionStart,w=t.onCompositionEnd,x=t.open,E=t.attrs,I=i||l.createElement("input",null),R=I,T=R.ref,_=R.props,$=_.onKeyDown,D=_.onChange,P=_.onMouseDown,A=_.onCompositionStart,O=_.onCompositionEnd,N=_.style;return"maxLength"in I.props,I=l.cloneElement(I,K(K(K({type:"search"},_),{},{id:o,ref:Ar(n,T),disabled:s,tabIndex:c,autoComplete:d||"off",autoFocus:u,className:ne("".concat(a,"-selection-search-input"),(r=I)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":x?p:void 0},E),{},{value:f?g:"",maxLength:b,readOnly:!f,unselectable:f?null:"on",style:K(K({},N),{},{opacity:f?null:0}),onKeyDown:function(M){m(M),$&&$(M)},onMouseDown:function(M){h(M),P&&P(M)},onChange:function(M){y(M),D&&D(M)},onCompositionStart:function(M){S(M),A&&A(M)},onCompositionEnd:function(M){w(M),O&&O(M)},onPaste:v})),I},OH=l.forwardRef(Bse);function NH(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var zse=typeof window<"u"&&window.document&&window.document.documentElement,Hse=zse;function Use(e){return e!=null}function Vse(e){return!e&&e!==0}function R3(e){return["string","number"].includes(ft(e))}function kH(e){var t=void 0;return e&&(R3(e.title)?t=e.title.toString():R3(e.label)&&(t=e.label.toString())),t}function Wse(e,t){Hse?l.useLayoutEffect(e,t):l.useEffect(e,t)}function Gse(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var _3=function(t){t.preventDefault(),t.stopPropagation()},qse=function(t){var n=t.id,r=t.prefixCls,a=t.values,o=t.open,i=t.searchValue,s=t.autoClearSearchValue,c=t.inputRef,u=t.placeholder,d=t.disabled,f=t.mode,p=t.showSearch,g=t.autoFocus,b=t.autoComplete,m=t.activeDescendantId,h=t.tabIndex,y=t.removeIcon,v=t.maxTagCount,S=t.maxTagTextLength,w=t.maxTagPlaceholder,x=w===void 0?function(re){return"+ ".concat(re.length," ...")}:w,E=t.tagRender,I=t.onToggleOpen,R=t.onRemove,T=t.onInputChange,_=t.onInputPaste,$=t.onInputKeyDown,D=t.onInputMouseDown,P=t.onInputCompositionStart,A=t.onInputCompositionEnd,O=l.useRef(null),N=l.useState(0),k=se(N,2),M=k[0],L=k[1],F=l.useState(!1),j=se(F,2),B=j[0],z=j[1],H="".concat(r,"-selection"),U=o||f==="multiple"&&s===!1||f==="tags"?i:"",Z=f==="tags"||f==="multiple"&&s===!1||p&&(o||B);Wse(function(){L(O.current.scrollWidth)},[U]);var q=function(G,Q,ae,oe,de){return l.createElement("span",{title:kH(G),className:ne("".concat(H,"-item"),V({},"".concat(H,"-item-disabled"),ae))},l.createElement("span",{className:"".concat(H,"-item-content")},Q),oe&&l.createElement(Bb,{className:"".concat(H,"-item-remove"),onMouseDown:_3,onClick:de,customizeIcon:y},"×"))},Y=function(G,Q,ae,oe,de,ve){var ye=function(J){_3(J),I(!o)};return l.createElement("span",{onMouseDown:ye},E({label:Q,value:G,disabled:ae,closable:oe,onClose:de,isMaxTag:!!ve}))},te=function(G){var Q=G.disabled,ae=G.label,oe=G.value,de=!d&&!Q,ve=ae;if(typeof S=="number"&&(typeof ae=="string"||typeof ae=="number")){var ye=String(ve);ye.length>S&&(ve="".concat(ye.slice(0,S),"..."))}var ge=function(ce){ce&&ce.stopPropagation(),R(G)};return typeof E=="function"?Y(oe,ve,Q,de,ge):q(G,ve,Q,de,ge)},ee=function(G){var Q=typeof x=="function"?x(G):x;return typeof E=="function"?Y(void 0,Q,!1,!1,void 0,!0):q({title:Q},Q,!1)},X=l.createElement("div",{className:"".concat(H,"-search"),style:{width:M},onFocus:function(){z(!0)},onBlur:function(){z(!1)}},l.createElement(OH,{ref:c,open:o,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:g,autoComplete:b,editable:Z,activeDescendantId:m,value:U,onKeyDown:$,onMouseDown:D,onChange:T,onPaste:_,onCompositionStart:P,onCompositionEnd:A,tabIndex:h,attrs:Nn(t,!0)}),l.createElement("span",{ref:O,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},U," ")),ie=l.createElement(Bo,{prefixCls:"".concat(H,"-overflow"),data:a,renderItem:te,renderRest:ee,suffix:X,itemKey:Gse,maxCount:v});return l.createElement(l.Fragment,null,ie,!a.length&&!U&&l.createElement("span",{className:"".concat(H,"-placeholder")},u))},Kse=function(t){var n=t.inputElement,r=t.prefixCls,a=t.id,o=t.inputRef,i=t.disabled,s=t.autoFocus,c=t.autoComplete,u=t.activeDescendantId,d=t.mode,f=t.open,p=t.values,g=t.placeholder,b=t.tabIndex,m=t.showSearch,h=t.searchValue,y=t.activeValue,v=t.maxLength,S=t.onInputKeyDown,w=t.onInputMouseDown,x=t.onInputChange,E=t.onInputPaste,I=t.onInputCompositionStart,R=t.onInputCompositionEnd,T=t.title,_=l.useState(!1),$=se(_,2),D=$[0],P=$[1],A=d==="combobox",O=A||m,N=p[0],k=h||"";A&&y&&!D&&(k=y),l.useEffect(function(){A&&P(!1)},[A,y]);var M=d!=="combobox"&&!f&&!m?!1:!!k,L=T===void 0?kH(N):T,F=l.useMemo(function(){return N?null:l.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:M?{visibility:"hidden"}:void 0},g)},[N,M,g,r]);return l.createElement(l.Fragment,null,l.createElement("span",{className:"".concat(r,"-selection-search")},l.createElement(OH,{ref:o,prefixCls:r,id:a,open:f,inputElement:n,disabled:i,autoFocus:s,autoComplete:c,editable:O,activeDescendantId:u,value:k,onKeyDown:S,onMouseDown:w,onChange:function(B){P(!0),x(B)},onPaste:E,onCompositionStart:I,onCompositionEnd:R,tabIndex:b,attrs:Nn(t,!0),maxLength:A?v:void 0})),!A&&N?l.createElement("span",{className:"".concat(r,"-selection-item"),title:L,style:M?{visibility:"hidden"}:void 0},N.label):null,F)},Yse=function(t,n){var r=l.useRef(null),a=l.useRef(!1),o=t.prefixCls,i=t.open,s=t.mode,c=t.showSearch,u=t.tokenWithEnter,d=t.disabled,f=t.autoClearSearchValue,p=t.onSearch,g=t.onSearchSubmit,b=t.onToggleOpen,m=t.onInputKeyDown,h=t.domRef;l.useImperativeHandle(n,function(){return{focus:function(M){r.current.focus(M)},blur:function(){r.current.blur()}}});var y=TH(0),v=se(y,2),S=v[0],w=v[1],x=function(M){var L=M.which;(L===Me.UP||L===Me.DOWN)&&M.preventDefault(),m&&m(M),L===Me.ENTER&&s==="tags"&&!a.current&&!i&&(g==null||g(M.target.value)),_se(L)&&b(!0)},E=function(){w(!0)},I=l.useRef(null),R=function(M){p(M,!0,a.current)!==!1&&b(!0)},T=function(){a.current=!0},_=function(M){a.current=!1,s!=="combobox"&&R(M.target.value)},$=function(M){var L=M.target.value;if(u&&I.current&&/[\r\n]/.test(I.current)){var F=I.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");L=L.replace(F,I.current)}I.current=null,R(L)},D=function(M){var L=M.clipboardData,F=L==null?void 0:L.getData("text");I.current=F||""},P=function(M){var L=M.target;if(L!==r.current){var F=document.body.style.msTouchAction!==void 0;F?setTimeout(function(){r.current.focus()}):r.current.focus()}},A=function(M){var L=S();M.target!==r.current&&!L&&!(s==="combobox"&&d)&&M.preventDefault(),(s!=="combobox"&&(!c||!L)||!i)&&(i&&f!==!1&&p("",!0,!1),b())},O={inputRef:r,onInputKeyDown:x,onInputMouseDown:E,onInputChange:$,onInputPaste:D,onInputCompositionStart:T,onInputCompositionEnd:_},N=s==="multiple"||s==="tags"?l.createElement(qse,be({},t,O)):l.createElement(Kse,be({},t,O));return l.createElement("div",{ref:h,className:"".concat(o,"-selector"),onClick:P,onMouseDown:A},N)},Xse=l.forwardRef(Yse);function Zse(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,o=r||{},i=o.className,s=o.content,c=a.x,u=c===void 0?0:c,d=a.y,f=d===void 0?0:d,p=l.useRef();if(!n||!n.points)return null;var g={position:"absolute"};if(n.autoArrow!==!1){var b=n.points[0],m=n.points[1],h=b[0],y=b[1],v=m[0],S=m[1];h===v||!["t","b"].includes(h)?g.top=f:h==="t"?g.top=0:g.bottom=0,y===S||!["l","r"].includes(y)?g.left=u:y==="l"?g.left=0:g.right=0}return l.createElement("div",{ref:p,className:ne("".concat(t,"-arrow"),i),style:g},s)}function Qse(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,o=e.motion;return a?l.createElement(Wr,be({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var s=i.className;return l.createElement("div",{style:{zIndex:r},className:ne("".concat(t,"-mask"),s)})}):null}var Jse=l.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),ele=l.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,o=e.style,i=e.target,s=e.onVisibleChanged,c=e.open,u=e.keepDom,d=e.fresh,f=e.onClick,p=e.mask,g=e.arrow,b=e.arrowPos,m=e.align,h=e.motion,y=e.maskMotion,v=e.forceRender,S=e.getPopupContainer,w=e.autoDestroy,x=e.portal,E=e.zIndex,I=e.onMouseEnter,R=e.onMouseLeave,T=e.onPointerEnter,_=e.ready,$=e.offsetX,D=e.offsetY,P=e.offsetR,A=e.offsetB,O=e.onAlign,N=e.onPrepare,k=e.stretch,M=e.targetWidth,L=e.targetHeight,F=typeof n=="function"?n():n,j=c||u,B=(S==null?void 0:S.length)>0,z=l.useState(!S||!B),H=se(z,2),U=H[0],Z=H[1];if(zt(function(){!U&&B&&i&&Z(!0)},[U,B,i]),!U)return null;var q="auto",Y={left:"-1000vw",top:"-1000vh",right:q,bottom:q};if(_||!c){var te,ee=m.points,X=m.dynamicInset||((te=m._experimental)===null||te===void 0?void 0:te.dynamicInset),ie=X&&ee[0][1]==="r",re=X&&ee[0][0]==="b";ie?(Y.right=P,Y.left=q):(Y.left=$,Y.right=q),re?(Y.bottom=A,Y.top=q):(Y.top=D,Y.bottom=q)}var G={};return k&&(k.includes("height")&&L?G.height=L:k.includes("minHeight")&&L&&(G.minHeight=L),k.includes("width")&&M?G.width=M:k.includes("minWidth")&&M&&(G.minWidth=M)),c||(G.pointerEvents="none"),l.createElement(x,{open:v||j,getContainer:S&&function(){return S(i)},autoDestroy:w},l.createElement(Qse,{prefixCls:a,open:c,zIndex:E,mask:p,motion:y}),l.createElement(zr,{onResize:O,disabled:!c},function(Q){return l.createElement(Wr,be({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:v,leavedClassName:"".concat(a,"-hidden")},h,{onAppearPrepare:N,onEnterPrepare:N,visible:c,onVisibleChanged:function(oe){var de;h==null||(de=h.onVisibleChanged)===null||de===void 0||de.call(h,oe),s(oe)}}),function(ae,oe){var de=ae.className,ve=ae.style,ye=ne(a,de,r);return l.createElement("div",{ref:Ar(Q,t,oe),className:ye,style:K(K(K(K({"--arrow-x":"".concat(b.x||0,"px"),"--arrow-y":"".concat(b.y||0,"px")},Y),G),ve),{},{boxSizing:"border-box",zIndex:E},o),onMouseEnter:I,onMouseLeave:R,onPointerEnter:T,onClick:f},g&&l.createElement(Zse,{prefixCls:a,arrow:g,arrowPos:b,align:m}),l.createElement(Jse,{cache:!c&&!d},F))})}))}),tle=l.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=Ho(n),o=l.useCallback(function(s){lp(t,r?r(s):s)},[r]),i=Zi(o,n.ref);return a?l.cloneElement(n,{ref:i}):n}),$3=l.createContext(null);function O3(e){return e?Array.isArray(e)?e:[e]:[]}function nle(e,t,n,r){return l.useMemo(function(){var a=O3(n??t),o=O3(r??t),i=new Set(a),s=new Set(o);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[i,s]},[e,t,n,r])}function rle(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function ale(e,t,n,r){for(var a=n.points,o=Object.keys(e),i=0;i1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Ld(e){return yp(parseFloat(e),0)}function k3(e,t){var n=K({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=cg(r).getComputedStyle(r),o=a.overflow,i=a.overflowClipMargin,s=a.borderTopWidth,c=a.borderBottomWidth,u=a.borderLeftWidth,d=a.borderRightWidth,f=r.getBoundingClientRect(),p=r.offsetHeight,g=r.clientHeight,b=r.offsetWidth,m=r.clientWidth,h=Ld(s),y=Ld(c),v=Ld(u),S=Ld(d),w=yp(Math.round(f.width/b*1e3)/1e3),x=yp(Math.round(f.height/p*1e3)/1e3),E=(b-m-v-S)*w,I=(p-g-h-y)*x,R=h*x,T=y*x,_=v*w,$=S*w,D=0,P=0;if(o==="clip"){var A=Ld(i);D=A*w,P=A*x}var O=f.x+_-D,N=f.y+R-P,k=O+f.width+2*D-_-$-E,M=N+f.height+2*P-R-T-I;n.left=Math.max(n.left,O),n.top=Math.max(n.top,N),n.right=Math.min(n.right,k),n.bottom=Math.min(n.bottom,M)}}),n}function A3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function M3(e,t){var n=t||[],r=se(n,2),a=r[0],o=r[1];return[A3(e.width,a),A3(e.height,o)]}function D3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Oc(e,t){var n=t[0],r=t[1],a,o;return n==="t"?o=e.y:n==="b"?o=e.y+e.height:o=e.y+e.height/2,r==="l"?a=e.x:r==="r"?a=e.x+e.width:a=e.x+e.width/2,{x:a,y:o}}function rs(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,a){return a===t?n[r]||"c":r}).join("")}function ole(e,t,n,r,a,o,i){var s=l.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),c=se(s,2),u=c[0],d=c[1],f=l.useRef(0),p=l.useMemo(function(){return t?ST(t):[]},[t]),g=l.useRef({}),b=function(){g.current={}};e||b();var m=Lt(function(){if(t&&n&&e){let nt=function(un,zn){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ye,Na=F.x+un,ka=F.y+zn,Io=Na+te,yi=ka+Y,al=Math.max(Na,Mn.left),Q0=Math.max(ka,Mn.top),It=Math.min(Io,Mn.right),Ut=Math.min(yi,Mn.bottom);return Math.max(0,(It-al)*(Ut-Q0))},_t=function(){dt=F.y+Le,it=dt+Y,Qe=F.x+qe,st=Qe+te};var jt=nt,Mt=_t,v,S,w=t,x=w.ownerDocument,E=cg(w),I=E.getComputedStyle(w),R=I.width,T=I.height,_=I.position,$=w.style.left,D=w.style.top,P=w.style.right,A=w.style.bottom,O=w.style.overflow,N=K(K({},a[r]),o),k=x.createElement("div");(v=w.parentElement)===null||v===void 0||v.appendChild(k),k.style.left="".concat(w.offsetLeft,"px"),k.style.top="".concat(w.offsetTop,"px"),k.style.position=_,k.style.height="".concat(w.offsetHeight,"px"),k.style.width="".concat(w.offsetWidth,"px"),w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden";var M;if(Array.isArray(n))M={x:n[0],y:n[1],width:0,height:0};else{var L=n.getBoundingClientRect();M={x:L.x,y:L.y,width:L.width,height:L.height}}var F=w.getBoundingClientRect(),j=x.documentElement,B=j.clientWidth,z=j.clientHeight,H=j.scrollWidth,U=j.scrollHeight,Z=j.scrollTop,q=j.scrollLeft,Y=F.height,te=F.width,ee=M.height,X=M.width,ie={left:0,top:0,right:B,bottom:z},re={left:-q,top:-Z,right:H-q,bottom:U-Z},G=N.htmlRegion,Q="visible",ae="visibleFirst";G!=="scroll"&&G!==ae&&(G=Q);var oe=G===ae,de=k3(re,p),ve=k3(ie,p),ye=G===Q?ve:de,ge=oe?ve:ye;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";var J=w.getBoundingClientRect();w.style.left=$,w.style.top=D,w.style.right=P,w.style.bottom=A,w.style.overflow=O,(S=w.parentElement)===null||S===void 0||S.removeChild(k);var ce=yp(Math.round(te/parseFloat(R)*1e3)/1e3),ue=yp(Math.round(Y/parseFloat(T)*1e3)/1e3);if(ce===0||ue===0||sp(n)&&!td(n))return;var fe=N.offset,pe=N.targetOffset,xe=M3(F,fe),Te=se(xe,2),Pe=Te[0],ke=Te[1],Ue=M3(M,pe),Be=se(Ue,2),De=Be[0],Se=Be[1];M.x-=De,M.y-=Se;var _e=N.points||[],Ce=se(_e,2),Re=Ce[0],he=Ce[1],Ee=D3(he),je=D3(Re),Ae=Oc(M,Ee),Ne=Oc(F,je),ze=K({},N),qe=Ae.x-Ne.x+Pe,Le=Ae.y-Ne.y+ke,Ke=nt(qe,Le),Je=nt(qe,Le,ve),Xe=Oc(M,["t","l"]),ut=Oc(F,["t","l"]),pt=Oc(M,["b","r"]),We=Oc(F,["b","r"]),Ze=N.overflow||{},Ye=Ze.adjustX,at=Ze.adjustY,wt=Ze.shiftX,Ct=Ze.shiftY,Ot=function(zn){return typeof zn=="boolean"?zn:zn>=0},dt,it,Qe,st;_t();var St=Ot(at),et=je[0]===Ee[0];if(St&&je[0]==="t"&&(it>ge.bottom||g.current.bt)){var Ie=Le;et?Ie-=Y-ee:Ie=Xe.y-We.y-ke;var we=nt(qe,Ie),Oe=nt(qe,Ie,ve);we>Ke||we===Ke&&(!oe||Oe>=Je)?(g.current.bt=!0,Le=Ie,ke=-ke,ze.points=[rs(je,0),rs(Ee,0)]):g.current.bt=!1}if(St&&je[0]==="b"&&(dtKe||Fe===Ke&&(!oe||Ve>=Je)?(g.current.tb=!0,Le=He,ke=-ke,ze.points=[rs(je,0),rs(Ee,0)]):g.current.tb=!1}var tt=Ot(Ye),bt=je[1]===Ee[1];if(tt&&je[1]==="l"&&(st>ge.right||g.current.rl)){var xt=qe;bt?xt-=te-X:xt=Xe.x-We.x-Pe;var Wt=nt(xt,Le),Yt=nt(xt,Le,ve);Wt>Ke||Wt===Ke&&(!oe||Yt>=Je)?(g.current.rl=!0,qe=xt,Pe=-Pe,ze.points=[rs(je,1),rs(Ee,1)]):g.current.rl=!1}if(tt&&je[1]==="r"&&(QeKe||en===Ke&&(!oe||ht>=Je)?(g.current.lr=!0,qe=Vt,Pe=-Pe,ze.points=[rs(je,1),rs(Ee,1)]):g.current.lr=!1}_t();var yt=wt===!0?0:wt;typeof yt=="number"&&(Qeve.right&&(qe-=st-ve.right-Pe,M.x>ve.right-yt&&(qe+=M.x-ve.right+yt)));var Tt=Ct===!0?0:Ct;typeof Tt=="number"&&(dtve.bottom&&(Le-=it-ve.bottom-ke,M.y>ve.bottom-Tt&&(Le+=M.y-ve.bottom+Tt)));var mn=F.x+qe,Gn=mn+te,hr=F.y+Le,Ir=hr+Y,oa=M.x,Pr=oa+X,er=M.y,Ht=er+ee,Nt=Math.max(mn,oa),Bt=Math.min(Gn,Pr),kt=(Nt+Bt)/2,At=kt-mn,gt=Math.max(hr,er),mt=Math.min(Ir,Ht),nn=(gt+mt)/2,bn=nn-hr;i==null||i(t,ze);var qn=J.right-F.x-(qe+F.width),tr=J.bottom-F.y-(Le+F.height);ce===1&&(qe=Math.round(qe),qn=Math.round(qn)),ue===1&&(Le=Math.round(Le),tr=Math.round(tr));var Lr={ready:!0,offsetX:qe/ce,offsetY:Le/ue,offsetR:qn/ce,offsetB:tr/ue,arrowX:At/ce,arrowY:bn/ue,scaleX:ce,scaleY:ue,align:ze};d(Lr)}}),h=function(){f.current+=1;var S=f.current;Promise.resolve().then(function(){f.current===S&&m()})},y=function(){d(function(S){return K(K({},S),{},{ready:!1})})};return zt(y,[r]),zt(function(){e||y()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,h]}function ile(e,t,n,r,a){zt(function(){if(e&&t&&n){let p=function(){r(),a()};var f=p,o=t,i=n,s=ST(o),c=ST(i),u=cg(i),d=new Set([u].concat($e(s),$e(c)));return d.forEach(function(g){g.addEventListener("scroll",p,{passive:!0})}),u.addEventListener("resize",p,{passive:!0}),r(),function(){d.forEach(function(g){g.removeEventListener("scroll",p),u.removeEventListener("resize",p)})}}},[e,t,n])}function sle(e,t,n,r,a,o,i,s){var c=l.useRef(e);c.current=e,l.useEffect(function(){if(t&&r&&(!a||o)){var u=function(g){var b;c.current&&!i(((b=g.composedPath)===null||b===void 0||(b=b.call(g))===null||b===void 0?void 0:b[0])||g.target)&&s(!1)},d=cg(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var f=gv(n);return f&&(f.addEventListener("mousedown",u,!0),f.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),f&&(f.removeEventListener("mousedown",u,!0),f.removeEventListener("contextmenu",u,!0))}}},[t,n,r,a,o])}var lle=["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"];function cle(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nb,t=l.forwardRef(function(n,r){var a=n.prefixCls,o=a===void 0?"rc-trigger-popup":a,i=n.children,s=n.action,c=s===void 0?"hover":s,u=n.showAction,d=n.hideAction,f=n.popupVisible,p=n.defaultPopupVisible,g=n.onPopupVisibleChange,b=n.afterPopupVisibleChange,m=n.mouseEnterDelay,h=n.mouseLeaveDelay,y=h===void 0?.1:h,v=n.focusDelay,S=n.blurDelay,w=n.mask,x=n.maskClosable,E=x===void 0?!0:x,I=n.getPopupContainer,R=n.forceRender,T=n.autoDestroy,_=n.destroyPopupOnHide,$=n.popup,D=n.popupClassName,P=n.popupStyle,A=n.popupPlacement,O=n.builtinPlacements,N=O===void 0?{}:O,k=n.popupAlign,M=n.zIndex,L=n.stretch,F=n.getPopupClassNameFromAlign,j=n.fresh,B=n.alignPoint,z=n.onPopupClick,H=n.onPopupAlign,U=n.arrow,Z=n.popupMotion,q=n.maskMotion,Y=n.popupTransitionName,te=n.popupAnimation,ee=n.maskTransitionName,X=n.maskAnimation,ie=n.className,re=n.getTriggerDOMNode,G=vt(n,lle),Q=T||_||!1,ae=l.useState(!1),oe=se(ae,2),de=oe[0],ve=oe[1];zt(function(){ve(jb())},[]);var ye=l.useRef({}),ge=l.useContext($3),J=l.useMemo(function(){return{registerSubPopup:function(Ut,nr){ye.current[Ut]=nr,ge==null||ge.registerSubPopup(Ut,nr)}}},[ge]),ce=W9(),ue=l.useState(null),fe=se(ue,2),pe=fe[0],xe=fe[1],Te=l.useRef(null),Pe=Lt(function(It){Te.current=It,sp(It)&&pe!==It&&xe(It),ge==null||ge.registerSubPopup(ce,It)}),ke=l.useState(null),Ue=se(ke,2),Be=Ue[0],De=Ue[1],Se=l.useRef(null),_e=Lt(function(It){sp(It)&&Be!==It&&(De(It),Se.current=It)}),Ce=l.Children.only(i),Re=(Ce==null?void 0:Ce.props)||{},he={},Ee=Lt(function(It){var Ut,nr,vr=Be;return(vr==null?void 0:vr.contains(It))||((Ut=gv(vr))===null||Ut===void 0?void 0:Ut.host)===It||It===vr||(pe==null?void 0:pe.contains(It))||((nr=gv(pe))===null||nr===void 0?void 0:nr.host)===It||It===pe||Object.values(ye.current).some(function(rr){return(rr==null?void 0:rr.contains(It))||It===rr})}),je=N3(o,Z,te,Y),Ae=N3(o,q,X,ee),Ne=l.useState(p||!1),ze=se(Ne,2),qe=ze[0],Le=ze[1],Ke=f??qe,Je=Lt(function(It){f===void 0&&Le(It)});zt(function(){Le(f||!1)},[f]);var Xe=l.useRef(Ke);Xe.current=Ke;var ut=l.useRef([]);ut.current=[];var pt=Lt(function(It){var Ut;Je(It),((Ut=ut.current[ut.current.length-1])!==null&&Ut!==void 0?Ut:Ke)!==It&&(ut.current.push(It),g==null||g(It))}),We=l.useRef(),Ze=function(){clearTimeout(We.current)},Ye=function(Ut){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ze(),nr===0?pt(Ut):We.current=setTimeout(function(){pt(Ut)},nr*1e3)};l.useEffect(function(){return Ze},[]);var at=l.useState(!1),wt=se(at,2),Ct=wt[0],Ot=wt[1];zt(function(It){(!It||Ke)&&Ot(!0)},[Ke]);var dt=l.useState(null),it=se(dt,2),Qe=it[0],st=it[1],St=l.useState([0,0]),et=se(St,2),Ie=et[0],we=et[1],Oe=function(Ut){we([Ut.clientX,Ut.clientY])},He=ole(Ke,pe,B?Ie:Be,A,N,k,H),Fe=se(He,11),Ve=Fe[0],tt=Fe[1],bt=Fe[2],xt=Fe[3],Wt=Fe[4],Yt=Fe[5],Vt=Fe[6],en=Fe[7],ht=Fe[8],yt=Fe[9],Tt=Fe[10],mn=nle(de,c,u,d),Gn=se(mn,2),hr=Gn[0],Ir=Gn[1],oa=hr.has("click"),Pr=Ir.has("click")||Ir.has("contextMenu"),er=Lt(function(){Ct||Tt()}),Ht=function(){Xe.current&&B&&Pr&&Ye(!1)};ile(Ke,Be,pe,er,Ht),zt(function(){er()},[Ie,A]),zt(function(){Ke&&!(N!=null&&N[A])&&er()},[JSON.stringify(k)]);var Nt=l.useMemo(function(){var It=ale(N,o,yt,B);return ne(It,F==null?void 0:F(yt))},[yt,F,N,o,B]);l.useImperativeHandle(r,function(){return{nativeElement:Se.current,popupElement:Te.current,forceAlign:er}});var Bt=l.useState(0),kt=se(Bt,2),At=kt[0],gt=kt[1],mt=l.useState(0),nn=se(mt,2),bn=nn[0],qn=nn[1],tr=function(){if(L&&Be){var Ut=Be.getBoundingClientRect();gt(Ut.width),qn(Ut.height)}},Lr=function(){tr(),er()},jt=function(Ut){Ot(!1),Tt(),b==null||b(Ut)},Mt=function(){return new Promise(function(Ut){tr(),st(function(){return Ut})})};zt(function(){Qe&&(Tt(),Qe(),st(null))},[Qe]);function nt(It,Ut,nr,vr){he[It]=function(rr){var Fg;vr==null||vr(rr),Ye(Ut,nr);for(var J0=arguments.length,gN=new Array(J0>1?J0-1:0),jg=1;jg1?nr-1:0),rr=1;rr1?nr-1:0),rr=1;rr1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],o=AH(n,!1),i=o.label,s=o.value,c=o.options,u=o.groupLabel;function d(f,p){Array.isArray(f)&&f.forEach(function(g){if(p||!(c in g)){var b=g[s];a.push({key:P3(g,a.length),groupOption:p,data:g,label:g[i],value:b})}else{var m=g[u];m===void 0&&r&&(m=g.label),a.push({key:P3(g,a.length),group:!0,data:g,label:m}),d(g[c],!0)}})}return d(e,!1),a}function CT(e){var t=K({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return cn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var mle=function(t,n,r){if(!n||!n.length)return null;var a=!1,o=function s(c,u){var d=P7(u),f=d[0],p=d.slice(1);if(!f)return[c];var g=c.split(f);return a=a||g.length>1,g.reduce(function(b,m){return[].concat($e(b),$e(s(m,p)))},[]).filter(Boolean)},i=o(t,n);return a?typeof r<"u"?i.slice(0,r):i:null},e$=l.createContext(null);function hle(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return l.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(a){var o=a.label,i=a.value;return["number","string"].includes(ft(o))?o:i}).join(", ")),n.length>r?", ...":null)}var vle=["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"],ble=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],xT=function(t){return t==="tags"||t==="multiple"},MH=l.forwardRef(function(e,t){var n,r=e.id,a=e.prefixCls,o=e.className,i=e.showSearch,s=e.tagRender,c=e.direction,u=e.omitDomProps,d=e.displayValues,f=e.onDisplayValuesChange,p=e.emptyOptions,g=e.notFoundContent,b=g===void 0?"Not Found":g,m=e.onClear,h=e.mode,y=e.disabled,v=e.loading,S=e.getInputElement,w=e.getRawInputElement,x=e.open,E=e.defaultOpen,I=e.onDropdownVisibleChange,R=e.activeValue,T=e.onActiveValueChange,_=e.activeDescendantId,$=e.searchValue,D=e.autoClearSearchValue,P=e.onSearch,A=e.onSearchSplit,O=e.tokenSeparators,N=e.allowClear,k=e.suffixIcon,M=e.clearIcon,L=e.OptionList,F=e.animation,j=e.transitionName,B=e.dropdownStyle,z=e.dropdownClassName,H=e.dropdownMatchSelectWidth,U=e.dropdownRender,Z=e.dropdownAlign,q=e.placement,Y=e.builtinPlacements,te=e.getPopupContainer,ee=e.showAction,X=ee===void 0?[]:ee,ie=e.onFocus,re=e.onBlur,G=e.onKeyUp,Q=e.onKeyDown,ae=e.onMouseDown,oe=vt(e,vle),de=xT(h),ve=(i!==void 0?i:de)||h==="combobox",ye=K({},oe);ble.forEach(function(Ht){delete ye[Ht]}),u==null||u.forEach(function(Ht){delete ye[Ht]});var ge=l.useState(!1),J=se(ge,2),ce=J[0],ue=J[1];l.useEffect(function(){ue(jb())},[]);var fe=l.useRef(null),pe=l.useRef(null),xe=l.useRef(null),Te=l.useRef(null),Pe=l.useRef(null),ke=l.useRef(!1),Ue=Tse(),Be=se(Ue,3),De=Be[0],Se=Be[1],_e=Be[2];l.useImperativeHandle(t,function(){var Ht,Nt;return{focus:(Ht=Te.current)===null||Ht===void 0?void 0:Ht.focus,blur:(Nt=Te.current)===null||Nt===void 0?void 0:Nt.blur,scrollTo:function(kt){var At;return(At=Pe.current)===null||At===void 0?void 0:At.scrollTo(kt)},nativeElement:fe.current||pe.current}});var Ce=l.useMemo(function(){var Ht;if(h!=="combobox")return $;var Nt=(Ht=d[0])===null||Ht===void 0?void 0:Ht.value;return typeof Nt=="string"||typeof Nt=="number"?String(Nt):""},[$,h,d]),Re=h==="combobox"&&typeof S=="function"&&S()||null,he=typeof w=="function"&&w(),Ee=Zi(pe,he==null||(n=he.props)===null||n===void 0?void 0:n.ref),je=l.useState(!1),Ae=se(je,2),Ne=Ae[0],ze=Ae[1];zt(function(){ze(!0)},[]);var qe=Qt(!1,{defaultValue:E,value:x}),Le=se(qe,2),Ke=Le[0],Je=Le[1],Xe=Ne?Ke:!1,ut=!b&&p;(y||ut&&Xe&&h==="combobox")&&(Xe=!1);var pt=ut?!1:Xe,We=l.useCallback(function(Ht){var Nt=Ht!==void 0?Ht:!Xe;y||(Je(Nt),Xe!==Nt&&(I==null||I(Nt)))},[y,Xe,Je,I]),Ze=l.useMemo(function(){return(O||[]).some(function(Ht){return[` + ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},use=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},uH=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Pt(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},dH=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${W(e.paddingMD)} ${W(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${W(e.padding)} ${W(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${W(e.paddingXS)} ${W(e.padding)}`:0,footerBorderTop:e.wireframe?`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${W(e.padding*2)} ${W(e.padding*2)} ${W(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),fH=Kt("Modal",e=>{const t=uH(e);return[cse(t),use(t),lse(t),ig(t,"zoom")]},dH,{unitless:{titleLineHeight:!0}});var dse=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{yT={x:e.pageX,y:e.pageY},setTimeout(()=>{yT=null},100)};cie()&&document.documentElement.addEventListener("click",fse,!0);const pH=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:a,modal:o}=l.useContext(ot),i=B=>{const{onCancel:z}=e;z==null||z(B)},s=B=>{const{onOk:z}=e;z==null||z(B)},{prefixCls:c,className:u,rootClassName:d,open:f,wrapClassName:p,centered:g,getContainer:v,focusTriggerAfterClose:m=!0,style:h,visible:y,width:b=520,footer:S,classNames:w,styles:x,children:E,loading:I}=e,R=dse(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),T=r("modal",c),_=r(),$=Vn(T),[D,P,A]=fH(T,$),O=ne(p,{[`${T}-centered`]:!!g,[`${T}-wrap-rtl`]:a==="rtl"}),N=S!==null&&!I?l.createElement(lH,Object.assign({},e,{onOk:s,onCancel:i})):null,[k,M]=Q_(Lu(e),Lu(o),{closable:!0,closeIcon:l.createElement(da,{className:`${T}-close-icon`}),closeIconRender:B=>sH(T,B)}),L=iH(`.${T}-content`),[F,j]=Qi("Modal",R.zIndex);return D(l.createElement(di,{form:!0,space:!0},l.createElement(Jp.Provider,{value:j},l.createElement(K9,Object.assign({width:b},R,{zIndex:F,getContainer:v===void 0?n:v,prefixCls:T,rootClassName:ne(P,d,A,$),footer:N,visible:f??y,mousePosition:(t=R.mousePosition)!==null&&t!==void 0?t:yT,onClose:i,closable:k,closeIcon:M,focusTriggerAfterClose:m,transitionName:bo(_,"zoom",e.transitionName),maskTransitionName:bo(_,"fade",e.maskTransitionName),className:ne(P,u,o==null?void 0:o.className),style:Object.assign(Object.assign({},o==null?void 0:o.style),h),classNames:Object.assign(Object.assign(Object.assign({},o==null?void 0:o.classNames),w),{wrapper:ne(O,w==null?void 0:w.wrapper)}),styles:Object.assign(Object.assign({},o==null?void 0:o.styles),x),panelRef:L}),I?l.createElement(Qs,{active:!0,title:!1,paragraph:{rows:4},className:`${T}-body-skeleton`}):E))))},pse=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:a,fontSize:o,lineHeight:i,modalTitleHeight:s,fontHeight:c,confirmBodyPadding:u}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:Object.assign({},Vo()),[`&${t} ${t}-body`]:{padding:u},[`${d}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:a,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(c).sub(a).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(a).equal()).div(2).equal()}},[`${d}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${d}-paragraph`]:{maxWidth:`calc(100% - ${W(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${d}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${d}-content`]:{color:e.colorText,fontSize:o,lineHeight:i},[`${d}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${d}-error ${d}-body > ${e.iconCls}`]:{color:e.colorError},[`${d}-warning ${d}-body > ${e.iconCls}, + ${d}-confirm ${d}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${d}-info ${d}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${d}-success ${d}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},gse=Ju(["Modal","confirm"],e=>{const t=uH(e);return[pse(t)]},dH,{order:-1e3});var mse=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ab,$e(Object.values(b))),w=l.createElement(l.Fragment,null,l.createElement(XA,null),l.createElement(ZA,null)),x=e.title!==void 0&&e.title!==null,E=`${o}-body`;return l.createElement("div",{className:`${o}-body-wrapper`},l.createElement("div",{className:ne(E,{[`${E}-has-title`]:x})},f,l.createElement("div",{className:`${o}-paragraph`},x&&l.createElement("span",{className:`${o}-title`},e.title),l.createElement("div",{className:`${o}-content`},e.content))),c===void 0||typeof c=="function"?l.createElement(z9,{value:S},l.createElement("div",{className:`${o}-btns`},typeof c=="function"?c(w,{OkBtn:ZA,CancelBtn:XA}):w)):c,l.createElement(gse,{prefixCls:t}))}const hse=e=>{const{close:t,zIndex:n,afterClose:r,open:a,keyboard:o,centered:i,getContainer:s,maskStyle:c,direction:u,prefixCls:d,wrapClassName:f,rootPrefixCls:p,bodyStyle:g,closable:v=!1,closeIcon:m,modalRender:h,focusTriggerAfterClose:y,onConfirm:b,styles:S}=e,w=`${d}-confirm`,x=e.width||416,E=e.style||{},I=e.mask===void 0?!0:e.mask,R=e.maskClosable===void 0?!1:e.maskClosable,T=ne(w,`${w}-${e.type}`,{[`${w}-rtl`]:u==="rtl"},e.className),[,_]=Mr(),$=l.useMemo(()=>n!==void 0?n:_.zIndexPopupBase+I9,[n,_]);return l.createElement(pH,{prefixCls:d,className:T,wrapClassName:ne({[`${w}-centered`]:!!e.centered},f),onCancel:()=>{t==null||t({triggerCancel:!0}),b==null||b(!1)},open:a,title:"",footer:null,transitionName:bo(p||"","zoom",e.transitionName),maskTransitionName:bo(p||"","fade",e.maskTransitionName),mask:I,maskClosable:R,style:E,styles:Object.assign({body:g,mask:c},S),width:x,zIndex:$,afterClose:r,keyboard:o,centered:i,getContainer:s,closable:v,closeIcon:m,modalRender:h,focusTriggerAfterClose:y},l.createElement(gH,Object.assign({},e,{confirmPrefixCls:w})))},mH=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:a}=e;return l.createElement(Ko,{prefixCls:t,iconPrefixCls:n,direction:r,theme:a},l.createElement(hse,Object.assign({},e)))},wl=[];let hH="";function vH(){return hH}const vse=e=>{var t,n;const{prefixCls:r,getContainer:a,direction:o}=e,i=z7(),s=l.useContext(ot),c=vH()||s.getPrefixCls(),u=r||`${c}-modal`;let d=a;return d===!1&&(d=void 0),le.createElement(mH,Object.assign({},e,{rootPrefixCls:c,prefixCls:u,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:o??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:i,getContainer:d}))};function sg(e){const t=h9(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:s,open:!0}),a;function o(){for(var u,d=arguments.length,f=new Array(d),p=0;pm==null?void 0:m.triggerCancel)){var v;(u=e.onCancel)===null||u===void 0||(v=u).call.apply(v,[e,()=>{}].concat($e(f.slice(1))))}for(let m=0;m{const d=t.getPrefixCls(void 0,vH()),f=t.getIconPrefixCls(),p=t.getTheme(),g=le.createElement(vse,Object.assign({},u));W_(le.createElement(Ko,{prefixCls:d,iconPrefixCls:f,theme:p},t.holderRender?t.holderRender(g):g),n)})}function s(){for(var u=arguments.length,d=new Array(u),f=0;f{typeof e.afterClose=="function"&&e.afterClose(),o.apply(this,d)}}),r.visible&&delete r.visible,i(r)}function c(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),i(r)}return i(r),wl.push(s),{destroy:s,update:c}}function bH(e){return Object.assign(Object.assign({},e),{type:"warning"})}function yH(e){return Object.assign(Object.assign({},e),{type:"info"})}function SH(e){return Object.assign(Object.assign({},e),{type:"success"})}function wH(e){return Object.assign(Object.assign({},e),{type:"error"})}function CH(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function bse(e){let{rootPrefixCls:t}=e;hH=t}var yse=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,{afterClose:r,config:a}=e,o=yse(e,["afterClose","config"]);const[i,s]=l.useState(!0),[c,u]=l.useState(a),{direction:d,getPrefixCls:f}=l.useContext(ot),p=f("modal"),g=f(),v=()=>{var b;r(),(b=c.afterClose)===null||b===void 0||b.call(c)},m=function(){var b;s(!1);for(var S=arguments.length,w=new Array(S),x=0;xR==null?void 0:R.triggerCancel)){var I;(b=c.onCancel)===null||b===void 0||(I=b).call.apply(I,[c,()=>{}].concat($e(w.slice(1))))}};l.useImperativeHandle(t,()=>({destroy:m,update:b=>{u(S=>Object.assign(Object.assign({},S),b))}}));const h=(n=c.okCancel)!==null&&n!==void 0?n:c.type==="confirm",[y]=mi("Modal",ci.Modal);return l.createElement(mH,Object.assign({prefixCls:p,rootPrefixCls:g},c,{close:m,open:i,afterClose:v,okText:c.okText||(h?y==null?void 0:y.okText:y==null?void 0:y.justOkText),direction:c.direction||d,cancelText:c.cancelText||(y==null?void 0:y.cancelText)},o))},wse=l.forwardRef(Sse);let T3=0;const Cse=l.memo(l.forwardRef((e,t)=>{const[n,r]=aae();return l.useImperativeHandle(t,()=>({patchElement:r}),[]),l.createElement(l.Fragment,null,n)}));function xse(){const e=l.useRef(null),[t,n]=l.useState([]);l.useEffect(()=>{t.length&&($e(t).forEach(i=>{i()}),n([]))},[t]);const r=l.useCallback(o=>function(s){var c;T3+=1;const u=l.createRef();let d;const f=new Promise(h=>{d=h});let p=!1,g;const v=l.createElement(wse,{key:`modal-${T3}`,config:o(s),ref:u,afterClose:()=>{g==null||g()},isSilent:()=>p,onConfirm:h=>{d(h)}});return g=(c=e.current)===null||c===void 0?void 0:c.patchElement(v),g&&wl.push(g),{destroy:()=>{function h(){var y;(y=u.current)===null||y===void 0||y.destroy()}u.current?h():n(y=>[].concat($e(y),[h]))},update:h=>{function y(){var b;(b=u.current)===null||b===void 0||b.update(h)}u.current?y():n(b=>[].concat($e(b),[y]))},then:h=>(p=!0,f.then(h))}},[]);return[l.useMemo(()=>({info:r(yH),success:r(SH),error:r(wH),warning:r(bH),confirm:r(CH)}),[]),l.createElement(Cse,{key:"modal-holder",ref:e})]}const Ese=le.createContext({});function xH(e){return t=>l.createElement(Ko,{theme:{token:{motion:!1,zIndexPopupBase:0}}},l.createElement(e,Object.assign({},t)))}const lg=(e,t,n,r)=>xH(o=>{const{prefixCls:i,style:s}=o,c=l.useRef(null),[u,d]=l.useState(0),[f,p]=l.useState(0),[g,v]=Qt(!1,{value:o.open}),{getPrefixCls:m}=l.useContext(ot),h=m(t||"select",i);l.useEffect(()=>{if(v(!0),typeof ResizeObserver<"u"){const S=new ResizeObserver(x=>{const E=x[0].target;d(E.offsetHeight+8),p(E.offsetWidth)}),w=setInterval(()=>{var x;const E=n?`.${n(h)}`:`.${h}-dropdown`,I=(x=c.current)===null||x===void 0?void 0:x.querySelector(E);I&&(clearInterval(w),S.observe(I))},10);return()=>{clearInterval(w),S.disconnect()}}},[]);let y=Object.assign(Object.assign({},o),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>c.current});r&&(y=r(y));const b={paddingBottom:u,position:"relative",minWidth:f};return l.createElement("div",{ref:c,style:b},l.createElement(e,Object.assign({},y)))}),jb=function(){if(typeof navigator>"u"||typeof window>"u")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(e==null?void 0:e.substr(0,4))};var Bb=function(t){var n=t.className,r=t.customizeIcon,a=t.customizeIconProps,o=t.children,i=t.onMouseDown,s=t.onClick,c=typeof r=="function"?r(a):r;return l.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),i==null||i(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},c!==void 0?c:l.createElement("span",{className:ne(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},o))},Ise=function(t,n,r,a,o){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,c=arguments.length>7?arguments[7]:void 0,u=le.useMemo(function(){if(ft(a)==="object")return a.clearIcon;if(o)return o},[a,o]),d=le.useMemo(function(){return!!(!i&&a&&(r.length||s)&&!(c==="combobox"&&s===""))},[a,i,r.length,s,c]);return{allowClear:d,clearIcon:le.createElement(Bb,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},EH=l.createContext(null);function IH(){return l.useContext(EH)}function Tse(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=l.useState(!1),n=se(t,2),r=n[0],a=n[1],o=l.useRef(null),i=function(){window.clearTimeout(o.current)};l.useEffect(function(){return i},[]);var s=function(u,d){i(),o.current=window.setTimeout(function(){a(u),d&&d()},e)};return[r,s,i]}function TH(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=l.useRef(null),n=l.useRef(null);l.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(a){(a||t.current===null)&&(t.current=a),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function Rse(e,t,n,r){var a=l.useRef(null);a.current={open:t,triggerOpen:n,customizedTrigger:r},l.useEffect(function(){function o(i){var s;if(!((s=a.current)!==null&&s!==void 0&&s.customizedTrigger)){var c=i.target;c.shadowRoot&&i.composed&&(c=i.composedPath()[0]||c),a.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(c)&&u!==c})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",o),function(){return window.removeEventListener("mousedown",o)}},[])}function _se(e){return![Me.ESC,Me.SHIFT,Me.BACKSPACE,Me.TAB,Me.WIN_KEY,Me.ALT,Me.META,Me.WIN_KEY_RIGHT,Me.CTRL,Me.SEMICOLON,Me.EQUALS,Me.CAPS_LOCK,Me.CONTEXT_MENU,Me.F1,Me.F2,Me.F3,Me.F4,Me.F5,Me.F6,Me.F7,Me.F8,Me.F9,Me.F10,Me.F11,Me.F12].includes(e)}var $se=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],$c=void 0;function Ose(e,t){var n=e.prefixCls,r=e.invalidate,a=e.item,o=e.renderItem,i=e.responsive,s=e.responsiveDisabled,c=e.registerSize,u=e.itemKey,d=e.className,f=e.style,p=e.children,g=e.display,v=e.order,m=e.component,h=m===void 0?"div":m,y=vt(e,$se),b=i&&!g;function S(R){c(u,R)}l.useEffect(function(){return function(){S(null)}},[]);var w=o&&a!==$c?o(a):p,x;r||(x={opacity:b?0:1,height:b?0:$c,overflowY:b?"hidden":$c,order:i?v:$c,pointerEvents:b?"none":$c,position:b?"absolute":$c});var E={};b&&(E["aria-hidden"]=!0);var I=l.createElement(h,be({className:ne(!r&&n,d),style:K(K({},x),f)},E,y,{ref:t}),w);return i&&(I=l.createElement(zr,{onResize:function(T){var _=T.offsetWidth;S(_)},disabled:s},I)),I}var _f=l.forwardRef(Ose);_f.displayName="Item";function Nse(e){if(typeof MessageChannel>"u")Dt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function kse(){var e=l.useRef(null),t=function(r){e.current||(e.current=[],Nse(function(){Sr.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function Pd(e,t){var n=l.useState(t),r=se(n,2),a=r[0],o=r[1],i=Lt(function(s){e(function(){o(s)})});return[a,i]}var vv=le.createContext(null),Ase=["component"],Mse=["className"],Dse=["className"],Pse=function(t,n){var r=l.useContext(vv);if(!r){var a=t.component,o=a===void 0?"div":a,i=vt(t,Ase);return l.createElement(o,be({},i,{ref:n}))}var s=r.className,c=vt(r,Mse),u=t.className,d=vt(t,Dse);return l.createElement(vv.Provider,{value:null},l.createElement(_f,be({ref:n,className:ne(s,u)},c,d)))},RH=l.forwardRef(Pse);RH.displayName="RawItem";var Lse=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],_H="responsive",$H="invalidate";function Fse(e){return"+ ".concat(e.length," ...")}function jse(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,a=e.data,o=a===void 0?[]:a,i=e.renderItem,s=e.renderRawItem,c=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,f=e.ssr,p=e.style,g=e.className,v=e.maxCount,m=e.renderRest,h=e.renderRawRest,y=e.suffix,b=e.component,S=b===void 0?"div":b,w=e.itemComponent,x=e.onVisibleChange,E=vt(e,Lse),I=f==="full",R=kse(),T=Pd(R,null),_=se(T,2),$=_[0],D=_[1],P=$||0,A=Pd(R,new Map),O=se(A,2),N=O[0],k=O[1],M=Pd(R,0),L=se(M,2),F=L[0],j=L[1],B=Pd(R,0),z=se(B,2),H=z[0],U=z[1],Z=Pd(R,0),q=se(Z,2),Y=q[0],ee=q[1],te=l.useState(null),X=se(te,2),ie=X[0],re=X[1],G=l.useState(null),Q=se(G,2),ae=Q[0],oe=Q[1],de=l.useMemo(function(){return ae===null&&I?Number.MAX_SAFE_INTEGER:ae||0},[ae,$]),ve=l.useState(!1),ye=se(ve,2),ge=ye[0],J=ye[1],ce="".concat(r,"-item"),ue=Math.max(F,H),fe=v===_H,pe=o.length&&fe,xe=v===$H,Te=pe||typeof v=="number"&&o.length>v,Pe=l.useMemo(function(){var Je=o;return pe?$===null&&I?Je=o:Je=o.slice(0,Math.min(o.length,P/d)):typeof v=="number"&&(Je=o.slice(0,v)),Je},[o,d,$,v,pe]),ke=l.useMemo(function(){return pe?o.slice(de+1):o.slice(Pe.length)},[o,Pe,pe,de]),Ue=l.useCallback(function(Je,Xe){var ut;return typeof c=="function"?c(Je):(ut=c&&(Je==null?void 0:Je[c]))!==null&&ut!==void 0?ut:Xe},[c]),Be=l.useCallback(i||function(Je){return Je},[i]);function De(Je,Xe,ut){ae===Je&&(Xe===void 0||Xe===ie)||(oe(Je),ut||(J(JeP){De(pt-1,Je-We-Y+H);break}}y&&he(0)+Y>P&&re(null)}},[P,N,H,Y,Ue,Pe]);var Ee=ge&&!!ke.length,je={};ie!==null&&pe&&(je={position:"absolute",left:ie,top:0});var Ae={prefixCls:ce,responsive:pe,component:w,invalidate:xe},Ne=s?function(Je,Xe){var ut=Ue(Je,Xe);return l.createElement(vv.Provider,{key:ut,value:K(K({},Ae),{},{order:Xe,item:Je,itemKey:ut,registerSize:_e,display:Xe<=de})},s(Je,Xe))}:function(Je,Xe){var ut=Ue(Je,Xe);return l.createElement(_f,be({},Ae,{order:Xe,key:ut,item:Je,renderItem:Be,itemKey:ut,registerSize:_e,display:Xe<=de}))},ze,qe={order:Ee?de:Number.MAX_SAFE_INTEGER,className:"".concat(ce,"-rest"),registerSize:Ce,display:Ee};if(h)h&&(ze=l.createElement(vv.Provider,{value:K(K({},Ae),qe)},h(ke)));else{var Le=m||Fse;ze=l.createElement(_f,be({},Ae,qe),typeof Le=="function"?Le(ke):Le)}var Ke=l.createElement(S,be({className:ne(!xe&&r,g),style:p,ref:t},E),Pe.map(Ne),Te?ze:null,y&&l.createElement(_f,be({},Ae,{responsive:fe,responsiveDisabled:!pe,order:de,className:"".concat(ce,"-suffix"),registerSize:Re,display:!0,style:je}),y));return fe&&(Ke=l.createElement(zr,{onResize:Se,disabled:!pe},Ke)),Ke}var Bo=l.forwardRef(jse);Bo.displayName="Overflow";Bo.Item=RH;Bo.RESPONSIVE=_H;Bo.INVALIDATE=$H;var Bse=function(t,n){var r,a=t.prefixCls,o=t.id,i=t.inputElement,s=t.disabled,c=t.tabIndex,u=t.autoFocus,d=t.autoComplete,f=t.editable,p=t.activeDescendantId,g=t.value,v=t.maxLength,m=t.onKeyDown,h=t.onMouseDown,y=t.onChange,b=t.onPaste,S=t.onCompositionStart,w=t.onCompositionEnd,x=t.open,E=t.attrs,I=i||l.createElement("input",null),R=I,T=R.ref,_=R.props,$=_.onKeyDown,D=_.onChange,P=_.onMouseDown,A=_.onCompositionStart,O=_.onCompositionEnd,N=_.style;return"maxLength"in I.props,I=l.cloneElement(I,K(K(K({type:"search"},_),{},{id:o,ref:Ar(n,T),disabled:s,tabIndex:c,autoComplete:d||"off",autoFocus:u,className:ne("".concat(a,"-selection-search-input"),(r=I)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":x||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":x?p:void 0},E),{},{value:f?g:"",maxLength:v,readOnly:!f,unselectable:f?null:"on",style:K(K({},N),{},{opacity:f?null:0}),onKeyDown:function(M){m(M),$&&$(M)},onMouseDown:function(M){h(M),P&&P(M)},onChange:function(M){y(M),D&&D(M)},onCompositionStart:function(M){S(M),A&&A(M)},onCompositionEnd:function(M){w(M),O&&O(M)},onPaste:b})),I},OH=l.forwardRef(Bse);function NH(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var zse=typeof window<"u"&&window.document&&window.document.documentElement,Hse=zse;function Use(e){return e!=null}function Vse(e){return!e&&e!==0}function R3(e){return["string","number"].includes(ft(e))}function kH(e){var t=void 0;return e&&(R3(e.title)?t=e.title.toString():R3(e.label)&&(t=e.label.toString())),t}function Wse(e,t){Hse?l.useLayoutEffect(e,t):l.useEffect(e,t)}function Gse(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var _3=function(t){t.preventDefault(),t.stopPropagation()},qse=function(t){var n=t.id,r=t.prefixCls,a=t.values,o=t.open,i=t.searchValue,s=t.autoClearSearchValue,c=t.inputRef,u=t.placeholder,d=t.disabled,f=t.mode,p=t.showSearch,g=t.autoFocus,v=t.autoComplete,m=t.activeDescendantId,h=t.tabIndex,y=t.removeIcon,b=t.maxTagCount,S=t.maxTagTextLength,w=t.maxTagPlaceholder,x=w===void 0?function(re){return"+ ".concat(re.length," ...")}:w,E=t.tagRender,I=t.onToggleOpen,R=t.onRemove,T=t.onInputChange,_=t.onInputPaste,$=t.onInputKeyDown,D=t.onInputMouseDown,P=t.onInputCompositionStart,A=t.onInputCompositionEnd,O=l.useRef(null),N=l.useState(0),k=se(N,2),M=k[0],L=k[1],F=l.useState(!1),j=se(F,2),B=j[0],z=j[1],H="".concat(r,"-selection"),U=o||f==="multiple"&&s===!1||f==="tags"?i:"",Z=f==="tags"||f==="multiple"&&s===!1||p&&(o||B);Wse(function(){L(O.current.scrollWidth)},[U]);var q=function(G,Q,ae,oe,de){return l.createElement("span",{title:kH(G),className:ne("".concat(H,"-item"),V({},"".concat(H,"-item-disabled"),ae))},l.createElement("span",{className:"".concat(H,"-item-content")},Q),oe&&l.createElement(Bb,{className:"".concat(H,"-item-remove"),onMouseDown:_3,onClick:de,customizeIcon:y},"×"))},Y=function(G,Q,ae,oe,de,ve){var ye=function(J){_3(J),I(!o)};return l.createElement("span",{onMouseDown:ye},E({label:Q,value:G,disabled:ae,closable:oe,onClose:de,isMaxTag:!!ve}))},ee=function(G){var Q=G.disabled,ae=G.label,oe=G.value,de=!d&&!Q,ve=ae;if(typeof S=="number"&&(typeof ae=="string"||typeof ae=="number")){var ye=String(ve);ye.length>S&&(ve="".concat(ye.slice(0,S),"..."))}var ge=function(ce){ce&&ce.stopPropagation(),R(G)};return typeof E=="function"?Y(oe,ve,Q,de,ge):q(G,ve,Q,de,ge)},te=function(G){var Q=typeof x=="function"?x(G):x;return typeof E=="function"?Y(void 0,Q,!1,!1,void 0,!0):q({title:Q},Q,!1)},X=l.createElement("div",{className:"".concat(H,"-search"),style:{width:M},onFocus:function(){z(!0)},onBlur:function(){z(!1)}},l.createElement(OH,{ref:c,open:o,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:g,autoComplete:v,editable:Z,activeDescendantId:m,value:U,onKeyDown:$,onMouseDown:D,onChange:T,onPaste:_,onCompositionStart:P,onCompositionEnd:A,tabIndex:h,attrs:Nn(t,!0)}),l.createElement("span",{ref:O,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},U," ")),ie=l.createElement(Bo,{prefixCls:"".concat(H,"-overflow"),data:a,renderItem:ee,renderRest:te,suffix:X,itemKey:Gse,maxCount:b});return l.createElement(l.Fragment,null,ie,!a.length&&!U&&l.createElement("span",{className:"".concat(H,"-placeholder")},u))},Kse=function(t){var n=t.inputElement,r=t.prefixCls,a=t.id,o=t.inputRef,i=t.disabled,s=t.autoFocus,c=t.autoComplete,u=t.activeDescendantId,d=t.mode,f=t.open,p=t.values,g=t.placeholder,v=t.tabIndex,m=t.showSearch,h=t.searchValue,y=t.activeValue,b=t.maxLength,S=t.onInputKeyDown,w=t.onInputMouseDown,x=t.onInputChange,E=t.onInputPaste,I=t.onInputCompositionStart,R=t.onInputCompositionEnd,T=t.title,_=l.useState(!1),$=se(_,2),D=$[0],P=$[1],A=d==="combobox",O=A||m,N=p[0],k=h||"";A&&y&&!D&&(k=y),l.useEffect(function(){A&&P(!1)},[A,y]);var M=d!=="combobox"&&!f&&!m?!1:!!k,L=T===void 0?kH(N):T,F=l.useMemo(function(){return N?null:l.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:M?{visibility:"hidden"}:void 0},g)},[N,M,g,r]);return l.createElement(l.Fragment,null,l.createElement("span",{className:"".concat(r,"-selection-search")},l.createElement(OH,{ref:o,prefixCls:r,id:a,open:f,inputElement:n,disabled:i,autoFocus:s,autoComplete:c,editable:O,activeDescendantId:u,value:k,onKeyDown:S,onMouseDown:w,onChange:function(B){P(!0),x(B)},onPaste:E,onCompositionStart:I,onCompositionEnd:R,tabIndex:v,attrs:Nn(t,!0),maxLength:A?b:void 0})),!A&&N?l.createElement("span",{className:"".concat(r,"-selection-item"),title:L,style:M?{visibility:"hidden"}:void 0},N.label):null,F)},Yse=function(t,n){var r=l.useRef(null),a=l.useRef(!1),o=t.prefixCls,i=t.open,s=t.mode,c=t.showSearch,u=t.tokenWithEnter,d=t.disabled,f=t.autoClearSearchValue,p=t.onSearch,g=t.onSearchSubmit,v=t.onToggleOpen,m=t.onInputKeyDown,h=t.domRef;l.useImperativeHandle(n,function(){return{focus:function(M){r.current.focus(M)},blur:function(){r.current.blur()}}});var y=TH(0),b=se(y,2),S=b[0],w=b[1],x=function(M){var L=M.which;(L===Me.UP||L===Me.DOWN)&&M.preventDefault(),m&&m(M),L===Me.ENTER&&s==="tags"&&!a.current&&!i&&(g==null||g(M.target.value)),_se(L)&&v(!0)},E=function(){w(!0)},I=l.useRef(null),R=function(M){p(M,!0,a.current)!==!1&&v(!0)},T=function(){a.current=!0},_=function(M){a.current=!1,s!=="combobox"&&R(M.target.value)},$=function(M){var L=M.target.value;if(u&&I.current&&/[\r\n]/.test(I.current)){var F=I.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");L=L.replace(F,I.current)}I.current=null,R(L)},D=function(M){var L=M.clipboardData,F=L==null?void 0:L.getData("text");I.current=F||""},P=function(M){var L=M.target;if(L!==r.current){var F=document.body.style.msTouchAction!==void 0;F?setTimeout(function(){r.current.focus()}):r.current.focus()}},A=function(M){var L=S();M.target!==r.current&&!L&&!(s==="combobox"&&d)&&M.preventDefault(),(s!=="combobox"&&(!c||!L)||!i)&&(i&&f!==!1&&p("",!0,!1),v())},O={inputRef:r,onInputKeyDown:x,onInputMouseDown:E,onInputChange:$,onInputPaste:D,onInputCompositionStart:T,onInputCompositionEnd:_},N=s==="multiple"||s==="tags"?l.createElement(qse,be({},t,O)):l.createElement(Kse,be({},t,O));return l.createElement("div",{ref:h,className:"".concat(o,"-selector"),onClick:P,onMouseDown:A},N)},Xse=l.forwardRef(Yse);function Zse(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,o=r||{},i=o.className,s=o.content,c=a.x,u=c===void 0?0:c,d=a.y,f=d===void 0?0:d,p=l.useRef();if(!n||!n.points)return null;var g={position:"absolute"};if(n.autoArrow!==!1){var v=n.points[0],m=n.points[1],h=v[0],y=v[1],b=m[0],S=m[1];h===b||!["t","b"].includes(h)?g.top=f:h==="t"?g.top=0:g.bottom=0,y===S||!["l","r"].includes(y)?g.left=u:y==="l"?g.left=0:g.right=0}return l.createElement("div",{ref:p,className:ne("".concat(t,"-arrow"),i),style:g},s)}function Qse(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,o=e.motion;return a?l.createElement(Wr,be({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(i){var s=i.className;return l.createElement("div",{style:{zIndex:r},className:ne("".concat(t,"-mask"),s)})}):null}var Jse=l.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),ele=l.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,o=e.style,i=e.target,s=e.onVisibleChanged,c=e.open,u=e.keepDom,d=e.fresh,f=e.onClick,p=e.mask,g=e.arrow,v=e.arrowPos,m=e.align,h=e.motion,y=e.maskMotion,b=e.forceRender,S=e.getPopupContainer,w=e.autoDestroy,x=e.portal,E=e.zIndex,I=e.onMouseEnter,R=e.onMouseLeave,T=e.onPointerEnter,_=e.ready,$=e.offsetX,D=e.offsetY,P=e.offsetR,A=e.offsetB,O=e.onAlign,N=e.onPrepare,k=e.stretch,M=e.targetWidth,L=e.targetHeight,F=typeof n=="function"?n():n,j=c||u,B=(S==null?void 0:S.length)>0,z=l.useState(!S||!B),H=se(z,2),U=H[0],Z=H[1];if(zt(function(){!U&&B&&i&&Z(!0)},[U,B,i]),!U)return null;var q="auto",Y={left:"-1000vw",top:"-1000vh",right:q,bottom:q};if(_||!c){var ee,te=m.points,X=m.dynamicInset||((ee=m._experimental)===null||ee===void 0?void 0:ee.dynamicInset),ie=X&&te[0][1]==="r",re=X&&te[0][0]==="b";ie?(Y.right=P,Y.left=q):(Y.left=$,Y.right=q),re?(Y.bottom=A,Y.top=q):(Y.top=D,Y.bottom=q)}var G={};return k&&(k.includes("height")&&L?G.height=L:k.includes("minHeight")&&L&&(G.minHeight=L),k.includes("width")&&M?G.width=M:k.includes("minWidth")&&M&&(G.minWidth=M)),c||(G.pointerEvents="none"),l.createElement(x,{open:b||j,getContainer:S&&function(){return S(i)},autoDestroy:w},l.createElement(Qse,{prefixCls:a,open:c,zIndex:E,mask:p,motion:y}),l.createElement(zr,{onResize:O,disabled:!c},function(Q){return l.createElement(Wr,be({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:"".concat(a,"-hidden")},h,{onAppearPrepare:N,onEnterPrepare:N,visible:c,onVisibleChanged:function(oe){var de;h==null||(de=h.onVisibleChanged)===null||de===void 0||de.call(h,oe),s(oe)}}),function(ae,oe){var de=ae.className,ve=ae.style,ye=ne(a,de,r);return l.createElement("div",{ref:Ar(Q,t,oe),className:ye,style:K(K(K(K({"--arrow-x":"".concat(v.x||0,"px"),"--arrow-y":"".concat(v.y||0,"px")},Y),G),ve),{},{boxSizing:"border-box",zIndex:E},o),onMouseEnter:I,onMouseLeave:R,onPointerEnter:T,onClick:f},g&&l.createElement(Zse,{prefixCls:a,arrow:g,arrowPos:v,align:m}),l.createElement(Jse,{cache:!c&&!d},F))})}))}),tle=l.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=Ho(n),o=l.useCallback(function(s){lp(t,r?r(s):s)},[r]),i=Zi(o,n.ref);return a?l.cloneElement(n,{ref:i}):n}),$3=l.createContext(null);function O3(e){return e?Array.isArray(e)?e:[e]:[]}function nle(e,t,n,r){return l.useMemo(function(){var a=O3(n??t),o=O3(r??t),i=new Set(a),s=new Set(o);return e&&(i.has("hover")&&(i.delete("hover"),i.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[i,s]},[e,t,n,r])}function rle(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function ale(e,t,n,r){for(var a=n.points,o=Object.keys(e),i=0;i1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Ld(e){return yp(parseFloat(e),0)}function k3(e,t){var n=K({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=cg(r).getComputedStyle(r),o=a.overflow,i=a.overflowClipMargin,s=a.borderTopWidth,c=a.borderBottomWidth,u=a.borderLeftWidth,d=a.borderRightWidth,f=r.getBoundingClientRect(),p=r.offsetHeight,g=r.clientHeight,v=r.offsetWidth,m=r.clientWidth,h=Ld(s),y=Ld(c),b=Ld(u),S=Ld(d),w=yp(Math.round(f.width/v*1e3)/1e3),x=yp(Math.round(f.height/p*1e3)/1e3),E=(v-m-b-S)*w,I=(p-g-h-y)*x,R=h*x,T=y*x,_=b*w,$=S*w,D=0,P=0;if(o==="clip"){var A=Ld(i);D=A*w,P=A*x}var O=f.x+_-D,N=f.y+R-P,k=O+f.width+2*D-_-$-E,M=N+f.height+2*P-R-T-I;n.left=Math.max(n.left,O),n.top=Math.max(n.top,N),n.right=Math.min(n.right,k),n.bottom=Math.min(n.bottom,M)}}),n}function A3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function M3(e,t){var n=t||[],r=se(n,2),a=r[0],o=r[1];return[A3(e.width,a),A3(e.height,o)]}function D3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function Oc(e,t){var n=t[0],r=t[1],a,o;return n==="t"?o=e.y:n==="b"?o=e.y+e.height:o=e.y+e.height/2,r==="l"?a=e.x:r==="r"?a=e.x+e.width:a=e.x+e.width/2,{x:a,y:o}}function rs(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,a){return a===t?n[r]||"c":r}).join("")}function ole(e,t,n,r,a,o,i){var s=l.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),c=se(s,2),u=c[0],d=c[1],f=l.useRef(0),p=l.useMemo(function(){return t?ST(t):[]},[t]),g=l.useRef({}),v=function(){g.current={}};e||v();var m=Lt(function(){if(t&&n&&e){let nt=function(un,zn){var Mn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ye,Na=F.x+un,ka=F.y+zn,Io=Na+ee,yi=ka+Y,al=Math.max(Na,Mn.left),Q0=Math.max(ka,Mn.top),It=Math.min(Io,Mn.right),Ut=Math.min(yi,Mn.bottom);return Math.max(0,(It-al)*(Ut-Q0))},_t=function(){dt=F.y+Le,it=dt+Y,Qe=F.x+qe,st=Qe+ee};var jt=nt,Mt=_t,b,S,w=t,x=w.ownerDocument,E=cg(w),I=E.getComputedStyle(w),R=I.width,T=I.height,_=I.position,$=w.style.left,D=w.style.top,P=w.style.right,A=w.style.bottom,O=w.style.overflow,N=K(K({},a[r]),o),k=x.createElement("div");(b=w.parentElement)===null||b===void 0||b.appendChild(k),k.style.left="".concat(w.offsetLeft,"px"),k.style.top="".concat(w.offsetTop,"px"),k.style.position=_,k.style.height="".concat(w.offsetHeight,"px"),k.style.width="".concat(w.offsetWidth,"px"),w.style.left="0",w.style.top="0",w.style.right="auto",w.style.bottom="auto",w.style.overflow="hidden";var M;if(Array.isArray(n))M={x:n[0],y:n[1],width:0,height:0};else{var L=n.getBoundingClientRect();M={x:L.x,y:L.y,width:L.width,height:L.height}}var F=w.getBoundingClientRect(),j=x.documentElement,B=j.clientWidth,z=j.clientHeight,H=j.scrollWidth,U=j.scrollHeight,Z=j.scrollTop,q=j.scrollLeft,Y=F.height,ee=F.width,te=M.height,X=M.width,ie={left:0,top:0,right:B,bottom:z},re={left:-q,top:-Z,right:H-q,bottom:U-Z},G=N.htmlRegion,Q="visible",ae="visibleFirst";G!=="scroll"&&G!==ae&&(G=Q);var oe=G===ae,de=k3(re,p),ve=k3(ie,p),ye=G===Q?ve:de,ge=oe?ve:ye;w.style.left="auto",w.style.top="auto",w.style.right="0",w.style.bottom="0";var J=w.getBoundingClientRect();w.style.left=$,w.style.top=D,w.style.right=P,w.style.bottom=A,w.style.overflow=O,(S=w.parentElement)===null||S===void 0||S.removeChild(k);var ce=yp(Math.round(ee/parseFloat(R)*1e3)/1e3),ue=yp(Math.round(Y/parseFloat(T)*1e3)/1e3);if(ce===0||ue===0||sp(n)&&!td(n))return;var fe=N.offset,pe=N.targetOffset,xe=M3(F,fe),Te=se(xe,2),Pe=Te[0],ke=Te[1],Ue=M3(M,pe),Be=se(Ue,2),De=Be[0],Se=Be[1];M.x-=De,M.y-=Se;var _e=N.points||[],Ce=se(_e,2),Re=Ce[0],he=Ce[1],Ee=D3(he),je=D3(Re),Ae=Oc(M,Ee),Ne=Oc(F,je),ze=K({},N),qe=Ae.x-Ne.x+Pe,Le=Ae.y-Ne.y+ke,Ke=nt(qe,Le),Je=nt(qe,Le,ve),Xe=Oc(M,["t","l"]),ut=Oc(F,["t","l"]),pt=Oc(M,["b","r"]),We=Oc(F,["b","r"]),Ze=N.overflow||{},Ye=Ze.adjustX,at=Ze.adjustY,wt=Ze.shiftX,Ct=Ze.shiftY,Ot=function(zn){return typeof zn=="boolean"?zn:zn>=0},dt,it,Qe,st;_t();var St=Ot(at),et=je[0]===Ee[0];if(St&&je[0]==="t"&&(it>ge.bottom||g.current.bt)){var Ie=Le;et?Ie-=Y-te:Ie=Xe.y-We.y-ke;var we=nt(qe,Ie),Oe=nt(qe,Ie,ve);we>Ke||we===Ke&&(!oe||Oe>=Je)?(g.current.bt=!0,Le=Ie,ke=-ke,ze.points=[rs(je,0),rs(Ee,0)]):g.current.bt=!1}if(St&&je[0]==="b"&&(dtKe||Fe===Ke&&(!oe||Ve>=Je)?(g.current.tb=!0,Le=He,ke=-ke,ze.points=[rs(je,0),rs(Ee,0)]):g.current.tb=!1}var tt=Ot(Ye),bt=je[1]===Ee[1];if(tt&&je[1]==="l"&&(st>ge.right||g.current.rl)){var xt=qe;bt?xt-=ee-X:xt=Xe.x-We.x-Pe;var Wt=nt(xt,Le),Yt=nt(xt,Le,ve);Wt>Ke||Wt===Ke&&(!oe||Yt>=Je)?(g.current.rl=!0,qe=xt,Pe=-Pe,ze.points=[rs(je,1),rs(Ee,1)]):g.current.rl=!1}if(tt&&je[1]==="r"&&(QeKe||en===Ke&&(!oe||ht>=Je)?(g.current.lr=!0,qe=Vt,Pe=-Pe,ze.points=[rs(je,1),rs(Ee,1)]):g.current.lr=!1}_t();var yt=wt===!0?0:wt;typeof yt=="number"&&(Qeve.right&&(qe-=st-ve.right-Pe,M.x>ve.right-yt&&(qe+=M.x-ve.right+yt)));var Tt=Ct===!0?0:Ct;typeof Tt=="number"&&(dtve.bottom&&(Le-=it-ve.bottom-ke,M.y>ve.bottom-Tt&&(Le+=M.y-ve.bottom+Tt)));var mn=F.x+qe,Gn=mn+ee,hr=F.y+Le,Ir=hr+Y,oa=M.x,Pr=oa+X,er=M.y,Ht=er+te,Nt=Math.max(mn,oa),Bt=Math.min(Gn,Pr),kt=(Nt+Bt)/2,At=kt-mn,gt=Math.max(hr,er),mt=Math.min(Ir,Ht),nn=(gt+mt)/2,bn=nn-hr;i==null||i(t,ze);var qn=J.right-F.x-(qe+F.width),tr=J.bottom-F.y-(Le+F.height);ce===1&&(qe=Math.round(qe),qn=Math.round(qn)),ue===1&&(Le=Math.round(Le),tr=Math.round(tr));var Lr={ready:!0,offsetX:qe/ce,offsetY:Le/ue,offsetR:qn/ce,offsetB:tr/ue,arrowX:At/ce,arrowY:bn/ue,scaleX:ce,scaleY:ue,align:ze};d(Lr)}}),h=function(){f.current+=1;var S=f.current;Promise.resolve().then(function(){f.current===S&&m()})},y=function(){d(function(S){return K(K({},S),{},{ready:!1})})};return zt(y,[r]),zt(function(){e||y()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,h]}function ile(e,t,n,r,a){zt(function(){if(e&&t&&n){let p=function(){r(),a()};var f=p,o=t,i=n,s=ST(o),c=ST(i),u=cg(i),d=new Set([u].concat($e(s),$e(c)));return d.forEach(function(g){g.addEventListener("scroll",p,{passive:!0})}),u.addEventListener("resize",p,{passive:!0}),r(),function(){d.forEach(function(g){g.removeEventListener("scroll",p),u.removeEventListener("resize",p)})}}},[e,t,n])}function sle(e,t,n,r,a,o,i,s){var c=l.useRef(e);c.current=e,l.useEffect(function(){if(t&&r&&(!a||o)){var u=function(g){var v;c.current&&!i(((v=g.composedPath)===null||v===void 0||(v=v.call(g))===null||v===void 0?void 0:v[0])||g.target)&&s(!1)},d=cg(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var f=gv(n);return f&&(f.addEventListener("mousedown",u,!0),f.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),f&&(f.removeEventListener("mousedown",u,!0),f.removeEventListener("contextmenu",u,!0))}}},[t,n,r,a,o])}var lle=["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"];function cle(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Nb,t=l.forwardRef(function(n,r){var a=n.prefixCls,o=a===void 0?"rc-trigger-popup":a,i=n.children,s=n.action,c=s===void 0?"hover":s,u=n.showAction,d=n.hideAction,f=n.popupVisible,p=n.defaultPopupVisible,g=n.onPopupVisibleChange,v=n.afterPopupVisibleChange,m=n.mouseEnterDelay,h=n.mouseLeaveDelay,y=h===void 0?.1:h,b=n.focusDelay,S=n.blurDelay,w=n.mask,x=n.maskClosable,E=x===void 0?!0:x,I=n.getPopupContainer,R=n.forceRender,T=n.autoDestroy,_=n.destroyPopupOnHide,$=n.popup,D=n.popupClassName,P=n.popupStyle,A=n.popupPlacement,O=n.builtinPlacements,N=O===void 0?{}:O,k=n.popupAlign,M=n.zIndex,L=n.stretch,F=n.getPopupClassNameFromAlign,j=n.fresh,B=n.alignPoint,z=n.onPopupClick,H=n.onPopupAlign,U=n.arrow,Z=n.popupMotion,q=n.maskMotion,Y=n.popupTransitionName,ee=n.popupAnimation,te=n.maskTransitionName,X=n.maskAnimation,ie=n.className,re=n.getTriggerDOMNode,G=vt(n,lle),Q=T||_||!1,ae=l.useState(!1),oe=se(ae,2),de=oe[0],ve=oe[1];zt(function(){ve(jb())},[]);var ye=l.useRef({}),ge=l.useContext($3),J=l.useMemo(function(){return{registerSubPopup:function(Ut,nr){ye.current[Ut]=nr,ge==null||ge.registerSubPopup(Ut,nr)}}},[ge]),ce=W9(),ue=l.useState(null),fe=se(ue,2),pe=fe[0],xe=fe[1],Te=l.useRef(null),Pe=Lt(function(It){Te.current=It,sp(It)&&pe!==It&&xe(It),ge==null||ge.registerSubPopup(ce,It)}),ke=l.useState(null),Ue=se(ke,2),Be=Ue[0],De=Ue[1],Se=l.useRef(null),_e=Lt(function(It){sp(It)&&Be!==It&&(De(It),Se.current=It)}),Ce=l.Children.only(i),Re=(Ce==null?void 0:Ce.props)||{},he={},Ee=Lt(function(It){var Ut,nr,vr=Be;return(vr==null?void 0:vr.contains(It))||((Ut=gv(vr))===null||Ut===void 0?void 0:Ut.host)===It||It===vr||(pe==null?void 0:pe.contains(It))||((nr=gv(pe))===null||nr===void 0?void 0:nr.host)===It||It===pe||Object.values(ye.current).some(function(rr){return(rr==null?void 0:rr.contains(It))||It===rr})}),je=N3(o,Z,ee,Y),Ae=N3(o,q,X,te),Ne=l.useState(p||!1),ze=se(Ne,2),qe=ze[0],Le=ze[1],Ke=f??qe,Je=Lt(function(It){f===void 0&&Le(It)});zt(function(){Le(f||!1)},[f]);var Xe=l.useRef(Ke);Xe.current=Ke;var ut=l.useRef([]);ut.current=[];var pt=Lt(function(It){var Ut;Je(It),((Ut=ut.current[ut.current.length-1])!==null&&Ut!==void 0?Ut:Ke)!==It&&(ut.current.push(It),g==null||g(It))}),We=l.useRef(),Ze=function(){clearTimeout(We.current)},Ye=function(Ut){var nr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Ze(),nr===0?pt(Ut):We.current=setTimeout(function(){pt(Ut)},nr*1e3)};l.useEffect(function(){return Ze},[]);var at=l.useState(!1),wt=se(at,2),Ct=wt[0],Ot=wt[1];zt(function(It){(!It||Ke)&&Ot(!0)},[Ke]);var dt=l.useState(null),it=se(dt,2),Qe=it[0],st=it[1],St=l.useState([0,0]),et=se(St,2),Ie=et[0],we=et[1],Oe=function(Ut){we([Ut.clientX,Ut.clientY])},He=ole(Ke,pe,B?Ie:Be,A,N,k,H),Fe=se(He,11),Ve=Fe[0],tt=Fe[1],bt=Fe[2],xt=Fe[3],Wt=Fe[4],Yt=Fe[5],Vt=Fe[6],en=Fe[7],ht=Fe[8],yt=Fe[9],Tt=Fe[10],mn=nle(de,c,u,d),Gn=se(mn,2),hr=Gn[0],Ir=Gn[1],oa=hr.has("click"),Pr=Ir.has("click")||Ir.has("contextMenu"),er=Lt(function(){Ct||Tt()}),Ht=function(){Xe.current&&B&&Pr&&Ye(!1)};ile(Ke,Be,pe,er,Ht),zt(function(){er()},[Ie,A]),zt(function(){Ke&&!(N!=null&&N[A])&&er()},[JSON.stringify(k)]);var Nt=l.useMemo(function(){var It=ale(N,o,yt,B);return ne(It,F==null?void 0:F(yt))},[yt,F,N,o,B]);l.useImperativeHandle(r,function(){return{nativeElement:Se.current,popupElement:Te.current,forceAlign:er}});var Bt=l.useState(0),kt=se(Bt,2),At=kt[0],gt=kt[1],mt=l.useState(0),nn=se(mt,2),bn=nn[0],qn=nn[1],tr=function(){if(L&&Be){var Ut=Be.getBoundingClientRect();gt(Ut.width),qn(Ut.height)}},Lr=function(){tr(),er()},jt=function(Ut){Ot(!1),Tt(),v==null||v(Ut)},Mt=function(){return new Promise(function(Ut){tr(),st(function(){return Ut})})};zt(function(){Qe&&(Tt(),Qe(),st(null))},[Qe]);function nt(It,Ut,nr,vr){he[It]=function(rr){var Fg;vr==null||vr(rr),Ye(Ut,nr);for(var J0=arguments.length,gN=new Array(J0>1?J0-1:0),jg=1;jg1?nr-1:0),rr=1;rr1?nr-1:0),rr=1;rr1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],o=AH(n,!1),i=o.label,s=o.value,c=o.options,u=o.groupLabel;function d(f,p){Array.isArray(f)&&f.forEach(function(g){if(p||!(c in g)){var v=g[s];a.push({key:P3(g,a.length),groupOption:p,data:g,label:g[i],value:v})}else{var m=g[u];m===void 0&&r&&(m=g.label),a.push({key:P3(g,a.length),group:!0,data:g,label:m}),d(g[c],!0)}})}return d(e,!1),a}function CT(e){var t=K({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return cn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var mle=function(t,n,r){if(!n||!n.length)return null;var a=!1,o=function s(c,u){var d=P7(u),f=d[0],p=d.slice(1);if(!f)return[c];var g=c.split(f);return a=a||g.length>1,g.reduce(function(v,m){return[].concat($e(v),$e(s(m,p)))},[]).filter(Boolean)},i=o(t,n);return a?typeof r<"u"?i.slice(0,r):i:null},e$=l.createContext(null);function hle(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return l.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(a){var o=a.label,i=a.value;return["number","string"].includes(ft(o))?o:i}).join(", ")),n.length>r?", ...":null)}var vle=["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"],ble=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],xT=function(t){return t==="tags"||t==="multiple"},MH=l.forwardRef(function(e,t){var n,r=e.id,a=e.prefixCls,o=e.className,i=e.showSearch,s=e.tagRender,c=e.direction,u=e.omitDomProps,d=e.displayValues,f=e.onDisplayValuesChange,p=e.emptyOptions,g=e.notFoundContent,v=g===void 0?"Not Found":g,m=e.onClear,h=e.mode,y=e.disabled,b=e.loading,S=e.getInputElement,w=e.getRawInputElement,x=e.open,E=e.defaultOpen,I=e.onDropdownVisibleChange,R=e.activeValue,T=e.onActiveValueChange,_=e.activeDescendantId,$=e.searchValue,D=e.autoClearSearchValue,P=e.onSearch,A=e.onSearchSplit,O=e.tokenSeparators,N=e.allowClear,k=e.suffixIcon,M=e.clearIcon,L=e.OptionList,F=e.animation,j=e.transitionName,B=e.dropdownStyle,z=e.dropdownClassName,H=e.dropdownMatchSelectWidth,U=e.dropdownRender,Z=e.dropdownAlign,q=e.placement,Y=e.builtinPlacements,ee=e.getPopupContainer,te=e.showAction,X=te===void 0?[]:te,ie=e.onFocus,re=e.onBlur,G=e.onKeyUp,Q=e.onKeyDown,ae=e.onMouseDown,oe=vt(e,vle),de=xT(h),ve=(i!==void 0?i:de)||h==="combobox",ye=K({},oe);ble.forEach(function(Ht){delete ye[Ht]}),u==null||u.forEach(function(Ht){delete ye[Ht]});var ge=l.useState(!1),J=se(ge,2),ce=J[0],ue=J[1];l.useEffect(function(){ue(jb())},[]);var fe=l.useRef(null),pe=l.useRef(null),xe=l.useRef(null),Te=l.useRef(null),Pe=l.useRef(null),ke=l.useRef(!1),Ue=Tse(),Be=se(Ue,3),De=Be[0],Se=Be[1],_e=Be[2];l.useImperativeHandle(t,function(){var Ht,Nt;return{focus:(Ht=Te.current)===null||Ht===void 0?void 0:Ht.focus,blur:(Nt=Te.current)===null||Nt===void 0?void 0:Nt.blur,scrollTo:function(kt){var At;return(At=Pe.current)===null||At===void 0?void 0:At.scrollTo(kt)},nativeElement:fe.current||pe.current}});var Ce=l.useMemo(function(){var Ht;if(h!=="combobox")return $;var Nt=(Ht=d[0])===null||Ht===void 0?void 0:Ht.value;return typeof Nt=="string"||typeof Nt=="number"?String(Nt):""},[$,h,d]),Re=h==="combobox"&&typeof S=="function"&&S()||null,he=typeof w=="function"&&w(),Ee=Zi(pe,he==null||(n=he.props)===null||n===void 0?void 0:n.ref),je=l.useState(!1),Ae=se(je,2),Ne=Ae[0],ze=Ae[1];zt(function(){ze(!0)},[]);var qe=Qt(!1,{defaultValue:E,value:x}),Le=se(qe,2),Ke=Le[0],Je=Le[1],Xe=Ne?Ke:!1,ut=!v&&p;(y||ut&&Xe&&h==="combobox")&&(Xe=!1);var pt=ut?!1:Xe,We=l.useCallback(function(Ht){var Nt=Ht!==void 0?Ht:!Xe;y||(Je(Nt),Xe!==Nt&&(I==null||I(Nt)))},[y,Xe,Je,I]),Ze=l.useMemo(function(){return(O||[]).some(function(Ht){return[` `,`\r -`].includes(Ht)})},[O]),Ye=l.useContext(e$)||{},at=Ye.maxCount,wt=Ye.rawValues,Ct=function(Nt,Bt,kt){if(!(de&&wT(at)&&(wt==null?void 0:wt.size)>=at)){var At=!0,gt=Nt;T==null||T(null);var mt=mle(Nt,O,wT(at)?at-wt.size:void 0),nn=kt?null:mt;return h!=="combobox"&&nn&&(gt="",A==null||A(nn),We(!1),At=!1),P&&Ce!==gt&&P(gt,{source:Bt?"typing":"effect"}),At}},Ot=function(Nt){!Nt||!Nt.trim()||P(Nt,{source:"submit"})};l.useEffect(function(){!Xe&&!de&&h!=="combobox"&&Ct("",!1,!1)},[Xe]),l.useEffect(function(){Ke&&y&&Je(!1),y&&!ke.current&&Se(!1)},[y]);var dt=TH(),it=se(dt,2),Qe=it[0],st=it[1],St=l.useRef(!1),et=function(Nt){var Bt=Qe(),kt=Nt.key,At=kt==="Enter";if(At&&(h!=="combobox"&&Nt.preventDefault(),Xe||We(!0)),st(!!Ce),kt==="Backspace"&&!Bt&&de&&!Ce&&d.length){for(var gt=$e(d),mt=null,nn=gt.length-1;nn>=0;nn-=1){var bn=gt[nn];if(!bn.disabled){gt.splice(nn,1),mt=bn;break}}mt&&f(gt,{type:"remove",values:[mt]})}for(var qn=arguments.length,tr=new Array(qn>1?qn-1:0),Lr=1;Lr1?Bt-1:0),At=1;At1?mt-1:0),bn=1;bn"u"?"undefined":ft(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const PH=function(e,t,n,r){var a=l.useRef(!1),o=l.useRef(null);function i(){clearTimeout(o.current),a.current=!0,o.current=setTimeout(function(){a.current=!1},50)}var s=l.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(c,u){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=c?u<0&&s.current.left||u>0&&s.current.right:u<0&&s.current.top||u>0&&s.current.bottom;return d&&f?(clearTimeout(o.current),a.current=!1):(!f||a.current)&&i(),!a.current&&f}};function xle(e,t,n,r,a,o,i){var s=l.useRef(0),c=l.useRef(null),u=l.useRef(null),d=l.useRef(!1),f=PH(t,n,r,a);function p(v,S){Dt.cancel(c.current),s.current+=S,u.current=S,!f(!1,S)&&(L3||v.preventDefault(),c.current=Dt(function(){var w=d.current?10:1;i(s.current*w),s.current=0}))}function g(v,S){i(S,!0),L3||v.preventDefault()}var b=l.useRef(null),m=l.useRef(null);function h(v){if(e){Dt.cancel(m.current),m.current=Dt(function(){b.current=null},2);var S=v.deltaX,w=v.deltaY,x=v.shiftKey,E=S,I=w;(b.current==="sx"||!b.current&&x&&w&&!S)&&(E=w,I=0,b.current="sx");var R=Math.abs(E),T=Math.abs(I);b.current===null&&(b.current=o&&R>T?"x":"y"),b.current==="y"?p(v,I):g(v,E)}}function y(v){e&&(d.current=v.detail===u.current)}return[h,y]}function Ele(e,t,n,r){var a=l.useMemo(function(){return[new Map,[]]},[e,n.id,r]),o=se(a,2),i=o[0],s=o[1],c=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,p=i.get(d),g=i.get(f);if(p===void 0||g===void 0)for(var b=e.length,m=s.length;m0&&arguments[0]!==void 0?arguments[0]:!1;d();var b=function(){s.current.forEach(function(h,y){if(h&&h.offsetParent){var v=xf(h),S=v.offsetHeight;c.current.get(y)!==S&&c.current.set(y,v.offsetHeight)}}),i(function(h){return h+1})};g?b():u.current=Dt(b)}function p(g,b){var m=e(g);s.current.get(m),b?(s.current.set(m,b),f()):s.current.delete(m)}return l.useEffect(function(){return d},[]),[p,f,c.current,o]}var F3=14/15;function Rle(e,t,n){var r=l.useRef(!1),a=l.useRef(0),o=l.useRef(0),i=l.useRef(null),s=l.useRef(null),c,u=function(g){if(r.current){var b=Math.ceil(g.touches[0].pageX),m=Math.ceil(g.touches[0].pageY),h=a.current-b,y=o.current-m,v=Math.abs(h)>Math.abs(y);v?a.current=b:o.current=m,n(v,v?h:y)&&g.preventDefault(),clearInterval(s.current),s.current=setInterval(function(){v?h*=F3:y*=F3;var S=Math.floor(v?h:y);(!n(v,S,!0)||Math.abs(S)<=.1)&&clearInterval(s.current)},16)}},d=function(){r.current=!1,c()},f=function(g){c(),g.touches.length===1&&!r.current&&(r.current=!0,a.current=Math.ceil(g.touches[0].pageX),o.current=Math.ceil(g.touches[0].pageY),i.current=g.target,i.current.addEventListener("touchmove",u,{passive:!1}),i.current.addEventListener("touchend",d,{passive:!0}))};c=function(){i.current&&(i.current.removeEventListener("touchmove",u),i.current.removeEventListener("touchend",d))},zt(function(){return e&&t.current.addEventListener("touchstart",f,{passive:!0}),function(){var p;(p=t.current)===null||p===void 0||p.removeEventListener("touchstart",f),c(),clearInterval(s.current)}},[e])}var _le=10;function $le(e,t,n,r,a,o,i,s){var c=l.useRef(),u=l.useState(null),d=se(u,2),f=d[0],p=d[1];return zt(function(){if(f&&f.times<_le){if(!e.current){p(function(L){return K({},L)});return}o();var g=f.targetAlign,b=f.originAlign,m=f.index,h=f.offset,y=e.current.clientHeight,v=!1,S=g,w=null;if(y){for(var x=g||b,E=0,I=0,R=0,T=Math.min(t.length-1,m),_=0;_<=T;_+=1){var $=a(t[_]);I=E;var D=n.get($);R=I+(D===void 0?r:D),E=R}for(var P=x==="top"?h:y-h,A=T;A>=0;A-=1){var O=a(t[A]),N=n.get(O);if(N===void 0){v=!0;break}if(P-=N,P<=0)break}switch(x){case"top":w=I-h;break;case"bottom":w=R-y+h;break;default:{var k=e.current.scrollTop,M=k+y;IM&&(S="bottom")}}w!==null&&i(w),w!==f.lastTop&&(v=!0)}v&&p(K(K({},f),{},{times:f.times+1,targetAlign:S,lastTop:w}))}},[f,e.current]),function(g){if(g==null){s();return}if(Dt.cancel(c.current),typeof g=="number")i(g);else if(g&&ft(g)==="object"){var b,m=g.align;"index"in g?b=g.index:b=t.findIndex(function(v){return a(v)===g.key});var h=g.offset,y=h===void 0?0:h;p({times:0,index:b,offset:y,originAlign:m})}}}function j3(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var B3=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,a=e.scrollOffset,o=e.scrollRange,i=e.onStartMove,s=e.onStopMove,c=e.onScroll,u=e.horizontal,d=e.spinSize,f=e.containerSize,p=e.style,g=e.thumbStyle,b=l.useState(!1),m=se(b,2),h=m[0],y=m[1],v=l.useState(null),S=se(v,2),w=S[0],x=S[1],E=l.useState(null),I=se(E,2),R=I[0],T=I[1],_=!r,$=l.useRef(),D=l.useRef(),P=l.useState(!1),A=se(P,2),O=A[0],N=A[1],k=l.useRef(),M=function(){clearTimeout(k.current),N(!0),k.current=setTimeout(function(){N(!1)},3e3)},L=o-f||0,F=f-d||0,j=l.useMemo(function(){if(a===0||L===0)return 0;var ee=a/L;return ee*F},[a,L,F]),B=function(X){X.stopPropagation(),X.preventDefault()},z=l.useRef({top:j,dragging:h,pageY:w,startTop:R});z.current={top:j,dragging:h,pageY:w,startTop:R};var H=function(X){y(!0),x(j3(X,u)),T(z.current.top),i(),X.stopPropagation(),X.preventDefault()};l.useEffect(function(){var ee=function(G){G.preventDefault()},X=$.current,ie=D.current;return X.addEventListener("touchstart",ee,{passive:!1}),ie.addEventListener("touchstart",H,{passive:!1}),function(){X.removeEventListener("touchstart",ee),ie.removeEventListener("touchstart",H)}},[]);var U=l.useRef();U.current=L;var Z=l.useRef();Z.current=F,l.useEffect(function(){if(h){var ee,X=function(G){var Q=z.current,ae=Q.dragging,oe=Q.pageY,de=Q.startTop;Dt.cancel(ee);var ve=$.current.getBoundingClientRect(),ye=f/(u?ve.width:ve.height);if(ae){var ge=(j3(G,u)-oe)*ye,J=de;!_&&u?J-=ge:J+=ge;var ce=U.current,ue=Z.current,fe=ue?J/ue:0,pe=Math.ceil(fe*ce);pe=Math.max(pe,0),pe=Math.min(pe,ce),ee=Dt(function(){c(pe,u)})}},ie=function(){y(!1),s()};return window.addEventListener("mousemove",X,{passive:!0}),window.addEventListener("touchmove",X,{passive:!0}),window.addEventListener("mouseup",ie,{passive:!0}),window.addEventListener("touchend",ie,{passive:!0}),function(){window.removeEventListener("mousemove",X),window.removeEventListener("touchmove",X),window.removeEventListener("mouseup",ie),window.removeEventListener("touchend",ie),Dt.cancel(ee)}}},[h]),l.useEffect(function(){return M(),function(){clearTimeout(k.current)}},[a]),l.useImperativeHandle(t,function(){return{delayHidden:M}});var q="".concat(n,"-scrollbar"),Y={position:"absolute",visibility:O?null:"hidden"},te={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(Y.height=8,Y.left=0,Y.right=0,Y.bottom=0,te.height="100%",te.width=d,_?te.left=j:te.right=j):(Y.width=8,Y.top=0,Y.bottom=0,_?Y.right=0:Y.left=0,te.width="100%",te.height=d,te.top=j),l.createElement("div",{ref:$,className:ne(q,V(V(V({},"".concat(q,"-horizontal"),u),"".concat(q,"-vertical"),!u),"".concat(q,"-visible"),O)),style:K(K({},Y),p),onMouseDown:B,onMouseMove:M},l.createElement("div",{ref:D,className:ne("".concat(q,"-thumb"),V({},"".concat(q,"-thumb-moving"),h)),style:K(K({},te),g),onMouseDown:H}))}),Ole=20;function z3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,Ole),Math.floor(n)}var Nle=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],kle=[],Ale={overflowY:"auto",overflowAnchor:"none"};function Mle(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,a=e.className,o=e.height,i=e.itemHeight,s=e.fullHeight,c=s===void 0?!0:s,u=e.style,d=e.data,f=e.children,p=e.itemKey,g=e.virtual,b=e.direction,m=e.scrollWidth,h=e.component,y=h===void 0?"div":h,v=e.onScroll,S=e.onVirtualScroll,w=e.onVisibleChange,x=e.innerProps,E=e.extraRender,I=e.styles,R=vt(e,Nle),T=l.useCallback(function(Oe){return typeof p=="function"?p(Oe):Oe==null?void 0:Oe[p]},[p]),_=Tle(T),$=se(_,4),D=$[0],P=$[1],A=$[2],O=$[3],N=!!(g!==!1&&o&&i),k=l.useMemo(function(){return Object.values(A.maps).reduce(function(Oe,He){return Oe+He},0)},[A.id,A.maps]),M=N&&d&&(Math.max(i*d.length,k)>o||!!m),L=b==="rtl",F=ne(r,V({},"".concat(r,"-rtl"),L),a),j=d||kle,B=l.useRef(),z=l.useRef(),H=l.useRef(),U=l.useState(0),Z=se(U,2),q=Z[0],Y=Z[1],te=l.useState(0),ee=se(te,2),X=ee[0],ie=ee[1],re=l.useState(!1),G=se(re,2),Q=G[0],ae=G[1],oe=function(){ae(!0)},de=function(){ae(!1)},ve={getKey:T};function ye(Oe){Y(function(He){var Fe;typeof Oe=="function"?Fe=Oe(He):Fe=Oe;var Ve=Ne(Fe);return B.current.scrollTop=Ve,Ve})}var ge=l.useRef({start:0,end:j.length}),J=l.useRef(),ce=Cle(j,T),ue=se(ce,1),fe=ue[0];J.current=fe;var pe=l.useMemo(function(){if(!N)return{scrollHeight:void 0,start:0,end:j.length-1,offset:void 0};if(!M){var Oe;return{scrollHeight:((Oe=z.current)===null||Oe===void 0?void 0:Oe.offsetHeight)||0,start:0,end:j.length-1,offset:void 0}}for(var He=0,Fe,Ve,tt,bt=j.length,xt=0;xt=q&&Fe===void 0&&(Fe=xt,Ve=He),en>q+o&&tt===void 0&&(tt=xt),He=en}return Fe===void 0&&(Fe=0,Ve=0,tt=Math.ceil(o/i)),tt===void 0&&(tt=j.length-1),tt=Math.min(tt+1,j.length-1),{scrollHeight:He,start:Fe,end:tt,offset:Ve}},[M,N,q,j,O,o]),xe=pe.scrollHeight,Te=pe.start,Pe=pe.end,ke=pe.offset;ge.current.start=Te,ge.current.end=Pe;var Ue=l.useState({width:0,height:o}),Be=se(Ue,2),De=Be[0],Se=Be[1],_e=function(He){Se({width:He.offsetWidth,height:He.offsetHeight})},Ce=l.useRef(),Re=l.useRef(),he=l.useMemo(function(){return z3(De.width,m)},[De.width,m]),Ee=l.useMemo(function(){return z3(De.height,xe)},[De.height,xe]),je=xe-o,Ae=l.useRef(je);Ae.current=je;function Ne(Oe){var He=Oe;return Number.isNaN(Ae.current)||(He=Math.min(He,Ae.current)),He=Math.max(He,0),He}var ze=q<=0,qe=q>=je,Le=X<=0,Ke=X>=m,Je=PH(ze,qe,Le,Ke),Xe=function(){return{x:L?-X:X,y:q}},ut=l.useRef(Xe()),pt=Lt(function(Oe){if(S){var He=K(K({},Xe()),Oe);(ut.current.x!==He.x||ut.current.y!==He.y)&&(S(He),ut.current=He)}});function We(Oe,He){var Fe=Oe;He?(Sr.flushSync(function(){ie(Fe)}),pt()):ye(Fe)}function Ze(Oe){var He=Oe.currentTarget.scrollTop;He!==q&&ye(He),v==null||v(Oe),pt()}var Ye=function(He){var Fe=He,Ve=m?m-De.width:0;return Fe=Math.max(Fe,0),Fe=Math.min(Fe,Ve),Fe},at=Lt(function(Oe,He){He?(Sr.flushSync(function(){ie(function(Fe){var Ve=Fe+(L?-Oe:Oe);return Ye(Ve)})}),pt()):ye(function(Fe){var Ve=Fe+Oe;return Ve})}),wt=xle(N,ze,qe,Le,Ke,!!m,at),Ct=se(wt,2),Ot=Ct[0],dt=Ct[1];Rle(N,B,function(Oe,He,Fe){return Je(Oe,He,Fe)?!1:(Ot({preventDefault:function(){},deltaX:Oe?He:0,deltaY:Oe?0:He}),!0)}),zt(function(){function Oe(Fe){N&&Fe.preventDefault()}var He=B.current;return He.addEventListener("wheel",Ot,{passive:!1}),He.addEventListener("DOMMouseScroll",dt,{passive:!0}),He.addEventListener("MozMousePixelScroll",Oe,{passive:!1}),function(){He.removeEventListener("wheel",Ot),He.removeEventListener("DOMMouseScroll",dt),He.removeEventListener("MozMousePixelScroll",Oe)}},[N]),zt(function(){if(m){var Oe=Ye(X);ie(Oe),pt({x:Oe})}},[De.width,m]);var it=function(){var He,Fe;(He=Ce.current)===null||He===void 0||He.delayHidden(),(Fe=Re.current)===null||Fe===void 0||Fe.delayHidden()},Qe=$le(B,j,A,i,T,function(){return P(!0)},ye,it);l.useImperativeHandle(t,function(){return{nativeElement:H.current,getScrollInfo:Xe,scrollTo:function(He){function Fe(Ve){return Ve&&ft(Ve)==="object"&&("left"in Ve||"top"in Ve)}Fe(He)?(He.left!==void 0&&ie(Ye(He.left)),Qe(He.top)):Qe(He)}}}),zt(function(){if(w){var Oe=j.slice(Te,Pe+1);w(Oe,j)}},[Te,Pe,j]);var st=Ele(j,T,A,i),St=E==null?void 0:E({start:Te,end:Pe,virtual:M,offsetX:X,offsetY:ke,rtl:L,getSize:st}),et=Sle(j,Te,Pe,m,X,D,f,ve),Ie=null;o&&(Ie=K(V({},c?"height":"maxHeight",o),Ale),N&&(Ie.overflowY="hidden",m&&(Ie.overflowX="hidden"),Q&&(Ie.pointerEvents="none")));var we={};return L&&(we.dir="rtl"),l.createElement("div",be({ref:H,style:K(K({},u),{},{position:"relative"}),className:F},we,R),l.createElement(zr,{onResize:_e},l.createElement(y,{className:"".concat(r,"-holder"),style:Ie,ref:B,onScroll:Ze,onMouseEnter:it},l.createElement(DH,{prefixCls:r,height:xe,offsetX:X,offsetY:ke,scrollWidth:m,onInnerResize:P,ref:z,innerProps:x,rtl:L,extra:St},et))),M&&xe>o&&l.createElement(B3,{ref:Ce,prefixCls:r,scrollOffset:q,scrollRange:xe,rtl:L,onScroll:We,onStartMove:oe,onStopMove:de,spinSize:Ee,containerSize:De.height,style:I==null?void 0:I.verticalScrollBar,thumbStyle:I==null?void 0:I.verticalScrollBarThumb}),M&&m>De.width&&l.createElement(B3,{ref:Re,prefixCls:r,scrollOffset:X,scrollRange:m,rtl:L,onScroll:We,onStartMove:oe,onStopMove:de,spinSize:he,containerSize:De.width,horizontal:!0,style:I==null?void 0:I.horizontalScrollBar,thumbStyle:I==null?void 0:I.horizontalScrollBarThumb}))}var zb=l.forwardRef(Mle);zb.displayName="List";function Dle(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Ple=["disabled","title","children","style","className"];function H3(e){return typeof e=="string"||typeof e=="number"}var Lle=function(t,n){var r=IH(),a=r.prefixCls,o=r.id,i=r.open,s=r.multiple,c=r.mode,u=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,p=r.onPopupScroll,g=l.useContext(e$),b=g.maxCount,m=g.flattenOptions,h=g.onActiveValue,y=g.defaultActiveFirstOption,v=g.onSelect,S=g.menuItemSelectedIcon,w=g.rawValues,x=g.fieldNames,E=g.virtual,I=g.direction,R=g.listHeight,T=g.listItemHeight,_=g.optionRender,$="".concat(a,"-item"),D=Ys(function(){return m},[i,m],function(ee,X){return X[0]&&ee[1]!==X[1]}),P=l.useRef(null),A=l.useMemo(function(){return s&&wT(b)&&(w==null?void 0:w.size)>=b},[s,b,w==null?void 0:w.size]),O=function(X){X.preventDefault()},N=function(X){var ie;(ie=P.current)===null||ie===void 0||ie.scrollTo(typeof X=="number"?{index:X}:X)},k=function(X){for(var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,re=D.length,G=0;G1&&arguments[1]!==void 0?arguments[1]:!1;j(X);var re={source:ie?"keyboard":"mouse"},G=D[X];if(!G){h(null,-1,re);return}h(G.value,X,re)};l.useEffect(function(){B(y!==!1?k(0):-1)},[D.length,u]);var z=l.useCallback(function(ee){return w.has(ee)&&c!=="combobox"},[c,$e(w).toString(),w.size]);l.useEffect(function(){var ee=setTimeout(function(){if(!s&&i&&w.size===1){var ie=Array.from(w)[0],re=D.findIndex(function(G){var Q=G.data;return Q.value===ie});re!==-1&&(B(re),N(re))}});if(i){var X;(X=P.current)===null||X===void 0||X.scrollTo(void 0)}return function(){return clearTimeout(ee)}},[i,u]);var H=function(X){X!==void 0&&v(X,{selected:!w.has(X)}),s||d(!1)};if(l.useImperativeHandle(n,function(){return{onKeyDown:function(X){var ie=X.which,re=X.ctrlKey;switch(ie){case Me.N:case Me.P:case Me.UP:case Me.DOWN:{var G=0;if(ie===Me.UP?G=-1:ie===Me.DOWN?G=1:Dle()&&re&&(ie===Me.N?G=1:ie===Me.P&&(G=-1)),G!==0){var Q=k(F+G,G);N(Q),B(Q,!0)}break}case Me.ENTER:{var ae,oe=D[F];oe&&!(oe!=null&&(ae=oe.data)!==null&&ae!==void 0&&ae.disabled)&&!A?H(oe.value):H(void 0),i&&X.preventDefault();break}case Me.ESC:d(!1),i&&X.stopPropagation()}},onKeyUp:function(){},scrollTo:function(X){N(X)}}}),D.length===0)return l.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat($,"-empty"),onMouseDown:O},f);var U=Object.keys(x).map(function(ee){return x[ee]}),Z=function(X){return X.label};function q(ee,X){var ie=ee.group;return{role:ie?"presentation":"option",id:"".concat(o,"_list_").concat(X)}}var Y=function(X){var ie=D[X];if(!ie)return null;var re=ie.data||{},G=re.value,Q=ie.group,ae=Nn(re,!0),oe=Z(ie);return ie?l.createElement("div",be({"aria-label":typeof oe=="string"&&!Q?oe:null},ae,{key:X},q(ie,X),{"aria-selected":z(G)}),G):null},te={role:"listbox",id:"".concat(o,"_list")};return l.createElement(l.Fragment,null,E&&l.createElement("div",be({},te,{style:{height:0,width:0,overflow:"hidden"}}),Y(F-1),Y(F),Y(F+1)),l.createElement(zb,{itemKey:"key",ref:P,data:D,height:R,itemHeight:T,fullHeight:!1,onMouseDown:O,onScroll:p,virtual:E,direction:I,innerProps:E?null:te},function(ee,X){var ie=ee.group,re=ee.groupOption,G=ee.data,Q=ee.label,ae=ee.value,oe=G.key;if(ie){var de,ve=(de=G.title)!==null&&de!==void 0?de:H3(Q)?Q.toString():void 0;return l.createElement("div",{className:ne($,"".concat($,"-group"),G.className),title:ve},Q!==void 0?Q:oe)}var ye=G.disabled,ge=G.title;G.children;var J=G.style,ce=G.className,ue=vt(G,Ple),fe=gn(ue,U),pe=z(ae),xe=ye||!pe&&A,Te="".concat($,"-option"),Pe=ne($,Te,ce,V(V(V(V({},"".concat(Te,"-grouped"),re),"".concat(Te,"-active"),F===X&&!xe),"".concat(Te,"-disabled"),xe),"".concat(Te,"-selected"),pe)),ke=Z(ee),Ue=!S||typeof S=="function"||pe,Be=typeof ke=="number"?ke:ke||ae,De=H3(Be)?Be.toString():void 0;return ge!==void 0&&(De=ge),l.createElement("div",be({},Nn(fe),E?{}:q(ee,X),{"aria-selected":pe,className:Pe,title:De,onMouseMove:function(){F===X||xe||B(X)},onClick:function(){xe||H(ae)},style:J}),l.createElement("div",{className:"".concat(Te,"-content")},typeof _=="function"?_(ee,{index:X}):Be),l.isValidElement(S)||pe,Ue&&l.createElement(Bb,{className:"".concat($,"-option-state"),customizeIcon:S,customizeIconProps:{value:ae,disabled:xe,isSelected:pe}},pe?"✓":null))}))},Fle=l.forwardRef(Lle);const jle=function(e,t){var n=l.useRef({values:new Map,options:new Map}),r=l.useMemo(function(){var o=n.current,i=o.values,s=o.options,c=e.map(function(f){if(f.label===void 0){var p;return K(K({},f),{},{label:(p=i.get(f.value))===null||p===void 0?void 0:p.label})}return f}),u=new Map,d=new Map;return c.forEach(function(f){u.set(f.value,f),d.set(f.value,t.get(f.value)||s.get(f.value))}),n.current.values=u,n.current.options=d,c},[e,t]),a=l.useCallback(function(o){return t.get(o)||n.current.options.get(o)},[t]);return[r,a]};function rS(e,t){return NH(e).join("").toUpperCase().includes(t)}const Ble=function(e,t,n,r,a){return l.useMemo(function(){if(!n||r===!1)return e;var o=t.options,i=t.label,s=t.value,c=[],u=typeof r=="function",d=n.toUpperCase(),f=u?r:function(g,b){return a?rS(b[a],d):b[o]?rS(b[i!=="children"?i:"label"],d):rS(b[s],d)},p=u?function(g){return CT(g)}:function(g){return g};return e.forEach(function(g){if(g[o]){var b=f(n,p(g));if(b)c.push(g);else{var m=g[o].filter(function(h){return f(n,p(h))});m.length&&c.push(K(K({},g),{},V({},o,m)))}return}f(n,p(g))&&c.push(g)}),c},[e,r,a,n,t])};var U3=0,zle=kr();function Hle(){var e;return zle?(e=U3,U3+=1):e="TEST_OR_SSR",e}function LH(e){var t=l.useState(),n=se(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_select_".concat(Hle()))},[]),e||r}var Ule=["children","value"],Vle=["children"];function Wle(e){var t=e,n=t.key,r=t.props,a=r.children,o=r.value,i=vt(r,Ule);return K({key:n,value:o!==void 0?o:n,children:a},i)}function FH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return or(e).map(function(n,r){if(!l.isValidElement(n)||!n.type)return null;var a=n,o=a.type.isSelectOptGroup,i=a.key,s=a.props,c=s.children,u=vt(s,Vle);return t||!o?Wle(n):K(K({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},u),{},{options:FH(c)})}).filter(function(n){return n})}var Gle=function(t,n,r,a,o){return l.useMemo(function(){var i=t,s=!t;s&&(i=FH(n));var c=new Map,u=new Map,d=function(g,b,m){m&&typeof m=="string"&&g.set(b[m],b)},f=function p(g){for(var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m=0;m2&&arguments[2]!==void 0?arguments[2]:{},at=Ye.source,wt=at===void 0?"keyboard":at;Ne(Ze),i&&r==="combobox"&&We!==null&&wt==="keyboard"&&he(String(We))},[i,r]),Le=function(Ze,Ye,at){var wt=function(){var we,Oe=fe(Ze);return[L?{label:Oe==null?void 0:Oe[q.label],value:Ze,key:(we=Oe==null?void 0:Oe.key)!==null&&we!==void 0?we:Ze}:Ze,CT(Oe)]};if(Ye&&g){var Ct=wt(),Ot=se(Ct,2),dt=Ot[0],it=Ot[1];g(dt,it)}else if(!Ye&&b&&at!=="clear"){var Qe=wt(),st=se(Qe,2),St=st[0],et=st[1];b(St,et)}},Ke=V3(function(We,Ze){var Ye,at=H?Ze.selected:!0;at?Ye=H?[].concat($e(ue),[We]):[We]:Ye=ue.filter(function(wt){return wt.value!==We}),Se(Ye),Le(We,at),r==="combobox"?he(""):(!xT||p)&&(X(""),he(""))}),Je=function(Ze,Ye){Se(Ze);var at=Ye.type,wt=Ye.values;(at==="remove"||at==="clear")&&wt.forEach(function(Ct){Le(Ct.value,!1,at)})},Xe=function(Ze,Ye){if(X(Ze),he(null),Ye.source==="submit"){var at=(Ze||"").trim();if(at){var wt=Array.from(new Set([].concat($e(xe),[at])));Se(wt),Le(at,!0),X("")}return}Ye.source!=="blur"&&(r==="combobox"&&Se(Ze),d==null||d(Ze))},ut=function(Ze){var Ye=Ze;r!=="tags"&&(Ye=Ze.map(function(wt){var Ct=G.get(wt);return Ct==null?void 0:Ct.value}).filter(function(wt){return wt!==void 0}));var at=Array.from(new Set([].concat($e(xe),$e(Ye))));Se(at),at.forEach(function(wt){Le(wt,!0)})},pt=l.useMemo(function(){var We=_!==!1&&h!==!1;return K(K({},ie),{},{flattenOptions:De,onActiveValue:qe,defaultActiveFirstOption:ze,onSelect:Ke,menuItemSelectedIcon:T,rawValues:xe,fieldNames:q,virtual:We,direction:$,listHeight:P,listItemHeight:O,childrenAsData:U,maxCount:j,optionRender:E})},[j,ie,De,qe,ze,Ke,T,xe,q,_,h,$,P,O,U,E]);return l.createElement(e$.Provider,{value:pt},l.createElement(MH,be({},B,{id:z,prefixCls:o,ref:t,omitDomProps:Kle,mode:r,displayValues:pe,onDisplayValuesChange:Je,direction:$,searchValue:ee,onSearch:Xe,autoClearSearchValue:p,onSearchSplit:ut,dropdownMatchSelectWidth:h,OptionList:Fle,emptyOptions:!De.length,activeValue:Re,activeDescendantId:"".concat(z,"_list_").concat(Ae)})))}),r$=Xle;r$.Option=n$;r$.OptGroup=t$;function Ki(e,t,n){return ne({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Js=(e,t)=>t||e,Zle=()=>{const[,e]=Mr(),n=new on(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return l.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,"empty image"),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),l.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),l.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),l.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),l.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),l.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Qle=()=>{const[,e]=Mr(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:a}=e,{borderColor:o,shadowColor:i,contentColor:s}=l.useMemo(()=>({borderColor:new on(t).onBackground(a).toHexShortString(),shadowColor:new on(n).onBackground(a).toHexShortString(),contentColor:new on(r).onBackground(a).toHexShortString()}),[t,n,r,a]);return l.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,"Simple Empty"),l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{fill:i,cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{fillRule:"nonzero",stroke:o},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},Jle=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:o,lineHeight:i}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:a,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},ece=Kt("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=Pt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[Jle(a)]});var tce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{className:t,rootClassName:n,prefixCls:r,image:a=jH,description:o,children:i,imageStyle:s,style:c}=e,u=tce(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:f,empty:p}=l.useContext(ot),g=d("empty",r),[b,m,h]=ece(g),[y]=mi("Empty"),v=typeof o<"u"?o:y==null?void 0:y.description,S=typeof v=="string"?v:"empty";let w=null;return typeof a=="string"?w=l.createElement("img",{alt:S,src:a}):w=a,b(l.createElement("div",Object.assign({className:ne(m,h,g,p==null?void 0:p.className,{[`${g}-normal`]:a===BH,[`${g}-rtl`]:f==="rtl"},t,n),style:Object.assign(Object.assign({},p==null?void 0:p.style),c)},u),l.createElement("div",{className:`${g}-image`,style:s},w),v&&l.createElement("div",{className:`${g}-description`},v),i&&l.createElement("div",{className:`${g}-footer`},i)))};Ai.PRESENTED_IMAGE_DEFAULT=jH;Ai.PRESENTED_IMAGE_SIMPLE=BH;const Hb=e=>{const{componentName:t}=e,{getPrefixCls:n}=l.useContext(ot),r=n("empty");switch(t){case"Table":case"List":return le.createElement(Ai,{image:Ai.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return le.createElement(Ai,{image:Ai.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return le.createElement(Ai,null)}},sc=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,a;const{variant:o,[e]:i}=l.useContext(ot),s=l.useContext(aH),c=i==null?void 0:i.variant;let u;typeof t<"u"?u=t:n===!1?u="borderless":u=(a=(r=s??c)!==null&&r!==void 0?r:o)!==null&&a!==void 0?a:"outlined";const d=jte.includes(u);return[u,d]},nce=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function zH(e,t){return e||nce(t)}const W3=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:a}=e;return{position:"relative",display:"block",minHeight:t,padding:a,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},rce=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,a=`&${t}-slide-up-enter${t}-slide-up-enter-active`,o=`&${t}-slide-up-appear${t}-slide-up-appear-active`,i=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},Gt(e)),{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,[` +`].includes(Ht)})},[O]),Ye=l.useContext(e$)||{},at=Ye.maxCount,wt=Ye.rawValues,Ct=function(Nt,Bt,kt){if(!(de&&wT(at)&&(wt==null?void 0:wt.size)>=at)){var At=!0,gt=Nt;T==null||T(null);var mt=mle(Nt,O,wT(at)?at-wt.size:void 0),nn=kt?null:mt;return h!=="combobox"&&nn&&(gt="",A==null||A(nn),We(!1),At=!1),P&&Ce!==gt&&P(gt,{source:Bt?"typing":"effect"}),At}},Ot=function(Nt){!Nt||!Nt.trim()||P(Nt,{source:"submit"})};l.useEffect(function(){!Xe&&!de&&h!=="combobox"&&Ct("",!1,!1)},[Xe]),l.useEffect(function(){Ke&&y&&Je(!1),y&&!ke.current&&Se(!1)},[y]);var dt=TH(),it=se(dt,2),Qe=it[0],st=it[1],St=l.useRef(!1),et=function(Nt){var Bt=Qe(),kt=Nt.key,At=kt==="Enter";if(At&&(h!=="combobox"&&Nt.preventDefault(),Xe||We(!0)),st(!!Ce),kt==="Backspace"&&!Bt&&de&&!Ce&&d.length){for(var gt=$e(d),mt=null,nn=gt.length-1;nn>=0;nn-=1){var bn=gt[nn];if(!bn.disabled){gt.splice(nn,1),mt=bn;break}}mt&&f(gt,{type:"remove",values:[mt]})}for(var qn=arguments.length,tr=new Array(qn>1?qn-1:0),Lr=1;Lr1?Bt-1:0),At=1;At1?mt-1:0),bn=1;bn"u"?"undefined":ft(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const PH=function(e,t,n,r){var a=l.useRef(!1),o=l.useRef(null);function i(){clearTimeout(o.current),a.current=!0,o.current=setTimeout(function(){a.current=!1},50)}var s=l.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(c,u){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,f=c?u<0&&s.current.left||u>0&&s.current.right:u<0&&s.current.top||u>0&&s.current.bottom;return d&&f?(clearTimeout(o.current),a.current=!1):(!f||a.current)&&i(),!a.current&&f}};function xle(e,t,n,r,a,o,i){var s=l.useRef(0),c=l.useRef(null),u=l.useRef(null),d=l.useRef(!1),f=PH(t,n,r,a);function p(b,S){Dt.cancel(c.current),s.current+=S,u.current=S,!f(!1,S)&&(L3||b.preventDefault(),c.current=Dt(function(){var w=d.current?10:1;i(s.current*w),s.current=0}))}function g(b,S){i(S,!0),L3||b.preventDefault()}var v=l.useRef(null),m=l.useRef(null);function h(b){if(e){Dt.cancel(m.current),m.current=Dt(function(){v.current=null},2);var S=b.deltaX,w=b.deltaY,x=b.shiftKey,E=S,I=w;(v.current==="sx"||!v.current&&x&&w&&!S)&&(E=w,I=0,v.current="sx");var R=Math.abs(E),T=Math.abs(I);v.current===null&&(v.current=o&&R>T?"x":"y"),v.current==="y"?p(b,I):g(b,E)}}function y(b){e&&(d.current=b.detail===u.current)}return[h,y]}function Ele(e,t,n,r){var a=l.useMemo(function(){return[new Map,[]]},[e,n.id,r]),o=se(a,2),i=o[0],s=o[1],c=function(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,p=i.get(d),g=i.get(f);if(p===void 0||g===void 0)for(var v=e.length,m=s.length;m0&&arguments[0]!==void 0?arguments[0]:!1;d();var v=function(){s.current.forEach(function(h,y){if(h&&h.offsetParent){var b=xf(h),S=b.offsetHeight;c.current.get(y)!==S&&c.current.set(y,b.offsetHeight)}}),i(function(h){return h+1})};g?v():u.current=Dt(v)}function p(g,v){var m=e(g);s.current.get(m),v?(s.current.set(m,v),f()):s.current.delete(m)}return l.useEffect(function(){return d},[]),[p,f,c.current,o]}var F3=14/15;function Rle(e,t,n){var r=l.useRef(!1),a=l.useRef(0),o=l.useRef(0),i=l.useRef(null),s=l.useRef(null),c,u=function(g){if(r.current){var v=Math.ceil(g.touches[0].pageX),m=Math.ceil(g.touches[0].pageY),h=a.current-v,y=o.current-m,b=Math.abs(h)>Math.abs(y);b?a.current=v:o.current=m,n(b,b?h:y)&&g.preventDefault(),clearInterval(s.current),s.current=setInterval(function(){b?h*=F3:y*=F3;var S=Math.floor(b?h:y);(!n(b,S,!0)||Math.abs(S)<=.1)&&clearInterval(s.current)},16)}},d=function(){r.current=!1,c()},f=function(g){c(),g.touches.length===1&&!r.current&&(r.current=!0,a.current=Math.ceil(g.touches[0].pageX),o.current=Math.ceil(g.touches[0].pageY),i.current=g.target,i.current.addEventListener("touchmove",u,{passive:!1}),i.current.addEventListener("touchend",d,{passive:!0}))};c=function(){i.current&&(i.current.removeEventListener("touchmove",u),i.current.removeEventListener("touchend",d))},zt(function(){return e&&t.current.addEventListener("touchstart",f,{passive:!0}),function(){var p;(p=t.current)===null||p===void 0||p.removeEventListener("touchstart",f),c(),clearInterval(s.current)}},[e])}var _le=10;function $le(e,t,n,r,a,o,i,s){var c=l.useRef(),u=l.useState(null),d=se(u,2),f=d[0],p=d[1];return zt(function(){if(f&&f.times<_le){if(!e.current){p(function(L){return K({},L)});return}o();var g=f.targetAlign,v=f.originAlign,m=f.index,h=f.offset,y=e.current.clientHeight,b=!1,S=g,w=null;if(y){for(var x=g||v,E=0,I=0,R=0,T=Math.min(t.length-1,m),_=0;_<=T;_+=1){var $=a(t[_]);I=E;var D=n.get($);R=I+(D===void 0?r:D),E=R}for(var P=x==="top"?h:y-h,A=T;A>=0;A-=1){var O=a(t[A]),N=n.get(O);if(N===void 0){b=!0;break}if(P-=N,P<=0)break}switch(x){case"top":w=I-h;break;case"bottom":w=R-y+h;break;default:{var k=e.current.scrollTop,M=k+y;IM&&(S="bottom")}}w!==null&&i(w),w!==f.lastTop&&(b=!0)}b&&p(K(K({},f),{},{times:f.times+1,targetAlign:S,lastTop:w}))}},[f,e.current]),function(g){if(g==null){s();return}if(Dt.cancel(c.current),typeof g=="number")i(g);else if(g&&ft(g)==="object"){var v,m=g.align;"index"in g?v=g.index:v=t.findIndex(function(b){return a(b)===g.key});var h=g.offset,y=h===void 0?0:h;p({times:0,index:v,offset:y,originAlign:m})}}}function j3(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var B3=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,a=e.scrollOffset,o=e.scrollRange,i=e.onStartMove,s=e.onStopMove,c=e.onScroll,u=e.horizontal,d=e.spinSize,f=e.containerSize,p=e.style,g=e.thumbStyle,v=l.useState(!1),m=se(v,2),h=m[0],y=m[1],b=l.useState(null),S=se(b,2),w=S[0],x=S[1],E=l.useState(null),I=se(E,2),R=I[0],T=I[1],_=!r,$=l.useRef(),D=l.useRef(),P=l.useState(!1),A=se(P,2),O=A[0],N=A[1],k=l.useRef(),M=function(){clearTimeout(k.current),N(!0),k.current=setTimeout(function(){N(!1)},3e3)},L=o-f||0,F=f-d||0,j=l.useMemo(function(){if(a===0||L===0)return 0;var te=a/L;return te*F},[a,L,F]),B=function(X){X.stopPropagation(),X.preventDefault()},z=l.useRef({top:j,dragging:h,pageY:w,startTop:R});z.current={top:j,dragging:h,pageY:w,startTop:R};var H=function(X){y(!0),x(j3(X,u)),T(z.current.top),i(),X.stopPropagation(),X.preventDefault()};l.useEffect(function(){var te=function(G){G.preventDefault()},X=$.current,ie=D.current;return X.addEventListener("touchstart",te,{passive:!1}),ie.addEventListener("touchstart",H,{passive:!1}),function(){X.removeEventListener("touchstart",te),ie.removeEventListener("touchstart",H)}},[]);var U=l.useRef();U.current=L;var Z=l.useRef();Z.current=F,l.useEffect(function(){if(h){var te,X=function(G){var Q=z.current,ae=Q.dragging,oe=Q.pageY,de=Q.startTop;Dt.cancel(te);var ve=$.current.getBoundingClientRect(),ye=f/(u?ve.width:ve.height);if(ae){var ge=(j3(G,u)-oe)*ye,J=de;!_&&u?J-=ge:J+=ge;var ce=U.current,ue=Z.current,fe=ue?J/ue:0,pe=Math.ceil(fe*ce);pe=Math.max(pe,0),pe=Math.min(pe,ce),te=Dt(function(){c(pe,u)})}},ie=function(){y(!1),s()};return window.addEventListener("mousemove",X,{passive:!0}),window.addEventListener("touchmove",X,{passive:!0}),window.addEventListener("mouseup",ie,{passive:!0}),window.addEventListener("touchend",ie,{passive:!0}),function(){window.removeEventListener("mousemove",X),window.removeEventListener("touchmove",X),window.removeEventListener("mouseup",ie),window.removeEventListener("touchend",ie),Dt.cancel(te)}}},[h]),l.useEffect(function(){return M(),function(){clearTimeout(k.current)}},[a]),l.useImperativeHandle(t,function(){return{delayHidden:M}});var q="".concat(n,"-scrollbar"),Y={position:"absolute",visibility:O?null:"hidden"},ee={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(Y.height=8,Y.left=0,Y.right=0,Y.bottom=0,ee.height="100%",ee.width=d,_?ee.left=j:ee.right=j):(Y.width=8,Y.top=0,Y.bottom=0,_?Y.right=0:Y.left=0,ee.width="100%",ee.height=d,ee.top=j),l.createElement("div",{ref:$,className:ne(q,V(V(V({},"".concat(q,"-horizontal"),u),"".concat(q,"-vertical"),!u),"".concat(q,"-visible"),O)),style:K(K({},Y),p),onMouseDown:B,onMouseMove:M},l.createElement("div",{ref:D,className:ne("".concat(q,"-thumb"),V({},"".concat(q,"-thumb-moving"),h)),style:K(K({},ee),g),onMouseDown:H}))}),Ole=20;function z3(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,Ole),Math.floor(n)}var Nle=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],kle=[],Ale={overflowY:"auto",overflowAnchor:"none"};function Mle(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,a=e.className,o=e.height,i=e.itemHeight,s=e.fullHeight,c=s===void 0?!0:s,u=e.style,d=e.data,f=e.children,p=e.itemKey,g=e.virtual,v=e.direction,m=e.scrollWidth,h=e.component,y=h===void 0?"div":h,b=e.onScroll,S=e.onVirtualScroll,w=e.onVisibleChange,x=e.innerProps,E=e.extraRender,I=e.styles,R=vt(e,Nle),T=l.useCallback(function(Oe){return typeof p=="function"?p(Oe):Oe==null?void 0:Oe[p]},[p]),_=Tle(T),$=se(_,4),D=$[0],P=$[1],A=$[2],O=$[3],N=!!(g!==!1&&o&&i),k=l.useMemo(function(){return Object.values(A.maps).reduce(function(Oe,He){return Oe+He},0)},[A.id,A.maps]),M=N&&d&&(Math.max(i*d.length,k)>o||!!m),L=v==="rtl",F=ne(r,V({},"".concat(r,"-rtl"),L),a),j=d||kle,B=l.useRef(),z=l.useRef(),H=l.useRef(),U=l.useState(0),Z=se(U,2),q=Z[0],Y=Z[1],ee=l.useState(0),te=se(ee,2),X=te[0],ie=te[1],re=l.useState(!1),G=se(re,2),Q=G[0],ae=G[1],oe=function(){ae(!0)},de=function(){ae(!1)},ve={getKey:T};function ye(Oe){Y(function(He){var Fe;typeof Oe=="function"?Fe=Oe(He):Fe=Oe;var Ve=Ne(Fe);return B.current.scrollTop=Ve,Ve})}var ge=l.useRef({start:0,end:j.length}),J=l.useRef(),ce=Cle(j,T),ue=se(ce,1),fe=ue[0];J.current=fe;var pe=l.useMemo(function(){if(!N)return{scrollHeight:void 0,start:0,end:j.length-1,offset:void 0};if(!M){var Oe;return{scrollHeight:((Oe=z.current)===null||Oe===void 0?void 0:Oe.offsetHeight)||0,start:0,end:j.length-1,offset:void 0}}for(var He=0,Fe,Ve,tt,bt=j.length,xt=0;xt=q&&Fe===void 0&&(Fe=xt,Ve=He),en>q+o&&tt===void 0&&(tt=xt),He=en}return Fe===void 0&&(Fe=0,Ve=0,tt=Math.ceil(o/i)),tt===void 0&&(tt=j.length-1),tt=Math.min(tt+1,j.length-1),{scrollHeight:He,start:Fe,end:tt,offset:Ve}},[M,N,q,j,O,o]),xe=pe.scrollHeight,Te=pe.start,Pe=pe.end,ke=pe.offset;ge.current.start=Te,ge.current.end=Pe;var Ue=l.useState({width:0,height:o}),Be=se(Ue,2),De=Be[0],Se=Be[1],_e=function(He){Se({width:He.offsetWidth,height:He.offsetHeight})},Ce=l.useRef(),Re=l.useRef(),he=l.useMemo(function(){return z3(De.width,m)},[De.width,m]),Ee=l.useMemo(function(){return z3(De.height,xe)},[De.height,xe]),je=xe-o,Ae=l.useRef(je);Ae.current=je;function Ne(Oe){var He=Oe;return Number.isNaN(Ae.current)||(He=Math.min(He,Ae.current)),He=Math.max(He,0),He}var ze=q<=0,qe=q>=je,Le=X<=0,Ke=X>=m,Je=PH(ze,qe,Le,Ke),Xe=function(){return{x:L?-X:X,y:q}},ut=l.useRef(Xe()),pt=Lt(function(Oe){if(S){var He=K(K({},Xe()),Oe);(ut.current.x!==He.x||ut.current.y!==He.y)&&(S(He),ut.current=He)}});function We(Oe,He){var Fe=Oe;He?(Sr.flushSync(function(){ie(Fe)}),pt()):ye(Fe)}function Ze(Oe){var He=Oe.currentTarget.scrollTop;He!==q&&ye(He),b==null||b(Oe),pt()}var Ye=function(He){var Fe=He,Ve=m?m-De.width:0;return Fe=Math.max(Fe,0),Fe=Math.min(Fe,Ve),Fe},at=Lt(function(Oe,He){He?(Sr.flushSync(function(){ie(function(Fe){var Ve=Fe+(L?-Oe:Oe);return Ye(Ve)})}),pt()):ye(function(Fe){var Ve=Fe+Oe;return Ve})}),wt=xle(N,ze,qe,Le,Ke,!!m,at),Ct=se(wt,2),Ot=Ct[0],dt=Ct[1];Rle(N,B,function(Oe,He,Fe){return Je(Oe,He,Fe)?!1:(Ot({preventDefault:function(){},deltaX:Oe?He:0,deltaY:Oe?0:He}),!0)}),zt(function(){function Oe(Fe){N&&Fe.preventDefault()}var He=B.current;return He.addEventListener("wheel",Ot,{passive:!1}),He.addEventListener("DOMMouseScroll",dt,{passive:!0}),He.addEventListener("MozMousePixelScroll",Oe,{passive:!1}),function(){He.removeEventListener("wheel",Ot),He.removeEventListener("DOMMouseScroll",dt),He.removeEventListener("MozMousePixelScroll",Oe)}},[N]),zt(function(){if(m){var Oe=Ye(X);ie(Oe),pt({x:Oe})}},[De.width,m]);var it=function(){var He,Fe;(He=Ce.current)===null||He===void 0||He.delayHidden(),(Fe=Re.current)===null||Fe===void 0||Fe.delayHidden()},Qe=$le(B,j,A,i,T,function(){return P(!0)},ye,it);l.useImperativeHandle(t,function(){return{nativeElement:H.current,getScrollInfo:Xe,scrollTo:function(He){function Fe(Ve){return Ve&&ft(Ve)==="object"&&("left"in Ve||"top"in Ve)}Fe(He)?(He.left!==void 0&&ie(Ye(He.left)),Qe(He.top)):Qe(He)}}}),zt(function(){if(w){var Oe=j.slice(Te,Pe+1);w(Oe,j)}},[Te,Pe,j]);var st=Ele(j,T,A,i),St=E==null?void 0:E({start:Te,end:Pe,virtual:M,offsetX:X,offsetY:ke,rtl:L,getSize:st}),et=Sle(j,Te,Pe,m,X,D,f,ve),Ie=null;o&&(Ie=K(V({},c?"height":"maxHeight",o),Ale),N&&(Ie.overflowY="hidden",m&&(Ie.overflowX="hidden"),Q&&(Ie.pointerEvents="none")));var we={};return L&&(we.dir="rtl"),l.createElement("div",be({ref:H,style:K(K({},u),{},{position:"relative"}),className:F},we,R),l.createElement(zr,{onResize:_e},l.createElement(y,{className:"".concat(r,"-holder"),style:Ie,ref:B,onScroll:Ze,onMouseEnter:it},l.createElement(DH,{prefixCls:r,height:xe,offsetX:X,offsetY:ke,scrollWidth:m,onInnerResize:P,ref:z,innerProps:x,rtl:L,extra:St},et))),M&&xe>o&&l.createElement(B3,{ref:Ce,prefixCls:r,scrollOffset:q,scrollRange:xe,rtl:L,onScroll:We,onStartMove:oe,onStopMove:de,spinSize:Ee,containerSize:De.height,style:I==null?void 0:I.verticalScrollBar,thumbStyle:I==null?void 0:I.verticalScrollBarThumb}),M&&m>De.width&&l.createElement(B3,{ref:Re,prefixCls:r,scrollOffset:X,scrollRange:m,rtl:L,onScroll:We,onStartMove:oe,onStopMove:de,spinSize:he,containerSize:De.width,horizontal:!0,style:I==null?void 0:I.horizontalScrollBar,thumbStyle:I==null?void 0:I.horizontalScrollBarThumb}))}var zb=l.forwardRef(Mle);zb.displayName="List";function Dle(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Ple=["disabled","title","children","style","className"];function H3(e){return typeof e=="string"||typeof e=="number"}var Lle=function(t,n){var r=IH(),a=r.prefixCls,o=r.id,i=r.open,s=r.multiple,c=r.mode,u=r.searchValue,d=r.toggleOpen,f=r.notFoundContent,p=r.onPopupScroll,g=l.useContext(e$),v=g.maxCount,m=g.flattenOptions,h=g.onActiveValue,y=g.defaultActiveFirstOption,b=g.onSelect,S=g.menuItemSelectedIcon,w=g.rawValues,x=g.fieldNames,E=g.virtual,I=g.direction,R=g.listHeight,T=g.listItemHeight,_=g.optionRender,$="".concat(a,"-item"),D=Ys(function(){return m},[i,m],function(te,X){return X[0]&&te[1]!==X[1]}),P=l.useRef(null),A=l.useMemo(function(){return s&&wT(v)&&(w==null?void 0:w.size)>=v},[s,v,w==null?void 0:w.size]),O=function(X){X.preventDefault()},N=function(X){var ie;(ie=P.current)===null||ie===void 0||ie.scrollTo(typeof X=="number"?{index:X}:X)},k=function(X){for(var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,re=D.length,G=0;G1&&arguments[1]!==void 0?arguments[1]:!1;j(X);var re={source:ie?"keyboard":"mouse"},G=D[X];if(!G){h(null,-1,re);return}h(G.value,X,re)};l.useEffect(function(){B(y!==!1?k(0):-1)},[D.length,u]);var z=l.useCallback(function(te){return w.has(te)&&c!=="combobox"},[c,$e(w).toString(),w.size]);l.useEffect(function(){var te=setTimeout(function(){if(!s&&i&&w.size===1){var ie=Array.from(w)[0],re=D.findIndex(function(G){var Q=G.data;return Q.value===ie});re!==-1&&(B(re),N(re))}});if(i){var X;(X=P.current)===null||X===void 0||X.scrollTo(void 0)}return function(){return clearTimeout(te)}},[i,u]);var H=function(X){X!==void 0&&b(X,{selected:!w.has(X)}),s||d(!1)};if(l.useImperativeHandle(n,function(){return{onKeyDown:function(X){var ie=X.which,re=X.ctrlKey;switch(ie){case Me.N:case Me.P:case Me.UP:case Me.DOWN:{var G=0;if(ie===Me.UP?G=-1:ie===Me.DOWN?G=1:Dle()&&re&&(ie===Me.N?G=1:ie===Me.P&&(G=-1)),G!==0){var Q=k(F+G,G);N(Q),B(Q,!0)}break}case Me.ENTER:{var ae,oe=D[F];oe&&!(oe!=null&&(ae=oe.data)!==null&&ae!==void 0&&ae.disabled)&&!A?H(oe.value):H(void 0),i&&X.preventDefault();break}case Me.ESC:d(!1),i&&X.stopPropagation()}},onKeyUp:function(){},scrollTo:function(X){N(X)}}}),D.length===0)return l.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat($,"-empty"),onMouseDown:O},f);var U=Object.keys(x).map(function(te){return x[te]}),Z=function(X){return X.label};function q(te,X){var ie=te.group;return{role:ie?"presentation":"option",id:"".concat(o,"_list_").concat(X)}}var Y=function(X){var ie=D[X];if(!ie)return null;var re=ie.data||{},G=re.value,Q=ie.group,ae=Nn(re,!0),oe=Z(ie);return ie?l.createElement("div",be({"aria-label":typeof oe=="string"&&!Q?oe:null},ae,{key:X},q(ie,X),{"aria-selected":z(G)}),G):null},ee={role:"listbox",id:"".concat(o,"_list")};return l.createElement(l.Fragment,null,E&&l.createElement("div",be({},ee,{style:{height:0,width:0,overflow:"hidden"}}),Y(F-1),Y(F),Y(F+1)),l.createElement(zb,{itemKey:"key",ref:P,data:D,height:R,itemHeight:T,fullHeight:!1,onMouseDown:O,onScroll:p,virtual:E,direction:I,innerProps:E?null:ee},function(te,X){var ie=te.group,re=te.groupOption,G=te.data,Q=te.label,ae=te.value,oe=G.key;if(ie){var de,ve=(de=G.title)!==null&&de!==void 0?de:H3(Q)?Q.toString():void 0;return l.createElement("div",{className:ne($,"".concat($,"-group"),G.className),title:ve},Q!==void 0?Q:oe)}var ye=G.disabled,ge=G.title;G.children;var J=G.style,ce=G.className,ue=vt(G,Ple),fe=gn(ue,U),pe=z(ae),xe=ye||!pe&&A,Te="".concat($,"-option"),Pe=ne($,Te,ce,V(V(V(V({},"".concat(Te,"-grouped"),re),"".concat(Te,"-active"),F===X&&!xe),"".concat(Te,"-disabled"),xe),"".concat(Te,"-selected"),pe)),ke=Z(te),Ue=!S||typeof S=="function"||pe,Be=typeof ke=="number"?ke:ke||ae,De=H3(Be)?Be.toString():void 0;return ge!==void 0&&(De=ge),l.createElement("div",be({},Nn(fe),E?{}:q(te,X),{"aria-selected":pe,className:Pe,title:De,onMouseMove:function(){F===X||xe||B(X)},onClick:function(){xe||H(ae)},style:J}),l.createElement("div",{className:"".concat(Te,"-content")},typeof _=="function"?_(te,{index:X}):Be),l.isValidElement(S)||pe,Ue&&l.createElement(Bb,{className:"".concat($,"-option-state"),customizeIcon:S,customizeIconProps:{value:ae,disabled:xe,isSelected:pe}},pe?"✓":null))}))},Fle=l.forwardRef(Lle);const jle=function(e,t){var n=l.useRef({values:new Map,options:new Map}),r=l.useMemo(function(){var o=n.current,i=o.values,s=o.options,c=e.map(function(f){if(f.label===void 0){var p;return K(K({},f),{},{label:(p=i.get(f.value))===null||p===void 0?void 0:p.label})}return f}),u=new Map,d=new Map;return c.forEach(function(f){u.set(f.value,f),d.set(f.value,t.get(f.value)||s.get(f.value))}),n.current.values=u,n.current.options=d,c},[e,t]),a=l.useCallback(function(o){return t.get(o)||n.current.options.get(o)},[t]);return[r,a]};function rS(e,t){return NH(e).join("").toUpperCase().includes(t)}const Ble=function(e,t,n,r,a){return l.useMemo(function(){if(!n||r===!1)return e;var o=t.options,i=t.label,s=t.value,c=[],u=typeof r=="function",d=n.toUpperCase(),f=u?r:function(g,v){return a?rS(v[a],d):v[o]?rS(v[i!=="children"?i:"label"],d):rS(v[s],d)},p=u?function(g){return CT(g)}:function(g){return g};return e.forEach(function(g){if(g[o]){var v=f(n,p(g));if(v)c.push(g);else{var m=g[o].filter(function(h){return f(n,p(h))});m.length&&c.push(K(K({},g),{},V({},o,m)))}return}f(n,p(g))&&c.push(g)}),c},[e,r,a,n,t])};var U3=0,zle=kr();function Hle(){var e;return zle?(e=U3,U3+=1):e="TEST_OR_SSR",e}function LH(e){var t=l.useState(),n=se(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_select_".concat(Hle()))},[]),e||r}var Ule=["children","value"],Vle=["children"];function Wle(e){var t=e,n=t.key,r=t.props,a=r.children,o=r.value,i=vt(r,Ule);return K({key:n,value:o!==void 0?o:n,children:a},i)}function FH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return or(e).map(function(n,r){if(!l.isValidElement(n)||!n.type)return null;var a=n,o=a.type.isSelectOptGroup,i=a.key,s=a.props,c=s.children,u=vt(s,Vle);return t||!o?Wle(n):K(K({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},u),{},{options:FH(c)})}).filter(function(n){return n})}var Gle=function(t,n,r,a,o){return l.useMemo(function(){var i=t,s=!t;s&&(i=FH(n));var c=new Map,u=new Map,d=function(g,v,m){m&&typeof m=="string"&&g.set(v[m],v)},f=function p(g){for(var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,m=0;m2&&arguments[2]!==void 0?arguments[2]:{},at=Ye.source,wt=at===void 0?"keyboard":at;Ne(Ze),i&&r==="combobox"&&We!==null&&wt==="keyboard"&&he(String(We))},[i,r]),Le=function(Ze,Ye,at){var wt=function(){var we,Oe=fe(Ze);return[L?{label:Oe==null?void 0:Oe[q.label],value:Ze,key:(we=Oe==null?void 0:Oe.key)!==null&&we!==void 0?we:Ze}:Ze,CT(Oe)]};if(Ye&&g){var Ct=wt(),Ot=se(Ct,2),dt=Ot[0],it=Ot[1];g(dt,it)}else if(!Ye&&v&&at!=="clear"){var Qe=wt(),st=se(Qe,2),St=st[0],et=st[1];v(St,et)}},Ke=V3(function(We,Ze){var Ye,at=H?Ze.selected:!0;at?Ye=H?[].concat($e(ue),[We]):[We]:Ye=ue.filter(function(wt){return wt.value!==We}),Se(Ye),Le(We,at),r==="combobox"?he(""):(!xT||p)&&(X(""),he(""))}),Je=function(Ze,Ye){Se(Ze);var at=Ye.type,wt=Ye.values;(at==="remove"||at==="clear")&&wt.forEach(function(Ct){Le(Ct.value,!1,at)})},Xe=function(Ze,Ye){if(X(Ze),he(null),Ye.source==="submit"){var at=(Ze||"").trim();if(at){var wt=Array.from(new Set([].concat($e(xe),[at])));Se(wt),Le(at,!0),X("")}return}Ye.source!=="blur"&&(r==="combobox"&&Se(Ze),d==null||d(Ze))},ut=function(Ze){var Ye=Ze;r!=="tags"&&(Ye=Ze.map(function(wt){var Ct=G.get(wt);return Ct==null?void 0:Ct.value}).filter(function(wt){return wt!==void 0}));var at=Array.from(new Set([].concat($e(xe),$e(Ye))));Se(at),at.forEach(function(wt){Le(wt,!0)})},pt=l.useMemo(function(){var We=_!==!1&&h!==!1;return K(K({},ie),{},{flattenOptions:De,onActiveValue:qe,defaultActiveFirstOption:ze,onSelect:Ke,menuItemSelectedIcon:T,rawValues:xe,fieldNames:q,virtual:We,direction:$,listHeight:P,listItemHeight:O,childrenAsData:U,maxCount:j,optionRender:E})},[j,ie,De,qe,ze,Ke,T,xe,q,_,h,$,P,O,U,E]);return l.createElement(e$.Provider,{value:pt},l.createElement(MH,be({},B,{id:z,prefixCls:o,ref:t,omitDomProps:Kle,mode:r,displayValues:pe,onDisplayValuesChange:Je,direction:$,searchValue:te,onSearch:Xe,autoClearSearchValue:p,onSearchSplit:ut,dropdownMatchSelectWidth:h,OptionList:Fle,emptyOptions:!De.length,activeValue:Re,activeDescendantId:"".concat(z,"_list_").concat(Ae)})))}),r$=Xle;r$.Option=n$;r$.OptGroup=t$;function Ki(e,t,n){return ne({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const Js=(e,t)=>t||e,Zle=()=>{const[,e]=Mr(),n=new on(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return l.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,"empty image"),l.createElement("g",{fill:"none",fillRule:"evenodd"},l.createElement("g",{transform:"translate(24 31.67)"},l.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),l.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),l.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),l.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),l.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),l.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),l.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},l.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),l.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},Qle=()=>{const[,e]=Mr(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:a}=e,{borderColor:o,shadowColor:i,contentColor:s}=l.useMemo(()=>({borderColor:new on(t).onBackground(a).toHexShortString(),shadowColor:new on(n).onBackground(a).toHexShortString(),contentColor:new on(r).onBackground(a).toHexShortString()}),[t,n,r,a]);return l.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},l.createElement("title",null,"Simple Empty"),l.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},l.createElement("ellipse",{fill:i,cx:"32",cy:"33",rx:"32",ry:"7"}),l.createElement("g",{fillRule:"nonzero",stroke:o},l.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),l.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:s}))))},Jle=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:o,lineHeight:i}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:i,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:a,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},ece=Kt("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=Pt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[Jle(a)]});var tce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{className:t,rootClassName:n,prefixCls:r,image:a=jH,description:o,children:i,imageStyle:s,style:c}=e,u=tce(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:f,empty:p}=l.useContext(ot),g=d("empty",r),[v,m,h]=ece(g),[y]=mi("Empty"),b=typeof o<"u"?o:y==null?void 0:y.description,S=typeof b=="string"?b:"empty";let w=null;return typeof a=="string"?w=l.createElement("img",{alt:S,src:a}):w=a,v(l.createElement("div",Object.assign({className:ne(m,h,g,p==null?void 0:p.className,{[`${g}-normal`]:a===BH,[`${g}-rtl`]:f==="rtl"},t,n),style:Object.assign(Object.assign({},p==null?void 0:p.style),c)},u),l.createElement("div",{className:`${g}-image`,style:s},w),b&&l.createElement("div",{className:`${g}-description`},b),i&&l.createElement("div",{className:`${g}-footer`},i)))};Ai.PRESENTED_IMAGE_DEFAULT=jH;Ai.PRESENTED_IMAGE_SIMPLE=BH;const Hb=e=>{const{componentName:t}=e,{getPrefixCls:n}=l.useContext(ot),r=n("empty");switch(t){case"Table":case"List":return le.createElement(Ai,{image:Ai.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return le.createElement(Ai,{image:Ai.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return le.createElement(Ai,null)}},sc=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,a;const{variant:o,[e]:i}=l.useContext(ot),s=l.useContext(aH),c=i==null?void 0:i.variant;let u;typeof t<"u"?u=t:n===!1?u="borderless":u=(a=(r=s??c)!==null&&r!==void 0?r:o)!==null&&a!==void 0?a:"outlined";const d=jte.includes(u);return[u,d]},nce=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function zH(e,t){return e||nce(t)}const W3=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:a}=e;return{position:"relative",display:"block",minHeight:t,padding:a,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},rce=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,a=`&${t}-slide-up-enter${t}-slide-up-enter-active`,o=`&${t}-slide-up-appear${t}-slide-up-appear-active`,i=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},Gt(e)),{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,[` ${a}${s}bottomLeft, ${o}${s}bottomLeft `]:{animationName:Db},[` @@ -238,19 +238,19 @@ html body { `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${W(r)}`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:W(o)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${W(r)}`,"&:after":{display:"none"}}}}}}}function sce(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[oS(e),oS(Pt(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selection-search`]:{insetInlineStart:n,insetInlineEnd:n},[`${t}-selector`]:{padding:`0 ${W(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` &${t}-show-arrow ${t}-selection-item, &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},oS(Pt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const lce=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:o,controlHeightLG:i,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:d,fontWeightStrong:f,controlItemBgActive:p,controlItemBgHover:g,colorBgContainer:b,colorFillSecondary:m,colorBgContainerDisabled:h,colorTextDisabled:y}=e,v=s*2,S=r*2,w=Math.min(a-v,a-S),x=Math.min(o-v,o-S),E=Math.min(i-v,i-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:f,optionSelectedBg:p,optionActiveBg:g,optionPadding:`${(a-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:b,clearBg:b,singleItemHeightLG:i,multipleItemBg:m,multipleItemBorderColor:"transparent",multipleItemHeight:w,multipleItemHeightSM:x,multipleItemHeightLG:E,multipleSelectorBgDisabled:h,multipleItemColorDisabled:y,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},VH=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${W(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${W(a)} ${t.activeShadowColor}`,outline:0}}}},G3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},VH(e,t))}),cce=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},VH(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),G3(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),G3(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),WH=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${W(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},q3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},WH(e,t))}),uce=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},WH(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),q3(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),q3(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),dce=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),fce=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},cce(e)),uce(e)),dce(e))}),pce=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},gce=e=>{const{componentCls:t}=e;return{[`${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"}}}},mce=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},Gt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},pce(e)),gce(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},vo),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},vo),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Qu()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[a]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},hce=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},mce(e),sce(e),ice(e),rce(e),{[`${t}-rtl`]:{direction:"rtl"}},ng(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},GH=Kt("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Pt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[hce(r),fce(r)]},lce,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var vce={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"},bce=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:vce}))},Ub=l.forwardRef(bce),yce={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"},Sce=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:yce}))},Vb=l.forwardRef(Sce),wce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Cce=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:wce}))},a$=l.forwardRef(Cce);function o$(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:a,loading:o,multiple:i,hasFeedback:s,prefixCls:c,showSuffixIcon:u,feedbackIcon:d,showArrow:f,componentName:p}=e;const g=n??l.createElement(ic,null),b=v=>t===null&&!s&&!f?null:l.createElement(l.Fragment,null,u!==!1&&v,s&&d);let m=null;if(t!==void 0)m=b(t);else if(o)m=b(l.createElement(Wi,{spin:!0}));else{const v=`${c}-suffix`;m=S=>{let{open:w,showSearch:x}=S;return b(w&&x?l.createElement(a$,{className:v}):l.createElement(Vb,{className:v}))}}let h=null;r!==void 0?h=r:i?h=l.createElement(Ub,null):h=null;let y=null;return a!==void 0?y=a:y=l.createElement(da,null),{clearIcon:g,suffixIcon:m,itemIcon:h,removeIcon:y}}function qH(e,t){return t!==void 0?t:e!==null}var xce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a,className:o,rootClassName:i,getPopupContainer:s,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:f,listItemHeight:p,size:g,disabled:b,notFoundContent:m,status:h,builtinPlacements:y,dropdownMatchSelectWidth:v,popupMatchSelectWidth:S,direction:w,style:x,allowClear:E,variant:I,dropdownStyle:R,transitionName:T,tagRender:_,maxCount:$}=e,D=xce(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:P,getPrefixCls:A,renderEmpty:O,direction:N,virtual:k,popupMatchSelectWidth:M,popupOverflow:L,select:F}=l.useContext(ot),[,j]=Mr(),B=p??(j==null?void 0:j.controlHeight),z=A("select",r),H=A(),U=w??N,{compactSize:Z,compactItemClassnames:q}=Ji(z,U),[Y,te]=sc("select",I,a),ee=Vn(z),[X,ie,re]=GH(z,ee),G=l.useMemo(()=>{const{mode:Re}=e;if(Re!=="combobox")return Re===KH?"combobox":Re},[e.mode]),Q=G==="multiple"||G==="tags",ae=qH(e.suffixIcon,e.showArrow),oe=(n=S??v)!==null&&n!==void 0?n:M,{status:de,hasFeedback:ve,isFormItemInput:ye,feedbackIcon:ge}=l.useContext(Er),J=Js(de,h);let ce;m!==void 0?ce=m:G==="combobox"?ce=null:ce=(O==null?void 0:O("Select"))||l.createElement(Hb,{componentName:"Select"});const{suffixIcon:ue,itemIcon:fe,removeIcon:pe,clearIcon:xe}=o$(Object.assign(Object.assign({},D),{multiple:Q,hasFeedback:ve,feedbackIcon:ge,showSuffixIcon:ae,prefixCls:z,componentName:"Select"})),Te=E===!0?{clearIcon:xe}:E,Pe=gn(D,["suffixIcon","itemIcon"]),ke=ne(c||u,{[`${z}-dropdown-${U}`]:U==="rtl"},i,re,ee,ie),Ue=cr(Re=>{var he;return(he=g??Z)!==null&&he!==void 0?he:Re}),Be=l.useContext(Vr),De=b??Be,Se=ne({[`${z}-lg`]:Ue==="large",[`${z}-sm`]:Ue==="small",[`${z}-rtl`]:U==="rtl",[`${z}-${Y}`]:te,[`${z}-in-form-item`]:ye},Ki(z,J,ve),q,F==null?void 0:F.className,o,i,re,ee,ie),_e=l.useMemo(()=>f!==void 0?f:U==="rtl"?"bottomRight":"bottomLeft",[f,U]),[Ce]=Qi("SelectLike",R==null?void 0:R.zIndex);return X(l.createElement(r$,Object.assign({ref:t,virtual:k,showSearch:F==null?void 0:F.showSearch},Pe,{style:Object.assign(Object.assign({},F==null?void 0:F.style),x),dropdownMatchSelectWidth:oe,transitionName:bo(H,"slide-up",T),builtinPlacements:zH(y,L),listHeight:d,listItemHeight:B,mode:G,prefixCls:z,placement:_e,direction:U,suffixIcon:ue,menuItemSelectedIcon:fe,removeIcon:pe,allowClear:Te,notFoundContent:ce,className:Se,getPopupContainer:s||P,dropdownClassName:ke,disabled:De,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Ce}),maxCount:Q?$:void 0,tagRender:Q?_:void 0})))},mr=l.forwardRef(Ece),Ice=lg(mr);mr.SECRET_COMBOBOX_MODE_DO_NOT_USE=KH;mr.Option=n$;mr.OptGroup=t$;mr._InternalPanelDoNotUseOrYouWillBeFired=Ice;const Yl=["xxl","xl","lg","md","sm","xs"],Tce=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Rce=e=>{const t=e,n=[].concat(Yl).reverse();return n.forEach((r,a)=>{const o=r.toUpperCase(),i=`screen${o}Min`,s=`screen${o}`;if(!(t[i]<=t[s]))throw new Error(`${i}<=${s} fails : !(${t[i]}<=${t[s]})`);if(a{const n=new Map;let r=-1,a={};return{matchHandlers:{},dispatch(o){return a=o,n.forEach(i=>i(a)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(a),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const i=t[o],s=this.matchHandlers[i];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const i=t[o],s=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},a),{[o]:d}))},c=window.matchMedia(i);c.addListener(s),this.matchHandlers[i]={mql:c,listener:s},s(c)})},responsiveMap:t}},[e])}function i$(){const[,e]=l.useReducer(t=>t+1,0);return e}function Wb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=l.useRef({}),n=i$(),r=YH();return zt(()=>{const a=r.subscribe(o=>{t.current=o,e&&n()});return()=>r.unsubscribe(a)},[]),t.current}const bv=e=>e?typeof e=="function"?e():e:null;function s$(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,o=e.className,i=e.style;return l.createElement("div",{className:ne("".concat(n,"-content"),o),style:i},l.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},typeof t=="function"?t():t))}var Nc={shiftX:64,adjustY:1},kc={adjustX:1,shiftY:!0},to=[0,0],_ce={left:{points:["cr","cl"],overflow:kc,offset:[-4,0],targetOffset:to},right:{points:["cl","cr"],overflow:kc,offset:[4,0],targetOffset:to},top:{points:["bc","tc"],overflow:Nc,offset:[0,-4],targetOffset:to},bottom:{points:["tc","bc"],overflow:Nc,offset:[0,4],targetOffset:to},topLeft:{points:["bl","tl"],overflow:Nc,offset:[0,-4],targetOffset:to},leftTop:{points:["tr","tl"],overflow:kc,offset:[-4,0],targetOffset:to},topRight:{points:["br","tr"],overflow:Nc,offset:[0,-4],targetOffset:to},rightTop:{points:["tl","tr"],overflow:kc,offset:[4,0],targetOffset:to},bottomRight:{points:["tr","br"],overflow:Nc,offset:[0,4],targetOffset:to},rightBottom:{points:["bl","br"],overflow:kc,offset:[4,0],targetOffset:to},bottomLeft:{points:["tl","bl"],overflow:Nc,offset:[0,4],targetOffset:to},leftBottom:{points:["br","bl"],overflow:kc,offset:[-4,0],targetOffset:to}},$ce=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Oce=function(t,n){var r=t.overlayClassName,a=t.trigger,o=a===void 0?["hover"]:a,i=t.mouseEnterDelay,s=i===void 0?0:i,c=t.mouseLeaveDelay,u=c===void 0?.1:c,d=t.overlayStyle,f=t.prefixCls,p=f===void 0?"rc-tooltip":f,g=t.children,b=t.onVisibleChange,m=t.afterVisibleChange,h=t.transitionName,y=t.animation,v=t.motion,S=t.placement,w=S===void 0?"right":S,x=t.align,E=x===void 0?{}:x,I=t.destroyTooltipOnHide,R=I===void 0?!1:I,T=t.defaultVisible,_=t.getTooltipContainer,$=t.overlayInnerStyle;t.arrowContent;var D=t.overlay,P=t.id,A=t.showArrow,O=A===void 0?!0:A,N=vt(t,$ce),k=l.useRef(null);l.useImperativeHandle(n,function(){return k.current});var M=K({},N);"visible"in t&&(M.popupVisible=t.visible);var L=function(){return l.createElement(s$,{key:"content",prefixCls:p,id:P,overlayInnerStyle:$},D)};return l.createElement(ug,be({popupClassName:r,prefixCls:p,popup:L,action:o,builtinPlacements:_ce,popupPlacement:w,ref:k,popupAlign:E,getPopupContainer:_,onPopupVisibleChange:b,afterPopupVisibleChange:m,popupTransitionName:h,popupAnimation:y,popupMotion:v,defaultPopupVisible:T,autoDestroy:R,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:O},M),g)};const Nce=l.forwardRef(Oce);function Gb(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,a=t/2,o=0,i=a,s=r*1/Math.sqrt(2),c=a-r*(1-1/Math.sqrt(2)),u=a-n*(1/Math.sqrt(2)),d=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*a-u,p=d,g=2*a-s,b=c,m=2*a-o,h=i,y=a*Math.sqrt(2)+r*(Math.sqrt(2)-2),v=r*(Math.sqrt(2)-1),S=`polygon(${v}px 100%, 50% ${v}px, ${2*a-v}px 100%, ${v}px 100%)`,w=`path('M ${o} ${i} A ${r} ${r} 0 0 0 ${s} ${c} L ${u} ${d} A ${n} ${n} 0 0 1 ${f} ${p} L ${g} ${b} A ${r} ${r} 0 0 0 ${m} ${h} Z')`;return{arrowShadowWidth:y,arrowPath:w,arrowPolygon:S}}const XH=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:a,arrowPath:o,arrowShadowWidth:i,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[a,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${W(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},ZH=8;function qb(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?ZH:r}}function vm(e,t){return e?t:{}}function l$(e,t,n){const{componentCls:r,boxShadowPopoverArrow:a,arrowOffsetVertical:o,arrowOffsetHorizontal:i}=e,{arrowDistance:s=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},XH(e,t,a)),{"&:before":{background:t}})]},vm(!!c.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${W(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),vm(!!c.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${W(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),vm(!!c.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:o},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:o}})),vm(!!c.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:o},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:o}}))}}function kce(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const a=r&&typeof r=="object"?r:{},o={};switch(e){case"top":case"bottom":o.shiftX=t.arrowOffsetHorizontal*2+n,o.shiftY=!0,o.adjustY=!0;break;case"left":case"right":o.shiftY=t.arrowOffsetVertical*2+n,o.shiftX=!0,o.adjustX=!0;break}const i=Object.assign(Object.assign({},o),a);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}const K3={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"]}},Ace={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"]}},Mce=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function QH(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:a,borderRadius:o,visibleFirst:i}=e,s=t/2,c={};return Object.keys(K3).forEach(u=>{const d=r&&Ace[u]||K3[u],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=f,Mce.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-s-a;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=s+a;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-s-a;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=s+a;break}const p=qb({contentRadius:o,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-p.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":f.offset[0]=p.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":f.offset[1]=-p.arrowOffsetHorizontal-s;break;case"leftBottom":case"rightBottom":f.offset[1]=p.arrowOffsetHorizontal+s;break}f.overflow=kce(u,p,t,n),i&&(f.htmlRegion="visibleFirst")}),c}const Dce=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:o,zIndexPopup:i,controlHeight:s,boxShadowSecondary:c,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{position:"absolute",zIndex:i,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${W(e.calc(u).div(2).equal())} ${W(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:o,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(o,ZH)}},[`${t}-content`]:{position:"relative"}}),n9(e,(f,p)=>{let{darkColor:g}=p;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:g},[`${t}-arrow`]:{"--antd-arrow-background-color":g}}}})),{"&-rtl":{direction:"rtl"}})},l$(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Pce=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},qb({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Gb(Pt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),JH=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Kt("Tooltip",r=>{const{borderRadius:a,colorTextLightSolid:o,colorBgSpotlight:i}=r,s=Pt(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:a,tooltipBg:i});return[Dce(s),ig(r,"zoom-big-fast")]},Pce,{resetStyle:!1,injectStyle:t})(e)},Lce=hp.map(e=>`${e}-inverse`),Fce=["success","processing","error","default","warning"];function eU(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat($e(Lce),$e(hp)).includes(e):hp.includes(e)}function jce(e){return Fce.includes(e)}function tU(e,t){const n=eU(t),r=ne({[`${e}-${t}`]:t&&n}),a={},o={};return t&&!n&&(a.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:a,arrowStyle:o}}const Bce=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:o,overlayInnerStyle:i}=e,{getPrefixCls:s}=l.useContext(ot),c=s("tooltip",t),[u,d,f]=JH(c),p=tU(c,o),g=p.arrowStyle,b=Object.assign(Object.assign({},i),p.overlayStyle),m=ne(d,f,c,`${c}-pure`,`${c}-placement-${r}`,n,p.className);return u(l.createElement("div",{className:m,style:g},l.createElement("div",{className:`${c}-arrow`}),l.createElement(s$,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:b}),a)))};var zce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,openClassName:o,getTooltipContainer:i,overlayClassName:s,color:c,overlayInnerStyle:u,children:d,afterOpenChange:f,afterVisibleChange:p,destroyTooltipOnHide:g,arrow:b=!0,title:m,overlay:h,builtinPlacements:y,arrowPointAtCenter:v=!1,autoAdjustOverflow:S=!0}=e,w=!!b,[,x]=Mr(),{getPopupContainer:E,getPrefixCls:I,direction:R}=l.useContext(ot),T=Xs(),_=l.useRef(null),$=()=>{var ce;(ce=_.current)===null||ce===void 0||ce.forceAlign()};l.useImperativeHandle(t,()=>{var ce;return{forceAlign:$,forcePopupAlign:()=>{T.deprecated(!1,"forcePopupAlign","forceAlign"),$()},nativeElement:(ce=_.current)===null||ce===void 0?void 0:ce.nativeElement}});const[D,P]=Qt(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),A=!m&&!h&&m!==0,O=ce=>{var ue,fe;P(A?!1:ce),A||((ue=e.onOpenChange)===null||ue===void 0||ue.call(e,ce),(fe=e.onVisibleChange)===null||fe===void 0||fe.call(e,ce))},N=l.useMemo(()=>{var ce,ue;let fe=v;return typeof b=="object"&&(fe=(ue=(ce=b.pointAtCenter)!==null&&ce!==void 0?ce:b.arrowPointAtCenter)!==null&&ue!==void 0?ue:v),y||QH({arrowPointAtCenter:fe,autoAdjustOverflow:S,arrowWidth:w?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[v,b,y,x]),k=l.useMemo(()=>m===0?m:h||m||"",[h,m]),M=l.createElement(di,{space:!0},typeof k=="function"?k():k),{getPopupContainer:L,placement:F="top",mouseEnterDelay:j=.1,mouseLeaveDelay:B=.1,overlayStyle:z,rootClassName:H}=e,U=zce(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Z=I("tooltip",a),q=I(),Y=e["data-popover-inject"];let te=D;!("open"in e)&&!("visible"in e)&&A&&(te=!1);const ee=l.isValidElement(d)&&!w9(d)?d:l.createElement("span",null,d),X=ee.props,ie=!X.className||typeof X.className=="string"?ne(X.className,o||`${Z}-open`):X.className,[re,G,Q]=JH(Z,!Y),ae=tU(Z,c),oe=ae.arrowStyle,de=Object.assign(Object.assign({},u),ae.overlayStyle),ve=ne(s,{[`${Z}-rtl`]:R==="rtl"},ae.className,H,G,Q),[ye,ge]=Qi("Tooltip",U.zIndex),J=l.createElement(Nce,Object.assign({},U,{zIndex:ye,showArrow:w,placement:F,mouseEnterDelay:j,mouseLeaveDelay:B,prefixCls:Z,overlayClassName:ve,overlayStyle:Object.assign(Object.assign({},oe),z),getTooltipContainer:L||i||E,ref:_,builtinPlacements:N,overlay:M,visible:te,onVisibleChange:O,afterVisibleChange:f??p,overlayInnerStyle:de,arrowContent:l.createElement("span",{className:`${Z}-arrow-content`}),motion:{motionName:bo(q,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),te?lr(ee,{className:ie}):ee);return re(l.createElement(Jp.Provider,{value:ge},J))}),rn=Hce;rn._InternalPanelDoNotUseOrYouWillBeFired=Bce;const Uce=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:a,innerPadding:o,boxShadowSecondary:i,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:u,titleMarginBottom:d,colorBgElevated:f,popoverBg:p,titleBorderBottom:g,innerContentPadding:b,titlePadding:m}=e;return[{[t]:Object.assign(Object.assign({},Gt(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":f,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:p,backgroundClip:"padding-box",borderRadius:c,boxShadow:i,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:a,borderBottom:g,padding:m},[`${t}-inner-content`]:{color:n,padding:b}})},l$(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Vce=e=>{const{componentCls:t}=e;return{[t]:hp.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Wce=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:a,wireframe:o,zIndexPopupBase:i,borderRadiusLG:s,marginXS:c,lineType:u,colorSplit:d,paddingSM:f}=e,p=n-r,g=p/2,b=p/2-t,m=a;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:i+30},Gb(e)),qb({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:o?0:12,titleMarginBottom:o?0:c,titlePadding:o?`${g}px ${m}px ${b}px`:0,titleBorderBottom:o?`${t}px ${u} ${d}`:"none",innerContentPadding:o?`${f}px ${m}px`:0})},nU=Kt("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Pt(e,{popoverBg:t,popoverColor:n});return[Uce(r),Vce(r),ig(r,"zoom-big")]},Wce,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var Gce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:l.createElement(l.Fragment,null,t&&l.createElement("div",{className:`${r}-title`},t),n&&l.createElement("div",{className:`${r}-inner-content`},n))},qce=e=>{const{hashId:t,prefixCls:n,className:r,style:a,placement:o="top",title:i,content:s,children:c}=e,u=bv(i),d=bv(s),f=ne(t,n,`${n}-pure`,`${n}-placement-${o}`,r);return l.createElement("div",{className:f,style:a},l.createElement("div",{className:`${n}-arrow`}),l.createElement(s$,Object.assign({},e,{className:t,prefixCls:n}),c||l.createElement(rU,{prefixCls:n,title:u,content:d})))},Kce=e=>{const{prefixCls:t,className:n}=e,r=Gce(e,["prefixCls","className"]),{getPrefixCls:a}=l.useContext(ot),o=a("popover",t),[i,s,c]=nU(o);return i(l.createElement(qce,Object.assign({},r,{prefixCls:o,hashId:s,className:ne(n,c)})))};var Yce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,title:o,content:i,overlayClassName:s,placement:c="top",trigger:u="hover",children:d,mouseEnterDelay:f=.1,mouseLeaveDelay:p=.1,onOpenChange:g,overlayStyle:b={}}=e,m=Yce(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:h}=l.useContext(ot),y=h("popover",a),[v,S,w]=nU(y),x=h(),E=ne(s,S,w),[I,R]=Qt(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),T=(A,O)=>{R(A,!0),g==null||g(A,O)},_=A=>{A.keyCode===Me.ESC&&T(!1,A)},$=A=>{T(A)},D=bv(o),P=bv(i);return v(l.createElement(rn,Object.assign({placement:c,trigger:u,mouseEnterDelay:f,mouseLeaveDelay:p,overlayStyle:b},m,{prefixCls:y,overlayClassName:E,ref:t,open:I,onOpenChange:$,overlay:D||P?l.createElement(rU,{prefixCls:y,title:D,content:P}):null,transitionName:bo(x,"zoom-big",m.transitionName),"data-popover-inject":!0}),lr(d,{onKeyDown:A=>{var O,N;l.isValidElement(d)&&((N=d==null?void 0:(O=d.props).onKeyDown)===null||N===void 0||N.call(O,A)),_(A)}})))}),aU=Xce;aU._InternalPanelDoNotUseOrYouWillBeFired=Kce;var Zce={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"},Qce=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Zce}))},js=l.forwardRef(Qce),Jce=Me.ESC,eue=Me.TAB;function tue(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,o=e.overlayRef,i=l.useRef(!1),s=function(){if(t){var f,p;(f=n.current)===null||f===void 0||(p=f.focus)===null||p===void 0||p.call(f),r==null||r(!1)}},c=function(){var f;return(f=o.current)!==null&&f!==void 0&&f.focus?(o.current.focus(),i.current=!0,!0):!1},u=function(f){switch(f.keyCode){case Jce:s();break;case eue:{var p=!1;i.current||(p=c()),p?f.preventDefault():s();break}}};l.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&Dt(c,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var nue=l.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,a=e.prefixCls,o=l.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),i=Ar(t,o==null?void 0:o.ref);return le.createElement(le.Fragment,null,r&&le.createElement("div",{className:"".concat(a,"-arrow")}),le.cloneElement(o,{ref:Ho(o)?i:void 0}))}),Ac={adjustX:1,adjustY:1},Mc=[0,0],rue={topLeft:{points:["bl","tl"],overflow:Ac,offset:[0,-4],targetOffset:Mc},top:{points:["bc","tc"],overflow:Ac,offset:[0,-4],targetOffset:Mc},topRight:{points:["br","tr"],overflow:Ac,offset:[0,-4],targetOffset:Mc},bottomLeft:{points:["tl","bl"],overflow:Ac,offset:[0,4],targetOffset:Mc},bottom:{points:["tc","bc"],overflow:Ac,offset:[0,4],targetOffset:Mc},bottomRight:{points:["tr","br"],overflow:Ac,offset:[0,4],targetOffset:Mc}},aue=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function oue(e,t){var n,r=e.arrow,a=r===void 0?!1:r,o=e.prefixCls,i=o===void 0?"rc-dropdown":o,s=e.transitionName,c=e.animation,u=e.align,d=e.placement,f=d===void 0?"bottomLeft":d,p=e.placements,g=p===void 0?rue:p,b=e.getPopupContainer,m=e.showAction,h=e.hideAction,y=e.overlayClassName,v=e.overlayStyle,S=e.visible,w=e.trigger,x=w===void 0?["hover"]:w,E=e.autoFocus,I=e.overlay,R=e.children,T=e.onVisibleChange,_=vt(e,aue),$=le.useState(),D=se($,2),P=D[0],A=D[1],O="visible"in e?S:P,N=le.useRef(null),k=le.useRef(null),M=le.useRef(null);le.useImperativeHandle(t,function(){return N.current});var L=function(Y){A(Y),T==null||T(Y)};tue({visible:O,triggerRef:M,onVisibleChange:L,autoFocus:E,overlayRef:k});var F=function(Y){var te=e.onOverlayClick;A(!1),te&&te(Y)},j=function(){return le.createElement(nue,{ref:k,overlay:I,prefixCls:i,arrow:a})},B=function(){return typeof I=="function"?j:j()},z=function(){var Y=e.minOverlayWidthMatchTrigger,te=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?Y:!te},H=function(){var Y=e.openClassName;return Y!==void 0?Y:"".concat(i,"-open")},U=le.cloneElement(R,{className:ne((n=R.props)===null||n===void 0?void 0:n.className,O&&H()),ref:Ho(R)?Ar(M,R.ref):void 0}),Z=h;return!Z&&x.indexOf("contextMenu")!==-1&&(Z=["click"]),le.createElement(ug,be({builtinPlacements:g},_,{prefixCls:i,ref:N,popupClassName:ne(y,V({},"".concat(i,"-show-arrow"),a)),popupStyle:v,action:x,showAction:m,hideAction:Z,popupPlacement:f,popupAlign:u,popupTransitionName:s,popupAnimation:c,popupVisible:O,stretch:z()?"minWidth":"",popup:B(),onPopupVisibleChange:L,onPopupClick:F,getPopupContainer:b}),U)}const oU=le.forwardRef(oue);var iU=l.createContext(null);function sU(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function lU(e){var t=l.useContext(iU);return sU(t,e)}var iue=["children","locked"],Wo=l.createContext(null);function sue(e,t){var n=K({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function Sp(e){var t=e.children,n=e.locked,r=vt(e,iue),a=l.useContext(Wo),o=Ys(function(){return sue(a,r)},[a,r],function(i,s){return!n&&(i[0]!==s[0]||!Uo(i[1],s[1],!0))});return l.createElement(Wo.Provider,{value:o},t)}var lue=[],cU=l.createContext(null);function Kb(){return l.useContext(cU)}var uU=l.createContext(lue);function ad(e){var t=l.useContext(uU);return l.useMemo(function(){return e!==void 0?[].concat($e(t),[e]):t},[t,e])}var dU=l.createContext(null),c$=l.createContext({});function Y3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(td(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),o=Number(a),i=null;return a&&!Number.isNaN(o)?i=o:r&&i===null&&(i=0),r&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function cue(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=$e(e.querySelectorAll("*")).filter(function(r){return Y3(r,t)});return Y3(e,t)&&n.unshift(e),n}var ET=Me.LEFT,IT=Me.RIGHT,TT=Me.UP,wh=Me.DOWN,Ch=Me.ENTER,fU=Me.ESC,Fd=Me.HOME,jd=Me.END,X3=[TT,wh,ET,IT];function uue(e,t,n,r){var a,o,i,s,c="prev",u="next",d="children",f="parent";if(e==="inline"&&r===Ch)return{inlineTrigger:!0};var p=(a={},V(a,TT,c),V(a,wh,u),a),g=(o={},V(o,ET,n?u:c),V(o,IT,n?c:u),V(o,wh,d),V(o,Ch,d),o),b=(i={},V(i,TT,c),V(i,wh,u),V(i,Ch,d),V(i,fU,f),V(i,ET,n?d:f),V(i,IT,n?f:d),i),m={inline:p,horizontal:g,vertical:b,inlineSub:p,horizontalSub:b,verticalSub:b},h=(s=m["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[r];switch(h){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function due(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function fue(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function u$(e,t){var n=cue(e,!0);return n.filter(function(r){return t.has(r)})}function Z3(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=u$(e,t),o=a.length,i=a.findIndex(function(s){return n===s});return r<0?i===-1?i=o-1:i-=1:r>0&&(i+=1),i=(i+o)%o,a[i]}var RT=function(t,n){var r=new Set,a=new Map,o=new Map;return t.forEach(function(i){var s=document.querySelector("[data-menu-id='".concat(sU(n,i),"']"));s&&(r.add(s),o.set(s,i),a.set(i,s))}),{elements:r,key2element:a,element2key:o}};function pue(e,t,n,r,a,o,i,s,c,u){var d=l.useRef(),f=l.useRef();f.current=t;var p=function(){Dt.cancel(d.current)};return l.useEffect(function(){return function(){p()}},[]),function(g){var b=g.which;if([].concat(X3,[Ch,fU,Fd,jd]).includes(b)){var m=o(),h=RT(m,r),y=h,v=y.elements,S=y.key2element,w=y.element2key,x=S.get(t),E=fue(x,v),I=w.get(E),R=uue(e,i(I,!0).length===1,n,b);if(!R&&b!==Fd&&b!==jd)return;(X3.includes(b)||[Fd,jd].includes(b))&&g.preventDefault();var T=function(k){if(k){var M=k,L=k.querySelector("a");L!=null&&L.getAttribute("href")&&(M=L);var F=w.get(k);s(F),p(),d.current=Dt(function(){f.current===F&&M.focus()})}};if([Fd,jd].includes(b)||R.sibling||!E){var _;!E||e==="inline"?_=a.current:_=due(E);var $,D=u$(_,v);b===Fd?$=D[0]:b===jd?$=D[D.length-1]:$=Z3(_,v,E,R.offset),T($)}else if(R.inlineTrigger)c(I);else if(R.offset>0)c(I,!0),p(),d.current=Dt(function(){h=RT(m,r);var N=E.getAttribute("aria-controls"),k=document.getElementById(N),M=Z3(k,h.elements);T(M)},5);else if(R.offset<0){var P=i(I,!0),A=P[P.length-2],O=S.get(A);c(A,!1),T(O)}}u==null||u(g)}}function gue(e){Promise.resolve().then(e)}var d$="__RC_UTIL_PATH_SPLIT__",Q3=function(t){return t.join(d$)},mue=function(t){return t.split(d$)},_T="rc-menu-more";function hue(){var e=l.useState({}),t=se(e,2),n=t[1],r=l.useRef(new Map),a=l.useRef(new Map),o=l.useState([]),i=se(o,2),s=i[0],c=i[1],u=l.useRef(0),d=l.useRef(!1),f=function(){d.current||n({})},p=l.useCallback(function(S,w){var x=Q3(w);a.current.set(x,S),r.current.set(S,x),u.current+=1;var E=u.current;gue(function(){E===u.current&&f()})},[]),g=l.useCallback(function(S,w){var x=Q3(w);a.current.delete(x),r.current.delete(S)},[]),b=l.useCallback(function(S){c(S)},[]),m=l.useCallback(function(S,w){var x=r.current.get(S)||"",E=mue(x);return w&&s.includes(E[0])&&E.unshift(_T),E},[s]),h=l.useCallback(function(S,w){return S.filter(function(x){return x!==void 0}).some(function(x){var E=m(x,!0);return E.includes(w)})},[m]),y=function(){var w=$e(r.current.keys());return s.length&&w.push(_T),w},v=l.useCallback(function(S){var w="".concat(r.current.get(S)).concat(d$),x=new Set;return $e(a.current.keys()).forEach(function(E){E.startsWith(w)&&x.add(a.current.get(E))}),x},[]);return l.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:p,unregisterPath:g,refreshOverflowKeys:b,isSubPathKey:h,getKeyPath:m,getKeys:y,getSubPathKeys:v}}function tf(e){var t=l.useRef(e);t.current=e;var n=l.useCallback(function(){for(var r,a=arguments.length,o=new Array(a),i=0;i1&&(v.motionAppear=!1);var S=v.onVisibleChanged;return v.onVisibleChanged=function(w){return!p.current&&!w&&h(!0),S==null?void 0:S(w)},m?null:l.createElement(Sp,{mode:o,locked:!p.current},l.createElement(Wr,be({visible:y},v,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(w){var x=w.className,E=w.style;return l.createElement(f$,{id:t,className:x,style:E},a)}))}var Aue=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Mue=["active"],Due=l.forwardRef(function(e,t){var n,r=e.style,a=e.className,o=e.title,i=e.eventKey;e.warnKey;var s=e.disabled,c=e.internalPopupClose,u=e.children,d=e.itemIcon,f=e.expandIcon,p=e.popupClassName,g=e.popupOffset,b=e.popupStyle,m=e.onClick,h=e.onMouseEnter,y=e.onMouseLeave,v=e.onTitleClick,S=e.onTitleMouseEnter,w=e.onTitleMouseLeave,x=vt(e,Aue),E=lU(i),I=l.useContext(Wo),R=I.prefixCls,T=I.mode,_=I.openKeys,$=I.disabled,D=I.overflowDisabled,P=I.activeKey,A=I.selectedKeys,O=I.itemIcon,N=I.expandIcon,k=I.onItemClick,M=I.onOpenChange,L=I.onActive,F=l.useContext(c$),j=F._internalRenderSubMenuItem,B=l.useContext(dU),z=B.isSubPathKey,H=ad(),U="".concat(R,"-submenu"),Z=$||s,q=l.useRef(),Y=l.useRef(),te=d??O,ee=f??N,X=_.includes(i),ie=!D&&X,re=z(A,i),G=pU(i,Z,S,w),Q=G.active,ae=vt(G,Mue),oe=l.useState(!1),de=se(oe,2),ve=de[0],ye=de[1],ge=function(Ce){Z||ye(Ce)},J=function(Ce){ge(!0),h==null||h({key:i,domEvent:Ce})},ce=function(Ce){ge(!1),y==null||y({key:i,domEvent:Ce})},ue=l.useMemo(function(){return Q||(T!=="inline"?ve||z([P],i):!1)},[T,Q,P,ve,i,z]),fe=gU(H.length),pe=function(Ce){Z||(v==null||v({key:i,domEvent:Ce}),T==="inline"&&M(i,!X))},xe=tf(function(_e){m==null||m(yv(_e)),k(_e)}),Te=function(Ce){T!=="inline"&&M(i,Ce)},Pe=function(){L(i)},ke=E&&"".concat(E,"-popup"),Ue=l.createElement("div",be({role:"menuitem",style:fe,className:"".concat(U,"-title"),tabIndex:Z?null:-1,ref:q,title:typeof o=="string"?o:null,"data-menu-id":D&&E?null:E,"aria-expanded":ie,"aria-haspopup":!0,"aria-controls":ke,"aria-disabled":Z,onClick:pe,onFocus:Pe},ae),o,l.createElement(mU,{icon:T!=="horizontal"?ee:void 0,props:K(K({},e),{},{isOpen:ie,isSubMenu:!0})},l.createElement("i",{className:"".concat(U,"-arrow")}))),Be=l.useRef(T);if(T!=="inline"&&H.length>1?Be.current="vertical":Be.current=T,!D){var De=Be.current;Ue=l.createElement(Nue,{mode:De,prefixCls:U,visible:!c&&ie&&T!=="inline",popupClassName:p,popupOffset:g,popupStyle:b,popup:l.createElement(Sp,{mode:De==="horizontal"?"vertical":De},l.createElement(f$,{id:ke,ref:Y},u)),disabled:Z,onVisibleChange:Te},Ue)}var Se=l.createElement(Bo.Item,be({ref:t,role:"none"},x,{component:"li",style:r,className:ne(U,"".concat(U,"-").concat(T),a,(n={},V(n,"".concat(U,"-open"),ie),V(n,"".concat(U,"-active"),ue),V(n,"".concat(U,"-selected"),re),V(n,"".concat(U,"-disabled"),Z),n)),onMouseEnter:J,onMouseLeave:ce}),Ue,!D&&l.createElement(kue,{id:ke,open:ie,keyPath:H},u));return j&&(Se=j(Se,e,{selected:re,active:ue,open:ie,disabled:Z})),l.createElement(Sp,{onItemClick:xe,mode:T==="horizontal"?"vertical":T,itemIcon:te,expandIcon:ee},Se)}),Yb=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=ad(n),o=p$(r,a),i=Kb();l.useEffect(function(){if(i)return i.registerPath(n,a),function(){i.unregisterPath(n,a)}},[a]);var s;return i?s=o:s=l.createElement(Due,be({ref:t},e),o),l.createElement(uU.Provider,{value:a},s)});function g$(e){var t=e.className,n=e.style,r=l.useContext(Wo),a=r.prefixCls,o=Kb();return o?null:l.createElement("li",{role:"separator",className:ne("".concat(a,"-item-divider"),t),style:n})}var Pue=["className","title","eventKey","children"],Lue=l.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var a=e.children,o=vt(e,Pue),i=l.useContext(Wo),s=i.prefixCls,c="".concat(s,"-item-group");return l.createElement("li",be({ref:t,role:"presentation"},o,{onClick:function(d){return d.stopPropagation()},className:ne(c,n)}),l.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:typeof r=="string"?r:void 0},r),l.createElement("ul",{role:"group",className:"".concat(c,"-list")},a))}),m$=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=ad(n),o=p$(r,a),i=Kb();return i?o:l.createElement(Lue,be({ref:t},gn(e,["warnKey"])),o)}),Fue=["label","children","key","type"];function $T(e,t){var n=t.item,r=t.group,a=t.submenu,o=t.divider;return(e||[]).map(function(i,s){if(i&&ft(i)==="object"){var c=i,u=c.label,d=c.children,f=c.key,p=c.type,g=vt(c,Fue),b=f??"tmp-".concat(s);return d||p==="group"?p==="group"?l.createElement(r,be({key:b},g,{title:u}),$T(d,t)):l.createElement(a,be({key:b},g,{title:u}),$T(d,t)):p==="divider"?l.createElement(o,be({key:b},g)):l.createElement(n,be({key:b},g),u)}return null}).filter(function(i){return i})}function eM(e,t,n,r){var a=e,o=K({divider:g$,item:dg,group:m$,submenu:Yb},r);return t&&(a=$T(t,o)),p$(a,n)}var jue=["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","_internalComponents"],il=[],Bue=l.forwardRef(function(e,t){var n,r,a=e,o=a.prefixCls,i=o===void 0?"rc-menu":o,s=a.rootClassName,c=a.style,u=a.className,d=a.tabIndex,f=d===void 0?0:d,p=a.items,g=a.children,b=a.direction,m=a.id,h=a.mode,y=h===void 0?"vertical":h,v=a.inlineCollapsed,S=a.disabled,w=a.disabledOverflow,x=a.subMenuOpenDelay,E=x===void 0?.1:x,I=a.subMenuCloseDelay,R=I===void 0?.1:I,T=a.forceSubMenuRender,_=a.defaultOpenKeys,$=a.openKeys,D=a.activeKey,P=a.defaultActiveFirst,A=a.selectable,O=A===void 0?!0:A,N=a.multiple,k=N===void 0?!1:N,M=a.defaultSelectedKeys,L=a.selectedKeys,F=a.onSelect,j=a.onDeselect,B=a.inlineIndent,z=B===void 0?24:B,H=a.motion,U=a.defaultMotions,Z=a.triggerSubMenuAction,q=Z===void 0?"hover":Z,Y=a.builtinPlacements,te=a.itemIcon,ee=a.expandIcon,X=a.overflowedIndicator,ie=X===void 0?"...":X,re=a.overflowedIndicatorPopupClassName,G=a.getPopupContainer,Q=a.onClick,ae=a.onOpenChange,oe=a.onKeyDown;a.openAnimation,a.openTransitionName;var de=a._internalRenderMenuItem,ve=a._internalRenderSubMenuItem,ye=a._internalComponents,ge=vt(a,jue),J=l.useMemo(function(){return[eM(g,p,il,ye),eM(g,p,il,{})]},[g,p,ye]),ce=se(J,2),ue=ce[0],fe=ce[1],pe=l.useState(!1),xe=se(pe,2),Te=xe[0],Pe=xe[1],ke=l.useRef(),Ue=bue(m),Be=b==="rtl",De=Qt(_,{value:$,postState:function(kt){return kt||il}}),Se=se(De,2),_e=Se[0],Ce=Se[1],Re=function(kt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function gt(){Ce(kt),ae==null||ae(kt)}At?Sr.flushSync(gt):gt()},he=l.useState(_e),Ee=se(he,2),je=Ee[0],Ae=Ee[1],Ne=l.useRef(!1),ze=l.useMemo(function(){return(y==="inline"||y==="vertical")&&v?["vertical",v]:[y,!1]},[y,v]),qe=se(ze,2),Le=qe[0],Ke=qe[1],Je=Le==="inline",Xe=l.useState(Le),ut=se(Xe,2),pt=ut[0],We=ut[1],Ze=l.useState(Ke),Ye=se(Ze,2),at=Ye[0],wt=Ye[1];l.useEffect(function(){We(Le),wt(Ke),Ne.current&&(Je?Ce(je):Re(il))},[Le,Ke]);var Ct=l.useState(0),Ot=se(Ct,2),dt=Ot[0],it=Ot[1],Qe=dt>=ue.length-1||pt!=="horizontal"||w;l.useEffect(function(){Je&&Ae(_e)},[_e]),l.useEffect(function(){return Ne.current=!0,function(){Ne.current=!1}},[]);var st=hue(),St=st.registerPath,et=st.unregisterPath,Ie=st.refreshOverflowKeys,we=st.isSubPathKey,Oe=st.getKeyPath,He=st.getKeys,Fe=st.getSubPathKeys,Ve=l.useMemo(function(){return{registerPath:St,unregisterPath:et}},[St,et]),tt=l.useMemo(function(){return{isSubPathKey:we}},[we]);l.useEffect(function(){Ie(Qe?il:ue.slice(dt+1).map(function(Bt){return Bt.key}))},[dt,Qe]);var bt=Qt(D||P&&((n=ue[0])===null||n===void 0?void 0:n.key),{value:D}),xt=se(bt,2),Wt=xt[0],Yt=xt[1],Vt=tf(function(Bt){Yt(Bt)}),en=tf(function(){Yt(void 0)});l.useImperativeHandle(t,function(){return{list:ke.current,focus:function(kt){var At,gt=He(),mt=RT(gt,Ue),nn=mt.elements,bn=mt.key2element,qn=mt.element2key,tr=u$(ke.current,nn),Lr=Wt??(tr[0]?qn.get(tr[0]):(At=ue.find(function(nt){return!nt.props.disabled}))===null||At===void 0?void 0:At.key),jt=bn.get(Lr);if(Lr&&jt){var Mt;jt==null||(Mt=jt.focus)===null||Mt===void 0||Mt.call(jt,kt)}}}});var ht=Qt(M||[],{value:L,postState:function(kt){return Array.isArray(kt)?kt:kt==null?il:[kt]}}),yt=se(ht,2),Tt=yt[0],mn=yt[1],Gn=function(kt){if(O){var At=kt.key,gt=Tt.includes(At),mt;k?gt?mt=Tt.filter(function(bn){return bn!==At}):mt=[].concat($e(Tt),[At]):mt=[At],mn(mt);var nn=K(K({},kt),{},{selectedKeys:mt});gt?j==null||j(nn):F==null||F(nn)}!k&&_e.length&&pt!=="inline"&&Re(il)},hr=tf(function(Bt){Q==null||Q(yv(Bt)),Gn(Bt)}),Ir=tf(function(Bt,kt){var At=_e.filter(function(mt){return mt!==Bt});if(kt)At.push(Bt);else if(pt!=="inline"){var gt=Fe(Bt);At=At.filter(function(mt){return!gt.has(mt)})}Uo(_e,At,!0)||Re(At,!0)}),oa=function(kt,At){var gt=At??!_e.includes(kt);Ir(kt,gt)},Pr=pue(pt,Wt,Be,Ue,ke,He,Oe,Yt,oa,oe);l.useEffect(function(){Pe(!0)},[]);var er=l.useMemo(function(){return{_internalRenderMenuItem:de,_internalRenderSubMenuItem:ve}},[de,ve]),Ht=pt!=="horizontal"||w?ue:ue.map(function(Bt,kt){return l.createElement(Sp,{key:Bt.key,overflowDisabled:kt>dt},Bt)}),Nt=l.createElement(Bo,be({id:m,ref:ke,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:dg,className:ne(i,"".concat(i,"-root"),"".concat(i,"-").concat(pt),u,(r={},V(r,"".concat(i,"-inline-collapsed"),at),V(r,"".concat(i,"-rtl"),Be),r),s),dir:b,style:c,role:"menu",tabIndex:f,data:Ht,renderRawItem:function(kt){return kt},renderRawRest:function(kt){var At=kt.length,gt=At?ue.slice(-At):null;return l.createElement(Yb,{eventKey:_T,title:ie,disabled:Qe,internalPopupClose:At===0,popupClassName:re},gt)},maxCount:pt!=="horizontal"||w?Bo.INVALIDATE:Bo.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(kt){it(kt)},onKeyDown:Pr},ge));return l.createElement(c$.Provider,{value:er},l.createElement(iU.Provider,{value:Ue},l.createElement(Sp,{prefixCls:i,rootClassName:s,mode:pt,openKeys:_e,rtl:Be,disabled:S,motion:Te?H:null,defaultMotions:Te?U:null,activeKey:Wt,onActive:Vt,onInactive:en,selectedKeys:Tt,inlineIndent:z,subMenuOpenDelay:E,subMenuCloseDelay:R,forceSubMenuRender:T,builtinPlacements:Y,triggerSubMenuAction:q,getPopupContainer:G,itemIcon:te,expandIcon:ee,onItemClick:hr,onOpenChange:Ir},l.createElement(dU.Provider,{value:tt},Nt),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(cU.Provider,{value:Ve},fe)))))}),od=Bue;od.Item=dg;od.SubMenu=Yb;od.ItemGroup=m$;od.Divider=g$;var zue={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Hue=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:zue}))},Uue=l.forwardRef(Hue),Vue={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"},Wue=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Vue}))},wp=l.forwardRef(Wue);const Gue=e=>!isNaN(parseFloat(e))&&isFinite(e),vU=l.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var que=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Zb=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:a,children:o,defaultCollapsed:i=!1,theme:s="dark",style:c={},collapsible:u=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:p=80,zeroWidthTriggerStyle:g,breakpoint:b,onCollapse:m,onBreakpoint:h}=e,y=que(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:v}=l.useContext(vU),[S,w]=l.useState("collapsed"in e?e.collapsed:i),[x,E]=l.useState(!1);l.useEffect(()=>{"collapsed"in e&&w(e.collapsed)},[e.collapsed]);const I=(P,A)=>{"collapsed"in e||w(P),m==null||m(P,A)},R=l.useRef();R.current=P=>{E(P.matches),h==null||h(P.matches),S!==P.matches&&I(P.matches,"responsive")},l.useEffect(()=>{function P(O){return R.current(O)}let A;if(typeof window<"u"){const{matchMedia:O}=window;if(O&&b&&b in tM){A=O(`screen and (max-width: ${tM[b]})`);try{A.addEventListener("change",P)}catch{A.addListener(P)}P(A)}}return()=>{try{A==null||A.removeEventListener("change",P)}catch{A==null||A.removeListener(P)}}},[b]),l.useEffect(()=>{const P=Kue("ant-sider-");return v.addSider(P),()=>v.removeSider(P)},[]);const T=()=>{I(!S,"clickTrigger")},{getPrefixCls:_}=l.useContext(ot),$=()=>{const P=_("layout-sider",n),A=gn(y,["collapsed"]),O=S?p:f,N=Gue(O)?`${O}px`:String(O),k=parseFloat(String(p||0))===0?l.createElement("span",{onClick:T,className:ne(`${P}-zero-width-trigger`,`${P}-zero-width-trigger-${d?"right":"left"}`),style:g},a||l.createElement(Uue,null)):null,F={expanded:d?l.createElement(js,null):l.createElement(wp,null),collapsed:d?l.createElement(wp,null):l.createElement(js,null)}[S?"collapsed":"expanded"],j=a!==null?k||l.createElement("div",{className:`${P}-trigger`,onClick:T,style:{width:N}},a||F):null,B=Object.assign(Object.assign({},c),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),z=ne(P,`${P}-${s}`,{[`${P}-collapsed`]:!!S,[`${P}-has-trigger`]:u&&a!==null&&!k,[`${P}-below`]:!!x,[`${P}-zero-width`]:parseFloat(N)===0},r);return l.createElement("aside",Object.assign({className:z},A,{style:B,ref:t}),l.createElement("div",{className:`${P}-children`},o),u||x&&k?j:null)},D=l.useMemo(()=>({siderCollapsed:S}),[S]);return l.createElement(Xb.Provider,{value:D},$())});var Yue={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"},Xue=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Yue}))},h$=l.forwardRef(Xue);const Sv=l.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var Zue=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,dashed:r}=e,a=Zue(e,["prefixCls","className","dashed"]),{getPrefixCls:o}=l.useContext(ot),i=o("menu",t),s=ne({[`${i}-item-divider-dashed`]:!!r},n);return l.createElement(g$,Object.assign({className:s},a))},yU=e=>{var t;const{className:n,children:r,icon:a,title:o,danger:i}=e,{prefixCls:s,firstLevel:c,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=l.useContext(Sv),p=v=>{const S=l.createElement("span",{className:`${s}-title-content`},r);return(!a||l.isValidElement(r)&&r.type==="span")&&r&&v&&c&&typeof r=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):S},{siderCollapsed:g}=l.useContext(Xb);let b=o;typeof o>"u"?b=c?r:"":o===!1&&(b="");const m={title:b};!g&&!f&&(m.title=null,m.open=!1);const h=or(r).length;let y=l.createElement(dg,Object.assign({},gn(e,["title","icon","danger"]),{className:ne({[`${s}-item-danger`]:i,[`${s}-item-only-child`]:(a?h+1:h)===1},n),title:typeof o=="string"?o:void 0}),lr(a,{className:ne(l.isValidElement(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),p(f));return d||(y=l.createElement(rn,Object.assign({},m,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),y)),y};var Que=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{children:n}=e,r=Que(e,["children"]),a=l.useContext(wv),o=l.useMemo(()=>Object.assign(Object.assign({},a),r),[a,r.prefixCls,r.mode,r.selectable,r.rootClassName]),i=OJ(n),s=Zi(t,i?n.ref:null);return l.createElement(wv.Provider,{value:o},l.createElement(di,{space:!0},i?l.cloneElement(n,{ref:s}):n))}),Jue=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:a,lineWidth:o,lineType:i,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${W(o)} ${i} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},oS(Pt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const lce=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:o,controlHeightLG:i,paddingXXS:s,controlPaddingHorizontal:c,zIndexPopupBase:u,colorText:d,fontWeightStrong:f,controlItemBgActive:p,controlItemBgHover:g,colorBgContainer:v,colorFillSecondary:m,colorBgContainerDisabled:h,colorTextDisabled:y}=e,b=s*2,S=r*2,w=Math.min(a-b,a-S),x=Math.min(o-b,o-S),E=Math.min(i-b,i-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:f,optionSelectedBg:p,optionActiveBg:g,optionPadding:`${(a-t*n)/2}px ${c}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:v,clearBg:v,singleItemHeightLG:i,multipleItemBg:m,multipleItemBorderColor:"transparent",multipleItemHeight:w,multipleItemHeightSM:x,multipleItemHeightLG:E,multipleSelectorBgDisabled:h,multipleItemColorDisabled:y,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},VH=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${W(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${W(a)} ${t.activeShadowColor}`,outline:0}}}},G3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},VH(e,t))}),cce=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},VH(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),G3(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),G3(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeShadowColor:e.colorWarningOutline})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),WH=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${W(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},q3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},WH(e,t))}),uce=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},WH(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),q3(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),q3(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),dce=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",borderColor:"transparent"},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),fce=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},cce(e)),uce(e)),dce(e))}),pce=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},gce=e=>{const{componentCls:t}=e;return{[`${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"}}}},mce=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},Gt(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},pce(e)),gce(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},vo),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},vo),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Qu()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[a]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},"&:hover":{[`${n}-clear`]:{opacity:1},[`${n}-arrow:not(:last-child)`]:{opacity:0}}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},hce=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},mce(e),sce(e),ice(e),rce(e),{[`${t}-rtl`]:{direction:"rtl"}},ng(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},GH=Kt("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Pt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[hce(r),fce(r)]},lce,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var vce={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"},bce=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:vce}))},Ub=l.forwardRef(bce),yce={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"},Sce=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:yce}))},Vb=l.forwardRef(Sce),wce={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},Cce=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:wce}))},a$=l.forwardRef(Cce);function o$(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:a,loading:o,multiple:i,hasFeedback:s,prefixCls:c,showSuffixIcon:u,feedbackIcon:d,showArrow:f,componentName:p}=e;const g=n??l.createElement(ic,null),v=b=>t===null&&!s&&!f?null:l.createElement(l.Fragment,null,u!==!1&&b,s&&d);let m=null;if(t!==void 0)m=v(t);else if(o)m=v(l.createElement(Wi,{spin:!0}));else{const b=`${c}-suffix`;m=S=>{let{open:w,showSearch:x}=S;return v(w&&x?l.createElement(a$,{className:b}):l.createElement(Vb,{className:b}))}}let h=null;r!==void 0?h=r:i?h=l.createElement(Ub,null):h=null;let y=null;return a!==void 0?y=a:y=l.createElement(da,null),{clearIcon:g,suffixIcon:m,itemIcon:h,removeIcon:y}}function qH(e,t){return t!==void 0?t:e!==null}var xce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a,className:o,rootClassName:i,getPopupContainer:s,popupClassName:c,dropdownClassName:u,listHeight:d=256,placement:f,listItemHeight:p,size:g,disabled:v,notFoundContent:m,status:h,builtinPlacements:y,dropdownMatchSelectWidth:b,popupMatchSelectWidth:S,direction:w,style:x,allowClear:E,variant:I,dropdownStyle:R,transitionName:T,tagRender:_,maxCount:$}=e,D=xce(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount"]),{getPopupContainer:P,getPrefixCls:A,renderEmpty:O,direction:N,virtual:k,popupMatchSelectWidth:M,popupOverflow:L,select:F}=l.useContext(ot),[,j]=Mr(),B=p??(j==null?void 0:j.controlHeight),z=A("select",r),H=A(),U=w??N,{compactSize:Z,compactItemClassnames:q}=Ji(z,U),[Y,ee]=sc("select",I,a),te=Vn(z),[X,ie,re]=GH(z,te),G=l.useMemo(()=>{const{mode:Re}=e;if(Re!=="combobox")return Re===KH?"combobox":Re},[e.mode]),Q=G==="multiple"||G==="tags",ae=qH(e.suffixIcon,e.showArrow),oe=(n=S??b)!==null&&n!==void 0?n:M,{status:de,hasFeedback:ve,isFormItemInput:ye,feedbackIcon:ge}=l.useContext(Er),J=Js(de,h);let ce;m!==void 0?ce=m:G==="combobox"?ce=null:ce=(O==null?void 0:O("Select"))||l.createElement(Hb,{componentName:"Select"});const{suffixIcon:ue,itemIcon:fe,removeIcon:pe,clearIcon:xe}=o$(Object.assign(Object.assign({},D),{multiple:Q,hasFeedback:ve,feedbackIcon:ge,showSuffixIcon:ae,prefixCls:z,componentName:"Select"})),Te=E===!0?{clearIcon:xe}:E,Pe=gn(D,["suffixIcon","itemIcon"]),ke=ne(c||u,{[`${z}-dropdown-${U}`]:U==="rtl"},i,re,te,ie),Ue=cr(Re=>{var he;return(he=g??Z)!==null&&he!==void 0?he:Re}),Be=l.useContext(Vr),De=v??Be,Se=ne({[`${z}-lg`]:Ue==="large",[`${z}-sm`]:Ue==="small",[`${z}-rtl`]:U==="rtl",[`${z}-${Y}`]:ee,[`${z}-in-form-item`]:ye},Ki(z,J,ve),q,F==null?void 0:F.className,o,i,re,te,ie),_e=l.useMemo(()=>f!==void 0?f:U==="rtl"?"bottomRight":"bottomLeft",[f,U]),[Ce]=Qi("SelectLike",R==null?void 0:R.zIndex);return X(l.createElement(r$,Object.assign({ref:t,virtual:k,showSearch:F==null?void 0:F.showSearch},Pe,{style:Object.assign(Object.assign({},F==null?void 0:F.style),x),dropdownMatchSelectWidth:oe,transitionName:bo(H,"slide-up",T),builtinPlacements:zH(y,L),listHeight:d,listItemHeight:B,mode:G,prefixCls:z,placement:_e,direction:U,suffixIcon:ue,menuItemSelectedIcon:fe,removeIcon:pe,allowClear:Te,notFoundContent:ce,className:Se,getPopupContainer:s||P,dropdownClassName:ke,disabled:De,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Ce}),maxCount:Q?$:void 0,tagRender:Q?_:void 0})))},mr=l.forwardRef(Ece),Ice=lg(mr);mr.SECRET_COMBOBOX_MODE_DO_NOT_USE=KH;mr.Option=n$;mr.OptGroup=t$;mr._InternalPanelDoNotUseOrYouWillBeFired=Ice;const Yl=["xxl","xl","lg","md","sm","xs"],Tce=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Rce=e=>{const t=e,n=[].concat(Yl).reverse();return n.forEach((r,a)=>{const o=r.toUpperCase(),i=`screen${o}Min`,s=`screen${o}`;if(!(t[i]<=t[s]))throw new Error(`${i}<=${s} fails : !(${t[i]}<=${t[s]})`);if(a{const n=new Map;let r=-1,a={};return{matchHandlers:{},dispatch(o){return a=o,n.forEach(i=>i(a)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(a),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const i=t[o],s=this.matchHandlers[i];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const i=t[o],s=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},a),{[o]:d}))},c=window.matchMedia(i);c.addListener(s),this.matchHandlers[i]={mql:c,listener:s},s(c)})},responsiveMap:t}},[e])}function i$(){const[,e]=l.useReducer(t=>t+1,0);return e}function Wb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=l.useRef({}),n=i$(),r=YH();return zt(()=>{const a=r.subscribe(o=>{t.current=o,e&&n()});return()=>r.unsubscribe(a)},[]),t.current}const bv=e=>e?typeof e=="function"?e():e:null;function s$(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,o=e.className,i=e.style;return l.createElement("div",{className:ne("".concat(n,"-content"),o),style:i},l.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},typeof t=="function"?t():t))}var Nc={shiftX:64,adjustY:1},kc={adjustX:1,shiftY:!0},to=[0,0],_ce={left:{points:["cr","cl"],overflow:kc,offset:[-4,0],targetOffset:to},right:{points:["cl","cr"],overflow:kc,offset:[4,0],targetOffset:to},top:{points:["bc","tc"],overflow:Nc,offset:[0,-4],targetOffset:to},bottom:{points:["tc","bc"],overflow:Nc,offset:[0,4],targetOffset:to},topLeft:{points:["bl","tl"],overflow:Nc,offset:[0,-4],targetOffset:to},leftTop:{points:["tr","tl"],overflow:kc,offset:[-4,0],targetOffset:to},topRight:{points:["br","tr"],overflow:Nc,offset:[0,-4],targetOffset:to},rightTop:{points:["tl","tr"],overflow:kc,offset:[4,0],targetOffset:to},bottomRight:{points:["tr","br"],overflow:Nc,offset:[0,4],targetOffset:to},rightBottom:{points:["bl","br"],overflow:kc,offset:[4,0],targetOffset:to},bottomLeft:{points:["tl","bl"],overflow:Nc,offset:[0,4],targetOffset:to},leftBottom:{points:["br","bl"],overflow:kc,offset:[-4,0],targetOffset:to}},$ce=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Oce=function(t,n){var r=t.overlayClassName,a=t.trigger,o=a===void 0?["hover"]:a,i=t.mouseEnterDelay,s=i===void 0?0:i,c=t.mouseLeaveDelay,u=c===void 0?.1:c,d=t.overlayStyle,f=t.prefixCls,p=f===void 0?"rc-tooltip":f,g=t.children,v=t.onVisibleChange,m=t.afterVisibleChange,h=t.transitionName,y=t.animation,b=t.motion,S=t.placement,w=S===void 0?"right":S,x=t.align,E=x===void 0?{}:x,I=t.destroyTooltipOnHide,R=I===void 0?!1:I,T=t.defaultVisible,_=t.getTooltipContainer,$=t.overlayInnerStyle;t.arrowContent;var D=t.overlay,P=t.id,A=t.showArrow,O=A===void 0?!0:A,N=vt(t,$ce),k=l.useRef(null);l.useImperativeHandle(n,function(){return k.current});var M=K({},N);"visible"in t&&(M.popupVisible=t.visible);var L=function(){return l.createElement(s$,{key:"content",prefixCls:p,id:P,overlayInnerStyle:$},D)};return l.createElement(ug,be({popupClassName:r,prefixCls:p,popup:L,action:o,builtinPlacements:_ce,popupPlacement:w,ref:k,popupAlign:E,getPopupContainer:_,onPopupVisibleChange:v,afterPopupVisibleChange:m,popupTransitionName:h,popupAnimation:y,popupMotion:b,defaultPopupVisible:T,autoDestroy:R,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:O},M),g)};const Nce=l.forwardRef(Oce);function Gb(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,a=t/2,o=0,i=a,s=r*1/Math.sqrt(2),c=a-r*(1-1/Math.sqrt(2)),u=a-n*(1/Math.sqrt(2)),d=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),f=2*a-u,p=d,g=2*a-s,v=c,m=2*a-o,h=i,y=a*Math.sqrt(2)+r*(Math.sqrt(2)-2),b=r*(Math.sqrt(2)-1),S=`polygon(${b}px 100%, 50% ${b}px, ${2*a-b}px 100%, ${b}px 100%)`,w=`path('M ${o} ${i} A ${r} ${r} 0 0 0 ${s} ${c} L ${u} ${d} A ${n} ${n} 0 0 1 ${f} ${p} L ${g} ${v} A ${r} ${r} 0 0 0 ${m} ${h} Z')`;return{arrowShadowWidth:y,arrowPath:w,arrowPolygon:S}}const XH=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:a,arrowPath:o,arrowShadowWidth:i,borderRadiusXS:s,calc:c}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:c(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[a,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:i,height:i,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${W(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},ZH=8;function qb(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?ZH:r}}function vm(e,t){return e?t:{}}function l$(e,t,n){const{componentCls:r,boxShadowPopoverArrow:a,arrowOffsetVertical:o,arrowOffsetHorizontal:i}=e,{arrowDistance:s=0,arrowPlacement:c={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},XH(e,t,a)),{"&:before":{background:t}})]},vm(!!c.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${W(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),vm(!!c.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":i,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:i}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${W(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),vm(!!c.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:o},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:o}})),vm(!!c.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:o},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:o}}))}}function kce(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const a=r&&typeof r=="object"?r:{},o={};switch(e){case"top":case"bottom":o.shiftX=t.arrowOffsetHorizontal*2+n,o.shiftY=!0,o.adjustY=!0;break;case"left":case"right":o.shiftY=t.arrowOffsetVertical*2+n,o.shiftX=!0,o.adjustX=!0;break}const i=Object.assign(Object.assign({},o),a);return i.shiftX||(i.adjustX=!0),i.shiftY||(i.adjustY=!0),i}const K3={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"]}},Ace={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"]}},Mce=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function QH(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:a,borderRadius:o,visibleFirst:i}=e,s=t/2,c={};return Object.keys(K3).forEach(u=>{const d=r&&Ace[u]||K3[u],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=f,Mce.has(u)&&(f.autoArrow=!1),u){case"top":case"topLeft":case"topRight":f.offset[1]=-s-a;break;case"bottom":case"bottomLeft":case"bottomRight":f.offset[1]=s+a;break;case"left":case"leftTop":case"leftBottom":f.offset[0]=-s-a;break;case"right":case"rightTop":case"rightBottom":f.offset[0]=s+a;break}const p=qb({contentRadius:o,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":f.offset[0]=-p.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":f.offset[0]=p.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":f.offset[1]=-p.arrowOffsetHorizontal-s;break;case"leftBottom":case"rightBottom":f.offset[1]=p.arrowOffsetHorizontal+s;break}f.overflow=kce(u,p,t,n),i&&(f.htmlRegion="visibleFirst")}),c}const Dce=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:o,zIndexPopup:i,controlHeight:s,boxShadowSecondary:c,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{position:"absolute",zIndex:i,display:"block",width:"max-content",maxWidth:n,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":a,[`${t}-inner`]:{minWidth:"1em",minHeight:s,padding:`${W(e.calc(u).div(2).equal())} ${W(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:o,boxShadow:c,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(o,ZH)}},[`${t}-content`]:{position:"relative"}}),n9(e,(f,p)=>{let{darkColor:g}=p;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:g},[`${t}-arrow`]:{"--antd-arrow-background-color":g}}}})),{"&-rtl":{direction:"rtl"}})},l$(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Pce=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},qb({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Gb(Pt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),JH=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Kt("Tooltip",r=>{const{borderRadius:a,colorTextLightSolid:o,colorBgSpotlight:i}=r,s=Pt(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:a,tooltipBg:i});return[Dce(s),ig(r,"zoom-big-fast")]},Pce,{resetStyle:!1,injectStyle:t})(e)},Lce=hp.map(e=>`${e}-inverse`),Fce=["success","processing","error","default","warning"];function eU(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat($e(Lce),$e(hp)).includes(e):hp.includes(e)}function jce(e){return Fce.includes(e)}function tU(e,t){const n=eU(t),r=ne({[`${e}-${t}`]:t&&n}),a={},o={};return t&&!n&&(a.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:a,arrowStyle:o}}const Bce=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:o,overlayInnerStyle:i}=e,{getPrefixCls:s}=l.useContext(ot),c=s("tooltip",t),[u,d,f]=JH(c),p=tU(c,o),g=p.arrowStyle,v=Object.assign(Object.assign({},i),p.overlayStyle),m=ne(d,f,c,`${c}-pure`,`${c}-placement-${r}`,n,p.className);return u(l.createElement("div",{className:m,style:g},l.createElement("div",{className:`${c}-arrow`}),l.createElement(s$,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:v}),a)))};var zce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,openClassName:o,getTooltipContainer:i,overlayClassName:s,color:c,overlayInnerStyle:u,children:d,afterOpenChange:f,afterVisibleChange:p,destroyTooltipOnHide:g,arrow:v=!0,title:m,overlay:h,builtinPlacements:y,arrowPointAtCenter:b=!1,autoAdjustOverflow:S=!0}=e,w=!!v,[,x]=Mr(),{getPopupContainer:E,getPrefixCls:I,direction:R}=l.useContext(ot),T=Xs(),_=l.useRef(null),$=()=>{var ce;(ce=_.current)===null||ce===void 0||ce.forceAlign()};l.useImperativeHandle(t,()=>{var ce;return{forceAlign:$,forcePopupAlign:()=>{T.deprecated(!1,"forcePopupAlign","forceAlign"),$()},nativeElement:(ce=_.current)===null||ce===void 0?void 0:ce.nativeElement}});const[D,P]=Qt(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),A=!m&&!h&&m!==0,O=ce=>{var ue,fe;P(A?!1:ce),A||((ue=e.onOpenChange)===null||ue===void 0||ue.call(e,ce),(fe=e.onVisibleChange)===null||fe===void 0||fe.call(e,ce))},N=l.useMemo(()=>{var ce,ue;let fe=b;return typeof v=="object"&&(fe=(ue=(ce=v.pointAtCenter)!==null&&ce!==void 0?ce:v.arrowPointAtCenter)!==null&&ue!==void 0?ue:b),y||QH({arrowPointAtCenter:fe,autoAdjustOverflow:S,arrowWidth:w?x.sizePopupArrow:0,borderRadius:x.borderRadius,offset:x.marginXXS,visibleFirst:!0})},[b,v,y,x]),k=l.useMemo(()=>m===0?m:h||m||"",[h,m]),M=l.createElement(di,{space:!0},typeof k=="function"?k():k),{getPopupContainer:L,placement:F="top",mouseEnterDelay:j=.1,mouseLeaveDelay:B=.1,overlayStyle:z,rootClassName:H}=e,U=zce(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),Z=I("tooltip",a),q=I(),Y=e["data-popover-inject"];let ee=D;!("open"in e)&&!("visible"in e)&&A&&(ee=!1);const te=l.isValidElement(d)&&!w9(d)?d:l.createElement("span",null,d),X=te.props,ie=!X.className||typeof X.className=="string"?ne(X.className,o||`${Z}-open`):X.className,[re,G,Q]=JH(Z,!Y),ae=tU(Z,c),oe=ae.arrowStyle,de=Object.assign(Object.assign({},u),ae.overlayStyle),ve=ne(s,{[`${Z}-rtl`]:R==="rtl"},ae.className,H,G,Q),[ye,ge]=Qi("Tooltip",U.zIndex),J=l.createElement(Nce,Object.assign({},U,{zIndex:ye,showArrow:w,placement:F,mouseEnterDelay:j,mouseLeaveDelay:B,prefixCls:Z,overlayClassName:ve,overlayStyle:Object.assign(Object.assign({},oe),z),getTooltipContainer:L||i||E,ref:_,builtinPlacements:N,overlay:M,visible:ee,onVisibleChange:O,afterVisibleChange:f??p,overlayInnerStyle:de,arrowContent:l.createElement("span",{className:`${Z}-arrow-content`}),motion:{motionName:bo(q,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),ee?lr(te,{className:ie}):te);return re(l.createElement(Jp.Provider,{value:ge},J))}),rn=Hce;rn._InternalPanelDoNotUseOrYouWillBeFired=Bce;const Uce=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:a,innerPadding:o,boxShadowSecondary:i,colorTextHeading:s,borderRadiusLG:c,zIndexPopup:u,titleMarginBottom:d,colorBgElevated:f,popoverBg:p,titleBorderBottom:g,innerContentPadding:v,titlePadding:m}=e;return[{[t]:Object.assign(Object.assign({},Gt(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:u,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":f,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:p,backgroundClip:"padding-box",borderRadius:c,boxShadow:i,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:a,borderBottom:g,padding:m},[`${t}-inner-content`]:{color:n,padding:v}})},l$(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Vce=e=>{const{componentCls:t}=e;return{[t]:hp.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Wce=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:a,wireframe:o,zIndexPopupBase:i,borderRadiusLG:s,marginXS:c,lineType:u,colorSplit:d,paddingSM:f}=e,p=n-r,g=p/2,v=p/2-t,m=a;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:i+30},Gb(e)),qb({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:o?0:12,titleMarginBottom:o?0:c,titlePadding:o?`${g}px ${m}px ${v}px`:0,titleBorderBottom:o?`${t}px ${u} ${d}`:"none",innerContentPadding:o?`${f}px ${m}px`:0})},nU=Kt("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Pt(e,{popoverBg:t,popoverColor:n});return[Uce(r),Vce(r),ig(r,"zoom-big")]},Wce,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var Gce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:l.createElement(l.Fragment,null,t&&l.createElement("div",{className:`${r}-title`},t),n&&l.createElement("div",{className:`${r}-inner-content`},n))},qce=e=>{const{hashId:t,prefixCls:n,className:r,style:a,placement:o="top",title:i,content:s,children:c}=e,u=bv(i),d=bv(s),f=ne(t,n,`${n}-pure`,`${n}-placement-${o}`,r);return l.createElement("div",{className:f,style:a},l.createElement("div",{className:`${n}-arrow`}),l.createElement(s$,Object.assign({},e,{className:t,prefixCls:n}),c||l.createElement(rU,{prefixCls:n,title:u,content:d})))},Kce=e=>{const{prefixCls:t,className:n}=e,r=Gce(e,["prefixCls","className"]),{getPrefixCls:a}=l.useContext(ot),o=a("popover",t),[i,s,c]=nU(o);return i(l.createElement(qce,Object.assign({},r,{prefixCls:o,hashId:s,className:ne(n,c)})))};var Yce=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,title:o,content:i,overlayClassName:s,placement:c="top",trigger:u="hover",children:d,mouseEnterDelay:f=.1,mouseLeaveDelay:p=.1,onOpenChange:g,overlayStyle:v={}}=e,m=Yce(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:h}=l.useContext(ot),y=h("popover",a),[b,S,w]=nU(y),x=h(),E=ne(s,S,w),[I,R]=Qt(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),T=(A,O)=>{R(A,!0),g==null||g(A,O)},_=A=>{A.keyCode===Me.ESC&&T(!1,A)},$=A=>{T(A)},D=bv(o),P=bv(i);return b(l.createElement(rn,Object.assign({placement:c,trigger:u,mouseEnterDelay:f,mouseLeaveDelay:p,overlayStyle:v},m,{prefixCls:y,overlayClassName:E,ref:t,open:I,onOpenChange:$,overlay:D||P?l.createElement(rU,{prefixCls:y,title:D,content:P}):null,transitionName:bo(x,"zoom-big",m.transitionName),"data-popover-inject":!0}),lr(d,{onKeyDown:A=>{var O,N;l.isValidElement(d)&&((N=d==null?void 0:(O=d.props).onKeyDown)===null||N===void 0||N.call(O,A)),_(A)}})))}),aU=Xce;aU._InternalPanelDoNotUseOrYouWillBeFired=Kce;var Zce={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"},Qce=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Zce}))},js=l.forwardRef(Qce),Jce=Me.ESC,eue=Me.TAB;function tue(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,o=e.overlayRef,i=l.useRef(!1),s=function(){if(t){var f,p;(f=n.current)===null||f===void 0||(p=f.focus)===null||p===void 0||p.call(f),r==null||r(!1)}},c=function(){var f;return(f=o.current)!==null&&f!==void 0&&f.focus?(o.current.focus(),i.current=!0,!0):!1},u=function(f){switch(f.keyCode){case Jce:s();break;case eue:{var p=!1;i.current||(p=c()),p?f.preventDefault():s();break}}};l.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&Dt(c,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var nue=l.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,a=e.prefixCls,o=l.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),i=Ar(t,o==null?void 0:o.ref);return le.createElement(le.Fragment,null,r&&le.createElement("div",{className:"".concat(a,"-arrow")}),le.cloneElement(o,{ref:Ho(o)?i:void 0}))}),Ac={adjustX:1,adjustY:1},Mc=[0,0],rue={topLeft:{points:["bl","tl"],overflow:Ac,offset:[0,-4],targetOffset:Mc},top:{points:["bc","tc"],overflow:Ac,offset:[0,-4],targetOffset:Mc},topRight:{points:["br","tr"],overflow:Ac,offset:[0,-4],targetOffset:Mc},bottomLeft:{points:["tl","bl"],overflow:Ac,offset:[0,4],targetOffset:Mc},bottom:{points:["tc","bc"],overflow:Ac,offset:[0,4],targetOffset:Mc},bottomRight:{points:["tr","br"],overflow:Ac,offset:[0,4],targetOffset:Mc}},aue=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function oue(e,t){var n,r=e.arrow,a=r===void 0?!1:r,o=e.prefixCls,i=o===void 0?"rc-dropdown":o,s=e.transitionName,c=e.animation,u=e.align,d=e.placement,f=d===void 0?"bottomLeft":d,p=e.placements,g=p===void 0?rue:p,v=e.getPopupContainer,m=e.showAction,h=e.hideAction,y=e.overlayClassName,b=e.overlayStyle,S=e.visible,w=e.trigger,x=w===void 0?["hover"]:w,E=e.autoFocus,I=e.overlay,R=e.children,T=e.onVisibleChange,_=vt(e,aue),$=le.useState(),D=se($,2),P=D[0],A=D[1],O="visible"in e?S:P,N=le.useRef(null),k=le.useRef(null),M=le.useRef(null);le.useImperativeHandle(t,function(){return N.current});var L=function(Y){A(Y),T==null||T(Y)};tue({visible:O,triggerRef:M,onVisibleChange:L,autoFocus:E,overlayRef:k});var F=function(Y){var ee=e.onOverlayClick;A(!1),ee&&ee(Y)},j=function(){return le.createElement(nue,{ref:k,overlay:I,prefixCls:i,arrow:a})},B=function(){return typeof I=="function"?j:j()},z=function(){var Y=e.minOverlayWidthMatchTrigger,ee=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?Y:!ee},H=function(){var Y=e.openClassName;return Y!==void 0?Y:"".concat(i,"-open")},U=le.cloneElement(R,{className:ne((n=R.props)===null||n===void 0?void 0:n.className,O&&H()),ref:Ho(R)?Ar(M,R.ref):void 0}),Z=h;return!Z&&x.indexOf("contextMenu")!==-1&&(Z=["click"]),le.createElement(ug,be({builtinPlacements:g},_,{prefixCls:i,ref:N,popupClassName:ne(y,V({},"".concat(i,"-show-arrow"),a)),popupStyle:b,action:x,showAction:m,hideAction:Z,popupPlacement:f,popupAlign:u,popupTransitionName:s,popupAnimation:c,popupVisible:O,stretch:z()?"minWidth":"",popup:B(),onPopupVisibleChange:L,onPopupClick:F,getPopupContainer:v}),U)}const oU=le.forwardRef(oue);var iU=l.createContext(null);function sU(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function lU(e){var t=l.useContext(iU);return sU(t,e)}var iue=["children","locked"],Wo=l.createContext(null);function sue(e,t){var n=K({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function Sp(e){var t=e.children,n=e.locked,r=vt(e,iue),a=l.useContext(Wo),o=Ys(function(){return sue(a,r)},[a,r],function(i,s){return!n&&(i[0]!==s[0]||!Uo(i[1],s[1],!0))});return l.createElement(Wo.Provider,{value:o},t)}var lue=[],cU=l.createContext(null);function Kb(){return l.useContext(cU)}var uU=l.createContext(lue);function ad(e){var t=l.useContext(uU);return l.useMemo(function(){return e!==void 0?[].concat($e(t),[e]):t},[t,e])}var dU=l.createContext(null),c$=l.createContext({});function Y3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(td(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),o=Number(a),i=null;return a&&!Number.isNaN(o)?i=o:r&&i===null&&(i=0),r&&e.disabled&&(i=null),i!==null&&(i>=0||t&&i<0)}return!1}function cue(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=$e(e.querySelectorAll("*")).filter(function(r){return Y3(r,t)});return Y3(e,t)&&n.unshift(e),n}var ET=Me.LEFT,IT=Me.RIGHT,TT=Me.UP,wh=Me.DOWN,Ch=Me.ENTER,fU=Me.ESC,Fd=Me.HOME,jd=Me.END,X3=[TT,wh,ET,IT];function uue(e,t,n,r){var a,o,i,s,c="prev",u="next",d="children",f="parent";if(e==="inline"&&r===Ch)return{inlineTrigger:!0};var p=(a={},V(a,TT,c),V(a,wh,u),a),g=(o={},V(o,ET,n?u:c),V(o,IT,n?c:u),V(o,wh,d),V(o,Ch,d),o),v=(i={},V(i,TT,c),V(i,wh,u),V(i,Ch,d),V(i,fU,f),V(i,ET,n?d:f),V(i,IT,n?f:d),i),m={inline:p,horizontal:g,vertical:v,inlineSub:p,horizontalSub:v,verticalSub:v},h=(s=m["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[r];switch(h){case c:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case f:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function due(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function fue(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function u$(e,t){var n=cue(e,!0);return n.filter(function(r){return t.has(r)})}function Z3(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=u$(e,t),o=a.length,i=a.findIndex(function(s){return n===s});return r<0?i===-1?i=o-1:i-=1:r>0&&(i+=1),i=(i+o)%o,a[i]}var RT=function(t,n){var r=new Set,a=new Map,o=new Map;return t.forEach(function(i){var s=document.querySelector("[data-menu-id='".concat(sU(n,i),"']"));s&&(r.add(s),o.set(s,i),a.set(i,s))}),{elements:r,key2element:a,element2key:o}};function pue(e,t,n,r,a,o,i,s,c,u){var d=l.useRef(),f=l.useRef();f.current=t;var p=function(){Dt.cancel(d.current)};return l.useEffect(function(){return function(){p()}},[]),function(g){var v=g.which;if([].concat(X3,[Ch,fU,Fd,jd]).includes(v)){var m=o(),h=RT(m,r),y=h,b=y.elements,S=y.key2element,w=y.element2key,x=S.get(t),E=fue(x,b),I=w.get(E),R=uue(e,i(I,!0).length===1,n,v);if(!R&&v!==Fd&&v!==jd)return;(X3.includes(v)||[Fd,jd].includes(v))&&g.preventDefault();var T=function(k){if(k){var M=k,L=k.querySelector("a");L!=null&&L.getAttribute("href")&&(M=L);var F=w.get(k);s(F),p(),d.current=Dt(function(){f.current===F&&M.focus()})}};if([Fd,jd].includes(v)||R.sibling||!E){var _;!E||e==="inline"?_=a.current:_=due(E);var $,D=u$(_,b);v===Fd?$=D[0]:v===jd?$=D[D.length-1]:$=Z3(_,b,E,R.offset),T($)}else if(R.inlineTrigger)c(I);else if(R.offset>0)c(I,!0),p(),d.current=Dt(function(){h=RT(m,r);var N=E.getAttribute("aria-controls"),k=document.getElementById(N),M=Z3(k,h.elements);T(M)},5);else if(R.offset<0){var P=i(I,!0),A=P[P.length-2],O=S.get(A);c(A,!1),T(O)}}u==null||u(g)}}function gue(e){Promise.resolve().then(e)}var d$="__RC_UTIL_PATH_SPLIT__",Q3=function(t){return t.join(d$)},mue=function(t){return t.split(d$)},_T="rc-menu-more";function hue(){var e=l.useState({}),t=se(e,2),n=t[1],r=l.useRef(new Map),a=l.useRef(new Map),o=l.useState([]),i=se(o,2),s=i[0],c=i[1],u=l.useRef(0),d=l.useRef(!1),f=function(){d.current||n({})},p=l.useCallback(function(S,w){var x=Q3(w);a.current.set(x,S),r.current.set(S,x),u.current+=1;var E=u.current;gue(function(){E===u.current&&f()})},[]),g=l.useCallback(function(S,w){var x=Q3(w);a.current.delete(x),r.current.delete(S)},[]),v=l.useCallback(function(S){c(S)},[]),m=l.useCallback(function(S,w){var x=r.current.get(S)||"",E=mue(x);return w&&s.includes(E[0])&&E.unshift(_T),E},[s]),h=l.useCallback(function(S,w){return S.filter(function(x){return x!==void 0}).some(function(x){var E=m(x,!0);return E.includes(w)})},[m]),y=function(){var w=$e(r.current.keys());return s.length&&w.push(_T),w},b=l.useCallback(function(S){var w="".concat(r.current.get(S)).concat(d$),x=new Set;return $e(a.current.keys()).forEach(function(E){E.startsWith(w)&&x.add(a.current.get(E))}),x},[]);return l.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:p,unregisterPath:g,refreshOverflowKeys:v,isSubPathKey:h,getKeyPath:m,getKeys:y,getSubPathKeys:b}}function tf(e){var t=l.useRef(e);t.current=e;var n=l.useCallback(function(){for(var r,a=arguments.length,o=new Array(a),i=0;i1&&(b.motionAppear=!1);var S=b.onVisibleChanged;return b.onVisibleChanged=function(w){return!p.current&&!w&&h(!0),S==null?void 0:S(w)},m?null:l.createElement(Sp,{mode:o,locked:!p.current},l.createElement(Wr,be({visible:y},b,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(w){var x=w.className,E=w.style;return l.createElement(f$,{id:t,className:x,style:E},a)}))}var Aue=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Mue=["active"],Due=l.forwardRef(function(e,t){var n,r=e.style,a=e.className,o=e.title,i=e.eventKey;e.warnKey;var s=e.disabled,c=e.internalPopupClose,u=e.children,d=e.itemIcon,f=e.expandIcon,p=e.popupClassName,g=e.popupOffset,v=e.popupStyle,m=e.onClick,h=e.onMouseEnter,y=e.onMouseLeave,b=e.onTitleClick,S=e.onTitleMouseEnter,w=e.onTitleMouseLeave,x=vt(e,Aue),E=lU(i),I=l.useContext(Wo),R=I.prefixCls,T=I.mode,_=I.openKeys,$=I.disabled,D=I.overflowDisabled,P=I.activeKey,A=I.selectedKeys,O=I.itemIcon,N=I.expandIcon,k=I.onItemClick,M=I.onOpenChange,L=I.onActive,F=l.useContext(c$),j=F._internalRenderSubMenuItem,B=l.useContext(dU),z=B.isSubPathKey,H=ad(),U="".concat(R,"-submenu"),Z=$||s,q=l.useRef(),Y=l.useRef(),ee=d??O,te=f??N,X=_.includes(i),ie=!D&&X,re=z(A,i),G=pU(i,Z,S,w),Q=G.active,ae=vt(G,Mue),oe=l.useState(!1),de=se(oe,2),ve=de[0],ye=de[1],ge=function(Ce){Z||ye(Ce)},J=function(Ce){ge(!0),h==null||h({key:i,domEvent:Ce})},ce=function(Ce){ge(!1),y==null||y({key:i,domEvent:Ce})},ue=l.useMemo(function(){return Q||(T!=="inline"?ve||z([P],i):!1)},[T,Q,P,ve,i,z]),fe=gU(H.length),pe=function(Ce){Z||(b==null||b({key:i,domEvent:Ce}),T==="inline"&&M(i,!X))},xe=tf(function(_e){m==null||m(yv(_e)),k(_e)}),Te=function(Ce){T!=="inline"&&M(i,Ce)},Pe=function(){L(i)},ke=E&&"".concat(E,"-popup"),Ue=l.createElement("div",be({role:"menuitem",style:fe,className:"".concat(U,"-title"),tabIndex:Z?null:-1,ref:q,title:typeof o=="string"?o:null,"data-menu-id":D&&E?null:E,"aria-expanded":ie,"aria-haspopup":!0,"aria-controls":ke,"aria-disabled":Z,onClick:pe,onFocus:Pe},ae),o,l.createElement(mU,{icon:T!=="horizontal"?te:void 0,props:K(K({},e),{},{isOpen:ie,isSubMenu:!0})},l.createElement("i",{className:"".concat(U,"-arrow")}))),Be=l.useRef(T);if(T!=="inline"&&H.length>1?Be.current="vertical":Be.current=T,!D){var De=Be.current;Ue=l.createElement(Nue,{mode:De,prefixCls:U,visible:!c&&ie&&T!=="inline",popupClassName:p,popupOffset:g,popupStyle:v,popup:l.createElement(Sp,{mode:De==="horizontal"?"vertical":De},l.createElement(f$,{id:ke,ref:Y},u)),disabled:Z,onVisibleChange:Te},Ue)}var Se=l.createElement(Bo.Item,be({ref:t,role:"none"},x,{component:"li",style:r,className:ne(U,"".concat(U,"-").concat(T),a,(n={},V(n,"".concat(U,"-open"),ie),V(n,"".concat(U,"-active"),ue),V(n,"".concat(U,"-selected"),re),V(n,"".concat(U,"-disabled"),Z),n)),onMouseEnter:J,onMouseLeave:ce}),Ue,!D&&l.createElement(kue,{id:ke,open:ie,keyPath:H},u));return j&&(Se=j(Se,e,{selected:re,active:ue,open:ie,disabled:Z})),l.createElement(Sp,{onItemClick:xe,mode:T==="horizontal"?"vertical":T,itemIcon:ee,expandIcon:te},Se)}),Yb=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=ad(n),o=p$(r,a),i=Kb();l.useEffect(function(){if(i)return i.registerPath(n,a),function(){i.unregisterPath(n,a)}},[a]);var s;return i?s=o:s=l.createElement(Due,be({ref:t},e),o),l.createElement(uU.Provider,{value:a},s)});function g$(e){var t=e.className,n=e.style,r=l.useContext(Wo),a=r.prefixCls,o=Kb();return o?null:l.createElement("li",{role:"separator",className:ne("".concat(a,"-item-divider"),t),style:n})}var Pue=["className","title","eventKey","children"],Lue=l.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var a=e.children,o=vt(e,Pue),i=l.useContext(Wo),s=i.prefixCls,c="".concat(s,"-item-group");return l.createElement("li",be({ref:t,role:"presentation"},o,{onClick:function(d){return d.stopPropagation()},className:ne(c,n)}),l.createElement("div",{role:"presentation",className:"".concat(c,"-title"),title:typeof r=="string"?r:void 0},r),l.createElement("ul",{role:"group",className:"".concat(c,"-list")},a))}),m$=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=ad(n),o=p$(r,a),i=Kb();return i?o:l.createElement(Lue,be({ref:t},gn(e,["warnKey"])),o)}),Fue=["label","children","key","type"];function $T(e,t){var n=t.item,r=t.group,a=t.submenu,o=t.divider;return(e||[]).map(function(i,s){if(i&&ft(i)==="object"){var c=i,u=c.label,d=c.children,f=c.key,p=c.type,g=vt(c,Fue),v=f??"tmp-".concat(s);return d||p==="group"?p==="group"?l.createElement(r,be({key:v},g,{title:u}),$T(d,t)):l.createElement(a,be({key:v},g,{title:u}),$T(d,t)):p==="divider"?l.createElement(o,be({key:v},g)):l.createElement(n,be({key:v},g),u)}return null}).filter(function(i){return i})}function eM(e,t,n,r){var a=e,o=K({divider:g$,item:dg,group:m$,submenu:Yb},r);return t&&(a=$T(t,o)),p$(a,n)}var jue=["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","_internalComponents"],il=[],Bue=l.forwardRef(function(e,t){var n,r,a=e,o=a.prefixCls,i=o===void 0?"rc-menu":o,s=a.rootClassName,c=a.style,u=a.className,d=a.tabIndex,f=d===void 0?0:d,p=a.items,g=a.children,v=a.direction,m=a.id,h=a.mode,y=h===void 0?"vertical":h,b=a.inlineCollapsed,S=a.disabled,w=a.disabledOverflow,x=a.subMenuOpenDelay,E=x===void 0?.1:x,I=a.subMenuCloseDelay,R=I===void 0?.1:I,T=a.forceSubMenuRender,_=a.defaultOpenKeys,$=a.openKeys,D=a.activeKey,P=a.defaultActiveFirst,A=a.selectable,O=A===void 0?!0:A,N=a.multiple,k=N===void 0?!1:N,M=a.defaultSelectedKeys,L=a.selectedKeys,F=a.onSelect,j=a.onDeselect,B=a.inlineIndent,z=B===void 0?24:B,H=a.motion,U=a.defaultMotions,Z=a.triggerSubMenuAction,q=Z===void 0?"hover":Z,Y=a.builtinPlacements,ee=a.itemIcon,te=a.expandIcon,X=a.overflowedIndicator,ie=X===void 0?"...":X,re=a.overflowedIndicatorPopupClassName,G=a.getPopupContainer,Q=a.onClick,ae=a.onOpenChange,oe=a.onKeyDown;a.openAnimation,a.openTransitionName;var de=a._internalRenderMenuItem,ve=a._internalRenderSubMenuItem,ye=a._internalComponents,ge=vt(a,jue),J=l.useMemo(function(){return[eM(g,p,il,ye),eM(g,p,il,{})]},[g,p,ye]),ce=se(J,2),ue=ce[0],fe=ce[1],pe=l.useState(!1),xe=se(pe,2),Te=xe[0],Pe=xe[1],ke=l.useRef(),Ue=bue(m),Be=v==="rtl",De=Qt(_,{value:$,postState:function(kt){return kt||il}}),Se=se(De,2),_e=Se[0],Ce=Se[1],Re=function(kt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function gt(){Ce(kt),ae==null||ae(kt)}At?Sr.flushSync(gt):gt()},he=l.useState(_e),Ee=se(he,2),je=Ee[0],Ae=Ee[1],Ne=l.useRef(!1),ze=l.useMemo(function(){return(y==="inline"||y==="vertical")&&b?["vertical",b]:[y,!1]},[y,b]),qe=se(ze,2),Le=qe[0],Ke=qe[1],Je=Le==="inline",Xe=l.useState(Le),ut=se(Xe,2),pt=ut[0],We=ut[1],Ze=l.useState(Ke),Ye=se(Ze,2),at=Ye[0],wt=Ye[1];l.useEffect(function(){We(Le),wt(Ke),Ne.current&&(Je?Ce(je):Re(il))},[Le,Ke]);var Ct=l.useState(0),Ot=se(Ct,2),dt=Ot[0],it=Ot[1],Qe=dt>=ue.length-1||pt!=="horizontal"||w;l.useEffect(function(){Je&&Ae(_e)},[_e]),l.useEffect(function(){return Ne.current=!0,function(){Ne.current=!1}},[]);var st=hue(),St=st.registerPath,et=st.unregisterPath,Ie=st.refreshOverflowKeys,we=st.isSubPathKey,Oe=st.getKeyPath,He=st.getKeys,Fe=st.getSubPathKeys,Ve=l.useMemo(function(){return{registerPath:St,unregisterPath:et}},[St,et]),tt=l.useMemo(function(){return{isSubPathKey:we}},[we]);l.useEffect(function(){Ie(Qe?il:ue.slice(dt+1).map(function(Bt){return Bt.key}))},[dt,Qe]);var bt=Qt(D||P&&((n=ue[0])===null||n===void 0?void 0:n.key),{value:D}),xt=se(bt,2),Wt=xt[0],Yt=xt[1],Vt=tf(function(Bt){Yt(Bt)}),en=tf(function(){Yt(void 0)});l.useImperativeHandle(t,function(){return{list:ke.current,focus:function(kt){var At,gt=He(),mt=RT(gt,Ue),nn=mt.elements,bn=mt.key2element,qn=mt.element2key,tr=u$(ke.current,nn),Lr=Wt??(tr[0]?qn.get(tr[0]):(At=ue.find(function(nt){return!nt.props.disabled}))===null||At===void 0?void 0:At.key),jt=bn.get(Lr);if(Lr&&jt){var Mt;jt==null||(Mt=jt.focus)===null||Mt===void 0||Mt.call(jt,kt)}}}});var ht=Qt(M||[],{value:L,postState:function(kt){return Array.isArray(kt)?kt:kt==null?il:[kt]}}),yt=se(ht,2),Tt=yt[0],mn=yt[1],Gn=function(kt){if(O){var At=kt.key,gt=Tt.includes(At),mt;k?gt?mt=Tt.filter(function(bn){return bn!==At}):mt=[].concat($e(Tt),[At]):mt=[At],mn(mt);var nn=K(K({},kt),{},{selectedKeys:mt});gt?j==null||j(nn):F==null||F(nn)}!k&&_e.length&&pt!=="inline"&&Re(il)},hr=tf(function(Bt){Q==null||Q(yv(Bt)),Gn(Bt)}),Ir=tf(function(Bt,kt){var At=_e.filter(function(mt){return mt!==Bt});if(kt)At.push(Bt);else if(pt!=="inline"){var gt=Fe(Bt);At=At.filter(function(mt){return!gt.has(mt)})}Uo(_e,At,!0)||Re(At,!0)}),oa=function(kt,At){var gt=At??!_e.includes(kt);Ir(kt,gt)},Pr=pue(pt,Wt,Be,Ue,ke,He,Oe,Yt,oa,oe);l.useEffect(function(){Pe(!0)},[]);var er=l.useMemo(function(){return{_internalRenderMenuItem:de,_internalRenderSubMenuItem:ve}},[de,ve]),Ht=pt!=="horizontal"||w?ue:ue.map(function(Bt,kt){return l.createElement(Sp,{key:Bt.key,overflowDisabled:kt>dt},Bt)}),Nt=l.createElement(Bo,be({id:m,ref:ke,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:dg,className:ne(i,"".concat(i,"-root"),"".concat(i,"-").concat(pt),u,(r={},V(r,"".concat(i,"-inline-collapsed"),at),V(r,"".concat(i,"-rtl"),Be),r),s),dir:v,style:c,role:"menu",tabIndex:f,data:Ht,renderRawItem:function(kt){return kt},renderRawRest:function(kt){var At=kt.length,gt=At?ue.slice(-At):null;return l.createElement(Yb,{eventKey:_T,title:ie,disabled:Qe,internalPopupClose:At===0,popupClassName:re},gt)},maxCount:pt!=="horizontal"||w?Bo.INVALIDATE:Bo.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(kt){it(kt)},onKeyDown:Pr},ge));return l.createElement(c$.Provider,{value:er},l.createElement(iU.Provider,{value:Ue},l.createElement(Sp,{prefixCls:i,rootClassName:s,mode:pt,openKeys:_e,rtl:Be,disabled:S,motion:Te?H:null,defaultMotions:Te?U:null,activeKey:Wt,onActive:Vt,onInactive:en,selectedKeys:Tt,inlineIndent:z,subMenuOpenDelay:E,subMenuCloseDelay:R,forceSubMenuRender:T,builtinPlacements:Y,triggerSubMenuAction:q,getPopupContainer:G,itemIcon:ee,expandIcon:te,onItemClick:hr,onOpenChange:Ir},l.createElement(dU.Provider,{value:tt},Nt),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(cU.Provider,{value:Ve},fe)))))}),od=Bue;od.Item=dg;od.SubMenu=Yb;od.ItemGroup=m$;od.Divider=g$;var zue={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},Hue=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:zue}))},Uue=l.forwardRef(Hue),Vue={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"},Wue=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Vue}))},wp=l.forwardRef(Wue);const Gue=e=>!isNaN(parseFloat(e))&&isFinite(e),vU=l.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var que=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),Zb=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:a,children:o,defaultCollapsed:i=!1,theme:s="dark",style:c={},collapsible:u=!1,reverseArrow:d=!1,width:f=200,collapsedWidth:p=80,zeroWidthTriggerStyle:g,breakpoint:v,onCollapse:m,onBreakpoint:h}=e,y=que(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=l.useContext(vU),[S,w]=l.useState("collapsed"in e?e.collapsed:i),[x,E]=l.useState(!1);l.useEffect(()=>{"collapsed"in e&&w(e.collapsed)},[e.collapsed]);const I=(P,A)=>{"collapsed"in e||w(P),m==null||m(P,A)},R=l.useRef();R.current=P=>{E(P.matches),h==null||h(P.matches),S!==P.matches&&I(P.matches,"responsive")},l.useEffect(()=>{function P(O){return R.current(O)}let A;if(typeof window<"u"){const{matchMedia:O}=window;if(O&&v&&v in tM){A=O(`screen and (max-width: ${tM[v]})`);try{A.addEventListener("change",P)}catch{A.addListener(P)}P(A)}}return()=>{try{A==null||A.removeEventListener("change",P)}catch{A==null||A.removeListener(P)}}},[v]),l.useEffect(()=>{const P=Kue("ant-sider-");return b.addSider(P),()=>b.removeSider(P)},[]);const T=()=>{I(!S,"clickTrigger")},{getPrefixCls:_}=l.useContext(ot),$=()=>{const P=_("layout-sider",n),A=gn(y,["collapsed"]),O=S?p:f,N=Gue(O)?`${O}px`:String(O),k=parseFloat(String(p||0))===0?l.createElement("span",{onClick:T,className:ne(`${P}-zero-width-trigger`,`${P}-zero-width-trigger-${d?"right":"left"}`),style:g},a||l.createElement(Uue,null)):null,F={expanded:d?l.createElement(js,null):l.createElement(wp,null),collapsed:d?l.createElement(wp,null):l.createElement(js,null)}[S?"collapsed":"expanded"],j=a!==null?k||l.createElement("div",{className:`${P}-trigger`,onClick:T,style:{width:N}},a||F):null,B=Object.assign(Object.assign({},c),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),z=ne(P,`${P}-${s}`,{[`${P}-collapsed`]:!!S,[`${P}-has-trigger`]:u&&a!==null&&!k,[`${P}-below`]:!!x,[`${P}-zero-width`]:parseFloat(N)===0},r);return l.createElement("aside",Object.assign({className:z},A,{style:B,ref:t}),l.createElement("div",{className:`${P}-children`},o),u||x&&k?j:null)},D=l.useMemo(()=>({siderCollapsed:S}),[S]);return l.createElement(Xb.Provider,{value:D},$())});var Yue={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"},Xue=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Yue}))},h$=l.forwardRef(Xue);const Sv=l.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var Zue=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,dashed:r}=e,a=Zue(e,["prefixCls","className","dashed"]),{getPrefixCls:o}=l.useContext(ot),i=o("menu",t),s=ne({[`${i}-item-divider-dashed`]:!!r},n);return l.createElement(g$,Object.assign({className:s},a))},yU=e=>{var t;const{className:n,children:r,icon:a,title:o,danger:i}=e,{prefixCls:s,firstLevel:c,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=l.useContext(Sv),p=b=>{const S=l.createElement("span",{className:`${s}-title-content`},r);return(!a||l.isValidElement(r)&&r.type==="span")&&r&&b&&c&&typeof r=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):S},{siderCollapsed:g}=l.useContext(Xb);let v=o;typeof o>"u"?v=c?r:"":o===!1&&(v="");const m={title:v};!g&&!f&&(m.title=null,m.open=!1);const h=or(r).length;let y=l.createElement(dg,Object.assign({},gn(e,["title","icon","danger"]),{className:ne({[`${s}-item-danger`]:i,[`${s}-item-only-child`]:(a?h+1:h)===1},n),title:typeof o=="string"?o:void 0}),lr(a,{className:ne(l.isValidElement(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),p(f));return d||(y=l.createElement(rn,Object.assign({},m,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),y)),y};var Que=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{children:n}=e,r=Que(e,["children"]),a=l.useContext(wv),o=l.useMemo(()=>Object.assign(Object.assign({},a),r),[a,r.prefixCls,r.mode,r.selectable,r.rootClassName]),i=OJ(n),s=Zi(t,i?n.ref:null);return l.createElement(wv.Provider,{value:o},l.createElement(di,{space:!0},i?l.cloneElement(n,{ref:s}):n))}),Jue=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:a,lineWidth:o,lineType:i,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${W(o)} ${i} ${a}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, > ${t}-item-active, > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},ede=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, - ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${W(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${W(n)})`}}}}},nM=e=>Object.assign({},Vi(e)),rM=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:a,groupTitleColor:o,itemBg:i,subMenuItemBg:s,itemSelectedBg:c,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:p,motionEaseInOut:g,motionEaseOut:b,itemPaddingInline:m,motionDurationMid:h,itemHoverColor:y,lineType:v,colorSplit:S,itemDisabledColor:w,dangerItemColor:x,dangerItemHoverColor:E,dangerItemSelectedColor:I,dangerItemActiveBg:R,dangerItemSelectedBg:T,popupBg:_,itemHoverBg:$,itemActiveBg:D,menuSubMenuBg:P,horizontalItemSelectedColor:A,horizontalItemSelectedBg:O,horizontalItemBorderRadius:N,horizontalItemHoverBg:k}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:i,[`&${n}-root:focus-visible`]:Object.assign({},nM(e)),[`${n}-item-group-title`]:{color:o},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:a}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},nM(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${w} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:y}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:$},"&:active":{backgroundColor:D}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:$},"&:active":{backgroundColor:D}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:E}},[`&${n}-item:active`]:{background:R}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:I},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:c,[`&${n}-item-danger`]:{backgroundColor:T}},[`&${n}-submenu > ${n}`]:{backgroundColor:P},[`&${n}-popup > ${n}`]:{backgroundColor:_},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:_},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:"absolute",insetInline:m,bottom:0,borderBottom:`${W(u)} solid transparent`,transition:`border-color ${p} ${g}`,content:'""'},"&:hover, &-active, &-open":{background:k,"&::after":{borderBottomWidth:u,borderBottomColor:A}},"&-selected":{color:A,backgroundColor:O,"&:hover":{backgroundColor:O},"&::after":{borderBottomWidth:u,borderBottomColor:A}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${W(f)} ${v} ${S}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${W(d)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${h} ${b}`,`opacity ${h} ${b}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:I}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${h} ${g}`,`opacity ${h} ${g}`].join(",")}}}}}},aM=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:o,marginXS:i,itemMarginBlock:s,itemWidth:c}=e,u=e.calc(o).add(a).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:W(n),paddingInline:a,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:c},[`> ${t}-item, + ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${W(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${W(n)})`}}}}},nM=e=>Object.assign({},Vi(e)),rM=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:a,groupTitleColor:o,itemBg:i,subMenuItemBg:s,itemSelectedBg:c,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:p,motionEaseInOut:g,motionEaseOut:v,itemPaddingInline:m,motionDurationMid:h,itemHoverColor:y,lineType:b,colorSplit:S,itemDisabledColor:w,dangerItemColor:x,dangerItemHoverColor:E,dangerItemSelectedColor:I,dangerItemActiveBg:R,dangerItemSelectedBg:T,popupBg:_,itemHoverBg:$,itemActiveBg:D,menuSubMenuBg:P,horizontalItemSelectedColor:A,horizontalItemSelectedBg:O,horizontalItemBorderRadius:N,horizontalItemHoverBg:k}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:i,[`&${n}-root:focus-visible`]:Object.assign({},nM(e)),[`${n}-item-group-title`]:{color:o},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:a}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},nM(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${w} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:y}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:$},"&:active":{backgroundColor:D}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:$},"&:active":{backgroundColor:D}}},[`${n}-item-danger`]:{color:x,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:E}},[`&${n}-item:active`]:{background:R}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:I},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:c,[`&${n}-item-danger`]:{backgroundColor:T}},[`&${n}-submenu > ${n}`]:{backgroundColor:P},[`&${n}-popup > ${n}`]:{backgroundColor:_},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:_},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:"absolute",insetInline:m,bottom:0,borderBottom:`${W(u)} solid transparent`,transition:`border-color ${p} ${g}`,content:'""'},"&:hover, &-active, &-open":{background:k,"&::after":{borderBottomWidth:u,borderBottomColor:A}},"&-selected":{color:A,backgroundColor:O,"&:hover":{backgroundColor:O},"&::after":{borderBottomWidth:u,borderBottomColor:A}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${W(f)} ${b} ${S}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${W(d)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${h} ${v}`,`opacity ${h} ${v}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:I}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${h} ${g}`,`opacity ${h} ${g}`].join(",")}}}}}},aM=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:o,marginXS:i,itemMarginBlock:s,itemWidth:c}=e,u=e.calc(o).add(a).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:W(n),paddingInline:a,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:c},[`> ${t}-item, > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:W(n)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:u}}},tde=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:o,controlHeightLG:i,motionDurationMid:s,motionEaseOut:c,paddingXL:u,itemMarginInline:d,fontSizeLG:f,motionDurationSlow:p,paddingXS:g,boxShadowSecondary:b,collapsedWidth:m,collapsedIconSize:h}=e,y={height:r,lineHeight:W(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},aM(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},aM(e)),{boxShadow:b})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${W(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${s} ${c}`,`padding-inline calc(50% - ${W(e.calc(f).div(2).equal())} - ${W(d)})`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:y,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:y}},{[`${t}-inline-collapsed`]:{width:m,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, + ${t}-submenu-title`]:{paddingInlineEnd:u}}},tde=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:o,controlHeightLG:i,motionDurationMid:s,motionEaseOut:c,paddingXL:u,itemMarginInline:d,fontSizeLG:f,motionDurationSlow:p,paddingXS:g,boxShadowSecondary:v,collapsedWidth:m,collapsedIconSize:h}=e,y={height:r,lineHeight:W(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},aM(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},aM(e)),{boxShadow:v})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${W(e.calc(i).mul(2.5).equal())})`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${t}-inline`]:{width:"100%",[`&${t}-root`]:{[`${t}-item, ${t}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${p}`,`background ${p}`,`padding ${s} ${c}`,`padding-inline calc(50% - ${W(e.calc(f).div(2).equal())} - ${W(d)})`].join(","),[`> ${t}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${t}-sub${t}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${t}-submenu > ${t}-submenu-title`]:y,[`& ${t}-item-group-title`]:{paddingInlineStart:u}},[`${t}-item`]:y}},{[`${t}-inline-collapsed`]:{width:m,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:f,textAlign:"center"}}},[`> ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-item, > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title, > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${W(e.calc(f).div(2).equal())} - ${W(d)})`,textOverflow:"clip",[` ${t}-submenu-arrow, ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:h,lineHeight:W(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:a}},[`${t}-item-group-title`]:Object.assign(Object.assign({},vo),{paddingInline:g})}}]},oM=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:o,iconCls:i,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${a}`].join(","),[`${t}-item-icon, ${i}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${o}`,`margin ${n} ${a}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${a}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Qu()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},iM=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:o,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:o,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(o).mul(.6).equal(),height:e.calc(o).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${W(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${W(i)})`}}}}},nde=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:o,motionEaseInOut:i,paddingXS:s,padding:c,colorSplit:u,lineWidth:d,zIndexPopup:f,borderRadiusLG:p,subMenuItemBorderRadius:g,menuArrowSize:b,menuArrowOffset:m,lineType:h,groupTitleLineHeight:y,groupTitleFontSize:v}=e;return[{"":{[n]:Object.assign(Object.assign({},Vo()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),Vo()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${W(s)} ${W(c)}`,fontSize:v,lineHeight:y,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${i}`,`background ${a} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${i}`,`background ${a} ${i}`,`padding ${o} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${a}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:h,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),oM(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${W(e.calc(r).mul(2).equal())} ${W(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:p,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},oM(e)),iM(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:g},[`${n}-submenu-title::after`]:{transition:`transform ${a} ${i}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),iM(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${W(m)})`},"&::after":{transform:`rotate(45deg) translateX(${W(e.calc(m).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${W(e.calc(b).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${W(e.calc(m).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${W(m)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},rde=e=>{var t,n,r;const{colorPrimary:a,colorError:o,colorTextDisabled:i,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:p,lineWidth:g,lineWidthBold:b,controlItemBgActive:m,colorBgTextHover:h,controlHeightLG:y,lineHeight:v,colorBgElevated:S,marginXXS:w,padding:x,fontSize:E,controlHeightSM:I,fontSizeLG:R,colorTextLightSolid:T,colorErrorHover:_}=e,$=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,D=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:g,P=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,A=new on(T).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:a,itemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:h,itemHoverBg:h,colorItemBgActive:p,itemActiveBg:m,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:m,itemSelectedBg:m,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:$,colorActiveBarHeight:b,activeBarHeight:b,colorActiveBarBorderSize:g,activeBarBorderWidth:D,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:P,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:y,groupTitleLineHeight:v,collapsedWidth:y*2,popupBg:S,itemMarginBlock:w,itemPaddingInline:x,horizontalLineHeight:`${y*1.15}px`,iconSize:E,iconMarginInlineEnd:I-E,collapsedIconSize:R,groupTitleFontSize:E,darkItemDisabledColor:new on(T).setAlpha(.25).toRgbString(),darkItemColor:A,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:T,darkItemSelectedBg:a,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:A,darkItemHoverColor:T,darkDangerItemHoverColor:_,darkDangerItemSelectedColor:T,darkDangerItemActiveBg:o,itemWidth:$?`calc(100% + ${D}px)`:`calc(100% - ${P*2}px)`}},ade=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Kt("Menu",a=>{const{colorBgElevated:o,controlHeightLG:i,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:f,darkItemSelectedColor:p,darkItemSelectedBg:g,darkDangerItemSelectedBg:b,darkItemHoverBg:m,darkGroupTitleColor:h,darkItemHoverColor:y,darkItemDisabledColor:v,darkDangerItemHoverColor:S,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:x,popupBg:E,darkPopupBg:I}=a,R=a.calc(s).div(7).mul(5).equal(),T=Pt(a,{menuArrowSize:R,menuHorizontalHeight:a.calc(i).mul(1.15).equal(),menuArrowOffset:a.calc(R).mul(.25).equal(),menuSubMenuBg:o,calc:a.calc,popupBg:E}),_=Pt(T,{itemColor:c,itemHoverColor:y,groupTitleColor:h,itemSelectedColor:p,itemBg:d,popupBg:I,subMenuItemBg:f,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:m,itemDisabledColor:v,dangerItemColor:u,dangerItemHoverColor:S,dangerItemSelectedColor:w,dangerItemActiveBg:x,dangerItemSelectedBg:b,menuSubMenuBg:f,horizontalItemSelectedColor:p,horizontalItemSelectedBg:g});return[nde(T),Jue(T),tde(T),rM(T,"light"),rM(_,"dark"),ede(T),og(T),fi(T,"slide-up"),fi(T,"slide-down"),ig(T,"zoom-big")]},rde,{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"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)},wU=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:o}=e,i=l.useContext(Sv),{prefixCls:s,inlineCollapsed:c,theme:u}=i,d=ad();let f;if(!r)f=c&&!d.length&&a&&typeof a=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},a.charAt(0)):l.createElement("span",{className:`${s}-title-content`},a);else{const b=l.isValidElement(a)&&a.type==="span";f=l.createElement(l.Fragment,null,lr(r,{className:ne(l.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),b?a:l.createElement("span",{className:`${s}-title-content`},a))}const p=l.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),[g]=Qi("Menu");return l.createElement(Sv.Provider,{value:p},l.createElement(Yb,Object.assign({},gn(e,["icon"]),{title:f,popupClassName:ne(s,n,`${s}-${o||u}`),popupStyle:{zIndex:g}})))};var ode=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const r=l.useContext(wv),a=r||{},{getPrefixCls:o,getPopupContainer:i,direction:s,menu:c}=l.useContext(ot),u=o(),{prefixCls:d,className:f,style:p,theme:g="light",expandIcon:b,_internalDisableMenuItemTitleTooltip:m,inlineCollapsed:h,siderCollapsed:y,rootClassName:v,mode:S,selectable:w,onClick:x,overflowedIndicatorPopupClassName:E}=e,I=ode(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),R=gn(I,["collapsedWidth"]);(n=a.validator)===null||n===void 0||n.call(a,{mode:S});const T=Lt(function(){var B;x==null||x.apply(void 0,arguments),(B=a.onClick)===null||B===void 0||B.call(a)}),_=a.mode||S,$=w??a.selectable,D=l.useMemo(()=>y!==void 0?y:h,[h,y]),P={horizontal:{motionName:`${u}-slide-up`},inline:Pu(u),other:{motionName:`${u}-zoom-big`}},A=o("menu",d||a.prefixCls),O=Vn(A),[N,k,M]=ade(A,O,!r),L=ne(`${A}-${g}`,c==null?void 0:c.className,f),F=l.useMemo(()=>{var B,z;if(typeof b=="function"||iS(b))return b||null;if(typeof a.expandIcon=="function"||iS(a.expandIcon))return a.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||iS(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const H=(B=b??(a==null?void 0:a.expandIcon))!==null&&B!==void 0?B:c==null?void 0:c.expandIcon;return lr(H,{className:ne(`${A}-submenu-expand-icon`,l.isValidElement(H)?(z=H.props)===null||z===void 0?void 0:z.className:void 0)})},[b,a==null?void 0:a.expandIcon,c==null?void 0:c.expandIcon,A]),j=l.useMemo(()=>({prefixCls:A,inlineCollapsed:D||!1,direction:s,firstLevel:!0,theme:g,mode:_,disableMenuItemTitleTooltip:m}),[A,D,s,m,g]);return N(l.createElement(wv.Provider,{value:null},l.createElement(Sv.Provider,{value:j},l.createElement(od,Object.assign({getPopupContainer:i,overflowedIndicator:l.createElement(h$,null),overflowedIndicatorPopupClassName:ne(A,`${A}-${g}`,E),mode:_,selectable:$,onClick:T},R,{inlineCollapsed:D,style:Object.assign(Object.assign({},c==null?void 0:c.style),p),className:L,prefixCls:A,direction:s,defaultMotions:P,expandIcon:F,ref:t,rootClassName:ne(v,k,a.rootClassName,M,O),_internalComponents:ide})))))}),pi=l.forwardRef((e,t)=>{const n=l.useRef(null),r=l.useContext(Xb);return l.useImperativeHandle(t,()=>({menu:n.current,focus:a=>{var o;(o=n.current)===null||o===void 0||o.focus(a)}})),l.createElement(sde,Object.assign({ref:n},e,r))});pi.Item=yU;pi.SubMenu=wU;pi.Divider=bU;pi.ItemGroup=m$;const lde=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:a}=e,o=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:r,"&:hover":{color:a,backgroundColor:r}}}}}},cde=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:a,sizePopupArrow:o,antCls:i,iconCls:s,motionDurationMid:c,paddingBlock:u,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:p,fontSizeIcon:g,controlPaddingHorizontal:b,colorBgElevated:m}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(o).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${i}-btn`]:{[`& > ${s}-down, & > ${i}-btn-icon > ${s}-down`]:{fontSize:g}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${s}-down`]:{fontSize:g},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft, + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:h,lineHeight:W(r),"+ span":{display:"inline-block",opacity:0}}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:a}},[`${t}-item-group-title`]:Object.assign(Object.assign({},vo),{paddingInline:g})}}]},oM=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:o,iconCls:i,iconSize:s,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${a}`].join(","),[`${t}-item-icon, ${i}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${o}`,`margin ${n} ${a}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${a}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Qu()),[`&${t}-item-only-child`]:{[`> ${i}, > ${t}-item-icon`]:{marginInlineEnd:0}}},[`${t}-item-disabled, ${t}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},iM=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:o,menuArrowOffset:i}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:o,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(o).mul(.6).equal(),height:e.calc(o).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:a,transition:[`background ${n} ${r}`,`transform ${n} ${r}`,`top ${n} ${r}`,`color ${n} ${r}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${W(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${W(i)})`}}}}},nde=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:o,motionEaseInOut:i,paddingXS:s,padding:c,colorSplit:u,lineWidth:d,zIndexPopup:f,borderRadiusLG:p,subMenuItemBorderRadius:g,menuArrowSize:v,menuArrowOffset:m,lineType:h,groupTitleLineHeight:y,groupTitleFontSize:b}=e;return[{"":{[n]:Object.assign(Object.assign({},Vo()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),Vo()),{marginBottom:0,paddingInlineStart:0,fontSize:r,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${a} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${n}-item`]:{flex:"none"}},[`${n}-item, ${n}-submenu, ${n}-submenu-title`]:{borderRadius:e.itemBorderRadius},[`${n}-item-group-title`]:{padding:`${W(s)} ${W(c)}`,fontSize:b,lineHeight:y,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${i}`,`background ${a} ${i}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${i}`,`background ${a} ${i}`,`padding ${o} ${i}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${i}`,`padding ${a} ${i}`].join(",")},[`${n}-title-content`]:{transition:`color ${a}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:u,borderStyle:h,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),oM(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${W(e.calc(r).mul(2).equal())} ${W(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:f,borderRadius:p,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:p},oM(e)),iM(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:g},[`${n}-submenu-title::after`]:{transition:`transform ${a} ${i}`}})},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:e.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:e.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:e.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:e.paddingXS}}}),iM(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${W(m)})`},"&::after":{transform:`rotate(45deg) translateX(${W(e.calc(m).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${W(e.calc(v).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${W(e.calc(m).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${W(m)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},rde=e=>{var t,n,r;const{colorPrimary:a,colorError:o,colorTextDisabled:i,colorErrorBg:s,colorText:c,colorTextDescription:u,colorBgContainer:d,colorFillAlter:f,colorFillContent:p,lineWidth:g,lineWidthBold:v,controlItemBgActive:m,colorBgTextHover:h,controlHeightLG:y,lineHeight:b,colorBgElevated:S,marginXXS:w,padding:x,fontSize:E,controlHeightSM:I,fontSizeLG:R,colorTextLightSolid:T,colorErrorHover:_}=e,$=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,D=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:g,P=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,A=new on(T).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:a,itemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:h,itemHoverBg:h,colorItemBgActive:p,itemActiveBg:m,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:m,itemSelectedBg:m,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:$,colorActiveBarHeight:v,activeBarHeight:v,colorActiveBarBorderSize:g,activeBarBorderWidth:D,colorItemTextDisabled:i,itemDisabledColor:i,colorDangerItemText:o,dangerItemColor:o,colorDangerItemTextHover:o,dangerItemHoverColor:o,colorDangerItemTextSelected:o,dangerItemSelectedColor:o,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:P,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:y,groupTitleLineHeight:b,collapsedWidth:y*2,popupBg:S,itemMarginBlock:w,itemPaddingInline:x,horizontalLineHeight:`${y*1.15}px`,iconSize:E,iconMarginInlineEnd:I-E,collapsedIconSize:R,groupTitleFontSize:E,darkItemDisabledColor:new on(T).setAlpha(.25).toRgbString(),darkItemColor:A,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:T,darkItemSelectedBg:a,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:A,darkItemHoverColor:T,darkDangerItemHoverColor:_,darkDangerItemSelectedColor:T,darkDangerItemActiveBg:o,itemWidth:$?`calc(100% + ${D}px)`:`calc(100% - ${P*2}px)`}},ade=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Kt("Menu",a=>{const{colorBgElevated:o,controlHeightLG:i,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:f,darkItemSelectedColor:p,darkItemSelectedBg:g,darkDangerItemSelectedBg:v,darkItemHoverBg:m,darkGroupTitleColor:h,darkItemHoverColor:y,darkItemDisabledColor:b,darkDangerItemHoverColor:S,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:x,popupBg:E,darkPopupBg:I}=a,R=a.calc(s).div(7).mul(5).equal(),T=Pt(a,{menuArrowSize:R,menuHorizontalHeight:a.calc(i).mul(1.15).equal(),menuArrowOffset:a.calc(R).mul(.25).equal(),menuSubMenuBg:o,calc:a.calc,popupBg:E}),_=Pt(T,{itemColor:c,itemHoverColor:y,groupTitleColor:h,itemSelectedColor:p,itemBg:d,popupBg:I,subMenuItemBg:f,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:m,itemDisabledColor:b,dangerItemColor:u,dangerItemHoverColor:S,dangerItemSelectedColor:w,dangerItemActiveBg:x,dangerItemSelectedBg:v,menuSubMenuBg:f,horizontalItemSelectedColor:p,horizontalItemSelectedBg:g});return[nde(T),Jue(T),tde(T),rM(T,"light"),rM(_,"dark"),ede(T),og(T),fi(T,"slide-up"),fi(T,"slide-down"),ig(T,"zoom-big")]},rde,{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"]],injectStyle:n,unitless:{groupTitleLineHeight:!0}})(e,t)},wU=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:o}=e,i=l.useContext(Sv),{prefixCls:s,inlineCollapsed:c,theme:u}=i,d=ad();let f;if(!r)f=c&&!d.length&&a&&typeof a=="string"?l.createElement("div",{className:`${s}-inline-collapsed-noicon`},a.charAt(0)):l.createElement("span",{className:`${s}-title-content`},a);else{const v=l.isValidElement(a)&&a.type==="span";f=l.createElement(l.Fragment,null,lr(r,{className:ne(l.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),v?a:l.createElement("span",{className:`${s}-title-content`},a))}const p=l.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),[g]=Qi("Menu");return l.createElement(Sv.Provider,{value:p},l.createElement(Yb,Object.assign({},gn(e,["icon"]),{title:f,popupClassName:ne(s,n,`${s}-${o||u}`),popupStyle:{zIndex:g}})))};var ode=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const r=l.useContext(wv),a=r||{},{getPrefixCls:o,getPopupContainer:i,direction:s,menu:c}=l.useContext(ot),u=o(),{prefixCls:d,className:f,style:p,theme:g="light",expandIcon:v,_internalDisableMenuItemTitleTooltip:m,inlineCollapsed:h,siderCollapsed:y,rootClassName:b,mode:S,selectable:w,onClick:x,overflowedIndicatorPopupClassName:E}=e,I=ode(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),R=gn(I,["collapsedWidth"]);(n=a.validator)===null||n===void 0||n.call(a,{mode:S});const T=Lt(function(){var B;x==null||x.apply(void 0,arguments),(B=a.onClick)===null||B===void 0||B.call(a)}),_=a.mode||S,$=w??a.selectable,D=l.useMemo(()=>y!==void 0?y:h,[h,y]),P={horizontal:{motionName:`${u}-slide-up`},inline:Pu(u),other:{motionName:`${u}-zoom-big`}},A=o("menu",d||a.prefixCls),O=Vn(A),[N,k,M]=ade(A,O,!r),L=ne(`${A}-${g}`,c==null?void 0:c.className,f),F=l.useMemo(()=>{var B,z;if(typeof v=="function"||iS(v))return v||null;if(typeof a.expandIcon=="function"||iS(a.expandIcon))return a.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||iS(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const H=(B=v??(a==null?void 0:a.expandIcon))!==null&&B!==void 0?B:c==null?void 0:c.expandIcon;return lr(H,{className:ne(`${A}-submenu-expand-icon`,l.isValidElement(H)?(z=H.props)===null||z===void 0?void 0:z.className:void 0)})},[v,a==null?void 0:a.expandIcon,c==null?void 0:c.expandIcon,A]),j=l.useMemo(()=>({prefixCls:A,inlineCollapsed:D||!1,direction:s,firstLevel:!0,theme:g,mode:_,disableMenuItemTitleTooltip:m}),[A,D,s,m,g]);return N(l.createElement(wv.Provider,{value:null},l.createElement(Sv.Provider,{value:j},l.createElement(od,Object.assign({getPopupContainer:i,overflowedIndicator:l.createElement(h$,null),overflowedIndicatorPopupClassName:ne(A,`${A}-${g}`,E),mode:_,selectable:$,onClick:T},R,{inlineCollapsed:D,style:Object.assign(Object.assign({},c==null?void 0:c.style),p),className:L,prefixCls:A,direction:s,defaultMotions:P,expandIcon:F,ref:t,rootClassName:ne(b,k,a.rootClassName,M,O),_internalComponents:ide})))))}),pi=l.forwardRef((e,t)=>{const n=l.useRef(null),r=l.useContext(Xb);return l.useImperativeHandle(t,()=>({menu:n.current,focus:a=>{var o;(o=n.current)===null||o===void 0||o.focus(a)}})),l.createElement(sde,Object.assign({ref:n},e,r))});pi.Item=yU;pi.SubMenu=wU;pi.Divider=bU;pi.ItemGroup=m$;const lde=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:a}=e,o=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${o}`]:{[`&${o}-danger:not(${o}-disabled)`]:{color:r,"&:hover":{color:a,backgroundColor:r}}}}}},cde=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:a,sizePopupArrow:o,antCls:i,iconCls:s,motionDurationMid:c,paddingBlock:u,fontSize:d,dropdownEdgeChildPadding:f,colorTextDisabled:p,fontSizeIcon:g,controlPaddingHorizontal:v,colorBgElevated:m}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(o).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${i}-btn`]:{[`& > ${s}-down, & > ${i}-btn-icon > ${s}-down`]:{fontSize:g}},[`${t}-wrap`]:{position:"relative",[`${i}-btn > ${s}-down`]:{fontSize:g},[`${s}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomLeft, &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomLeft, &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottom, &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottom, @@ -264,11 +264,11 @@ html body { &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottom, &${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Pb},[`&${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topLeft, &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-top, - &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Fb}}},l$(e,m,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},Gt(e)),{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:m,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},ui(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${W(u)} ${W(b)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",whiteSpace:"nowrap"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${W(u)} ${W(b)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},ui(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:m,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${W(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:g,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${W(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(b).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:p,backgroundColor:m,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[fi(e,"slide-up"),fi(e,"slide-down"),Fu(e,"move-up"),Fu(e,"move-down"),ig(e,"zoom-big")]]},ude=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},qb({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),Gb(e)),dde=Kt("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,o=Pt(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[cde(o),lde(o)]},ude,{resetStyle:!1}),fg=e=>{var t;const{menu:n,arrow:r,prefixCls:a,children:o,trigger:i,disabled:s,dropdownRender:c,getPopupContainer:u,overlayClassName:d,rootClassName:f,overlayStyle:p,open:g,onOpenChange:b,visible:m,onVisibleChange:h,mouseEnterDelay:y=.15,mouseLeaveDelay:v=.1,autoAdjustOverflow:S=!0,placement:w="",overlay:x,transitionName:E}=e,{getPopupContainer:I,getPrefixCls:R,direction:T,dropdown:_}=l.useContext(ot);Xs();const $=l.useMemo(()=>{const re=R();return E!==void 0?E:w.includes("top")?`${re}-slide-down`:`${re}-slide-up`},[R,w,E]),D=l.useMemo(()=>w?w.includes("Center")?w.slice(0,w.indexOf("Center")):w:T==="rtl"?"bottomRight":"bottomLeft",[w,T]),P=R("dropdown",a),A=Vn(P),[O,N,k]=dde(P,A),[,M]=Mr(),L=l.Children.only(o),F=lr(L,{className:ne(`${P}-trigger`,{[`${P}-rtl`]:T==="rtl"},L.props.className),disabled:(t=L.props.disabled)!==null&&t!==void 0?t:s}),j=s?[]:i,B=!!(j!=null&&j.includes("contextMenu")),[z,H]=Qt(!1,{value:g??m}),U=Lt(re=>{b==null||b(re,{source:"trigger"}),h==null||h(re),H(re)}),Z=ne(d,f,N,k,A,_==null?void 0:_.className,{[`${P}-rtl`]:T==="rtl"}),q=QH({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:S,offset:M.marginXXS,arrowWidth:r?M.sizePopupArrow:0,borderRadius:M.borderRadius}),Y=l.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(b==null||b(!1,{source:"menu"}),H(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),te=()=>{let re;return n!=null&&n.items?re=l.createElement(pi,Object.assign({},n)):typeof x=="function"?re=x():re=x,c&&(re=c(re)),re=l.Children.only(typeof re=="string"?l.createElement("span",null,re):re),l.createElement(SU,{prefixCls:`${P}-menu`,rootClassName:ne(k,A),expandIcon:l.createElement("span",{className:`${P}-menu-submenu-arrow`},l.createElement(js,{className:`${P}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Y,validator:G=>{}},re)},[ee,X]=Qi("Dropdown",p==null?void 0:p.zIndex);let ie=l.createElement(oU,Object.assign({alignPoint:B},gn(e,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:v,visible:z,builtinPlacements:q,arrow:!!r,overlayClassName:Z,prefixCls:P,getPopupContainer:u||I,transitionName:$,trigger:j,overlay:te,placement:D,onVisibleChange:U,overlayStyle:Object.assign(Object.assign(Object.assign({},_==null?void 0:_.style),p),{zIndex:ee})}),F);return ee&&(ie=l.createElement(Jp.Provider,{value:X},ie)),O(ie)};function fde(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const pde=lg(fg,"dropdown",e=>e,fde),gde=e=>l.createElement(pde,Object.assign({},e),l.createElement("span",null));fg._InternalPanelDoNotUseOrYouWillBeFired=gde;const Qb=e=>{let{children:t}=e;const{getPrefixCls:n}=l.useContext(ot),r=n("breadcrumb");return l.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};Qb.__ANT_BREADCRUMB_SEPARATOR=!0;var mde=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at[a]||r)}function CU(e,t,n,r){if(n==null)return null;const{className:a,onClick:o}=t,i=mde(t,["className","onClick"]),s=Object.assign(Object.assign({},Nn(i,{data:!0,aria:!0})),{onClick:o});return r!==void 0?l.createElement("a",Object.assign({},s,{className:ne(`${e}-link`,a),href:r}),n):l.createElement("span",Object.assign({},s,{className:ne(`${e}-link`,a)}),n)}function vde(e,t){return(r,a,o,i,s)=>{if(t)return t(r,a,o,i);const c=hde(r,a);return CU(e,r,c,s)}}var OT=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,separator:n="/",children:r,menu:a,overlay:o,dropdownProps:i,href:s}=e,u=(d=>{if(a||o){const f=Object.assign({},i);if(a){const p=a||{},{items:g}=p,b=OT(p,["items"]);f.menu=Object.assign(Object.assign({},b),{items:g==null?void 0:g.map((m,h)=>{var{key:y,title:v,label:S,path:w}=m,x=OT(m,["key","title","label","path"]);let E=S??v;return w&&(E=l.createElement("a",{href:`${s}${w}`},E)),Object.assign(Object.assign({},x),{key:y??h,label:E})})})}else o&&(f.overlay=o);return l.createElement(fg,Object.assign({placement:"bottom"},f),l.createElement("span",{className:`${t}-overlay-link`},d,l.createElement(Vb,null)))}return d})(r);return u!=null?l.createElement(l.Fragment,null,l.createElement("li",null,u),n&&l.createElement(Qb,null,n)):null},EU=e=>{const{prefixCls:t,children:n,href:r}=e,a=OT(e,["prefixCls","children","href"]),{getPrefixCls:o}=l.useContext(ot),i=o("breadcrumb",t);return l.createElement(xU,Object.assign({},a,{prefixCls:i}),CU(i,a,n,r))};EU.__ANT_BREADCRUMB_ITEM=!0;const bde=EU,yde=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${W(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},ui(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` + &${i}-slide-up-leave${i}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Fb}}},l$(e,m,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},Gt(e)),{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:m,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},ui(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${W(u)} ${W(v)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center",whiteSpace:"nowrap"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${W(u)} ${W(v)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},ui(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:m,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${W(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:g,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${W(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(v).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:p,backgroundColor:m,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[fi(e,"slide-up"),fi(e,"slide-down"),Fu(e,"move-up"),Fu(e,"move-down"),ig(e,"zoom-big")]]},ude=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},qb({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),Gb(e)),dde=Kt("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,o=Pt(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[cde(o),lde(o)]},ude,{resetStyle:!1}),fg=e=>{var t;const{menu:n,arrow:r,prefixCls:a,children:o,trigger:i,disabled:s,dropdownRender:c,getPopupContainer:u,overlayClassName:d,rootClassName:f,overlayStyle:p,open:g,onOpenChange:v,visible:m,onVisibleChange:h,mouseEnterDelay:y=.15,mouseLeaveDelay:b=.1,autoAdjustOverflow:S=!0,placement:w="",overlay:x,transitionName:E}=e,{getPopupContainer:I,getPrefixCls:R,direction:T,dropdown:_}=l.useContext(ot);Xs();const $=l.useMemo(()=>{const re=R();return E!==void 0?E:w.includes("top")?`${re}-slide-down`:`${re}-slide-up`},[R,w,E]),D=l.useMemo(()=>w?w.includes("Center")?w.slice(0,w.indexOf("Center")):w:T==="rtl"?"bottomRight":"bottomLeft",[w,T]),P=R("dropdown",a),A=Vn(P),[O,N,k]=dde(P,A),[,M]=Mr(),L=l.Children.only(o),F=lr(L,{className:ne(`${P}-trigger`,{[`${P}-rtl`]:T==="rtl"},L.props.className),disabled:(t=L.props.disabled)!==null&&t!==void 0?t:s}),j=s?[]:i,B=!!(j!=null&&j.includes("contextMenu")),[z,H]=Qt(!1,{value:g??m}),U=Lt(re=>{v==null||v(re,{source:"trigger"}),h==null||h(re),H(re)}),Z=ne(d,f,N,k,A,_==null?void 0:_.className,{[`${P}-rtl`]:T==="rtl"}),q=QH({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:S,offset:M.marginXXS,arrowWidth:r?M.sizePopupArrow:0,borderRadius:M.borderRadius}),Y=l.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(v==null||v(!1,{source:"menu"}),H(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),ee=()=>{let re;return n!=null&&n.items?re=l.createElement(pi,Object.assign({},n)):typeof x=="function"?re=x():re=x,c&&(re=c(re)),re=l.Children.only(typeof re=="string"?l.createElement("span",null,re):re),l.createElement(SU,{prefixCls:`${P}-menu`,rootClassName:ne(k,A),expandIcon:l.createElement("span",{className:`${P}-menu-submenu-arrow`},l.createElement(js,{className:`${P}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Y,validator:G=>{}},re)},[te,X]=Qi("Dropdown",p==null?void 0:p.zIndex);let ie=l.createElement(oU,Object.assign({alignPoint:B},gn(e,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:b,visible:z,builtinPlacements:q,arrow:!!r,overlayClassName:Z,prefixCls:P,getPopupContainer:u||I,transitionName:$,trigger:j,overlay:ee,placement:D,onVisibleChange:U,overlayStyle:Object.assign(Object.assign(Object.assign({},_==null?void 0:_.style),p),{zIndex:te})}),F);return te&&(ie=l.createElement(Jp.Provider,{value:X},ie)),O(ie)};function fde(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const pde=lg(fg,"dropdown",e=>e,fde),gde=e=>l.createElement(pde,Object.assign({},e),l.createElement("span",null));fg._InternalPanelDoNotUseOrYouWillBeFired=gde;const Qb=e=>{let{children:t}=e;const{getPrefixCls:n}=l.useContext(ot),r=n("breadcrumb");return l.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};Qb.__ANT_BREADCRUMB_SEPARATOR=!0;var mde=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at[a]||r)}function CU(e,t,n,r){if(n==null)return null;const{className:a,onClick:o}=t,i=mde(t,["className","onClick"]),s=Object.assign(Object.assign({},Nn(i,{data:!0,aria:!0})),{onClick:o});return r!==void 0?l.createElement("a",Object.assign({},s,{className:ne(`${e}-link`,a),href:r}),n):l.createElement("span",Object.assign({},s,{className:ne(`${e}-link`,a)}),n)}function vde(e,t){return(r,a,o,i,s)=>{if(t)return t(r,a,o,i);const c=hde(r,a);return CU(e,r,c,s)}}var OT=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,separator:n="/",children:r,menu:a,overlay:o,dropdownProps:i,href:s}=e,u=(d=>{if(a||o){const f=Object.assign({},i);if(a){const p=a||{},{items:g}=p,v=OT(p,["items"]);f.menu=Object.assign(Object.assign({},v),{items:g==null?void 0:g.map((m,h)=>{var{key:y,title:b,label:S,path:w}=m,x=OT(m,["key","title","label","path"]);let E=S??b;return w&&(E=l.createElement("a",{href:`${s}${w}`},E)),Object.assign(Object.assign({},x),{key:y??h,label:E})})})}else o&&(f.overlay=o);return l.createElement(fg,Object.assign({placement:"bottom"},f),l.createElement("span",{className:`${t}-overlay-link`},d,l.createElement(Vb,null)))}return d})(r);return u!=null?l.createElement(l.Fragment,null,l.createElement("li",null,u),n&&l.createElement(Qb,null,n)):null},EU=e=>{const{prefixCls:t,children:n,href:r}=e,a=OT(e,["prefixCls","children","href"]),{getPrefixCls:o}=l.useContext(ot),i=o("breadcrumb",t);return l.createElement(xU,Object.assign({},a,{prefixCls:i}),CU(i,a,n,r))};EU.__ANT_BREADCRUMB_ITEM=!0;const bde=EU,yde=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${W(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},ui(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` > ${n} + span, > ${n} + a - `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${W(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Sde=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),wde=Kt("Breadcrumb",e=>{const t=Pt(e,{});return yde(t)},Sde);var sM=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{breadcrumbName:i}=o,s=sM(o,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:i})})}),a}function xde(e,t){return l.useMemo(()=>e||(t?t.map(Cde):null),[e,t])}var Ede=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},pg=e=>{const{prefixCls:t,separator:n="/",style:r,className:a,rootClassName:o,routes:i,items:s,children:c,itemRender:u,params:d={}}=e,f=Ede(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:p,direction:g,breadcrumb:b}=l.useContext(ot);let m;const h=p("breadcrumb",t),[y,v,S]=wde(h),w=xde(s,i),x=vde(h,u);if(w&&w.length>0){const R=[],T=s||i;m=w.map((_,$)=>{const{path:D,key:P,type:A,menu:O,overlay:N,onClick:k,className:M,separator:L,dropdownProps:F}=_,j=Ide(d,D);j!==void 0&&R.push(j);const B=P??$;if(A==="separator")return l.createElement(Qb,{key:B},L);const z={},H=$===w.length-1;O?z.menu=O:N&&(z.overlay=N);let{href:U}=_;return R.length&&j!==void 0&&(U=`#/${R.join("/")}`),l.createElement(xU,Object.assign({key:B},z,Nn(_,{data:!0,aria:!0}),{className:M,dropdownProps:F,href:U,separator:H?"":n,onClick:k,prefixCls:h}),x(_,d,T,R,U))})}else if(c){const R=or(c).length;m=or(c).map((T,_)=>{if(!T)return T;const $=_===R-1;return lr(T,{separator:$?"":n,key:_})})}const E=ne(h,b==null?void 0:b.className,{[`${h}-rtl`]:g==="rtl"},a,o,v,S),I=Object.assign(Object.assign({},b==null?void 0:b.style),r);return y(l.createElement("nav",Object.assign({className:E,style:I},f),l.createElement("ol",null,m)))};pg.Item=bde;pg.Separator=Qb;var IU={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ta,function(){var n=1e3,r=6e4,a=36e5,o="millisecond",i="second",s="minute",c="hour",u="day",d="week",f="month",p="quarter",g="year",b="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var O=["th","st","nd","rd"],N=A%100;return"["+A+(O[(N-20)%10]||O[N]||O[0])+"]"}},S=function(A,O,N){var k=String(A);return!k||k.length>=O?A:""+Array(O+1-k.length).join(N)+A},w={s:S,z:function(A){var O=-A.utcOffset(),N=Math.abs(O),k=Math.floor(N/60),M=N%60;return(O<=0?"+":"-")+S(k,2,"0")+":"+S(M,2,"0")},m:function A(O,N){if(O.date()1)return A(F[0])}else{var j=O.name;E[j]=O,M=j}return!k&&M&&(x=M),M||!k&&x},_=function(A,O){if(R(A))return A.clone();var N=typeof O=="object"?O:{};return N.date=A,N.args=arguments,new D(N)},$=w;$.l=T,$.i=R,$.w=function(A,O){return _(A,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var D=function(){function A(N){this.$L=T(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[I]=!0}var O=A.prototype;return O.parse=function(N){this.$d=function(k){var M=k.date,L=k.utc;if(M===null)return new Date(NaN);if($.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var F=M.match(h);if(F){var j=F[2]-1||0,B=(F[7]||"0").substring(0,3);return L?new Date(Date.UTC(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,B)):new Date(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,B)}}return new Date(M)}(N),this.init()},O.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},O.$utils=function(){return $},O.isValid=function(){return this.$d.toString()!==m},O.isSame=function(N,k){var M=_(N);return this.startOf(k)<=M&&M<=this.endOf(k)},O.isAfter=function(N,k){return _(N)25){var d=i(this).startOf(r).add(1,r).date(u),f=i(this).endOf(n);if(d.isBefore(f))return 1}var p=i(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),g=this.diff(p,n,!0);return g<0?i(this).startOf("week").week():Math.ceil(g)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(_U);var Nde=_U.exports;const kde=fa(Nde);var $U={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ta,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),o=this.week(),i=this.year();return o===1&&a===11?i+1:a===0&&o>=52?i-1:i}}})})($U);var Ade=$U.exports;const Mde=fa(Ade);var OU={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ta,function(){return function(n,r){var a=r.prototype,o=a.format;a.format=function(i){var s=this,c=this.$locale();if(!this.isValid())return o.bind(this)(i);var u=this.$utils(),d=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return c.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return c.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),f==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return f}});return o.bind(this)(d)}}})})(OU);var Dde=OU.exports;const Pde=fa(Dde);var NU={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ta,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,o=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,s={},c=function(m){return(m=+m)+(m>68?1900:2e3)},u=function(m){return function(h){this[m]=+h}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(h){if(!h||h==="Z")return 0;var y=h.match(/([+-]|\d\d)/g),v=60*y[1]+(+y[2]||0);return v===0?0:y[0]==="+"?-v:v}(m)}],f=function(m){var h=s[m];return h&&(h.indexOf?h:h.s.concat(h.f))},p=function(m,h){var y,v=s.meridiem;if(v){for(var S=1;S<=24;S+=1)if(m.indexOf(v(S,0,h))>-1){y=S>12;break}}else y=m===(h?"pm":"PM");return y},g={A:[i,function(m){this.afternoon=p(m,!1)}],a:[i,function(m){this.afternoon=p(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[a,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[o,u("seconds")],ss:[o,u("seconds")],m:[o,u("minutes")],mm:[o,u("minutes")],H:[o,u("hours")],h:[o,u("hours")],HH:[o,u("hours")],hh:[o,u("hours")],D:[o,u("day")],DD:[a,u("day")],Do:[i,function(m){var h=s.ordinal,y=m.match(/\d+/);if(this.day=y[0],h)for(var v=1;v<=31;v+=1)h(v).replace(/\[|\]/g,"")===m&&(this.day=v)}],M:[o,u("month")],MM:[a,u("month")],MMM:[i,function(m){var h=f("months"),y=(f("monthsShort")||h.map(function(v){return v.slice(0,3)})).indexOf(m)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[i,function(m){var h=f("months").indexOf(m)+1;if(h<1)throw new Error;this.month=h%12||h}],Y:[/[+-]?\d+/,u("year")],YY:[a,function(m){this.year=c(m)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function b(m){var h,y;h=m,y=s&&s.formats;for(var v=(m=h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,_,$){var D=$&&$.toUpperCase();return _||y[$]||n[$]||y[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,A,O){return A||O.slice(1)})})).match(r),S=v.length,w=0;w-1)return new Date((k==="X"?1e3:1)*N);var L=b(k)(N),F=L.year,j=L.month,B=L.day,z=L.hours,H=L.minutes,U=L.seconds,Z=L.milliseconds,q=L.zone,Y=new Date,te=B||(F||j?1:Y.getDate()),ee=F||Y.getFullYear(),X=0;F&&!j||(X=j>0?j-1:Y.getMonth());var ie=z||0,re=H||0,G=U||0,Q=Z||0;return q?new Date(Date.UTC(ee,X,te,ie,re,G,Q+60*q.offset*1e3)):M?new Date(Date.UTC(ee,X,te,ie,re,G,Q)):new Date(ee,X,te,ie,re,G,Q)}catch{return new Date("")}}(x,R,E),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),$&&x!=this.format(R)&&(this.$d=new Date("")),s={}}else if(R instanceof Array)for(var P=R.length,A=1;A<=P;A+=1){I[1]=R[A-1];var O=y.apply(this,I);if(O.isValid()){this.$d=O.$d,this.$L=O.$L,this.init();break}A===P&&(this.$d=new Date(""))}else S.call(this,w)}}})})(NU);var Lde=NU.exports;const Fde=fa(Lde);ba.extend(Fde);ba.extend(Pde);ba.extend(_de);ba.extend(Ode);ba.extend(kde);ba.extend(Mde);ba.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(o){var i=(o||"").replace("Wo","wo");return r.bind(this)(i)}});var jde={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},sl=function(t){var n=jde[t];return n||t.split("_")[0]},lM=function(){Qz(!1,"Not match any format. Please help to fire a issue about this.")},Bde={getNow:function(){return ba()},getFixedDate:function(t){return ba(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return ba().locale(sl(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(sl(t)).weekday(0)},getWeek:function(t,n){return n.locale(sl(t)).week()},getShortWeekDays:function(t){return ba().locale(sl(t)).localeData().weekdaysMin()},getShortMonths:function(t){return ba().locale(sl(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(sl(t)).format(r)},parse:function(t,n,r){for(var a=sl(t),o=0;o2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=l.useState([!1,!1]),a=se(r,2),o=a[0],i=a[1],s=function(d,f){i(function(p){return $f(p,f,d)})},c=l.useMemo(function(){return o.map(function(u,d){if(u)return!0;var f=e[d];return f?!!(!n[d]&&!f||f&&t(f,{activeIndex:d})):!1})},[e,o,t,n]);return[c,s]}function FU(e,t,n,r,a){var o="",i=[];return e&&i.push(a?"hh":"HH"),t&&i.push("mm"),n&&i.push("ss"),o=i.join(":"),r&&(o+=".SSS"),a&&(o+=" A"),o}function Hde(e,t,n,r,a,o){var i=e.fieldDateTimeFormat,s=e.fieldDateFormat,c=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,f=e.fieldWeekFormat,p=e.fieldQuarterFormat,g=e.yearFormat,b=e.cellYearFormat,m=e.cellQuarterFormat,h=e.dayFormat,y=e.cellDateFormat,v=FU(t,n,r,a,o);return K(K({},e),{},{fieldDateTimeFormat:i||"YYYY-MM-DD ".concat(v),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:c||v,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:p||"YYYY-[Q]Q",yearFormat:g||"YYYY",cellYearFormat:b||"YYYY",cellQuarterFormat:m||"[Q]Q",cellDateFormat:y||h||"D"})}function jU(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,o=t.showMillisecond,i=t.use12Hours;return le.useMemo(function(){return Hde(e,n,r,a,o,i)},[e,n,r,a,o,i])}function Bd(e,t,n){return n??t.some(function(r){return e.includes(r)})}var Ude=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function Vde(e){var t=e0(e,Ude),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=ft(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function Wde(e){return e&&typeof e=="string"}function BU(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function zU(e,t,n,r,a){var o=t,i=n,s=r;if(!e&&!o&&!i&&!s&&!a)o=!0,i=!0,s=!0;else if(e){var c,u,d,f=[o,i,s].some(function(b){return b===!1}),p=[o,i,s].some(function(b){return b===!0}),g=f?!0:!p;o=(c=o)!==null&&c!==void 0?c:g,i=(u=i)!==null&&u!==void 0?u:g,s=(d=s)!==null&&d!==void 0?d:g}return[o,i,s,a]}function HU(e){var t=e.showTime,n=Vde(e),r=se(n,2),a=r[0],o=r[1],i=t&&ft(t)==="object"?t:{},s=K(K({defaultOpenValue:i.defaultOpenValue||i.defaultValue},a),i),c=s.showMillisecond,u=s.showHour,d=s.showMinute,f=s.showSecond,p=BU(u,d,f,c),g=zU(p,u,d,f,c),b=se(g,3);return u=b[0],d=b[1],f=b[2],[s,K(K({},s),{},{showHour:u,showMinute:d,showSecond:f,showMillisecond:c}),s.format,o]}function UU(e,t,n,r,a){var o=e==="time";if(e==="datetime"||o){for(var i=r,s=MU(e,a,null),c=s,u=[t,n],d=0;d1&&(i=t.addDate(i,-7)),i}function Cr(e,t){var n=t.generateConfig,r=t.locale,a=t.format;return e?typeof a=="function"?a(e):n.locale.format(r.locale,e,a):""}function Cv(e,t,n){var r=t,a=["getHour","getMinute","getSecond","getMillisecond"],o=["setHour","setMinute","setSecond","setMillisecond"];return o.forEach(function(i,s){n?r=e[i](r,e[a[s]](n)):r=e[i](r,0)}),r}function Yde(e,t,n,r,a){var o=Lt(function(i,s){return!!(n&&n(i,s)||r&&e.isAfter(r,i)&&!ea(e,t,r,i,s.type)||a&&e.isAfter(i,a)&&!ea(e,t,a,i,s.type))});return o}function Xde(e,t,n){return l.useMemo(function(){var r=MU(e,t,n),a=lc(r),o=a[0],i=ft(o)==="object"&&o.type==="mask"?o.format:null;return[a.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),i]},[e,t,n])}function Zde(e,t,n){return typeof e[0]=="function"||n?!0:t}function Qde(e,t,n,r){var a=Lt(function(o,i){var s=K({type:t},i);if(delete s.activeIndex,!e.isValidate(o)||n&&n(o,s))return!0;if((t==="date"||t==="time")&&r){var c,u=i&&i.activeIndex===1?"end":"start",d=((c=r.disabledTime)===null||c===void 0?void 0:c.call(r,o,u,{from:s.from}))||{},f=d.disabledHours,p=d.disabledMinutes,g=d.disabledSeconds,b=d.disabledMilliseconds,m=r.disabledHours,h=r.disabledMinutes,y=r.disabledSeconds,v=f||m,S=p||h,w=g||y,x=e.getHour(o),E=e.getMinute(o),I=e.getSecond(o),R=e.getMillisecond(o);if(v&&v().includes(x)||S&&S(x).includes(E)||w&&w(x,E).includes(I)||b&&b(x,E,I).includes(R))return!0}return!1});return a}function ym(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=l.useMemo(function(){var r=e&&lc(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function GU(e,t){var n=e.generateConfig,r=e.locale,a=e.picker,o=a===void 0?"date":a,i=e.prefixCls,s=i===void 0?"rc-picker":i,c=e.styles,u=c===void 0?{}:c,d=e.classNames,f=d===void 0?{}:d,p=e.order,g=p===void 0?!0:p,b=e.components,m=b===void 0?{}:b,h=e.inputRender,y=e.allowClear,v=e.clearIcon,S=e.needConfirm,w=e.multiple,x=e.format,E=e.inputReadOnly,I=e.disabledDate,R=e.minDate,T=e.maxDate,_=e.showTime,$=e.value,D=e.defaultValue,P=e.pickerValue,A=e.defaultPickerValue,O=ym($),N=ym(D),k=ym(P),M=ym(A),L=o==="date"&&_?"datetime":o,F=L==="time"||L==="datetime",j=F||w,B=S??F,z=HU(e),H=se(z,4),U=H[0],Z=H[1],q=H[2],Y=H[3],te=jU(r,Z),ee=l.useMemo(function(){return UU(L,q,Y,U,te)},[L,q,Y,U,te]),X=l.useMemo(function(){return K(K({},e),{},{prefixCls:s,locale:te,picker:o,styles:u,classNames:f,order:g,components:K({input:h},m),clearIcon:Gde(s,y,v),showTime:ee,value:O,defaultValue:N,pickerValue:k,defaultPickerValue:M},t==null?void 0:t())},[e]),ie=Xde(L,te,x),re=se(ie,2),G=re[0],Q=re[1],ae=Zde(G,E,w),oe=Yde(n,r,I,R,T),de=Qde(n,o,oe,ee),ve=l.useMemo(function(){return K(K({},X),{},{needConfirm:B,inputReadOnly:ae,disabledDate:oe})},[X,B,ae,oe]);return[ve,L,j,G,Q,de]}function Jde(e,t,n){var r=Qt(t,{value:e}),a=se(r,2),o=a[0],i=a[1],s=le.useRef(e),c=le.useRef(),u=function(){Dt.cancel(c.current)},d=Lt(function(){i(s.current),n&&o!==s.current&&n(s.current)}),f=Lt(function(p,g){u(),s.current=p,p||g?d():c.current=Dt(d)});return le.useEffect(function(){return u},[]),[o,f]}function qU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,a=n.every(function(d){return d})?!1:e,o=Jde(a,t||!1,r),i=se(o,2),s=i[0],c=i[1];function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!f.inherit||s)&&c(d,f.force)}return[s,u]}function KU(e){var t=l.useRef();return l.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(a){var o;(o=t.current)===null||o===void 0||o.focus(a)},blur:function(){var a;(a=t.current)===null||a===void 0||a.blur()}}}),t}function YU(e,t){return l.useMemo(function(){return e||(t?(cn(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=se(n,2),a=r[0],o=r[1];return{label:a,value:o}})):[])},[e,t])}function w$(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=l.useRef(t);r.current=t,kl(function(){if(e)r.current(e);else{var a=Dt(function(){r.current(e)},n);return function(){Dt.cancel(a)}}},[e])}function XU(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=l.useState(0),a=se(r,2),o=a[0],i=a[1],s=l.useState(!1),c=se(s,2),u=c[0],d=c[1],f=l.useRef([]),p=l.useRef(null),g=function(y){d(y)},b=function(y){return y&&(p.current=y),p.current},m=function(y){var v=f.current,S=new Set(v.filter(function(x){return y[x]||t[x]})),w=v[v.length-1]===0?1:0;return S.size>=2||e[w]?null:w};return w$(u||n,function(){u||(f.current=[])}),l.useEffect(function(){u&&f.current.push(o)},[u,o]),[u,g,b,o,i,m,f.current]}function efe(e,t,n,r,a,o){var i=n[n.length-1],s=function(u,d){var f=se(e,2),p=f[0],g=f[1],b=K(K({},d),{},{from:DU(e,n)});return i===1&&t[0]&&p&&!ea(r,a,p,u,b.type)&&r.isAfter(p,u)||i===0&&t[1]&&g&&!ea(r,a,g,u,b.type)&&r.isAfter(u,g)?!0:o==null?void 0:o(u,b)};return s}function rf(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var lS=[];function ZU(e,t,n,r,a,o,i,s){var c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:lS,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:lS,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:lS,f=arguments.length>11?arguments[11]:void 0,p=arguments.length>12?arguments[12]:void 0,g=arguments.length>13?arguments[13]:void 0,b=i==="time",m=o||0,h=function(k){var M=e.getNow();return b&&(M=Cv(e,M)),c[k]||n[k]||M},y=se(u,2),v=y[0],S=y[1],w=Qt(function(){return h(0)},{value:v}),x=se(w,2),E=x[0],I=x[1],R=Qt(function(){return h(1)},{value:S}),T=se(R,2),_=T[0],$=T[1],D=l.useMemo(function(){var N=[E,_][m];return b?N:Cv(e,N,d[m])},[b,E,_,m,e,d]),P=function(k){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",L=[I,$][m];L(k);var F=[E,_];F[m]=k,f&&(!ea(e,t,E,F[0],i)||!ea(e,t,_,F[1],i))&&f(F,{source:M,range:m===1?"end":"start",mode:r})},A=function(k,M){if(s){var L={date:"month",week:"month",month:"year",quarter:"year"},F=L[i];if(F&&!ea(e,t,k,M,F))return rf(e,i,M,-1);if(i==="year"&&k){var j=Math.floor(e.getYear(k)/10),B=Math.floor(e.getYear(M)/10);if(j!==B)return rf(e,i,M,-1)}}return M},O=l.useRef(null);return zt(function(){if(a&&!c[m]){var N=b?null:e.getNow();if(O.current!==null&&O.current!==m?N=[E,_][m^1]:n[m]?N=m===0?n[0]:A(n[0],n[1]):n[m^1]&&(N=n[m^1]),N){p&&e.isAfter(p,N)&&(N=p);var k=s?rf(e,i,N,1):N;g&&e.isAfter(k,g)&&(N=s?rf(e,i,g,-1):g),P(N,"reset")}}},[a,m,n[m]]),l.useEffect(function(){a?O.current=m:O.current=null},[a,m]),zt(function(){a&&c&&c[m]&&P(c[m],"reset")},[a,m]),[D,P]}function QU(e,t){var n=l.useRef(e),r=l.useState({}),a=se(r,2),o=a[1],i=function(u){return u&&t!==void 0?t:n.current},s=function(u){n.current=u,o({})};return[i,s,i(!0)]}var tfe=[];function JU(e,t,n){var r=function(i){return i.map(function(s){return Cr(s,{generateConfig:e,locale:t,format:n[0]})})},a=function(i,s){for(var c=Math.max(i.length,s.length),u=-1,d=0;d2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,i=[],s=n>=1?n|0:1,c=e;c<=t;c+=s){var u=a.includes(c);(!u||!r)&&i.push({label:v$(c,o),value:c,disabled:u})}return i}function C$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},a=r.use12Hours,o=r.hourStep,i=o===void 0?1:o,s=r.minuteStep,c=s===void 0?1:s,u=r.secondStep,d=u===void 0?1:u,f=r.millisecondStep,p=f===void 0?100:f,g=r.hideDisabledOptions,b=r.disabledTime,m=r.disabledHours,h=r.disabledMinutes,y=r.disabledSeconds,v=l.useMemo(function(){return n||e.getNow()},[n,e]),S=l.useCallback(function(M){var L=(b==null?void 0:b(M))||{};return[L.disabledHours||m||Sm,L.disabledMinutes||h||Sm,L.disabledSeconds||y||Sm,L.disabledMilliseconds||Sm]},[b,m,h,y]),w=l.useMemo(function(){return S(v)},[v,S]),x=se(w,4),E=x[0],I=x[1],R=x[2],T=x[3],_=l.useCallback(function(M,L,F,j){var B=wm(0,23,i,g,M()),z=a?B.map(function(q){return K(K({},q),{},{label:v$(q.value%12||12,2)})}):B,H=function(Y){return wm(0,59,c,g,L(Y))},U=function(Y,te){return wm(0,59,d,g,F(Y,te))},Z=function(Y,te,ee){return wm(0,999,p,g,j(Y,te,ee),3)};return[z,H,U,Z]},[g,i,a,p,c,d]),$=l.useMemo(function(){return _(E,I,R,T)},[_,E,I,R,T]),D=se($,4),P=D[0],A=D[1],O=D[2],N=D[3],k=function(L,F){var j=function(){return P},B=A,z=O,H=N;if(F){var U=S(F),Z=se(U,4),q=Z[0],Y=Z[1],te=Z[2],ee=Z[3],X=_(q,Y,te,ee),ie=se(X,4),re=ie[0],G=ie[1],Q=ie[2],ae=ie[3];j=function(){return re},B=G,z=Q,H=ae}var oe=rfe(L,j,B,z,H,e);return oe};return[k,P,A,O,N]}function afe(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,a=e.showNow,o=e.showTime,i=e.onSubmit,s=e.onNow,c=e.invalid,u=e.needConfirm,d=e.generateConfig,f=e.disabledDate,p=l.useContext(Yo),g=p.prefixCls,b=p.locale,m=p.button,h=m===void 0?"button":m,y=d.getNow(),v=C$(d,o,y),S=se(v,1),w=S[0],x=r==null?void 0:r(t),E=f(y,{type:t}),I=function(){if(!E){var A=w(y);s(A)}},R="".concat(g,"-now"),T="".concat(R,"-btn"),_=a&&l.createElement("li",{className:R},l.createElement("a",{className:ne(T,E&&"".concat(T,"-disabled")),"aria-disabled":E,onClick:I},n==="date"?b.today:b.now)),$=u&&l.createElement("li",{className:"".concat(g,"-ok")},l.createElement(h,{disabled:c,onClick:i},b.ok)),D=(_||$)&&l.createElement("ul",{className:"".concat(g,"-ranges")},_,$);return!x&&!D?null:l.createElement("div",{className:"".concat(g,"-footer")},x&&l.createElement("div",{className:"".concat(g,"-footer-extra")},x),D)}function aV(e,t,n){function r(a,o){var i=a.findIndex(function(c){return ea(e,t,c,o,n)});if(i===-1)return[].concat($e(a),[o]);var s=$e(a);return s.splice(i,1),s}return r}var cc=l.createContext(null);function n0(){return l.useContext(cc)}function id(e,t){var n=e.prefixCls,r=e.generateConfig,a=e.locale,o=e.disabledDate,i=e.minDate,s=e.maxDate,c=e.cellRender,u=e.hoverValue,d=e.hoverRangeValue,f=e.onHover,p=e.values,g=e.pickerValue,b=e.onSelect,m=e.prevIcon,h=e.nextIcon,y=e.superPrevIcon,v=e.superNextIcon,S=r.getNow(),w={now:S,values:p,pickerValue:g,prefixCls:n,disabledDate:o,minDate:i,maxDate:s,cellRender:c,hoverValue:u,hoverRangeValue:d,onHover:f,locale:a,generateConfig:r,onSelect:b,panelType:t,prevIcon:m,nextIcon:h,superPrevIcon:y,superNextIcon:v};return[w,S]}var Ns=l.createContext({});function gg(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,a=e.getCellDate,o=e.prefixColumn,i=e.rowClassName,s=e.titleFormat,c=e.getCellText,u=e.getCellClassName,d=e.headerCells,f=e.cellSelection,p=f===void 0?!0:f,g=e.disabledDate,b=n0(),m=b.prefixCls,h=b.panelType,y=b.now,v=b.disabledDate,S=b.cellRender,w=b.onHover,x=b.hoverValue,E=b.hoverRangeValue,I=b.generateConfig,R=b.values,T=b.locale,_=b.onSelect,$=g||v,D="".concat(m,"-cell"),P=l.useContext(Ns),A=P.onCellDblClick,O=function(z){return R.some(function(H){return H&&ea(I,T,z,H,h)})},N=[],k=0;k1&&arguments[1]!==void 0?arguments[1]:!1;J(_e),h==null||h(_e),Ce&&ce(_e)},fe=function(_e,Ce){te(_e),Ce&&ue(Ce),ce(Ce,_e)},pe=function(_e){if(de(_e),ue(_e),Y!==w){var Ce=["decade","year"],Re=[].concat(Ce,["month"]),he={quarter:[].concat(Ce,["quarter"]),week:[].concat($e(Re),["week"]),date:[].concat($e(Re),["date"])},Ee=he[w]||Re,je=Ee.indexOf(Y),Ae=Ee[je+1];Ae&&fe(Ae,_e)}},xe=l.useMemo(function(){var Se,_e;if(Array.isArray(I)){var Ce=se(I,2);Se=Ce[0],_e=Ce[1]}else Se=I;return!Se&&!_e?null:(Se=Se||_e,_e=_e||Se,a.isAfter(Se,_e)?[_e,Se]:[Se,_e])},[I,a]),Te=b$(R,T,_),Pe=D[ee]||mfe[ee]||r0,ke=l.useContext(Ns),Ue=l.useMemo(function(){return K(K({},ke),{},{hideHeader:P})},[ke,P]),Be="".concat(A,"-panel"),De=e0(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return l.createElement(Ns.Provider,{value:Ue},l.createElement("div",{ref:O,tabIndex:c,className:ne(Be,V({},"".concat(Be,"-rtl"),o==="rtl"))},l.createElement(Pe,be({},De,{showTime:H,prefixCls:A,locale:B,generateConfig:a,onModeChange:fe,pickerValue:ge,onPickerValueChange:function(_e){ue(_e,!0)},value:ae[0],onSelect:pe,values:ae,cellRender:Te,hoverRangeValue:xe,hoverValue:E}))))}var cS=l.memo(l.forwardRef(hfe));function vfe(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,a=e.onPickerValueChange,o=e.needConfirm,i=e.onSubmit,s=e.range,c=e.hoverValue,u=l.useContext(Yo),d=u.prefixCls,f=u.generateConfig,p=l.useCallback(function(v,S){return rf(f,t,v,S)},[f,t]),g=l.useMemo(function(){return p(r,1)},[r,p]),b=function(S){a(p(S,-1))},m={onCellDblClick:function(){o&&i()}},h=t==="time",y=K(K({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:h});return s?y.hoverRangeValue=c:y.hoverValue=c,n?l.createElement("div",{className:"".concat(d,"-panels")},l.createElement(Ns.Provider,{value:K(K({},m),{},{hideNext:!0})},l.createElement(cS,y)),l.createElement(Ns.Provider,{value:K(K({},m),{},{hidePrev:!0})},l.createElement(cS,be({},y,{pickerValue:g,onPickerValueChange:b})))):l.createElement(Ns.Provider,{value:K({},m)},l.createElement(cS,y))}function uM(e){return typeof e=="function"?e():e}function bfe(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?l.createElement("div",{className:"".concat(t,"-presets")},l.createElement("ul",null,n.map(function(o,i){var s=o.label,c=o.value;return l.createElement("li",{key:i,onClick:function(){r(uM(c))},onMouseEnter:function(){a(uM(c))},onMouseLeave:function(){a(null)}},s)}))):null}function iV(e){var t=e.panelRender,n=e.internalMode,r=e.picker,a=e.showNow,o=e.range,i=e.multiple,s=e.activeOffset,c=s===void 0?0:s,u=e.placement,d=e.presets,f=e.onPresetHover,p=e.onPresetSubmit,g=e.onFocus,b=e.onBlur,m=e.onPanelMouseDown,h=e.direction,y=e.value,v=e.onSelect,S=e.isInvalid,w=e.defaultOpenValue,x=e.onOk,E=e.onSubmit,I=l.useContext(Yo),R=I.prefixCls,T="".concat(R,"-panel"),_=h==="rtl",$=l.useRef(null),D=l.useRef(null),P=l.useState(0),A=se(P,2),O=A[0],N=A[1],k=l.useState(0),M=se(k,2),L=M[0],F=M[1],j=function(oe){oe.offsetWidth&&N(oe.offsetWidth)};l.useEffect(function(){if(o){var ae,oe=((ae=$.current)===null||ae===void 0?void 0:ae.offsetWidth)||0,de=O-oe;c<=de?F(0):F(c+oe-O)}},[O,c,o]);function B(ae){return ae.filter(function(oe){return oe})}var z=l.useMemo(function(){return B(lc(y))},[y]),H=r==="time"&&!z.length,U=l.useMemo(function(){return H?B([w]):z},[H,z,w]),Z=H?w:z,q=l.useMemo(function(){return U.length?U.some(function(ae){return S(ae)}):!0},[U,S]),Y=function(){H&&v(w),x(),E()},te=l.createElement("div",{className:"".concat(R,"-panel-layout")},l.createElement(bfe,{prefixCls:R,presets:d,onClick:p,onHover:f}),l.createElement("div",null,l.createElement(vfe,be({},e,{value:Z})),l.createElement(afe,be({},e,{showNow:i?!1:a,invalid:q,onSubmit:Y}))));t&&(te=t(te));var ee="".concat(T,"-container"),X="marginLeft",ie="marginRight",re=l.createElement("div",{onMouseDown:m,tabIndex:-1,className:ne(ee,"".concat(R,"-").concat(n,"-panel-container")),style:V(V({},_?ie:X,L),_?X:ie,"auto"),onFocus:g,onBlur:b},te);if(o){var G=Jb(u,_),Q=kU(G,_);re=l.createElement("div",{onMouseDown:m,ref:D,className:ne("".concat(R,"-range-wrapper"),"".concat(R,"-").concat(r,"-range-wrapper"))},l.createElement("div",{ref:$,className:"".concat(R,"-range-arrow"),style:V({},Q,c)}),l.createElement(zr,{onResize:j},re))}return re}function sV(e,t){var n=e.format,r=e.maskFormat,a=e.generateConfig,o=e.locale,i=e.preserveInvalidOnBlur,s=e.inputReadOnly,c=e.required,u=e["aria-required"],d=e.onSubmit,f=e.onFocus,p=e.onBlur,g=e.onInputChange,b=e.onInvalid,m=e.open,h=e.onOpenChange,y=e.onKeyDown,v=e.onChange,S=e.activeHelp,w=e.name,x=e.autoComplete,E=e.id,I=e.value,R=e.invalid,T=e.placeholder,_=e.disabled,$=e.activeIndex,D=e.allHelp,P=e.picker,A=function(B,z){var H=a.locale.parse(o.locale,B,[z]);return H&&a.isValidate(H)?H:null},O=n[0],N=l.useCallback(function(j){return Cr(j,{locale:o,format:O,generateConfig:a})},[o,a,O]),k=l.useMemo(function(){return I.map(N)},[I,N]),M=l.useMemo(function(){var j=P==="time"?8:10,B=typeof O=="function"?O(a.getNow()).length:O.length;return Math.max(j,B)+2},[O,P,a]),L=function(B){for(var z=0;z=s&&n<=c)return o;var u=Math.min(Math.abs(n-s),Math.abs(n-c));u0?Je:Xe));var Ze=We+qe,Ye=Xe-Je+1;return String(Je+(Ye+Ze-Je)%Ye)};switch(_e){case"Backspace":case"Delete":Ce="",Re=Ee;break;case"ArrowLeft":Ce="",je(-1);break;case"ArrowRight":Ce="",je(1);break;case"ArrowUp":Ce="",Re=Ae(1);break;case"ArrowDown":Ce="",Re=Ae(-1);break;default:isNaN(Number(_e))||(Ce=j+_e,Re=Ce);break}if(Ce!==null&&(B(Ce),Ce.length>=he&&(je(1),B(""))),Re!==null){var Ne=X.slice(0,oe)+v$(Re,he)+X.slice(de);ye(Ne.slice(0,i.length))}ee({})},Ue=l.useRef();zt(function(){if(!(!P||!i||ce.current)){if(!G.match(X)){ye(i);return}return re.current.setSelectionRange(oe,de),Ue.current=Dt(function(){re.current.setSelectionRange(oe,de)}),function(){Dt.cancel(Ue.current)}}},[G,i,P,X,U,oe,de,te,ye]);var Be=i?{onFocus:pe,onBlur:Te,onKeyDown:ke,onMouseDown:ue,onMouseUp:fe,onPaste:J}:{};return l.createElement("div",{ref:ie,className:ne(_,V(V({},"".concat(_,"-active"),n&&a),"".concat(_,"-placeholder"),u))},l.createElement(T,be({ref:re,"aria-invalid":m,autoComplete:"off"},y,{onKeyDown:Pe,onBlur:xe},Be,{value:X,onChange:ge})),l.createElement(a0,{type:"suffix",icon:o}),h)}),Ife=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],Tfe=["index"];function Rfe(e,t){var n=e.id,r=e.clearIcon,a=e.suffixIcon,o=e.separator,i=o===void 0?"~":o,s=e.activeIndex;e.activeHelp,e.allHelp;var c=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,p=e.onClick,g=e.onClear,b=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var m=e.disabled,h=e.invalid;e.inputReadOnly;var y=e.direction;e.onOpenChange;var v=e.onActiveOffset,S=e.placement,w=e.onMouseDown;e.required,e["aria-required"];var x=e.autoFocus,E=vt(e,Ife),I=y==="rtl",R=l.useContext(Yo),T=R.prefixCls,_=l.useMemo(function(){if(typeof n=="string")return[n];var X=n||{};return[X.start,X.end]},[n]),$=l.useRef(),D=l.useRef(),P=l.useRef(),A=function(ie){var re;return(re=[D,P][ie])===null||re===void 0?void 0:re.current};l.useImperativeHandle(t,function(){return{nativeElement:$.current,focus:function(ie){if(ft(ie)==="object"){var re,G=ie||{},Q=G.index,ae=Q===void 0?0:Q,oe=vt(G,Tfe);(re=A(ae))===null||re===void 0||re.focus(oe)}else{var de;(de=A(ie??0))===null||de===void 0||de.focus()}},blur:function(){var ie,re;(ie=A(0))===null||ie===void 0||ie.blur(),(re=A(1))===null||re===void 0||re.blur()}}});var O=lV(E),N=l.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),k=sV(K(K({},e),{},{id:_,placeholder:N})),M=se(k,1),L=M[0],F=Jb(S,I),j=kU(F,I),B=F==null?void 0:F.toLowerCase().endsWith("right"),z=l.useState({position:"absolute",width:0}),H=se(z,2),U=H[0],Z=H[1],q=Lt(function(){var X=A(s);if(X){var ie=X.nativeElement,re=ie.offsetWidth,G=ie.offsetLeft,Q=ie.offsetParent,ae=(Q==null?void 0:Q.offsetWidth)||0,oe=B?ae-re-G:G;Z(function(de){return K(K({},de),{},V({width:re},j,oe))}),v(oe)}});l.useEffect(function(){q()},[s]);var Y=r&&(b[0]&&!m[0]||b[1]&&!m[1]),te=x&&!m[0],ee=x&&!te&&!m[1];return l.createElement(zr,{onResize:q},l.createElement("div",be({},O,{className:ne(T,"".concat(T,"-range"),V(V(V(V({},"".concat(T,"-focused"),c),"".concat(T,"-disabled"),m.every(function(X){return X})),"".concat(T,"-invalid"),h.some(function(X){return X})),"".concat(T,"-rtl"),I),d),style:f,ref:$,onClick:p,onMouseDown:function(ie){var re=ie.target;re!==D.current.inputElement&&re!==P.current.inputElement&&ie.preventDefault(),w==null||w(ie)}}),l.createElement(AT,be({ref:D},L(0),{autoFocus:te,"date-range":"start"})),l.createElement("div",{className:"".concat(T,"-range-separator")},i),l.createElement(AT,be({ref:P},L(1),{autoFocus:ee,"date-range":"end"})),l.createElement("div",{className:"".concat(T,"-active-bar"),style:U}),l.createElement(a0,{type:"suffix",icon:a}),Y&&l.createElement(kT,{icon:r,onClear:g})))}var _fe=l.forwardRef(Rfe);function fM(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function xm(e){return e===1?"end":"start"}function $fe(e,t){var n=GU(e,function(){var jt=e.disabled,Mt=e.allowEmpty,nt=fM(jt,!1),_t=fM(Mt,!1);return{disabled:nt,allowEmpty:_t}}),r=se(n,6),a=r[0],o=r[1],i=r[2],s=r[3],c=r[4],u=r[5],d=a.prefixCls,f=a.styles,p=a.classNames,g=a.placement,b=a.defaultValue,m=a.value,h=a.needConfirm,y=a.onKeyDown,v=a.disabled,S=a.allowEmpty,w=a.disabledDate,x=a.minDate,E=a.maxDate,I=a.defaultOpen,R=a.open,T=a.onOpenChange,_=a.locale,$=a.generateConfig,D=a.picker,P=a.showNow,A=a.showToday,O=a.showTime,N=a.mode,k=a.onPanelChange,M=a.onCalendarChange,L=a.onOk,F=a.defaultPickerValue,j=a.pickerValue,B=a.onPickerValueChange,z=a.inputReadOnly,H=a.suffixIcon,U=a.onFocus,Z=a.onBlur,q=a.presets,Y=a.ranges,te=a.components,ee=a.cellRender,X=a.dateRender,ie=a.monthCellRender,re=a.onClick,G=KU(t),Q=qU(R,I,v,T),ae=se(Q,2),oe=ae[0],de=ae[1],ve=function(Mt,nt){(v.some(function(_t){return!_t})||!Mt)&&de(Mt,nt)},ye=tV($,_,s,!0,!1,b,m,M,L),ge=se(ye,5),J=ge[0],ce=ge[1],ue=ge[2],fe=ge[3],pe=ge[4],xe=ue(),Te=XU(v,S,oe),Pe=se(Te,7),ke=Pe[0],Ue=Pe[1],Be=Pe[2],De=Pe[3],Se=Pe[4],_e=Pe[5],Ce=Pe[6],Re=function(Mt,nt){Ue(!0),U==null||U(Mt,{range:xm(nt??De)})},he=function(Mt,nt){Ue(!1),Z==null||Z(Mt,{range:xm(nt??De)})},Ee=l.useMemo(function(){if(!O)return null;var jt=O.disabledTime,Mt=jt?function(nt){var _t=xm(De),un=DU(xe,Ce,De);return jt(nt,_t,{from:un})}:void 0;return K(K({},O),{},{disabledTime:Mt})},[O,De,xe,Ce]),je=Qt([D,D],{value:N}),Ae=se(je,2),Ne=Ae[0],ze=Ae[1],qe=Ne[De]||D,Le=qe==="date"&&Ee?"datetime":qe,Ke=Le===D&&Le!=="time",Je=rV(D,qe,P,A,!0),Xe=nV(a,J,ce,ue,fe,v,s,ke,oe,u),ut=se(Xe,2),pt=ut[0],We=ut[1],Ze=efe(xe,v,Ce,$,_,w),Ye=LU(xe,u,S),at=se(Ye,2),wt=at[0],Ct=at[1],Ot=ZU($,_,xe,Ne,oe,De,o,Ke,F,j,Ee==null?void 0:Ee.defaultOpenValue,B,x,E),dt=se(Ot,2),it=dt[0],Qe=dt[1],st=Lt(function(jt,Mt,nt){var _t=$f(Ne,De,Mt);if((_t[0]!==Ne[0]||_t[1]!==Ne[1])&&ze(_t),k&&nt!==!1){var un=$e(xe);jt&&(un[De]=jt),k(un,_t)}}),St=function(Mt,nt){return $f(xe,nt,Mt)},et=function(Mt,nt){var _t=xe;Mt&&(_t=St(Mt,De));var un=_e(_t);fe(_t),pt(De,un===null),un===null?ve(!1,{force:!0}):nt||G.current.focus({index:un})},Ie=function(Mt){var nt,_t=Mt.target.getRootNode();if(!G.current.nativeElement.contains((nt=_t.activeElement)!==null&&nt!==void 0?nt:document.activeElement)){var un=v.findIndex(function(zn){return!zn});un>=0&&G.current.focus({index:un})}ve(!0),re==null||re(Mt)},we=function(){We(null),ve(!1,{force:!0})},Oe=l.useState(null),He=se(Oe,2),Fe=He[0],Ve=He[1],tt=l.useState(null),bt=se(tt,2),xt=bt[0],Wt=bt[1],Yt=l.useMemo(function(){return xt||xe},[xe,xt]);l.useEffect(function(){oe||Wt(null)},[oe]);var Vt=l.useState(0),en=se(Vt,2),ht=en[0],yt=en[1],Tt=YU(q,Y),mn=function(Mt){Wt(Mt),Ve("preset")},Gn=function(Mt){var nt=We(Mt);nt&&ve(!1,{force:!0})},hr=function(Mt){et(Mt)},Ir=function(Mt){Wt(Mt?St(Mt,De):null),Ve("cell")},oa=function(Mt){ve(!0),Re(Mt)},Pr=function(){Be("panel")},er=function(Mt){var nt=$f(xe,De,Mt);fe(nt),!h&&!i&&o===Le&&et(Mt)},Ht=function(){ve(!1)},Nt=b$(ee,X,ie,xm(De)),Bt=xe[De]||null,kt=Lt(function(jt){return u(jt,{activeIndex:De})}),At=l.useMemo(function(){var jt=Nn(a,!1),Mt=gn(a,[].concat($e(Object.keys(jt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Mt},[a]),gt=l.createElement(iV,be({},At,{showNow:Je,showTime:Ee,range:!0,multiplePanel:Ke,activeOffset:ht,placement:g,disabledDate:Ze,onFocus:oa,onBlur:he,onPanelMouseDown:Pr,picker:D,mode:qe,internalMode:Le,onPanelChange:st,format:c,value:Bt,isInvalid:kt,onChange:null,onSelect:er,pickerValue:it,defaultOpenValue:lc(O==null?void 0:O.defaultOpenValue)[De],onPickerValueChange:Qe,hoverValue:Yt,onHover:Ir,needConfirm:h,onSubmit:et,onOk:pe,presets:Tt,onPresetHover:mn,onPresetSubmit:Gn,onNow:hr,cellRender:Nt})),mt=function(Mt,nt){var _t=St(Mt,nt);fe(_t)},nn=function(){Be("input")},bn=function(Mt,nt){Be("input"),ve(!0,{inherit:!0}),De!==nt&&oe&&!h&&i&&et(null,!0),Se(nt),Re(Mt,nt)},qn=function(Mt,nt){if(ve(!1),!h&&Be()==="input"){var _t=_e(xe);pt(De,_t===null)}he(Mt,nt)},tr=function(Mt,nt){Mt.key==="Tab"&&et(null,!0),y==null||y(Mt,nt)},Lr=l.useMemo(function(){return{prefixCls:d,locale:_,generateConfig:$,button:te.button,input:te.input}},[d,_,$,te.button,te.input]);return zt(function(){oe&&De!==void 0&&st(null,D,!1)},[oe,De,D]),zt(function(){var jt=Be();!oe&&jt==="input"&&(ve(!1),et(null,!0)),!oe&&i&&!h&&jt==="panel"&&(ve(!0),et())},[oe]),l.createElement(Yo.Provider,{value:Lr},l.createElement(AU,be({},PU(a),{popupElement:gt,popupStyle:f.popup,popupClassName:p.popup,visible:oe,onClose:Ht,range:!0}),l.createElement(_fe,be({},a,{ref:G,suffixIcon:H,activeIndex:ke||oe?De:null,activeHelp:!!xt,allHelp:!!xt&&Fe==="preset",focused:ke,onFocus:bn,onBlur:qn,onKeyDown:tr,onSubmit:et,value:Yt,maskFormat:c,onChange:mt,onInputChange:nn,format:s,inputReadOnly:z,disabled:v,open:oe,onOpenChange:ve,onClick:Ie,onClear:we,invalid:wt,onInvalid:Ct,onActiveOffset:yt}))))}var Ofe=l.forwardRef($fe);function Nfe(e){var t=e.prefixCls,n=e.value,r=e.onRemove,a=e.removeIcon,o=a===void 0?"×":a,i=e.formatDate,s=e.disabled,c=e.maxTagCount,u=e.placeholder,d="".concat(t,"-selector"),f="".concat(t,"-selection"),p="".concat(f,"-overflow");function g(h,y){return l.createElement("span",{className:ne("".concat(f,"-item")),title:typeof h=="string"?h:null},l.createElement("span",{className:"".concat(f,"-item-content")},h),!s&&y&&l.createElement("span",{onMouseDown:function(S){S.preventDefault()},onClick:y,className:"".concat(f,"-item-remove")},o))}function b(h){var y=i(h),v=function(w){w&&w.stopPropagation(),r(h)};return g(y,v)}function m(h){var y="+ ".concat(h.length," ...");return g(y)}return l.createElement("div",{className:d},l.createElement(Bo,{prefixCls:p,data:n,renderItem:b,renderRest:m,itemKey:function(y){return i(y)},maxCount:c}),!n.length&&l.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var kfe=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function Afe(e,t){e.id;var n=e.open,r=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var o=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var i=e.locale,s=e.generateConfig,c=e.placeholder,u=e.className,d=e.style,f=e.onClick,p=e.onClear,g=e.internalPicker,b=e.value,m=e.onChange,h=e.onSubmit;e.onInputChange;var y=e.multiple,v=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var S=e.disabled,w=e.invalid;e.inputReadOnly;var x=e.direction;e.onOpenChange;var E=e.onMouseDown;e.required,e["aria-required"];var I=e.autoFocus,R=e.removeIcon,T=vt(e,kfe),_=x==="rtl",$=l.useContext(Yo),D=$.prefixCls,P=l.useRef(),A=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(U){var Z;(Z=A.current)===null||Z===void 0||Z.focus(U)},blur:function(){var U;(U=A.current)===null||U===void 0||U.blur()}}});var O=lV(T),N=function(U){m([U])},k=function(U){var Z=b.filter(function(q){return q&&!ea(s,i,q,U,g)});m(Z),n||h()},M=sV(K(K({},e),{},{onChange:N}),function(H){var U=H.valueTexts;return{value:U[0]||"",active:o}}),L=se(M,2),F=L[0],j=L[1],B=!!(r&&b.length&&!S),z=y?l.createElement(l.Fragment,null,l.createElement(Nfe,{prefixCls:D,value:b,onRemove:k,formatDate:j,maxTagCount:v,disabled:S,removeIcon:R,placeholder:c}),l.createElement("input",{className:"".concat(D,"-multiple-input"),value:b.map(j).join(","),ref:A,readOnly:!0,autoFocus:I}),l.createElement(a0,{type:"suffix",icon:a}),B&&l.createElement(kT,{icon:r,onClear:p})):l.createElement(AT,be({ref:A},F(),{autoFocus:I,suffixIcon:a,clearIcon:B&&l.createElement(kT,{icon:r,onClear:p}),showActiveCls:!1}));return l.createElement("div",be({},O,{className:ne(D,V(V(V(V(V({},"".concat(D,"-multiple"),y),"".concat(D,"-focused"),o),"".concat(D,"-disabled"),S),"".concat(D,"-invalid"),w),"".concat(D,"-rtl"),_),u),style:d,ref:P,onClick:f,onMouseDown:function(U){var Z,q=U.target;q!==((Z=A.current)===null||Z===void 0?void 0:Z.inputElement)&&U.preventDefault(),E==null||E(U)}}),z)}var Mfe=l.forwardRef(Afe);function Dfe(e,t){var n=GU(e),r=se(n,6),a=r[0],o=r[1],i=r[2],s=r[3],c=r[4],u=r[5],d=a,f=d.prefixCls,p=d.styles,g=d.classNames,b=d.order,m=d.defaultValue,h=d.value,y=d.needConfirm,v=d.onChange,S=d.onKeyDown,w=d.disabled,x=d.disabledDate,E=d.minDate,I=d.maxDate,R=d.defaultOpen,T=d.open,_=d.onOpenChange,$=d.locale,D=d.generateConfig,P=d.picker,A=d.showNow,O=d.showToday,N=d.showTime,k=d.mode,M=d.onPanelChange,L=d.onCalendarChange,F=d.onOk,j=d.multiple,B=d.defaultPickerValue,z=d.pickerValue,H=d.onPickerValueChange,U=d.inputReadOnly,Z=d.suffixIcon,q=d.removeIcon,Y=d.onFocus,te=d.onBlur,ee=d.presets,X=d.components,ie=d.cellRender,re=d.dateRender,G=d.monthCellRender,Q=d.onClick,ae=KU(t);function oe(gt){return gt===null?null:j?gt:gt[0]}var de=aV(D,$,o),ve=qU(T,R,[w],_),ye=se(ve,2),ge=ye[0],J=ye[1],ce=function(mt,nn,bn){if(L){var qn=K({},bn);delete qn.range,L(oe(mt),oe(nn),qn)}},ue=function(mt){F==null||F(oe(mt))},fe=tV(D,$,s,!1,b,m,h,ce,ue),pe=se(fe,5),xe=pe[0],Te=pe[1],Pe=pe[2],ke=pe[3],Ue=pe[4],Be=Pe(),De=XU([w]),Se=se(De,4),_e=Se[0],Ce=Se[1],Re=Se[2],he=Se[3],Ee=function(mt){Ce(!0),Y==null||Y(mt,{})},je=function(mt){Ce(!1),te==null||te(mt,{})},Ae=Qt(P,{value:k}),Ne=se(Ae,2),ze=Ne[0],qe=Ne[1],Le=ze==="date"&&N?"datetime":ze,Ke=rV(P,ze,A,O),Je=v&&function(gt,mt){v(oe(gt),oe(mt))},Xe=nV(K(K({},a),{},{onChange:Je}),xe,Te,Pe,ke,[],s,_e,ge,u),ut=se(Xe,2),pt=ut[1],We=LU(Be,u),Ze=se(We,2),Ye=Ze[0],at=Ze[1],wt=l.useMemo(function(){return Ye.some(function(gt){return gt})},[Ye]),Ct=function(mt,nn){if(H){var bn=K(K({},nn),{},{mode:nn.mode[0]});delete bn.range,H(mt[0],bn)}},Ot=ZU(D,$,Be,[ze],ge,he,o,!1,B,z,lc(N==null?void 0:N.defaultOpenValue),Ct,E,I),dt=se(Ot,2),it=dt[0],Qe=dt[1],st=Lt(function(gt,mt,nn){if(qe(mt),M&&nn!==!1){var bn=gt||Be[Be.length-1];M(bn,mt)}}),St=function(){pt(Pe()),J(!1,{force:!0})},et=function(mt){!w&&!ae.current.nativeElement.contains(document.activeElement)&&ae.current.focus(),J(!0),Q==null||Q(mt)},Ie=function(){pt(null),J(!1,{force:!0})},we=l.useState(null),Oe=se(we,2),He=Oe[0],Fe=Oe[1],Ve=l.useState(null),tt=se(Ve,2),bt=tt[0],xt=tt[1],Wt=l.useMemo(function(){var gt=[bt].concat($e(Be)).filter(function(mt){return mt});return j?gt:gt.slice(0,1)},[Be,bt,j]),Yt=l.useMemo(function(){return!j&&bt?[bt]:Be.filter(function(gt){return gt})},[Be,bt,j]);l.useEffect(function(){ge||xt(null)},[ge]);var Vt=YU(ee),en=function(mt){xt(mt),Fe("preset")},ht=function(mt){var nn=j?de(Pe(),mt):[mt],bn=pt(nn);bn&&!j&&J(!1,{force:!0})},yt=function(mt){ht(mt)},Tt=function(mt){xt(mt),Fe("cell")},mn=function(mt){J(!0),Ee(mt)},Gn=function(mt){Re("panel");var nn=j?de(Pe(),mt):[mt];ke(nn),!y&&!i&&o===Le&&St()},hr=function(){J(!1)},Ir=b$(ie,re,G),oa=l.useMemo(function(){var gt=Nn(a,!1),mt=gn(a,[].concat($e(Object.keys(gt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return K(K({},mt),{},{multiple:a.multiple})},[a]),Pr=l.createElement(iV,be({},oa,{showNow:Ke,showTime:N,disabledDate:x,onFocus:mn,onBlur:je,picker:P,mode:ze,internalMode:Le,onPanelChange:st,format:c,value:Be,isInvalid:u,onChange:null,onSelect:Gn,pickerValue:it,defaultOpenValue:N==null?void 0:N.defaultOpenValue,onPickerValueChange:Qe,hoverValue:Wt,onHover:Tt,needConfirm:y,onSubmit:St,onOk:Ue,presets:Vt,onPresetHover:en,onPresetSubmit:ht,onNow:yt,cellRender:Ir})),er=function(mt){ke(mt)},Ht=function(){Re("input")},Nt=function(mt){Re("input"),J(!0,{inherit:!0}),Ee(mt)},Bt=function(mt){J(!1),je(mt)},kt=function(mt,nn){mt.key==="Tab"&&St(),S==null||S(mt,nn)},At=l.useMemo(function(){return{prefixCls:f,locale:$,generateConfig:D,button:X.button,input:X.input}},[f,$,D,X.button,X.input]);return zt(function(){ge&&he!==void 0&&st(null,P,!1)},[ge,he,P]),zt(function(){var gt=Re();!ge&>==="input"&&(J(!1),St()),!ge&&i&&!y&>==="panel"&&(J(!0),St())},[ge]),l.createElement(Yo.Provider,{value:At},l.createElement(AU,be({},PU(a),{popupElement:Pr,popupStyle:p.popup,popupClassName:g.popup,visible:ge,onClose:hr}),l.createElement(Mfe,be({},a,{ref:ae,suffixIcon:Z,removeIcon:q,activeHelp:!!bt,allHelp:!!bt&&He==="preset",focused:_e,onFocus:Nt,onBlur:Bt,onKeyDown:kt,onSubmit:St,value:Yt,maskFormat:c,onChange:er,onInputChange:Ht,internalPicker:o,format:s,inputReadOnly:U,disabled:w,open:ge,onOpenChange:J,onClick:et,onClear:Ie,invalid:wt,onInvalid:function(mt){at(mt,0)}}))))}var Pfe=l.forwardRef(Dfe);const cV=l.createContext(null),Lfe=cV.Provider,uV=l.createContext(null),Ffe=uV.Provider;var jfe=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],dV=l.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,a=e.className,o=e.style,i=e.checked,s=e.disabled,c=e.defaultChecked,u=c===void 0?!1:c,d=e.type,f=d===void 0?"checkbox":d,p=e.title,g=e.onChange,b=vt(e,jfe),m=l.useRef(null),h=l.useRef(null),y=Qt(u,{value:i}),v=se(y,2),S=v[0],w=v[1];l.useImperativeHandle(t,function(){return{focus:function(R){var T;(T=m.current)===null||T===void 0||T.focus(R)},blur:function(){var R;(R=m.current)===null||R===void 0||R.blur()},input:m.current,nativeElement:h.current}});var x=ne(r,a,V(V({},"".concat(r,"-checked"),S),"".concat(r,"-disabled"),s)),E=function(R){s||("checked"in e||w(R.target.checked),g==null||g({target:K(K({},e),{},{type:f,checked:R.target.checked}),stopPropagation:function(){R.stopPropagation()},preventDefault:function(){R.preventDefault()},nativeEvent:R.nativeEvent}))};return l.createElement("span",{className:x,title:p,style:o,ref:h},l.createElement("input",be({},b,{className:"".concat(r,"-input"),ref:m,onChange:E,disabled:s,checked:!!S,type:f})),l.createElement("span",{className:"".concat(r,"-inner")}))});const Bfe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},Gt(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},zfe=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:a,motionDurationSlow:o,motionDurationMid:i,motionEaseInOutCirc:s,colorBgContainer:c,colorBorder:u,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:p,paddingXS:g,dotColorDisabled:b,lineType:m,radioColor:h,radioBgColor:y,calc:v}=e,S=`${t}-inner`,x=v(a).sub(v(4).mul(2)),E=v(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},Gt(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${W(d)} ${m} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},Vi(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:v(1).mul(a).div(-2).equal({unit:!0}),marginInlineStart:v(1).mul(a).div(-2).equal({unit:!0}),backgroundColor:h,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${o} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:c,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:f,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:b}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${v(x).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}})}},Hfe=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:o,colorBorder:i,motionDurationSlow:s,motionDurationMid:c,buttonPaddingInline:u,fontSize:d,buttonBg:f,fontSizeLG:p,controlHeightLG:g,controlHeightSM:b,paddingXS:m,borderRadius:h,borderRadiusSM:y,borderRadiusLG:v,buttonCheckedBg:S,buttonSolidCheckedColor:w,colorTextDisabled:x,colorBgContainerDisabled:E,buttonCheckedBgDisabled:I,buttonCheckedColorDisabled:R,colorPrimary:T,colorPrimaryHover:_,colorPrimaryActive:$,buttonSolidCheckedBg:D,buttonSolidCheckedHoverBg:P,buttonSolidCheckedActiveBg:A,calc:O}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:W(O(n).sub(O(a).mul(2)).equal()),background:f,border:`${W(a)} ${o} ${i}`,borderBlockStartWidth:O(a).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${c}`,`background ${c}`,`box-shadow ${c}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:O(a).mul(-1).equal(),insetInlineStart:O(a).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:a,paddingInline:0,backgroundColor:i,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${W(a)} ${o} ${i}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:g,fontSize:p,lineHeight:W(O(g).sub(O(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},[`${r}-group-small &`]:{height:b,paddingInline:O(m).sub(a).equal(),paddingBlock:0,lineHeight:W(O(b).sub(O(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:T},"&:has(:focus-visible)":Object.assign({},Vi(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:T,background:S,borderColor:T,"&::before":{backgroundColor:T},"&:first-child":{borderColor:T},"&:hover":{color:_,borderColor:_,"&::before":{backgroundColor:_}},"&:active":{color:$,borderColor:$,"&::before":{backgroundColor:$}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:w,background:D,borderColor:D,"&:hover":{color:w,background:P,borderColor:P},"&:active":{color:w,background:A,borderColor:A}},"&-disabled":{color:x,backgroundColor:E,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:E,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:I,borderColor:i,boxShadow:"none"}}}},Ufe=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:a,fontSizeLG:o,colorText:i,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:u,colorTextLightSolid:d,colorPrimary:f,colorPrimaryHover:p,colorPrimaryActive:g,colorWhite:b}=e,m=4,h=o,y=t?h-m*2:h-(m+a)*2;return{radioSize:h,dotSize:y,dotColorDisabled:c,buttonSolidCheckedColor:d,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:p,buttonSolidCheckedActiveBg:g,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:c,buttonPaddingInline:n-a,wrapperMarginInlineEnd:r,radioColor:t?f:b,radioBgColor:t?s:f}},fV=Kt("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${W(n)} ${t}`,o=Pt(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[Bfe(o),zfe(o),Hfe(o)]},Ufe,{unitless:{radioSize:!0,dotSize:!0}});var Vfe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const a=l.useContext(cV),o=l.useContext(uV),{getPrefixCls:i,direction:s,radio:c}=l.useContext(ot),u=l.useRef(null),d=Ar(t,u),{isFormItemInput:f}=l.useContext(Er),p=A=>{var O,N;(O=e.onChange)===null||O===void 0||O.call(e,A),(N=a==null?void 0:a.onChange)===null||N===void 0||N.call(a,A)},{prefixCls:g,className:b,rootClassName:m,children:h,style:y,title:v}=e,S=Vfe(e,["prefixCls","className","rootClassName","children","style","title"]),w=i("radio",g),x=((a==null?void 0:a.optionType)||o)==="button",E=x?`${w}-button`:w,I=Vn(w),[R,T,_]=fV(w,I),$=Object.assign({},S),D=l.useContext(Vr);a&&($.name=a.name,$.onChange=p,$.checked=e.value===a.value,$.disabled=(n=$.disabled)!==null&&n!==void 0?n:a.disabled),$.disabled=(r=$.disabled)!==null&&r!==void 0?r:D;const P=ne(`${E}-wrapper`,{[`${E}-wrapper-checked`]:$.checked,[`${E}-wrapper-disabled`]:$.disabled,[`${E}-wrapper-rtl`]:s==="rtl",[`${E}-wrapper-in-form-item`]:f},c==null?void 0:c.className,b,m,T,_,I);return R(l.createElement(tg,{component:"Radio",disabled:$.disabled},l.createElement("label",{className:P,style:Object.assign(Object.assign({},c==null?void 0:c.style),y),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v},l.createElement(dV,Object.assign({},$,{className:ne($.className,{[$b]:!x}),type:"radio",prefixCls:E,ref:d})),h!==void 0?l.createElement("span",null,h):null)))},xv=l.forwardRef(Wfe),Gfe=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=l.useContext(ot),[a,o]=Qt(e.defaultValue,{value:e.value}),i=A=>{const O=a,N=A.target.value;"value"in e||o(N);const{onChange:k}=e;k&&N!==O&&k(A)},{prefixCls:s,className:c,rootClassName:u,options:d,buttonStyle:f="outline",disabled:p,children:g,size:b,style:m,id:h,onMouseEnter:y,onMouseLeave:v,onFocus:S,onBlur:w}=e,x=n("radio",s),E=`${x}-group`,I=Vn(x),[R,T,_]=fV(x,I);let $=g;d&&d.length>0&&($=d.map(A=>typeof A=="string"||typeof A=="number"?l.createElement(xv,{key:A.toString(),prefixCls:x,disabled:p,value:A,checked:a===A},A):l.createElement(xv,{key:`radio-group-value-options-${A.value}`,prefixCls:x,disabled:A.disabled||p,value:A.value,checked:a===A.value,title:A.title,style:A.style,id:A.id,required:A.required},A.label)));const D=cr(b),P=ne(E,`${E}-${f}`,{[`${E}-${D}`]:D,[`${E}-rtl`]:r==="rtl"},c,u,T,_,I);return R(l.createElement("div",Object.assign({},Nn(e,{aria:!0,data:!0}),{className:P,style:m,onMouseEnter:y,onMouseLeave:v,onFocus:S,onBlur:w,id:h,ref:t}),l.createElement(Lfe,{value:{onChange:i,value:a,disabled:e.disabled,name:e.name,optionType:e.optionType}},$)))}),qfe=l.memo(Gfe);var Kfe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n}=l.useContext(ot),{prefixCls:r}=e,a=Kfe(e,["prefixCls"]),o=n("radio",r);return l.createElement(Ffe,{value:"button"},l.createElement(xv,Object.assign({prefixCls:o},a,{type:"radio",ref:t})))},Xfe=l.forwardRef(Yfe),Va=xv;Va.Button=Xfe;Va.Group=qfe;Va.__ANT_RADIO=!0;function mg(e){return Pt(e,{inputAffixPadding:e.paddingXXS})}const hg=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:a,controlHeightSM:o,controlHeightLG:i,fontSizeLG:s,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:p,colorPrimaryHover:g,colorPrimary:b,controlOutlineWidth:m,controlOutline:h,colorErrorOutline:y,colorWarningOutline:v,colorBgContainer:S}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-a,0),paddingBlockSM:Math.max(Math.round((o-n*r)/2*10)/10-a,0),paddingBlockLG:Math.ceil((i-s*c)/2*10)/10-a,paddingInline:u-a,paddingInlineSM:d-a,paddingInlineLG:f-a,addonBg:p,activeBorderColor:b,hoverBorderColor:g,activeShadow:`0 0 0 ${m}px ${h}`,errorActiveShadow:`0 0 0 ${m}px ${y}`,warningActiveShadow:`0 0 0 ${m}px ${v}`,hoverBg:S,activeBg:S,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},Zfe=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),o0=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},Zfe(Pt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),x$=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),pM=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},x$(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),E$=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x$(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},o0(e))}),pM(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),pM(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),gM=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),pV=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},gM(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),gM(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},o0(e))}})}),I$=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},gV=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),mM=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},gV(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),T$=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gV(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},o0(e))}),mM(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),mM(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),hM=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),mV=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},hM(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),hM(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),R$=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),hV=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:a}=e;return{padding:`${W(t)} ${W(a)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},_$=e=>({padding:`${W(e.paddingBlockSM)} ${W(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),vg=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${W(e.paddingBlock)} ${W(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},R$(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},hV(e)),"&-sm":Object.assign({},_$(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),vV=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},hV(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},_$(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${W(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${W(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${W(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${W(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${W(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Vo()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${W(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Sde=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),wde=Kt("Breadcrumb",e=>{const t=Pt(e,{});return yde(t)},Sde);var sM=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{breadcrumbName:i}=o,s=sM(o,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:i})})}),a}function xde(e,t){return l.useMemo(()=>e||(t?t.map(Cde):null),[e,t])}var Ede=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},pg=e=>{const{prefixCls:t,separator:n="/",style:r,className:a,rootClassName:o,routes:i,items:s,children:c,itemRender:u,params:d={}}=e,f=Ede(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:p,direction:g,breadcrumb:v}=l.useContext(ot);let m;const h=p("breadcrumb",t),[y,b,S]=wde(h),w=xde(s,i),x=vde(h,u);if(w&&w.length>0){const R=[],T=s||i;m=w.map((_,$)=>{const{path:D,key:P,type:A,menu:O,overlay:N,onClick:k,className:M,separator:L,dropdownProps:F}=_,j=Ide(d,D);j!==void 0&&R.push(j);const B=P??$;if(A==="separator")return l.createElement(Qb,{key:B},L);const z={},H=$===w.length-1;O?z.menu=O:N&&(z.overlay=N);let{href:U}=_;return R.length&&j!==void 0&&(U=`#/${R.join("/")}`),l.createElement(xU,Object.assign({key:B},z,Nn(_,{data:!0,aria:!0}),{className:M,dropdownProps:F,href:U,separator:H?"":n,onClick:k,prefixCls:h}),x(_,d,T,R,U))})}else if(c){const R=or(c).length;m=or(c).map((T,_)=>{if(!T)return T;const $=_===R-1;return lr(T,{separator:$?"":n,key:_})})}const E=ne(h,v==null?void 0:v.className,{[`${h}-rtl`]:g==="rtl"},a,o,b,S),I=Object.assign(Object.assign({},v==null?void 0:v.style),r);return y(l.createElement("nav",Object.assign({className:E,style:I},f),l.createElement("ol",null,m)))};pg.Item=bde;pg.Separator=Qb;var IU={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ta,function(){var n=1e3,r=6e4,a=36e5,o="millisecond",i="second",s="minute",c="hour",u="day",d="week",f="month",p="quarter",g="year",v="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(A){var O=["th","st","nd","rd"],N=A%100;return"["+A+(O[(N-20)%10]||O[N]||O[0])+"]"}},S=function(A,O,N){var k=String(A);return!k||k.length>=O?A:""+Array(O+1-k.length).join(N)+A},w={s:S,z:function(A){var O=-A.utcOffset(),N=Math.abs(O),k=Math.floor(N/60),M=N%60;return(O<=0?"+":"-")+S(k,2,"0")+":"+S(M,2,"0")},m:function A(O,N){if(O.date()1)return A(F[0])}else{var j=O.name;E[j]=O,M=j}return!k&&M&&(x=M),M||!k&&x},_=function(A,O){if(R(A))return A.clone();var N=typeof O=="object"?O:{};return N.date=A,N.args=arguments,new D(N)},$=w;$.l=T,$.i=R,$.w=function(A,O){return _(A,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var D=function(){function A(N){this.$L=T(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[I]=!0}var O=A.prototype;return O.parse=function(N){this.$d=function(k){var M=k.date,L=k.utc;if(M===null)return new Date(NaN);if($.u(M))return new Date;if(M instanceof Date)return new Date(M);if(typeof M=="string"&&!/Z$/i.test(M)){var F=M.match(h);if(F){var j=F[2]-1||0,B=(F[7]||"0").substring(0,3);return L?new Date(Date.UTC(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,B)):new Date(F[1],j,F[3]||1,F[4]||0,F[5]||0,F[6]||0,B)}}return new Date(M)}(N),this.init()},O.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},O.$utils=function(){return $},O.isValid=function(){return this.$d.toString()!==m},O.isSame=function(N,k){var M=_(N);return this.startOf(k)<=M&&M<=this.endOf(k)},O.isAfter=function(N,k){return _(N)25){var d=i(this).startOf(r).add(1,r).date(u),f=i(this).endOf(n);if(d.isBefore(f))return 1}var p=i(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),g=this.diff(p,n,!0);return g<0?i(this).startOf("week").week():Math.ceil(g)},s.weeks=function(c){return c===void 0&&(c=null),this.week(c)}}})})(_U);var Nde=_U.exports;const kde=fa(Nde);var $U={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ta,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),o=this.week(),i=this.year();return o===1&&a===11?i+1:a===0&&o>=52?i-1:i}}})})($U);var Ade=$U.exports;const Mde=fa(Ade);var OU={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ta,function(){return function(n,r){var a=r.prototype,o=a.format;a.format=function(i){var s=this,c=this.$locale();if(!this.isValid())return o.bind(this)(i);var u=this.$utils(),d=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return c.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return c.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),f==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return f}});return o.bind(this)(d)}}})})(OU);var Dde=OU.exports;const Pde=fa(Dde);var NU={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ta,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,o=/\d\d?/,i=/\d*[^-_:/,()\s\d]+/,s={},c=function(m){return(m=+m)+(m>68?1900:2e3)},u=function(m){return function(h){this[m]=+h}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(m){(this.zone||(this.zone={})).offset=function(h){if(!h||h==="Z")return 0;var y=h.match(/([+-]|\d\d)/g),b=60*y[1]+(+y[2]||0);return b===0?0:y[0]==="+"?-b:b}(m)}],f=function(m){var h=s[m];return h&&(h.indexOf?h:h.s.concat(h.f))},p=function(m,h){var y,b=s.meridiem;if(b){for(var S=1;S<=24;S+=1)if(m.indexOf(b(S,0,h))>-1){y=S>12;break}}else y=m===(h?"pm":"PM");return y},g={A:[i,function(m){this.afternoon=p(m,!1)}],a:[i,function(m){this.afternoon=p(m,!0)}],S:[/\d/,function(m){this.milliseconds=100*+m}],SS:[a,function(m){this.milliseconds=10*+m}],SSS:[/\d{3}/,function(m){this.milliseconds=+m}],s:[o,u("seconds")],ss:[o,u("seconds")],m:[o,u("minutes")],mm:[o,u("minutes")],H:[o,u("hours")],h:[o,u("hours")],HH:[o,u("hours")],hh:[o,u("hours")],D:[o,u("day")],DD:[a,u("day")],Do:[i,function(m){var h=s.ordinal,y=m.match(/\d+/);if(this.day=y[0],h)for(var b=1;b<=31;b+=1)h(b).replace(/\[|\]/g,"")===m&&(this.day=b)}],M:[o,u("month")],MM:[a,u("month")],MMM:[i,function(m){var h=f("months"),y=(f("monthsShort")||h.map(function(b){return b.slice(0,3)})).indexOf(m)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[i,function(m){var h=f("months").indexOf(m)+1;if(h<1)throw new Error;this.month=h%12||h}],Y:[/[+-]?\d+/,u("year")],YY:[a,function(m){this.year=c(m)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function v(m){var h,y;h=m,y=s&&s.formats;for(var b=(m=h.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,_,$){var D=$&&$.toUpperCase();return _||y[$]||n[$]||y[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(P,A,O){return A||O.slice(1)})})).match(r),S=b.length,w=0;w-1)return new Date((k==="X"?1e3:1)*N);var L=v(k)(N),F=L.year,j=L.month,B=L.day,z=L.hours,H=L.minutes,U=L.seconds,Z=L.milliseconds,q=L.zone,Y=new Date,ee=B||(F||j?1:Y.getDate()),te=F||Y.getFullYear(),X=0;F&&!j||(X=j>0?j-1:Y.getMonth());var ie=z||0,re=H||0,G=U||0,Q=Z||0;return q?new Date(Date.UTC(te,X,ee,ie,re,G,Q+60*q.offset*1e3)):M?new Date(Date.UTC(te,X,ee,ie,re,G,Q)):new Date(te,X,ee,ie,re,G,Q)}catch{return new Date("")}}(x,R,E),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),$&&x!=this.format(R)&&(this.$d=new Date("")),s={}}else if(R instanceof Array)for(var P=R.length,A=1;A<=P;A+=1){I[1]=R[A-1];var O=y.apply(this,I);if(O.isValid()){this.$d=O.$d,this.$L=O.$L,this.init();break}A===P&&(this.$d=new Date(""))}else S.call(this,w)}}})})(NU);var Lde=NU.exports;const Fde=fa(Lde);ba.extend(Fde);ba.extend(Pde);ba.extend(_de);ba.extend(Ode);ba.extend(kde);ba.extend(Mde);ba.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(o){var i=(o||"").replace("Wo","wo");return r.bind(this)(i)}});var jde={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},sl=function(t){var n=jde[t];return n||t.split("_")[0]},lM=function(){Qz(!1,"Not match any format. Please help to fire a issue about this.")},Bde={getNow:function(){return ba()},getFixedDate:function(t){return ba(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return ba().locale(sl(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(sl(t)).weekday(0)},getWeek:function(t,n){return n.locale(sl(t)).week()},getShortWeekDays:function(t){return ba().locale(sl(t)).localeData().weekdaysMin()},getShortMonths:function(t){return ba().locale(sl(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(sl(t)).format(r)},parse:function(t,n,r){for(var a=sl(t),o=0;o2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=l.useState([!1,!1]),a=se(r,2),o=a[0],i=a[1],s=function(d,f){i(function(p){return $f(p,f,d)})},c=l.useMemo(function(){return o.map(function(u,d){if(u)return!0;var f=e[d];return f?!!(!n[d]&&!f||f&&t(f,{activeIndex:d})):!1})},[e,o,t,n]);return[c,s]}function FU(e,t,n,r,a){var o="",i=[];return e&&i.push(a?"hh":"HH"),t&&i.push("mm"),n&&i.push("ss"),o=i.join(":"),r&&(o+=".SSS"),a&&(o+=" A"),o}function Hde(e,t,n,r,a,o){var i=e.fieldDateTimeFormat,s=e.fieldDateFormat,c=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,f=e.fieldWeekFormat,p=e.fieldQuarterFormat,g=e.yearFormat,v=e.cellYearFormat,m=e.cellQuarterFormat,h=e.dayFormat,y=e.cellDateFormat,b=FU(t,n,r,a,o);return K(K({},e),{},{fieldDateTimeFormat:i||"YYYY-MM-DD ".concat(b),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:c||b,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:f||"gggg-wo",fieldQuarterFormat:p||"YYYY-[Q]Q",yearFormat:g||"YYYY",cellYearFormat:v||"YYYY",cellQuarterFormat:m||"[Q]Q",cellDateFormat:y||h||"D"})}function jU(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,o=t.showMillisecond,i=t.use12Hours;return le.useMemo(function(){return Hde(e,n,r,a,o,i)},[e,n,r,a,o,i])}function Bd(e,t,n){return n??t.some(function(r){return e.includes(r)})}var Ude=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function Vde(e){var t=e0(e,Ude),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=ft(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function Wde(e){return e&&typeof e=="string"}function BU(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function zU(e,t,n,r,a){var o=t,i=n,s=r;if(!e&&!o&&!i&&!s&&!a)o=!0,i=!0,s=!0;else if(e){var c,u,d,f=[o,i,s].some(function(v){return v===!1}),p=[o,i,s].some(function(v){return v===!0}),g=f?!0:!p;o=(c=o)!==null&&c!==void 0?c:g,i=(u=i)!==null&&u!==void 0?u:g,s=(d=s)!==null&&d!==void 0?d:g}return[o,i,s,a]}function HU(e){var t=e.showTime,n=Vde(e),r=se(n,2),a=r[0],o=r[1],i=t&&ft(t)==="object"?t:{},s=K(K({defaultOpenValue:i.defaultOpenValue||i.defaultValue},a),i),c=s.showMillisecond,u=s.showHour,d=s.showMinute,f=s.showSecond,p=BU(u,d,f,c),g=zU(p,u,d,f,c),v=se(g,3);return u=v[0],d=v[1],f=v[2],[s,K(K({},s),{},{showHour:u,showMinute:d,showSecond:f,showMillisecond:c}),s.format,o]}function UU(e,t,n,r,a){var o=e==="time";if(e==="datetime"||o){for(var i=r,s=MU(e,a,null),c=s,u=[t,n],d=0;d1&&(i=t.addDate(i,-7)),i}function Cr(e,t){var n=t.generateConfig,r=t.locale,a=t.format;return e?typeof a=="function"?a(e):n.locale.format(r.locale,e,a):""}function Cv(e,t,n){var r=t,a=["getHour","getMinute","getSecond","getMillisecond"],o=["setHour","setMinute","setSecond","setMillisecond"];return o.forEach(function(i,s){n?r=e[i](r,e[a[s]](n)):r=e[i](r,0)}),r}function Yde(e,t,n,r,a){var o=Lt(function(i,s){return!!(n&&n(i,s)||r&&e.isAfter(r,i)&&!ea(e,t,r,i,s.type)||a&&e.isAfter(i,a)&&!ea(e,t,a,i,s.type))});return o}function Xde(e,t,n){return l.useMemo(function(){var r=MU(e,t,n),a=lc(r),o=a[0],i=ft(o)==="object"&&o.type==="mask"?o.format:null;return[a.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),i]},[e,t,n])}function Zde(e,t,n){return typeof e[0]=="function"||n?!0:t}function Qde(e,t,n,r){var a=Lt(function(o,i){var s=K({type:t},i);if(delete s.activeIndex,!e.isValidate(o)||n&&n(o,s))return!0;if((t==="date"||t==="time")&&r){var c,u=i&&i.activeIndex===1?"end":"start",d=((c=r.disabledTime)===null||c===void 0?void 0:c.call(r,o,u,{from:s.from}))||{},f=d.disabledHours,p=d.disabledMinutes,g=d.disabledSeconds,v=d.disabledMilliseconds,m=r.disabledHours,h=r.disabledMinutes,y=r.disabledSeconds,b=f||m,S=p||h,w=g||y,x=e.getHour(o),E=e.getMinute(o),I=e.getSecond(o),R=e.getMillisecond(o);if(b&&b().includes(x)||S&&S(x).includes(E)||w&&w(x,E).includes(I)||v&&v(x,E,I).includes(R))return!0}return!1});return a}function ym(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=l.useMemo(function(){var r=e&&lc(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function GU(e,t){var n=e.generateConfig,r=e.locale,a=e.picker,o=a===void 0?"date":a,i=e.prefixCls,s=i===void 0?"rc-picker":i,c=e.styles,u=c===void 0?{}:c,d=e.classNames,f=d===void 0?{}:d,p=e.order,g=p===void 0?!0:p,v=e.components,m=v===void 0?{}:v,h=e.inputRender,y=e.allowClear,b=e.clearIcon,S=e.needConfirm,w=e.multiple,x=e.format,E=e.inputReadOnly,I=e.disabledDate,R=e.minDate,T=e.maxDate,_=e.showTime,$=e.value,D=e.defaultValue,P=e.pickerValue,A=e.defaultPickerValue,O=ym($),N=ym(D),k=ym(P),M=ym(A),L=o==="date"&&_?"datetime":o,F=L==="time"||L==="datetime",j=F||w,B=S??F,z=HU(e),H=se(z,4),U=H[0],Z=H[1],q=H[2],Y=H[3],ee=jU(r,Z),te=l.useMemo(function(){return UU(L,q,Y,U,ee)},[L,q,Y,U,ee]),X=l.useMemo(function(){return K(K({},e),{},{prefixCls:s,locale:ee,picker:o,styles:u,classNames:f,order:g,components:K({input:h},m),clearIcon:Gde(s,y,b),showTime:te,value:O,defaultValue:N,pickerValue:k,defaultPickerValue:M},t==null?void 0:t())},[e]),ie=Xde(L,ee,x),re=se(ie,2),G=re[0],Q=re[1],ae=Zde(G,E,w),oe=Yde(n,r,I,R,T),de=Qde(n,o,oe,te),ve=l.useMemo(function(){return K(K({},X),{},{needConfirm:B,inputReadOnly:ae,disabledDate:oe})},[X,B,ae,oe]);return[ve,L,j,G,Q,de]}function Jde(e,t,n){var r=Qt(t,{value:e}),a=se(r,2),o=a[0],i=a[1],s=le.useRef(e),c=le.useRef(),u=function(){Dt.cancel(c.current)},d=Lt(function(){i(s.current),n&&o!==s.current&&n(s.current)}),f=Lt(function(p,g){u(),s.current=p,p||g?d():c.current=Dt(d)});return le.useEffect(function(){return u},[]),[o,f]}function qU(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,a=n.every(function(d){return d})?!1:e,o=Jde(a,t||!1,r),i=se(o,2),s=i[0],c=i[1];function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!f.inherit||s)&&c(d,f.force)}return[s,u]}function KU(e){var t=l.useRef();return l.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(a){var o;(o=t.current)===null||o===void 0||o.focus(a)},blur:function(){var a;(a=t.current)===null||a===void 0||a.blur()}}}),t}function YU(e,t){return l.useMemo(function(){return e||(t?(cn(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=se(n,2),a=r[0],o=r[1];return{label:a,value:o}})):[])},[e,t])}function w$(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=l.useRef(t);r.current=t,kl(function(){if(e)r.current(e);else{var a=Dt(function(){r.current(e)},n);return function(){Dt.cancel(a)}}},[e])}function XU(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=l.useState(0),a=se(r,2),o=a[0],i=a[1],s=l.useState(!1),c=se(s,2),u=c[0],d=c[1],f=l.useRef([]),p=l.useRef(null),g=function(y){d(y)},v=function(y){return y&&(p.current=y),p.current},m=function(y){var b=f.current,S=new Set(b.filter(function(x){return y[x]||t[x]})),w=b[b.length-1]===0?1:0;return S.size>=2||e[w]?null:w};return w$(u||n,function(){u||(f.current=[])}),l.useEffect(function(){u&&f.current.push(o)},[u,o]),[u,g,v,o,i,m,f.current]}function efe(e,t,n,r,a,o){var i=n[n.length-1],s=function(u,d){var f=se(e,2),p=f[0],g=f[1],v=K(K({},d),{},{from:DU(e,n)});return i===1&&t[0]&&p&&!ea(r,a,p,u,v.type)&&r.isAfter(p,u)||i===0&&t[1]&&g&&!ea(r,a,g,u,v.type)&&r.isAfter(u,g)?!0:o==null?void 0:o(u,v)};return s}function rf(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var lS=[];function ZU(e,t,n,r,a,o,i,s){var c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:lS,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:lS,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:lS,f=arguments.length>11?arguments[11]:void 0,p=arguments.length>12?arguments[12]:void 0,g=arguments.length>13?arguments[13]:void 0,v=i==="time",m=o||0,h=function(k){var M=e.getNow();return v&&(M=Cv(e,M)),c[k]||n[k]||M},y=se(u,2),b=y[0],S=y[1],w=Qt(function(){return h(0)},{value:b}),x=se(w,2),E=x[0],I=x[1],R=Qt(function(){return h(1)},{value:S}),T=se(R,2),_=T[0],$=T[1],D=l.useMemo(function(){var N=[E,_][m];return v?N:Cv(e,N,d[m])},[v,E,_,m,e,d]),P=function(k){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",L=[I,$][m];L(k);var F=[E,_];F[m]=k,f&&(!ea(e,t,E,F[0],i)||!ea(e,t,_,F[1],i))&&f(F,{source:M,range:m===1?"end":"start",mode:r})},A=function(k,M){if(s){var L={date:"month",week:"month",month:"year",quarter:"year"},F=L[i];if(F&&!ea(e,t,k,M,F))return rf(e,i,M,-1);if(i==="year"&&k){var j=Math.floor(e.getYear(k)/10),B=Math.floor(e.getYear(M)/10);if(j!==B)return rf(e,i,M,-1)}}return M},O=l.useRef(null);return zt(function(){if(a&&!c[m]){var N=v?null:e.getNow();if(O.current!==null&&O.current!==m?N=[E,_][m^1]:n[m]?N=m===0?n[0]:A(n[0],n[1]):n[m^1]&&(N=n[m^1]),N){p&&e.isAfter(p,N)&&(N=p);var k=s?rf(e,i,N,1):N;g&&e.isAfter(k,g)&&(N=s?rf(e,i,g,-1):g),P(N,"reset")}}},[a,m,n[m]]),l.useEffect(function(){a?O.current=m:O.current=null},[a,m]),zt(function(){a&&c&&c[m]&&P(c[m],"reset")},[a,m]),[D,P]}function QU(e,t){var n=l.useRef(e),r=l.useState({}),a=se(r,2),o=a[1],i=function(u){return u&&t!==void 0?t:n.current},s=function(u){n.current=u,o({})};return[i,s,i(!0)]}var tfe=[];function JU(e,t,n){var r=function(i){return i.map(function(s){return Cr(s,{generateConfig:e,locale:t,format:n[0]})})},a=function(i,s){for(var c=Math.max(i.length,s.length),u=-1,d=0;d2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,i=[],s=n>=1?n|0:1,c=e;c<=t;c+=s){var u=a.includes(c);(!u||!r)&&i.push({label:v$(c,o),value:c,disabled:u})}return i}function C$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},a=r.use12Hours,o=r.hourStep,i=o===void 0?1:o,s=r.minuteStep,c=s===void 0?1:s,u=r.secondStep,d=u===void 0?1:u,f=r.millisecondStep,p=f===void 0?100:f,g=r.hideDisabledOptions,v=r.disabledTime,m=r.disabledHours,h=r.disabledMinutes,y=r.disabledSeconds,b=l.useMemo(function(){return n||e.getNow()},[n,e]),S=l.useCallback(function(M){var L=(v==null?void 0:v(M))||{};return[L.disabledHours||m||Sm,L.disabledMinutes||h||Sm,L.disabledSeconds||y||Sm,L.disabledMilliseconds||Sm]},[v,m,h,y]),w=l.useMemo(function(){return S(b)},[b,S]),x=se(w,4),E=x[0],I=x[1],R=x[2],T=x[3],_=l.useCallback(function(M,L,F,j){var B=wm(0,23,i,g,M()),z=a?B.map(function(q){return K(K({},q),{},{label:v$(q.value%12||12,2)})}):B,H=function(Y){return wm(0,59,c,g,L(Y))},U=function(Y,ee){return wm(0,59,d,g,F(Y,ee))},Z=function(Y,ee,te){return wm(0,999,p,g,j(Y,ee,te),3)};return[z,H,U,Z]},[g,i,a,p,c,d]),$=l.useMemo(function(){return _(E,I,R,T)},[_,E,I,R,T]),D=se($,4),P=D[0],A=D[1],O=D[2],N=D[3],k=function(L,F){var j=function(){return P},B=A,z=O,H=N;if(F){var U=S(F),Z=se(U,4),q=Z[0],Y=Z[1],ee=Z[2],te=Z[3],X=_(q,Y,ee,te),ie=se(X,4),re=ie[0],G=ie[1],Q=ie[2],ae=ie[3];j=function(){return re},B=G,z=Q,H=ae}var oe=rfe(L,j,B,z,H,e);return oe};return[k,P,A,O,N]}function afe(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,a=e.showNow,o=e.showTime,i=e.onSubmit,s=e.onNow,c=e.invalid,u=e.needConfirm,d=e.generateConfig,f=e.disabledDate,p=l.useContext(Yo),g=p.prefixCls,v=p.locale,m=p.button,h=m===void 0?"button":m,y=d.getNow(),b=C$(d,o,y),S=se(b,1),w=S[0],x=r==null?void 0:r(t),E=f(y,{type:t}),I=function(){if(!E){var A=w(y);s(A)}},R="".concat(g,"-now"),T="".concat(R,"-btn"),_=a&&l.createElement("li",{className:R},l.createElement("a",{className:ne(T,E&&"".concat(T,"-disabled")),"aria-disabled":E,onClick:I},n==="date"?v.today:v.now)),$=u&&l.createElement("li",{className:"".concat(g,"-ok")},l.createElement(h,{disabled:c,onClick:i},v.ok)),D=(_||$)&&l.createElement("ul",{className:"".concat(g,"-ranges")},_,$);return!x&&!D?null:l.createElement("div",{className:"".concat(g,"-footer")},x&&l.createElement("div",{className:"".concat(g,"-footer-extra")},x),D)}function aV(e,t,n){function r(a,o){var i=a.findIndex(function(c){return ea(e,t,c,o,n)});if(i===-1)return[].concat($e(a),[o]);var s=$e(a);return s.splice(i,1),s}return r}var cc=l.createContext(null);function n0(){return l.useContext(cc)}function id(e,t){var n=e.prefixCls,r=e.generateConfig,a=e.locale,o=e.disabledDate,i=e.minDate,s=e.maxDate,c=e.cellRender,u=e.hoverValue,d=e.hoverRangeValue,f=e.onHover,p=e.values,g=e.pickerValue,v=e.onSelect,m=e.prevIcon,h=e.nextIcon,y=e.superPrevIcon,b=e.superNextIcon,S=r.getNow(),w={now:S,values:p,pickerValue:g,prefixCls:n,disabledDate:o,minDate:i,maxDate:s,cellRender:c,hoverValue:u,hoverRangeValue:d,onHover:f,locale:a,generateConfig:r,onSelect:v,panelType:t,prevIcon:m,nextIcon:h,superPrevIcon:y,superNextIcon:b};return[w,S]}var Ns=l.createContext({});function gg(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,a=e.getCellDate,o=e.prefixColumn,i=e.rowClassName,s=e.titleFormat,c=e.getCellText,u=e.getCellClassName,d=e.headerCells,f=e.cellSelection,p=f===void 0?!0:f,g=e.disabledDate,v=n0(),m=v.prefixCls,h=v.panelType,y=v.now,b=v.disabledDate,S=v.cellRender,w=v.onHover,x=v.hoverValue,E=v.hoverRangeValue,I=v.generateConfig,R=v.values,T=v.locale,_=v.onSelect,$=g||b,D="".concat(m,"-cell"),P=l.useContext(Ns),A=P.onCellDblClick,O=function(z){return R.some(function(H){return H&&ea(I,T,z,H,h)})},N=[],k=0;k1&&arguments[1]!==void 0?arguments[1]:!1;J(_e),h==null||h(_e),Ce&&ce(_e)},fe=function(_e,Ce){ee(_e),Ce&&ue(Ce),ce(Ce,_e)},pe=function(_e){if(de(_e),ue(_e),Y!==w){var Ce=["decade","year"],Re=[].concat(Ce,["month"]),he={quarter:[].concat(Ce,["quarter"]),week:[].concat($e(Re),["week"]),date:[].concat($e(Re),["date"])},Ee=he[w]||Re,je=Ee.indexOf(Y),Ae=Ee[je+1];Ae&&fe(Ae,_e)}},xe=l.useMemo(function(){var Se,_e;if(Array.isArray(I)){var Ce=se(I,2);Se=Ce[0],_e=Ce[1]}else Se=I;return!Se&&!_e?null:(Se=Se||_e,_e=_e||Se,a.isAfter(Se,_e)?[_e,Se]:[Se,_e])},[I,a]),Te=b$(R,T,_),Pe=D[te]||mfe[te]||r0,ke=l.useContext(Ns),Ue=l.useMemo(function(){return K(K({},ke),{},{hideHeader:P})},[ke,P]),Be="".concat(A,"-panel"),De=e0(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return l.createElement(Ns.Provider,{value:Ue},l.createElement("div",{ref:O,tabIndex:c,className:ne(Be,V({},"".concat(Be,"-rtl"),o==="rtl"))},l.createElement(Pe,be({},De,{showTime:H,prefixCls:A,locale:B,generateConfig:a,onModeChange:fe,pickerValue:ge,onPickerValueChange:function(_e){ue(_e,!0)},value:ae[0],onSelect:pe,values:ae,cellRender:Te,hoverRangeValue:xe,hoverValue:E}))))}var cS=l.memo(l.forwardRef(hfe));function vfe(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,a=e.onPickerValueChange,o=e.needConfirm,i=e.onSubmit,s=e.range,c=e.hoverValue,u=l.useContext(Yo),d=u.prefixCls,f=u.generateConfig,p=l.useCallback(function(b,S){return rf(f,t,b,S)},[f,t]),g=l.useMemo(function(){return p(r,1)},[r,p]),v=function(S){a(p(S,-1))},m={onCellDblClick:function(){o&&i()}},h=t==="time",y=K(K({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:h});return s?y.hoverRangeValue=c:y.hoverValue=c,n?l.createElement("div",{className:"".concat(d,"-panels")},l.createElement(Ns.Provider,{value:K(K({},m),{},{hideNext:!0})},l.createElement(cS,y)),l.createElement(Ns.Provider,{value:K(K({},m),{},{hidePrev:!0})},l.createElement(cS,be({},y,{pickerValue:g,onPickerValueChange:v})))):l.createElement(Ns.Provider,{value:K({},m)},l.createElement(cS,y))}function uM(e){return typeof e=="function"?e():e}function bfe(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?l.createElement("div",{className:"".concat(t,"-presets")},l.createElement("ul",null,n.map(function(o,i){var s=o.label,c=o.value;return l.createElement("li",{key:i,onClick:function(){r(uM(c))},onMouseEnter:function(){a(uM(c))},onMouseLeave:function(){a(null)}},s)}))):null}function iV(e){var t=e.panelRender,n=e.internalMode,r=e.picker,a=e.showNow,o=e.range,i=e.multiple,s=e.activeOffset,c=s===void 0?0:s,u=e.placement,d=e.presets,f=e.onPresetHover,p=e.onPresetSubmit,g=e.onFocus,v=e.onBlur,m=e.onPanelMouseDown,h=e.direction,y=e.value,b=e.onSelect,S=e.isInvalid,w=e.defaultOpenValue,x=e.onOk,E=e.onSubmit,I=l.useContext(Yo),R=I.prefixCls,T="".concat(R,"-panel"),_=h==="rtl",$=l.useRef(null),D=l.useRef(null),P=l.useState(0),A=se(P,2),O=A[0],N=A[1],k=l.useState(0),M=se(k,2),L=M[0],F=M[1],j=function(oe){oe.offsetWidth&&N(oe.offsetWidth)};l.useEffect(function(){if(o){var ae,oe=((ae=$.current)===null||ae===void 0?void 0:ae.offsetWidth)||0,de=O-oe;c<=de?F(0):F(c+oe-O)}},[O,c,o]);function B(ae){return ae.filter(function(oe){return oe})}var z=l.useMemo(function(){return B(lc(y))},[y]),H=r==="time"&&!z.length,U=l.useMemo(function(){return H?B([w]):z},[H,z,w]),Z=H?w:z,q=l.useMemo(function(){return U.length?U.some(function(ae){return S(ae)}):!0},[U,S]),Y=function(){H&&b(w),x(),E()},ee=l.createElement("div",{className:"".concat(R,"-panel-layout")},l.createElement(bfe,{prefixCls:R,presets:d,onClick:p,onHover:f}),l.createElement("div",null,l.createElement(vfe,be({},e,{value:Z})),l.createElement(afe,be({},e,{showNow:i?!1:a,invalid:q,onSubmit:Y}))));t&&(ee=t(ee));var te="".concat(T,"-container"),X="marginLeft",ie="marginRight",re=l.createElement("div",{onMouseDown:m,tabIndex:-1,className:ne(te,"".concat(R,"-").concat(n,"-panel-container")),style:V(V({},_?ie:X,L),_?X:ie,"auto"),onFocus:g,onBlur:v},ee);if(o){var G=Jb(u,_),Q=kU(G,_);re=l.createElement("div",{onMouseDown:m,ref:D,className:ne("".concat(R,"-range-wrapper"),"".concat(R,"-").concat(r,"-range-wrapper"))},l.createElement("div",{ref:$,className:"".concat(R,"-range-arrow"),style:V({},Q,c)}),l.createElement(zr,{onResize:j},re))}return re}function sV(e,t){var n=e.format,r=e.maskFormat,a=e.generateConfig,o=e.locale,i=e.preserveInvalidOnBlur,s=e.inputReadOnly,c=e.required,u=e["aria-required"],d=e.onSubmit,f=e.onFocus,p=e.onBlur,g=e.onInputChange,v=e.onInvalid,m=e.open,h=e.onOpenChange,y=e.onKeyDown,b=e.onChange,S=e.activeHelp,w=e.name,x=e.autoComplete,E=e.id,I=e.value,R=e.invalid,T=e.placeholder,_=e.disabled,$=e.activeIndex,D=e.allHelp,P=e.picker,A=function(B,z){var H=a.locale.parse(o.locale,B,[z]);return H&&a.isValidate(H)?H:null},O=n[0],N=l.useCallback(function(j){return Cr(j,{locale:o,format:O,generateConfig:a})},[o,a,O]),k=l.useMemo(function(){return I.map(N)},[I,N]),M=l.useMemo(function(){var j=P==="time"?8:10,B=typeof O=="function"?O(a.getNow()).length:O.length;return Math.max(j,B)+2},[O,P,a]),L=function(B){for(var z=0;z=s&&n<=c)return o;var u=Math.min(Math.abs(n-s),Math.abs(n-c));u0?Je:Xe));var Ze=We+qe,Ye=Xe-Je+1;return String(Je+(Ye+Ze-Je)%Ye)};switch(_e){case"Backspace":case"Delete":Ce="",Re=Ee;break;case"ArrowLeft":Ce="",je(-1);break;case"ArrowRight":Ce="",je(1);break;case"ArrowUp":Ce="",Re=Ae(1);break;case"ArrowDown":Ce="",Re=Ae(-1);break;default:isNaN(Number(_e))||(Ce=j+_e,Re=Ce);break}if(Ce!==null&&(B(Ce),Ce.length>=he&&(je(1),B(""))),Re!==null){var Ne=X.slice(0,oe)+v$(Re,he)+X.slice(de);ye(Ne.slice(0,i.length))}te({})},Ue=l.useRef();zt(function(){if(!(!P||!i||ce.current)){if(!G.match(X)){ye(i);return}return re.current.setSelectionRange(oe,de),Ue.current=Dt(function(){re.current.setSelectionRange(oe,de)}),function(){Dt.cancel(Ue.current)}}},[G,i,P,X,U,oe,de,ee,ye]);var Be=i?{onFocus:pe,onBlur:Te,onKeyDown:ke,onMouseDown:ue,onMouseUp:fe,onPaste:J}:{};return l.createElement("div",{ref:ie,className:ne(_,V(V({},"".concat(_,"-active"),n&&a),"".concat(_,"-placeholder"),u))},l.createElement(T,be({ref:re,"aria-invalid":m,autoComplete:"off"},y,{onKeyDown:Pe,onBlur:xe},Be,{value:X,onChange:ge})),l.createElement(a0,{type:"suffix",icon:o}),h)}),Ife=["id","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus"],Tfe=["index"];function Rfe(e,t){var n=e.id,r=e.clearIcon,a=e.suffixIcon,o=e.separator,i=o===void 0?"~":o,s=e.activeIndex;e.activeHelp,e.allHelp;var c=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,p=e.onClick,g=e.onClear,v=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var m=e.disabled,h=e.invalid;e.inputReadOnly;var y=e.direction;e.onOpenChange;var b=e.onActiveOffset,S=e.placement,w=e.onMouseDown;e.required,e["aria-required"];var x=e.autoFocus,E=vt(e,Ife),I=y==="rtl",R=l.useContext(Yo),T=R.prefixCls,_=l.useMemo(function(){if(typeof n=="string")return[n];var X=n||{};return[X.start,X.end]},[n]),$=l.useRef(),D=l.useRef(),P=l.useRef(),A=function(ie){var re;return(re=[D,P][ie])===null||re===void 0?void 0:re.current};l.useImperativeHandle(t,function(){return{nativeElement:$.current,focus:function(ie){if(ft(ie)==="object"){var re,G=ie||{},Q=G.index,ae=Q===void 0?0:Q,oe=vt(G,Tfe);(re=A(ae))===null||re===void 0||re.focus(oe)}else{var de;(de=A(ie??0))===null||de===void 0||de.focus()}},blur:function(){var ie,re;(ie=A(0))===null||ie===void 0||ie.blur(),(re=A(1))===null||re===void 0||re.blur()}}});var O=lV(E),N=l.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),k=sV(K(K({},e),{},{id:_,placeholder:N})),M=se(k,1),L=M[0],F=Jb(S,I),j=kU(F,I),B=F==null?void 0:F.toLowerCase().endsWith("right"),z=l.useState({position:"absolute",width:0}),H=se(z,2),U=H[0],Z=H[1],q=Lt(function(){var X=A(s);if(X){var ie=X.nativeElement,re=ie.offsetWidth,G=ie.offsetLeft,Q=ie.offsetParent,ae=(Q==null?void 0:Q.offsetWidth)||0,oe=B?ae-re-G:G;Z(function(de){return K(K({},de),{},V({width:re},j,oe))}),b(oe)}});l.useEffect(function(){q()},[s]);var Y=r&&(v[0]&&!m[0]||v[1]&&!m[1]),ee=x&&!m[0],te=x&&!ee&&!m[1];return l.createElement(zr,{onResize:q},l.createElement("div",be({},O,{className:ne(T,"".concat(T,"-range"),V(V(V(V({},"".concat(T,"-focused"),c),"".concat(T,"-disabled"),m.every(function(X){return X})),"".concat(T,"-invalid"),h.some(function(X){return X})),"".concat(T,"-rtl"),I),d),style:f,ref:$,onClick:p,onMouseDown:function(ie){var re=ie.target;re!==D.current.inputElement&&re!==P.current.inputElement&&ie.preventDefault(),w==null||w(ie)}}),l.createElement(AT,be({ref:D},L(0),{autoFocus:ee,"date-range":"start"})),l.createElement("div",{className:"".concat(T,"-range-separator")},i),l.createElement(AT,be({ref:P},L(1),{autoFocus:te,"date-range":"end"})),l.createElement("div",{className:"".concat(T,"-active-bar"),style:U}),l.createElement(a0,{type:"suffix",icon:a}),Y&&l.createElement(kT,{icon:r,onClear:g})))}var _fe=l.forwardRef(Rfe);function fM(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function xm(e){return e===1?"end":"start"}function $fe(e,t){var n=GU(e,function(){var jt=e.disabled,Mt=e.allowEmpty,nt=fM(jt,!1),_t=fM(Mt,!1);return{disabled:nt,allowEmpty:_t}}),r=se(n,6),a=r[0],o=r[1],i=r[2],s=r[3],c=r[4],u=r[5],d=a.prefixCls,f=a.styles,p=a.classNames,g=a.placement,v=a.defaultValue,m=a.value,h=a.needConfirm,y=a.onKeyDown,b=a.disabled,S=a.allowEmpty,w=a.disabledDate,x=a.minDate,E=a.maxDate,I=a.defaultOpen,R=a.open,T=a.onOpenChange,_=a.locale,$=a.generateConfig,D=a.picker,P=a.showNow,A=a.showToday,O=a.showTime,N=a.mode,k=a.onPanelChange,M=a.onCalendarChange,L=a.onOk,F=a.defaultPickerValue,j=a.pickerValue,B=a.onPickerValueChange,z=a.inputReadOnly,H=a.suffixIcon,U=a.onFocus,Z=a.onBlur,q=a.presets,Y=a.ranges,ee=a.components,te=a.cellRender,X=a.dateRender,ie=a.monthCellRender,re=a.onClick,G=KU(t),Q=qU(R,I,b,T),ae=se(Q,2),oe=ae[0],de=ae[1],ve=function(Mt,nt){(b.some(function(_t){return!_t})||!Mt)&&de(Mt,nt)},ye=tV($,_,s,!0,!1,v,m,M,L),ge=se(ye,5),J=ge[0],ce=ge[1],ue=ge[2],fe=ge[3],pe=ge[4],xe=ue(),Te=XU(b,S,oe),Pe=se(Te,7),ke=Pe[0],Ue=Pe[1],Be=Pe[2],De=Pe[3],Se=Pe[4],_e=Pe[5],Ce=Pe[6],Re=function(Mt,nt){Ue(!0),U==null||U(Mt,{range:xm(nt??De)})},he=function(Mt,nt){Ue(!1),Z==null||Z(Mt,{range:xm(nt??De)})},Ee=l.useMemo(function(){if(!O)return null;var jt=O.disabledTime,Mt=jt?function(nt){var _t=xm(De),un=DU(xe,Ce,De);return jt(nt,_t,{from:un})}:void 0;return K(K({},O),{},{disabledTime:Mt})},[O,De,xe,Ce]),je=Qt([D,D],{value:N}),Ae=se(je,2),Ne=Ae[0],ze=Ae[1],qe=Ne[De]||D,Le=qe==="date"&&Ee?"datetime":qe,Ke=Le===D&&Le!=="time",Je=rV(D,qe,P,A,!0),Xe=nV(a,J,ce,ue,fe,b,s,ke,oe,u),ut=se(Xe,2),pt=ut[0],We=ut[1],Ze=efe(xe,b,Ce,$,_,w),Ye=LU(xe,u,S),at=se(Ye,2),wt=at[0],Ct=at[1],Ot=ZU($,_,xe,Ne,oe,De,o,Ke,F,j,Ee==null?void 0:Ee.defaultOpenValue,B,x,E),dt=se(Ot,2),it=dt[0],Qe=dt[1],st=Lt(function(jt,Mt,nt){var _t=$f(Ne,De,Mt);if((_t[0]!==Ne[0]||_t[1]!==Ne[1])&&ze(_t),k&&nt!==!1){var un=$e(xe);jt&&(un[De]=jt),k(un,_t)}}),St=function(Mt,nt){return $f(xe,nt,Mt)},et=function(Mt,nt){var _t=xe;Mt&&(_t=St(Mt,De));var un=_e(_t);fe(_t),pt(De,un===null),un===null?ve(!1,{force:!0}):nt||G.current.focus({index:un})},Ie=function(Mt){var nt,_t=Mt.target.getRootNode();if(!G.current.nativeElement.contains((nt=_t.activeElement)!==null&&nt!==void 0?nt:document.activeElement)){var un=b.findIndex(function(zn){return!zn});un>=0&&G.current.focus({index:un})}ve(!0),re==null||re(Mt)},we=function(){We(null),ve(!1,{force:!0})},Oe=l.useState(null),He=se(Oe,2),Fe=He[0],Ve=He[1],tt=l.useState(null),bt=se(tt,2),xt=bt[0],Wt=bt[1],Yt=l.useMemo(function(){return xt||xe},[xe,xt]);l.useEffect(function(){oe||Wt(null)},[oe]);var Vt=l.useState(0),en=se(Vt,2),ht=en[0],yt=en[1],Tt=YU(q,Y),mn=function(Mt){Wt(Mt),Ve("preset")},Gn=function(Mt){var nt=We(Mt);nt&&ve(!1,{force:!0})},hr=function(Mt){et(Mt)},Ir=function(Mt){Wt(Mt?St(Mt,De):null),Ve("cell")},oa=function(Mt){ve(!0),Re(Mt)},Pr=function(){Be("panel")},er=function(Mt){var nt=$f(xe,De,Mt);fe(nt),!h&&!i&&o===Le&&et(Mt)},Ht=function(){ve(!1)},Nt=b$(te,X,ie,xm(De)),Bt=xe[De]||null,kt=Lt(function(jt){return u(jt,{activeIndex:De})}),At=l.useMemo(function(){var jt=Nn(a,!1),Mt=gn(a,[].concat($e(Object.keys(jt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Mt},[a]),gt=l.createElement(iV,be({},At,{showNow:Je,showTime:Ee,range:!0,multiplePanel:Ke,activeOffset:ht,placement:g,disabledDate:Ze,onFocus:oa,onBlur:he,onPanelMouseDown:Pr,picker:D,mode:qe,internalMode:Le,onPanelChange:st,format:c,value:Bt,isInvalid:kt,onChange:null,onSelect:er,pickerValue:it,defaultOpenValue:lc(O==null?void 0:O.defaultOpenValue)[De],onPickerValueChange:Qe,hoverValue:Yt,onHover:Ir,needConfirm:h,onSubmit:et,onOk:pe,presets:Tt,onPresetHover:mn,onPresetSubmit:Gn,onNow:hr,cellRender:Nt})),mt=function(Mt,nt){var _t=St(Mt,nt);fe(_t)},nn=function(){Be("input")},bn=function(Mt,nt){Be("input"),ve(!0,{inherit:!0}),De!==nt&&oe&&!h&&i&&et(null,!0),Se(nt),Re(Mt,nt)},qn=function(Mt,nt){if(ve(!1),!h&&Be()==="input"){var _t=_e(xe);pt(De,_t===null)}he(Mt,nt)},tr=function(Mt,nt){Mt.key==="Tab"&&et(null,!0),y==null||y(Mt,nt)},Lr=l.useMemo(function(){return{prefixCls:d,locale:_,generateConfig:$,button:ee.button,input:ee.input}},[d,_,$,ee.button,ee.input]);return zt(function(){oe&&De!==void 0&&st(null,D,!1)},[oe,De,D]),zt(function(){var jt=Be();!oe&&jt==="input"&&(ve(!1),et(null,!0)),!oe&&i&&!h&&jt==="panel"&&(ve(!0),et())},[oe]),l.createElement(Yo.Provider,{value:Lr},l.createElement(AU,be({},PU(a),{popupElement:gt,popupStyle:f.popup,popupClassName:p.popup,visible:oe,onClose:Ht,range:!0}),l.createElement(_fe,be({},a,{ref:G,suffixIcon:H,activeIndex:ke||oe?De:null,activeHelp:!!xt,allHelp:!!xt&&Fe==="preset",focused:ke,onFocus:bn,onBlur:qn,onKeyDown:tr,onSubmit:et,value:Yt,maskFormat:c,onChange:mt,onInputChange:nn,format:s,inputReadOnly:z,disabled:b,open:oe,onOpenChange:ve,onClick:Ie,onClear:we,invalid:wt,onInvalid:Ct,onActiveOffset:yt}))))}var Ofe=l.forwardRef($fe);function Nfe(e){var t=e.prefixCls,n=e.value,r=e.onRemove,a=e.removeIcon,o=a===void 0?"×":a,i=e.formatDate,s=e.disabled,c=e.maxTagCount,u=e.placeholder,d="".concat(t,"-selector"),f="".concat(t,"-selection"),p="".concat(f,"-overflow");function g(h,y){return l.createElement("span",{className:ne("".concat(f,"-item")),title:typeof h=="string"?h:null},l.createElement("span",{className:"".concat(f,"-item-content")},h),!s&&y&&l.createElement("span",{onMouseDown:function(S){S.preventDefault()},onClick:y,className:"".concat(f,"-item-remove")},o))}function v(h){var y=i(h),b=function(w){w&&w.stopPropagation(),r(h)};return g(y,b)}function m(h){var y="+ ".concat(h.length," ...");return g(y)}return l.createElement("div",{className:d},l.createElement(Bo,{prefixCls:p,data:n,renderItem:v,renderRest:m,itemKey:function(y){return i(y)},maxCount:c}),!n.length&&l.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var kfe=["id","open","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","removeIcon"];function Afe(e,t){e.id;var n=e.open,r=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var o=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var i=e.locale,s=e.generateConfig,c=e.placeholder,u=e.className,d=e.style,f=e.onClick,p=e.onClear,g=e.internalPicker,v=e.value,m=e.onChange,h=e.onSubmit;e.onInputChange;var y=e.multiple,b=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var S=e.disabled,w=e.invalid;e.inputReadOnly;var x=e.direction;e.onOpenChange;var E=e.onMouseDown;e.required,e["aria-required"];var I=e.autoFocus,R=e.removeIcon,T=vt(e,kfe),_=x==="rtl",$=l.useContext(Yo),D=$.prefixCls,P=l.useRef(),A=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(U){var Z;(Z=A.current)===null||Z===void 0||Z.focus(U)},blur:function(){var U;(U=A.current)===null||U===void 0||U.blur()}}});var O=lV(T),N=function(U){m([U])},k=function(U){var Z=v.filter(function(q){return q&&!ea(s,i,q,U,g)});m(Z),n||h()},M=sV(K(K({},e),{},{onChange:N}),function(H){var U=H.valueTexts;return{value:U[0]||"",active:o}}),L=se(M,2),F=L[0],j=L[1],B=!!(r&&v.length&&!S),z=y?l.createElement(l.Fragment,null,l.createElement(Nfe,{prefixCls:D,value:v,onRemove:k,formatDate:j,maxTagCount:b,disabled:S,removeIcon:R,placeholder:c}),l.createElement("input",{className:"".concat(D,"-multiple-input"),value:v.map(j).join(","),ref:A,readOnly:!0,autoFocus:I}),l.createElement(a0,{type:"suffix",icon:a}),B&&l.createElement(kT,{icon:r,onClear:p})):l.createElement(AT,be({ref:A},F(),{autoFocus:I,suffixIcon:a,clearIcon:B&&l.createElement(kT,{icon:r,onClear:p}),showActiveCls:!1}));return l.createElement("div",be({},O,{className:ne(D,V(V(V(V(V({},"".concat(D,"-multiple"),y),"".concat(D,"-focused"),o),"".concat(D,"-disabled"),S),"".concat(D,"-invalid"),w),"".concat(D,"-rtl"),_),u),style:d,ref:P,onClick:f,onMouseDown:function(U){var Z,q=U.target;q!==((Z=A.current)===null||Z===void 0?void 0:Z.inputElement)&&U.preventDefault(),E==null||E(U)}}),z)}var Mfe=l.forwardRef(Afe);function Dfe(e,t){var n=GU(e),r=se(n,6),a=r[0],o=r[1],i=r[2],s=r[3],c=r[4],u=r[5],d=a,f=d.prefixCls,p=d.styles,g=d.classNames,v=d.order,m=d.defaultValue,h=d.value,y=d.needConfirm,b=d.onChange,S=d.onKeyDown,w=d.disabled,x=d.disabledDate,E=d.minDate,I=d.maxDate,R=d.defaultOpen,T=d.open,_=d.onOpenChange,$=d.locale,D=d.generateConfig,P=d.picker,A=d.showNow,O=d.showToday,N=d.showTime,k=d.mode,M=d.onPanelChange,L=d.onCalendarChange,F=d.onOk,j=d.multiple,B=d.defaultPickerValue,z=d.pickerValue,H=d.onPickerValueChange,U=d.inputReadOnly,Z=d.suffixIcon,q=d.removeIcon,Y=d.onFocus,ee=d.onBlur,te=d.presets,X=d.components,ie=d.cellRender,re=d.dateRender,G=d.monthCellRender,Q=d.onClick,ae=KU(t);function oe(gt){return gt===null?null:j?gt:gt[0]}var de=aV(D,$,o),ve=qU(T,R,[w],_),ye=se(ve,2),ge=ye[0],J=ye[1],ce=function(mt,nn,bn){if(L){var qn=K({},bn);delete qn.range,L(oe(mt),oe(nn),qn)}},ue=function(mt){F==null||F(oe(mt))},fe=tV(D,$,s,!1,v,m,h,ce,ue),pe=se(fe,5),xe=pe[0],Te=pe[1],Pe=pe[2],ke=pe[3],Ue=pe[4],Be=Pe(),De=XU([w]),Se=se(De,4),_e=Se[0],Ce=Se[1],Re=Se[2],he=Se[3],Ee=function(mt){Ce(!0),Y==null||Y(mt,{})},je=function(mt){Ce(!1),ee==null||ee(mt,{})},Ae=Qt(P,{value:k}),Ne=se(Ae,2),ze=Ne[0],qe=Ne[1],Le=ze==="date"&&N?"datetime":ze,Ke=rV(P,ze,A,O),Je=b&&function(gt,mt){b(oe(gt),oe(mt))},Xe=nV(K(K({},a),{},{onChange:Je}),xe,Te,Pe,ke,[],s,_e,ge,u),ut=se(Xe,2),pt=ut[1],We=LU(Be,u),Ze=se(We,2),Ye=Ze[0],at=Ze[1],wt=l.useMemo(function(){return Ye.some(function(gt){return gt})},[Ye]),Ct=function(mt,nn){if(H){var bn=K(K({},nn),{},{mode:nn.mode[0]});delete bn.range,H(mt[0],bn)}},Ot=ZU(D,$,Be,[ze],ge,he,o,!1,B,z,lc(N==null?void 0:N.defaultOpenValue),Ct,E,I),dt=se(Ot,2),it=dt[0],Qe=dt[1],st=Lt(function(gt,mt,nn){if(qe(mt),M&&nn!==!1){var bn=gt||Be[Be.length-1];M(bn,mt)}}),St=function(){pt(Pe()),J(!1,{force:!0})},et=function(mt){!w&&!ae.current.nativeElement.contains(document.activeElement)&&ae.current.focus(),J(!0),Q==null||Q(mt)},Ie=function(){pt(null),J(!1,{force:!0})},we=l.useState(null),Oe=se(we,2),He=Oe[0],Fe=Oe[1],Ve=l.useState(null),tt=se(Ve,2),bt=tt[0],xt=tt[1],Wt=l.useMemo(function(){var gt=[bt].concat($e(Be)).filter(function(mt){return mt});return j?gt:gt.slice(0,1)},[Be,bt,j]),Yt=l.useMemo(function(){return!j&&bt?[bt]:Be.filter(function(gt){return gt})},[Be,bt,j]);l.useEffect(function(){ge||xt(null)},[ge]);var Vt=YU(te),en=function(mt){xt(mt),Fe("preset")},ht=function(mt){var nn=j?de(Pe(),mt):[mt],bn=pt(nn);bn&&!j&&J(!1,{force:!0})},yt=function(mt){ht(mt)},Tt=function(mt){xt(mt),Fe("cell")},mn=function(mt){J(!0),Ee(mt)},Gn=function(mt){Re("panel");var nn=j?de(Pe(),mt):[mt];ke(nn),!y&&!i&&o===Le&&St()},hr=function(){J(!1)},Ir=b$(ie,re,G),oa=l.useMemo(function(){var gt=Nn(a,!1),mt=gn(a,[].concat($e(Object.keys(gt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return K(K({},mt),{},{multiple:a.multiple})},[a]),Pr=l.createElement(iV,be({},oa,{showNow:Ke,showTime:N,disabledDate:x,onFocus:mn,onBlur:je,picker:P,mode:ze,internalMode:Le,onPanelChange:st,format:c,value:Be,isInvalid:u,onChange:null,onSelect:Gn,pickerValue:it,defaultOpenValue:N==null?void 0:N.defaultOpenValue,onPickerValueChange:Qe,hoverValue:Wt,onHover:Tt,needConfirm:y,onSubmit:St,onOk:Ue,presets:Vt,onPresetHover:en,onPresetSubmit:ht,onNow:yt,cellRender:Ir})),er=function(mt){ke(mt)},Ht=function(){Re("input")},Nt=function(mt){Re("input"),J(!0,{inherit:!0}),Ee(mt)},Bt=function(mt){J(!1),je(mt)},kt=function(mt,nn){mt.key==="Tab"&&St(),S==null||S(mt,nn)},At=l.useMemo(function(){return{prefixCls:f,locale:$,generateConfig:D,button:X.button,input:X.input}},[f,$,D,X.button,X.input]);return zt(function(){ge&&he!==void 0&&st(null,P,!1)},[ge,he,P]),zt(function(){var gt=Re();!ge&>==="input"&&(J(!1),St()),!ge&&i&&!y&>==="panel"&&(J(!0),St())},[ge]),l.createElement(Yo.Provider,{value:At},l.createElement(AU,be({},PU(a),{popupElement:Pr,popupStyle:p.popup,popupClassName:g.popup,visible:ge,onClose:hr}),l.createElement(Mfe,be({},a,{ref:ae,suffixIcon:Z,removeIcon:q,activeHelp:!!bt,allHelp:!!bt&&He==="preset",focused:_e,onFocus:Nt,onBlur:Bt,onKeyDown:kt,onSubmit:St,value:Yt,maskFormat:c,onChange:er,onInputChange:Ht,internalPicker:o,format:s,inputReadOnly:U,disabled:w,open:ge,onOpenChange:J,onClick:et,onClear:Ie,invalid:wt,onInvalid:function(mt){at(mt,0)}}))))}var Pfe=l.forwardRef(Dfe);const cV=l.createContext(null),Lfe=cV.Provider,uV=l.createContext(null),Ffe=uV.Provider;var jfe=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],dV=l.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,a=e.className,o=e.style,i=e.checked,s=e.disabled,c=e.defaultChecked,u=c===void 0?!1:c,d=e.type,f=d===void 0?"checkbox":d,p=e.title,g=e.onChange,v=vt(e,jfe),m=l.useRef(null),h=l.useRef(null),y=Qt(u,{value:i}),b=se(y,2),S=b[0],w=b[1];l.useImperativeHandle(t,function(){return{focus:function(R){var T;(T=m.current)===null||T===void 0||T.focus(R)},blur:function(){var R;(R=m.current)===null||R===void 0||R.blur()},input:m.current,nativeElement:h.current}});var x=ne(r,a,V(V({},"".concat(r,"-checked"),S),"".concat(r,"-disabled"),s)),E=function(R){s||("checked"in e||w(R.target.checked),g==null||g({target:K(K({},e),{},{type:f,checked:R.target.checked}),stopPropagation:function(){R.stopPropagation()},preventDefault:function(){R.preventDefault()},nativeEvent:R.nativeEvent}))};return l.createElement("span",{className:x,title:p,style:o,ref:h},l.createElement("input",be({},v,{className:"".concat(r,"-input"),ref:m,onChange:E,disabled:s,checked:!!S,type:f})),l.createElement("span",{className:"".concat(r,"-inner")}))});const Bfe=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},Gt(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},zfe=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:a,motionDurationSlow:o,motionDurationMid:i,motionEaseInOutCirc:s,colorBgContainer:c,colorBorder:u,lineWidth:d,colorBgContainerDisabled:f,colorTextDisabled:p,paddingXS:g,dotColorDisabled:v,lineType:m,radioColor:h,radioBgColor:y,calc:b}=e,S=`${t}-inner`,x=b(a).sub(b(4).mul(2)),E=b(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},Gt(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer",[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${W(d)} ${m} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${S}`]:{borderColor:r},[`${t}-input:focus-visible + ${S}`]:Object.assign({},Vi(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:E,height:E,marginBlockStart:b(1).mul(a).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(a).div(-2).equal({unit:!0}),backgroundColor:h,borderBlockStart:0,borderInlineStart:0,borderRadius:E,transform:"scale(0)",opacity:0,transition:`all ${o} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:E,height:E,backgroundColor:c,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${i}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[S]:{borderColor:r,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[S]:{backgroundColor:f,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:v}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${t}-checked`]:{[S]:{"&::after":{transform:`scale(${b(x).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}})}},Hfe=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:o,colorBorder:i,motionDurationSlow:s,motionDurationMid:c,buttonPaddingInline:u,fontSize:d,buttonBg:f,fontSizeLG:p,controlHeightLG:g,controlHeightSM:v,paddingXS:m,borderRadius:h,borderRadiusSM:y,borderRadiusLG:b,buttonCheckedBg:S,buttonSolidCheckedColor:w,colorTextDisabled:x,colorBgContainerDisabled:E,buttonCheckedBgDisabled:I,buttonCheckedColorDisabled:R,colorPrimary:T,colorPrimaryHover:_,colorPrimaryActive:$,buttonSolidCheckedBg:D,buttonSolidCheckedHoverBg:P,buttonSolidCheckedActiveBg:A,calc:O}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:W(O(n).sub(O(a).mul(2)).equal()),background:f,border:`${W(a)} ${o} ${i}`,borderBlockStartWidth:O(a).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${c}`,`background ${c}`,`box-shadow ${c}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:O(a).mul(-1).equal(),insetInlineStart:O(a).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:a,paddingInline:0,backgroundColor:i,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${W(a)} ${o} ${i}`,borderStartStartRadius:h,borderEndStartRadius:h},"&:last-child":{borderStartEndRadius:h,borderEndEndRadius:h},"&:first-child:last-child":{borderRadius:h},[`${r}-group-large &`]:{height:g,fontSize:p,lineHeight:W(O(g).sub(O(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:v,paddingInline:O(m).sub(a).equal(),paddingBlock:0,lineHeight:W(O(v).sub(O(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:T},"&:has(:focus-visible)":Object.assign({},Vi(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:T,background:S,borderColor:T,"&::before":{backgroundColor:T},"&:first-child":{borderColor:T},"&:hover":{color:_,borderColor:_,"&::before":{backgroundColor:_}},"&:active":{color:$,borderColor:$,"&::before":{backgroundColor:$}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:w,background:D,borderColor:D,"&:hover":{color:w,background:P,borderColor:P},"&:active":{color:w,background:A,borderColor:A}},"&-disabled":{color:x,backgroundColor:E,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:x,backgroundColor:E,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:I,borderColor:i,boxShadow:"none"}}}},Ufe=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:a,fontSizeLG:o,colorText:i,colorBgContainer:s,colorTextDisabled:c,controlItemBgActiveDisabled:u,colorTextLightSolid:d,colorPrimary:f,colorPrimaryHover:p,colorPrimaryActive:g,colorWhite:v}=e,m=4,h=o,y=t?h-m*2:h-(m+a)*2;return{radioSize:h,dotSize:y,dotColorDisabled:c,buttonSolidCheckedColor:d,buttonSolidCheckedBg:f,buttonSolidCheckedHoverBg:p,buttonSolidCheckedActiveBg:g,buttonBg:s,buttonCheckedBg:s,buttonColor:i,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:c,buttonPaddingInline:n-a,wrapperMarginInlineEnd:r,radioColor:t?f:v,radioBgColor:t?s:f}},fV=Kt("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${W(n)} ${t}`,o=Pt(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[Bfe(o),zfe(o),Hfe(o)]},Ufe,{unitless:{radioSize:!0,dotSize:!0}});var Vfe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const a=l.useContext(cV),o=l.useContext(uV),{getPrefixCls:i,direction:s,radio:c}=l.useContext(ot),u=l.useRef(null),d=Ar(t,u),{isFormItemInput:f}=l.useContext(Er),p=A=>{var O,N;(O=e.onChange)===null||O===void 0||O.call(e,A),(N=a==null?void 0:a.onChange)===null||N===void 0||N.call(a,A)},{prefixCls:g,className:v,rootClassName:m,children:h,style:y,title:b}=e,S=Vfe(e,["prefixCls","className","rootClassName","children","style","title"]),w=i("radio",g),x=((a==null?void 0:a.optionType)||o)==="button",E=x?`${w}-button`:w,I=Vn(w),[R,T,_]=fV(w,I),$=Object.assign({},S),D=l.useContext(Vr);a&&($.name=a.name,$.onChange=p,$.checked=e.value===a.value,$.disabled=(n=$.disabled)!==null&&n!==void 0?n:a.disabled),$.disabled=(r=$.disabled)!==null&&r!==void 0?r:D;const P=ne(`${E}-wrapper`,{[`${E}-wrapper-checked`]:$.checked,[`${E}-wrapper-disabled`]:$.disabled,[`${E}-wrapper-rtl`]:s==="rtl",[`${E}-wrapper-in-form-item`]:f},c==null?void 0:c.className,v,m,T,_,I);return R(l.createElement(tg,{component:"Radio",disabled:$.disabled},l.createElement("label",{className:P,style:Object.assign(Object.assign({},c==null?void 0:c.style),y),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:b},l.createElement(dV,Object.assign({},$,{className:ne($.className,{[$b]:!x}),type:"radio",prefixCls:E,ref:d})),h!==void 0?l.createElement("span",null,h):null)))},xv=l.forwardRef(Wfe),Gfe=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=l.useContext(ot),[a,o]=Qt(e.defaultValue,{value:e.value}),i=A=>{const O=a,N=A.target.value;"value"in e||o(N);const{onChange:k}=e;k&&N!==O&&k(A)},{prefixCls:s,className:c,rootClassName:u,options:d,buttonStyle:f="outline",disabled:p,children:g,size:v,style:m,id:h,onMouseEnter:y,onMouseLeave:b,onFocus:S,onBlur:w}=e,x=n("radio",s),E=`${x}-group`,I=Vn(x),[R,T,_]=fV(x,I);let $=g;d&&d.length>0&&($=d.map(A=>typeof A=="string"||typeof A=="number"?l.createElement(xv,{key:A.toString(),prefixCls:x,disabled:p,value:A,checked:a===A},A):l.createElement(xv,{key:`radio-group-value-options-${A.value}`,prefixCls:x,disabled:A.disabled||p,value:A.value,checked:a===A.value,title:A.title,style:A.style,id:A.id,required:A.required},A.label)));const D=cr(v),P=ne(E,`${E}-${f}`,{[`${E}-${D}`]:D,[`${E}-rtl`]:r==="rtl"},c,u,T,_,I);return R(l.createElement("div",Object.assign({},Nn(e,{aria:!0,data:!0}),{className:P,style:m,onMouseEnter:y,onMouseLeave:b,onFocus:S,onBlur:w,id:h,ref:t}),l.createElement(Lfe,{value:{onChange:i,value:a,disabled:e.disabled,name:e.name,optionType:e.optionType}},$)))}),qfe=l.memo(Gfe);var Kfe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n}=l.useContext(ot),{prefixCls:r}=e,a=Kfe(e,["prefixCls"]),o=n("radio",r);return l.createElement(Ffe,{value:"button"},l.createElement(xv,Object.assign({prefixCls:o},a,{type:"radio",ref:t})))},Xfe=l.forwardRef(Yfe),Va=xv;Va.Button=Xfe;Va.Group=qfe;Va.__ANT_RADIO=!0;function mg(e){return Pt(e,{inputAffixPadding:e.paddingXXS})}const hg=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:a,controlHeightSM:o,controlHeightLG:i,fontSizeLG:s,lineHeightLG:c,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:f,colorFillAlter:p,colorPrimaryHover:g,colorPrimary:v,controlOutlineWidth:m,controlOutline:h,colorErrorOutline:y,colorWarningOutline:b,colorBgContainer:S}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-a,0),paddingBlockSM:Math.max(Math.round((o-n*r)/2*10)/10-a,0),paddingBlockLG:Math.ceil((i-s*c)/2*10)/10-a,paddingInline:u-a,paddingInlineSM:d-a,paddingInlineLG:f-a,addonBg:p,activeBorderColor:v,hoverBorderColor:g,activeShadow:`0 0 0 ${m}px ${h}`,errorActiveShadow:`0 0 0 ${m}px ${y}`,warningActiveShadow:`0 0 0 ${m}px ${b}`,hoverBg:S,activeBg:S,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},Zfe=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),o0=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},Zfe(Pt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),x$=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),pM=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},x$(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),E$=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},x$(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},o0(e))}),pM(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),pM(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),gM=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),pV=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},gM(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),gM(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},o0(e))}})}),I$=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},gV=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),mM=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},gV(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),T$=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gV(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},o0(e))}),mM(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),mM(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),hM=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),mV=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},hM(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),hM(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),R$=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),hV=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:a}=e;return{padding:`${W(t)} ${W(a)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},_$=e=>({padding:`${W(e.paddingBlockSM)} ${W(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),vg=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${W(e.paddingBlock)} ${W(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},R$(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},hV(e)),"&-sm":Object.assign({},_$(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),vV=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},hV(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},_$(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${W(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${W(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${W(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${W(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${W(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},Vo()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${t}-affix-wrapper, & > ${t}-number-affix-wrapper, & > ${n}-picker-range @@ -286,18 +286,18 @@ html body { ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},rpe=e=>{const{componentCls:t,paddingLG:n}=e,r=`${t}-textarea`;return{[r]:{position:"relative","&-show-count":{[`> ${t}`]:{height:"100%"},[`${t}-data-count`]:{position:"absolute",bottom:e.calc(e.fontSize).mul(e.lineHeight).mul(-1).equal(),insetInlineEnd:0,color:e.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},[` &-allow-clear > ${t}, &-affix-wrapper${r}-has-feedback ${t} - `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},ape=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},$$=Kt("Input",e=>{const t=Pt(e,mg(e));return[Qfe(t),rpe(t),epe(t),tpe(t),npe(t),ape(t),ng(t)]},hg,{resetFont:!1}),dS=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",o=HH(e);return[{[`${n}-multiple${a}`]:{paddingBlock:o.containerPadding,paddingInlineStart:o.basePadding,minHeight:r,[`${n}-selection-item`]:{height:o.itemHeight,lineHeight:W(o.itemLineHeight)}}}]},ope=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=Pt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),o=Pt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[dS(a,"small"),dS(e),dS(o,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},UH(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},ipe=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:a,motionDurationMid:o,cellHoverBg:i,lineWidth:s,lineType:c,colorPrimary:u,cellActiveWithRangeBg:d,colorTextLightSolid:f,colorTextDisabled:p,cellBgDisabled:g,colorFillSecondary:b}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:W(r),borderRadius:a,transition:`background ${o}`},[`&:hover:not(${t}-in-view), + `]:{paddingInlineEnd:n},[`&-affix-wrapper${t}-affix-wrapper`]:{padding:0,[`> textarea${t}`]:{fontSize:"inherit",border:"none",outline:"none",background:"transparent","&:focus":{boxShadow:"none !important"}},[`${t}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${t}-clear-icon`]:{position:"absolute",insetInlineEnd:e.paddingInline,insetBlockStart:e.paddingXS},[`${r}-suffix`]:{position:"absolute",top:0,insetInlineEnd:e.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}},[`&-affix-wrapper${t}-affix-wrapper-sm`]:{[`${t}-suffix`]:{[`${t}-clear-icon`]:{insetInlineEnd:e.paddingInlineSM}}}}}},ape=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},$$=Kt("Input",e=>{const t=Pt(e,mg(e));return[Qfe(t),rpe(t),epe(t),tpe(t),npe(t),ape(t),ng(t)]},hg,{resetFont:!1}),dS=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",o=HH(e);return[{[`${n}-multiple${a}`]:{paddingBlock:o.containerPadding,paddingInlineStart:o.basePadding,minHeight:r,[`${n}-selection-item`]:{height:o.itemHeight,lineHeight:W(o.itemLineHeight)}}}]},ope=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=Pt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),o=Pt(e,{fontHeight:n(e.multipleItemHeightLG).sub(n(r).mul(2).equal()).equal(),fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius,controlHeight:e.controlHeightLG});return[dS(a,"small"),dS(e),dS(o,"large"),{[`${t}${t}-multiple`]:Object.assign(Object.assign({width:"100%",cursor:"text",[`${t}-selector`]:{flex:"auto",padding:0,position:"relative","&:after":{margin:0},[`${t}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:0,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}}},UH(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},ipe=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:a,motionDurationMid:o,cellHoverBg:i,lineWidth:s,lineType:c,colorPrimary:u,cellActiveWithRangeBg:d,colorTextLightSolid:f,colorTextDisabled:p,cellBgDisabled:g,colorFillSecondary:v}=e;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:r,transform:"translateY(-50%)",content:'""'},[n]:{position:"relative",zIndex:2,display:"inline-block",minWidth:r,height:r,lineHeight:W(r),borderRadius:a,transition:`background ${o}`},[`&:hover:not(${t}-in-view), &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:i}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${W(s)} ${c} ${u}`,borderRadius:a,content:'""'}},[`&-in-view${t}-in-range, &-in-view${t}-range-start, &-in-view${t}-range-end`]:{position:"relative",[`&:not(${t}-disabled):before`]:{background:d}},[`&-in-view${t}-selected, &-in-view${t}-range-start, - &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:f,background:u},[`&${t}-disabled ${n}`]:{background:b}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:p,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:g}},[`&-disabled${t}-today ${n}::before`]:{borderColor:p}}},spe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:a,pickerControlIconSize:o,cellWidth:i,paddingSM:s,paddingXS:c,paddingXXS:u,colorBgContainer:d,lineWidth:f,lineType:p,borderRadiusLG:g,colorPrimary:b,colorTextHeading:m,colorSplit:h,pickerControlIconBorderWidth:y,colorIcon:v,textHeight:S,motionDurationMid:w,colorIconHover:x,fontWeightStrong:E,cellHeight:I,pickerCellPaddingVertical:R,colorTextDisabled:T,colorText:_,fontSize:$,motionDurationSlow:D,withoutTimeCellHeight:P,pickerQuarterPanelContentHeight:A,borderRadiusSM:O,colorTextLightSolid:N,cellHoverBg:k,timeColumnHeight:M,timeColumnWidth:L,timeCellHeight:F,controlItemBgActive:j,marginXXS:B,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:H}=e,U=e.calc(i).mul(7).add(e.calc(z).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,borderRadius:g,outline:"none","&-focused":{borderColor:b},"&-rtl":{[`${t}-prev-icon, + &-in-view${t}-range-end`]:{[`&:not(${t}-disabled) ${n}`]:{color:f,background:u},[`&${t}-disabled ${n}`]:{background:v}},[`&-in-view${t}-range-start:not(${t}-disabled):before`]:{insetInlineStart:"50%"},[`&-in-view${t}-range-end:not(${t}-disabled):before`]:{insetInlineEnd:"50%"},[`&-in-view${t}-range-start:not(${t}-range-end) ${n}`]:{borderStartStartRadius:a,borderEndStartRadius:a,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${t}-range-end:not(${t}-range-start) ${n}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a},"&-disabled":{color:p,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:g}},[`&-disabled${t}-today ${n}::before`]:{borderColor:p}}},spe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:a,pickerControlIconSize:o,cellWidth:i,paddingSM:s,paddingXS:c,paddingXXS:u,colorBgContainer:d,lineWidth:f,lineType:p,borderRadiusLG:g,colorPrimary:v,colorTextHeading:m,colorSplit:h,pickerControlIconBorderWidth:y,colorIcon:b,textHeight:S,motionDurationMid:w,colorIconHover:x,fontWeightStrong:E,cellHeight:I,pickerCellPaddingVertical:R,colorTextDisabled:T,colorText:_,fontSize:$,motionDurationSlow:D,withoutTimeCellHeight:P,pickerQuarterPanelContentHeight:A,borderRadiusSM:O,colorTextLightSolid:N,cellHoverBg:k,timeColumnHeight:M,timeColumnWidth:L,timeCellHeight:F,controlItemBgActive:j,marginXXS:B,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:H}=e,U=e.calc(i).mul(7).add(e.calc(z).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,borderRadius:g,outline:"none","&-focused":{borderColor:v},"&-rtl":{[`${t}-prev-icon, ${t}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${t}-next-icon, - ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:U},"&-header":{display:"flex",padding:`0 ${W(c)}`,color:m,borderBottom:`${W(f)} ${p} ${h}`,"> *":{flex:"none"},button:{padding:0,color:v,lineHeight:W(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${w}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:$,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:W(S),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:b}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:o,height:o,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:o,height:o,border:"0 solid currentcolor",borderBlockWidth:`${W(y)} 0`,borderInlineWidth:`${W(y)} 0`,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:H,insetInlineStart:H,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockWidth:`${W(y)} 0`,borderInlineWidth:`${W(y)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:I,fontWeight:"normal"},th:{height:e.calc(I).add(e.calc(R).mul(2)).equal(),color:_,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${W(R)} 0`,color:T,cursor:"pointer","&-in-view":{color:_}},ipe(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(P).mul(4).equal()},[r]:{padding:`0 ${W(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${W(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${W(c)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${W(c)} ${W(z)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r}, + ${t}-super-next-icon`]:{transform:"rotate(-135deg)"},[`${t}-time-panel`]:{[`${t}-content`]:{direction:"ltr","> *":{direction:"rtl"}}}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:U},"&-header":{display:"flex",padding:`0 ${W(c)}`,color:m,borderBottom:`${W(f)} ${p} ${h}`,"> *":{flex:"none"},button:{padding:0,color:b,lineHeight:W(S),background:"transparent",border:0,cursor:"pointer",transition:`color ${w}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:$,"&:hover":{color:x},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:W(S),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:v}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:o,height:o,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:o,height:o,border:"0 solid currentcolor",borderBlockWidth:`${W(y)} 0`,borderInlineWidth:`${W(y)} 0`,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:H,insetInlineStart:H,display:"inline-block",width:o,height:o,border:"0 solid currentcolor",borderBlockWidth:`${W(y)} 0`,borderInlineWidth:`${W(y)} 0`,content:'""'}},"&-prev-icon, &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon, &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:I,fontWeight:"normal"},th:{height:e.calc(I).add(e.calc(R).mul(2)).equal(),color:_,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${W(R)} 0`,color:T,cursor:"pointer","&-in-view":{color:_}},ipe(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(P).mul(4).equal()},[r]:{padding:`0 ${W(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${W(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${W(c)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${W(c)} ${W(z)}`},[`${t}-content th`]:{boxSizing:"border-box",padding:0}},"&-week-panel":{[`${t}-cell`]:{[`&:hover ${r}, &-selected ${r}, - ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${w}`},"&:first-child:before":{borderStartStartRadius:O,borderEndStartRadius:O},"&:last-child:before":{borderStartEndRadius:O,borderEndEndRadius:O}},"&:hover td":{"&:before":{background:k}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:b},[`&${t}-cell-week`]:{color:new on(N).setAlpha(.5).toHexString()},[r]:{color:N}}},"&-range-hover td:before":{background:j}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${W(c)} ${W(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${W(f)} ${p} ${h}`},[`${t}-date-panel, + ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${w}`},"&:first-child:before":{borderStartStartRadius:O,borderEndStartRadius:O},"&:last-child:before":{borderStartEndRadius:O,borderEndEndRadius:O}},"&:hover td":{"&:before":{background:k}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:v},[`&${t}-cell-week`]:{color:new on(N).setAlpha(.5).toHexString()},[r]:{color:N}}},"&-range-hover td:before":{background:j}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${W(c)} ${W(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${W(f)} ${p} ${h}`},[`${t}-date-panel, ${t}-time-panel`]:{transition:`opacity ${D}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:M},"&-column":{flex:"1 0 auto",width:L,margin:`${W(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${w}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(F).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${W(f)} ${p} ${h}`},"&-active":{background:new on(j).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:B,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(B).mul(2)).equal(),height:F,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(F).div(2).equal(),color:_,lineHeight:W(F),borderRadius:O,cursor:"pointer",transition:`background ${w}`,"&:hover":{background:k}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:j}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:"transparent",cursor:"not-allowed"}}}}}}}}},lpe=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:a,antCls:o,colorPrimary:i,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:u,colorSplit:d}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${W(r)} ${u} ${d}`,"&-extra":{padding:`0 ${W(a)}`,lineHeight:W(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${W(r)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:W(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:W(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:i,background:s,borderColor:c,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},cpe=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:a}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(a).add(e.calc(r).div(2)).equal()}},upe=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:a,paddingXXS:o,lineWidth:i}=e,s=o*2,c=i*2,u=Math.min(n-s,n-c),d=Math.min(r-s,r-c),f=Math.min(a-s,a-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(o/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new on(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new on(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:a*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:a,withoutTimeCellHeight:a*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:d,multipleItemHeightLG:f,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},dpe=e=>Object.assign(Object.assign(Object.assign(Object.assign({},hg(e)),upe(e)),Gb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),fpe=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},E$(e)),T$(e)),I$(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},fS=(e,t,n,r)=>{const a=e.calc(n).add(2).equal(),o=e.max(e.calc(t).sub(a).div(2).equal(),0),i=e.max(e.calc(t).sub(a).sub(o).equal(),0);return{padding:`${W(o)} ${W(r)} ${W(i)}`}},ppe=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},gpe=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:a,lineWidth:o,lineType:i,colorBorder:s,borderRadius:c,motionDurationMid:u,colorTextDisabled:d,colorTextPlaceholder:f,controlHeightLG:p,fontSizeLG:g,controlHeightSM:b,paddingInlineSM:m,paddingXS:h,marginXS:y,colorTextDescription:v,lineWidthBold:S,colorPrimary:w,motionDurationSlow:x,zIndexPopup:E,paddingXXS:I,sizePopupArrow:R,colorBgElevated:T,borderRadiusLG:_,boxShadowSecondary:$,borderRadiusSM:D,colorSplit:P,cellHoverBg:A,presetsWidth:O,presetsMaxWidth:N,boxShadowPopoverArrow:k,fontHeight:M,fontHeightLG:L,lineHeightLG:F}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},Gt(e)),fS(e,r,M,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:c,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},R$(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:d,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},fS(e,p,L,a)),{[`${t}-input > input`]:{fontSize:g,lineHeight:F}}),"&-small":Object.assign({},fS(e,b,M,m)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(h).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:y}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:d,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:v}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:g,color:d,fontSize:g,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:v},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:S,background:w,opacity:0,transition:`all ${x} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${W(h)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:m}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},Gt(e)),spe(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:M},"&-column":{flex:"1 0 auto",width:L,margin:`${W(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${w}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:e.calc("100%").sub(F).equal(),content:'""'},"&:not(:first-child)":{borderInlineStart:`${W(f)} ${p} ${h}`},"&-active":{background:new on(j).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:B,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(L).sub(e.calc(B).mul(2)).equal(),height:F,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(L).sub(F).div(2).equal(),color:_,lineHeight:W(F),borderRadius:O,cursor:"pointer",transition:`background ${w}`,"&:hover":{background:k}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:j}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:T,background:"transparent",cursor:"not-allowed"}}}}}}}}},lpe=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:a,antCls:o,colorPrimary:i,cellActiveWithRangeBg:s,colorPrimaryBorder:c,lineType:u,colorSplit:d}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${W(r)} ${u} ${d}`,"&-extra":{padding:`0 ${W(a)}`,lineHeight:W(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${W(r)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:W(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:W(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:i,background:s,borderColor:c,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},cpe=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:a}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(a).add(e.calc(r).div(2)).equal()}},upe=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:a,paddingXXS:o,lineWidth:i}=e,s=o*2,c=i*2,u=Math.min(n-s,n-c),d=Math.min(r-s,r-c),f=Math.min(a-s,a-c);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(o/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new on(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new on(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:a*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:a,withoutTimeCellHeight:a*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:u,multipleItemHeightSM:d,multipleItemHeightLG:f,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},dpe=e=>Object.assign(Object.assign(Object.assign(Object.assign({},hg(e)),upe(e)),Gb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),fpe=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},E$(e)),T$(e)),I$(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},fS=(e,t,n,r)=>{const a=e.calc(n).add(2).equal(),o=e.max(e.calc(t).sub(a).div(2).equal(),0),i=e.max(e.calc(t).sub(a).sub(o).equal(),0);return{padding:`${W(o)} ${W(r)} ${W(i)}`}},ppe=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},gpe=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:a,lineWidth:o,lineType:i,colorBorder:s,borderRadius:c,motionDurationMid:u,colorTextDisabled:d,colorTextPlaceholder:f,controlHeightLG:p,fontSizeLG:g,controlHeightSM:v,paddingInlineSM:m,paddingXS:h,marginXS:y,colorTextDescription:b,lineWidthBold:S,colorPrimary:w,motionDurationSlow:x,zIndexPopup:E,paddingXXS:I,sizePopupArrow:R,colorBgElevated:T,borderRadiusLG:_,boxShadowSecondary:$,borderRadiusSM:D,colorSplit:P,cellHoverBg:A,presetsWidth:O,presetsMaxWidth:N,boxShadowPopoverArrow:k,fontHeight:M,fontHeightLG:L,lineHeightLG:F}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},Gt(e)),fS(e,r,M,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:c,transition:`border ${u}, box-shadow ${u}, background ${u}`,[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${u}`},R$(f)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:d,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:f}}},"&-large":Object.assign(Object.assign({},fS(e,p,L,a)),{[`${t}-input > input`]:{fontSize:g,lineHeight:F}}),"&-small":Object.assign({},fS(e,v,M,m)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(h).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:y}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:d,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top"},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:g,color:d,fontSize:g,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:S,background:w,opacity:0,transition:`all ${x} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${W(h)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:m}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},Gt(e)),spe(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:E,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, @@ -307,9 +307,9 @@ html body { &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:Db},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:Fb},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Pb},[`${t}-panel > ${t}-time-panel`]:{paddingTop:I},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${x} ease-out`},XH(e,T,k)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:T,borderRadius:_,boxShadow:$,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:O,maxWidth:N,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${W(o)} ${i} ${P}`,li:Object.assign(Object.assign({},vo),{borderRadius:D,paddingInline:h,paddingBlock:e.calc(b).sub(M).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:y},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${W(e.calc(R).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},fi(e,"slide-up"),fi(e,"slide-down"),Fu(e,"move-up"),Fu(e,"move-down")]},bV=Kt("DatePicker",e=>{const t=Pt(mg(e),cpe(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[lpe(t),gpe(t),fpe(t),ppe(t),ope(t),ng(e,{focusElCls:`${e.componentCls}-focused`})]},dpe);var mpe={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"},hpe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:mpe}))},yV=l.forwardRef(hpe);const i0=l.createContext(null);var vpe=function(t){var n=t.activeTabOffset,r=t.horizontal,a=t.rtl,o=t.indicator,i=o===void 0?{}:o,s=i.size,c=i.align,u=c===void 0?"center":c,d=l.useState(),f=se(d,2),p=f[0],g=f[1],b=l.useRef(),m=le.useCallback(function(y){return typeof s=="function"?s(y):typeof s=="number"?s:y},[s]);function h(){Dt.cancel(b.current)}return l.useEffect(function(){var y={};if(n)if(r){y.width=m(n.width);var v=a?"right":"left";u==="start"&&(y[v]=n[v]),u==="center"&&(y[v]=n[v]+n.width/2,y.transform=a?"translateX(50%)":"translateX(-50%)"),u==="end"&&(y[v]=n[v]+n.width,y.transform="translateX(-100%)")}else y.height=m(n.height),u==="start"&&(y.top=n.top),u==="center"&&(y.top=n.top+n.height/2,y.transform="translateY(-50%)"),u==="end"&&(y.top=n.top+n.height,y.transform="translateY(-100%)");return h(),b.current=Dt(function(){g(y)}),h},[n,r,a,u,m]),{style:p}},vM={width:0,height:0,left:0,top:0};function bpe(e,t,n){return l.useMemo(function(){for(var r,a=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||vM,i=o.left+o.width,s=0;sA?(D=_,E.current="x"):(D=$,E.current="y"),t(-D,-D)&&T.preventDefault()}var R=l.useRef(null);R.current={onTouchStart:S,onTouchMove:w,onTouchEnd:x,onWheel:I},l.useEffect(function(){function T(P){R.current.onTouchStart(P)}function _(P){R.current.onTouchMove(P)}function $(P){R.current.onTouchEnd(P)}function D(P){R.current.onWheel(P)}return document.addEventListener("touchmove",_,{passive:!1}),document.addEventListener("touchend",$,{passive:!0}),e.current.addEventListener("touchstart",T,{passive:!0}),e.current.addEventListener("wheel",D,{passive:!1}),function(){document.removeEventListener("touchmove",_),document.removeEventListener("touchend",$)}},[])}function SV(e){var t=l.useState(0),n=se(t,2),r=n[0],a=n[1],o=l.useRef(0),i=l.useRef();return i.current=e,kl(function(){var s;(s=i.current)===null||s===void 0||s.call(i)},[r]),function(){o.current===r&&(o.current+=1,a(o.current))}}function wpe(e){var t=l.useRef([]),n=l.useState({}),r=se(n,2),a=r[1],o=l.useRef(typeof e=="function"?e():e),i=SV(function(){var c=o.current;t.current.forEach(function(u){c=u(c)}),t.current=[],o.current=c,a({})});function s(c){t.current.push(c),i()}return[o.current,s]}var wM={width:0,height:0,left:0,top:0,right:0};function Cpe(e,t,n,r,a,o,i){var s=i.tabs,c=i.tabPosition,u=i.rtl,d,f,p;return["top","bottom"].includes(c)?(d="width",f=u?"right":"left",p=Math.abs(n)):(d="height",f="top",p=-n),l.useMemo(function(){if(!s.length)return[0,0];for(var g=s.length,b=g,m=0;mp+t){b=m-1;break}}for(var y=0,v=g-1;v>=0;v-=1){var S=e.get(s[v].key)||wM;if(S[f]=b?[0,0]:[y,b]},[e,t,r,a,o,p,c,s.map(function(g){return g.key}).join("_"),u])}function CM(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var xpe="TABS_DQ";function wV(e){return String(e).replace(/"/g,xpe)}function CV(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var xV=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,o=e.style;return!r||r.showAdd===!1?null:l.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),xM=l.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var o,i={};return ft(a)==="object"&&!l.isValidElement(a)?i=a:i.right=a,n==="right"&&(o=i.right),n==="left"&&(o=i.left),o?l.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null}),Epe=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,o=e.locale,i=e.mobile,s=e.more,c=s===void 0?{}:s,u=e.style,d=e.className,f=e.editable,p=e.tabBarGutter,g=e.rtl,b=e.removeAriaLabel,m=e.onTabClick,h=e.getPopupContainer,y=e.popupClassName,v=l.useState(!1),S=se(v,2),w=S[0],x=S[1],E=l.useState(null),I=se(E,2),R=I[0],T=I[1],_=c.icon,$=_===void 0?"More":_,D="".concat(r,"-more-popup"),P="".concat(n,"-dropdown"),A=R!==null?"".concat(D,"-").concat(R):null,O=o==null?void 0:o.dropdownAriaLabel;function N(z,H){z.preventDefault(),z.stopPropagation(),f.onEdit("remove",{key:H,event:z})}var k=l.createElement(od,{onClick:function(H){var U=H.key,Z=H.domEvent;m(U,Z),x(!1)},prefixCls:"".concat(P,"-menu"),id:D,tabIndex:-1,role:"listbox","aria-activedescendant":A,selectedKeys:[R],"aria-label":O!==void 0?O:"expanded dropdown"},a.map(function(z){var H=z.closable,U=z.disabled,Z=z.closeIcon,q=z.key,Y=z.label,te=CV(H,Z,f,U);return l.createElement(dg,{key:q,id:"".concat(D,"-").concat(q),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(q),disabled:U},l.createElement("span",null,Y),te&&l.createElement("button",{type:"button","aria-label":b||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(X){X.stopPropagation(),N(X,q)}},Z||f.removeIcon||"×"))}));function M(z){for(var H=a.filter(function(te){return!te.disabled}),U=H.findIndex(function(te){return te.key===R})||0,Z=H.length,q=0;qQe?"left":"right"})}),P=se(D,2),A=P[0],O=P[1],N=bM(0,function(it,Qe){!$&&m&&m({direction:it>Qe?"top":"bottom"})}),k=se(N,2),M=k[0],L=k[1],F=l.useState([0,0]),j=se(F,2),B=j[0],z=j[1],H=l.useState([0,0]),U=se(H,2),Z=U[0],q=U[1],Y=l.useState([0,0]),te=se(Y,2),ee=te[0],X=te[1],ie=l.useState([0,0]),re=se(ie,2),G=re[0],Q=re[1],ae=wpe(new Map),oe=se(ae,2),de=oe[0],ve=oe[1],ye=bpe(S,de,Z[0]),ge=Em(B,$),J=Em(Z,$),ce=Em(ee,$),ue=Em(G,$),fe=gePe?Pe:it}var Ue=l.useRef(null),Be=l.useState(),De=se(Be,2),Se=De[0],_e=De[1];function Ce(){_e(Date.now())}function Re(){Ue.current&&clearTimeout(Ue.current)}Spe(I,function(it,Qe){function st(St,et){St(function(Ie){var we=ke(Ie+et);return we})}return fe?($?st(O,it):st(L,Qe),Re(),Ce(),!0):!1}),l.useEffect(function(){return Re(),Se&&(Ue.current=setTimeout(function(){_e(0)},100)),Re},[Se]);var he=Cpe(ye,pe,$?A:M,J,ce,ue,K(K({},e),{},{tabs:S})),Ee=se(he,2),je=Ee[0],Ae=Ee[1],Ne=Lt(function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i,Qe=ye.get(it)||{width:0,height:0,left:0,right:0,top:0};if($){var st=A;s?Qe.rightA+pe&&(st=Qe.right+Qe.width-pe):Qe.left<-A?st=-Qe.left:Qe.left+Qe.width>-A+pe&&(st=-(Qe.left+Qe.width-pe)),L(0),O(ke(st))}else{var St=M;Qe.top<-M?St=-Qe.top:Qe.top+Qe.height>-M+pe&&(St=-(Qe.top+Qe.height-pe)),O(0),L(ke(St))}}),ze={};f==="top"||f==="bottom"?ze[s?"marginRight":"marginLeft"]=p:ze.marginTop=p;var qe=S.map(function(it,Qe){var st=it.key;return l.createElement(Tpe,{id:a,prefixCls:v,key:st,tab:it,style:Qe===0?void 0:ze,closable:it.closable,editable:u,active:st===i,renderWrapper:g,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(et){b(st,et)},onFocus:function(){Ne(st),Ce(),I.current&&(s||(I.current.scrollLeft=0),I.current.scrollTop=0)}})}),Le=function(){return ve(function(){var Qe,st=new Map,St=(Qe=R.current)===null||Qe===void 0?void 0:Qe.getBoundingClientRect();return S.forEach(function(et){var Ie,we=et.key,Oe=(Ie=R.current)===null||Ie===void 0?void 0:Ie.querySelector('[data-node-key="'.concat(wV(we),'"]'));if(Oe){var He=Rpe(Oe,St),Fe=se(He,4),Ve=Fe[0],tt=Fe[1],bt=Fe[2],xt=Fe[3];st.set(we,{width:Ve,height:tt,left:bt,top:xt})}}),st})};l.useEffect(function(){Le()},[S.map(function(it){return it.key}).join("_")]);var Ke=SV(function(){var it=Dc(w),Qe=Dc(x),st=Dc(E);z([it[0]-Qe[0]-st[0],it[1]-Qe[1]-st[1]]);var St=Dc(_);X(St);var et=Dc(T);Q(et);var Ie=Dc(R);q([Ie[0]-St[0],Ie[1]-St[1]]),Le()}),Je=S.slice(0,je),Xe=S.slice(Ae+1),ut=[].concat($e(Je),$e(Xe)),pt=ye.get(i),We=vpe({activeTabOffset:pt,horizontal:$,indicator:h,rtl:s}),Ze=We.style;l.useEffect(function(){Ne()},[i,Te,Pe,CM(pt),CM(ye),$]),l.useEffect(function(){Ke()},[s]);var Ye=!!ut.length,at="".concat(v,"-nav-wrap"),wt,Ct,Ot,dt;return $?s?(Ct=A>0,wt=A!==Pe):(wt=A<0,Ct=A!==Te):(Ot=M<0,dt=M!==Te),l.createElement(zr,{onResize:Ke},l.createElement("div",{ref:Zi(t,w),role:"tablist",className:ne("".concat(v,"-nav"),n),style:r,onKeyDown:function(){Ce()}},l.createElement(xM,{ref:x,position:"left",extra:c,prefixCls:v}),l.createElement(zr,{onResize:Ke},l.createElement("div",{className:ne(at,V(V(V(V({},"".concat(at,"-ping-left"),wt),"".concat(at,"-ping-right"),Ct),"".concat(at,"-ping-top"),Ot),"".concat(at,"-ping-bottom"),dt)),ref:I},l.createElement(zr,{onResize:Ke},l.createElement("div",{ref:R,className:"".concat(v,"-nav-list"),style:{transform:"translate(".concat(A,"px, ").concat(M,"px)"),transition:Se?"none":void 0}},qe,l.createElement(xV,{ref:_,prefixCls:v,locale:d,editable:u,style:K(K({},qe.length===0?void 0:ze),{},{visibility:Ye?"hidden":null})}),l.createElement("div",{className:ne("".concat(v,"-ink-bar"),V({},"".concat(v,"-ink-bar-animated"),o.inkBar)),style:Ze}))))),l.createElement(Ipe,be({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:T,prefixCls:v,tabs:ut,className:!Ye&&xe,tabMoving:!!Se})),l.createElement(xM,{ref:E,position:"right",extra:c,prefixCls:v})))}),EV=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.id,i=e.active,s=e.tabKey,c=e.children;return l.createElement("div",{id:o&&"".concat(o,"-panel-").concat(s),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(s),"aria-hidden":!i,style:a,className:ne(n,i&&"".concat(n,"-active"),r),ref:t},c)}),_pe=["renderTabBar"],$pe=["label","key"],Ope=function(t){var n=t.renderTabBar,r=vt(t,_pe),a=l.useContext(i0),o=a.tabs;if(n){var i=K(K({},r),{},{panes:o.map(function(s){var c=s.label,u=s.key,d=vt(s,$pe);return l.createElement(EV,be({tab:c,key:u,tabKey:u},d))})});return n(i,EM)}return l.createElement(EM,r)},Npe=["key","forceRender","style","className","destroyInactiveTabPane"],kpe=function(t){var n=t.id,r=t.activeKey,a=t.animated,o=t.tabPosition,i=t.destroyInactiveTabPane,s=l.useContext(i0),c=s.prefixCls,u=s.tabs,d=a.tabPane,f="".concat(c,"-tabpane");return l.createElement("div",{className:ne("".concat(c,"-content-holder"))},l.createElement("div",{className:ne("".concat(c,"-content"),"".concat(c,"-content-").concat(o),V({},"".concat(c,"-content-animated"),d))},u.map(function(p){var g=p.key,b=p.forceRender,m=p.style,h=p.className,y=p.destroyInactiveTabPane,v=vt(p,Npe),S=g===r;return l.createElement(Wr,be({key:g,visible:S,forceRender:b,removeOnLeave:!!(i||y),leavedClassName:"".concat(f,"-hidden")},a.tabPaneMotion),function(w,x){var E=w.style,I=w.className;return l.createElement(EV,be({},v,{prefixCls:f,id:n,tabKey:g,animated:d,active:S,style:K(K({},m),E),className:ne(h,I),ref:x}))})})))};function Ape(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=K({inkBar:!0},ft(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var Mpe=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],IM=0,Dpe=l.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tabs":r,o=e.className,i=e.items,s=e.direction,c=e.activeKey,u=e.defaultActiveKey,d=e.editable,f=e.animated,p=e.tabPosition,g=p===void 0?"top":p,b=e.tabBarGutter,m=e.tabBarStyle,h=e.tabBarExtraContent,y=e.locale,v=e.more,S=e.destroyInactiveTabPane,w=e.renderTabBar,x=e.onChange,E=e.onTabClick,I=e.onTabScroll,R=e.getPopupContainer,T=e.popupClassName,_=e.indicator,$=vt(e,Mpe),D=l.useMemo(function(){return(i||[]).filter(function(G){return G&&ft(G)==="object"&&"key"in G})},[i]),P=s==="rtl",A=Ape(f),O=l.useState(!1),N=se(O,2),k=N[0],M=N[1];l.useEffect(function(){M(jb())},[]);var L=Qt(function(){var G;return(G=D[0])===null||G===void 0?void 0:G.key},{value:c,defaultValue:u}),F=se(L,2),j=F[0],B=F[1],z=l.useState(function(){return D.findIndex(function(G){return G.key===j})}),H=se(z,2),U=H[0],Z=H[1];l.useEffect(function(){var G=D.findIndex(function(ae){return ae.key===j});if(G===-1){var Q;G=Math.max(0,Math.min(U,D.length-1)),B((Q=D[G])===null||Q===void 0?void 0:Q.key)}Z(G)},[D.map(function(G){return G.key}).join("_"),j,U]);var q=Qt(null,{value:n}),Y=se(q,2),te=Y[0],ee=Y[1];l.useEffect(function(){n||(ee("rc-tabs-".concat(IM)),IM+=1)},[]);function X(G,Q){E==null||E(G,Q);var ae=G!==j;B(G),ae&&(x==null||x(G))}var ie={id:te,activeKey:j,animated:A,tabPosition:g,rtl:P,mobile:k},re=K(K({},ie),{},{editable:d,locale:y,more:v,tabBarGutter:b,onTabClick:X,onTabScroll:I,extra:h,style:m,panes:null,getPopupContainer:R,popupClassName:T,indicator:_});return l.createElement(i0.Provider,{value:{tabs:D,prefixCls:a}},l.createElement("div",be({ref:t,id:n,className:ne(a,"".concat(a,"-").concat(g),V(V(V({},"".concat(a,"-mobile"),k),"".concat(a,"-editable"),d),"".concat(a,"-rtl"),P),o)},$),l.createElement(Ope,be({},re,{renderTabBar:w})),l.createElement(kpe,be({destroyInactiveTabPane:S},ie,{animated:A}))))});const Ppe={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Lpe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},Ppe),{motionName:bo(e,"switch")})),n}var Fpe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at)}function Bpe(e,t){if(e)return e;const n=or(t).map(r=>{if(l.isValidElement(r)){const{key:a,props:o}=r,i=o||{},{tab:s}=i,c=Fpe(i,["tab"]);return Object.assign(Object.assign({key:String(a)},c),{label:s})}return null});return jpe(n)}const zpe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[fi(e,"slide-up"),fi(e,"slide-down")]]},Hpe=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:o,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${W(e.lineWidth)} ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:W(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:W(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${W(e.borderRadiusLG)} 0 0 ${W(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Upe=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},Gt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${W(r)} 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({},vo),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${W(e.paddingXXS)} ${W(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${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"}}})}})}},Vpe=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:o,verticalItemMargin:i,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${W(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:Pb},[`${t}-panel > ${t}-time-panel`]:{paddingTop:I},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(a).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${x} ease-out`},XH(e,T,k)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:T,borderRadius:_,boxShadow:$,transition:`margin ${x}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:O,maxWidth:N,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:h,borderInlineEnd:`${W(o)} ${i} ${P}`,li:Object.assign(Object.assign({},vo),{borderRadius:D,paddingInline:h,paddingBlock:e.calc(v).sub(M).div(2).equal(),cursor:"pointer",transition:`all ${x}`,"+ li":{marginTop:y},"&:hover":{background:A}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${W(e.calc(R).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},fi(e,"slide-up"),fi(e,"slide-down"),Fu(e,"move-up"),Fu(e,"move-down")]},bV=Kt("DatePicker",e=>{const t=Pt(mg(e),cpe(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[lpe(t),gpe(t),fpe(t),ppe(t),ope(t),ng(e,{focusElCls:`${e.componentCls}-focused`})]},dpe);var mpe={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"},hpe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:mpe}))},yV=l.forwardRef(hpe);const i0=l.createContext(null);var vpe=function(t){var n=t.activeTabOffset,r=t.horizontal,a=t.rtl,o=t.indicator,i=o===void 0?{}:o,s=i.size,c=i.align,u=c===void 0?"center":c,d=l.useState(),f=se(d,2),p=f[0],g=f[1],v=l.useRef(),m=le.useCallback(function(y){return typeof s=="function"?s(y):typeof s=="number"?s:y},[s]);function h(){Dt.cancel(v.current)}return l.useEffect(function(){var y={};if(n)if(r){y.width=m(n.width);var b=a?"right":"left";u==="start"&&(y[b]=n[b]),u==="center"&&(y[b]=n[b]+n.width/2,y.transform=a?"translateX(50%)":"translateX(-50%)"),u==="end"&&(y[b]=n[b]+n.width,y.transform="translateX(-100%)")}else y.height=m(n.height),u==="start"&&(y.top=n.top),u==="center"&&(y.top=n.top+n.height/2,y.transform="translateY(-50%)"),u==="end"&&(y.top=n.top+n.height,y.transform="translateY(-100%)");return h(),v.current=Dt(function(){g(y)}),h},[n,r,a,u,m]),{style:p}},vM={width:0,height:0,left:0,top:0};function bpe(e,t,n){return l.useMemo(function(){for(var r,a=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||vM,i=o.left+o.width,s=0;sA?(D=_,E.current="x"):(D=$,E.current="y"),t(-D,-D)&&T.preventDefault()}var R=l.useRef(null);R.current={onTouchStart:S,onTouchMove:w,onTouchEnd:x,onWheel:I},l.useEffect(function(){function T(P){R.current.onTouchStart(P)}function _(P){R.current.onTouchMove(P)}function $(P){R.current.onTouchEnd(P)}function D(P){R.current.onWheel(P)}return document.addEventListener("touchmove",_,{passive:!1}),document.addEventListener("touchend",$,{passive:!0}),e.current.addEventListener("touchstart",T,{passive:!0}),e.current.addEventListener("wheel",D,{passive:!1}),function(){document.removeEventListener("touchmove",_),document.removeEventListener("touchend",$)}},[])}function SV(e){var t=l.useState(0),n=se(t,2),r=n[0],a=n[1],o=l.useRef(0),i=l.useRef();return i.current=e,kl(function(){var s;(s=i.current)===null||s===void 0||s.call(i)},[r]),function(){o.current===r&&(o.current+=1,a(o.current))}}function wpe(e){var t=l.useRef([]),n=l.useState({}),r=se(n,2),a=r[1],o=l.useRef(typeof e=="function"?e():e),i=SV(function(){var c=o.current;t.current.forEach(function(u){c=u(c)}),t.current=[],o.current=c,a({})});function s(c){t.current.push(c),i()}return[o.current,s]}var wM={width:0,height:0,left:0,top:0,right:0};function Cpe(e,t,n,r,a,o,i){var s=i.tabs,c=i.tabPosition,u=i.rtl,d,f,p;return["top","bottom"].includes(c)?(d="width",f=u?"right":"left",p=Math.abs(n)):(d="height",f="top",p=-n),l.useMemo(function(){if(!s.length)return[0,0];for(var g=s.length,v=g,m=0;mp+t){v=m-1;break}}for(var y=0,b=g-1;b>=0;b-=1){var S=e.get(s[b].key)||wM;if(S[f]=v?[0,0]:[y,v]},[e,t,r,a,o,p,c,s.map(function(g){return g.key}).join("_"),u])}function CM(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var xpe="TABS_DQ";function wV(e){return String(e).replace(/"/g,xpe)}function CV(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var xV=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,o=e.style;return!r||r.showAdd===!1?null:l.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),xM=l.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var o,i={};return ft(a)==="object"&&!l.isValidElement(a)?i=a:i.right=a,n==="right"&&(o=i.right),n==="left"&&(o=i.left),o?l.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null}),Epe=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,o=e.locale,i=e.mobile,s=e.more,c=s===void 0?{}:s,u=e.style,d=e.className,f=e.editable,p=e.tabBarGutter,g=e.rtl,v=e.removeAriaLabel,m=e.onTabClick,h=e.getPopupContainer,y=e.popupClassName,b=l.useState(!1),S=se(b,2),w=S[0],x=S[1],E=l.useState(null),I=se(E,2),R=I[0],T=I[1],_=c.icon,$=_===void 0?"More":_,D="".concat(r,"-more-popup"),P="".concat(n,"-dropdown"),A=R!==null?"".concat(D,"-").concat(R):null,O=o==null?void 0:o.dropdownAriaLabel;function N(z,H){z.preventDefault(),z.stopPropagation(),f.onEdit("remove",{key:H,event:z})}var k=l.createElement(od,{onClick:function(H){var U=H.key,Z=H.domEvent;m(U,Z),x(!1)},prefixCls:"".concat(P,"-menu"),id:D,tabIndex:-1,role:"listbox","aria-activedescendant":A,selectedKeys:[R],"aria-label":O!==void 0?O:"expanded dropdown"},a.map(function(z){var H=z.closable,U=z.disabled,Z=z.closeIcon,q=z.key,Y=z.label,ee=CV(H,Z,f,U);return l.createElement(dg,{key:q,id:"".concat(D,"-").concat(q),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(q),disabled:U},l.createElement("span",null,Y),ee&&l.createElement("button",{type:"button","aria-label":v||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(X){X.stopPropagation(),N(X,q)}},Z||f.removeIcon||"×"))}));function M(z){for(var H=a.filter(function(ee){return!ee.disabled}),U=H.findIndex(function(ee){return ee.key===R})||0,Z=H.length,q=0;qQe?"left":"right"})}),P=se(D,2),A=P[0],O=P[1],N=bM(0,function(it,Qe){!$&&m&&m({direction:it>Qe?"top":"bottom"})}),k=se(N,2),M=k[0],L=k[1],F=l.useState([0,0]),j=se(F,2),B=j[0],z=j[1],H=l.useState([0,0]),U=se(H,2),Z=U[0],q=U[1],Y=l.useState([0,0]),ee=se(Y,2),te=ee[0],X=ee[1],ie=l.useState([0,0]),re=se(ie,2),G=re[0],Q=re[1],ae=wpe(new Map),oe=se(ae,2),de=oe[0],ve=oe[1],ye=bpe(S,de,Z[0]),ge=Em(B,$),J=Em(Z,$),ce=Em(te,$),ue=Em(G,$),fe=gePe?Pe:it}var Ue=l.useRef(null),Be=l.useState(),De=se(Be,2),Se=De[0],_e=De[1];function Ce(){_e(Date.now())}function Re(){Ue.current&&clearTimeout(Ue.current)}Spe(I,function(it,Qe){function st(St,et){St(function(Ie){var we=ke(Ie+et);return we})}return fe?($?st(O,it):st(L,Qe),Re(),Ce(),!0):!1}),l.useEffect(function(){return Re(),Se&&(Ue.current=setTimeout(function(){_e(0)},100)),Re},[Se]);var he=Cpe(ye,pe,$?A:M,J,ce,ue,K(K({},e),{},{tabs:S})),Ee=se(he,2),je=Ee[0],Ae=Ee[1],Ne=Lt(function(){var it=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i,Qe=ye.get(it)||{width:0,height:0,left:0,right:0,top:0};if($){var st=A;s?Qe.rightA+pe&&(st=Qe.right+Qe.width-pe):Qe.left<-A?st=-Qe.left:Qe.left+Qe.width>-A+pe&&(st=-(Qe.left+Qe.width-pe)),L(0),O(ke(st))}else{var St=M;Qe.top<-M?St=-Qe.top:Qe.top+Qe.height>-M+pe&&(St=-(Qe.top+Qe.height-pe)),O(0),L(ke(St))}}),ze={};f==="top"||f==="bottom"?ze[s?"marginRight":"marginLeft"]=p:ze.marginTop=p;var qe=S.map(function(it,Qe){var st=it.key;return l.createElement(Tpe,{id:a,prefixCls:b,key:st,tab:it,style:Qe===0?void 0:ze,closable:it.closable,editable:u,active:st===i,renderWrapper:g,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(et){v(st,et)},onFocus:function(){Ne(st),Ce(),I.current&&(s||(I.current.scrollLeft=0),I.current.scrollTop=0)}})}),Le=function(){return ve(function(){var Qe,st=new Map,St=(Qe=R.current)===null||Qe===void 0?void 0:Qe.getBoundingClientRect();return S.forEach(function(et){var Ie,we=et.key,Oe=(Ie=R.current)===null||Ie===void 0?void 0:Ie.querySelector('[data-node-key="'.concat(wV(we),'"]'));if(Oe){var He=Rpe(Oe,St),Fe=se(He,4),Ve=Fe[0],tt=Fe[1],bt=Fe[2],xt=Fe[3];st.set(we,{width:Ve,height:tt,left:bt,top:xt})}}),st})};l.useEffect(function(){Le()},[S.map(function(it){return it.key}).join("_")]);var Ke=SV(function(){var it=Dc(w),Qe=Dc(x),st=Dc(E);z([it[0]-Qe[0]-st[0],it[1]-Qe[1]-st[1]]);var St=Dc(_);X(St);var et=Dc(T);Q(et);var Ie=Dc(R);q([Ie[0]-St[0],Ie[1]-St[1]]),Le()}),Je=S.slice(0,je),Xe=S.slice(Ae+1),ut=[].concat($e(Je),$e(Xe)),pt=ye.get(i),We=vpe({activeTabOffset:pt,horizontal:$,indicator:h,rtl:s}),Ze=We.style;l.useEffect(function(){Ne()},[i,Te,Pe,CM(pt),CM(ye),$]),l.useEffect(function(){Ke()},[s]);var Ye=!!ut.length,at="".concat(b,"-nav-wrap"),wt,Ct,Ot,dt;return $?s?(Ct=A>0,wt=A!==Pe):(wt=A<0,Ct=A!==Te):(Ot=M<0,dt=M!==Te),l.createElement(zr,{onResize:Ke},l.createElement("div",{ref:Zi(t,w),role:"tablist",className:ne("".concat(b,"-nav"),n),style:r,onKeyDown:function(){Ce()}},l.createElement(xM,{ref:x,position:"left",extra:c,prefixCls:b}),l.createElement(zr,{onResize:Ke},l.createElement("div",{className:ne(at,V(V(V(V({},"".concat(at,"-ping-left"),wt),"".concat(at,"-ping-right"),Ct),"".concat(at,"-ping-top"),Ot),"".concat(at,"-ping-bottom"),dt)),ref:I},l.createElement(zr,{onResize:Ke},l.createElement("div",{ref:R,className:"".concat(b,"-nav-list"),style:{transform:"translate(".concat(A,"px, ").concat(M,"px)"),transition:Se?"none":void 0}},qe,l.createElement(xV,{ref:_,prefixCls:b,locale:d,editable:u,style:K(K({},qe.length===0?void 0:ze),{},{visibility:Ye?"hidden":null})}),l.createElement("div",{className:ne("".concat(b,"-ink-bar"),V({},"".concat(b,"-ink-bar-animated"),o.inkBar)),style:Ze}))))),l.createElement(Ipe,be({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:T,prefixCls:b,tabs:ut,className:!Ye&&xe,tabMoving:!!Se})),l.createElement(xM,{ref:E,position:"right",extra:c,prefixCls:b})))}),EV=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.id,i=e.active,s=e.tabKey,c=e.children;return l.createElement("div",{id:o&&"".concat(o,"-panel-").concat(s),role:"tabpanel",tabIndex:i?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(s),"aria-hidden":!i,style:a,className:ne(n,i&&"".concat(n,"-active"),r),ref:t},c)}),_pe=["renderTabBar"],$pe=["label","key"],Ope=function(t){var n=t.renderTabBar,r=vt(t,_pe),a=l.useContext(i0),o=a.tabs;if(n){var i=K(K({},r),{},{panes:o.map(function(s){var c=s.label,u=s.key,d=vt(s,$pe);return l.createElement(EV,be({tab:c,key:u,tabKey:u},d))})});return n(i,EM)}return l.createElement(EM,r)},Npe=["key","forceRender","style","className","destroyInactiveTabPane"],kpe=function(t){var n=t.id,r=t.activeKey,a=t.animated,o=t.tabPosition,i=t.destroyInactiveTabPane,s=l.useContext(i0),c=s.prefixCls,u=s.tabs,d=a.tabPane,f="".concat(c,"-tabpane");return l.createElement("div",{className:ne("".concat(c,"-content-holder"))},l.createElement("div",{className:ne("".concat(c,"-content"),"".concat(c,"-content-").concat(o),V({},"".concat(c,"-content-animated"),d))},u.map(function(p){var g=p.key,v=p.forceRender,m=p.style,h=p.className,y=p.destroyInactiveTabPane,b=vt(p,Npe),S=g===r;return l.createElement(Wr,be({key:g,visible:S,forceRender:v,removeOnLeave:!!(i||y),leavedClassName:"".concat(f,"-hidden")},a.tabPaneMotion),function(w,x){var E=w.style,I=w.className;return l.createElement(EV,be({},b,{prefixCls:f,id:n,tabKey:g,animated:d,active:S,style:K(K({},m),E),className:ne(h,I),ref:x}))})})))};function Ape(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=K({inkBar:!0},ft(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var Mpe=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],IM=0,Dpe=l.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tabs":r,o=e.className,i=e.items,s=e.direction,c=e.activeKey,u=e.defaultActiveKey,d=e.editable,f=e.animated,p=e.tabPosition,g=p===void 0?"top":p,v=e.tabBarGutter,m=e.tabBarStyle,h=e.tabBarExtraContent,y=e.locale,b=e.more,S=e.destroyInactiveTabPane,w=e.renderTabBar,x=e.onChange,E=e.onTabClick,I=e.onTabScroll,R=e.getPopupContainer,T=e.popupClassName,_=e.indicator,$=vt(e,Mpe),D=l.useMemo(function(){return(i||[]).filter(function(G){return G&&ft(G)==="object"&&"key"in G})},[i]),P=s==="rtl",A=Ape(f),O=l.useState(!1),N=se(O,2),k=N[0],M=N[1];l.useEffect(function(){M(jb())},[]);var L=Qt(function(){var G;return(G=D[0])===null||G===void 0?void 0:G.key},{value:c,defaultValue:u}),F=se(L,2),j=F[0],B=F[1],z=l.useState(function(){return D.findIndex(function(G){return G.key===j})}),H=se(z,2),U=H[0],Z=H[1];l.useEffect(function(){var G=D.findIndex(function(ae){return ae.key===j});if(G===-1){var Q;G=Math.max(0,Math.min(U,D.length-1)),B((Q=D[G])===null||Q===void 0?void 0:Q.key)}Z(G)},[D.map(function(G){return G.key}).join("_"),j,U]);var q=Qt(null,{value:n}),Y=se(q,2),ee=Y[0],te=Y[1];l.useEffect(function(){n||(te("rc-tabs-".concat(IM)),IM+=1)},[]);function X(G,Q){E==null||E(G,Q);var ae=G!==j;B(G),ae&&(x==null||x(G))}var ie={id:ee,activeKey:j,animated:A,tabPosition:g,rtl:P,mobile:k},re=K(K({},ie),{},{editable:d,locale:y,more:b,tabBarGutter:v,onTabClick:X,onTabScroll:I,extra:h,style:m,panes:null,getPopupContainer:R,popupClassName:T,indicator:_});return l.createElement(i0.Provider,{value:{tabs:D,prefixCls:a}},l.createElement("div",be({ref:t,id:n,className:ne(a,"".concat(a,"-").concat(g),V(V(V({},"".concat(a,"-mobile"),k),"".concat(a,"-editable"),d),"".concat(a,"-rtl"),P),o)},$),l.createElement(Ope,be({},re,{renderTabBar:w})),l.createElement(kpe,be({destroyInactiveTabPane:S},ie,{animated:A}))))});const Ppe={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Lpe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},Ppe),{motionName:bo(e,"switch")})),n}var Fpe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);at)}function Bpe(e,t){if(e)return e;const n=or(t).map(r=>{if(l.isValidElement(r)){const{key:a,props:o}=r,i=o||{},{tab:s}=i,c=Fpe(i,["tab"]);return Object.assign(Object.assign({key:String(a)},c),{label:s})}return null});return jpe(n)}const zpe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[fi(e,"slide-up"),fi(e,"slide-down")]]},Hpe=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:o,itemSelectedColor:i}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${W(e.lineWidth)} ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:i,background:e.colorBgContainer},[`${t}-ink-bar`]:{visibility:"hidden"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:W(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:W(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${W(e.borderRadiusLG)} 0 0 ${W(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},Upe=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},Gt(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${W(r)} 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({},vo),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${W(e.paddingXXS)} ${W(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${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"}}})}})}},Vpe=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:o,verticalItemMargin:i,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:a,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${W(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::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},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, - > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:o,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{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},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:W(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Wpe=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:a,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${W(e.borderRadius)} ${W(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${W(e.borderRadius)} ${W(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${W(e.borderRadius)} ${W(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${W(e.borderRadius)} 0 0 ${W(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},Gpe=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:o,horizontalItemPadding:i,itemSelectedColor:s,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},ui(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${a}`]:{margin:0},[`${a}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:o}}}},qpe=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a,calc:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:W(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:W(e.marginXS)},marginLeft:{_skip_check_:!0,value:W(o(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Kpe=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:o,itemActiveColor:i,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-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 ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,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.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:a},padding:`0 ${W(e.paddingXS)}`,background:"transparent",border:`${W(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:i}},ui(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Gpe(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},Ype=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},Xpe=Kt("Tabs",e=>{const t=Pt(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${W(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${W(e.horizontalItemGutter)}`});return[Wpe(t),qpe(t),Vpe(t),Upe(t),Hpe(t),Kpe(t),zpe(t)]},Ype),Zpe=()=>null;var Qpe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t,n,r,a,o,i,s,c,u,d,f;const{type:p,className:g,rootClassName:b,size:m,onEdit:h,hideAdd:y,centered:v,addIcon:S,removeIcon:w,moreIcon:x,more:E,popupClassName:I,children:R,items:T,animated:_,style:$,indicatorSize:D,indicator:P}=e,A=Qpe(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:O}=A,{direction:N,tabs:k,getPrefixCls:M,getPopupContainer:L}=l.useContext(ot),F=M("tabs",O),j=Vn(F),[B,z,H]=Xpe(F,j);let U;p==="editable-card"&&(U={onEdit:(ie,re)=>{let{key:G,event:Q}=re;h==null||h(ie==="add"?Q:G,ie)},removeIcon:(t=w??(k==null?void 0:k.removeIcon))!==null&&t!==void 0?t:l.createElement(da,null),addIcon:(S??(k==null?void 0:k.addIcon))||l.createElement(yV,null),showAdd:y!==!0});const Z=M(),q=cr(m),Y=Bpe(T,R),te=Lpe(F,_),ee=Object.assign(Object.assign({},k==null?void 0:k.style),$),X={align:(n=P==null?void 0:P.align)!==null&&n!==void 0?n:(r=k==null?void 0:k.indicator)===null||r===void 0?void 0:r.align,size:(s=(o=(a=P==null?void 0:P.size)!==null&&a!==void 0?a:D)!==null&&o!==void 0?o:(i=k==null?void 0:k.indicator)===null||i===void 0?void 0:i.size)!==null&&s!==void 0?s:k==null?void 0:k.indicatorSize};return B(l.createElement(Dpe,Object.assign({direction:N,getPopupContainer:L},A,{items:Y,className:ne({[`${F}-${q}`]:q,[`${F}-card`]:["card","editable-card"].includes(p),[`${F}-editable-card`]:p==="editable-card",[`${F}-centered`]:v},k==null?void 0:k.className,g,b,z,H,j),popupClassName:ne(I,z,H,j),style:ee,editable:U,more:Object.assign({icon:(f=(d=(u=(c=k==null?void 0:k.more)===null||c===void 0?void 0:c.icon)!==null&&u!==void 0?u:k==null?void 0:k.moreIcon)!==null&&d!==void 0?d:x)!==null&&f!==void 0?f:l.createElement(h$,null),transitionName:`${Z}-slide-up`},E),prefixCls:F,animated:te,indicator:X})))};IV.TabPane=Zpe;var Jpe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=Jpe(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=l.useContext(ot),i=o("card",t),s=ne(`${i}-grid`,n,{[`${i}-grid-hoverable`]:r});return l.createElement("div",Object.assign({},a,{className:s}))},ege=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${W(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`},Vo()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},vo),{[` + > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:o,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:i},[`${t}-nav-wrap`]:{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},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:W(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},Wpe=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:a,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${W(e.borderRadius)} ${W(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${W(e.borderRadius)} ${W(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${W(e.borderRadius)} ${W(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${W(e.borderRadius)} 0 0 ${W(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},Gpe=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:o,horizontalItemPadding:i,itemSelectedColor:s,itemColor:c}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:i,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:c,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},ui(e)),"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${u}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":{flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},"&:hover":{color:r},[`&${u}-active ${u}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${u}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${u}-disabled ${u}-btn, &${u}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${u}-remove ${a}`]:{margin:0},[`${a}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${u} + ${u}`]:{margin:{_skip_check_:!0,value:o}}}},qpe=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a,calc:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:W(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:W(e.marginXS)},marginLeft:{_skip_check_:!0,value:W(o(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:a},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},Kpe=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:o,itemActiveColor:i,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-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 ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,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.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,minHeight:r,marginLeft:{_skip_check_:!0,value:a},padding:`0 ${W(e.paddingXS)}`,background:"transparent",border:`${W(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:i}},ui(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),Gpe(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:{outline:"none","&-hidden":{display:"none"}}}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping'])`]:{justifyContent:"center"}}}}}},Ype=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},Xpe=Kt("Tabs",e=>{const t=Pt(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${W(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${W(e.horizontalItemGutter)}`});return[Wpe(t),qpe(t),Vpe(t),Upe(t),Hpe(t),Kpe(t),zpe(t)]},Ype),Zpe=()=>null;var Qpe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t,n,r,a,o,i,s,c,u,d,f;const{type:p,className:g,rootClassName:v,size:m,onEdit:h,hideAdd:y,centered:b,addIcon:S,removeIcon:w,moreIcon:x,more:E,popupClassName:I,children:R,items:T,animated:_,style:$,indicatorSize:D,indicator:P}=e,A=Qpe(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:O}=A,{direction:N,tabs:k,getPrefixCls:M,getPopupContainer:L}=l.useContext(ot),F=M("tabs",O),j=Vn(F),[B,z,H]=Xpe(F,j);let U;p==="editable-card"&&(U={onEdit:(ie,re)=>{let{key:G,event:Q}=re;h==null||h(ie==="add"?Q:G,ie)},removeIcon:(t=w??(k==null?void 0:k.removeIcon))!==null&&t!==void 0?t:l.createElement(da,null),addIcon:(S??(k==null?void 0:k.addIcon))||l.createElement(yV,null),showAdd:y!==!0});const Z=M(),q=cr(m),Y=Bpe(T,R),ee=Lpe(F,_),te=Object.assign(Object.assign({},k==null?void 0:k.style),$),X={align:(n=P==null?void 0:P.align)!==null&&n!==void 0?n:(r=k==null?void 0:k.indicator)===null||r===void 0?void 0:r.align,size:(s=(o=(a=P==null?void 0:P.size)!==null&&a!==void 0?a:D)!==null&&o!==void 0?o:(i=k==null?void 0:k.indicator)===null||i===void 0?void 0:i.size)!==null&&s!==void 0?s:k==null?void 0:k.indicatorSize};return B(l.createElement(Dpe,Object.assign({direction:N,getPopupContainer:L},A,{items:Y,className:ne({[`${F}-${q}`]:q,[`${F}-card`]:["card","editable-card"].includes(p),[`${F}-editable-card`]:p==="editable-card",[`${F}-centered`]:b},k==null?void 0:k.className,g,v,z,H,j),popupClassName:ne(I,z,H,j),style:te,editable:U,more:Object.assign({icon:(f=(d=(u=(c=k==null?void 0:k.more)===null||c===void 0?void 0:c.icon)!==null&&u!==void 0?u:k==null?void 0:k.moreIcon)!==null&&d!==void 0?d:x)!==null&&f!==void 0?f:l.createElement(h$,null),transitionName:`${Z}-slide-up`},E),prefixCls:F,animated:ee,indicator:X})))};IV.TabPane=Zpe;var Jpe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,hoverable:r=!0}=e,a=Jpe(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=l.useContext(ot),i=o("card",t),s=ne(`${i}-grid`,n,{[`${i}-grid-hoverable`]:r});return l.createElement("div",Object.assign({},a,{className:s}))},ege=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${W(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`},Vo()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},vo),{[` > ${n}-typography, > ${n}-typography-edit-content `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:o,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},tge=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` @@ -318,30 +318,30 @@ html body { ${W(a)} ${W(a)} 0 0 ${n}, ${W(a)} 0 0 0 ${n} inset, 0 ${W(a)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},nge=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:o,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${W(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)}`},Vo()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:W(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:W(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${o}`}}})},rge=e=>Object.assign(Object.assign({margin:`${W(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Vo()),{"&-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},vo),"&-description":{color:e.colorTextDescription}}),age=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${W(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${W(e.padding)} ${W(n)}`}}},oge=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},ige=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:o,cardPaddingBase:i,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:ege(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:i,borderRadius:`0 0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)}`},Vo()),[`${t}-grid`]:tge(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:nge(e),[`${t}-meta`]:rge(e)}),[`${t}-bordered`]:{border:`${W(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:age(e),[`${t}-loading`]:oge(e),[`${t}-rtl`]:{direction:"rtl"}}},sge=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${W(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},lge=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),cge=Kt("Card",e=>{const t=Pt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[ige(t),sge(t)]},lge);var TM=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return l.createElement("ul",{className:t,style:r},n.map((a,o)=>{const i=`action-${o}`;return l.createElement("li",{style:{width:`${100/n.length}%`},key:i},l.createElement("span",null,a))}))},dge=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:o,extra:i,headStyle:s={},bodyStyle:c={},title:u,loading:d,bordered:f=!0,size:p,type:g,cover:b,actions:m,tabList:h,children:y,activeTabKey:v,defaultActiveTabKey:S,tabBarExtraContent:w,hoverable:x,tabProps:E={},classNames:I,styles:R}=e,T=TM(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:_,direction:$,card:D}=l.useContext(ot),P=de=>{var ve;(ve=e.onTabChange)===null||ve===void 0||ve.call(e,de)},A=de=>{var ve;return ne((ve=D==null?void 0:D.classNames)===null||ve===void 0?void 0:ve[de],I==null?void 0:I[de])},O=de=>{var ve;return Object.assign(Object.assign({},(ve=D==null?void 0:D.styles)===null||ve===void 0?void 0:ve[de]),R==null?void 0:R[de])},N=l.useMemo(()=>{let de=!1;return l.Children.forEach(y,ve=>{(ve==null?void 0:ve.type)===TV&&(de=!0)}),de},[y]),k=_("card",n),[M,L,F]=cge(k),j=l.createElement(Qs,{loading:!0,active:!0,paragraph:{rows:4},title:!1},y),B=v!==void 0,z=Object.assign(Object.assign({},E),{[B?"activeKey":"defaultActiveKey"]:B?v:S,tabBarExtraContent:w});let H;const U=cr(p),Z=!U||U==="default"?"large":U,q=h?l.createElement(IV,Object.assign({size:Z},z,{className:`${k}-head-tabs`,onChange:P,items:h.map(de=>{var{tab:ve}=de,ye=TM(de,["tab"]);return Object.assign({label:ve},ye)})})):null;if(u||i||q){const de=ne(`${k}-head`,A("header")),ve=ne(`${k}-head-title`,A("title")),ye=ne(`${k}-extra`,A("extra")),ge=Object.assign(Object.assign({},s),O("header"));H=l.createElement("div",{className:de,style:ge},l.createElement("div",{className:`${k}-head-wrapper`},u&&l.createElement("div",{className:ve,style:O("title")},u),i&&l.createElement("div",{className:ye,style:O("extra")},i)),q)}const Y=ne(`${k}-cover`,A("cover")),te=b?l.createElement("div",{className:Y,style:O("cover")},b):null,ee=ne(`${k}-body`,A("body")),X=Object.assign(Object.assign({},c),O("body")),ie=l.createElement("div",{className:ee,style:X},d?j:y),re=ne(`${k}-actions`,A("actions")),G=m!=null&&m.length?l.createElement(uge,{actionClasses:re,actionStyle:O("actions"),actions:m}):null,Q=gn(T,["onTabChange"]),ae=ne(k,D==null?void 0:D.className,{[`${k}-loading`]:d,[`${k}-bordered`]:f,[`${k}-hoverable`]:x,[`${k}-contain-grid`]:N,[`${k}-contain-tabs`]:h==null?void 0:h.length,[`${k}-${U}`]:U,[`${k}-type-${g}`]:!!g,[`${k}-rtl`]:$==="rtl"},r,a,L,F),oe=Object.assign(Object.assign({},D==null?void 0:D.style),o);return M(l.createElement("div",Object.assign({ref:t},Q,{className:ae,style:oe}),H,te,ie,G))});var fge=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,avatar:r,title:a,description:o}=e,i=fge(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=l.useContext(ot),c=s("card",t),u=ne(`${c}-meta`,n),d=r?l.createElement("div",{className:`${c}-meta-avatar`},r):null,f=a?l.createElement("div",{className:`${c}-meta-title`},a):null,p=o?l.createElement("div",{className:`${c}-meta-description`},o):null,g=f||p?l.createElement("div",{className:`${c}-meta-detail`},f,p):null;return l.createElement("div",Object.assign({},i,{className:u}),d,g)},ld=dge;ld.Grid=TV;ld.Meta=pge;function gge(e,t,n){var r=n||{},a=r.noTrailing,o=a===void 0?!1:a,i=r.noLeading,s=i===void 0?!1:i,c=r.debounceMode,u=c===void 0?void 0:c,d,f=!1,p=0;function g(){d&&clearTimeout(d)}function b(h){var y=h||{},v=y.upcomingOnly,S=v===void 0?!1:v;g(),f=!S}function m(){for(var h=arguments.length,y=new Array(h),v=0;ve?s?(p=Date.now(),o||(d=setTimeout(u?E:x,e))):x():o!==!0&&(d=setTimeout(u?E:x,u===void 0?e-w:e))}return m.cancel=b,m}function mge(e,t,n){var r={},a=r.atBegin,o=a===void 0?!1:a;return gge(e,t,{debounceMode:o!==!1})}function Sa(e,t){return e[t]}var hge=["children"];function RV(e,t){return"".concat(e,"-").concat(t)}function vge(e){return e&&e.type&&e.type.isTreeNode}function bg(e,t){return e??t}function ju(e){var t=e||{},n=t.title,r=t._title,a=t.key,o=t.children,i=n||"title";return{title:i,_title:r||[i],key:a||"key",children:o||"children"}}function _V(e){function t(n){var r=or(n);return r.map(function(a){if(!vge(a))return cn(!a,"Tree/TreeNode can only accept TreeNode as children."),null;var o=a.key,i=a.props,s=i.children,c=vt(i,hge),u=K({key:o},c),d=t(s);return d.length&&(u.children=d),u}).filter(function(a){return a})}return t(e)}function pS(e,t,n){var r=ju(n),a=r._title,o=r.key,i=r.children,s=new Set(t===!0?[]:t),c=[];function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(p,g){for(var b=RV(f?f.pos:"0",g),m=bg(p[o],b),h,y=0;y1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,a=t.onProcessFinished,o=t.externalGetKey,i=t.childrenPropName,s=t.fieldNames,c=arguments.length>2?arguments[2]:void 0,u=o||c,d={},f={},p={posEntities:d,keyEntities:f};return n&&(p=n(p)||p),bge(e,function(g){var b=g.node,m=g.index,h=g.pos,y=g.key,v=g.parentPos,S=g.level,w=g.nodes,x={node:b,nodes:w,index:m,key:y,pos:h,level:S},E=bg(y,h);d[h]=x,f[E]=x,x.parent=d[v],x.parent&&(x.parent.children=x.parent.children||[],x.parent.children.push(x)),r&&r(x,p)},{externalGetKey:u,childrenPropName:i,fieldNames:s}),a&&a(p),p}function Of(e,t){var n=t.expandedKeys,r=t.selectedKeys,a=t.loadedKeys,o=t.loadingKeys,i=t.checkedKeys,s=t.halfCheckedKeys,c=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,f=Sa(d,e),p={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:a.indexOf(e)!==-1,loading:o.indexOf(e)!==-1,checked:i.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:c===e&&u===0,dragOverGapTop:c===e&&u===-1,dragOverGapBottom:c===e&&u===1};return p}function ur(e){var t=e.data,n=e.expanded,r=e.selected,a=e.checked,o=e.loaded,i=e.loading,s=e.halfChecked,c=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,f=e.pos,p=e.active,g=e.eventKey,b=K(K({},t),{},{expanded:n,selected:r,checked:a,loaded:o,loading:i,halfChecked:s,dragOver:c,dragOverGapTop:u,dragOverGapBottom:d,pos:f,active:p,key:g});return"props"in b||Object.defineProperty(b,"props",{get:function(){return cn(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),b}function $V(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function yge(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,a=t.checkable;return!!(n||r)||a===!1}function Sge(e,t,n,r){for(var a=new Set(e),o=new Set,i=0;i<=n;i+=1){var s=t.get(i)||new Set;s.forEach(function(f){var p=f.key,g=f.node,b=f.children,m=b===void 0?[]:b;a.has(p)&&!r(g)&&m.filter(function(h){return!r(h.node)}).forEach(function(h){a.add(h.key)})})}for(var c=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(f){var p=f.parent,g=f.node;if(!(r(g)||!f.parent||c.has(f.parent.key))){if(r(f.parent.node)){c.add(p.key);return}var b=!0,m=!1;(p.children||[]).filter(function(h){return!r(h.node)}).forEach(function(h){var y=h.key,v=a.has(y);b&&!v&&(b=!1),!m&&(v||o.has(y))&&(m=!0)}),b&&a.add(p.key),m&&o.add(p.key),c.add(p.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from($V(o,a))}}function wge(e,t,n,r,a){for(var o=new Set(e),i=new Set(t),s=0;s<=r;s+=1){var c=n.get(s)||new Set;c.forEach(function(p){var g=p.key,b=p.node,m=p.children,h=m===void 0?[]:m;!o.has(g)&&!i.has(g)&&!a(b)&&h.filter(function(y){return!a(y.node)}).forEach(function(y){o.delete(y.key)})})}i=new Set;for(var u=new Set,d=r;d>=0;d-=1){var f=n.get(d)||new Set;f.forEach(function(p){var g=p.parent,b=p.node;if(!(a(b)||!p.parent||u.has(p.parent.key))){if(a(p.parent.node)){u.add(g.key);return}var m=!0,h=!1;(g.children||[]).filter(function(y){return!a(y.node)}).forEach(function(y){var v=y.key,S=o.has(v);m&&!S&&(m=!1),!h&&(S||i.has(v))&&(h=!0)}),m||o.delete(g.key),h&&i.add(g.key),u.add(g.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from($V(i,o))}}function ji(e,t,n,r){var a=[],o;r?o=r:o=yge;var i=new Set(e.filter(function(d){var f=!!Sa(n,d);return f||a.push(d),f})),s=new Map,c=0;Object.keys(n).forEach(function(d){var f=n[d],p=f.level,g=s.get(p);g||(g=new Set,s.set(p,g)),g.add(f),c=Math.max(c,p)}),cn(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=Sge(i,s,c,o):u=wge(i,t.halfCheckedKeys,s,c,o),u}const Cge=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},Gt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},Gt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},Vi(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${W(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},nge=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:o,actionsBg:i}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:i,borderTop:`${W(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)}`},Vo()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:W(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:W(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${o}`}}})},rge=e=>Object.assign(Object.assign({margin:`${W(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},Vo()),{"&-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},vo),"&-description":{color:e.colorTextDescription}}),age=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${W(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${W(e.padding)} ${W(n)}`}}},oge=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},ige=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:o,cardPaddingBase:i,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:ege(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:i,borderRadius:`0 0 ${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)}`},Vo()),[`${t}-grid`]:tge(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:nge(e),[`${t}-meta`]:rge(e)}),[`${t}-bordered`]:{border:`${W(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${W(e.borderRadiusLG)} ${W(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:age(e),[`${t}-loading`]:oge(e),[`${t}-rtl`]:{direction:"rtl"}}},sge=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${W(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}},lge=e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+e.padding*2,headerHeightSM:e.fontSize*e.lineHeight+e.paddingXS*2,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText}),cge=Kt("Card",e=>{const t=Pt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[ige(t),sge(t)]},lge);var TM=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{actionClasses:t,actions:n=[],actionStyle:r}=e;return l.createElement("ul",{className:t,style:r},n.map((a,o)=>{const i=`action-${o}`;return l.createElement("li",{style:{width:`${100/n.length}%`},key:i},l.createElement("span",null,a))}))},dge=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:o,extra:i,headStyle:s={},bodyStyle:c={},title:u,loading:d,bordered:f=!0,size:p,type:g,cover:v,actions:m,tabList:h,children:y,activeTabKey:b,defaultActiveTabKey:S,tabBarExtraContent:w,hoverable:x,tabProps:E={},classNames:I,styles:R}=e,T=TM(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:_,direction:$,card:D}=l.useContext(ot),P=de=>{var ve;(ve=e.onTabChange)===null||ve===void 0||ve.call(e,de)},A=de=>{var ve;return ne((ve=D==null?void 0:D.classNames)===null||ve===void 0?void 0:ve[de],I==null?void 0:I[de])},O=de=>{var ve;return Object.assign(Object.assign({},(ve=D==null?void 0:D.styles)===null||ve===void 0?void 0:ve[de]),R==null?void 0:R[de])},N=l.useMemo(()=>{let de=!1;return l.Children.forEach(y,ve=>{(ve==null?void 0:ve.type)===TV&&(de=!0)}),de},[y]),k=_("card",n),[M,L,F]=cge(k),j=l.createElement(Qs,{loading:!0,active:!0,paragraph:{rows:4},title:!1},y),B=b!==void 0,z=Object.assign(Object.assign({},E),{[B?"activeKey":"defaultActiveKey"]:B?b:S,tabBarExtraContent:w});let H;const U=cr(p),Z=!U||U==="default"?"large":U,q=h?l.createElement(IV,Object.assign({size:Z},z,{className:`${k}-head-tabs`,onChange:P,items:h.map(de=>{var{tab:ve}=de,ye=TM(de,["tab"]);return Object.assign({label:ve},ye)})})):null;if(u||i||q){const de=ne(`${k}-head`,A("header")),ve=ne(`${k}-head-title`,A("title")),ye=ne(`${k}-extra`,A("extra")),ge=Object.assign(Object.assign({},s),O("header"));H=l.createElement("div",{className:de,style:ge},l.createElement("div",{className:`${k}-head-wrapper`},u&&l.createElement("div",{className:ve,style:O("title")},u),i&&l.createElement("div",{className:ye,style:O("extra")},i)),q)}const Y=ne(`${k}-cover`,A("cover")),ee=v?l.createElement("div",{className:Y,style:O("cover")},v):null,te=ne(`${k}-body`,A("body")),X=Object.assign(Object.assign({},c),O("body")),ie=l.createElement("div",{className:te,style:X},d?j:y),re=ne(`${k}-actions`,A("actions")),G=m!=null&&m.length?l.createElement(uge,{actionClasses:re,actionStyle:O("actions"),actions:m}):null,Q=gn(T,["onTabChange"]),ae=ne(k,D==null?void 0:D.className,{[`${k}-loading`]:d,[`${k}-bordered`]:f,[`${k}-hoverable`]:x,[`${k}-contain-grid`]:N,[`${k}-contain-tabs`]:h==null?void 0:h.length,[`${k}-${U}`]:U,[`${k}-type-${g}`]:!!g,[`${k}-rtl`]:$==="rtl"},r,a,L,F),oe=Object.assign(Object.assign({},D==null?void 0:D.style),o);return M(l.createElement("div",Object.assign({ref:t},Q,{className:ae,style:oe}),H,ee,ie,G))});var fge=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:t,className:n,avatar:r,title:a,description:o}=e,i=fge(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=l.useContext(ot),c=s("card",t),u=ne(`${c}-meta`,n),d=r?l.createElement("div",{className:`${c}-meta-avatar`},r):null,f=a?l.createElement("div",{className:`${c}-meta-title`},a):null,p=o?l.createElement("div",{className:`${c}-meta-description`},o):null,g=f||p?l.createElement("div",{className:`${c}-meta-detail`},f,p):null;return l.createElement("div",Object.assign({},i,{className:u}),d,g)},ld=dge;ld.Grid=TV;ld.Meta=pge;function gge(e,t,n){var r=n||{},a=r.noTrailing,o=a===void 0?!1:a,i=r.noLeading,s=i===void 0?!1:i,c=r.debounceMode,u=c===void 0?void 0:c,d,f=!1,p=0;function g(){d&&clearTimeout(d)}function v(h){var y=h||{},b=y.upcomingOnly,S=b===void 0?!1:b;g(),f=!S}function m(){for(var h=arguments.length,y=new Array(h),b=0;be?s?(p=Date.now(),o||(d=setTimeout(u?E:x,e))):x():o!==!0&&(d=setTimeout(u?E:x,u===void 0?e-w:e))}return m.cancel=v,m}function mge(e,t,n){var r={},a=r.atBegin,o=a===void 0?!1:a;return gge(e,t,{debounceMode:o!==!1})}function Sa(e,t){return e[t]}var hge=["children"];function RV(e,t){return"".concat(e,"-").concat(t)}function vge(e){return e&&e.type&&e.type.isTreeNode}function bg(e,t){return e??t}function ju(e){var t=e||{},n=t.title,r=t._title,a=t.key,o=t.children,i=n||"title";return{title:i,_title:r||[i],key:a||"key",children:o||"children"}}function _V(e){function t(n){var r=or(n);return r.map(function(a){if(!vge(a))return cn(!a,"Tree/TreeNode can only accept TreeNode as children."),null;var o=a.key,i=a.props,s=i.children,c=vt(i,hge),u=K({key:o},c),d=t(s);return d.length&&(u.children=d),u}).filter(function(a){return a})}return t(e)}function pS(e,t,n){var r=ju(n),a=r._title,o=r.key,i=r.children,s=new Set(t===!0?[]:t),c=[];function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(p,g){for(var v=RV(f?f.pos:"0",g),m=bg(p[o],v),h,y=0;y1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,a=t.onProcessFinished,o=t.externalGetKey,i=t.childrenPropName,s=t.fieldNames,c=arguments.length>2?arguments[2]:void 0,u=o||c,d={},f={},p={posEntities:d,keyEntities:f};return n&&(p=n(p)||p),bge(e,function(g){var v=g.node,m=g.index,h=g.pos,y=g.key,b=g.parentPos,S=g.level,w=g.nodes,x={node:v,nodes:w,index:m,key:y,pos:h,level:S},E=bg(y,h);d[h]=x,f[E]=x,x.parent=d[b],x.parent&&(x.parent.children=x.parent.children||[],x.parent.children.push(x)),r&&r(x,p)},{externalGetKey:u,childrenPropName:i,fieldNames:s}),a&&a(p),p}function Of(e,t){var n=t.expandedKeys,r=t.selectedKeys,a=t.loadedKeys,o=t.loadingKeys,i=t.checkedKeys,s=t.halfCheckedKeys,c=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,f=Sa(d,e),p={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:a.indexOf(e)!==-1,loading:o.indexOf(e)!==-1,checked:i.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(f?f.pos:""),dragOver:c===e&&u===0,dragOverGapTop:c===e&&u===-1,dragOverGapBottom:c===e&&u===1};return p}function ur(e){var t=e.data,n=e.expanded,r=e.selected,a=e.checked,o=e.loaded,i=e.loading,s=e.halfChecked,c=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,f=e.pos,p=e.active,g=e.eventKey,v=K(K({},t),{},{expanded:n,selected:r,checked:a,loaded:o,loading:i,halfChecked:s,dragOver:c,dragOverGapTop:u,dragOverGapBottom:d,pos:f,active:p,key:g});return"props"in v||Object.defineProperty(v,"props",{get:function(){return cn(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),v}function $V(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function yge(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,a=t.checkable;return!!(n||r)||a===!1}function Sge(e,t,n,r){for(var a=new Set(e),o=new Set,i=0;i<=n;i+=1){var s=t.get(i)||new Set;s.forEach(function(f){var p=f.key,g=f.node,v=f.children,m=v===void 0?[]:v;a.has(p)&&!r(g)&&m.filter(function(h){return!r(h.node)}).forEach(function(h){a.add(h.key)})})}for(var c=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(f){var p=f.parent,g=f.node;if(!(r(g)||!f.parent||c.has(f.parent.key))){if(r(f.parent.node)){c.add(p.key);return}var v=!0,m=!1;(p.children||[]).filter(function(h){return!r(h.node)}).forEach(function(h){var y=h.key,b=a.has(y);v&&!b&&(v=!1),!m&&(b||o.has(y))&&(m=!0)}),v&&a.add(p.key),m&&o.add(p.key),c.add(p.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from($V(o,a))}}function wge(e,t,n,r,a){for(var o=new Set(e),i=new Set(t),s=0;s<=r;s+=1){var c=n.get(s)||new Set;c.forEach(function(p){var g=p.key,v=p.node,m=p.children,h=m===void 0?[]:m;!o.has(g)&&!i.has(g)&&!a(v)&&h.filter(function(y){return!a(y.node)}).forEach(function(y){o.delete(y.key)})})}i=new Set;for(var u=new Set,d=r;d>=0;d-=1){var f=n.get(d)||new Set;f.forEach(function(p){var g=p.parent,v=p.node;if(!(a(v)||!p.parent||u.has(p.parent.key))){if(a(p.parent.node)){u.add(g.key);return}var m=!0,h=!1;(g.children||[]).filter(function(y){return!a(y.node)}).forEach(function(y){var b=y.key,S=o.has(b);m&&!S&&(m=!1),!h&&(S||i.has(b))&&(h=!0)}),m||o.delete(g.key),h&&i.add(g.key),u.add(g.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from($V(i,o))}}function ji(e,t,n,r){var a=[],o;r?o=r:o=yge;var i=new Set(e.filter(function(d){var f=!!Sa(n,d);return f||a.push(d),f})),s=new Map,c=0;Object.keys(n).forEach(function(d){var f=n[d],p=f.level,g=s.get(p);g||(g=new Set,s.set(p,g)),g.add(f),c=Math.max(c,p)}),cn(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=Sge(i,s,c,o):u=wge(i,t.halfCheckedKeys,s,c,o),u}const Cge=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},Gt(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},Gt(e)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${n}`]:{marginInlineStart:0},[`&${n}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:e.borderRadiusSM,alignSelf:"center",[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${t}-inner`]:Object.assign({},Vi(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,borderCollapse:"separate",transition:`all ${e.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"25%",display:"table",width:e.calc(e.checkboxSize).div(14).mul(5).equal(),height:e.calc(e.checkboxSize).div(14).mul(8).equal(),border:`${W(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`}},"& + span":{paddingInlineStart:e.paddingXS,paddingInlineEnd:e.paddingXS}})},{[` ${n}:not(${n}-disabled), ${t}:not(${t}-disabled) `]:{[`&:hover ${t}-inner`]:{borderColor:e.colorPrimary}},[`${n}:not(${n}-disabled)`]:{[`&:hover ${t}-checked:not(${t}-disabled) ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${t}-checked:not(${t}-disabled):after`]:{borderColor:e.colorPrimaryHover}}},{[`${t}-checked`]:{[`${t}-inner`]:{backgroundColor:e.colorPrimary,borderColor:e.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`}}},[` ${n}-checked:not(${n}-disabled), ${t}-checked:not(${t}-disabled) - `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function O$(e,t){const n=Pt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[Cge(n)]}const OV=Kt("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[O$(n,e)]}),NV=le.createContext(null);var xge=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,rootClassName:o,children:i,indeterminate:s=!1,style:c,onMouseEnter:u,onMouseLeave:d,skipGroup:f=!1,disabled:p}=e,g=xge(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:b,direction:m,checkbox:h}=l.useContext(ot),y=l.useContext(NV),{isFormItemInput:v}=l.useContext(Er),S=l.useContext(Vr),w=(n=(y==null?void 0:y.disabled)||p)!==null&&n!==void 0?n:S,x=l.useRef(g.value);l.useEffect(()=>{y==null||y.registerValue(g.value)},[]),l.useEffect(()=>{if(!f)return g.value!==x.current&&(y==null||y.cancelValue(x.current),y==null||y.registerValue(g.value),x.current=g.value),()=>y==null?void 0:y.cancelValue(g.value)},[g.value]);const E=b("checkbox",r),I=Vn(E),[R,T,_]=OV(E,I),$=Object.assign({},g);y&&!f&&($.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),y.toggleOption&&y.toggleOption({label:i,value:g.value})},$.name=y.name,$.checked=y.value.includes(g.value));const D=ne(`${E}-wrapper`,{[`${E}-rtl`]:m==="rtl",[`${E}-wrapper-checked`]:$.checked,[`${E}-wrapper-disabled`]:w,[`${E}-wrapper-in-form-item`]:v},h==null?void 0:h.className,a,o,_,I,T),P=ne({[`${E}-indeterminate`]:s},$b,T),A=s?"mixed":void 0;return R(l.createElement(tg,{component:"Checkbox",disabled:w},l.createElement("label",{className:D,style:Object.assign(Object.assign({},h==null?void 0:h.style),c),onMouseEnter:u,onMouseLeave:d},l.createElement(dV,Object.assign({"aria-checked":A},$,{prefixCls:E,className:P,disabled:w,ref:t})),i!==void 0&&l.createElement("span",null,i))))},kV=l.forwardRef(Ege);var Ige=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{defaultValue:n,children:r,options:a=[],prefixCls:o,className:i,rootClassName:s,style:c,onChange:u}=e,d=Ige(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:p}=l.useContext(ot),[g,b]=l.useState(d.value||n||[]),[m,h]=l.useState([]);l.useEffect(()=>{"value"in d&&b(d.value||[])},[d.value]);const y=l.useMemo(()=>a.map(O=>typeof O=="string"||typeof O=="number"?{label:O,value:O}:O),[a]),v=O=>{h(N=>N.filter(k=>k!==O))},S=O=>{h(N=>[].concat($e(N),[O]))},w=O=>{const N=g.indexOf(O.value),k=$e(g);N===-1?k.push(O.value):k.splice(N,1),"value"in d||b(k),u==null||u(k.filter(M=>m.includes(M)).sort((M,L)=>{const F=y.findIndex(B=>B.value===M),j=y.findIndex(B=>B.value===L);return F-j}))},x=f("checkbox",o),E=`${x}-group`,I=Vn(x),[R,T,_]=OV(x,I),$=gn(d,["value","disabled"]),D=a.length?y.map(O=>l.createElement(kV,{prefixCls:x,key:O.value.toString(),disabled:"disabled"in O?O.disabled:d.disabled,value:O.value,checked:g.includes(O.value),onChange:O.onChange,className:`${E}-item`,style:O.style,title:O.title,id:O.id,required:O.required},O.label)):r,P={toggleOption:w,value:g,disabled:d.disabled,name:d.name,registerValue:S,cancelValue:v},A=ne(E,{[`${E}-rtl`]:p==="rtl"},i,s,_,I,T);return R(l.createElement("div",Object.assign({className:A,style:c},$,{ref:t}),l.createElement(NV.Provider,{value:P},D)))}),Yi=kV;Yi.Group=Tge;Yi.__ANT_CHECKBOX=!0;const AV=l.createContext({}),Rge=e=>{const{componentCls:t}=e;return{[t]:{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"}}}},_ge=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},$ge=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:a}=e,o={};for(let i=a;i>=0;i--)i===0?(o[`${r}${t}-${i}`]={display:"none"},o[`${r}-push-${i}`]={insetInlineStart:"auto"},o[`${r}-pull-${i}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${i}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${i}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${i}`]={marginInlineStart:0},o[`${r}${t}-order-${i}`]={order:0}):(o[`${r}${t}-${i}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${i/a*100}%`,maxWidth:`${i/a*100}%`}],o[`${r}${t}-push-${i}`]={insetInlineStart:`${i/a*100}%`},o[`${r}${t}-pull-${i}`]={insetInlineEnd:`${i/a*100}%`},o[`${r}${t}-offset-${i}`]={marginInlineStart:`${i/a*100}%`},o[`${r}${t}-order-${i}`]={order:i});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},MT=(e,t)=>$ge(e,t),Oge=(e,t,n)=>({[`@media (min-width: ${W(t)})`]:Object.assign({},MT(e,n))}),Nge=()=>({}),kge=()=>({}),Age=Kt("Grid",Rge,Nge),Mge=Kt("Grid",e=>{const t=Pt(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[_ge(t),MT(t,""),MT(t,"-xs"),Object.keys(n).map(r=>Oge(t,n[r],r)).reduce((r,a)=>Object.assign(Object.assign({},r),a),{})]},kge);var Dge=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=l.useContext(ot),{gutter:a,wrap:o}=l.useContext(AV),{prefixCls:i,span:s,order:c,offset:u,push:d,pull:f,className:p,children:g,flex:b,style:m}=e,h=Dge(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",i),[v,S,w]=Mge(y),x={};let E={};Pge.forEach(T=>{let _={};const $=e[T];typeof $=="number"?_.span=$:typeof $=="object"&&(_=$||{}),delete h[T],E=Object.assign(Object.assign({},E),{[`${y}-${T}-${_.span}`]:_.span!==void 0,[`${y}-${T}-order-${_.order}`]:_.order||_.order===0,[`${y}-${T}-offset-${_.offset}`]:_.offset||_.offset===0,[`${y}-${T}-push-${_.push}`]:_.push||_.push===0,[`${y}-${T}-pull-${_.pull}`]:_.pull||_.pull===0,[`${y}-rtl`]:r==="rtl"}),_.flex&&(E[`${y}-${T}-flex`]=!0,x[`--${y}-${T}-flex`]=RM(_.flex))});const I=ne(y,{[`${y}-${s}`]:s!==void 0,[`${y}-order-${c}`]:c,[`${y}-offset-${u}`]:u,[`${y}-push-${d}`]:d,[`${y}-pull-${f}`]:f},p,E,S,w),R={};if(a&&a[0]>0){const T=a[0]/2;R.paddingLeft=T,R.paddingRight=T}return b&&(R.flex=RM(b),o===!1&&!R.minWidth&&(R.minWidth=0)),v(l.createElement("div",Object.assign({},h,{style:Object.assign(Object.assign(Object.assign({},R),m),x),className:I,ref:t}),g))});var Lge=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(typeof e=="string"&&r(e),typeof e=="object")for(let o=0;o{a()},[JSON.stringify(e),t]),n}const Ba=l.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:a,className:o,style:i,children:s,gutter:c=0,wrap:u}=e,d=Lge(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:p}=l.useContext(ot),[g,b]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[m,h]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),y=_M(a,m),v=_M(r,m),S=l.useRef(c),w=YH();l.useEffect(()=>{const k=w.subscribe(M=>{h(M);const L=S.current||0;(!Array.isArray(L)&&typeof L=="object"||Array.isArray(L)&&(typeof L[0]=="object"||typeof L[1]=="object"))&&b(M)});return()=>w.unsubscribe(k)},[]);const x=()=>{const k=[void 0,void 0];return(Array.isArray(c)?c:[c,void 0]).forEach((L,F)=>{if(typeof L=="object")for(let j=0;j0?_[0]/-2:void 0;P&&(D.marginLeft=P,D.marginRight=P);const[A,O]=_;D.rowGap=O;const N=l.useMemo(()=>({gutter:[A,O],wrap:u}),[A,O,u]);return I(l.createElement(AV.Provider,{value:N},l.createElement("div",Object.assign({},d,{className:$,style:Object.assign(Object.assign({},D),i),ref:t}),s)))});var MV=le.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,a=e.className,o=e.style,i=e.children,s=e.isActive,c=e.role,u=le.useState(s||r),d=se(u,2),f=d[0],p=d[1];return le.useEffect(function(){(r||s)&&p(!0)},[r,s]),f?le.createElement("div",{ref:t,className:ne("".concat(n,"-content"),V(V({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),a),style:o,role:c},le.createElement("div",{className:"".concat(n,"-content-box")},i)):null});MV.displayName="PanelContent";var Fge=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],DV=le.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,a=e.headerClass,o=e.isActive,i=e.onItemClick,s=e.forceRender,c=e.className,u=e.prefixCls,d=e.collapsible,f=e.accordion,p=e.panelKey,g=e.extra,b=e.header,m=e.expandIcon,h=e.openMotion,y=e.destroyInactivePanel,v=e.children,S=vt(e,Fge),w=d==="disabled",x=d==="header",E=d==="icon",I=g!=null&&typeof g!="boolean",R=function(){i==null||i(p)},T=function(O){(O.key==="Enter"||O.keyCode===Me.ENTER||O.which===Me.ENTER)&&R()},_=typeof m=="function"?m(e):le.createElement("i",{className:"arrow"});_&&(_=le.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(d)?R:void 0},_));var $=ne(V(V(V({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),o),"".concat(u,"-item-disabled"),w),c),D=ne(a,V(V(V({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),x),"".concat(u,"-icon-collapsible-only"),E)),P={className:D,"aria-expanded":o,"aria-disabled":w,onKeyDown:T};return!x&&!E&&(P.onClick=R,P.role=f?"tab":"button",P.tabIndex=w?-1:0),le.createElement("div",be({},S,{ref:t,className:$}),le.createElement("div",P,r&&_,le.createElement("span",{className:"".concat(u,"-header-text"),onClick:d==="header"?R:void 0},b),I&&le.createElement("div",{className:"".concat(u,"-extra")},g)),le.createElement(Wr,be({visible:o,leavedClassName:"".concat(u,"-content-hidden")},h,{forceRender:s,removeOnLeave:y}),function(A,O){var N=A.className,k=A.style;return le.createElement(MV,{ref:O,prefixCls:u,className:N,style:k,isActive:o,forceRender:s,role:f?"tabpanel":void 0},v)}))}),jge=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Bge=function(t,n){var r=n.prefixCls,a=n.accordion,o=n.collapsible,i=n.destroyInactivePanel,s=n.onItemClick,c=n.activeKey,u=n.openMotion,d=n.expandIcon;return t.map(function(f,p){var g=f.children,b=f.label,m=f.key,h=f.collapsible,y=f.onItemClick,v=f.destroyInactivePanel,S=vt(f,jge),w=String(m??p),x=h??o,E=v??i,I=function(_){x!=="disabled"&&(s(_),y==null||y(_))},R=!1;return a?R=c[0]===w:R=c.indexOf(w)>-1,le.createElement(DV,be({},S,{prefixCls:r,key:w,panelKey:w,isActive:R,accordion:a,openMotion:u,expandIcon:d,header:b,collapsible:x,onItemClick:I,destroyInactivePanel:E}),g)})},zge=function(t,n,r){if(!t)return null;var a=r.prefixCls,o=r.accordion,i=r.collapsible,s=r.destroyInactivePanel,c=r.onItemClick,u=r.activeKey,d=r.openMotion,f=r.expandIcon,p=t.key||String(n),g=t.props,b=g.header,m=g.headerClass,h=g.destroyInactivePanel,y=g.collapsible,v=g.onItemClick,S=!1;o?S=u[0]===p:S=u.indexOf(p)>-1;var w=y??i,x=function(R){w!=="disabled"&&(c(R),v==null||v(R))},E={key:p,panelKey:p,header:b,headerClass:m,isActive:S,prefixCls:a,destroyInactivePanel:h??s,openMotion:d,accordion:o,children:t.props.children,onItemClick:x,expandIcon:f,collapsible:w};return typeof t.type=="string"?t:(Object.keys(E).forEach(function(I){typeof E[I]>"u"&&delete E[I]}),le.cloneElement(t,E))};function Hge(e,t,n){return Array.isArray(e)?Bge(e,n):or(t).map(function(r,a){return zge(r,a,n)})}function Uge(e){var t=e;if(!Array.isArray(t)){var n=ft(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var Vge=le.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,a=e.destroyInactivePanel,o=a===void 0?!1:a,i=e.style,s=e.accordion,c=e.className,u=e.children,d=e.collapsible,f=e.openMotion,p=e.expandIcon,g=e.activeKey,b=e.defaultActiveKey,m=e.onChange,h=e.items,y=ne(r,c),v=Qt([],{value:g,onChange:function(T){return m==null?void 0:m(T)},defaultValue:b,postState:Uge}),S=se(v,2),w=S[0],x=S[1],E=function(T){return x(function(){if(s)return w[0]===T?[]:[T];var _=w.indexOf(T),$=_>-1;return $?w.filter(function(D){return D!==T}):[].concat($e(w),[T])})};cn(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var I=Hge(h,u,{prefixCls:r,accordion:s,openMotion:f,expandIcon:p,collapsible:d,destroyInactivePanel:o,onItemClick:E,activeKey:w});return le.createElement("div",be({ref:t,className:y,style:i,role:s?"tablist":void 0},Nn(e,{aria:!0,data:!0})),I)});const N$=Object.assign(Vge,{Panel:DV});N$.Panel;const Wge=l.forwardRef((e,t)=>{const{getPrefixCls:n}=l.useContext(ot),{prefixCls:r,className:a,showArrow:o=!0}=e,i=n("collapse",r),s=ne({[`${i}-no-arrow`]:!o},a);return l.createElement(N$.Panel,Object.assign({ref:t},e,{prefixCls:i,className:s}))}),Gge=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:o,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:u,lineType:d,colorBorder:f,colorText:p,colorTextHeading:g,colorTextDisabled:b,fontSizeLG:m,lineHeight:h,lineHeightLG:y,marginSM:v,paddingSM:S,paddingLG:w,paddingXS:x,motionDurationSlow:E,fontSizeIcon:I,contentPadding:R,fontHeight:T,fontHeightLG:_}=e,$=`${W(u)} ${d} ${f}`;return{[t]:Object.assign(Object.assign({},Gt(e)),{backgroundColor:a,border:$,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:$,"&:last-child":{[` + `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function O$(e,t){const n=Pt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[Cge(n)]}const OV=Kt("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[O$(n,e)]}),NV=le.createContext(null);var xge=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,className:a,rootClassName:o,children:i,indeterminate:s=!1,style:c,onMouseEnter:u,onMouseLeave:d,skipGroup:f=!1,disabled:p}=e,g=xge(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:v,direction:m,checkbox:h}=l.useContext(ot),y=l.useContext(NV),{isFormItemInput:b}=l.useContext(Er),S=l.useContext(Vr),w=(n=(y==null?void 0:y.disabled)||p)!==null&&n!==void 0?n:S,x=l.useRef(g.value);l.useEffect(()=>{y==null||y.registerValue(g.value)},[]),l.useEffect(()=>{if(!f)return g.value!==x.current&&(y==null||y.cancelValue(x.current),y==null||y.registerValue(g.value),x.current=g.value),()=>y==null?void 0:y.cancelValue(g.value)},[g.value]);const E=v("checkbox",r),I=Vn(E),[R,T,_]=OV(E,I),$=Object.assign({},g);y&&!f&&($.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),y.toggleOption&&y.toggleOption({label:i,value:g.value})},$.name=y.name,$.checked=y.value.includes(g.value));const D=ne(`${E}-wrapper`,{[`${E}-rtl`]:m==="rtl",[`${E}-wrapper-checked`]:$.checked,[`${E}-wrapper-disabled`]:w,[`${E}-wrapper-in-form-item`]:b},h==null?void 0:h.className,a,o,_,I,T),P=ne({[`${E}-indeterminate`]:s},$b,T),A=s?"mixed":void 0;return R(l.createElement(tg,{component:"Checkbox",disabled:w},l.createElement("label",{className:D,style:Object.assign(Object.assign({},h==null?void 0:h.style),c),onMouseEnter:u,onMouseLeave:d},l.createElement(dV,Object.assign({"aria-checked":A},$,{prefixCls:E,className:P,disabled:w,ref:t})),i!==void 0&&l.createElement("span",null,i))))},kV=l.forwardRef(Ege);var Ige=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{defaultValue:n,children:r,options:a=[],prefixCls:o,className:i,rootClassName:s,style:c,onChange:u}=e,d=Ige(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:p}=l.useContext(ot),[g,v]=l.useState(d.value||n||[]),[m,h]=l.useState([]);l.useEffect(()=>{"value"in d&&v(d.value||[])},[d.value]);const y=l.useMemo(()=>a.map(O=>typeof O=="string"||typeof O=="number"?{label:O,value:O}:O),[a]),b=O=>{h(N=>N.filter(k=>k!==O))},S=O=>{h(N=>[].concat($e(N),[O]))},w=O=>{const N=g.indexOf(O.value),k=$e(g);N===-1?k.push(O.value):k.splice(N,1),"value"in d||v(k),u==null||u(k.filter(M=>m.includes(M)).sort((M,L)=>{const F=y.findIndex(B=>B.value===M),j=y.findIndex(B=>B.value===L);return F-j}))},x=f("checkbox",o),E=`${x}-group`,I=Vn(x),[R,T,_]=OV(x,I),$=gn(d,["value","disabled"]),D=a.length?y.map(O=>l.createElement(kV,{prefixCls:x,key:O.value.toString(),disabled:"disabled"in O?O.disabled:d.disabled,value:O.value,checked:g.includes(O.value),onChange:O.onChange,className:`${E}-item`,style:O.style,title:O.title,id:O.id,required:O.required},O.label)):r,P={toggleOption:w,value:g,disabled:d.disabled,name:d.name,registerValue:S,cancelValue:b},A=ne(E,{[`${E}-rtl`]:p==="rtl"},i,s,_,I,T);return R(l.createElement("div",Object.assign({className:A,style:c},$,{ref:t}),l.createElement(NV.Provider,{value:P},D)))}),Yi=kV;Yi.Group=Tge;Yi.__ANT_CHECKBOX=!0;const AV=l.createContext({}),Rge=e=>{const{componentCls:t}=e;return{[t]:{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"}}}},_ge=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},$ge=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:a}=e,o={};for(let i=a;i>=0;i--)i===0?(o[`${r}${t}-${i}`]={display:"none"},o[`${r}-push-${i}`]={insetInlineStart:"auto"},o[`${r}-pull-${i}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${i}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${i}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${i}`]={marginInlineStart:0},o[`${r}${t}-order-${i}`]={order:0}):(o[`${r}${t}-${i}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${i/a*100}%`,maxWidth:`${i/a*100}%`}],o[`${r}${t}-push-${i}`]={insetInlineStart:`${i/a*100}%`},o[`${r}${t}-pull-${i}`]={insetInlineEnd:`${i/a*100}%`},o[`${r}${t}-offset-${i}`]={marginInlineStart:`${i/a*100}%`},o[`${r}${t}-order-${i}`]={order:i});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},MT=(e,t)=>$ge(e,t),Oge=(e,t,n)=>({[`@media (min-width: ${W(t)})`]:Object.assign({},MT(e,n))}),Nge=()=>({}),kge=()=>({}),Age=Kt("Grid",Rge,Nge),Mge=Kt("Grid",e=>{const t=Pt(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[_ge(t),MT(t,""),MT(t,"-xs"),Object.keys(n).map(r=>Oge(t,n[r],r)).reduce((r,a)=>Object.assign(Object.assign({},r),a),{})]},kge);var Dge=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=l.useContext(ot),{gutter:a,wrap:o}=l.useContext(AV),{prefixCls:i,span:s,order:c,offset:u,push:d,pull:f,className:p,children:g,flex:v,style:m}=e,h=Dge(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",i),[b,S,w]=Mge(y),x={};let E={};Pge.forEach(T=>{let _={};const $=e[T];typeof $=="number"?_.span=$:typeof $=="object"&&(_=$||{}),delete h[T],E=Object.assign(Object.assign({},E),{[`${y}-${T}-${_.span}`]:_.span!==void 0,[`${y}-${T}-order-${_.order}`]:_.order||_.order===0,[`${y}-${T}-offset-${_.offset}`]:_.offset||_.offset===0,[`${y}-${T}-push-${_.push}`]:_.push||_.push===0,[`${y}-${T}-pull-${_.pull}`]:_.pull||_.pull===0,[`${y}-rtl`]:r==="rtl"}),_.flex&&(E[`${y}-${T}-flex`]=!0,x[`--${y}-${T}-flex`]=RM(_.flex))});const I=ne(y,{[`${y}-${s}`]:s!==void 0,[`${y}-order-${c}`]:c,[`${y}-offset-${u}`]:u,[`${y}-push-${d}`]:d,[`${y}-pull-${f}`]:f},p,E,S,w),R={};if(a&&a[0]>0){const T=a[0]/2;R.paddingLeft=T,R.paddingRight=T}return v&&(R.flex=RM(v),o===!1&&!R.minWidth&&(R.minWidth=0)),b(l.createElement("div",Object.assign({},h,{style:Object.assign(Object.assign(Object.assign({},R),m),x),className:I,ref:t}),g))});var Lge=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if(typeof e=="string"&&r(e),typeof e=="object")for(let o=0;o{a()},[JSON.stringify(e),t]),n}const Ba=l.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:a,className:o,style:i,children:s,gutter:c=0,wrap:u}=e,d=Lge(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:p}=l.useContext(ot),[g,v]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[m,h]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),y=_M(a,m),b=_M(r,m),S=l.useRef(c),w=YH();l.useEffect(()=>{const k=w.subscribe(M=>{h(M);const L=S.current||0;(!Array.isArray(L)&&typeof L=="object"||Array.isArray(L)&&(typeof L[0]=="object"||typeof L[1]=="object"))&&v(M)});return()=>w.unsubscribe(k)},[]);const x=()=>{const k=[void 0,void 0];return(Array.isArray(c)?c:[c,void 0]).forEach((L,F)=>{if(typeof L=="object")for(let j=0;j0?_[0]/-2:void 0;P&&(D.marginLeft=P,D.marginRight=P);const[A,O]=_;D.rowGap=O;const N=l.useMemo(()=>({gutter:[A,O],wrap:u}),[A,O,u]);return I(l.createElement(AV.Provider,{value:N},l.createElement("div",Object.assign({},d,{className:$,style:Object.assign(Object.assign({},D),i),ref:t}),s)))});var MV=le.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,a=e.className,o=e.style,i=e.children,s=e.isActive,c=e.role,u=le.useState(s||r),d=se(u,2),f=d[0],p=d[1];return le.useEffect(function(){(r||s)&&p(!0)},[r,s]),f?le.createElement("div",{ref:t,className:ne("".concat(n,"-content"),V(V({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),a),style:o,role:c},le.createElement("div",{className:"".concat(n,"-content-box")},i)):null});MV.displayName="PanelContent";var Fge=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],DV=le.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,a=e.headerClass,o=e.isActive,i=e.onItemClick,s=e.forceRender,c=e.className,u=e.prefixCls,d=e.collapsible,f=e.accordion,p=e.panelKey,g=e.extra,v=e.header,m=e.expandIcon,h=e.openMotion,y=e.destroyInactivePanel,b=e.children,S=vt(e,Fge),w=d==="disabled",x=d==="header",E=d==="icon",I=g!=null&&typeof g!="boolean",R=function(){i==null||i(p)},T=function(O){(O.key==="Enter"||O.keyCode===Me.ENTER||O.which===Me.ENTER)&&R()},_=typeof m=="function"?m(e):le.createElement("i",{className:"arrow"});_&&(_=le.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(d)?R:void 0},_));var $=ne(V(V(V({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),o),"".concat(u,"-item-disabled"),w),c),D=ne(a,V(V(V({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),x),"".concat(u,"-icon-collapsible-only"),E)),P={className:D,"aria-expanded":o,"aria-disabled":w,onKeyDown:T};return!x&&!E&&(P.onClick=R,P.role=f?"tab":"button",P.tabIndex=w?-1:0),le.createElement("div",be({},S,{ref:t,className:$}),le.createElement("div",P,r&&_,le.createElement("span",{className:"".concat(u,"-header-text"),onClick:d==="header"?R:void 0},v),I&&le.createElement("div",{className:"".concat(u,"-extra")},g)),le.createElement(Wr,be({visible:o,leavedClassName:"".concat(u,"-content-hidden")},h,{forceRender:s,removeOnLeave:y}),function(A,O){var N=A.className,k=A.style;return le.createElement(MV,{ref:O,prefixCls:u,className:N,style:k,isActive:o,forceRender:s,role:f?"tabpanel":void 0},b)}))}),jge=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],Bge=function(t,n){var r=n.prefixCls,a=n.accordion,o=n.collapsible,i=n.destroyInactivePanel,s=n.onItemClick,c=n.activeKey,u=n.openMotion,d=n.expandIcon;return t.map(function(f,p){var g=f.children,v=f.label,m=f.key,h=f.collapsible,y=f.onItemClick,b=f.destroyInactivePanel,S=vt(f,jge),w=String(m??p),x=h??o,E=b??i,I=function(_){x!=="disabled"&&(s(_),y==null||y(_))},R=!1;return a?R=c[0]===w:R=c.indexOf(w)>-1,le.createElement(DV,be({},S,{prefixCls:r,key:w,panelKey:w,isActive:R,accordion:a,openMotion:u,expandIcon:d,header:v,collapsible:x,onItemClick:I,destroyInactivePanel:E}),g)})},zge=function(t,n,r){if(!t)return null;var a=r.prefixCls,o=r.accordion,i=r.collapsible,s=r.destroyInactivePanel,c=r.onItemClick,u=r.activeKey,d=r.openMotion,f=r.expandIcon,p=t.key||String(n),g=t.props,v=g.header,m=g.headerClass,h=g.destroyInactivePanel,y=g.collapsible,b=g.onItemClick,S=!1;o?S=u[0]===p:S=u.indexOf(p)>-1;var w=y??i,x=function(R){w!=="disabled"&&(c(R),b==null||b(R))},E={key:p,panelKey:p,header:v,headerClass:m,isActive:S,prefixCls:a,destroyInactivePanel:h??s,openMotion:d,accordion:o,children:t.props.children,onItemClick:x,expandIcon:f,collapsible:w};return typeof t.type=="string"?t:(Object.keys(E).forEach(function(I){typeof E[I]>"u"&&delete E[I]}),le.cloneElement(t,E))};function Hge(e,t,n){return Array.isArray(e)?Bge(e,n):or(t).map(function(r,a){return zge(r,a,n)})}function Uge(e){var t=e;if(!Array.isArray(t)){var n=ft(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var Vge=le.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,a=e.destroyInactivePanel,o=a===void 0?!1:a,i=e.style,s=e.accordion,c=e.className,u=e.children,d=e.collapsible,f=e.openMotion,p=e.expandIcon,g=e.activeKey,v=e.defaultActiveKey,m=e.onChange,h=e.items,y=ne(r,c),b=Qt([],{value:g,onChange:function(T){return m==null?void 0:m(T)},defaultValue:v,postState:Uge}),S=se(b,2),w=S[0],x=S[1],E=function(T){return x(function(){if(s)return w[0]===T?[]:[T];var _=w.indexOf(T),$=_>-1;return $?w.filter(function(D){return D!==T}):[].concat($e(w),[T])})};cn(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var I=Hge(h,u,{prefixCls:r,accordion:s,openMotion:f,expandIcon:p,collapsible:d,destroyInactivePanel:o,onItemClick:E,activeKey:w});return le.createElement("div",be({ref:t,className:y,style:i,role:s?"tablist":void 0},Nn(e,{aria:!0,data:!0})),I)});const N$=Object.assign(Vge,{Panel:DV});N$.Panel;const Wge=l.forwardRef((e,t)=>{const{getPrefixCls:n}=l.useContext(ot),{prefixCls:r,className:a,showArrow:o=!0}=e,i=n("collapse",r),s=ne({[`${i}-no-arrow`]:!o},a);return l.createElement(N$.Panel,Object.assign({ref:t},e,{prefixCls:i,className:s}))}),Gge=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:o,collapseHeaderPaddingSM:i,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:c,lineWidth:u,lineType:d,colorBorder:f,colorText:p,colorTextHeading:g,colorTextDisabled:v,fontSizeLG:m,lineHeight:h,lineHeightLG:y,marginSM:b,paddingSM:S,paddingLG:w,paddingXS:x,motionDurationSlow:E,fontSizeIcon:I,contentPadding:R,fontHeight:T,fontHeightLG:_}=e,$=`${W(u)} ${d} ${f}`;return{[t]:Object.assign(Object.assign({},Gt(e)),{backgroundColor:a,border:$,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:$,"&:last-child":{[` &, - & > ${t}-header`]:{borderRadius:`0 0 ${W(c)} ${W(c)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:g,lineHeight:h,cursor:"pointer",transition:`all ${E}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:T,display:"flex",alignItems:"center",paddingInlineEnd:v},[`${t}-arrow`]:Object.assign(Object.assign({},Qu()),{fontSize:I,transition:`transform ${E}`,svg:{transition:`transform ${E}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:p,backgroundColor:n,borderTop:$,[`& > ${t}-content-box`]:{padding:R},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:i,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(S).sub(x).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:y,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:_,marginInlineStart:e.calc(w).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${W(c)} ${W(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:b,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:v}}}}})}},qge=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},Kge=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` + & > ${t}-header`]:{borderRadius:`0 0 ${W(c)} ${W(c)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:g,lineHeight:h,cursor:"pointer",transition:`all ${E}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:T,display:"flex",alignItems:"center",paddingInlineEnd:b},[`${t}-arrow`]:Object.assign(Object.assign({},Qu()),{fontSize:I,transition:`transform ${E}`,svg:{transition:`transform ${E}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:p,backgroundColor:n,borderTop:$,[`& > ${t}-content-box`]:{padding:R},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:i,paddingInlineStart:x,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(S).sub(x).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:S}}},"&-large":{[`> ${t}-item`]:{fontSize:m,lineHeight:y,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:_,marginInlineStart:e.calc(w).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:w}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${W(c)} ${W(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:v,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}})}},qge=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},Kge=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:a}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${a}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},Yge=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},Xge=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Zge=Kt("Collapse",e=>{const t=Pt(e,{collapseHeaderPaddingSM:`${W(e.paddingXS)} ${W(e.paddingSM)}`,collapseHeaderPaddingLG:`${W(e.padding)} ${W(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[Gge(t),Kge(t),Yge(t),qge(t),og(t)]},Xge),Qge=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:a}=l.useContext(ot),{prefixCls:o,className:i,rootClassName:s,style:c,bordered:u=!0,ghost:d,size:f,expandIconPosition:p="start",children:g,expandIcon:b}=e,m=cr($=>{var D;return(D=f??$)!==null&&D!==void 0?D:"middle"}),h=n("collapse",o),y=n(),[v,S,w]=Zge(h),x=l.useMemo(()=>p==="left"?"start":p==="right"?"end":p,[p]),E=b??(a==null?void 0:a.expandIcon),I=l.useCallback(function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const D=typeof E=="function"?E($):l.createElement(js,{rotate:$.isActive?90:void 0,"aria-label":$.isActive?"expanded":"collapsed"});return lr(D,()=>{var P;return{className:ne((P=D==null?void 0:D.props)===null||P===void 0?void 0:P.className,`${h}-arrow`)}})},[E,h]),R=ne(`${h}-icon-position-${x}`,{[`${h}-borderless`]:!u,[`${h}-rtl`]:r==="rtl",[`${h}-ghost`]:!!d,[`${h}-${m}`]:m!=="middle"},a==null?void 0:a.className,i,s,S,w),T=Object.assign(Object.assign({},Pu(y)),{motionAppear:!1,leavedClassName:`${h}-content-hidden`}),_=l.useMemo(()=>g?or(g).map(($,D)=>{var P,A;if(!((P=$.props)===null||P===void 0)&&P.disabled){const O=(A=$.key)!==null&&A!==void 0?A:String(D),{disabled:N,collapsible:k}=$.props,M=Object.assign(Object.assign({},gn($.props,["disabled"])),{key:O,collapsible:k??(N?"disabled":void 0)});return lr($,M)}return $}):null,[g]);return v(l.createElement(N$,Object.assign({ref:t,openMotion:T},gn(e,["rootClassName"]),{expandIcon:I,prefixCls:h,className:R,style:Object.assign(Object.assign({},a==null?void 0:a.style),c)}),_))}),k$=Object.assign(Qge,{Panel:Wge}),Jge=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:o,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{borderBlockStart:`${W(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${W(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${W(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${W(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${W(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${W(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${W(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},eme=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),tme=Kt("Divider",e=>{const t=Pt(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[Jge(t)]},eme,{unitless:{orientationMargin:!0}});var nme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,divider:r}=l.useContext(ot),{prefixCls:a,type:o="horizontal",orientation:i="center",orientationMargin:s,className:c,rootClassName:u,children:d,dashed:f,variant:p="solid",plain:g,style:b}=e,m=nme(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),h=t("divider",a),[y,v,S]=tme(h),w=!!d,x=i==="left"&&s!=null,E=i==="right"&&s!=null,I=ne(h,r==null?void 0:r.className,v,S,`${h}-${o}`,{[`${h}-with-text`]:w,[`${h}-with-text-${i}`]:w,[`${h}-dashed`]:!!f,[`${h}-${p}`]:p!=="solid",[`${h}-plain`]:!!g,[`${h}-rtl`]:n==="rtl",[`${h}-no-default-orientation-margin-left`]:x,[`${h}-no-default-orientation-margin-right`]:E},c,u),R=l.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),T=Object.assign(Object.assign({},x&&{marginLeft:R}),E&&{marginRight:R});return y(l.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},r==null?void 0:r.style),b)},m,{role:"separator"}),d&&o!=="vertical"&&l.createElement("span",{className:`${h}-inner-text`,style:T},d)))};var rme={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"},ame=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:rme}))},ome=l.forwardRef(ame);function DT(){return typeof BigInt=="function"}function PV(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function Dl(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),o=a[0]||"0",i=a[1]||"0";o==="0"&&i==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:o,decimalStr:i,fullStr:"".concat(s).concat(r)}}function A$(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Cl(e){var t=String(e);if(A$(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&M$(t)?t.length-t.indexOf(".")-1:0}function l0(e){var t=String(e);if(A$(e)){if(e>Number.MAX_SAFE_INTEGER)return String(DT()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Dl("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),sme=function(){function e(t){if(kn(this,e),V(this,"origin",""),V(this,"number",void 0),V(this,"empty",void 0),PV(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return An(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var a=this.number+r;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(aNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":l0(this.number):this.origin}}]),e}();function _o(e){return DT()?new ime(e):new sme(e)}function Eh(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=Dl(e),o=a.negativeStr,i=a.integerStr,s=a.decimalStr,c="".concat(t).concat(s),u="".concat(o).concat(i);if(n>=0){var d=Number(s[n]);if(d>=5&&!r){var f=_o(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-d));return Eh(f.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return c===".0"?u:"".concat(u).concat(c)}function lme(e){return!!(e.addonBefore||e.addonAfter)}function cme(e){return!!(e.prefix||e.suffix||e.allowClear)}function $M(e,t,n){var r=t.cloneNode(!0),a=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},a}function Ev(e,t,n,r){if(n){var a=t;if(t.type==="click"){a=$M(t,e,""),n(a);return}if(e.type!=="file"&&r!==void 0){a=$M(t,e,r),n(a);return}n(a)}}function LV(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var a=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}var D$=le.forwardRef(function(e,t){var n,r,a=e.inputElement,o=e.children,i=e.prefixCls,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,p=e.style,g=e.disabled,b=e.readOnly,m=e.focused,h=e.triggerFocus,y=e.allowClear,v=e.value,S=e.handleReset,w=e.hidden,x=e.classes,E=e.classNames,I=e.dataAttrs,R=e.styles,T=e.components,_=e.onClear,$=o??a,D=(T==null?void 0:T.affixWrapper)||"span",P=(T==null?void 0:T.groupWrapper)||"span",A=(T==null?void 0:T.wrapper)||"span",O=(T==null?void 0:T.groupAddon)||"span",N=l.useRef(null),k=function(G){var Q;(Q=N.current)!==null&&Q!==void 0&&Q.contains(G.target)&&(h==null||h())},M=cme(e),L=l.cloneElement($,{value:v,className:ne($.props.className,!M&&(E==null?void 0:E.variant))||null}),F=l.useRef(null);if(le.useImperativeHandle(t,function(){return{nativeElement:F.current||N.current}}),M){var j=null;if(y){var B=!g&&!b&&v,z="".concat(i,"-clear-icon"),H=ft(y)==="object"&&y!==null&&y!==void 0&&y.clearIcon?y.clearIcon:"✖";j=le.createElement("span",{onClick:function(G){S==null||S(G),_==null||_()},onMouseDown:function(G){return G.preventDefault()},className:ne(z,V(V({},"".concat(z,"-hidden"),!B),"".concat(z,"-has-suffix"),!!c)),role:"button",tabIndex:-1},H)}var U="".concat(i,"-affix-wrapper"),Z=ne(U,V(V(V(V(V({},"".concat(i,"-disabled"),g),"".concat(U,"-disabled"),g),"".concat(U,"-focused"),m),"".concat(U,"-readonly"),b),"".concat(U,"-input-with-clear-btn"),c&&y&&v),x==null?void 0:x.affixWrapper,E==null?void 0:E.affixWrapper,E==null?void 0:E.variant),q=(c||y)&&le.createElement("span",{className:ne("".concat(i,"-suffix"),E==null?void 0:E.suffix),style:R==null?void 0:R.suffix},j,c);L=le.createElement(D,be({className:Z,style:R==null?void 0:R.affixWrapper,onClick:k},I==null?void 0:I.affixWrapper,{ref:N}),s&&le.createElement("span",{className:ne("".concat(i,"-prefix"),E==null?void 0:E.prefix),style:R==null?void 0:R.prefix},s),L,q)}if(lme(e)){var Y="".concat(i,"-group"),te="".concat(Y,"-addon"),ee="".concat(Y,"-wrapper"),X=ne("".concat(i,"-wrapper"),Y,x==null?void 0:x.wrapper,E==null?void 0:E.wrapper),ie=ne(ee,V({},"".concat(ee,"-disabled"),g),x==null?void 0:x.group,E==null?void 0:E.groupWrapper);L=le.createElement(P,{className:ie,ref:F},le.createElement(A,{className:X},u&&le.createElement(O,{className:te},u),L,d&&le.createElement(O,{className:te},d)))}return le.cloneElement(L,{className:ne((n=L.props)===null||n===void 0?void 0:n.className,f)||null,style:K(K({},(r=L.props)===null||r===void 0?void 0:r.style),p),hidden:w})}),ume=["show"];function FV(e,t){return l.useMemo(function(){var n={};t&&(n.show=ft(t)==="object"&&t.formatter?t.formatter:!!t),n=K(K({},n),e);var r=n,a=r.show,o=vt(r,ume);return K(K({},o),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:o.strategy||function(i){return i.length}})},[e,t])}var dme=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],fme=l.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,a=e.onFocus,o=e.onBlur,i=e.onPressEnter,s=e.onKeyDown,c=e.onKeyUp,u=e.prefixCls,d=u===void 0?"rc-input":u,f=e.disabled,p=e.htmlSize,g=e.className,b=e.maxLength,m=e.suffix,h=e.showCount,y=e.count,v=e.type,S=v===void 0?"text":v,w=e.classes,x=e.classNames,E=e.styles,I=e.onCompositionStart,R=e.onCompositionEnd,T=vt(e,dme),_=l.useState(!1),$=se(_,2),D=$[0],P=$[1],A=l.useRef(!1),O=l.useRef(!1),N=l.useRef(null),k=l.useRef(null),M=function(ue){N.current&&LV(N.current,ue)},L=Qt(e.defaultValue,{value:e.value}),F=se(L,2),j=F[0],B=F[1],z=j==null?"":String(j),H=l.useState(null),U=se(H,2),Z=U[0],q=U[1],Y=FV(y,h),te=Y.max||b,ee=Y.strategy(z),X=!!te&&ee>te;l.useImperativeHandle(t,function(){var ce;return{focus:M,blur:function(){var fe;(fe=N.current)===null||fe===void 0||fe.blur()},setSelectionRange:function(fe,pe,xe){var Te;(Te=N.current)===null||Te===void 0||Te.setSelectionRange(fe,pe,xe)},select:function(){var fe;(fe=N.current)===null||fe===void 0||fe.select()},input:N.current,nativeElement:((ce=k.current)===null||ce===void 0?void 0:ce.nativeElement)||N.current}}),l.useEffect(function(){P(function(ce){return ce&&f?!1:ce})},[f]);var ie=function(ue,fe,pe){var xe=fe;if(!A.current&&Y.exceedFormatter&&Y.max&&Y.strategy(fe)>Y.max){if(xe=Y.exceedFormatter(fe,{max:Y.max}),fe!==xe){var Te,Pe;q([((Te=N.current)===null||Te===void 0?void 0:Te.selectionStart)||0,((Pe=N.current)===null||Pe===void 0?void 0:Pe.selectionEnd)||0])}}else if(pe.source==="compositionEnd")return;B(xe),N.current&&Ev(N.current,ue,r,xe)};l.useEffect(function(){if(Z){var ce;(ce=N.current)===null||ce===void 0||ce.setSelectionRange.apply(ce,$e(Z))}},[Z]);var re=function(ue){ie(ue,ue.target.value,{source:"change"})},G=function(ue){A.current=!1,ie(ue,ue.currentTarget.value,{source:"compositionEnd"}),R==null||R(ue)},Q=function(ue){i&&ue.key==="Enter"&&!O.current&&(O.current=!0,i(ue)),s==null||s(ue)},ae=function(ue){ue.key==="Enter"&&(O.current=!1),c==null||c(ue)},oe=function(ue){P(!0),a==null||a(ue)},de=function(ue){P(!1),o==null||o(ue)},ve=function(ue){B(""),M(),N.current&&Ev(N.current,ue,r)},ye=X&&"".concat(d,"-out-of-range"),ge=function(){var ue=gn(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return le.createElement("input",be({autoComplete:n},ue,{onChange:re,onFocus:oe,onBlur:de,onKeyDown:Q,onKeyUp:ae,className:ne(d,V({},"".concat(d,"-disabled"),f),x==null?void 0:x.input),style:E==null?void 0:E.input,ref:N,size:p,type:S,onCompositionStart:function(pe){A.current=!0,I==null||I(pe)},onCompositionEnd:G}))},J=function(){var ue=Number(te)>0;if(m||Y.show){var fe=Y.showFormatter?Y.showFormatter({value:z,count:ee,maxLength:te}):"".concat(ee).concat(ue?" / ".concat(te):"");return le.createElement(le.Fragment,null,Y.show&&le.createElement("span",{className:ne("".concat(d,"-show-count-suffix"),V({},"".concat(d,"-show-count-has-suffix"),!!m),x==null?void 0:x.count),style:K({},E==null?void 0:E.count)},fe),m)}return null};return le.createElement(D$,be({},T,{prefixCls:d,className:ne(g,ye),handleReset:ve,value:z,focused:D,triggerFocus:M,suffix:J(),disabled:f,classes:w,classNames:x,styles:E}),ge())});function pme(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,a){if(t[a])return t[a];var o=r[a];return typeof o=="function"?o.bind(r):o}}):e}function gme(e,t){var n=l.useRef(null);function r(){try{var o=e.selectionStart,i=e.selectionEnd,s=e.value,c=s.substring(0,o),u=s.substring(i);n.current={start:o,end:i,value:s,beforeTxt:c,afterTxt:u}}catch{}}function a(){if(e&&n.current&&t)try{var o=e.value,i=n.current,s=i.beforeTxt,c=i.afterTxt,u=i.start,d=o.length;if(o.startsWith(s))d=s.length;else if(o.endsWith(c))d=o.length-n.current.afterTxt.length;else{var f=s[u-1],p=o.indexOf(f,u-1);p!==-1&&(d=p+1)}e.setSelectionRange(d,d)}catch(g){cn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(g.message))}}return[r,a]}var mme=function(){var t=l.useState(!1),n=se(t,2),r=n[0],a=n[1];return zt(function(){a(jb())},[]),r},hme=200,vme=600;function bme(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,a=e.upDisabled,o=e.downDisabled,i=e.onStep,s=l.useRef(),c=l.useRef([]),u=l.useRef();u.current=i;var d=function(){clearTimeout(s.current)},f=function(S,w){S.preventDefault(),d(),u.current(w);function x(){u.current(w),s.current=setTimeout(x,hme)}s.current=setTimeout(x,vme)};l.useEffect(function(){return function(){d(),c.current.forEach(function(v){return Dt.cancel(v)})}},[]);var p=mme();if(p)return null;var g="".concat(t,"-handler"),b=ne(g,"".concat(g,"-up"),V({},"".concat(g,"-up-disabled"),a)),m=ne(g,"".concat(g,"-down"),V({},"".concat(g,"-down-disabled"),o)),h=function(){return c.current.push(Dt(d))},y={unselectable:"on",role:"button",onMouseUp:h,onMouseLeave:h};return l.createElement("div",{className:"".concat(g,"-wrap")},l.createElement("span",be({},y,{onMouseDown:function(S){f(S,!0)},"aria-label":"Increase Value","aria-disabled":a,className:b}),n||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),l.createElement("span",be({},y,{onMouseDown:function(S){f(S,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:m}),r||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function OM(e){var t=typeof e=="number"?l0(e):Dl(e).fullStr,n=t.includes(".");return n?Dl(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const yme=function(){var e=l.useRef(0),t=function(){Dt.cancel(e.current)};return l.useEffect(function(){return t},[]),function(n){t(),e.current=Dt(function(){n()})}};var Sme=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],wme=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],NM=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},kM=function(t){var n=_o(t);return n.isInvalidate()?null:n},Cme=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.min,i=e.max,s=e.step,c=s===void 0?1:s,u=e.defaultValue,d=e.value,f=e.disabled,p=e.readOnly,g=e.upHandler,b=e.downHandler,m=e.keyboard,h=e.changeOnWheel,y=h===void 0?!1:h,v=e.controls,S=v===void 0?!0:v;e.classNames;var w=e.stringMode,x=e.parser,E=e.formatter,I=e.precision,R=e.decimalSeparator,T=e.onChange,_=e.onInput,$=e.onPressEnter,D=e.onStep,P=e.changeOnBlur,A=P===void 0?!0:P,O=e.domRef,N=vt(e,Sme),k="".concat(n,"-input"),M=l.useRef(null),L=l.useState(!1),F=se(L,2),j=F[0],B=F[1],z=l.useRef(!1),H=l.useRef(!1),U=l.useRef(!1),Z=l.useState(function(){return _o(d??u)}),q=se(Z,2),Y=q[0],te=q[1];function ee(Ne){d===void 0&&te(Ne)}var X=l.useCallback(function(Ne,ze){if(!ze)return I>=0?I:Math.max(Cl(Ne),Cl(c))},[I,c]),ie=l.useCallback(function(Ne){var ze=String(Ne);if(x)return x(ze);var qe=ze;return R&&(qe=qe.replace(R,".")),qe.replace(/[^\w.-]+/g,"")},[x,R]),re=l.useRef(""),G=l.useCallback(function(Ne,ze){if(E)return E(Ne,{userTyping:ze,input:String(re.current)});var qe=typeof Ne=="number"?l0(Ne):Ne;if(!ze){var Le=X(qe,ze);if(M$(qe)&&(R||Le>=0)){var Ke=R||".";qe=Eh(qe,Ke,Le)}}return qe},[E,X,R]),Q=l.useState(function(){var Ne=u??d;return Y.isInvalidate()&&["string","number"].includes(ft(Ne))?Number.isNaN(Ne)?"":Ne:G(Y.toString(),!1)}),ae=se(Q,2),oe=ae[0],de=ae[1];re.current=oe;function ve(Ne,ze){de(G(Ne.isInvalidate()?Ne.toString(!1):Ne.toString(!ze),ze))}var ye=l.useMemo(function(){return kM(i)},[i,I]),ge=l.useMemo(function(){return kM(o)},[o,I]),J=l.useMemo(function(){return!ye||!Y||Y.isInvalidate()?!1:ye.lessEquals(Y)},[ye,Y]),ce=l.useMemo(function(){return!ge||!Y||Y.isInvalidate()?!1:Y.lessEquals(ge)},[ge,Y]),ue=gme(M.current,j),fe=se(ue,2),pe=fe[0],xe=fe[1],Te=function(ze){return ye&&!ze.lessEquals(ye)?ye:ge&&!ge.lessEquals(ze)?ge:null},Pe=function(ze){return!Te(ze)},ke=function(ze,qe){var Le=ze,Ke=Pe(Le)||Le.isEmpty();if(!Le.isEmpty()&&!qe&&(Le=Te(Le)||Le,Ke=!0),!p&&!f&&Ke){var Je=Le.toString(),Xe=X(Je,qe);return Xe>=0&&(Le=_o(Eh(Je,".",Xe)),Pe(Le)||(Le=_o(Eh(Je,".",Xe,!0)))),Le.equals(Y)||(ee(Le),T==null||T(Le.isEmpty()?null:NM(w,Le)),d===void 0&&ve(Le,qe)),Le}return Y},Ue=yme(),Be=function Ne(ze){if(pe(),re.current=ze,de(ze),!H.current){var qe=ie(ze),Le=_o(qe);Le.isNaN()||ke(Le,!0)}_==null||_(ze),Ue(function(){var Ke=ze;x||(Ke=ze.replace(/。/g,".")),Ke!==ze&&Ne(Ke)})},De=function(){H.current=!0},Se=function(){H.current=!1,Be(M.current.value)},_e=function(ze){Be(ze.target.value)},Ce=function(ze){var qe;if(!(ze&&J||!ze&&ce)){z.current=!1;var Le=_o(U.current?OM(c):c);ze||(Le=Le.negate());var Ke=(Y||_o(0)).add(Le.toString()),Je=ke(Ke,!1);D==null||D(NM(w,Je),{offset:U.current?OM(c):c,type:ze?"up":"down"}),(qe=M.current)===null||qe===void 0||qe.focus()}},Re=function(ze){var qe=_o(ie(oe)),Le;qe.isNaN()?Le=ke(Y,ze):Le=ke(qe,ze),d!==void 0?ve(Y,!1):Le.isNaN()||ve(Le,!1)},he=function(){z.current=!0},Ee=function(ze){var qe=ze.key,Le=ze.shiftKey;z.current=!0,U.current=Le,qe==="Enter"&&(H.current||(z.current=!1),Re(!1),$==null||$(ze)),m!==!1&&!H.current&&["Up","ArrowUp","Down","ArrowDown"].includes(qe)&&(Ce(qe==="Up"||qe==="ArrowUp"),ze.preventDefault())},je=function(){z.current=!1,U.current=!1};l.useEffect(function(){if(y&&j){var Ne=function(Le){Ce(Le.deltaY<0),Le.preventDefault()},ze=M.current;if(ze)return ze.addEventListener("wheel",Ne,{passive:!1}),function(){return ze.removeEventListener("wheel",Ne)}}});var Ae=function(){A&&Re(!1),B(!1),z.current=!1};return kl(function(){Y.isInvalidate()||ve(Y,!1)},[I,E]),kl(function(){var Ne=_o(d);te(Ne);var ze=_o(ie(oe));(!Ne.equals(ze)||!z.current||E)&&ve(Ne,z.current)},[d]),kl(function(){E&&xe()},[oe]),l.createElement("div",{ref:O,className:ne(n,r,V(V(V(V(V({},"".concat(n,"-focused"),j),"".concat(n,"-disabled"),f),"".concat(n,"-readonly"),p),"".concat(n,"-not-a-number"),Y.isNaN()),"".concat(n,"-out-of-range"),!Y.isInvalidate()&&!Pe(Y))),style:a,onFocus:function(){B(!0)},onBlur:Ae,onKeyDown:Ee,onKeyUp:je,onCompositionStart:De,onCompositionEnd:Se,onBeforeInput:he},S&&l.createElement(bme,{prefixCls:n,upNode:g,downNode:b,upDisabled:J,downDisabled:ce,onStep:Ce}),l.createElement("div",{className:"".concat(k,"-wrap")},l.createElement("input",be({autoComplete:"off",role:"spinbutton","aria-valuemin":o,"aria-valuemax":i,"aria-valuenow":Y.isInvalidate()?null:Y.toString(),step:c},N,{ref:Ar(M,t),className:k,value:oe,onChange:_e,disabled:f,readOnly:p}))))}),xme=l.forwardRef(function(e,t){var n=e.disabled,r=e.style,a=e.prefixCls,o=a===void 0?"rc-input-number":a,i=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,p=e.classNames,g=vt(e,wme),b=l.useRef(null),m=l.useRef(null),h=l.useRef(null),y=function(S){h.current&&LV(h.current,S)};return l.useImperativeHandle(t,function(){return pme(h.current,{nativeElement:b.current.nativeElement||m.current})}),l.createElement(D$,{className:f,triggerFocus:y,prefixCls:o,value:i,disabled:n,style:r,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classNames:p,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:b},l.createElement(Cme,be({prefixCls:o,disabled:n,ref:h,domRef:m,className:p==null?void 0:p.input},g)))});const Eme=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},hg(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new on(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},AM=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e;const o=t==="lg"?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${n}-handler-up`]:{borderStartEndRadius:o},[`${n}-handler-down`]:{borderEndEndRadius:o}}}},Ime=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:a,inputFontSizeSM:o,inputFontSizeLG:i,controlHeightLG:s,controlHeightSM:c,colorError:u,paddingInlineSM:d,paddingBlockSM:f,paddingBlockLG:p,paddingInlineLG:g,colorTextDescription:b,motionDurationMid:m,handleHoverColor:h,handleOpacity:y,paddingInline:v,paddingBlock:S,handleBg:w,handleActiveBg:x,colorTextDisabled:E,borderRadiusSM:I,borderRadiusLG:R,controlWidth:T,handleBorderColor:_,filledHandleBg:$,lineHeightLG:D,calc:P}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),vg(e)),{display:"inline-block",width:T,margin:0,padding:0,borderRadius:a}),E$(e,{[`${t}-handler-wrap`]:{background:w,[`${t}-handler-down`]:{borderBlockStart:`${W(n)} ${r} ${_}`}}})),T$(e,{[`${t}-handler-wrap`]:{background:$,[`${t}-handler-down`]:{borderBlockStart:`${W(n)} ${r} ${_}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:w}}})),I$(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,lineHeight:D,borderRadius:R,[`input${t}-input`]:{height:P(s).sub(P(n).mul(2)).equal(),padding:`${W(p)} ${W(g)}`}},"&-sm":{padding:0,fontSize:o,borderRadius:I,[`input${t}-input`]:{height:P(c).sub(P(n).mul(2)).equal(),padding:`${W(f)} ${W(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},Gt(e)),vV(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:R,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:I}}},pV(e)),mV(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{width:"100%",padding:`${W(S)} ${W(v)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit"}),R$(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:y,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${m}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},Yge=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},Xge=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Zge=Kt("Collapse",e=>{const t=Pt(e,{collapseHeaderPaddingSM:`${W(e.paddingXS)} ${W(e.paddingSM)}`,collapseHeaderPaddingLG:`${W(e.padding)} ${W(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[Gge(t),Kge(t),Yge(t),qge(t),og(t)]},Xge),Qge=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:a}=l.useContext(ot),{prefixCls:o,className:i,rootClassName:s,style:c,bordered:u=!0,ghost:d,size:f,expandIconPosition:p="start",children:g,expandIcon:v}=e,m=cr($=>{var D;return(D=f??$)!==null&&D!==void 0?D:"middle"}),h=n("collapse",o),y=n(),[b,S,w]=Zge(h),x=l.useMemo(()=>p==="left"?"start":p==="right"?"end":p,[p]),E=v??(a==null?void 0:a.expandIcon),I=l.useCallback(function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const D=typeof E=="function"?E($):l.createElement(js,{rotate:$.isActive?90:void 0,"aria-label":$.isActive?"expanded":"collapsed"});return lr(D,()=>{var P;return{className:ne((P=D==null?void 0:D.props)===null||P===void 0?void 0:P.className,`${h}-arrow`)}})},[E,h]),R=ne(`${h}-icon-position-${x}`,{[`${h}-borderless`]:!u,[`${h}-rtl`]:r==="rtl",[`${h}-ghost`]:!!d,[`${h}-${m}`]:m!=="middle"},a==null?void 0:a.className,i,s,S,w),T=Object.assign(Object.assign({},Pu(y)),{motionAppear:!1,leavedClassName:`${h}-content-hidden`}),_=l.useMemo(()=>g?or(g).map(($,D)=>{var P,A;if(!((P=$.props)===null||P===void 0)&&P.disabled){const O=(A=$.key)!==null&&A!==void 0?A:String(D),{disabled:N,collapsible:k}=$.props,M=Object.assign(Object.assign({},gn($.props,["disabled"])),{key:O,collapsible:k??(N?"disabled":void 0)});return lr($,M)}return $}):null,[g]);return b(l.createElement(N$,Object.assign({ref:t,openMotion:T},gn(e,["rootClassName"]),{expandIcon:I,prefixCls:h,className:R,style:Object.assign(Object.assign({},a==null?void 0:a.style),c)}),_))}),k$=Object.assign(Qge,{Panel:Wge}),Jge=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:o,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{borderBlockStart:`${W(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${W(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${W(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${W(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${W(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${i} * 100%)`},"&::after":{width:`calc(100% - ${i} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${i} * 100%)`},"&::after":{width:`calc(${i} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${W(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${W(a)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:a,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},eme=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),tme=Kt("Divider",e=>{const t=Pt(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[Jge(t)]},eme,{unitless:{orientationMargin:!0}});var nme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:t,direction:n,divider:r}=l.useContext(ot),{prefixCls:a,type:o="horizontal",orientation:i="center",orientationMargin:s,className:c,rootClassName:u,children:d,dashed:f,variant:p="solid",plain:g,style:v}=e,m=nme(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),h=t("divider",a),[y,b,S]=tme(h),w=!!d,x=i==="left"&&s!=null,E=i==="right"&&s!=null,I=ne(h,r==null?void 0:r.className,b,S,`${h}-${o}`,{[`${h}-with-text`]:w,[`${h}-with-text-${i}`]:w,[`${h}-dashed`]:!!f,[`${h}-${p}`]:p!=="solid",[`${h}-plain`]:!!g,[`${h}-rtl`]:n==="rtl",[`${h}-no-default-orientation-margin-left`]:x,[`${h}-no-default-orientation-margin-right`]:E},c,u),R=l.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),T=Object.assign(Object.assign({},x&&{marginLeft:R}),E&&{marginRight:R});return y(l.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},r==null?void 0:r.style),v)},m,{role:"separator"}),d&&o!=="vertical"&&l.createElement("span",{className:`${h}-inner-text`,style:T},d)))};var rme={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"},ame=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:rme}))},ome=l.forwardRef(ame);function DT(){return typeof BigInt=="function"}function PV(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function Dl(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",a=r.split("."),o=a[0]||"0",i=a[1]||"0";o==="0"&&i==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:o,decimalStr:i,fullStr:"".concat(s).concat(r)}}function A$(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function Cl(e){var t=String(e);if(A$(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&M$(t)?t.length-t.indexOf(".")-1:0}function l0(e){var t=String(e);if(A$(e)){if(e>Number.MAX_SAFE_INTEGER)return String(DT()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":Dl("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),sme=function(){function e(t){if(kn(this,e),V(this,"origin",""),V(this,"number",void 0),V(this,"empty",void 0),PV(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return An(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var a=this.number+r;if(a>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(aNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(a0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":l0(this.number):this.origin}}]),e}();function _o(e){return DT()?new ime(e):new sme(e)}function Eh(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=Dl(e),o=a.negativeStr,i=a.integerStr,s=a.decimalStr,c="".concat(t).concat(s),u="".concat(o).concat(i);if(n>=0){var d=Number(s[n]);if(d>=5&&!r){var f=_o(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-d));return Eh(f.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return c===".0"?u:"".concat(u).concat(c)}function lme(e){return!!(e.addonBefore||e.addonAfter)}function cme(e){return!!(e.prefix||e.suffix||e.allowClear)}function $M(e,t,n){var r=t.cloneNode(!0),a=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},a}function Ev(e,t,n,r){if(n){var a=t;if(t.type==="click"){a=$M(t,e,""),n(a);return}if(e.type!=="file"&&r!==void 0){a=$M(t,e,r),n(a);return}n(a)}}function LV(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var a=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(a,a);break;default:e.setSelectionRange(0,a)}}}}var D$=le.forwardRef(function(e,t){var n,r,a=e.inputElement,o=e.children,i=e.prefixCls,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,p=e.style,g=e.disabled,v=e.readOnly,m=e.focused,h=e.triggerFocus,y=e.allowClear,b=e.value,S=e.handleReset,w=e.hidden,x=e.classes,E=e.classNames,I=e.dataAttrs,R=e.styles,T=e.components,_=e.onClear,$=o??a,D=(T==null?void 0:T.affixWrapper)||"span",P=(T==null?void 0:T.groupWrapper)||"span",A=(T==null?void 0:T.wrapper)||"span",O=(T==null?void 0:T.groupAddon)||"span",N=l.useRef(null),k=function(G){var Q;(Q=N.current)!==null&&Q!==void 0&&Q.contains(G.target)&&(h==null||h())},M=cme(e),L=l.cloneElement($,{value:b,className:ne($.props.className,!M&&(E==null?void 0:E.variant))||null}),F=l.useRef(null);if(le.useImperativeHandle(t,function(){return{nativeElement:F.current||N.current}}),M){var j=null;if(y){var B=!g&&!v&&b,z="".concat(i,"-clear-icon"),H=ft(y)==="object"&&y!==null&&y!==void 0&&y.clearIcon?y.clearIcon:"✖";j=le.createElement("span",{onClick:function(G){S==null||S(G),_==null||_()},onMouseDown:function(G){return G.preventDefault()},className:ne(z,V(V({},"".concat(z,"-hidden"),!B),"".concat(z,"-has-suffix"),!!c)),role:"button",tabIndex:-1},H)}var U="".concat(i,"-affix-wrapper"),Z=ne(U,V(V(V(V(V({},"".concat(i,"-disabled"),g),"".concat(U,"-disabled"),g),"".concat(U,"-focused"),m),"".concat(U,"-readonly"),v),"".concat(U,"-input-with-clear-btn"),c&&y&&b),x==null?void 0:x.affixWrapper,E==null?void 0:E.affixWrapper,E==null?void 0:E.variant),q=(c||y)&&le.createElement("span",{className:ne("".concat(i,"-suffix"),E==null?void 0:E.suffix),style:R==null?void 0:R.suffix},j,c);L=le.createElement(D,be({className:Z,style:R==null?void 0:R.affixWrapper,onClick:k},I==null?void 0:I.affixWrapper,{ref:N}),s&&le.createElement("span",{className:ne("".concat(i,"-prefix"),E==null?void 0:E.prefix),style:R==null?void 0:R.prefix},s),L,q)}if(lme(e)){var Y="".concat(i,"-group"),ee="".concat(Y,"-addon"),te="".concat(Y,"-wrapper"),X=ne("".concat(i,"-wrapper"),Y,x==null?void 0:x.wrapper,E==null?void 0:E.wrapper),ie=ne(te,V({},"".concat(te,"-disabled"),g),x==null?void 0:x.group,E==null?void 0:E.groupWrapper);L=le.createElement(P,{className:ie,ref:F},le.createElement(A,{className:X},u&&le.createElement(O,{className:ee},u),L,d&&le.createElement(O,{className:ee},d)))}return le.cloneElement(L,{className:ne((n=L.props)===null||n===void 0?void 0:n.className,f)||null,style:K(K({},(r=L.props)===null||r===void 0?void 0:r.style),p),hidden:w})}),ume=["show"];function FV(e,t){return l.useMemo(function(){var n={};t&&(n.show=ft(t)==="object"&&t.formatter?t.formatter:!!t),n=K(K({},n),e);var r=n,a=r.show,o=vt(r,ume);return K(K({},o),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:o.strategy||function(i){return i.length}})},[e,t])}var dme=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],fme=l.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,a=e.onFocus,o=e.onBlur,i=e.onPressEnter,s=e.onKeyDown,c=e.onKeyUp,u=e.prefixCls,d=u===void 0?"rc-input":u,f=e.disabled,p=e.htmlSize,g=e.className,v=e.maxLength,m=e.suffix,h=e.showCount,y=e.count,b=e.type,S=b===void 0?"text":b,w=e.classes,x=e.classNames,E=e.styles,I=e.onCompositionStart,R=e.onCompositionEnd,T=vt(e,dme),_=l.useState(!1),$=se(_,2),D=$[0],P=$[1],A=l.useRef(!1),O=l.useRef(!1),N=l.useRef(null),k=l.useRef(null),M=function(ue){N.current&&LV(N.current,ue)},L=Qt(e.defaultValue,{value:e.value}),F=se(L,2),j=F[0],B=F[1],z=j==null?"":String(j),H=l.useState(null),U=se(H,2),Z=U[0],q=U[1],Y=FV(y,h),ee=Y.max||v,te=Y.strategy(z),X=!!ee&&te>ee;l.useImperativeHandle(t,function(){var ce;return{focus:M,blur:function(){var fe;(fe=N.current)===null||fe===void 0||fe.blur()},setSelectionRange:function(fe,pe,xe){var Te;(Te=N.current)===null||Te===void 0||Te.setSelectionRange(fe,pe,xe)},select:function(){var fe;(fe=N.current)===null||fe===void 0||fe.select()},input:N.current,nativeElement:((ce=k.current)===null||ce===void 0?void 0:ce.nativeElement)||N.current}}),l.useEffect(function(){P(function(ce){return ce&&f?!1:ce})},[f]);var ie=function(ue,fe,pe){var xe=fe;if(!A.current&&Y.exceedFormatter&&Y.max&&Y.strategy(fe)>Y.max){if(xe=Y.exceedFormatter(fe,{max:Y.max}),fe!==xe){var Te,Pe;q([((Te=N.current)===null||Te===void 0?void 0:Te.selectionStart)||0,((Pe=N.current)===null||Pe===void 0?void 0:Pe.selectionEnd)||0])}}else if(pe.source==="compositionEnd")return;B(xe),N.current&&Ev(N.current,ue,r,xe)};l.useEffect(function(){if(Z){var ce;(ce=N.current)===null||ce===void 0||ce.setSelectionRange.apply(ce,$e(Z))}},[Z]);var re=function(ue){ie(ue,ue.target.value,{source:"change"})},G=function(ue){A.current=!1,ie(ue,ue.currentTarget.value,{source:"compositionEnd"}),R==null||R(ue)},Q=function(ue){i&&ue.key==="Enter"&&!O.current&&(O.current=!0,i(ue)),s==null||s(ue)},ae=function(ue){ue.key==="Enter"&&(O.current=!1),c==null||c(ue)},oe=function(ue){P(!0),a==null||a(ue)},de=function(ue){P(!1),o==null||o(ue)},ve=function(ue){B(""),M(),N.current&&Ev(N.current,ue,r)},ye=X&&"".concat(d,"-out-of-range"),ge=function(){var ue=gn(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return le.createElement("input",be({autoComplete:n},ue,{onChange:re,onFocus:oe,onBlur:de,onKeyDown:Q,onKeyUp:ae,className:ne(d,V({},"".concat(d,"-disabled"),f),x==null?void 0:x.input),style:E==null?void 0:E.input,ref:N,size:p,type:S,onCompositionStart:function(pe){A.current=!0,I==null||I(pe)},onCompositionEnd:G}))},J=function(){var ue=Number(ee)>0;if(m||Y.show){var fe=Y.showFormatter?Y.showFormatter({value:z,count:te,maxLength:ee}):"".concat(te).concat(ue?" / ".concat(ee):"");return le.createElement(le.Fragment,null,Y.show&&le.createElement("span",{className:ne("".concat(d,"-show-count-suffix"),V({},"".concat(d,"-show-count-has-suffix"),!!m),x==null?void 0:x.count),style:K({},E==null?void 0:E.count)},fe),m)}return null};return le.createElement(D$,be({},T,{prefixCls:d,className:ne(g,ye),handleReset:ve,value:z,focused:D,triggerFocus:M,suffix:J(),disabled:f,classes:w,classNames:x,styles:E}),ge())});function pme(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,a){if(t[a])return t[a];var o=r[a];return typeof o=="function"?o.bind(r):o}}):e}function gme(e,t){var n=l.useRef(null);function r(){try{var o=e.selectionStart,i=e.selectionEnd,s=e.value,c=s.substring(0,o),u=s.substring(i);n.current={start:o,end:i,value:s,beforeTxt:c,afterTxt:u}}catch{}}function a(){if(e&&n.current&&t)try{var o=e.value,i=n.current,s=i.beforeTxt,c=i.afterTxt,u=i.start,d=o.length;if(o.startsWith(s))d=s.length;else if(o.endsWith(c))d=o.length-n.current.afterTxt.length;else{var f=s[u-1],p=o.indexOf(f,u-1);p!==-1&&(d=p+1)}e.setSelectionRange(d,d)}catch(g){cn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(g.message))}}return[r,a]}var mme=function(){var t=l.useState(!1),n=se(t,2),r=n[0],a=n[1];return zt(function(){a(jb())},[]),r},hme=200,vme=600;function bme(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,a=e.upDisabled,o=e.downDisabled,i=e.onStep,s=l.useRef(),c=l.useRef([]),u=l.useRef();u.current=i;var d=function(){clearTimeout(s.current)},f=function(S,w){S.preventDefault(),d(),u.current(w);function x(){u.current(w),s.current=setTimeout(x,hme)}s.current=setTimeout(x,vme)};l.useEffect(function(){return function(){d(),c.current.forEach(function(b){return Dt.cancel(b)})}},[]);var p=mme();if(p)return null;var g="".concat(t,"-handler"),v=ne(g,"".concat(g,"-up"),V({},"".concat(g,"-up-disabled"),a)),m=ne(g,"".concat(g,"-down"),V({},"".concat(g,"-down-disabled"),o)),h=function(){return c.current.push(Dt(d))},y={unselectable:"on",role:"button",onMouseUp:h,onMouseLeave:h};return l.createElement("div",{className:"".concat(g,"-wrap")},l.createElement("span",be({},y,{onMouseDown:function(S){f(S,!0)},"aria-label":"Increase Value","aria-disabled":a,className:v}),n||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),l.createElement("span",be({},y,{onMouseDown:function(S){f(S,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:m}),r||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function OM(e){var t=typeof e=="number"?l0(e):Dl(e).fullStr,n=t.includes(".");return n?Dl(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const yme=function(){var e=l.useRef(0),t=function(){Dt.cancel(e.current)};return l.useEffect(function(){return t},[]),function(n){t(),e.current=Dt(function(){n()})}};var Sme=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],wme=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],NM=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},kM=function(t){var n=_o(t);return n.isInvalidate()?null:n},Cme=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,o=e.min,i=e.max,s=e.step,c=s===void 0?1:s,u=e.defaultValue,d=e.value,f=e.disabled,p=e.readOnly,g=e.upHandler,v=e.downHandler,m=e.keyboard,h=e.changeOnWheel,y=h===void 0?!1:h,b=e.controls,S=b===void 0?!0:b;e.classNames;var w=e.stringMode,x=e.parser,E=e.formatter,I=e.precision,R=e.decimalSeparator,T=e.onChange,_=e.onInput,$=e.onPressEnter,D=e.onStep,P=e.changeOnBlur,A=P===void 0?!0:P,O=e.domRef,N=vt(e,Sme),k="".concat(n,"-input"),M=l.useRef(null),L=l.useState(!1),F=se(L,2),j=F[0],B=F[1],z=l.useRef(!1),H=l.useRef(!1),U=l.useRef(!1),Z=l.useState(function(){return _o(d??u)}),q=se(Z,2),Y=q[0],ee=q[1];function te(Ne){d===void 0&&ee(Ne)}var X=l.useCallback(function(Ne,ze){if(!ze)return I>=0?I:Math.max(Cl(Ne),Cl(c))},[I,c]),ie=l.useCallback(function(Ne){var ze=String(Ne);if(x)return x(ze);var qe=ze;return R&&(qe=qe.replace(R,".")),qe.replace(/[^\w.-]+/g,"")},[x,R]),re=l.useRef(""),G=l.useCallback(function(Ne,ze){if(E)return E(Ne,{userTyping:ze,input:String(re.current)});var qe=typeof Ne=="number"?l0(Ne):Ne;if(!ze){var Le=X(qe,ze);if(M$(qe)&&(R||Le>=0)){var Ke=R||".";qe=Eh(qe,Ke,Le)}}return qe},[E,X,R]),Q=l.useState(function(){var Ne=u??d;return Y.isInvalidate()&&["string","number"].includes(ft(Ne))?Number.isNaN(Ne)?"":Ne:G(Y.toString(),!1)}),ae=se(Q,2),oe=ae[0],de=ae[1];re.current=oe;function ve(Ne,ze){de(G(Ne.isInvalidate()?Ne.toString(!1):Ne.toString(!ze),ze))}var ye=l.useMemo(function(){return kM(i)},[i,I]),ge=l.useMemo(function(){return kM(o)},[o,I]),J=l.useMemo(function(){return!ye||!Y||Y.isInvalidate()?!1:ye.lessEquals(Y)},[ye,Y]),ce=l.useMemo(function(){return!ge||!Y||Y.isInvalidate()?!1:Y.lessEquals(ge)},[ge,Y]),ue=gme(M.current,j),fe=se(ue,2),pe=fe[0],xe=fe[1],Te=function(ze){return ye&&!ze.lessEquals(ye)?ye:ge&&!ge.lessEquals(ze)?ge:null},Pe=function(ze){return!Te(ze)},ke=function(ze,qe){var Le=ze,Ke=Pe(Le)||Le.isEmpty();if(!Le.isEmpty()&&!qe&&(Le=Te(Le)||Le,Ke=!0),!p&&!f&&Ke){var Je=Le.toString(),Xe=X(Je,qe);return Xe>=0&&(Le=_o(Eh(Je,".",Xe)),Pe(Le)||(Le=_o(Eh(Je,".",Xe,!0)))),Le.equals(Y)||(te(Le),T==null||T(Le.isEmpty()?null:NM(w,Le)),d===void 0&&ve(Le,qe)),Le}return Y},Ue=yme(),Be=function Ne(ze){if(pe(),re.current=ze,de(ze),!H.current){var qe=ie(ze),Le=_o(qe);Le.isNaN()||ke(Le,!0)}_==null||_(ze),Ue(function(){var Ke=ze;x||(Ke=ze.replace(/。/g,".")),Ke!==ze&&Ne(Ke)})},De=function(){H.current=!0},Se=function(){H.current=!1,Be(M.current.value)},_e=function(ze){Be(ze.target.value)},Ce=function(ze){var qe;if(!(ze&&J||!ze&&ce)){z.current=!1;var Le=_o(U.current?OM(c):c);ze||(Le=Le.negate());var Ke=(Y||_o(0)).add(Le.toString()),Je=ke(Ke,!1);D==null||D(NM(w,Je),{offset:U.current?OM(c):c,type:ze?"up":"down"}),(qe=M.current)===null||qe===void 0||qe.focus()}},Re=function(ze){var qe=_o(ie(oe)),Le;qe.isNaN()?Le=ke(Y,ze):Le=ke(qe,ze),d!==void 0?ve(Y,!1):Le.isNaN()||ve(Le,!1)},he=function(){z.current=!0},Ee=function(ze){var qe=ze.key,Le=ze.shiftKey;z.current=!0,U.current=Le,qe==="Enter"&&(H.current||(z.current=!1),Re(!1),$==null||$(ze)),m!==!1&&!H.current&&["Up","ArrowUp","Down","ArrowDown"].includes(qe)&&(Ce(qe==="Up"||qe==="ArrowUp"),ze.preventDefault())},je=function(){z.current=!1,U.current=!1};l.useEffect(function(){if(y&&j){var Ne=function(Le){Ce(Le.deltaY<0),Le.preventDefault()},ze=M.current;if(ze)return ze.addEventListener("wheel",Ne,{passive:!1}),function(){return ze.removeEventListener("wheel",Ne)}}});var Ae=function(){A&&Re(!1),B(!1),z.current=!1};return kl(function(){Y.isInvalidate()||ve(Y,!1)},[I,E]),kl(function(){var Ne=_o(d);ee(Ne);var ze=_o(ie(oe));(!Ne.equals(ze)||!z.current||E)&&ve(Ne,z.current)},[d]),kl(function(){E&&xe()},[oe]),l.createElement("div",{ref:O,className:ne(n,r,V(V(V(V(V({},"".concat(n,"-focused"),j),"".concat(n,"-disabled"),f),"".concat(n,"-readonly"),p),"".concat(n,"-not-a-number"),Y.isNaN()),"".concat(n,"-out-of-range"),!Y.isInvalidate()&&!Pe(Y))),style:a,onFocus:function(){B(!0)},onBlur:Ae,onKeyDown:Ee,onKeyUp:je,onCompositionStart:De,onCompositionEnd:Se,onBeforeInput:he},S&&l.createElement(bme,{prefixCls:n,upNode:g,downNode:v,upDisabled:J,downDisabled:ce,onStep:Ce}),l.createElement("div",{className:"".concat(k,"-wrap")},l.createElement("input",be({autoComplete:"off",role:"spinbutton","aria-valuemin":o,"aria-valuemax":i,"aria-valuenow":Y.isInvalidate()?null:Y.toString(),step:c},N,{ref:Ar(M,t),className:k,value:oe,onChange:_e,disabled:f,readOnly:p}))))}),xme=l.forwardRef(function(e,t){var n=e.disabled,r=e.style,a=e.prefixCls,o=a===void 0?"rc-input-number":a,i=e.value,s=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,p=e.classNames,g=vt(e,wme),v=l.useRef(null),m=l.useRef(null),h=l.useRef(null),y=function(S){h.current&&LV(h.current,S)};return l.useImperativeHandle(t,function(){return pme(h.current,{nativeElement:v.current.nativeElement||m.current})}),l.createElement(D$,{className:f,triggerFocus:y,prefixCls:o,value:i,disabled:n,style:r,prefix:s,suffix:c,addonAfter:d,addonBefore:u,classNames:p,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:v},l.createElement(Cme,be({prefixCls:o,disabled:n,ref:h,domRef:m,className:p==null?void 0:p.input},g)))});const Eme=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},hg(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new on(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},AM=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e;const o=t==="lg"?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${n}-handler-up`]:{borderStartEndRadius:o},[`${n}-handler-down`]:{borderEndEndRadius:o}}}},Ime=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:a,inputFontSizeSM:o,inputFontSizeLG:i,controlHeightLG:s,controlHeightSM:c,colorError:u,paddingInlineSM:d,paddingBlockSM:f,paddingBlockLG:p,paddingInlineLG:g,colorTextDescription:v,motionDurationMid:m,handleHoverColor:h,handleOpacity:y,paddingInline:b,paddingBlock:S,handleBg:w,handleActiveBg:x,colorTextDisabled:E,borderRadiusSM:I,borderRadiusLG:R,controlWidth:T,handleBorderColor:_,filledHandleBg:$,lineHeightLG:D,calc:P}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),vg(e)),{display:"inline-block",width:T,margin:0,padding:0,borderRadius:a}),E$(e,{[`${t}-handler-wrap`]:{background:w,[`${t}-handler-down`]:{borderBlockStart:`${W(n)} ${r} ${_}`}}})),T$(e,{[`${t}-handler-wrap`]:{background:$,[`${t}-handler-down`]:{borderBlockStart:`${W(n)} ${r} ${_}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:w}}})),I$(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,lineHeight:D,borderRadius:R,[`input${t}-input`]:{height:P(s).sub(P(n).mul(2)).equal(),padding:`${W(p)} ${W(g)}`}},"&-sm":{padding:0,fontSize:o,borderRadius:I,[`input${t}-input`]:{height:P(c).sub(P(n).mul(2)).equal(),padding:`${W(f)} ${W(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},Gt(e)),vV(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:R,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:I}}},pV(e)),mV(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{width:"100%",padding:`${W(S)} ${W(b)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit"}),R$(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:0,opacity:y,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${m}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${t}-handler-up-inner, ${t}-handler-down-inner - `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:b,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${W(n)} ${r} ${_}`,transition:`all ${m} linear`,"&:active":{background:x},"&:hover":{height:"60%",[` + `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:v,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${W(n)} ${r} ${_}`,transition:`all ${m} linear`,"&:active":{background:x},"&:hover":{height:"60%",[` ${t}-handler-up-inner, ${t}-handler-down-inner - `]:{color:h}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},Qu()),{color:b,transition:`all ${m} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},AM(e,"lg")),AM(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` + `]:{color:h}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},Qu()),{color:v,transition:`all ${m} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},AM(e,"lg")),AM(e,"sm")),{"&-disabled, &-readonly":{[`${t}-handler-wrap`]:{display:"none"},[`${t}-input`]:{color:"inherit"}},[` ${t}-handler-up-disabled, ${t}-handler-down-disabled `]:{cursor:"not-allowed"},[` ${t}-handler-up-disabled:hover &-handler-up-inner, ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:E}})}]},Tme=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:o,borderRadiusLG:i,borderRadiusSM:s,paddingInlineLG:c,paddingInlineSM:u,paddingBlockLG:d,paddingBlockSM:f,motionDurationMid:p}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${W(n)} 0`}},vg(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:i,paddingInlineStart:c,[`input${t}-input`]:{padding:`${W(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${W(f)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${p}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},Rme=Kt("InputNumber",e=>{const t=Pt(e,mg(e));return[Ime(t),Tme(t),ng(t)]},Eme,{unitless:{handleOpacity:!0}});var _me=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=l.useContext(ot),a=l.useRef(null);l.useImperativeHandle(t,()=>a.current);const{className:o,rootClassName:i,size:s,disabled:c,prefixCls:u,addonBefore:d,addonAfter:f,prefix:p,suffix:g,bordered:b,readOnly:m,status:h,controls:y,variant:v}=e,S=_me(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),w=n("input-number",u),x=Vn(w),[E,I,R]=Rme(w,x),{compactSize:T,compactItemClassnames:_}=Ji(w,r);let $=l.createElement(ome,{className:`${w}-handler-up-inner`}),D=l.createElement(Vb,{className:`${w}-handler-down-inner`});const P=typeof y=="boolean"?y:void 0;typeof y=="object"&&($=typeof y.upIcon>"u"?$:l.createElement("span",{className:`${w}-handler-up-inner`},y.upIcon),D=typeof y.downIcon>"u"?D:l.createElement("span",{className:`${w}-handler-down-inner`},y.downIcon));const{hasFeedback:A,status:O,isFormItemInput:N,feedbackIcon:k}=l.useContext(Er),M=Js(O,h),L=cr(Y=>{var te;return(te=s??T)!==null&&te!==void 0?te:Y}),F=l.useContext(Vr),j=c??F,[B,z]=sc("inputNumber",v,b),H=A&&l.createElement(l.Fragment,null,k),U=ne({[`${w}-lg`]:L==="large",[`${w}-sm`]:L==="small",[`${w}-rtl`]:r==="rtl",[`${w}-in-form-item`]:N},I),Z=`${w}-group`,q=l.createElement(xme,Object.assign({ref:a,disabled:j,className:ne(R,x,o,i,_),upHandler:$,downHandler:D,prefixCls:w,readOnly:m,controls:P,prefix:p,suffix:H||g,addonBefore:d&&l.createElement(di,{form:!0,space:!0},d),addonAfter:f&&l.createElement(di,{form:!0,space:!0},f),classNames:{input:U,variant:ne({[`${w}-${B}`]:z},Ki(w,M,A)),affixWrapper:ne({[`${w}-affix-wrapper-sm`]:L==="small",[`${w}-affix-wrapper-lg`]:L==="large",[`${w}-affix-wrapper-rtl`]:r==="rtl"},I),wrapper:ne({[`${Z}-rtl`]:r==="rtl"},I),groupWrapper:ne({[`${w}-group-wrapper-sm`]:L==="small",[`${w}-group-wrapper-lg`]:L==="large",[`${w}-group-wrapper-rtl`]:r==="rtl",[`${w}-group-wrapper-${B}`]:z},Ki(`${w}-group-wrapper`,M,A),I)}},S));return E(q)}),BV=jV,$me=e=>l.createElement(Ko,{theme:{components:{InputNumber:{handleVisible:!0}}}},l.createElement(jV,Object.assign({},e)));BV._InternalPanelDoNotUseOrYouWillBeFired=$me;const Ome=e=>{const{getPrefixCls:t,direction:n}=l.useContext(ot),{prefixCls:r,className:a}=e,o=t("input-group",r),i=t("input"),[s,c]=$$(i),u=ne(o,{[`${o}-lg`]:e.size==="large",[`${o}-sm`]:e.size==="small",[`${o}-compact`]:e.compact,[`${o}-rtl`]:n==="rtl"},c,a),d=l.useContext(Er),f=l.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return s(l.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(Er.Provider,{value:f},e.children)))},zV=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:le.createElement(ic,null)}),t};function HV(e,t){const n=l.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var a,o,i,s;!((a=e.current)===null||a===void 0)&&a.input&&((o=e.current)===null||o===void 0?void 0:o.input.getAttribute("type"))==="password"&&(!((i=e.current)===null||i===void 0)&&i.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return l.useEffect(()=>(t&&r(),()=>n.current.forEach(a=>{a&&clearTimeout(a)})),[]),r}function Nme(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var kme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a=!0,status:o,size:i,disabled:s,onBlur:c,onFocus:u,suffix:d,allowClear:f,addonAfter:p,addonBefore:g,className:b,style:m,styles:h,rootClassName:y,onChange:v,classNames:S,variant:w}=e,x=kme(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:E,direction:I,input:R}=le.useContext(ot),T=E("input",r),_=l.useRef(null),$=Vn(T),[D,P,A]=$$(T,$),{compactSize:O,compactItemClassnames:N}=Ji(T,I),k=cr(re=>{var G;return(G=i??O)!==null&&G!==void 0?G:re}),M=le.useContext(Vr),L=s??M,{status:F,hasFeedback:j,feedbackIcon:B}=l.useContext(Er),z=Js(F,o),H=Nme(e)||!!j;l.useRef(H);const U=HV(_,!0),Z=re=>{U(),c==null||c(re)},q=re=>{U(),u==null||u(re)},Y=re=>{U(),v==null||v(re)},te=(j||d)&&le.createElement(le.Fragment,null,d,j&&B),ee=zV(f??(R==null?void 0:R.allowClear)),[X,ie]=sc("input",w,a);return D(le.createElement(fme,Object.assign({ref:Ar(t,_),prefixCls:T,autoComplete:R==null?void 0:R.autoComplete},x,{disabled:L,onBlur:Z,onFocus:q,style:Object.assign(Object.assign({},R==null?void 0:R.style),m),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),h),suffix:te,allowClear:ee,className:ne(b,y,A,$,N,R==null?void 0:R.className),onChange:Y,addonBefore:g&&le.createElement(di,{form:!0,space:!0},g),addonAfter:p&&le.createElement(di,{form:!0,space:!0},p),classNames:Object.assign(Object.assign(Object.assign({},S),R==null?void 0:R.classNames),{input:ne({[`${T}-sm`]:k==="small",[`${T}-lg`]:k==="large",[`${T}-rtl`]:I==="rtl"},S==null?void 0:S.input,(n=R==null?void 0:R.classNames)===null||n===void 0?void 0:n.input,P),variant:ne({[`${T}-${X}`]:ie},Ki(T,z)),affixWrapper:ne({[`${T}-affix-wrapper-sm`]:k==="small",[`${T}-affix-wrapper-lg`]:k==="large",[`${T}-affix-wrapper-rtl`]:I==="rtl"},P),wrapper:ne({[`${T}-group-rtl`]:I==="rtl"},P),groupWrapper:ne({[`${T}-group-wrapper-sm`]:k==="small",[`${T}-group-wrapper-lg`]:k==="large",[`${T}-group-wrapper-rtl`]:I==="rtl",[`${T}-group-wrapper-${X}`]:ie},Ki(`${T}-group-wrapper`,z,j),P)})})))}),Mme=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},Dme=Kt(["Input","OTP"],e=>{const t=Pt(e,mg(e));return[Mme(t)]},hg);var Pme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{value:n,onChange:r,onActiveChange:a,index:o,mask:i}=e,s=Pme(e,["value","onChange","onActiveChange","index","mask"]),c=n&&typeof i=="string"?i:n,u=b=>{r(o,b.target.value)},d=l.useRef(null);l.useImperativeHandle(t,()=>d.current);const f=()=>{Dt(()=>{var b;const m=(b=d.current)===null||b===void 0?void 0:b.input;document.activeElement===m&&m&&m.select()})},p=b=>{let{key:m}=b;m==="ArrowLeft"?a(o-1):m==="ArrowRight"&&a(o+1),f()},g=b=>{b.key==="Backspace"&&!n&&a(o-1),f()};return l.createElement(c0,Object.assign({},s,{ref:d,value:c,onInput:u,onFocus:f,onKeyDown:p,onKeyUp:g,onMouseDown:f,onMouseUp:f,type:i===!0?"password":"text"}))});var Fme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,length:r=6,size:a,defaultValue:o,value:i,onChange:s,formatter:c,variant:u,disabled:d,status:f,autoFocus:p,mask:g}=e,b=Fme(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:m,direction:h}=l.useContext(ot),y=m("otp",n),v=Nn(b,{aria:!0,data:!0,attr:!0}),S=Vn(y),[w,x,E]=Dme(y,S),I=cr(j=>a??j),R=l.useContext(Er),T=Js(R.status,f),_=l.useMemo(()=>Object.assign(Object.assign({},R),{status:T,hasFeedback:!1,feedbackIcon:null}),[R,T]),$=l.useRef(null),D=l.useRef({});l.useImperativeHandle(t,()=>({focus:()=>{var j;(j=D.current[0])===null||j===void 0||j.focus()},blur:()=>{var j;for(let B=0;Bc?c(j):j,[A,O]=l.useState(Im(P(o||"")));l.useEffect(()=>{i!==void 0&&O(Im(i))},[i]);const N=Lt(j=>{O(j),s&&j.length===r&&j.every(B=>B)&&j.some((B,z)=>A[z]!==B)&&s(j.join(""))}),k=Lt((j,B)=>{let z=$e(A);for(let U=0;U=0&&!z[U];U-=1)z.pop();const H=P(z.map(U=>U||" ").join(""));return z=Im(H).map((U,Z)=>U===" "&&!z[Z]?z[Z]:U),z}),M=(j,B)=>{var z;const H=k(j,B),U=Math.min(j+B.length,r-1);U!==j&&((z=D.current[U])===null||z===void 0||z.focus()),N(H)},L=j=>{var B;(B=D.current[j])===null||B===void 0||B.focus()},F={variant:u,disabled:d,status:T,mask:g};return w(l.createElement("div",Object.assign({},v,{ref:$,className:ne(y,{[`${y}-sm`]:I==="small",[`${y}-lg`]:I==="large",[`${y}-rtl`]:h==="rtl"},E,x)}),l.createElement(Er.Provider,{value:_},Array.from({length:r}).map((j,B)=>{const z=`otp-${B}`,H=A[B]||"";return l.createElement(Lme,Object.assign({ref:U=>{D.current[B]=U},key:z,index:B,size:I,htmlSize:1,className:`${y}-input`,onChange:M,value:H,onActiveChange:L,autoFocus:B===0&&p},F))}))))});var Bme={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},zme=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Bme}))},Hme=l.forwardRef(zme),Ume={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Vme=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Ume}))},UV=l.forwardRef(Vme),Wme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae?l.createElement(UV,null):l.createElement(Hme,null),qme={click:"onClick",hover:"onMouseOver"},Kme=l.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:a=!0,iconRender:o=Gme}=e,i=typeof a=="object"&&a.visible!==void 0,[s,c]=l.useState(()=>i?a.visible:!1),u=l.useRef(null);l.useEffect(()=>{i&&c(a.visible)},[i,a]);const d=HV(u),f=()=>{n||(s&&d(),c(R=>{var T;const _=!R;return typeof a=="object"&&((T=a.onVisibleChange)===null||T===void 0||T.call(a,_)),_}))},p=R=>{const T=qme[r]||"",_=o(s),$={[T]:f,className:`${R}-icon`,key:"passwordIcon",onMouseDown:D=>{D.preventDefault()},onMouseUp:D=>{D.preventDefault()}};return l.cloneElement(l.isValidElement(_)?_:l.createElement("span",null,_),$)},{className:g,prefixCls:b,inputPrefixCls:m,size:h}=e,y=Wme(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:v}=l.useContext(ot),S=v("input",m),w=v("input-password",b),x=a&&p(w),E=ne(w,g,{[`${w}-${h}`]:!!h}),I=Object.assign(Object.assign({},gn(y,["suffix","iconRender","visibilityToggle"])),{type:s?"text":"password",className:E,prefixCls:S,suffix:x});return h&&(I.size=h),l.createElement(c0,Object.assign({ref:Ar(t,u)},I))});var Yme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,inputPrefixCls:r,className:a,size:o,suffix:i,enterButton:s=!1,addonAfter:c,loading:u,disabled:d,onSearch:f,onChange:p,onCompositionStart:g,onCompositionEnd:b}=e,m=Yme(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:h,direction:y}=l.useContext(ot),v=l.useRef(!1),S=h("input-search",n),w=h("input",r),{compactSize:x}=Ji(S,y),E=cr(F=>{var j;return(j=o??x)!==null&&j!==void 0?j:F}),I=l.useRef(null),R=F=>{F!=null&&F.target&&F.type==="click"&&f&&f(F.target.value,F,{source:"clear"}),p==null||p(F)},T=F=>{var j;document.activeElement===((j=I.current)===null||j===void 0?void 0:j.input)&&F.preventDefault()},_=F=>{var j,B;f&&f((B=(j=I.current)===null||j===void 0?void 0:j.input)===null||B===void 0?void 0:B.value,F,{source:"input"})},$=F=>{v.current||u||_(F)},D=typeof s=="boolean"?l.createElement(a$,null):null,P=`${S}-button`;let A;const O=s||{},N=O.type&&O.type.__ANT_BUTTON===!0;N||O.type==="button"?A=lr(O,Object.assign({onMouseDown:T,onClick:F=>{var j,B;(B=(j=O==null?void 0:O.props)===null||j===void 0?void 0:j.onClick)===null||B===void 0||B.call(j,F),_(F)},key:"enterButton"},N?{className:P,size:E}:{})):A=l.createElement($t,{className:P,type:s?"primary":void 0,size:E,disabled:d,key:"enterButton",onMouseDown:T,onClick:_,loading:u,icon:D},s),c&&(A=[A,lr(c,{key:"addonAfter"})]);const k=ne(S,{[`${S}-rtl`]:y==="rtl",[`${S}-${E}`]:!!E,[`${S}-with-button`]:!!s},a),M=F=>{v.current=!0,g==null||g(F)},L=F=>{v.current=!1,b==null||b(F)};return l.createElement(c0,Object.assign({ref:Ar(I,t),onPressEnter:$},m,{size:E,onCompositionStart:M,onCompositionEnd:L,prefixCls:w,addonAfter:A,suffix:i,onChange:R,className:k,disabled:d}))});var Zme=` + `]:{color:E}})}]},Tme=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:o,borderRadiusLG:i,borderRadiusSM:s,paddingInlineLG:c,paddingInlineSM:u,paddingBlockLG:d,paddingBlockSM:f,motionDurationMid:p}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${W(n)} 0`}},vg(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:i,paddingInlineStart:c,[`input${t}-input`]:{padding:`${W(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${W(f)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:a},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:a,transition:`margin ${p}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},Rme=Kt("InputNumber",e=>{const t=Pt(e,mg(e));return[Ime(t),Tme(t),ng(t)]},Eme,{unitless:{handleOpacity:!0}});var _me=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPrefixCls:n,direction:r}=l.useContext(ot),a=l.useRef(null);l.useImperativeHandle(t,()=>a.current);const{className:o,rootClassName:i,size:s,disabled:c,prefixCls:u,addonBefore:d,addonAfter:f,prefix:p,suffix:g,bordered:v,readOnly:m,status:h,controls:y,variant:b}=e,S=_me(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),w=n("input-number",u),x=Vn(w),[E,I,R]=Rme(w,x),{compactSize:T,compactItemClassnames:_}=Ji(w,r);let $=l.createElement(ome,{className:`${w}-handler-up-inner`}),D=l.createElement(Vb,{className:`${w}-handler-down-inner`});const P=typeof y=="boolean"?y:void 0;typeof y=="object"&&($=typeof y.upIcon>"u"?$:l.createElement("span",{className:`${w}-handler-up-inner`},y.upIcon),D=typeof y.downIcon>"u"?D:l.createElement("span",{className:`${w}-handler-down-inner`},y.downIcon));const{hasFeedback:A,status:O,isFormItemInput:N,feedbackIcon:k}=l.useContext(Er),M=Js(O,h),L=cr(Y=>{var ee;return(ee=s??T)!==null&&ee!==void 0?ee:Y}),F=l.useContext(Vr),j=c??F,[B,z]=sc("inputNumber",b,v),H=A&&l.createElement(l.Fragment,null,k),U=ne({[`${w}-lg`]:L==="large",[`${w}-sm`]:L==="small",[`${w}-rtl`]:r==="rtl",[`${w}-in-form-item`]:N},I),Z=`${w}-group`,q=l.createElement(xme,Object.assign({ref:a,disabled:j,className:ne(R,x,o,i,_),upHandler:$,downHandler:D,prefixCls:w,readOnly:m,controls:P,prefix:p,suffix:H||g,addonBefore:d&&l.createElement(di,{form:!0,space:!0},d),addonAfter:f&&l.createElement(di,{form:!0,space:!0},f),classNames:{input:U,variant:ne({[`${w}-${B}`]:z},Ki(w,M,A)),affixWrapper:ne({[`${w}-affix-wrapper-sm`]:L==="small",[`${w}-affix-wrapper-lg`]:L==="large",[`${w}-affix-wrapper-rtl`]:r==="rtl"},I),wrapper:ne({[`${Z}-rtl`]:r==="rtl"},I),groupWrapper:ne({[`${w}-group-wrapper-sm`]:L==="small",[`${w}-group-wrapper-lg`]:L==="large",[`${w}-group-wrapper-rtl`]:r==="rtl",[`${w}-group-wrapper-${B}`]:z},Ki(`${w}-group-wrapper`,M,A),I)}},S));return E(q)}),BV=jV,$me=e=>l.createElement(Ko,{theme:{components:{InputNumber:{handleVisible:!0}}}},l.createElement(jV,Object.assign({},e)));BV._InternalPanelDoNotUseOrYouWillBeFired=$me;const Ome=e=>{const{getPrefixCls:t,direction:n}=l.useContext(ot),{prefixCls:r,className:a}=e,o=t("input-group",r),i=t("input"),[s,c]=$$(i),u=ne(o,{[`${o}-lg`]:e.size==="large",[`${o}-sm`]:e.size==="small",[`${o}-compact`]:e.compact,[`${o}-rtl`]:n==="rtl"},c,a),d=l.useContext(Er),f=l.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return s(l.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},l.createElement(Er.Provider,{value:f},e.children)))},zV=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:le.createElement(ic,null)}),t};function HV(e,t){const n=l.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var a,o,i,s;!((a=e.current)===null||a===void 0)&&a.input&&((o=e.current)===null||o===void 0?void 0:o.input.getAttribute("type"))==="password"&&(!((i=e.current)===null||i===void 0)&&i.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return l.useEffect(()=>(t&&r(),()=>n.current.forEach(a=>{a&&clearTimeout(a)})),[]),r}function Nme(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var kme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,bordered:a=!0,status:o,size:i,disabled:s,onBlur:c,onFocus:u,suffix:d,allowClear:f,addonAfter:p,addonBefore:g,className:v,style:m,styles:h,rootClassName:y,onChange:b,classNames:S,variant:w}=e,x=kme(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:E,direction:I,input:R}=le.useContext(ot),T=E("input",r),_=l.useRef(null),$=Vn(T),[D,P,A]=$$(T,$),{compactSize:O,compactItemClassnames:N}=Ji(T,I),k=cr(re=>{var G;return(G=i??O)!==null&&G!==void 0?G:re}),M=le.useContext(Vr),L=s??M,{status:F,hasFeedback:j,feedbackIcon:B}=l.useContext(Er),z=Js(F,o),H=Nme(e)||!!j;l.useRef(H);const U=HV(_,!0),Z=re=>{U(),c==null||c(re)},q=re=>{U(),u==null||u(re)},Y=re=>{U(),b==null||b(re)},ee=(j||d)&&le.createElement(le.Fragment,null,d,j&&B),te=zV(f??(R==null?void 0:R.allowClear)),[X,ie]=sc("input",w,a);return D(le.createElement(fme,Object.assign({ref:Ar(t,_),prefixCls:T,autoComplete:R==null?void 0:R.autoComplete},x,{disabled:L,onBlur:Z,onFocus:q,style:Object.assign(Object.assign({},R==null?void 0:R.style),m),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),h),suffix:ee,allowClear:te,className:ne(v,y,A,$,N,R==null?void 0:R.className),onChange:Y,addonBefore:g&&le.createElement(di,{form:!0,space:!0},g),addonAfter:p&&le.createElement(di,{form:!0,space:!0},p),classNames:Object.assign(Object.assign(Object.assign({},S),R==null?void 0:R.classNames),{input:ne({[`${T}-sm`]:k==="small",[`${T}-lg`]:k==="large",[`${T}-rtl`]:I==="rtl"},S==null?void 0:S.input,(n=R==null?void 0:R.classNames)===null||n===void 0?void 0:n.input,P),variant:ne({[`${T}-${X}`]:ie},Ki(T,z)),affixWrapper:ne({[`${T}-affix-wrapper-sm`]:k==="small",[`${T}-affix-wrapper-lg`]:k==="large",[`${T}-affix-wrapper-rtl`]:I==="rtl"},P),wrapper:ne({[`${T}-group-rtl`]:I==="rtl"},P),groupWrapper:ne({[`${T}-group-wrapper-sm`]:k==="small",[`${T}-group-wrapper-lg`]:k==="large",[`${T}-group-wrapper-rtl`]:I==="rtl",[`${T}-group-wrapper-${X}`]:ie},Ki(`${T}-group-wrapper`,z,j),P)})})))}),Mme=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},Dme=Kt(["Input","OTP"],e=>{const t=Pt(e,mg(e));return[Mme(t)]},hg);var Pme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{value:n,onChange:r,onActiveChange:a,index:o,mask:i}=e,s=Pme(e,["value","onChange","onActiveChange","index","mask"]),c=n&&typeof i=="string"?i:n,u=v=>{r(o,v.target.value)},d=l.useRef(null);l.useImperativeHandle(t,()=>d.current);const f=()=>{Dt(()=>{var v;const m=(v=d.current)===null||v===void 0?void 0:v.input;document.activeElement===m&&m&&m.select()})},p=v=>{let{key:m}=v;m==="ArrowLeft"?a(o-1):m==="ArrowRight"&&a(o+1),f()},g=v=>{v.key==="Backspace"&&!n&&a(o-1),f()};return l.createElement(c0,Object.assign({},s,{ref:d,value:c,onInput:u,onFocus:f,onKeyDown:p,onKeyUp:g,onMouseDown:f,onMouseUp:f,type:i===!0?"password":"text"}))});var Fme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,length:r=6,size:a,defaultValue:o,value:i,onChange:s,formatter:c,variant:u,disabled:d,status:f,autoFocus:p,mask:g}=e,v=Fme(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:m,direction:h}=l.useContext(ot),y=m("otp",n),b=Nn(v,{aria:!0,data:!0,attr:!0}),S=Vn(y),[w,x,E]=Dme(y,S),I=cr(j=>a??j),R=l.useContext(Er),T=Js(R.status,f),_=l.useMemo(()=>Object.assign(Object.assign({},R),{status:T,hasFeedback:!1,feedbackIcon:null}),[R,T]),$=l.useRef(null),D=l.useRef({});l.useImperativeHandle(t,()=>({focus:()=>{var j;(j=D.current[0])===null||j===void 0||j.focus()},blur:()=>{var j;for(let B=0;Bc?c(j):j,[A,O]=l.useState(Im(P(o||"")));l.useEffect(()=>{i!==void 0&&O(Im(i))},[i]);const N=Lt(j=>{O(j),s&&j.length===r&&j.every(B=>B)&&j.some((B,z)=>A[z]!==B)&&s(j.join(""))}),k=Lt((j,B)=>{let z=$e(A);for(let U=0;U=0&&!z[U];U-=1)z.pop();const H=P(z.map(U=>U||" ").join(""));return z=Im(H).map((U,Z)=>U===" "&&!z[Z]?z[Z]:U),z}),M=(j,B)=>{var z;const H=k(j,B),U=Math.min(j+B.length,r-1);U!==j&&((z=D.current[U])===null||z===void 0||z.focus()),N(H)},L=j=>{var B;(B=D.current[j])===null||B===void 0||B.focus()},F={variant:u,disabled:d,status:T,mask:g};return w(l.createElement("div",Object.assign({},b,{ref:$,className:ne(y,{[`${y}-sm`]:I==="small",[`${y}-lg`]:I==="large",[`${y}-rtl`]:h==="rtl"},E,x)}),l.createElement(Er.Provider,{value:_},Array.from({length:r}).map((j,B)=>{const z=`otp-${B}`,H=A[B]||"";return l.createElement(Lme,Object.assign({ref:U=>{D.current[B]=U},key:z,index:B,size:I,htmlSize:1,className:`${y}-input`,onChange:M,value:H,onActiveChange:L,autoFocus:B===0&&p},F))}))))});var Bme={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},zme=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Bme}))},Hme=l.forwardRef(zme),Ume={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Vme=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Ume}))},UV=l.forwardRef(Vme),Wme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);ae?l.createElement(UV,null):l.createElement(Hme,null),qme={click:"onClick",hover:"onMouseOver"},Kme=l.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:a=!0,iconRender:o=Gme}=e,i=typeof a=="object"&&a.visible!==void 0,[s,c]=l.useState(()=>i?a.visible:!1),u=l.useRef(null);l.useEffect(()=>{i&&c(a.visible)},[i,a]);const d=HV(u),f=()=>{n||(s&&d(),c(R=>{var T;const _=!R;return typeof a=="object"&&((T=a.onVisibleChange)===null||T===void 0||T.call(a,_)),_}))},p=R=>{const T=qme[r]||"",_=o(s),$={[T]:f,className:`${R}-icon`,key:"passwordIcon",onMouseDown:D=>{D.preventDefault()},onMouseUp:D=>{D.preventDefault()}};return l.cloneElement(l.isValidElement(_)?_:l.createElement("span",null,_),$)},{className:g,prefixCls:v,inputPrefixCls:m,size:h}=e,y=Wme(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:b}=l.useContext(ot),S=b("input",m),w=b("input-password",v),x=a&&p(w),E=ne(w,g,{[`${w}-${h}`]:!!h}),I=Object.assign(Object.assign({},gn(y,["suffix","iconRender","visibilityToggle"])),{type:s?"text":"password",className:E,prefixCls:S,suffix:x});return h&&(I.size=h),l.createElement(c0,Object.assign({ref:Ar(t,u)},I))});var Yme=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,inputPrefixCls:r,className:a,size:o,suffix:i,enterButton:s=!1,addonAfter:c,loading:u,disabled:d,onSearch:f,onChange:p,onCompositionStart:g,onCompositionEnd:v}=e,m=Yme(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:h,direction:y}=l.useContext(ot),b=l.useRef(!1),S=h("input-search",n),w=h("input",r),{compactSize:x}=Ji(S,y),E=cr(F=>{var j;return(j=o??x)!==null&&j!==void 0?j:F}),I=l.useRef(null),R=F=>{F!=null&&F.target&&F.type==="click"&&f&&f(F.target.value,F,{source:"clear"}),p==null||p(F)},T=F=>{var j;document.activeElement===((j=I.current)===null||j===void 0?void 0:j.input)&&F.preventDefault()},_=F=>{var j,B;f&&f((B=(j=I.current)===null||j===void 0?void 0:j.input)===null||B===void 0?void 0:B.value,F,{source:"input"})},$=F=>{b.current||u||_(F)},D=typeof s=="boolean"?l.createElement(a$,null):null,P=`${S}-button`;let A;const O=s||{},N=O.type&&O.type.__ANT_BUTTON===!0;N||O.type==="button"?A=lr(O,Object.assign({onMouseDown:T,onClick:F=>{var j,B;(B=(j=O==null?void 0:O.props)===null||j===void 0?void 0:j.onClick)===null||B===void 0||B.call(j,F),_(F)},key:"enterButton"},N?{className:P,size:E}:{})):A=l.createElement($t,{className:P,type:s?"primary":void 0,size:E,disabled:d,key:"enterButton",onMouseDown:T,onClick:_,loading:u,icon:D},s),c&&(A=[A,lr(c,{key:"addonAfter"})]);const k=ne(S,{[`${S}-rtl`]:y==="rtl",[`${S}-${E}`]:!!E,[`${S}-with-button`]:!!s},a),M=F=>{b.current=!0,g==null||g(F)},L=F=>{b.current=!1,v==null||v(F)};return l.createElement(c0,Object.assign({ref:Ar(I,t),onPressEnter:$},m,{size:E,onCompositionStart:M,onCompositionEnd:L,prefixCls:w,addonAfter:A,suffix:i,onChange:R,className:k,disabled:d}))});var Zme=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -352,19 +352,19 @@ html body { top:0 !important; right:0 !important; pointer-events: none !important; -`,Qme=["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"],gS={},no;function Jme(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&gS[n])return gS[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=Qme.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:s,paddingSize:o,borderSize:i,boxSizing:a};return t&&n&&(gS[n]=c),c}function ehe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;no||(no=document.createElement("textarea"),no.setAttribute("tab-index","-1"),no.setAttribute("aria-hidden","true"),document.body.appendChild(no)),e.getAttribute("wrap")?no.setAttribute("wrap",e.getAttribute("wrap")):no.removeAttribute("wrap");var a=Jme(e,t),o=a.paddingSize,i=a.borderSize,s=a.boxSizing,c=a.sizingStyle;no.setAttribute("style","".concat(c,";").concat(Zme)),no.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,p=no.scrollHeight;if(s==="border-box"?p+=i:s==="content-box"&&(p-=o),n!==null||r!==null){no.value=" ";var g=no.scrollHeight-o;n!==null&&(u=g*n,s==="border-box"&&(u=u+o+i),p=Math.max(u,p)),r!==null&&(d=g*r,s==="border-box"&&(d=d+o+i),f=p>d?"":"hidden",p=Math.min(d,p))}var b={height:p,overflowY:f,resize:"none"};return u&&(b.minHeight=u),d&&(b.maxHeight=d),b}var the=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],mS=0,hS=1,vS=2,nhe=l.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,o=n.value,i=n.autoSize,s=n.onResize,c=n.className,u=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var p=vt(n,the),g=Qt(a,{value:o,postState:function(H){return H??""}}),b=se(g,2),m=b[0],h=b[1],y=function(H){h(H.target.value),f==null||f(H)},v=l.useRef();l.useImperativeHandle(t,function(){return{textArea:v.current}});var S=l.useMemo(function(){return i&&ft(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),w=se(S,2),x=w[0],E=w[1],I=!!i,R=function(){try{if(document.activeElement===v.current){var H=v.current,U=H.selectionStart,Z=H.selectionEnd,q=H.scrollTop;v.current.setSelectionRange(U,Z),v.current.scrollTop=q}}catch{}},T=l.useState(vS),_=se(T,2),$=_[0],D=_[1],P=l.useState(),A=se(P,2),O=A[0],N=A[1],k=function(){D(mS)};zt(function(){I&&k()},[o,x,E,I]),zt(function(){if($===mS)D(hS);else if($===hS){var z=ehe(v.current,!1,x,E);D(vS),N(z)}else R()},[$]);var M=l.useRef(),L=function(){Dt.cancel(M.current)},F=function(H){$===vS&&(s==null||s(H),i&&(L(),M.current=Dt(function(){k()})))};l.useEffect(function(){return L},[]);var j=I?O:null,B=K(K({},u),j);return($===mS||$===hS)&&(B.overflowY="hidden",B.overflowX="hidden"),l.createElement(zr,{onResize:F,disabled:!(i||s)},l.createElement("textarea",be({},p,{ref:v,style:B,className:ne(r,c,V({},"".concat(r,"-disabled"),d)),disabled:d,value:m,onChange:y})))}),rhe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],ahe=le.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,o=e.onFocus,i=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,p=e.suffix,g=e.prefixCls,b=g===void 0?"rc-textarea":g,m=e.showCount,h=e.count,y=e.className,v=e.style,S=e.disabled,w=e.hidden,x=e.classNames,E=e.styles,I=e.onResize,R=e.onClear,T=e.onPressEnter,_=e.readOnly,$=e.autoSize,D=e.onKeyDown,P=vt(e,rhe),A=Qt(r,{value:a,defaultValue:r}),O=se(A,2),N=O[0],k=O[1],M=N==null?"":String(N),L=le.useState(!1),F=se(L,2),j=F[0],B=F[1],z=le.useRef(!1),H=le.useState(null),U=se(H,2),Z=U[0],q=U[1],Y=l.useRef(null),te=l.useRef(null),ee=function(){var Se;return(Se=te.current)===null||Se===void 0?void 0:Se.textArea},X=function(){ee().focus()};l.useImperativeHandle(t,function(){var De;return{resizableTextArea:te.current,focus:X,blur:function(){ee().blur()},nativeElement:((De=Y.current)===null||De===void 0?void 0:De.nativeElement)||ee()}}),l.useEffect(function(){B(function(De){return!S&&De})},[S]);var ie=le.useState(null),re=se(ie,2),G=re[0],Q=re[1];le.useEffect(function(){if(G){var De;(De=ee()).setSelectionRange.apply(De,$e(G))}},[G]);var ae=FV(h,m),oe=(n=ae.max)!==null&&n!==void 0?n:u,de=Number(oe)>0,ve=ae.strategy(M),ye=!!oe&&ve>oe,ge=function(Se,_e){var Ce=_e;!z.current&&ae.exceedFormatter&&ae.max&&ae.strategy(_e)>ae.max&&(Ce=ae.exceedFormatter(_e,{max:ae.max}),_e!==Ce&&Q([ee().selectionStart||0,ee().selectionEnd||0])),k(Ce),Ev(Se.currentTarget,Se,s,Ce)},J=function(Se){z.current=!0,d==null||d(Se)},ce=function(Se){z.current=!1,ge(Se,Se.currentTarget.value),f==null||f(Se)},ue=function(Se){ge(Se,Se.target.value)},fe=function(Se){Se.key==="Enter"&&T&&T(Se),D==null||D(Se)},pe=function(Se){B(!0),o==null||o(Se)},xe=function(Se){B(!1),i==null||i(Se)},Te=function(Se){k(""),X(),Ev(ee(),Se,s)},Pe=p,ke;ae.show&&(ae.showFormatter?ke=ae.showFormatter({value:M,count:ve,maxLength:oe}):ke="".concat(ve).concat(de?" / ".concat(oe):""),Pe=le.createElement(le.Fragment,null,Pe,le.createElement("span",{className:ne("".concat(b,"-data-count"),x==null?void 0:x.count),style:E==null?void 0:E.count},ke)));var Ue=function(Se){var _e;I==null||I(Se),(_e=ee())!==null&&_e!==void 0&&_e.style.height&&q(!0)},Be=!$&&!m&&!c;return le.createElement(D$,{ref:Y,value:M,allowClear:c,handleReset:Te,suffix:Pe,prefixCls:b,classNames:K(K({},x),{},{affixWrapper:ne(x==null?void 0:x.affixWrapper,V(V({},"".concat(b,"-show-count"),m),"".concat(b,"-textarea-allow-clear"),c))}),disabled:S,focused:j,className:ne(y,ye&&"".concat(b,"-out-of-range")),style:K(K({},v),Z&&!Be?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ke=="string"?ke:void 0}},hidden:w,readOnly:_,onClear:R},le.createElement(nhe,be({},P,{autoSize:$,maxLength:u,onKeyDown:fe,onChange:ue,onFocus:pe,onBlur:xe,onCompositionStart:J,onCompositionEnd:ce,className:ne(x==null?void 0:x.textarea),style:K(K({},E==null?void 0:E.textarea),{},{resize:v==null?void 0:v.resize}),disabled:S,prefixCls:b,onResize:Ue,ref:te,readOnly:_})))}),ohe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,bordered:o=!0,size:i,disabled:s,status:c,allowClear:u,classNames:d,rootClassName:f,className:p,style:g,styles:b,variant:m}=e,h=ohe(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:y,direction:v,textArea:S}=l.useContext(ot),w=cr(i),x=l.useContext(Vr),E=s??x,{status:I,hasFeedback:R,feedbackIcon:T}=l.useContext(Er),_=Js(I,c),$=l.useRef(null);l.useImperativeHandle(t,()=>{var F;return{resizableTextArea:(F=$.current)===null||F===void 0?void 0:F.resizableTextArea,focus:j=>{var B,z;Ame((z=(B=$.current)===null||B===void 0?void 0:B.resizableTextArea)===null||z===void 0?void 0:z.textArea,j)},blur:()=>{var j;return(j=$.current)===null||j===void 0?void 0:j.blur()}}});const D=y("input",a),P=Vn(D),[A,O,N]=$$(D,P),[k,M]=sc("textArea",m,o),L=zV(u??(S==null?void 0:S.allowClear));return A(l.createElement(ahe,Object.assign({autoComplete:S==null?void 0:S.autoComplete},h,{style:Object.assign(Object.assign({},S==null?void 0:S.style),g),styles:Object.assign(Object.assign({},S==null?void 0:S.styles),b),disabled:E,allowClear:L,className:ne(N,P,p,f,S==null?void 0:S.className),classNames:Object.assign(Object.assign(Object.assign({},d),S==null?void 0:S.classNames),{textarea:ne({[`${D}-sm`]:w==="small",[`${D}-lg`]:w==="large"},O,d==null?void 0:d.textarea,(n=S==null?void 0:S.classNames)===null||n===void 0?void 0:n.textarea),variant:ne({[`${D}-${k}`]:M},Ki(D,_)),affixWrapper:ne(`${D}-textarea-affix-wrapper`,{[`${D}-affix-wrapper-rtl`]:v==="rtl",[`${D}-affix-wrapper-sm`]:w==="small",[`${D}-affix-wrapper-lg`]:w==="large",[`${D}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},O)}),prefixCls:D,suffix:R&&l.createElement("span",{className:`${D}-textarea-suffix`},T),ref:$})))}),Zt=c0;Zt.Group=Ome;Zt.Search=Xme;Zt.TextArea=VV;Zt.Password=Kme;Zt.OTP=jme;function PT(e,t,n){return(e-t)/(n-t)}function P$(e,t,n,r){var a=PT(t,n,r),o={};switch(e){case"rtl":o.right="".concat(a*100,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(a*100,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(a*100,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(a*100,"%"),o.transform="translateX(-50%)";break}return o}function ou(e,t){return Array.isArray(e)?e[t]:e}var uc=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),ihe=l.createContext({}),she=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],MM=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,a=e.valueIndex,o=e.onStartMove,i=e.onDelete,s=e.style,c=e.render,u=e.dragging,d=e.draggingDelete,f=e.onOffsetChange,p=e.onChangeComplete,g=e.onFocus,b=e.onMouseEnter,m=vt(e,she),h=l.useContext(uc),y=h.min,v=h.max,S=h.direction,w=h.disabled,x=h.keyboard,E=h.range,I=h.tabIndex,R=h.ariaLabelForHandle,T=h.ariaLabelledByForHandle,_=h.ariaValueTextFormatterForHandle,$=h.styles,D=h.classNames,P="".concat(n,"-handle"),A=function(H){w||o(H,a)},O=function(H){g==null||g(H,a)},N=function(H){b(H,a)},k=function(H){if(!w&&x){var U=null;switch(H.which||H.keyCode){case Me.LEFT:U=S==="ltr"||S==="btt"?-1:1;break;case Me.RIGHT:U=S==="ltr"||S==="btt"?1:-1;break;case Me.UP:U=S!=="ttb"?1:-1;break;case Me.DOWN:U=S!=="ttb"?-1:1;break;case Me.HOME:U="min";break;case Me.END:U="max";break;case Me.PAGE_UP:U=2;break;case Me.PAGE_DOWN:U=-2;break;case Me.BACKSPACE:case Me.DELETE:i(a);break}U!==null&&(H.preventDefault(),f(U,a))}},M=function(H){switch(H.which||H.keyCode){case Me.LEFT:case Me.RIGHT:case Me.UP:case Me.DOWN:case Me.HOME:case Me.END:case Me.PAGE_UP:case Me.PAGE_DOWN:p==null||p();break}},L=P$(S,r,y,v),F={};if(a!==null){var j;F={tabIndex:w?null:ou(I,a),role:"slider","aria-valuemin":y,"aria-valuemax":v,"aria-valuenow":r,"aria-disabled":w,"aria-label":ou(R,a),"aria-labelledby":ou(T,a),"aria-valuetext":(j=ou(_,a))===null||j===void 0?void 0:j(r),"aria-orientation":S==="ltr"||S==="rtl"?"horizontal":"vertical",onMouseDown:A,onTouchStart:A,onFocus:O,onMouseEnter:N,onKeyDown:k,onKeyUp:M}}var B=l.createElement("div",be({ref:t,className:ne(P,V(V(V({},"".concat(P,"-").concat(a+1),a!==null&&E),"".concat(P,"-dragging"),u),"".concat(P,"-dragging-delete"),d),D.handle),style:K(K(K({},L),s),$.handle)},F,m));return c&&(B=c(B,{index:a,prefixCls:n,value:r,dragging:u,draggingDelete:d})),B}),lhe=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],che=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,o=e.onOffsetChange,i=e.values,s=e.handleRender,c=e.activeHandleRender,u=e.draggingIndex,d=e.draggingDelete,f=e.onFocus,p=vt(e,lhe),g=l.useRef({}),b=l.useState(!1),m=se(b,2),h=m[0],y=m[1],v=l.useState(-1),S=se(v,2),w=S[0],x=S[1],E=function($){x($),y(!0)},I=function($,D){E(D),f==null||f($)},R=function($,D){E(D)};l.useImperativeHandle(t,function(){return{focus:function($){var D;(D=g.current[$])===null||D===void 0||D.focus()},hideHelp:function(){Sr.flushSync(function(){y(!1)})}}});var T=K({prefixCls:n,onStartMove:a,onOffsetChange:o,render:s,onFocus:I,onMouseEnter:R},p);return l.createElement(l.Fragment,null,i.map(function(_,$){var D=u===$;return l.createElement(MM,be({ref:function(A){A?g.current[$]=A:delete g.current[$]},dragging:D,draggingDelete:D&&d,style:ou(r,$),key:$,value:_,valueIndex:$},T))}),c&&h&&l.createElement(MM,be({key:"a11y"},T,{value:i[w],valueIndex:null,dragging:u!==-1,draggingDelete:d,render:c,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),uhe=function(t){var n=t.prefixCls,r=t.style,a=t.children,o=t.value,i=t.onClick,s=l.useContext(uc),c=s.min,u=s.max,d=s.direction,f=s.includedStart,p=s.includedEnd,g=s.included,b="".concat(n,"-text"),m=P$(d,o,c,u);return l.createElement("span",{className:ne(b,V({},"".concat(b,"-active"),g&&f<=o&&o<=p)),style:K(K({},m),r),onMouseDown:function(y){y.stopPropagation()},onClick:function(){i(o)}},a)},dhe=function(t){var n=t.prefixCls,r=t.marks,a=t.onClick,o="".concat(n,"-mark");return r.length?l.createElement("div",{className:o},r.map(function(i){var s=i.value,c=i.style,u=i.label;return l.createElement(uhe,{key:s,prefixCls:o,style:c,value:s,onClick:a},u)})):null},fhe=function(t){var n=t.prefixCls,r=t.value,a=t.style,o=t.activeStyle,i=l.useContext(uc),s=i.min,c=i.max,u=i.direction,d=i.included,f=i.includedStart,p=i.includedEnd,g="".concat(n,"-dot"),b=d&&f<=r&&r<=p,m=K(K({},P$(u,r,s,c)),typeof a=="function"?a(r):a);return b&&(m=K(K({},m),typeof o=="function"?o(r):o)),l.createElement("span",{className:ne(g,V({},"".concat(g,"-active"),b)),style:m})},phe=function(t){var n=t.prefixCls,r=t.marks,a=t.dots,o=t.style,i=t.activeStyle,s=l.useContext(uc),c=s.min,u=s.max,d=s.step,f=l.useMemo(function(){var p=new Set;if(r.forEach(function(b){p.add(b.value)}),a&&d!==null)for(var g=c;g<=u;)p.add(g),g+=d;return Array.from(p)},[c,u,d,a,r]);return l.createElement("div",{className:"".concat(n,"-step")},f.map(function(p){return l.createElement(fhe,{prefixCls:n,key:p,value:p,style:o,activeStyle:i})}))},DM=function(t){var n=t.prefixCls,r=t.style,a=t.start,o=t.end,i=t.index,s=t.onStartMove,c=t.replaceCls,u=l.useContext(uc),d=u.direction,f=u.min,p=u.max,g=u.disabled,b=u.range,m=u.classNames,h="".concat(n,"-track"),y=PT(a,f,p),v=PT(o,f,p),S=function(I){!g&&s&&s(I,-1)},w={};switch(d){case"rtl":w.right="".concat(y*100,"%"),w.width="".concat(v*100-y*100,"%");break;case"btt":w.bottom="".concat(y*100,"%"),w.height="".concat(v*100-y*100,"%");break;case"ttb":w.top="".concat(y*100,"%"),w.height="".concat(v*100-y*100,"%");break;default:w.left="".concat(y*100,"%"),w.width="".concat(v*100-y*100,"%")}var x=c||ne(h,V(V({},"".concat(h,"-").concat(i+1),i!==null&&b),"".concat(n,"-track-draggable"),s),m.track);return l.createElement("div",{className:x,style:K(K({},w),r),onMouseDown:S,onTouchStart:S})},ghe=function(t){var n=t.prefixCls,r=t.style,a=t.values,o=t.startPoint,i=t.onStartMove,s=l.useContext(uc),c=s.included,u=s.range,d=s.min,f=s.styles,p=s.classNames,g=l.useMemo(function(){if(!u){if(a.length===0)return[];var m=o??d,h=a[0];return[{start:Math.min(m,h),end:Math.max(m,h)}]}for(var y=[],v=0;vmhe&&d3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof m=="number"){var v,S=b[h],w=S+m,x=[];r.forEach(function(_){x.push(_.value)}),x.push(e,t),x.push(s(S));var E=m>0?1:-1;y==="unit"?x.push(s(S+E*n)):x.push(s(w)),x=x.filter(function(_){return _!==null}).filter(function(_){return m<0?_<=S:_>=S}),y==="unit"&&(x=x.filter(function(_){return _!==S}));var I=y==="unit"?S:w;v=x[0];var R=Math.abs(v-I);if(x.forEach(function(_){var $=Math.abs(_-I);$1){var T=$e(b);return T[h]=v,g(T,m-E,h,y)}return v}else{if(m==="min")return e;if(m==="max")return t}},d=function(b,m,h){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",v=b[h],S=u(b,m,h,y);return{value:S,changed:S!==v}},f=function(b){return o===null&&b===0||typeof o=="number"&&b3&&arguments[3]!==void 0?arguments[3]:"unit",v=b.map(c),S=v[h],w=u(v,m,h,y);if(v[h]=w,a===!1){var x=o||0;h>0&&v[h-1]!==S&&(v[h]=Math.max(v[h],v[h-1]+x)),h0;T-=1)for(var _=!0;f(v[T]-v[T-1])&&_;){var $=d(v,-1,T-1);v[T-1]=$.value,_=$.changed}for(var D=v.length-1;D>0;D-=1)for(var P=!0;f(v[D]-v[D-1])&&P;){var A=d(v,-1,D-1);v[D-1]=A.value,P=A.changed}for(var O=0;O=0?N:!1},[N,Pe]),Ue=l.useMemo(function(){return Object.keys(q||{}).map(function(Fe){var Ve=q[Fe],tt={value:Number(Fe)};return Ve&&ft(Ve)==="object"&&!l.isValidElement(Ve)&&("label"in Ve||"style"in Ve)?(tt.style=Ve.style,tt.label=Ve.label):tt.label=Ve,tt}).filter(function(Fe){var Ve=Fe.label;return Ve||typeof Ve=="number"}).sort(function(Fe,Ve){return Fe.value-Ve.value})},[q]),Be=vhe(xe,Te,Pe,Ue,A,ke),De=se(Be,2),Se=De[0],_e=De[1],Ce=Qt(E,{value:x}),Re=se(Ce,2),he=Re[0],Ee=Re[1],je=l.useMemo(function(){var Fe=he==null?[]:Array.isArray(he)?he:[he],Ve=se(Fe,1),tt=Ve[0],bt=tt===void 0?xe:tt,xt=he===null?[]:[bt];if(J){if(xt=$e(Fe),R||he===void 0){var Wt=R>=0?R+1:2;for(xt=xt.slice(0,Wt);xt.length=0&&oe.current.focus(Fe)}Ot(null)},[Ct]);var it=l.useMemo(function(){return ue&&Pe===null?!1:ue},[ue,Pe]),Qe=Lt(function(Fe,Ve){We(Fe,Ve),_==null||_(Ae(je))}),st=Je!==-1;l.useEffect(function(){if(!st){var Fe=je.lastIndexOf(Xe);oe.current.focus(Fe)}},[st]);var St=l.useMemo(function(){return $e(pt).sort(function(Fe,Ve){return Fe-Ve})},[pt]),et=l.useMemo(function(){return J?[St[0],St[St.length-1]]:[xe,St[0]]},[St,J,xe]),Ie=se(et,2),we=Ie[0],Oe=Ie[1];l.useImperativeHandle(t,function(){return{focus:function(){oe.current.focus(0)},blur:function(){var Ve,tt=document,bt=tt.activeElement;(Ve=de.current)!==null&&Ve!==void 0&&Ve.contains(bt)&&(bt==null||bt.blur())}}}),l.useEffect(function(){p&&oe.current.focus(0)},[]);var He=l.useMemo(function(){return{min:xe,max:Te,direction:ve,disabled:u,keyboard:f,step:Pe,included:F,includedStart:we,includedEnd:Oe,range:J,tabIndex:re,ariaLabelForHandle:G,ariaLabelledByForHandle:Q,ariaValueTextFormatterForHandle:ae,styles:s||{},classNames:i||{}}},[xe,Te,ve,u,f,Pe,F,we,Oe,J,re,G,Q,ae,s,i]);return l.createElement(uc.Provider,{value:He},l.createElement("div",{ref:de,className:ne(r,a,V(V(V(V({},"".concat(r,"-disabled"),u),"".concat(r,"-vertical"),M),"".concat(r,"-horizontal"),!M),"".concat(r,"-with-marks"),Ue.length)),style:o,onMouseDown:Ye},l.createElement("div",{className:ne("".concat(r,"-rail"),i==null?void 0:i.rail),style:K(K({},H),s==null?void 0:s.rail)}),X!==!1&&l.createElement(ghe,{prefixCls:r,style:B,values:je,startPoint:j,onStartMove:it?Qe:void 0}),l.createElement(phe,{prefixCls:r,marks:Ue,dots:Y,style:U,activeStyle:Z}),l.createElement(che,{ref:oe,prefixCls:r,style:z,values:pt,draggingIndex:Je,draggingDelete:ut,onStartMove:Qe,onOffsetChange:dt,onFocus:g,onBlur:b,handleRender:te,activeHandleRender:ee,onChangeComplete:ze,onDelete:ce?qe:void 0}),l.createElement(dhe,{prefixCls:r,marks:Ue,onClick:Ze})))});const LM=l.forwardRef((e,t)=>{const{open:n,draggingDelete:r}=e,a=l.useRef(null),o=n&&!r,i=l.useRef(null);function s(){Dt.cancel(i.current),i.current=null}function c(){i.current=Dt(()=>{var u;(u=a.current)===null||u===void 0||u.forceAlign(),i.current=null})}return l.useEffect(()=>(o?c():s(),s),[o,e.title]),l.createElement(rn,Object.assign({ref:Ar(a,t)},e,{open:o}))}),She=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:o,marginPart:i,colorFillContentHover:s,handleColorDisabled:c,calc:u,handleSize:d,handleSizeHover:f,handleActiveColor:p,handleActiveOutlineColor:g,handleLineWidth:b,handleLineWidthHover:m,motionDurationMid:h}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",height:r,margin:`${W(i)} ${W(o)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${W(o)} ${W(i)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${h}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${h}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${W(b)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:d,height:d,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:u(b).mul(-1).equal(),insetBlockStart:u(b).mul(-1).equal(),width:u(d).add(u(b).mul(2)).equal(),height:u(d).add(u(b).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:d,height:d,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${W(b)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` +`,Qme=["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"],gS={},no;function Jme(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&gS[n])return gS[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),o=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),i=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=Qme.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:s,paddingSize:o,borderSize:i,boxSizing:a};return t&&n&&(gS[n]=c),c}function ehe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;no||(no=document.createElement("textarea"),no.setAttribute("tab-index","-1"),no.setAttribute("aria-hidden","true"),document.body.appendChild(no)),e.getAttribute("wrap")?no.setAttribute("wrap",e.getAttribute("wrap")):no.removeAttribute("wrap");var a=Jme(e,t),o=a.paddingSize,i=a.borderSize,s=a.boxSizing,c=a.sizingStyle;no.setAttribute("style","".concat(c,";").concat(Zme)),no.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,p=no.scrollHeight;if(s==="border-box"?p+=i:s==="content-box"&&(p-=o),n!==null||r!==null){no.value=" ";var g=no.scrollHeight-o;n!==null&&(u=g*n,s==="border-box"&&(u=u+o+i),p=Math.max(u,p)),r!==null&&(d=g*r,s==="border-box"&&(d=d+o+i),f=p>d?"":"hidden",p=Math.min(d,p))}var v={height:p,overflowY:f,resize:"none"};return u&&(v.minHeight=u),d&&(v.maxHeight=d),v}var the=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],mS=0,hS=1,vS=2,nhe=l.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,o=n.value,i=n.autoSize,s=n.onResize,c=n.className,u=n.style,d=n.disabled,f=n.onChange;n.onInternalAutoSize;var p=vt(n,the),g=Qt(a,{value:o,postState:function(H){return H??""}}),v=se(g,2),m=v[0],h=v[1],y=function(H){h(H.target.value),f==null||f(H)},b=l.useRef();l.useImperativeHandle(t,function(){return{textArea:b.current}});var S=l.useMemo(function(){return i&&ft(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),w=se(S,2),x=w[0],E=w[1],I=!!i,R=function(){try{if(document.activeElement===b.current){var H=b.current,U=H.selectionStart,Z=H.selectionEnd,q=H.scrollTop;b.current.setSelectionRange(U,Z),b.current.scrollTop=q}}catch{}},T=l.useState(vS),_=se(T,2),$=_[0],D=_[1],P=l.useState(),A=se(P,2),O=A[0],N=A[1],k=function(){D(mS)};zt(function(){I&&k()},[o,x,E,I]),zt(function(){if($===mS)D(hS);else if($===hS){var z=ehe(b.current,!1,x,E);D(vS),N(z)}else R()},[$]);var M=l.useRef(),L=function(){Dt.cancel(M.current)},F=function(H){$===vS&&(s==null||s(H),i&&(L(),M.current=Dt(function(){k()})))};l.useEffect(function(){return L},[]);var j=I?O:null,B=K(K({},u),j);return($===mS||$===hS)&&(B.overflowY="hidden",B.overflowX="hidden"),l.createElement(zr,{onResize:F,disabled:!(i||s)},l.createElement("textarea",be({},p,{ref:b,style:B,className:ne(r,c,V({},"".concat(r,"-disabled"),d)),disabled:d,value:m,onChange:y})))}),rhe=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","showCount","count","className","style","disabled","hidden","classNames","styles","onResize","onClear","onPressEnter","readOnly","autoSize","onKeyDown"],ahe=le.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,o=e.onFocus,i=e.onBlur,s=e.onChange,c=e.allowClear,u=e.maxLength,d=e.onCompositionStart,f=e.onCompositionEnd,p=e.suffix,g=e.prefixCls,v=g===void 0?"rc-textarea":g,m=e.showCount,h=e.count,y=e.className,b=e.style,S=e.disabled,w=e.hidden,x=e.classNames,E=e.styles,I=e.onResize,R=e.onClear,T=e.onPressEnter,_=e.readOnly,$=e.autoSize,D=e.onKeyDown,P=vt(e,rhe),A=Qt(r,{value:a,defaultValue:r}),O=se(A,2),N=O[0],k=O[1],M=N==null?"":String(N),L=le.useState(!1),F=se(L,2),j=F[0],B=F[1],z=le.useRef(!1),H=le.useState(null),U=se(H,2),Z=U[0],q=U[1],Y=l.useRef(null),ee=l.useRef(null),te=function(){var Se;return(Se=ee.current)===null||Se===void 0?void 0:Se.textArea},X=function(){te().focus()};l.useImperativeHandle(t,function(){var De;return{resizableTextArea:ee.current,focus:X,blur:function(){te().blur()},nativeElement:((De=Y.current)===null||De===void 0?void 0:De.nativeElement)||te()}}),l.useEffect(function(){B(function(De){return!S&&De})},[S]);var ie=le.useState(null),re=se(ie,2),G=re[0],Q=re[1];le.useEffect(function(){if(G){var De;(De=te()).setSelectionRange.apply(De,$e(G))}},[G]);var ae=FV(h,m),oe=(n=ae.max)!==null&&n!==void 0?n:u,de=Number(oe)>0,ve=ae.strategy(M),ye=!!oe&&ve>oe,ge=function(Se,_e){var Ce=_e;!z.current&&ae.exceedFormatter&&ae.max&&ae.strategy(_e)>ae.max&&(Ce=ae.exceedFormatter(_e,{max:ae.max}),_e!==Ce&&Q([te().selectionStart||0,te().selectionEnd||0])),k(Ce),Ev(Se.currentTarget,Se,s,Ce)},J=function(Se){z.current=!0,d==null||d(Se)},ce=function(Se){z.current=!1,ge(Se,Se.currentTarget.value),f==null||f(Se)},ue=function(Se){ge(Se,Se.target.value)},fe=function(Se){Se.key==="Enter"&&T&&T(Se),D==null||D(Se)},pe=function(Se){B(!0),o==null||o(Se)},xe=function(Se){B(!1),i==null||i(Se)},Te=function(Se){k(""),X(),Ev(te(),Se,s)},Pe=p,ke;ae.show&&(ae.showFormatter?ke=ae.showFormatter({value:M,count:ve,maxLength:oe}):ke="".concat(ve).concat(de?" / ".concat(oe):""),Pe=le.createElement(le.Fragment,null,Pe,le.createElement("span",{className:ne("".concat(v,"-data-count"),x==null?void 0:x.count),style:E==null?void 0:E.count},ke)));var Ue=function(Se){var _e;I==null||I(Se),(_e=te())!==null&&_e!==void 0&&_e.style.height&&q(!0)},Be=!$&&!m&&!c;return le.createElement(D$,{ref:Y,value:M,allowClear:c,handleReset:Te,suffix:Pe,prefixCls:v,classNames:K(K({},x),{},{affixWrapper:ne(x==null?void 0:x.affixWrapper,V(V({},"".concat(v,"-show-count"),m),"".concat(v,"-textarea-allow-clear"),c))}),disabled:S,focused:j,className:ne(y,ye&&"".concat(v,"-out-of-range")),style:K(K({},b),Z&&!Be?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof ke=="string"?ke:void 0}},hidden:w,readOnly:_,onClear:R},le.createElement(nhe,be({},P,{autoSize:$,maxLength:u,onKeyDown:fe,onChange:ue,onFocus:pe,onBlur:xe,onCompositionStart:J,onCompositionEnd:ce,className:ne(x==null?void 0:x.textarea),style:K(K({},E==null?void 0:E.textarea),{},{resize:b==null?void 0:b.resize}),disabled:S,prefixCls:v,onResize:Ue,ref:ee,readOnly:_})))}),ohe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r;const{prefixCls:a,bordered:o=!0,size:i,disabled:s,status:c,allowClear:u,classNames:d,rootClassName:f,className:p,style:g,styles:v,variant:m}=e,h=ohe(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:y,direction:b,textArea:S}=l.useContext(ot),w=cr(i),x=l.useContext(Vr),E=s??x,{status:I,hasFeedback:R,feedbackIcon:T}=l.useContext(Er),_=Js(I,c),$=l.useRef(null);l.useImperativeHandle(t,()=>{var F;return{resizableTextArea:(F=$.current)===null||F===void 0?void 0:F.resizableTextArea,focus:j=>{var B,z;Ame((z=(B=$.current)===null||B===void 0?void 0:B.resizableTextArea)===null||z===void 0?void 0:z.textArea,j)},blur:()=>{var j;return(j=$.current)===null||j===void 0?void 0:j.blur()}}});const D=y("input",a),P=Vn(D),[A,O,N]=$$(D,P),[k,M]=sc("textArea",m,o),L=zV(u??(S==null?void 0:S.allowClear));return A(l.createElement(ahe,Object.assign({autoComplete:S==null?void 0:S.autoComplete},h,{style:Object.assign(Object.assign({},S==null?void 0:S.style),g),styles:Object.assign(Object.assign({},S==null?void 0:S.styles),v),disabled:E,allowClear:L,className:ne(N,P,p,f,S==null?void 0:S.className),classNames:Object.assign(Object.assign(Object.assign({},d),S==null?void 0:S.classNames),{textarea:ne({[`${D}-sm`]:w==="small",[`${D}-lg`]:w==="large"},O,d==null?void 0:d.textarea,(n=S==null?void 0:S.classNames)===null||n===void 0?void 0:n.textarea),variant:ne({[`${D}-${k}`]:M},Ki(D,_)),affixWrapper:ne(`${D}-textarea-affix-wrapper`,{[`${D}-affix-wrapper-rtl`]:b==="rtl",[`${D}-affix-wrapper-sm`]:w==="small",[`${D}-affix-wrapper-lg`]:w==="large",[`${D}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},O)}),prefixCls:D,suffix:R&&l.createElement("span",{className:`${D}-textarea-suffix`},T),ref:$})))}),Zt=c0;Zt.Group=Ome;Zt.Search=Xme;Zt.TextArea=VV;Zt.Password=Kme;Zt.OTP=jme;function PT(e,t,n){return(e-t)/(n-t)}function P$(e,t,n,r){var a=PT(t,n,r),o={};switch(e){case"rtl":o.right="".concat(a*100,"%"),o.transform="translateX(50%)";break;case"btt":o.bottom="".concat(a*100,"%"),o.transform="translateY(50%)";break;case"ttb":o.top="".concat(a*100,"%"),o.transform="translateY(-50%)";break;default:o.left="".concat(a*100,"%"),o.transform="translateX(-50%)";break}return o}function ou(e,t){return Array.isArray(e)?e[t]:e}var uc=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),ihe=l.createContext({}),she=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],MM=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,a=e.valueIndex,o=e.onStartMove,i=e.onDelete,s=e.style,c=e.render,u=e.dragging,d=e.draggingDelete,f=e.onOffsetChange,p=e.onChangeComplete,g=e.onFocus,v=e.onMouseEnter,m=vt(e,she),h=l.useContext(uc),y=h.min,b=h.max,S=h.direction,w=h.disabled,x=h.keyboard,E=h.range,I=h.tabIndex,R=h.ariaLabelForHandle,T=h.ariaLabelledByForHandle,_=h.ariaValueTextFormatterForHandle,$=h.styles,D=h.classNames,P="".concat(n,"-handle"),A=function(H){w||o(H,a)},O=function(H){g==null||g(H,a)},N=function(H){v(H,a)},k=function(H){if(!w&&x){var U=null;switch(H.which||H.keyCode){case Me.LEFT:U=S==="ltr"||S==="btt"?-1:1;break;case Me.RIGHT:U=S==="ltr"||S==="btt"?1:-1;break;case Me.UP:U=S!=="ttb"?1:-1;break;case Me.DOWN:U=S!=="ttb"?-1:1;break;case Me.HOME:U="min";break;case Me.END:U="max";break;case Me.PAGE_UP:U=2;break;case Me.PAGE_DOWN:U=-2;break;case Me.BACKSPACE:case Me.DELETE:i(a);break}U!==null&&(H.preventDefault(),f(U,a))}},M=function(H){switch(H.which||H.keyCode){case Me.LEFT:case Me.RIGHT:case Me.UP:case Me.DOWN:case Me.HOME:case Me.END:case Me.PAGE_UP:case Me.PAGE_DOWN:p==null||p();break}},L=P$(S,r,y,b),F={};if(a!==null){var j;F={tabIndex:w?null:ou(I,a),role:"slider","aria-valuemin":y,"aria-valuemax":b,"aria-valuenow":r,"aria-disabled":w,"aria-label":ou(R,a),"aria-labelledby":ou(T,a),"aria-valuetext":(j=ou(_,a))===null||j===void 0?void 0:j(r),"aria-orientation":S==="ltr"||S==="rtl"?"horizontal":"vertical",onMouseDown:A,onTouchStart:A,onFocus:O,onMouseEnter:N,onKeyDown:k,onKeyUp:M}}var B=l.createElement("div",be({ref:t,className:ne(P,V(V(V({},"".concat(P,"-").concat(a+1),a!==null&&E),"".concat(P,"-dragging"),u),"".concat(P,"-dragging-delete"),d),D.handle),style:K(K(K({},L),s),$.handle)},F,m));return c&&(B=c(B,{index:a,prefixCls:n,value:r,dragging:u,draggingDelete:d})),B}),lhe=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],che=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,o=e.onOffsetChange,i=e.values,s=e.handleRender,c=e.activeHandleRender,u=e.draggingIndex,d=e.draggingDelete,f=e.onFocus,p=vt(e,lhe),g=l.useRef({}),v=l.useState(!1),m=se(v,2),h=m[0],y=m[1],b=l.useState(-1),S=se(b,2),w=S[0],x=S[1],E=function($){x($),y(!0)},I=function($,D){E(D),f==null||f($)},R=function($,D){E(D)};l.useImperativeHandle(t,function(){return{focus:function($){var D;(D=g.current[$])===null||D===void 0||D.focus()},hideHelp:function(){Sr.flushSync(function(){y(!1)})}}});var T=K({prefixCls:n,onStartMove:a,onOffsetChange:o,render:s,onFocus:I,onMouseEnter:R},p);return l.createElement(l.Fragment,null,i.map(function(_,$){var D=u===$;return l.createElement(MM,be({ref:function(A){A?g.current[$]=A:delete g.current[$]},dragging:D,draggingDelete:D&&d,style:ou(r,$),key:$,value:_,valueIndex:$},T))}),c&&h&&l.createElement(MM,be({key:"a11y"},T,{value:i[w],valueIndex:null,dragging:u!==-1,draggingDelete:d,render:c,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),uhe=function(t){var n=t.prefixCls,r=t.style,a=t.children,o=t.value,i=t.onClick,s=l.useContext(uc),c=s.min,u=s.max,d=s.direction,f=s.includedStart,p=s.includedEnd,g=s.included,v="".concat(n,"-text"),m=P$(d,o,c,u);return l.createElement("span",{className:ne(v,V({},"".concat(v,"-active"),g&&f<=o&&o<=p)),style:K(K({},m),r),onMouseDown:function(y){y.stopPropagation()},onClick:function(){i(o)}},a)},dhe=function(t){var n=t.prefixCls,r=t.marks,a=t.onClick,o="".concat(n,"-mark");return r.length?l.createElement("div",{className:o},r.map(function(i){var s=i.value,c=i.style,u=i.label;return l.createElement(uhe,{key:s,prefixCls:o,style:c,value:s,onClick:a},u)})):null},fhe=function(t){var n=t.prefixCls,r=t.value,a=t.style,o=t.activeStyle,i=l.useContext(uc),s=i.min,c=i.max,u=i.direction,d=i.included,f=i.includedStart,p=i.includedEnd,g="".concat(n,"-dot"),v=d&&f<=r&&r<=p,m=K(K({},P$(u,r,s,c)),typeof a=="function"?a(r):a);return v&&(m=K(K({},m),typeof o=="function"?o(r):o)),l.createElement("span",{className:ne(g,V({},"".concat(g,"-active"),v)),style:m})},phe=function(t){var n=t.prefixCls,r=t.marks,a=t.dots,o=t.style,i=t.activeStyle,s=l.useContext(uc),c=s.min,u=s.max,d=s.step,f=l.useMemo(function(){var p=new Set;if(r.forEach(function(v){p.add(v.value)}),a&&d!==null)for(var g=c;g<=u;)p.add(g),g+=d;return Array.from(p)},[c,u,d,a,r]);return l.createElement("div",{className:"".concat(n,"-step")},f.map(function(p){return l.createElement(fhe,{prefixCls:n,key:p,value:p,style:o,activeStyle:i})}))},DM=function(t){var n=t.prefixCls,r=t.style,a=t.start,o=t.end,i=t.index,s=t.onStartMove,c=t.replaceCls,u=l.useContext(uc),d=u.direction,f=u.min,p=u.max,g=u.disabled,v=u.range,m=u.classNames,h="".concat(n,"-track"),y=PT(a,f,p),b=PT(o,f,p),S=function(I){!g&&s&&s(I,-1)},w={};switch(d){case"rtl":w.right="".concat(y*100,"%"),w.width="".concat(b*100-y*100,"%");break;case"btt":w.bottom="".concat(y*100,"%"),w.height="".concat(b*100-y*100,"%");break;case"ttb":w.top="".concat(y*100,"%"),w.height="".concat(b*100-y*100,"%");break;default:w.left="".concat(y*100,"%"),w.width="".concat(b*100-y*100,"%")}var x=c||ne(h,V(V({},"".concat(h,"-").concat(i+1),i!==null&&v),"".concat(n,"-track-draggable"),s),m.track);return l.createElement("div",{className:x,style:K(K({},w),r),onMouseDown:S,onTouchStart:S})},ghe=function(t){var n=t.prefixCls,r=t.style,a=t.values,o=t.startPoint,i=t.onStartMove,s=l.useContext(uc),c=s.included,u=s.range,d=s.min,f=s.styles,p=s.classNames,g=l.useMemo(function(){if(!u){if(a.length===0)return[];var m=o??d,h=a[0];return[{start:Math.min(m,h),end:Math.max(m,h)}]}for(var y=[],b=0;bmhe&&d3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof m=="number"){var b,S=v[h],w=S+m,x=[];r.forEach(function(_){x.push(_.value)}),x.push(e,t),x.push(s(S));var E=m>0?1:-1;y==="unit"?x.push(s(S+E*n)):x.push(s(w)),x=x.filter(function(_){return _!==null}).filter(function(_){return m<0?_<=S:_>=S}),y==="unit"&&(x=x.filter(function(_){return _!==S}));var I=y==="unit"?S:w;b=x[0];var R=Math.abs(b-I);if(x.forEach(function(_){var $=Math.abs(_-I);$1){var T=$e(v);return T[h]=b,g(T,m-E,h,y)}return b}else{if(m==="min")return e;if(m==="max")return t}},d=function(v,m,h){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",b=v[h],S=u(v,m,h,y);return{value:S,changed:S!==b}},f=function(v){return o===null&&v===0||typeof o=="number"&&v3&&arguments[3]!==void 0?arguments[3]:"unit",b=v.map(c),S=b[h],w=u(b,m,h,y);if(b[h]=w,a===!1){var x=o||0;h>0&&b[h-1]!==S&&(b[h]=Math.max(b[h],b[h-1]+x)),h0;T-=1)for(var _=!0;f(b[T]-b[T-1])&&_;){var $=d(b,-1,T-1);b[T-1]=$.value,_=$.changed}for(var D=b.length-1;D>0;D-=1)for(var P=!0;f(b[D]-b[D-1])&&P;){var A=d(b,-1,D-1);b[D-1]=A.value,P=A.changed}for(var O=0;O=0?N:!1},[N,Pe]),Ue=l.useMemo(function(){return Object.keys(q||{}).map(function(Fe){var Ve=q[Fe],tt={value:Number(Fe)};return Ve&&ft(Ve)==="object"&&!l.isValidElement(Ve)&&("label"in Ve||"style"in Ve)?(tt.style=Ve.style,tt.label=Ve.label):tt.label=Ve,tt}).filter(function(Fe){var Ve=Fe.label;return Ve||typeof Ve=="number"}).sort(function(Fe,Ve){return Fe.value-Ve.value})},[q]),Be=vhe(xe,Te,Pe,Ue,A,ke),De=se(Be,2),Se=De[0],_e=De[1],Ce=Qt(E,{value:x}),Re=se(Ce,2),he=Re[0],Ee=Re[1],je=l.useMemo(function(){var Fe=he==null?[]:Array.isArray(he)?he:[he],Ve=se(Fe,1),tt=Ve[0],bt=tt===void 0?xe:tt,xt=he===null?[]:[bt];if(J){if(xt=$e(Fe),R||he===void 0){var Wt=R>=0?R+1:2;for(xt=xt.slice(0,Wt);xt.length=0&&oe.current.focus(Fe)}Ot(null)},[Ct]);var it=l.useMemo(function(){return ue&&Pe===null?!1:ue},[ue,Pe]),Qe=Lt(function(Fe,Ve){We(Fe,Ve),_==null||_(Ae(je))}),st=Je!==-1;l.useEffect(function(){if(!st){var Fe=je.lastIndexOf(Xe);oe.current.focus(Fe)}},[st]);var St=l.useMemo(function(){return $e(pt).sort(function(Fe,Ve){return Fe-Ve})},[pt]),et=l.useMemo(function(){return J?[St[0],St[St.length-1]]:[xe,St[0]]},[St,J,xe]),Ie=se(et,2),we=Ie[0],Oe=Ie[1];l.useImperativeHandle(t,function(){return{focus:function(){oe.current.focus(0)},blur:function(){var Ve,tt=document,bt=tt.activeElement;(Ve=de.current)!==null&&Ve!==void 0&&Ve.contains(bt)&&(bt==null||bt.blur())}}}),l.useEffect(function(){p&&oe.current.focus(0)},[]);var He=l.useMemo(function(){return{min:xe,max:Te,direction:ve,disabled:u,keyboard:f,step:Pe,included:F,includedStart:we,includedEnd:Oe,range:J,tabIndex:re,ariaLabelForHandle:G,ariaLabelledByForHandle:Q,ariaValueTextFormatterForHandle:ae,styles:s||{},classNames:i||{}}},[xe,Te,ve,u,f,Pe,F,we,Oe,J,re,G,Q,ae,s,i]);return l.createElement(uc.Provider,{value:He},l.createElement("div",{ref:de,className:ne(r,a,V(V(V(V({},"".concat(r,"-disabled"),u),"".concat(r,"-vertical"),M),"".concat(r,"-horizontal"),!M),"".concat(r,"-with-marks"),Ue.length)),style:o,onMouseDown:Ye},l.createElement("div",{className:ne("".concat(r,"-rail"),i==null?void 0:i.rail),style:K(K({},H),s==null?void 0:s.rail)}),X!==!1&&l.createElement(ghe,{prefixCls:r,style:B,values:je,startPoint:j,onStartMove:it?Qe:void 0}),l.createElement(phe,{prefixCls:r,marks:Ue,dots:Y,style:U,activeStyle:Z}),l.createElement(che,{ref:oe,prefixCls:r,style:z,values:pt,draggingIndex:Je,draggingDelete:ut,onStartMove:Qe,onOffsetChange:dt,onFocus:g,onBlur:v,handleRender:ee,activeHandleRender:te,onChangeComplete:ze,onDelete:ce?qe:void 0}),l.createElement(dhe,{prefixCls:r,marks:Ue,onClick:Ze})))});const LM=l.forwardRef((e,t)=>{const{open:n,draggingDelete:r}=e,a=l.useRef(null),o=n&&!r,i=l.useRef(null);function s(){Dt.cancel(i.current),i.current=null}function c(){i.current=Dt(()=>{var u;(u=a.current)===null||u===void 0||u.forceAlign(),i.current=null})}return l.useEffect(()=>(o?c():s(),s),[o,e.title]),l.createElement(rn,Object.assign({ref:Ar(a,t)},e,{open:o}))}),She=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:o,marginPart:i,colorFillContentHover:s,handleColorDisabled:c,calc:u,handleSize:d,handleSizeHover:f,handleActiveColor:p,handleActiveOutlineColor:g,handleLineWidth:v,handleLineWidthHover:m,motionDurationMid:h}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative",height:r,margin:`${W(i)} ${W(o)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${W(o)} ${W(i)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${h}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${h}`},[`${t}-track`]:{backgroundColor:e.trackBg,borderRadius:e.borderRadiusXS},[`${t}-track-draggable`]:{boxSizing:"content-box",backgroundClip:"content-box",border:"solid rgba(0,0,0,0)"},"&:hover":{[`${t}-rail`]:{backgroundColor:e.railHoverBg},[`${t}-track`]:{backgroundColor:e.trackHoverBg},[`${t}-dot`]:{borderColor:s},[`${t}-handle::after`]:{boxShadow:`0 0 0 ${W(v)} ${e.colorPrimaryBorderHover}`},[`${t}-dot-active`]:{borderColor:e.dotActiveBorderColor}},[`${t}-handle`]:{position:"absolute",width:d,height:d,outline:"none",userSelect:"none","&-dragging-delete":{opacity:0},"&::before":{content:'""',position:"absolute",insetInlineStart:u(v).mul(-1).equal(),insetBlockStart:u(v).mul(-1).equal(),width:u(d).add(u(v).mul(2)).equal(),height:u(d).add(u(v).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:d,height:d,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${W(v)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` inset-inline-start ${h}, inset-block-start ${h}, width ${h}, height ${h}, box-shadow ${h}, outline ${h} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(f).sub(d).div(2).add(m).mul(-1).equal(),insetBlockStart:u(f).sub(d).div(2).add(m).mul(-1).equal(),width:u(f).add(u(m).mul(2)).equal(),height:u(f).add(u(m).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${W(m)} ${p}`,outline:`6px solid ${g}`,width:f,height:f,insetInlineStart:e.calc(d).sub(f).div(2).equal(),insetBlockStart:e.calc(d).sub(f).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${W(b)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(f).sub(d).div(2).add(m).mul(-1).equal(),insetBlockStart:u(f).sub(d).div(2).add(m).mul(-1).equal(),width:u(f).add(u(m).mul(2)).equal(),height:u(f).add(u(m).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${W(m)} ${p}`,outline:`6px solid ${g}`,width:f,height:f,insetInlineStart:e.calc(d).sub(f).div(2).equal(),insetBlockStart:e.calc(d).sub(f).div(2).equal()}}},[`&-lock ${t}-handle`]:{"&::before, &::after":{transition:"none"}},[`${t}-mark`]:{position:"absolute",fontSize:e.fontSize},[`${t}-mark-text`]:{position:"absolute",display:"inline-block",color:e.colorTextDescription,textAlign:"center",wordBreak:"keep-all",cursor:"pointer",userSelect:"none","&-active":{color:e.colorText}},[`${t}-step`]:{position:"absolute",background:"transparent",pointerEvents:"none"},[`${t}-dot`]:{position:"absolute",width:a,height:a,backgroundColor:e.colorBgElevated,border:`${W(v)} solid ${e.dotBorderColor}`,borderRadius:"50%",cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,pointerEvents:"auto","&-active":{borderColor:e.dotActiveBorderColor}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-rail`]:{backgroundColor:`${e.railBg} !important`},[`${t}-track`]:{backgroundColor:`${e.trackBgDisabled} !important`},[` ${t}-dot - `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:d,height:d,boxShadow:`0 0 0 ${W(b)} ${c}`,insetInlineStart:0,insetBlockStart:0},[` + `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:d,height:d,boxShadow:`0 0 0 ${W(v)} ${c}`,insetInlineStart:0,insetBlockStart:0},[` ${t}-mark-text, ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},WV=(e,t)=>{const{componentCls:n,railSize:r,handleSize:a,dotSize:o,marginFull:i,calc:s}=e,c=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",f=t?"insetBlockStart":"insetInlineStart",p=t?"top":"insetInlineStart",g=s(r).mul(3).sub(a).div(2).equal(),b=s(a).sub(r).div(2).equal(),m=t?{borderWidth:`${W(b)} 0`,transform:`translateY(${W(s(b).mul(-1).equal())})`}:{borderWidth:`0 ${W(b)}`,transform:`translateX(${W(e.calc(b).mul(-1).equal())})`};return{[c]:r,[d]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[d]:r},[`${n}-track,${n}-tracks`]:{[d]:r},[`${n}-track-draggable`]:Object.assign({},m),[`${n}-handle`]:{[f]:g},[`${n}-mark`]:{insetInlineStart:0,top:0,[p]:s(r).mul(3).add(t?0:i).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[p]:r,[u]:"100%",[d]:r},[`${n}-dot`]:{position:"absolute",[f]:s(r).sub(o).div(2).equal()}}},whe=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},WV(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Che=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},WV(e,!1)),{height:"100%"})}},xhe=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,a=e.lineWidth+1,o=e.lineWidth+1*1.5,i=e.colorPrimary,s=new on(i).setAlpha(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:a,handleLineWidthHover:o,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:i,handleActiveOutlineColor:s,handleColorDisabled:new on(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},Ehe=Kt("Slider",e=>{const t=Pt(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[She(t),whe(t),Che(t)]},xhe),Ihe=l.createContext({});function bS(){const[e,t]=l.useState(!1),n=l.useRef(),r=()=>{Dt.cancel(n.current)},a=o=>{r(),o?t(o):n.current=Dt(()=>{t(o)})};return l.useEffect(()=>r,[]),[e,a]}var The=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);atypeof n=="number"?n.toString():""}const _he=le.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:a,rootClassName:o,style:i,disabled:s,tooltipPrefixCls:c,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:f,tooltipPlacement:p,tooltip:g={},onChangeComplete:b}=e,m=The(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:h}=e,{direction:y,slider:v,getPrefixCls:S,getPopupContainer:w}=le.useContext(ot),x=le.useContext(Vr),E=s??x,{handleRender:I,direction:R}=le.useContext(Ihe),_=(R||y)==="rtl",[$,D]=bS(),[P,A]=bS(),O=Object.assign({},g),{open:N,placement:k,getPopupContainer:M,prefixCls:L,formatter:F}=O,j=N??d,B=($||P)&&j!==!1,z=Rhe(F,u),[H,U]=bS(),Z=oe=>{b==null||b(oe),U(!1)},q=(oe,de)=>oe||(de?_?"left":"right":"top"),Y=S("slider",n),[te,ee,X]=Ehe(Y),ie=ne(a,v==null?void 0:v.className,o,{[`${Y}-rtl`]:_,[`${Y}-lock`]:H},ee,X);_&&!m.vertical&&(m.reverse=!m.reverse),le.useEffect(()=>{const oe=()=>{Dt(()=>{A(!1)},1)};return document.addEventListener("mouseup",oe),()=>{document.removeEventListener("mouseup",oe)}},[]);const re=r&&!j,G=I||((oe,de)=>{const{index:ve}=de,ye=oe.props;function ge(fe,pe,xe){var Te,Pe,ke,Ue;xe&&((Pe=(Te=m)[fe])===null||Pe===void 0||Pe.call(Te,pe)),(Ue=(ke=ye)[fe])===null||Ue===void 0||Ue.call(ke,pe)}const J=Object.assign(Object.assign({},ye),{onMouseEnter:fe=>{D(!0),ge("onMouseEnter",fe)},onMouseLeave:fe=>{D(!1),ge("onMouseLeave",fe)},onMouseDown:fe=>{A(!0),U(!0),ge("onMouseDown",fe)},onFocus:fe=>{var pe;A(!0),(pe=m.onFocus)===null||pe===void 0||pe.call(m,fe),ge("onFocus",fe,!0)},onBlur:fe=>{var pe;A(!1),(pe=m.onBlur)===null||pe===void 0||pe.call(m,fe),ge("onBlur",fe,!0)}}),ce=le.cloneElement(oe,J),ue=(!!j||B)&&z!==null;return re?ce:le.createElement(LM,Object.assign({},O,{prefixCls:S("tooltip",L??c),title:z?z(de.value):"",open:ue,placement:q(k??p,h),key:ve,overlayClassName:`${Y}-tooltip`,getPopupContainer:M||f||w}),ce)}),Q=re?(oe,de)=>{const ve=le.cloneElement(oe,{style:Object.assign(Object.assign({},oe.props.style),{visibility:"hidden"})});return le.createElement(LM,Object.assign({},O,{prefixCls:S("tooltip",L??c),title:z?z(de.value):"",open:z!==null&&B,placement:q(k??p,h),key:"tooltip",overlayClassName:`${Y}-tooltip`,getPopupContainer:M||f||w,draggingDelete:de.draggingDelete}),ve)}:void 0,ae=Object.assign(Object.assign({},v==null?void 0:v.style),i);return te(le.createElement(yhe,Object.assign({},m,{step:m.step,range:r,className:ie,style:ae,disabled:E,ref:t,prefixCls:Y,handleRender:G,activeHandleRender:Q,onChangeComplete:Z})))});var $he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Ohe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:$he}))},GV=l.forwardRef(Ohe),Nhe={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},khe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Nhe}))},qV=l.forwardRef(khe),Ahe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Mhe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Ahe}))},Dhe=l.forwardRef(Mhe);function Phe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Lhe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function L$(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function KV(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=o$(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[l.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[Fhe,jhe]=["week","WeekPicker"],[Bhe,zhe]=["month","MonthPicker"],[Hhe,Uhe]=["year","YearPicker"],[Vhe,Whe]=["quarter","QuarterPicker"],[YV,FM]=["time","TimePicker"],Ghe=e=>l.createElement($t,Object.assign({size:"small",type:"primary"},e));function XV(e){return l.useMemo(()=>Object.assign({button:Ghe},e),[e])}var qhe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al.forwardRef((n,r)=>{var a;const{prefixCls:o,getPopupContainer:i,components:s,className:c,style:u,placement:d,size:f,disabled:p,bordered:g=!0,placeholder:b,popupClassName:m,dropdownClassName:h,status:y,rootClassName:v,variant:S,picker:w}=n,x=qhe(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),E=l.useRef(null),{getPrefixCls:I,direction:R,getPopupContainer:T,rangePicker:_}=l.useContext(ot),$=I("picker",o),{compactSize:D,compactItemClassnames:P}=Ji($,R),A=I(),[O,N]=sc("rangePicker",S,g),k=Vn($),[M,L,F]=bV($,k),[j]=KV(n,$),B=XV(s),z=cr(G=>{var Q;return(Q=f??D)!==null&&Q!==void 0?Q:G}),H=l.useContext(Vr),U=p??H,Z=l.useContext(Er),{hasFeedback:q,status:Y,feedbackIcon:te}=Z,ee=l.createElement(l.Fragment,null,w===YV?l.createElement(qV,null):l.createElement(GV,null),q&&te);l.useImperativeHandle(r,()=>E.current);const[X]=mi("Calendar",dv),ie=Object.assign(Object.assign({},X),n.locale),[re]=Qi("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return M(l.createElement(di,{space:!0},l.createElement(Ofe,Object.assign({separator:l.createElement("span",{"aria-label":"to",className:`${$}-separator`},l.createElement(Dhe,null)),disabled:U,ref:E,popupAlign:L$(R,d),placement:d,placeholder:Lhe(ie,w,b),suffixIcon:ee,prevIcon:l.createElement("span",{className:`${$}-prev-icon`}),nextIcon:l.createElement("span",{className:`${$}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${$}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${$}-super-next-icon`}),transitionName:`${A}-slide-up`,picker:w},x,{className:ne({[`${$}-${z}`]:z,[`${$}-${O}`]:N},Ki($,Js(Y,y),q),L,P,c,_==null?void 0:_.className,F,k,v),style:Object.assign(Object.assign({},_==null?void 0:_.style),u),locale:ie.lang,prefixCls:$,getPopupContainer:i||T,generateConfig:e,components:B,direction:R,classNames:{popup:ne(L,m||h,F,k,v)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:re})},allowClear:j}))))});var Yhe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const t=(c,u)=>{const d=u===FM?"timePicker":"datePicker";return l.forwardRef((p,g)=>{var b;const{prefixCls:m,getPopupContainer:h,components:y,style:v,className:S,rootClassName:w,size:x,bordered:E,placement:I,placeholder:R,popupClassName:T,dropdownClassName:_,disabled:$,status:D,variant:P,onCalendarChange:A}=p,O=Yhe(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:N,direction:k,getPopupContainer:M,[d]:L}=l.useContext(ot),F=N("picker",m),{compactSize:j,compactItemClassnames:B}=Ji(F,k),z=l.useRef(null),[H,U]=sc("datePicker",P,E),Z=Vn(F),[q,Y,te]=bV(F,Z);l.useImperativeHandle(g,()=>z.current);const ee={showToday:!0},X=c||p.picker,ie=N(),{onSelect:re,multiple:G}=O,Q=re&&c==="time"&&!G,ae=(Ue,Be,De)=>{A==null||A(Ue,Be,De),Q&&re(Ue)},[oe,de]=KV(p,F),ve=XV(y),ye=cr(Ue=>{var Be;return(Be=x??j)!==null&&Be!==void 0?Be:Ue}),ge=l.useContext(Vr),J=$??ge,ce=l.useContext(Er),{hasFeedback:ue,status:fe,feedbackIcon:pe}=ce,xe=l.createElement(l.Fragment,null,X==="time"?l.createElement(qV,null):l.createElement(GV,null),ue&&pe),[Te]=mi("DatePicker",dv),Pe=Object.assign(Object.assign({},Te),p.locale),[ke]=Qi("DatePicker",(b=p.popupStyle)===null||b===void 0?void 0:b.zIndex);return q(l.createElement(di,{space:!0},l.createElement(Pfe,Object.assign({ref:z,placeholder:Phe(Pe,X,R),suffixIcon:xe,dropdownAlign:L$(k,I),placement:I,prevIcon:l.createElement("span",{className:`${F}-prev-icon`}),nextIcon:l.createElement("span",{className:`${F}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${F}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${F}-super-next-icon`}),transitionName:`${ie}-slide-up`,picker:c,onCalendarChange:ae},ee,O,{locale:Pe.lang,className:ne({[`${F}-${ye}`]:ye,[`${F}-${H}`]:U},Ki(F,Js(fe,D),ue),Y,B,L==null?void 0:L.className,S,te,Z,w),style:Object.assign(Object.assign({},L==null?void 0:L.style),v),prefixCls:F,getPopupContainer:h||M,generateConfig:e,components:ve,direction:k,disabled:J,classNames:{popup:ne(Y,te,Z,w,T||_)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:ke})},allowClear:oe,removeIcon:de}))))})},n=t(),r=t(Fhe,jhe),a=t(Bhe,zhe),o=t(Hhe,Uhe),i=t(Vhe,Whe),s=t(YV,FM);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:o,TimePicker:s,QuarterPicker:i}},ZV=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:o,QuarterPicker:i}=Xhe(e),s=Khe(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=a,c.RangePicker=s,c.TimePicker=o,c.QuarterPicker=i,c},cd=ZV(Bde);function QV(e){const t=L$(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Zhe=lg(cd,"picker",null,QV);cd._InternalPanelDoNotUseOrYouWillBeFired=Zhe;const Qhe=lg(cd.RangePicker,"picker",null,QV);cd._InternalRangePanelDoNotUseOrYouWillBeFired=Qhe;cd.generatePicker=ZV;var jM=l.createContext(null),JV=l.createContext({}),Jhe=["prefixCls","className","containerRef"],eve=function(t){var n=t.prefixCls,r=t.className,a=t.containerRef,o=vt(t,Jhe),i=l.useContext(JV),s=i.panel,c=Zi(s,a);return l.createElement("div",be({className:ne("".concat(n,"-content"),r),role:"dialog",ref:c},Nn(t,{aria:!0}),{"aria-modal":"true"},o))};function BM(e){return typeof e=="string"&&String(Number(e))===e?(cn(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var zM={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function tve(e,t){var n,r,a,o=e.prefixCls,i=e.open,s=e.placement,c=e.inline,u=e.push,d=e.forceRender,f=e.autoFocus,p=e.keyboard,g=e.classNames,b=e.rootClassName,m=e.rootStyle,h=e.zIndex,y=e.className,v=e.id,S=e.style,w=e.motion,x=e.width,E=e.height,I=e.children,R=e.mask,T=e.maskClosable,_=e.maskMotion,$=e.maskClassName,D=e.maskStyle,P=e.afterOpenChange,A=e.onClose,O=e.onMouseEnter,N=e.onMouseOver,k=e.onMouseLeave,M=e.onClick,L=e.onKeyDown,F=e.onKeyUp,j=e.styles,B=e.drawerRender,z=l.useRef(),H=l.useRef(),U=l.useRef();l.useImperativeHandle(t,function(){return z.current});var Z=function(J){var ce=J.keyCode,ue=J.shiftKey;switch(ce){case Me.TAB:{if(ce===Me.TAB){if(!ue&&document.activeElement===U.current){var fe;(fe=H.current)===null||fe===void 0||fe.focus({preventScroll:!0})}else if(ue&&document.activeElement===H.current){var pe;(pe=U.current)===null||pe===void 0||pe.focus({preventScroll:!0})}}break}case Me.ESC:{A&&p&&(J.stopPropagation(),A(J));break}}};l.useEffect(function(){if(i&&f){var ge;(ge=z.current)===null||ge===void 0||ge.focus({preventScroll:!0})}},[i]);var q=l.useState(!1),Y=se(q,2),te=Y[0],ee=Y[1],X=l.useContext(jM),ie;typeof u=="boolean"?ie=u?{}:{distance:0}:ie=u||{};var re=(n=(r=(a=ie)===null||a===void 0?void 0:a.distance)!==null&&r!==void 0?r:X==null?void 0:X.pushDistance)!==null&&n!==void 0?n:180,G=l.useMemo(function(){return{pushDistance:re,push:function(){ee(!0)},pull:function(){ee(!1)}}},[re]);l.useEffect(function(){if(i){var ge;X==null||(ge=X.push)===null||ge===void 0||ge.call(X)}else{var J;X==null||(J=X.pull)===null||J===void 0||J.call(X)}},[i]),l.useEffect(function(){return function(){var ge;X==null||(ge=X.pull)===null||ge===void 0||ge.call(X)}},[]);var Q=R&&l.createElement(Wr,be({key:"mask"},_,{visible:i}),function(ge,J){var ce=ge.className,ue=ge.style;return l.createElement("div",{className:ne("".concat(o,"-mask"),ce,g==null?void 0:g.mask,$),style:K(K(K({},ue),D),j==null?void 0:j.mask),onClick:T&&i?A:void 0,ref:J})}),ae=typeof w=="function"?w(s):w,oe={};if(te&&re)switch(s){case"top":oe.transform="translateY(".concat(re,"px)");break;case"bottom":oe.transform="translateY(".concat(-re,"px)");break;case"left":oe.transform="translateX(".concat(re,"px)");break;default:oe.transform="translateX(".concat(-re,"px)");break}s==="left"||s==="right"?oe.width=BM(x):oe.height=BM(E);var de={onMouseEnter:O,onMouseOver:N,onMouseLeave:k,onClick:M,onKeyDown:L,onKeyUp:F},ve=l.createElement(Wr,be({key:"panel"},ae,{visible:i,forceRender:d,onVisibleChanged:function(J){P==null||P(J)},removeOnLeave:!1,leavedClassName:"".concat(o,"-content-wrapper-hidden")}),function(ge,J){var ce=ge.className,ue=ge.style,fe=l.createElement(eve,be({id:v,containerRef:J,prefixCls:o,className:ne(y,g==null?void 0:g.content),style:K(K({},S),j==null?void 0:j.content)},Nn(e,{aria:!0}),de),I);return l.createElement("div",be({className:ne("".concat(o,"-content-wrapper"),g==null?void 0:g.wrapper,ce),style:K(K(K({},oe),ue),j==null?void 0:j.wrapper)},Nn(e,{data:!0})),B?B(fe):fe)}),ye=K({},m);return h&&(ye.zIndex=h),l.createElement(jM.Provider,{value:G},l.createElement("div",{className:ne(o,"".concat(o,"-").concat(s),b,V(V({},"".concat(o,"-open"),i),"".concat(o,"-inline"),c)),style:ye,tabIndex:-1,ref:z,onKeyDown:Z},Q,l.createElement("div",{tabIndex:0,ref:H,style:zM,"aria-hidden":"true","data-sentinel":"start"}),ve,l.createElement("div",{tabIndex:0,ref:U,style:zM,"aria-hidden":"true","data-sentinel":"end"})))}var nve=l.forwardRef(tve),rve=function(t){var n=t.open,r=n===void 0?!1:n,a=t.prefixCls,o=a===void 0?"rc-drawer":a,i=t.placement,s=i===void 0?"right":i,c=t.autoFocus,u=c===void 0?!0:c,d=t.keyboard,f=d===void 0?!0:d,p=t.width,g=p===void 0?378:p,b=t.mask,m=b===void 0?!0:b,h=t.maskClosable,y=h===void 0?!0:h,v=t.getContainer,S=t.forceRender,w=t.afterOpenChange,x=t.destroyOnClose,E=t.onMouseEnter,I=t.onMouseOver,R=t.onMouseLeave,T=t.onClick,_=t.onKeyDown,$=t.onKeyUp,D=t.panelRef,P=l.useState(!1),A=se(P,2),O=A[0],N=A[1],k=l.useState(!1),M=se(k,2),L=M[0],F=M[1];zt(function(){F(!0)},[]);var j=L?r:!1,B=l.useRef(),z=l.useRef();zt(function(){j&&(z.current=document.activeElement)},[j]);var H=function(te){var ee;if(N(te),w==null||w(te),!te&&z.current&&!((ee=B.current)!==null&&ee!==void 0&&ee.contains(z.current))){var X;(X=z.current)===null||X===void 0||X.focus({preventScroll:!0})}},U=l.useMemo(function(){return{panel:D}},[D]);if(!S&&!O&&!j&&x)return null;var Z={onMouseEnter:E,onMouseOver:I,onMouseLeave:R,onClick:T,onKeyDown:_,onKeyUp:$},q=K(K({},t),{},{open:j,prefixCls:o,placement:s,autoFocus:u,keyboard:f,width:g,mask:m,maskClosable:y,inline:v===!1,afterOpenChange:H,ref:B},Z);return l.createElement(JV.Provider,{value:U},l.createElement(Nb,{open:j||S||O,autoDestroy:!1,getContainer:v,autoLock:m&&(j||O)},l.createElement(nve,q)))};const eW=e=>{var t,n;const{prefixCls:r,title:a,footer:o,extra:i,loading:s,onClose:c,headerStyle:u,bodyStyle:d,footerStyle:f,children:p,classNames:g,styles:b}=e,{drawer:m}=l.useContext(ot),h=l.useCallback(x=>l.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${r}-close`},x),[c]),[y,v]=Q_(Lu(e),Lu(m),{closable:!0,closeIconRender:h}),S=l.useMemo(()=>{var x,E;return!a&&!y?null:l.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(x=m==null?void 0:m.styles)===null||x===void 0?void 0:x.header),u),b==null?void 0:b.header),className:ne(`${r}-header`,{[`${r}-header-close-only`]:y&&!a&&!i},(E=m==null?void 0:m.classNames)===null||E===void 0?void 0:E.header,g==null?void 0:g.header)},l.createElement("div",{className:`${r}-header-title`},v,a&&l.createElement("div",{className:`${r}-title`},a)),i&&l.createElement("div",{className:`${r}-extra`},i))},[y,v,i,u,r,a]),w=l.useMemo(()=>{var x,E;if(!o)return null;const I=`${r}-footer`;return l.createElement("div",{className:ne(I,(x=m==null?void 0:m.classNames)===null||x===void 0?void 0:x.footer,g==null?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},(E=m==null?void 0:m.styles)===null||E===void 0?void 0:E.footer),f),b==null?void 0:b.footer)},o)},[o,f,r]);return l.createElement(l.Fragment,null,S,l.createElement("div",{className:ne(`${r}-body`,g==null?void 0:g.body,(t=m==null?void 0:m.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=m==null?void 0:m.styles)===null||n===void 0?void 0:n.body),d),b==null?void 0:b.body)},s?l.createElement(Qs,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):p),w)},ave=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},tW=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),nW=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},tW({opacity:e},{opacity:1})),ove=(e,t)=>[nW(.7,t),tW({transform:ave(e)},{transform:"none"})],ive=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:nW(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,a)=>Object.assign(Object.assign({},r),{[`&-${a}`]:ove(a,n)}),{})}}},sve=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:o,motionDurationSlow:i,motionDurationMid:s,paddingXS:c,padding:u,paddingLG:d,fontSizeLG:f,lineHeightLG:p,lineWidth:g,lineType:b,colorSplit:m,marginXS:h,colorIcon:y,colorIconHover:v,colorBgTextHover:S,colorBgTextActive:w,colorText:x,fontWeightStrong:E,footerPaddingBlock:I,footerPaddingInline:R,calc:T}=e,_=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:x,"&-pure":{position:"relative",background:o,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[_]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${_}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${_}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${_}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${_}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${W(u)} ${W(d)}`,fontSize:f,lineHeight:p,borderBottom:`${W(g)} ${b} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:T(f).add(c).equal(),height:T(f).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:h,color:y,fontWeight:E,fontSize:f,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:v,backgroundColor:S,textDecoration:"none"},"&:active":{backgroundColor:w}},ui(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:f,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${W(I)} ${W(R)}`,borderTop:`${W(g)} ${b} ${m}`},"&-rtl":{direction:"rtl"}}}},lve=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),rW=Kt("Drawer",e=>{const t=Pt(e,{});return[sve(t),ive(t)]},lve);var aW=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{rootClassName:t,width:n,height:r,size:a="default",mask:o=!0,push:i=cve,open:s,afterOpenChange:c,onClose:u,prefixCls:d,getContainer:f,style:p,className:g,visible:b,afterVisibleChange:m,maskStyle:h,drawerStyle:y,contentWrapperStyle:v}=e,S=aW(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:w,getPrefixCls:x,direction:E,drawer:I}=l.useContext(ot),R=x("drawer",d),[T,_,$]=rW(R),D=f===void 0&&w?()=>w(document.body):f,P=ne({"no-mask":!o,[`${R}-rtl`]:E==="rtl"},t,_,$),A=l.useMemo(()=>n??(a==="large"?736:378),[n,a]),O=l.useMemo(()=>r??(a==="large"?736:378),[r,a]),N={motionName:bo(R,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},k=U=>({motionName:bo(R,`panel-motion-${U}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),M=iH(),[L,F]=Qi("Drawer",S.zIndex),{classNames:j={},styles:B={}}=S,{classNames:z={},styles:H={}}=I||{};return T(l.createElement(di,{form:!0,space:!0},l.createElement(Jp.Provider,{value:F},l.createElement(rve,Object.assign({prefixCls:R,onClose:u,maskMotion:N,motion:k},S,{classNames:{mask:ne(j.mask,z.mask),content:ne(j.content,z.content),wrapper:ne(j.wrapper,z.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},B.mask),h),H.mask),content:Object.assign(Object.assign(Object.assign({},B.content),y),H.content),wrapper:Object.assign(Object.assign(Object.assign({},B.wrapper),v),H.wrapper)},open:s??b,mask:o,push:i,width:A,height:O,style:Object.assign(Object.assign({},I==null?void 0:I.style),p),className:ne(I==null?void 0:I.className,g),rootClassName:P,getContainer:D,afterOpenChange:c??m,panelRef:M,zIndex:L}),l.createElement(eW,Object.assign({prefixCls:R},S,{onClose:u}))))))},uve=e=>{const{prefixCls:t,style:n,className:r,placement:a="right"}=e,o=aW(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=l.useContext(ot),s=i("drawer",t),[c,u,d]=rW(s),f=ne(s,`${s}-pure`,`${s}-${a}`,u,d,r);return c(l.createElement("div",{className:f,style:n},l.createElement(eW,Object.assign({prefixCls:s},o))))};oW._InternalPanelDoNotUseOrYouWillBeFired=uve;function HM(e){return["small","middle","large"].includes(e)}function UM(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const iW=le.createContext({latestIndex:0}),dve=iW.Provider,fve=e=>{let{className:t,index:n,children:r,split:a,style:o}=e;const{latestIndex:i}=l.useContext(iW);return r==null?null:l.createElement(l.Fragment,null,l.createElement("div",{className:t,style:o},r),n{var n,r,a;const{getPrefixCls:o,space:i,direction:s}=l.useContext(ot),{size:c=(n=i==null?void 0:i.size)!==null&&n!==void 0?n:"small",align:u,className:d,rootClassName:f,children:p,direction:g="horizontal",prefixCls:b,split:m,style:h,wrap:y=!1,classNames:v,styles:S}=e,w=pve(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[x,E]=Array.isArray(c)?c:[c,c],I=HM(E),R=HM(x),T=UM(E),_=UM(x),$=or(p,{keepEmpty:!0}),D=u===void 0&&g==="horizontal"?"center":u,P=o("space",b),[A,O,N]=N9(P),k=ne(P,i==null?void 0:i.className,O,`${P}-${g}`,{[`${P}-rtl`]:s==="rtl",[`${P}-align-${D}`]:D,[`${P}-gap-row-${E}`]:I,[`${P}-gap-col-${x}`]:R},d,f,N),M=ne(`${P}-item`,(r=v==null?void 0:v.item)!==null&&r!==void 0?r:(a=i==null?void 0:i.classNames)===null||a===void 0?void 0:a.item);let L=0;const F=$.map((z,H)=>{var U,Z;z!=null&&(L=H);const q=(z==null?void 0:z.key)||`${M}-${H}`;return l.createElement(fve,{className:M,key:q,index:H,split:m,style:(U=S==null?void 0:S.item)!==null&&U!==void 0?U:(Z=i==null?void 0:i.styles)===null||Z===void 0?void 0:Z.item},z)}),j=l.useMemo(()=>({latestIndex:L}),[L]);if($.length===0)return null;const B={};return y&&(B.flexWrap="wrap"),!R&&_&&(B.columnGap=x),!I&&T&&(B.rowGap=E),A(l.createElement("div",Object.assign({ref:t,className:k,style:Object.assign(Object.assign(Object.assign({},B),i==null?void 0:i.style),h)},w),l.createElement(dve,{value:j},F)))}),Mo=gve;Mo.Compact=Tae;var mve=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPopupContainer:t,getPrefixCls:n,direction:r}=l.useContext(ot),{prefixCls:a,type:o="default",danger:i,disabled:s,loading:c,onClick:u,htmlType:d,children:f,className:p,menu:g,arrow:b,autoFocus:m,overlay:h,trigger:y,align:v,open:S,onOpenChange:w,placement:x,getPopupContainer:E,href:I,icon:R=l.createElement(h$,null),title:T,buttonsRender:_=Y=>Y,mouseEnterDelay:$,mouseLeaveDelay:D,overlayClassName:P,overlayStyle:A,destroyPopupOnHide:O,dropdownRender:N}=e,k=mve(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),M=n("dropdown",a),L=`${M}-button`,F={menu:g,arrow:b,autoFocus:m,align:v,disabled:s,trigger:s?[]:y,onOpenChange:w,getPopupContainer:E||t,mouseEnterDelay:$,mouseLeaveDelay:D,overlayClassName:P,overlayStyle:A,destroyPopupOnHide:O,dropdownRender:N},{compactSize:j,compactItemClassnames:B}=Ji(M,r),z=ne(L,B,p);"overlay"in e&&(F.overlay=h),"open"in e&&(F.open=S),"placement"in e?F.placement=x:F.placement=r==="rtl"?"bottomLeft":"bottomRight";const H=l.createElement($t,{type:o,danger:i,disabled:s,loading:c,onClick:u,htmlType:d,href:I,title:T},f),U=l.createElement($t,{type:o,danger:i,icon:R}),[Z,q]=_([H,U]);return l.createElement(Mo.Compact,Object.assign({className:z,size:j,block:!0},k),Z,l.createElement(fg,Object.assign({},F),q))};sW.__ANT_BUTTON=!0;const u0=fg;u0.Button=sW;var hve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},vve=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:hve}))},bve=l.forwardRef(vve);function Iv(e){const[t,n]=l.useState(e);return l.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const yve=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},WV=(e,t)=>{const{componentCls:n,railSize:r,handleSize:a,dotSize:o,marginFull:i,calc:s}=e,c=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",f=t?"insetBlockStart":"insetInlineStart",p=t?"top":"insetInlineStart",g=s(r).mul(3).sub(a).div(2).equal(),v=s(a).sub(r).div(2).equal(),m=t?{borderWidth:`${W(v)} 0`,transform:`translateY(${W(s(v).mul(-1).equal())})`}:{borderWidth:`0 ${W(v)}`,transform:`translateX(${W(e.calc(v).mul(-1).equal())})`};return{[c]:r,[d]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[d]:r},[`${n}-track,${n}-tracks`]:{[d]:r},[`${n}-track-draggable`]:Object.assign({},m),[`${n}-handle`]:{[f]:g},[`${n}-mark`]:{insetInlineStart:0,top:0,[p]:s(r).mul(3).add(t?0:i).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[p]:r,[u]:"100%",[d]:r},[`${n}-dot`]:{position:"absolute",[f]:s(r).sub(o).div(2).equal()}}},whe=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},WV(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Che=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},WV(e,!1)),{height:"100%"})}},xhe=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,a=e.lineWidth+1,o=e.lineWidth+1*1.5,i=e.colorPrimary,s=new on(i).setAlpha(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:a,handleLineWidthHover:o,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:i,handleActiveOutlineColor:s,handleColorDisabled:new on(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},Ehe=Kt("Slider",e=>{const t=Pt(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[She(t),whe(t),Che(t)]},xhe),Ihe=l.createContext({});function bS(){const[e,t]=l.useState(!1),n=l.useRef(),r=()=>{Dt.cancel(n.current)},a=o=>{r(),o?t(o):n.current=Dt(()=>{t(o)})};return l.useEffect(()=>r,[]),[e,a]}var The=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);atypeof n=="number"?n.toString():""}const _he=le.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:a,rootClassName:o,style:i,disabled:s,tooltipPrefixCls:c,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:f,tooltipPlacement:p,tooltip:g={},onChangeComplete:v}=e,m=The(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:h}=e,{direction:y,slider:b,getPrefixCls:S,getPopupContainer:w}=le.useContext(ot),x=le.useContext(Vr),E=s??x,{handleRender:I,direction:R}=le.useContext(Ihe),_=(R||y)==="rtl",[$,D]=bS(),[P,A]=bS(),O=Object.assign({},g),{open:N,placement:k,getPopupContainer:M,prefixCls:L,formatter:F}=O,j=N??d,B=($||P)&&j!==!1,z=Rhe(F,u),[H,U]=bS(),Z=oe=>{v==null||v(oe),U(!1)},q=(oe,de)=>oe||(de?_?"left":"right":"top"),Y=S("slider",n),[ee,te,X]=Ehe(Y),ie=ne(a,b==null?void 0:b.className,o,{[`${Y}-rtl`]:_,[`${Y}-lock`]:H},te,X);_&&!m.vertical&&(m.reverse=!m.reverse),le.useEffect(()=>{const oe=()=>{Dt(()=>{A(!1)},1)};return document.addEventListener("mouseup",oe),()=>{document.removeEventListener("mouseup",oe)}},[]);const re=r&&!j,G=I||((oe,de)=>{const{index:ve}=de,ye=oe.props;function ge(fe,pe,xe){var Te,Pe,ke,Ue;xe&&((Pe=(Te=m)[fe])===null||Pe===void 0||Pe.call(Te,pe)),(Ue=(ke=ye)[fe])===null||Ue===void 0||Ue.call(ke,pe)}const J=Object.assign(Object.assign({},ye),{onMouseEnter:fe=>{D(!0),ge("onMouseEnter",fe)},onMouseLeave:fe=>{D(!1),ge("onMouseLeave",fe)},onMouseDown:fe=>{A(!0),U(!0),ge("onMouseDown",fe)},onFocus:fe=>{var pe;A(!0),(pe=m.onFocus)===null||pe===void 0||pe.call(m,fe),ge("onFocus",fe,!0)},onBlur:fe=>{var pe;A(!1),(pe=m.onBlur)===null||pe===void 0||pe.call(m,fe),ge("onBlur",fe,!0)}}),ce=le.cloneElement(oe,J),ue=(!!j||B)&&z!==null;return re?ce:le.createElement(LM,Object.assign({},O,{prefixCls:S("tooltip",L??c),title:z?z(de.value):"",open:ue,placement:q(k??p,h),key:ve,overlayClassName:`${Y}-tooltip`,getPopupContainer:M||f||w}),ce)}),Q=re?(oe,de)=>{const ve=le.cloneElement(oe,{style:Object.assign(Object.assign({},oe.props.style),{visibility:"hidden"})});return le.createElement(LM,Object.assign({},O,{prefixCls:S("tooltip",L??c),title:z?z(de.value):"",open:z!==null&&B,placement:q(k??p,h),key:"tooltip",overlayClassName:`${Y}-tooltip`,getPopupContainer:M||f||w,draggingDelete:de.draggingDelete}),ve)}:void 0,ae=Object.assign(Object.assign({},b==null?void 0:b.style),i);return ee(le.createElement(yhe,Object.assign({},m,{step:m.step,range:r,className:ie,style:ae,disabled:E,ref:t,prefixCls:Y,handleRender:G,activeHandleRender:Q,onChangeComplete:Z})))});var $he={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Ohe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:$he}))},GV=l.forwardRef(Ohe),Nhe={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},khe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Nhe}))},qV=l.forwardRef(khe),Ahe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Mhe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Ahe}))},Dhe=l.forwardRef(Mhe);function Phe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Lhe(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function L$(e,t){const n={adjustX:1,adjustY:1};switch(t){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:n};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:n};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:n};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:n};default:return{points:e==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:n}}}function KV(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=o$(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[l.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[Fhe,jhe]=["week","WeekPicker"],[Bhe,zhe]=["month","MonthPicker"],[Hhe,Uhe]=["year","YearPicker"],[Vhe,Whe]=["quarter","QuarterPicker"],[YV,FM]=["time","TimePicker"],Ghe=e=>l.createElement($t,Object.assign({size:"small",type:"primary"},e));function XV(e){return l.useMemo(()=>Object.assign({button:Ghe},e),[e])}var qhe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al.forwardRef((n,r)=>{var a;const{prefixCls:o,getPopupContainer:i,components:s,className:c,style:u,placement:d,size:f,disabled:p,bordered:g=!0,placeholder:v,popupClassName:m,dropdownClassName:h,status:y,rootClassName:b,variant:S,picker:w}=n,x=qhe(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),E=l.useRef(null),{getPrefixCls:I,direction:R,getPopupContainer:T,rangePicker:_}=l.useContext(ot),$=I("picker",o),{compactSize:D,compactItemClassnames:P}=Ji($,R),A=I(),[O,N]=sc("rangePicker",S,g),k=Vn($),[M,L,F]=bV($,k),[j]=KV(n,$),B=XV(s),z=cr(G=>{var Q;return(Q=f??D)!==null&&Q!==void 0?Q:G}),H=l.useContext(Vr),U=p??H,Z=l.useContext(Er),{hasFeedback:q,status:Y,feedbackIcon:ee}=Z,te=l.createElement(l.Fragment,null,w===YV?l.createElement(qV,null):l.createElement(GV,null),q&&ee);l.useImperativeHandle(r,()=>E.current);const[X]=mi("Calendar",dv),ie=Object.assign(Object.assign({},X),n.locale),[re]=Qi("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return M(l.createElement(di,{space:!0},l.createElement(Ofe,Object.assign({separator:l.createElement("span",{"aria-label":"to",className:`${$}-separator`},l.createElement(Dhe,null)),disabled:U,ref:E,popupAlign:L$(R,d),placement:d,placeholder:Lhe(ie,w,v),suffixIcon:te,prevIcon:l.createElement("span",{className:`${$}-prev-icon`}),nextIcon:l.createElement("span",{className:`${$}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${$}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${$}-super-next-icon`}),transitionName:`${A}-slide-up`,picker:w},x,{className:ne({[`${$}-${z}`]:z,[`${$}-${O}`]:N},Ki($,Js(Y,y),q),L,P,c,_==null?void 0:_.className,F,k,b),style:Object.assign(Object.assign({},_==null?void 0:_.style),u),locale:ie.lang,prefixCls:$,getPopupContainer:i||T,generateConfig:e,components:B,direction:R,classNames:{popup:ne(L,m||h,F,k,b)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:re})},allowClear:j}))))});var Yhe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const t=(c,u)=>{const d=u===FM?"timePicker":"datePicker";return l.forwardRef((p,g)=>{var v;const{prefixCls:m,getPopupContainer:h,components:y,style:b,className:S,rootClassName:w,size:x,bordered:E,placement:I,placeholder:R,popupClassName:T,dropdownClassName:_,disabled:$,status:D,variant:P,onCalendarChange:A}=p,O=Yhe(p,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:N,direction:k,getPopupContainer:M,[d]:L}=l.useContext(ot),F=N("picker",m),{compactSize:j,compactItemClassnames:B}=Ji(F,k),z=l.useRef(null),[H,U]=sc("datePicker",P,E),Z=Vn(F),[q,Y,ee]=bV(F,Z);l.useImperativeHandle(g,()=>z.current);const te={showToday:!0},X=c||p.picker,ie=N(),{onSelect:re,multiple:G}=O,Q=re&&c==="time"&&!G,ae=(Ue,Be,De)=>{A==null||A(Ue,Be,De),Q&&re(Ue)},[oe,de]=KV(p,F),ve=XV(y),ye=cr(Ue=>{var Be;return(Be=x??j)!==null&&Be!==void 0?Be:Ue}),ge=l.useContext(Vr),J=$??ge,ce=l.useContext(Er),{hasFeedback:ue,status:fe,feedbackIcon:pe}=ce,xe=l.createElement(l.Fragment,null,X==="time"?l.createElement(qV,null):l.createElement(GV,null),ue&&pe),[Te]=mi("DatePicker",dv),Pe=Object.assign(Object.assign({},Te),p.locale),[ke]=Qi("DatePicker",(v=p.popupStyle)===null||v===void 0?void 0:v.zIndex);return q(l.createElement(di,{space:!0},l.createElement(Pfe,Object.assign({ref:z,placeholder:Phe(Pe,X,R),suffixIcon:xe,dropdownAlign:L$(k,I),placement:I,prevIcon:l.createElement("span",{className:`${F}-prev-icon`}),nextIcon:l.createElement("span",{className:`${F}-next-icon`}),superPrevIcon:l.createElement("span",{className:`${F}-super-prev-icon`}),superNextIcon:l.createElement("span",{className:`${F}-super-next-icon`}),transitionName:`${ie}-slide-up`,picker:c,onCalendarChange:ae},te,O,{locale:Pe.lang,className:ne({[`${F}-${ye}`]:ye,[`${F}-${H}`]:U},Ki(F,Js(fe,D),ue),Y,B,L==null?void 0:L.className,S,ee,Z,w),style:Object.assign(Object.assign({},L==null?void 0:L.style),b),prefixCls:F,getPopupContainer:h||M,generateConfig:e,components:ve,direction:k,disabled:J,classNames:{popup:ne(Y,ee,Z,w,T||_)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:ke})},allowClear:oe,removeIcon:de}))))})},n=t(),r=t(Fhe,jhe),a=t(Bhe,zhe),o=t(Hhe,Uhe),i=t(Vhe,Whe),s=t(YV,FM);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:o,TimePicker:s,QuarterPicker:i}},ZV=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:o,QuarterPicker:i}=Xhe(e),s=Khe(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=a,c.RangePicker=s,c.TimePicker=o,c.QuarterPicker=i,c},cd=ZV(Bde);function QV(e){const t=L$(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Zhe=lg(cd,"picker",null,QV);cd._InternalPanelDoNotUseOrYouWillBeFired=Zhe;const Qhe=lg(cd.RangePicker,"picker",null,QV);cd._InternalRangePanelDoNotUseOrYouWillBeFired=Qhe;cd.generatePicker=ZV;var jM=l.createContext(null),JV=l.createContext({}),Jhe=["prefixCls","className","containerRef"],eve=function(t){var n=t.prefixCls,r=t.className,a=t.containerRef,o=vt(t,Jhe),i=l.useContext(JV),s=i.panel,c=Zi(s,a);return l.createElement("div",be({className:ne("".concat(n,"-content"),r),role:"dialog",ref:c},Nn(t,{aria:!0}),{"aria-modal":"true"},o))};function BM(e){return typeof e=="string"&&String(Number(e))===e?(cn(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var zM={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function tve(e,t){var n,r,a,o=e.prefixCls,i=e.open,s=e.placement,c=e.inline,u=e.push,d=e.forceRender,f=e.autoFocus,p=e.keyboard,g=e.classNames,v=e.rootClassName,m=e.rootStyle,h=e.zIndex,y=e.className,b=e.id,S=e.style,w=e.motion,x=e.width,E=e.height,I=e.children,R=e.mask,T=e.maskClosable,_=e.maskMotion,$=e.maskClassName,D=e.maskStyle,P=e.afterOpenChange,A=e.onClose,O=e.onMouseEnter,N=e.onMouseOver,k=e.onMouseLeave,M=e.onClick,L=e.onKeyDown,F=e.onKeyUp,j=e.styles,B=e.drawerRender,z=l.useRef(),H=l.useRef(),U=l.useRef();l.useImperativeHandle(t,function(){return z.current});var Z=function(J){var ce=J.keyCode,ue=J.shiftKey;switch(ce){case Me.TAB:{if(ce===Me.TAB){if(!ue&&document.activeElement===U.current){var fe;(fe=H.current)===null||fe===void 0||fe.focus({preventScroll:!0})}else if(ue&&document.activeElement===H.current){var pe;(pe=U.current)===null||pe===void 0||pe.focus({preventScroll:!0})}}break}case Me.ESC:{A&&p&&(J.stopPropagation(),A(J));break}}};l.useEffect(function(){if(i&&f){var ge;(ge=z.current)===null||ge===void 0||ge.focus({preventScroll:!0})}},[i]);var q=l.useState(!1),Y=se(q,2),ee=Y[0],te=Y[1],X=l.useContext(jM),ie;typeof u=="boolean"?ie=u?{}:{distance:0}:ie=u||{};var re=(n=(r=(a=ie)===null||a===void 0?void 0:a.distance)!==null&&r!==void 0?r:X==null?void 0:X.pushDistance)!==null&&n!==void 0?n:180,G=l.useMemo(function(){return{pushDistance:re,push:function(){te(!0)},pull:function(){te(!1)}}},[re]);l.useEffect(function(){if(i){var ge;X==null||(ge=X.push)===null||ge===void 0||ge.call(X)}else{var J;X==null||(J=X.pull)===null||J===void 0||J.call(X)}},[i]),l.useEffect(function(){return function(){var ge;X==null||(ge=X.pull)===null||ge===void 0||ge.call(X)}},[]);var Q=R&&l.createElement(Wr,be({key:"mask"},_,{visible:i}),function(ge,J){var ce=ge.className,ue=ge.style;return l.createElement("div",{className:ne("".concat(o,"-mask"),ce,g==null?void 0:g.mask,$),style:K(K(K({},ue),D),j==null?void 0:j.mask),onClick:T&&i?A:void 0,ref:J})}),ae=typeof w=="function"?w(s):w,oe={};if(ee&&re)switch(s){case"top":oe.transform="translateY(".concat(re,"px)");break;case"bottom":oe.transform="translateY(".concat(-re,"px)");break;case"left":oe.transform="translateX(".concat(re,"px)");break;default:oe.transform="translateX(".concat(-re,"px)");break}s==="left"||s==="right"?oe.width=BM(x):oe.height=BM(E);var de={onMouseEnter:O,onMouseOver:N,onMouseLeave:k,onClick:M,onKeyDown:L,onKeyUp:F},ve=l.createElement(Wr,be({key:"panel"},ae,{visible:i,forceRender:d,onVisibleChanged:function(J){P==null||P(J)},removeOnLeave:!1,leavedClassName:"".concat(o,"-content-wrapper-hidden")}),function(ge,J){var ce=ge.className,ue=ge.style,fe=l.createElement(eve,be({id:b,containerRef:J,prefixCls:o,className:ne(y,g==null?void 0:g.content),style:K(K({},S),j==null?void 0:j.content)},Nn(e,{aria:!0}),de),I);return l.createElement("div",be({className:ne("".concat(o,"-content-wrapper"),g==null?void 0:g.wrapper,ce),style:K(K(K({},oe),ue),j==null?void 0:j.wrapper)},Nn(e,{data:!0})),B?B(fe):fe)}),ye=K({},m);return h&&(ye.zIndex=h),l.createElement(jM.Provider,{value:G},l.createElement("div",{className:ne(o,"".concat(o,"-").concat(s),v,V(V({},"".concat(o,"-open"),i),"".concat(o,"-inline"),c)),style:ye,tabIndex:-1,ref:z,onKeyDown:Z},Q,l.createElement("div",{tabIndex:0,ref:H,style:zM,"aria-hidden":"true","data-sentinel":"start"}),ve,l.createElement("div",{tabIndex:0,ref:U,style:zM,"aria-hidden":"true","data-sentinel":"end"})))}var nve=l.forwardRef(tve),rve=function(t){var n=t.open,r=n===void 0?!1:n,a=t.prefixCls,o=a===void 0?"rc-drawer":a,i=t.placement,s=i===void 0?"right":i,c=t.autoFocus,u=c===void 0?!0:c,d=t.keyboard,f=d===void 0?!0:d,p=t.width,g=p===void 0?378:p,v=t.mask,m=v===void 0?!0:v,h=t.maskClosable,y=h===void 0?!0:h,b=t.getContainer,S=t.forceRender,w=t.afterOpenChange,x=t.destroyOnClose,E=t.onMouseEnter,I=t.onMouseOver,R=t.onMouseLeave,T=t.onClick,_=t.onKeyDown,$=t.onKeyUp,D=t.panelRef,P=l.useState(!1),A=se(P,2),O=A[0],N=A[1],k=l.useState(!1),M=se(k,2),L=M[0],F=M[1];zt(function(){F(!0)},[]);var j=L?r:!1,B=l.useRef(),z=l.useRef();zt(function(){j&&(z.current=document.activeElement)},[j]);var H=function(ee){var te;if(N(ee),w==null||w(ee),!ee&&z.current&&!((te=B.current)!==null&&te!==void 0&&te.contains(z.current))){var X;(X=z.current)===null||X===void 0||X.focus({preventScroll:!0})}},U=l.useMemo(function(){return{panel:D}},[D]);if(!S&&!O&&!j&&x)return null;var Z={onMouseEnter:E,onMouseOver:I,onMouseLeave:R,onClick:T,onKeyDown:_,onKeyUp:$},q=K(K({},t),{},{open:j,prefixCls:o,placement:s,autoFocus:u,keyboard:f,width:g,mask:m,maskClosable:y,inline:b===!1,afterOpenChange:H,ref:B},Z);return l.createElement(JV.Provider,{value:U},l.createElement(Nb,{open:j||S||O,autoDestroy:!1,getContainer:b,autoLock:m&&(j||O)},l.createElement(nve,q)))};const eW=e=>{var t,n;const{prefixCls:r,title:a,footer:o,extra:i,loading:s,onClose:c,headerStyle:u,bodyStyle:d,footerStyle:f,children:p,classNames:g,styles:v}=e,{drawer:m}=l.useContext(ot),h=l.useCallback(x=>l.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${r}-close`},x),[c]),[y,b]=Q_(Lu(e),Lu(m),{closable:!0,closeIconRender:h}),S=l.useMemo(()=>{var x,E;return!a&&!y?null:l.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(x=m==null?void 0:m.styles)===null||x===void 0?void 0:x.header),u),v==null?void 0:v.header),className:ne(`${r}-header`,{[`${r}-header-close-only`]:y&&!a&&!i},(E=m==null?void 0:m.classNames)===null||E===void 0?void 0:E.header,g==null?void 0:g.header)},l.createElement("div",{className:`${r}-header-title`},b,a&&l.createElement("div",{className:`${r}-title`},a)),i&&l.createElement("div",{className:`${r}-extra`},i))},[y,b,i,u,r,a]),w=l.useMemo(()=>{var x,E;if(!o)return null;const I=`${r}-footer`;return l.createElement("div",{className:ne(I,(x=m==null?void 0:m.classNames)===null||x===void 0?void 0:x.footer,g==null?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},(E=m==null?void 0:m.styles)===null||E===void 0?void 0:E.footer),f),v==null?void 0:v.footer)},o)},[o,f,r]);return l.createElement(l.Fragment,null,S,l.createElement("div",{className:ne(`${r}-body`,g==null?void 0:g.body,(t=m==null?void 0:m.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=m==null?void 0:m.styles)===null||n===void 0?void 0:n.body),d),v==null?void 0:v.body)},s?l.createElement(Qs,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):p),w)},ave=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},tW=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),nW=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},tW({opacity:e},{opacity:1})),ove=(e,t)=>[nW(.7,t),tW({transform:ave(e)},{transform:"none"})],ive=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:nW(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,a)=>Object.assign(Object.assign({},r),{[`&-${a}`]:ove(a,n)}),{})}}},sve=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:o,motionDurationSlow:i,motionDurationMid:s,paddingXS:c,padding:u,paddingLG:d,fontSizeLG:f,lineHeightLG:p,lineWidth:g,lineType:v,colorSplit:m,marginXS:h,colorIcon:y,colorIconHover:b,colorBgTextHover:S,colorBgTextActive:w,colorText:x,fontWeightStrong:E,footerPaddingBlock:I,footerPaddingInline:R,calc:T}=e,_=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:x,"&-pure":{position:"relative",background:o,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[_]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${i}`,"&-hidden":{display:"none"}},[`&-left > ${_}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${_}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${_}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${_}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${W(u)} ${W(d)}`,fontSize:f,lineHeight:p,borderBottom:`${W(g)} ${v} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:T(f).add(c).equal(),height:T(f).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:h,color:y,fontWeight:E,fontSize:f,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:b,backgroundColor:S,textDecoration:"none"},"&:active":{backgroundColor:w}},ui(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:f,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${W(I)} ${W(R)}`,borderTop:`${W(g)} ${v} ${m}`},"&-rtl":{direction:"rtl"}}}},lve=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),rW=Kt("Drawer",e=>{const t=Pt(e,{});return[sve(t),ive(t)]},lve);var aW=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{rootClassName:t,width:n,height:r,size:a="default",mask:o=!0,push:i=cve,open:s,afterOpenChange:c,onClose:u,prefixCls:d,getContainer:f,style:p,className:g,visible:v,afterVisibleChange:m,maskStyle:h,drawerStyle:y,contentWrapperStyle:b}=e,S=aW(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:w,getPrefixCls:x,direction:E,drawer:I}=l.useContext(ot),R=x("drawer",d),[T,_,$]=rW(R),D=f===void 0&&w?()=>w(document.body):f,P=ne({"no-mask":!o,[`${R}-rtl`]:E==="rtl"},t,_,$),A=l.useMemo(()=>n??(a==="large"?736:378),[n,a]),O=l.useMemo(()=>r??(a==="large"?736:378),[r,a]),N={motionName:bo(R,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},k=U=>({motionName:bo(R,`panel-motion-${U}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),M=iH(),[L,F]=Qi("Drawer",S.zIndex),{classNames:j={},styles:B={}}=S,{classNames:z={},styles:H={}}=I||{};return T(l.createElement(di,{form:!0,space:!0},l.createElement(Jp.Provider,{value:F},l.createElement(rve,Object.assign({prefixCls:R,onClose:u,maskMotion:N,motion:k},S,{classNames:{mask:ne(j.mask,z.mask),content:ne(j.content,z.content),wrapper:ne(j.wrapper,z.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},B.mask),h),H.mask),content:Object.assign(Object.assign(Object.assign({},B.content),y),H.content),wrapper:Object.assign(Object.assign(Object.assign({},B.wrapper),b),H.wrapper)},open:s??v,mask:o,push:i,width:A,height:O,style:Object.assign(Object.assign({},I==null?void 0:I.style),p),className:ne(I==null?void 0:I.className,g),rootClassName:P,getContainer:D,afterOpenChange:c??m,panelRef:M,zIndex:L}),l.createElement(eW,Object.assign({prefixCls:R},S,{onClose:u}))))))},uve=e=>{const{prefixCls:t,style:n,className:r,placement:a="right"}=e,o=aW(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=l.useContext(ot),s=i("drawer",t),[c,u,d]=rW(s),f=ne(s,`${s}-pure`,`${s}-${a}`,u,d,r);return c(l.createElement("div",{className:f,style:n},l.createElement(eW,Object.assign({prefixCls:s},o))))};oW._InternalPanelDoNotUseOrYouWillBeFired=uve;function HM(e){return["small","middle","large"].includes(e)}function UM(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const iW=le.createContext({latestIndex:0}),dve=iW.Provider,fve=e=>{let{className:t,index:n,children:r,split:a,style:o}=e;const{latestIndex:i}=l.useContext(iW);return r==null?null:l.createElement(l.Fragment,null,l.createElement("div",{className:t,style:o},r),n{var n,r,a;const{getPrefixCls:o,space:i,direction:s}=l.useContext(ot),{size:c=(n=i==null?void 0:i.size)!==null&&n!==void 0?n:"small",align:u,className:d,rootClassName:f,children:p,direction:g="horizontal",prefixCls:v,split:m,style:h,wrap:y=!1,classNames:b,styles:S}=e,w=pve(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[x,E]=Array.isArray(c)?c:[c,c],I=HM(E),R=HM(x),T=UM(E),_=UM(x),$=or(p,{keepEmpty:!0}),D=u===void 0&&g==="horizontal"?"center":u,P=o("space",v),[A,O,N]=N9(P),k=ne(P,i==null?void 0:i.className,O,`${P}-${g}`,{[`${P}-rtl`]:s==="rtl",[`${P}-align-${D}`]:D,[`${P}-gap-row-${E}`]:I,[`${P}-gap-col-${x}`]:R},d,f,N),M=ne(`${P}-item`,(r=b==null?void 0:b.item)!==null&&r!==void 0?r:(a=i==null?void 0:i.classNames)===null||a===void 0?void 0:a.item);let L=0;const F=$.map((z,H)=>{var U,Z;z!=null&&(L=H);const q=(z==null?void 0:z.key)||`${M}-${H}`;return l.createElement(fve,{className:M,key:q,index:H,split:m,style:(U=S==null?void 0:S.item)!==null&&U!==void 0?U:(Z=i==null?void 0:i.styles)===null||Z===void 0?void 0:Z.item},z)}),j=l.useMemo(()=>({latestIndex:L}),[L]);if($.length===0)return null;const B={};return y&&(B.flexWrap="wrap"),!R&&_&&(B.columnGap=x),!I&&T&&(B.rowGap=E),A(l.createElement("div",Object.assign({ref:t,className:k,style:Object.assign(Object.assign(Object.assign({},B),i==null?void 0:i.style),h)},w),l.createElement(dve,{value:j},F)))}),Mo=gve;Mo.Compact=Tae;var mve=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{getPopupContainer:t,getPrefixCls:n,direction:r}=l.useContext(ot),{prefixCls:a,type:o="default",danger:i,disabled:s,loading:c,onClick:u,htmlType:d,children:f,className:p,menu:g,arrow:v,autoFocus:m,overlay:h,trigger:y,align:b,open:S,onOpenChange:w,placement:x,getPopupContainer:E,href:I,icon:R=l.createElement(h$,null),title:T,buttonsRender:_=Y=>Y,mouseEnterDelay:$,mouseLeaveDelay:D,overlayClassName:P,overlayStyle:A,destroyPopupOnHide:O,dropdownRender:N}=e,k=mve(e,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),M=n("dropdown",a),L=`${M}-button`,F={menu:g,arrow:v,autoFocus:m,align:b,disabled:s,trigger:s?[]:y,onOpenChange:w,getPopupContainer:E||t,mouseEnterDelay:$,mouseLeaveDelay:D,overlayClassName:P,overlayStyle:A,destroyPopupOnHide:O,dropdownRender:N},{compactSize:j,compactItemClassnames:B}=Ji(M,r),z=ne(L,B,p);"overlay"in e&&(F.overlay=h),"open"in e&&(F.open=S),"placement"in e?F.placement=x:F.placement=r==="rtl"?"bottomLeft":"bottomRight";const H=l.createElement($t,{type:o,danger:i,disabled:s,loading:c,onClick:u,htmlType:d,href:I,title:T},f),U=l.createElement($t,{type:o,danger:i,icon:R}),[Z,q]=_([H,U]);return l.createElement(Mo.Compact,Object.assign({className:z,size:j,block:!0},k),Z,l.createElement(fg,Object.assign({},F),q))};sW.__ANT_BUTTON=!0;const u0=fg;u0.Button=sW;var hve={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},vve=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:hve}))},bve=l.forwardRef(vve);function Iv(e){const[t,n]=l.useState(e);return l.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const yve=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}, transform ${e.motionDurationSlow} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},Sve=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'input[type="search"]':{boxSizing:"border-box"},'input[type="radio"], input[type="checkbox"]':{lineHeight:"normal"},'input[type="file"]':{display:"block"},'input[type="range"]':{display:"block",width:"100%"},"select[multiple], select[size]":{height:"auto"},"input[type='file']:focus,\n input[type='radio']:focus,\n input[type='checkbox']:focus":{outline:0,boxShadow:`0 0 0 ${W(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),VM=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},wve=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},Gt(e)),Sve(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},VM(e,e.controlHeightSM)),"&-large":Object.assign({},VM(e,e.controlHeightLG))})}},Cve=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a,antCls:o,labelRequiredMarkColor:i,labelColor:s,labelFontSize:c,labelHeight:u,labelColonMarginInlineStart:d,labelColonMarginInlineEnd:f,itemMarginBottom:p}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{marginBottom:p,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:u,color:s,fontSize:c,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:i,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:d,marginInlineEnd:f},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${a}-col-'"]):not([class*="' ${a}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:J_,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},WM=(e,t)=>{const{formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},xve=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, @@ -372,7 +372,7 @@ html body { ${r}-col-24${n}-label, ${r}-col-xl-24${n}-label`]:Do(e)}},[`@media (max-width: ${W(e.screenXSMax)})`]:[lW(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:Do(e)}}}],[`@media (max-width: ${W(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:Do(e)}}},[`@media (max-width: ${W(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:Do(e)}}},[`@media (max-width: ${W(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:Do(e)}}}}},Ive=e=>{const{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, ${n}-col-24${t}-label, - ${n}-col-xl-24${t}-label`]:Do(e),[`@media (max-width: ${W(e.screenXSMax)})`]:[lW(e),{[t]:{[`${n}-col-xs-24${t}-label`]:Do(e)}}],[`@media (max-width: ${W(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:Do(e)}},[`@media (max-width: ${W(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:Do(e)}},[`@media (max-width: ${W(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:Do(e)}}}},Tve=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),cW=(e,t)=>Pt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),F$=Kt("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=cW(e,n);return[wve(r),Cve(r),yve(r),WM(r,r.componentCls),WM(r,r.formItemCls),xve(r),Eve(r),Ive(r),og(r),J_]},Tve,{order:-1e3}),GM=[];function yS(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const uW=e=>{let{help:t,helpStatus:n,errors:r=GM,warnings:a=GM,className:o,fieldId:i,onVisibleChanged:s}=e;const{prefixCls:c}=l.useContext(Z_),u=`${c}-item-explain`,d=Vn(c),[f,p,g]=F$(c,d),b=l.useMemo(()=>Pu(c),[c]),m=Iv(r),h=Iv(a),y=l.useMemo(()=>t!=null?[yS(t,"help",n)]:[].concat($e(m.map((S,w)=>yS(S,"error","error",w))),$e(h.map((S,w)=>yS(S,"warning","warning",w)))),[t,n,m,h]),v={};return i&&(v.id=`${i}_help`),f(l.createElement(Wr,{motionDeadline:b.motionDeadline,motionName:`${c}-show-help`,visible:!!y.length,onVisibleChanged:s},S=>{const{className:w,style:x}=S;return l.createElement("div",Object.assign({},v,{className:ne(u,w,g,d,o,p),style:x,role:"alert"}),l.createElement(z_,Object.assign({keys:y},Pu(c),{motionName:`${c}-show-help-item`,component:!1}),E=>{const{key:I,error:R,errorStatus:T,className:_,style:$}=E;return l.createElement("div",{key:I,className:ne(_,{[`${u}-${T}`]:T}),style:$},R)}))}))},Rve=["parentNode"],_ve="form_item";function Nf(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function dW(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:Rve.includes(n)?`${_ve}_${n}`:n}function fW(e,t,n,r,a,o){let i=r;return o!==void 0?i=o:n.validating?i="validating":e.length?i="error":t.length?i="warning":(n.touched||a&&n.validated)&&(i="success"),i}function qM(e){return Nf(e).join("_")}function $ve(e,t){const n=t.getFieldInstance(e),r=e7(n);if(r)return r;const a=dW(Nf(e),t.__INTERNAL__.name);if(a)return document.getElementById(a)}function pW(e){const[t]=X_(),n=l.useRef({}),r=l.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:a=>o=>{const i=qM(a);o?n.current[i]=o:delete n.current[i]}},scrollToField:function(a){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=$ve(a,r);i&&Rre(i,Object.assign({scrollMode:"if-needed",block:"nearest"},o))},getFieldInstance:a=>{const o=qM(a);return n.current[o]}}),[e,t]);return[r]}var Ove=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=l.useContext(Vr),{getPrefixCls:r,direction:a,form:o}=l.useContext(ot),{prefixCls:i,className:s,rootClassName:c,size:u,disabled:d=n,form:f,colon:p,labelAlign:g,labelWrap:b,labelCol:m,wrapperCol:h,hideRequiredMark:y,layout:v="horizontal",scrollToFirstError:S,requiredMark:w,onFinishFailed:x,name:E,style:I,feedbackIcons:R,variant:T}=e,_=Ove(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),$=cr(u),D=l.useContext(F7),P=l.useMemo(()=>w!==void 0?w:y?!1:o&&o.requiredMark!==void 0?o.requiredMark:!0,[y,w,o]),A=p??(o==null?void 0:o.colon),O=r("form",i),N=Vn(O),[k,M,L]=F$(O,N),F=ne(O,`${O}-${v}`,{[`${O}-hide-required-mark`]:P===!1,[`${O}-rtl`]:a==="rtl",[`${O}-${$}`]:$},L,N,M,o==null?void 0:o.className,s,c),[j]=pW(f),{__INTERNAL__:B}=j;B.name=E;const z=l.useMemo(()=>({name:E,labelAlign:g,labelCol:m,labelWrap:b,wrapperCol:h,vertical:v==="vertical",colon:A,requiredMark:P,itemRef:B.itemRef,form:j,feedbackIcons:R}),[E,g,m,h,v,A,P,j,R]),H=l.useRef(null);l.useImperativeHandle(t,()=>{var q;return Object.assign(Object.assign({},j),{nativeElement:(q=H.current)===null||q===void 0?void 0:q.nativeElement})});const U=(q,Y)=>{if(q){let te={block:"nearest"};typeof q=="object"&&(te=q),j.scrollToField(Y,te)}},Z=q=>{if(x==null||x(q),q.errorFields.length){const Y=q.errorFields[0].name;if(S!==void 0){U(S,Y);return}o&&o.scrollToFirstError!==void 0&&U(o.scrollToFirstError,Y)}};return k(l.createElement(aH.Provider,{value:T},l.createElement(L_,{disabled:d},l.createElement(Gl.Provider,{value:$},l.createElement(rH,{validateMessages:D},l.createElement(qi.Provider,{value:z},l.createElement(nd,Object.assign({id:E},_,{name:E,onFinishFailed:Z,form:j,ref:H,style:Object.assign(Object.assign({},o==null?void 0:o.style),I),className:F}))))))))},kve=l.forwardRef(Nve);function Ave(e){if(typeof e=="function")return e;const t=or(e);return t.length<=1?t[0]:t}const gW=()=>{const{status:e,errors:t=[],warnings:n=[]}=l.useContext(Er);return{status:e,errors:t,warnings:n}};gW.Context=Er;function Mve(e){const[t,n]=l.useState(e),r=l.useRef(null),a=l.useRef([]),o=l.useRef(!1);l.useEffect(()=>(o.current=!1,()=>{o.current=!0,Dt.cancel(r.current),r.current=null}),[]);function i(s){o.current||(r.current===null&&(a.current=[],r.current=Dt(()=>{r.current=null,n(c=>{let u=c;return a.current.forEach(d=>{u=d(u)}),u})})),a.current.push(s))}return[t,i]}function Dve(){const{itemRef:e}=l.useContext(qi),t=l.useRef({});function n(r,a){const o=a&&typeof a=="object"&&a.ref,i=r.join("_");return(t.current.name!==i||t.current.originRef!==o)&&(t.current.name=i,t.current.originRef=o,t.current.ref=Ar(e(r),o)),t.current.ref}return n}const Pve=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},Lve=Ju(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=cW(e,n);return[Pve(r)]}),Fve=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:a,errors:o,warnings:i,_internalItemRender:s,extra:c,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:p}=e,g=`${t}-item`,b=l.useContext(qi),m=r||b.wrapperCol||{},h=ne(`${g}-control`,m.className),y=l.useMemo(()=>Object.assign({},b),[b]);delete y.labelCol,delete y.wrapperCol;const v=l.createElement("div",{className:`${g}-control-input`},l.createElement("div",{className:`${g}-control-input-content`},a)),S=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),w=f!==null||o.length||i.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(Z_.Provider,{value:S},l.createElement(uW,{fieldId:d,errors:o,warnings:i,help:u,helpStatus:n,className:`${g}-explain-connected`,onVisibleChanged:p})),!!f&&l.createElement("div",{style:{width:0,height:f}})):null,x={};d&&(x.id=`${d}_extra`);const E=c?l.createElement("div",Object.assign({},x,{className:`${g}-extra`}),c):null,I=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:v,errorList:w,extra:E}):l.createElement(l.Fragment,null,v,w,E);return l.createElement(qi.Provider,{value:y},l.createElement(En,Object.assign({},m,{className:h}),I),l.createElement(Lve,{prefixCls:t}))};var jve={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Bve=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:jve}))},mW=l.forwardRef(Bve),zve=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,label:n,htmlFor:r,labelCol:a,labelAlign:o,colon:i,required:s,requiredMark:c,tooltip:u,vertical:d}=e;var f;const[p]=mi("Form"),{labelAlign:g,labelCol:b,labelWrap:m,colon:h}=l.useContext(qi);if(!n)return null;const y=a||b||{},v=o||g,S=`${t}-item-label`,w=ne(S,v==="left"&&`${S}-left`,y.className,{[`${S}-wrap`]:!!m});let x=n;const E=i===!0||h!==!1&&i!==!1;E&&!d&&typeof n=="string"&&n.trim()&&(x=n.replace(/[:|:]\s*$/,""));const R=Hve(u);if(R){const{icon:D=l.createElement(mW,null)}=R,P=zve(R,["icon"]),A=l.createElement(rn,Object.assign({},P),l.cloneElement(D,{className:`${t}-item-tooltip`,title:"",onClick:O=>{O.preventDefault()},tabIndex:null}));x=l.createElement(l.Fragment,null,x,A)}const T=c==="optional",_=typeof c=="function";_?x=c(x,{required:!!s}):T&&!s&&(x=l.createElement(l.Fragment,null,x,l.createElement("span",{className:`${t}-item-optional`,title:""},(p==null?void 0:p.optional)||((f=ci.Form)===null||f===void 0?void 0:f.optional))));const $=ne({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:T||_,[`${t}-item-no-colon`]:!E});return l.createElement(En,Object.assign({},y,{className:w}),l.createElement("label",{htmlFor:r,className:$,title:typeof n=="string"?n:""},x))},Vve={success:Qp,warning:Rb,error:ic,validating:Wi};function hW(e){let{children:t,errors:n,warnings:r,hasFeedback:a,validateStatus:o,prefixCls:i,meta:s,noStyle:c}=e;const u=`${i}-item`,{feedbackIcons:d}=l.useContext(qi),f=fW(n,r,s,null,!!a,o),{isFormItemInput:p,status:g,hasFeedback:b,feedbackIcon:m}=l.useContext(Er),h=l.useMemo(()=>{var y;let v;if(a){const w=a!==!0&&a.icons||d,x=f&&((y=w==null?void 0:w({status:f,errors:n,warnings:r}))===null||y===void 0?void 0:y[f]),E=f&&Vve[f];v=x!==!1&&E?l.createElement("span",{className:ne(`${u}-feedback-icon`,`${u}-feedback-icon-${f}`)},x||l.createElement(E,null)):null}const S={status:f||"",errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:v,isFormItemInput:!0};return c&&(S.status=(f??g)||"",S.isFormItemInput=p,S.hasFeedback=!!(a??b),S.feedbackIcon=a!==void 0?S.feedbackIcon:m),S},[f,a,c,p,g]);return l.createElement(Er.Provider,{value:h},t)}var Wve=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if($&&I.current){const L=getComputedStyle(I.current);A(parseInt(L.marginBottom,10))}},[$,D]);const O=L=>{L||A(null)},k=function(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const F=L?R:u.errors,j=L?T:u.warnings;return fW(F,j,u,"",!!d,c)}(),M=ne(S,n,r,{[`${S}-with-help`]:_||R.length||T.length,[`${S}-has-feedback`]:k&&d,[`${S}-has-success`]:k==="success",[`${S}-has-warning`]:k==="warning",[`${S}-has-error`]:k==="error",[`${S}-is-validating`]:k==="validating",[`${S}-hidden`]:f,[`${S}-${y}`]:y});return l.createElement("div",{className:M,style:a,ref:I},l.createElement(Ba,Object.assign({className:`${S}-row`},gn(v,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),l.createElement(Uve,Object.assign({htmlFor:g},e,{requiredMark:w,required:b??m,prefixCls:t,vertical:E})),l.createElement(Fve,Object.assign({},e,u,{errors:R,warnings:T,prefixCls:t,status:k,help:o,marginBottom:P,onErrorVisibleChanged:O}),l.createElement(nH.Provider,{value:h},l.createElement(hW,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:k},p)))),!!P&&l.createElement("div",{className:`${S}-margin-offset`,style:{marginBottom:-P}}))}const qve="__SPLIT__";function Kve(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(a=>{const o=e[a],i=t[a];return o===i||typeof o=="function"||typeof i=="function"})}const Yve=l.memo(e=>{let{children:t}=e;return t},(e,t)=>Kve(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function KM(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Xve(e){const{name:t,noStyle:n,className:r,dependencies:a,prefixCls:o,shouldUpdate:i,rules:s,children:c,required:u,label:d,messageVariables:f,trigger:p="onChange",validateTrigger:g,hidden:b,help:m,layout:h}=e,{getPrefixCls:y}=l.useContext(ot),{name:v}=l.useContext(qi),S=Ave(c),w=typeof S=="function",x=l.useContext(nH),{validateTrigger:E}=l.useContext(Kl),I=g!==void 0?g:E,R=t!=null,T=y("form",o),_=Vn(T),[$,D,P]=F$(T,_);Xs();const A=l.useContext(bp),O=l.useRef(),[N,k]=Mve({}),[M,L]=ql(()=>KM()),F=q=>{const Y=A==null?void 0:A.getKey(q.name);if(L(q.destroy?KM():q,!0),n&&m!==!1&&x){let te=q.name;if(q.destroy)te=O.current||te;else if(Y!==void 0){const[ee,X]=Y;te=[ee].concat($e(X)),O.current=te}x(q,te)}},j=(q,Y)=>{k(te=>{const ee=Object.assign({},te),ie=[].concat($e(q.name.slice(0,-1)),$e(Y)).join(qve);return q.destroy?delete ee[ie]:ee[ie]=q,ee})},[B,z]=l.useMemo(()=>{const q=$e(M.errors),Y=$e(M.warnings);return Object.values(N).forEach(te=>{q.push.apply(q,$e(te.errors||[])),Y.push.apply(Y,$e(te.warnings||[]))}),[q,Y]},[N,M.errors,M.warnings]),H=Dve();function U(q,Y,te){return n&&!b?l.createElement(hW,{prefixCls:T,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:M,errors:B,warnings:z,noStyle:!0},q):l.createElement(Gve,Object.assign({key:"row"},e,{className:ne(r,P,_,D),prefixCls:T,fieldId:Y,isRequired:te,errors:B,warnings:z,meta:M,onSubItemMetaChange:j,layout:h}),q)}if(!R&&!w&&!a)return $(U(S));let Z={};return typeof d=="string"?Z.label=d:t&&(Z.label=String(t)),f&&(Z=Object.assign(Object.assign({},Z),f)),$(l.createElement(Y_,Object.assign({},e,{messageVariables:Z,trigger:p,validateTrigger:I,onMetaChange:F}),(q,Y,te)=>{const ee=Nf(t).length&&Y?Y.name:[],X=dW(ee,v),ie=u!==void 0?u:!!(s!=null&&s.some(Q=>{if(Q&&typeof Q=="object"&&Q.required&&!Q.warningOnly)return!0;if(typeof Q=="function"){const ae=Q(te);return(ae==null?void 0:ae.required)&&!(ae!=null&&ae.warningOnly)}return!1})),re=Object.assign({},q);let G=null;if(Array.isArray(S)&&R)G=S;else if(!(w&&(!(i||a)||R))){if(!(a&&!w&&!R))if(l.isValidElement(S)){const Q=Object.assign(Object.assign({},S.props),re);if(Q.id||(Q.id=X),m||B.length>0||z.length>0||e.extra){const de=[];(m||B.length>0)&&de.push(`${X}_help`),e.extra&&de.push(`${X}_extra`),Q["aria-describedby"]=de.join(" ")}B.length>0&&(Q["aria-invalid"]="true"),ie&&(Q["aria-required"]="true"),Ho(S)&&(Q.ref=H(ee,S)),new Set([].concat($e(Nf(p)),$e(Nf(I)))).forEach(de=>{Q[de]=function(){for(var ve,ye,ge,J,ce,ue=arguments.length,fe=new Array(ue),pe=0;pe{var{prefixCls:t,children:n}=e,r=Zve(e,["prefixCls","children"]);const{getPrefixCls:a}=l.useContext(ot),o=a("form",t),i=l.useMemo(()=>({prefixCls:o,status:"error"}),[o]);return l.createElement(Q9,Object.assign({},r),(s,c,u)=>l.createElement(Z_.Provider,{value:i},n(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),c,{errors:u.errors,warnings:u.warnings})))};function Jve(){const{form:e}=l.useContext(qi);return e}const qt=kve;qt.Item=yg;qt.List=Qve;qt.ErrorList=uW;qt.useForm=pW;qt.useFormInstance=Jve;qt.useWatch=tH;qt.Provider=rH;qt.create=()=>{};function YM(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function Tm(e,t,n,r){var a=ap.unstable_batchedUpdates?function(i){ap.unstable_batchedUpdates(n,i)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,a,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,a,r)}}}function ebe(e,t,n){return typeof n=="boolean"?n:e.length?!0:or(t).some(a=>a.type===Zb)}const tbe=e=>{const{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:a,lightTriggerColor:o}=e;return{[`${t}-sider-light`]:{background:r,[`${t}-sider-trigger`]:{color:o,background:a},[`${t}-sider-zero-width-trigger`]:{color:o,background:a,border:`1px solid ${n}`,borderInlineStart:0}}}},nbe=e=>{const{antCls:t,componentCls:n,colorText:r,triggerColor:a,footerBg:o,triggerBg:i,headerHeight:s,headerPadding:c,headerColor:u,footerPadding:d,triggerHeight:f,zeroTriggerHeight:p,zeroTriggerWidth:g,motionDurationMid:b,motionDurationSlow:m,fontSize:h,borderRadius:y,bodyBg:v,headerBg:S,siderBg:w}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:v,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:w,transition:`all ${b}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:a,lineHeight:W(f),textAlign:"center",background:i,cursor:"pointer",transition:`all ${b}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(g).mul(-1).equal(),zIndex:1,width:g,height:p,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:w,borderStartStartRadius:0,borderStartEndRadius:y,borderEndEndRadius:y,borderEndStartRadius:0,cursor:"pointer",transition:`background ${m} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${m}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(g).mul(-1).equal(),borderStartStartRadius:y,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:y}}}}},tbe(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,padding:c,color:u,lineHeight:W(s),background:S,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:h,background:o},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},rbe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:a,controlHeightSM:o,marginXXS:i,colorTextLightSolid:s,colorBgContainer:c}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:a,footerPadding:`${o}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+i*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:a}},vW=Kt("Layout",e=>[nbe(e)],rbe,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var bW=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al.forwardRef((i,s)=>l.createElement(a,Object.assign({ref:s,suffixCls:t,tagName:n},i)))}const j$=l.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:a,tagName:o}=e,i=bW(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=l.useContext(ot),c=s("layout",n),[u,d,f]=vW(c),p=r?`${c}-${r}`:c;return u(l.createElement(o,Object.assign({className:ne(n||p,a,d,f),ref:t},i)))}),abe=l.forwardRef((e,t)=>{const{direction:n}=l.useContext(ot),[r,a]=l.useState([]),{prefixCls:o,className:i,rootClassName:s,children:c,hasSider:u,tagName:d,style:f}=e,p=bW(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),g=gn(p,["suffixCls"]),{getPrefixCls:b,layout:m}=l.useContext(ot),h=b("layout",o),y=ebe(r,c,u),[v,S,w]=vW(h),x=ne(h,{[`${h}-has-sider`]:y,[`${h}-rtl`]:n==="rtl"},m==null?void 0:m.className,i,s,S,w),E=l.useMemo(()=>({siderHook:{addSider:I=>{a(R=>[].concat($e(R),[I]))},removeSider:I=>{a(R=>R.filter(T=>T!==I))}}}),[]);return v(l.createElement(vU.Provider,{value:E},l.createElement(d,Object.assign({ref:t,className:x,style:Object.assign(Object.assign({},m==null?void 0:m.style),f)},g),c)))}),obe=d0({tagName:"div",displayName:"Layout"})(abe),yW=d0({suffixCls:"header",tagName:"header",displayName:"Header"})(j$),SW=d0({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(j$),wW=d0({suffixCls:"content",tagName:"main",displayName:"Content"})(j$),gi=obe;gi.Header=yW;gi.Footer=SW;gi.Content=wW;gi.Sider=Zb;gi._InternalSiderContext=Xb;const CW=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const a=n[r];a!==void 0&&(e[r]=a)})}return e};var ibe={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"},sbe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:ibe}))},XM=l.forwardRef(sbe),lbe={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"},cbe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:lbe}))},ZM=l.forwardRef(cbe),ube={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:"页码"},dbe=["10","20","50","100"],fbe=function(t){var n=t.pageSizeOptions,r=n===void 0?dbe:n,a=t.locale,o=t.changeSize,i=t.pageSize,s=t.goButton,c=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,f=t.selectPrefixCls,p=t.disabled,g=t.buildOptionText,b=le.useState(""),m=se(b,2),h=m[0],y=m[1],v=function(){return!h||Number.isNaN(h)?void 0:Number(h)},S=typeof g=="function"?g:function(A){return"".concat(A," ").concat(a.items_per_page)},w=function(O){o==null||o(Number(O))},x=function(O){y(O.target.value)},E=function(O){s||h===""||(y(""),!(O.relatedTarget&&(O.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||O.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(v())))},I=function(O){h!==""&&(O.keyCode===Me.ENTER||O.type==="click")&&(y(""),c==null||c(v()))},R=function(){return r.some(function(O){return O.toString()===i.toString()})?r:r.concat([i.toString()]).sort(function(O,N){var k=Number.isNaN(Number(O))?0:Number(O),M=Number.isNaN(Number(N))?0:Number(N);return k-M})},T="".concat(u,"-options");if(!o&&!c)return null;var _=null,$=null,D=null;if(o&&d){var P=R().map(function(A,O){return le.createElement(d.Option,{key:O,value:A.toString()},S(A))});_=le.createElement(d,{disabled:p,prefixCls:f,showSearch:!1,className:"".concat(T,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(i||r[0]).toString(),onChange:w,getPopupContainer:function(O){return O.parentNode},"aria-label":a.page_size,defaultOpen:!1},P)}return c&&(s&&(D=typeof s=="boolean"?le.createElement("button",{type:"button",onClick:I,onKeyUp:I,disabled:p,className:"".concat(T,"-quick-jumper-button")},a.jump_to_confirm):le.createElement("span",{onClick:I,onKeyUp:I},s)),$=le.createElement("div",{className:"".concat(T,"-quick-jumper")},a.jump_to,le.createElement("input",{disabled:p,type:"text",value:h,onChange:x,onKeyUp:I,onBlur:E,"aria-label":a.page}),a.page,D)),le.createElement("li",{className:T},_,$)},Hd=function(t){var n,r=t.rootPrefixCls,a=t.page,o=t.active,i=t.className,s=t.showTitle,c=t.onClick,u=t.onKeyPress,d=t.itemRender,f="".concat(r,"-item"),p=ne(f,"".concat(f,"-").concat(a),(n={},V(n,"".concat(f,"-active"),o),V(n,"".concat(f,"-disabled"),!a),n),i),g=function(){c(a)},b=function(y){u(y,c,a)},m=d(a,"page",le.createElement("a",{rel:"nofollow"},a));return m?le.createElement("li",{title:s?String(a):null,className:p,onClick:g,onKeyDown:b,tabIndex:0},m):null},pbe=function(t,n,r){return r};function QM(){}function JM(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function ll(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var gbe=function(t){var n,r=t.prefixCls,a=r===void 0?"rc-pagination":r,o=t.selectPrefixCls,i=o===void 0?"rc-select":o,s=t.className,c=t.selectComponentClass,u=t.current,d=t.defaultCurrent,f=d===void 0?1:d,p=t.total,g=p===void 0?0:p,b=t.pageSize,m=t.defaultPageSize,h=m===void 0?10:m,y=t.onChange,v=y===void 0?QM:y,S=t.hideOnSinglePage,w=t.align,x=t.showPrevNextJumpers,E=x===void 0?!0:x,I=t.showQuickJumper,R=t.showLessItems,T=t.showTitle,_=T===void 0?!0:T,$=t.onShowSizeChange,D=$===void 0?QM:$,P=t.locale,A=P===void 0?ube:P,O=t.style,N=t.totalBoundaryShowSizeChanger,k=N===void 0?50:N,M=t.disabled,L=t.simple,F=t.showTotal,j=t.showSizeChanger,B=t.pageSizeOptions,z=t.itemRender,H=z===void 0?pbe:z,U=t.jumpPrevIcon,Z=t.jumpNextIcon,q=t.prevIcon,Y=t.nextIcon,te=le.useRef(null),ee=Qt(10,{value:b,defaultValue:h}),X=se(ee,2),ie=X[0],re=X[1],G=Qt(1,{value:u,defaultValue:f,postState:function(yt){return Math.max(1,Math.min(yt,ll(void 0,ie,g)))}}),Q=se(G,2),ae=Q[0],oe=Q[1],de=le.useState(ae),ve=se(de,2),ye=ve[0],ge=ve[1];l.useEffect(function(){ge(ae)},[ae]);var J=Math.max(1,ae-(R?3:5)),ce=Math.min(ll(void 0,ie,g),ae+(R?3:5));function ue(ht,yt){var Tt=ht||le.createElement("button",{type:"button","aria-label":yt,className:"".concat(a,"-item-link")});return typeof ht=="function"&&(Tt=le.createElement(ht,K({},t))),Tt}function fe(ht){var yt=ht.target.value,Tt=ll(void 0,ie,g),mn;return yt===""?mn=yt:Number.isNaN(Number(yt))?mn=ye:yt>=Tt?mn=Tt:mn=Number(yt),mn}function pe(ht){return JM(ht)&&ht!==ae&&JM(g)&&g>0}var xe=g>ie?I:!1;function Te(ht){(ht.keyCode===Me.UP||ht.keyCode===Me.DOWN)&&ht.preventDefault()}function Pe(ht){var yt=fe(ht);switch(yt!==ye&&ge(yt),ht.keyCode){case Me.ENTER:Be(yt);break;case Me.UP:Be(yt-1);break;case Me.DOWN:Be(yt+1);break}}function ke(ht){Be(fe(ht))}function Ue(ht){var yt=ll(ht,ie,g),Tt=ae>yt&&yt!==0?yt:ae;re(ht),ge(Tt),D==null||D(ae,ht),oe(Tt),v==null||v(Tt,ht)}function Be(ht){if(pe(ht)&&!M){var yt=ll(void 0,ie,g),Tt=ht;return ht>yt?Tt=yt:ht<1&&(Tt=1),Tt!==ye&&ge(Tt),oe(Tt),v==null||v(Tt,ie),Tt}return ae}var De=ae>1,Se=aek;function Ce(){De&&Be(ae-1)}function Re(){Se&&Be(ae+1)}function he(){Be(J)}function Ee(){Be(ce)}function je(ht,yt){if(ht.key==="Enter"||ht.charCode===Me.ENTER||ht.keyCode===Me.ENTER){for(var Tt=arguments.length,mn=new Array(Tt>2?Tt-2:0),Gn=2;Gng?g:ae*ie])),We=null,Ze=ll(void 0,ie,g);if(S&&g<=ie)return null;var Ye=[],at={rootPrefixCls:a,onClick:Be,onKeyPress:je,showTitle:_,itemRender:H,page:-1},wt=ae-1>0?ae-1:0,Ct=ae+1=st*2&&ae!==3&&(Ye[0]=le.cloneElement(Ye[0],{className:ne("".concat(a,"-item-after-jump-prev"),Ye[0].props.className)}),Ye.unshift(Xe)),Ze-ae>=st*2&&ae!==Ze-2){var tt=Ye[Ye.length-1];Ye[Ye.length-1]=le.cloneElement(tt,{className:ne("".concat(a,"-item-before-jump-next"),tt.props.className)}),Ye.push(We)}He!==1&&Ye.unshift(le.createElement(Hd,be({},at,{key:1,page:1}))),Fe!==Ze&&Ye.push(le.createElement(Hd,be({},at,{key:Ze,page:Ze})))}var bt=Le(wt);if(bt){var xt=!De||!Ze;bt=le.createElement("li",{title:_?A.prev_page:null,onClick:Ce,tabIndex:xt?null:0,onKeyDown:Ae,className:ne("".concat(a,"-prev"),V({},"".concat(a,"-disabled"),xt)),"aria-disabled":xt},bt)}var Wt=Ke(Ct);if(Wt){var Yt,Vt;L?(Yt=!Se,Vt=De?0:null):(Yt=!Se||!Ze,Vt=Yt?null:0),Wt=le.createElement("li",{title:_?A.next_page:null,onClick:Re,tabIndex:Vt,onKeyDown:Ne,className:ne("".concat(a,"-next"),V({},"".concat(a,"-disabled"),Yt)),"aria-disabled":Yt},Wt)}var en=ne(a,s,(n={},V(n,"".concat(a,"-start"),w==="start"),V(n,"".concat(a,"-center"),w==="center"),V(n,"".concat(a,"-end"),w==="end"),V(n,"".concat(a,"-simple"),L),V(n,"".concat(a,"-disabled"),M),n));return le.createElement("ul",be({className:en,style:O,ref:te},ut),pt,bt,L?Qe:Ye,Wt,le.createElement(fbe,{locale:A,rootPrefixCls:a,disabled:M,selectComponentClass:c,selectPrefixCls:i,changeSize:_e?Ue:null,pageSize:ie,pageSizeOptions:B,quickGo:xe?Be:null,goButton:it}))};const xW=e=>l.createElement(mr,Object.assign({},e,{showSearch:!0,size:"small"})),EW=e=>l.createElement(mr,Object.assign({},e,{showSearch:!0,size:"middle"}));xW.Option=mr.Option;EW.Option=mr.Option;const mbe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},hbe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:W(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:W(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:W(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + ${n}-col-xl-24${t}-label`]:Do(e),[`@media (max-width: ${W(e.screenXSMax)})`]:[lW(e),{[t]:{[`${n}-col-xs-24${t}-label`]:Do(e)}}],[`@media (max-width: ${W(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:Do(e)}},[`@media (max-width: ${W(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:Do(e)}},[`@media (max-width: ${W(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:Do(e)}}}},Tve=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),cW=(e,t)=>Pt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),F$=Kt("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=cW(e,n);return[wve(r),Cve(r),yve(r),WM(r,r.componentCls),WM(r,r.formItemCls),xve(r),Eve(r),Ive(r),og(r),J_]},Tve,{order:-1e3}),GM=[];function yS(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const uW=e=>{let{help:t,helpStatus:n,errors:r=GM,warnings:a=GM,className:o,fieldId:i,onVisibleChanged:s}=e;const{prefixCls:c}=l.useContext(Z_),u=`${c}-item-explain`,d=Vn(c),[f,p,g]=F$(c,d),v=l.useMemo(()=>Pu(c),[c]),m=Iv(r),h=Iv(a),y=l.useMemo(()=>t!=null?[yS(t,"help",n)]:[].concat($e(m.map((S,w)=>yS(S,"error","error",w))),$e(h.map((S,w)=>yS(S,"warning","warning",w)))),[t,n,m,h]),b={};return i&&(b.id=`${i}_help`),f(l.createElement(Wr,{motionDeadline:v.motionDeadline,motionName:`${c}-show-help`,visible:!!y.length,onVisibleChanged:s},S=>{const{className:w,style:x}=S;return l.createElement("div",Object.assign({},b,{className:ne(u,w,g,d,o,p),style:x,role:"alert"}),l.createElement(z_,Object.assign({keys:y},Pu(c),{motionName:`${c}-show-help-item`,component:!1}),E=>{const{key:I,error:R,errorStatus:T,className:_,style:$}=E;return l.createElement("div",{key:I,className:ne(_,{[`${u}-${T}`]:T}),style:$},R)}))}))},Rve=["parentNode"],_ve="form_item";function Nf(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function dW(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:Rve.includes(n)?`${_ve}_${n}`:n}function fW(e,t,n,r,a,o){let i=r;return o!==void 0?i=o:n.validating?i="validating":e.length?i="error":t.length?i="warning":(n.touched||a&&n.validated)&&(i="success"),i}function qM(e){return Nf(e).join("_")}function $ve(e,t){const n=t.getFieldInstance(e),r=e7(n);if(r)return r;const a=dW(Nf(e),t.__INTERNAL__.name);if(a)return document.getElementById(a)}function pW(e){const[t]=X_(),n=l.useRef({}),r=l.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:a=>o=>{const i=qM(a);o?n.current[i]=o:delete n.current[i]}},scrollToField:function(a){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const i=$ve(a,r);i&&Rre(i,Object.assign({scrollMode:"if-needed",block:"nearest"},o))},getFieldInstance:a=>{const o=qM(a);return n.current[o]}}),[e,t]);return[r]}var Ove=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=l.useContext(Vr),{getPrefixCls:r,direction:a,form:o}=l.useContext(ot),{prefixCls:i,className:s,rootClassName:c,size:u,disabled:d=n,form:f,colon:p,labelAlign:g,labelWrap:v,labelCol:m,wrapperCol:h,hideRequiredMark:y,layout:b="horizontal",scrollToFirstError:S,requiredMark:w,onFinishFailed:x,name:E,style:I,feedbackIcons:R,variant:T}=e,_=Ove(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),$=cr(u),D=l.useContext(F7),P=l.useMemo(()=>w!==void 0?w:y?!1:o&&o.requiredMark!==void 0?o.requiredMark:!0,[y,w,o]),A=p??(o==null?void 0:o.colon),O=r("form",i),N=Vn(O),[k,M,L]=F$(O,N),F=ne(O,`${O}-${b}`,{[`${O}-hide-required-mark`]:P===!1,[`${O}-rtl`]:a==="rtl",[`${O}-${$}`]:$},L,N,M,o==null?void 0:o.className,s,c),[j]=pW(f),{__INTERNAL__:B}=j;B.name=E;const z=l.useMemo(()=>({name:E,labelAlign:g,labelCol:m,labelWrap:v,wrapperCol:h,vertical:b==="vertical",colon:A,requiredMark:P,itemRef:B.itemRef,form:j,feedbackIcons:R}),[E,g,m,h,b,A,P,j,R]),H=l.useRef(null);l.useImperativeHandle(t,()=>{var q;return Object.assign(Object.assign({},j),{nativeElement:(q=H.current)===null||q===void 0?void 0:q.nativeElement})});const U=(q,Y)=>{if(q){let ee={block:"nearest"};typeof q=="object"&&(ee=q),j.scrollToField(Y,ee)}},Z=q=>{if(x==null||x(q),q.errorFields.length){const Y=q.errorFields[0].name;if(S!==void 0){U(S,Y);return}o&&o.scrollToFirstError!==void 0&&U(o.scrollToFirstError,Y)}};return k(l.createElement(aH.Provider,{value:T},l.createElement(L_,{disabled:d},l.createElement(Gl.Provider,{value:$},l.createElement(rH,{validateMessages:D},l.createElement(qi.Provider,{value:z},l.createElement(nd,Object.assign({id:E},_,{name:E,onFinishFailed:Z,form:j,ref:H,style:Object.assign(Object.assign({},o==null?void 0:o.style),I),className:F}))))))))},kve=l.forwardRef(Nve);function Ave(e){if(typeof e=="function")return e;const t=or(e);return t.length<=1?t[0]:t}const gW=()=>{const{status:e,errors:t=[],warnings:n=[]}=l.useContext(Er);return{status:e,errors:t,warnings:n}};gW.Context=Er;function Mve(e){const[t,n]=l.useState(e),r=l.useRef(null),a=l.useRef([]),o=l.useRef(!1);l.useEffect(()=>(o.current=!1,()=>{o.current=!0,Dt.cancel(r.current),r.current=null}),[]);function i(s){o.current||(r.current===null&&(a.current=[],r.current=Dt(()=>{r.current=null,n(c=>{let u=c;return a.current.forEach(d=>{u=d(u)}),u})})),a.current.push(s))}return[t,i]}function Dve(){const{itemRef:e}=l.useContext(qi),t=l.useRef({});function n(r,a){const o=a&&typeof a=="object"&&a.ref,i=r.join("_");return(t.current.name!==i||t.current.originRef!==o)&&(t.current.name=i,t.current.originRef=o,t.current.ref=Ar(e(r),o)),t.current.ref}return n}const Pve=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},Lve=Ju(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=cW(e,n);return[Pve(r)]}),Fve=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:a,errors:o,warnings:i,_internalItemRender:s,extra:c,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:p}=e,g=`${t}-item`,v=l.useContext(qi),m=r||v.wrapperCol||{},h=ne(`${g}-control`,m.className),y=l.useMemo(()=>Object.assign({},v),[v]);delete y.labelCol,delete y.wrapperCol;const b=l.createElement("div",{className:`${g}-control-input`},l.createElement("div",{className:`${g}-control-input-content`},a)),S=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),w=f!==null||o.length||i.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(Z_.Provider,{value:S},l.createElement(uW,{fieldId:d,errors:o,warnings:i,help:u,helpStatus:n,className:`${g}-explain-connected`,onVisibleChanged:p})),!!f&&l.createElement("div",{style:{width:0,height:f}})):null,x={};d&&(x.id=`${d}_extra`);const E=c?l.createElement("div",Object.assign({},x,{className:`${g}-extra`}),c):null,I=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:b,errorList:w,extra:E}):l.createElement(l.Fragment,null,b,w,E);return l.createElement(qi.Provider,{value:y},l.createElement(En,Object.assign({},m,{className:h}),I),l.createElement(Lve,{prefixCls:t}))};var jve={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:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},Bve=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:jve}))},mW=l.forwardRef(Bve),zve=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let{prefixCls:t,label:n,htmlFor:r,labelCol:a,labelAlign:o,colon:i,required:s,requiredMark:c,tooltip:u,vertical:d}=e;var f;const[p]=mi("Form"),{labelAlign:g,labelCol:v,labelWrap:m,colon:h}=l.useContext(qi);if(!n)return null;const y=a||v||{},b=o||g,S=`${t}-item-label`,w=ne(S,b==="left"&&`${S}-left`,y.className,{[`${S}-wrap`]:!!m});let x=n;const E=i===!0||h!==!1&&i!==!1;E&&!d&&typeof n=="string"&&n.trim()&&(x=n.replace(/[:|:]\s*$/,""));const R=Hve(u);if(R){const{icon:D=l.createElement(mW,null)}=R,P=zve(R,["icon"]),A=l.createElement(rn,Object.assign({},P),l.cloneElement(D,{className:`${t}-item-tooltip`,title:"",onClick:O=>{O.preventDefault()},tabIndex:null}));x=l.createElement(l.Fragment,null,x,A)}const T=c==="optional",_=typeof c=="function";_?x=c(x,{required:!!s}):T&&!s&&(x=l.createElement(l.Fragment,null,x,l.createElement("span",{className:`${t}-item-optional`,title:""},(p==null?void 0:p.optional)||((f=ci.Form)===null||f===void 0?void 0:f.optional))));const $=ne({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:T||_,[`${t}-item-no-colon`]:!E});return l.createElement(En,Object.assign({},y,{className:w}),l.createElement("label",{htmlFor:r,className:$,title:typeof n=="string"?n:""},x))},Vve={success:Qp,warning:Rb,error:ic,validating:Wi};function hW(e){let{children:t,errors:n,warnings:r,hasFeedback:a,validateStatus:o,prefixCls:i,meta:s,noStyle:c}=e;const u=`${i}-item`,{feedbackIcons:d}=l.useContext(qi),f=fW(n,r,s,null,!!a,o),{isFormItemInput:p,status:g,hasFeedback:v,feedbackIcon:m}=l.useContext(Er),h=l.useMemo(()=>{var y;let b;if(a){const w=a!==!0&&a.icons||d,x=f&&((y=w==null?void 0:w({status:f,errors:n,warnings:r}))===null||y===void 0?void 0:y[f]),E=f&&Vve[f];b=x!==!1&&E?l.createElement("span",{className:ne(`${u}-feedback-icon`,`${u}-feedback-icon-${f}`)},x||l.createElement(E,null)):null}const S={status:f||"",errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:b,isFormItemInput:!0};return c&&(S.status=(f??g)||"",S.isFormItemInput=p,S.hasFeedback=!!(a??v),S.feedbackIcon=a!==void 0?S.feedbackIcon:m),S},[f,a,c,p,g]);return l.createElement(Er.Provider,{value:h},t)}var Wve=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{if($&&I.current){const L=getComputedStyle(I.current);A(parseInt(L.marginBottom,10))}},[$,D]);const O=L=>{L||A(null)},k=function(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const F=L?R:u.errors,j=L?T:u.warnings;return fW(F,j,u,"",!!d,c)}(),M=ne(S,n,r,{[`${S}-with-help`]:_||R.length||T.length,[`${S}-has-feedback`]:k&&d,[`${S}-has-success`]:k==="success",[`${S}-has-warning`]:k==="warning",[`${S}-has-error`]:k==="error",[`${S}-is-validating`]:k==="validating",[`${S}-hidden`]:f,[`${S}-${y}`]:y});return l.createElement("div",{className:M,style:a,ref:I},l.createElement(Ba,Object.assign({className:`${S}-row`},gn(b,["_internalItemRender","colon","dependencies","extra","fieldKey","getValueFromEvent","getValueProps","htmlFor","id","initialValue","isListField","label","labelAlign","labelCol","labelWrap","messageVariables","name","normalize","noStyle","preserve","requiredMark","rules","shouldUpdate","trigger","tooltip","validateFirst","validateTrigger","valuePropName","wrapperCol","validateDebounce"])),l.createElement(Uve,Object.assign({htmlFor:g},e,{requiredMark:w,required:v??m,prefixCls:t,vertical:E})),l.createElement(Fve,Object.assign({},e,u,{errors:R,warnings:T,prefixCls:t,status:k,help:o,marginBottom:P,onErrorVisibleChanged:O}),l.createElement(nH.Provider,{value:h},l.createElement(hW,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:k},p)))),!!P&&l.createElement("div",{className:`${S}-margin-offset`,style:{marginBottom:-P}}))}const qve="__SPLIT__";function Kve(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(a=>{const o=e[a],i=t[a];return o===i||typeof o=="function"||typeof i=="function"})}const Yve=l.memo(e=>{let{children:t}=e;return t},(e,t)=>Kve(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function KM(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function Xve(e){const{name:t,noStyle:n,className:r,dependencies:a,prefixCls:o,shouldUpdate:i,rules:s,children:c,required:u,label:d,messageVariables:f,trigger:p="onChange",validateTrigger:g,hidden:v,help:m,layout:h}=e,{getPrefixCls:y}=l.useContext(ot),{name:b}=l.useContext(qi),S=Ave(c),w=typeof S=="function",x=l.useContext(nH),{validateTrigger:E}=l.useContext(Kl),I=g!==void 0?g:E,R=t!=null,T=y("form",o),_=Vn(T),[$,D,P]=F$(T,_);Xs();const A=l.useContext(bp),O=l.useRef(),[N,k]=Mve({}),[M,L]=ql(()=>KM()),F=q=>{const Y=A==null?void 0:A.getKey(q.name);if(L(q.destroy?KM():q,!0),n&&m!==!1&&x){let ee=q.name;if(q.destroy)ee=O.current||ee;else if(Y!==void 0){const[te,X]=Y;ee=[te].concat($e(X)),O.current=ee}x(q,ee)}},j=(q,Y)=>{k(ee=>{const te=Object.assign({},ee),ie=[].concat($e(q.name.slice(0,-1)),$e(Y)).join(qve);return q.destroy?delete te[ie]:te[ie]=q,te})},[B,z]=l.useMemo(()=>{const q=$e(M.errors),Y=$e(M.warnings);return Object.values(N).forEach(ee=>{q.push.apply(q,$e(ee.errors||[])),Y.push.apply(Y,$e(ee.warnings||[]))}),[q,Y]},[N,M.errors,M.warnings]),H=Dve();function U(q,Y,ee){return n&&!v?l.createElement(hW,{prefixCls:T,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:M,errors:B,warnings:z,noStyle:!0},q):l.createElement(Gve,Object.assign({key:"row"},e,{className:ne(r,P,_,D),prefixCls:T,fieldId:Y,isRequired:ee,errors:B,warnings:z,meta:M,onSubItemMetaChange:j,layout:h}),q)}if(!R&&!w&&!a)return $(U(S));let Z={};return typeof d=="string"?Z.label=d:t&&(Z.label=String(t)),f&&(Z=Object.assign(Object.assign({},Z),f)),$(l.createElement(Y_,Object.assign({},e,{messageVariables:Z,trigger:p,validateTrigger:I,onMetaChange:F}),(q,Y,ee)=>{const te=Nf(t).length&&Y?Y.name:[],X=dW(te,b),ie=u!==void 0?u:!!(s!=null&&s.some(Q=>{if(Q&&typeof Q=="object"&&Q.required&&!Q.warningOnly)return!0;if(typeof Q=="function"){const ae=Q(ee);return(ae==null?void 0:ae.required)&&!(ae!=null&&ae.warningOnly)}return!1})),re=Object.assign({},q);let G=null;if(Array.isArray(S)&&R)G=S;else if(!(w&&(!(i||a)||R))){if(!(a&&!w&&!R))if(l.isValidElement(S)){const Q=Object.assign(Object.assign({},S.props),re);if(Q.id||(Q.id=X),m||B.length>0||z.length>0||e.extra){const de=[];(m||B.length>0)&&de.push(`${X}_help`),e.extra&&de.push(`${X}_extra`),Q["aria-describedby"]=de.join(" ")}B.length>0&&(Q["aria-invalid"]="true"),ie&&(Q["aria-required"]="true"),Ho(S)&&(Q.ref=H(te,S)),new Set([].concat($e(Nf(p)),$e(Nf(I)))).forEach(de=>{Q[de]=function(){for(var ve,ye,ge,J,ce,ue=arguments.length,fe=new Array(ue),pe=0;pe{var{prefixCls:t,children:n}=e,r=Zve(e,["prefixCls","children"]);const{getPrefixCls:a}=l.useContext(ot),o=a("form",t),i=l.useMemo(()=>({prefixCls:o,status:"error"}),[o]);return l.createElement(Q9,Object.assign({},r),(s,c,u)=>l.createElement(Z_.Provider,{value:i},n(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),c,{errors:u.errors,warnings:u.warnings})))};function Jve(){const{form:e}=l.useContext(qi);return e}const qt=kve;qt.Item=yg;qt.List=Qve;qt.ErrorList=uW;qt.useForm=pW;qt.useFormInstance=Jve;qt.useWatch=tH;qt.Provider=rH;qt.create=()=>{};function YM(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function Tm(e,t,n,r){var a=ap.unstable_batchedUpdates?function(i){ap.unstable_batchedUpdates(n,i)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,a,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,a,r)}}}function ebe(e,t,n){return typeof n=="boolean"?n:e.length?!0:or(t).some(a=>a.type===Zb)}const tbe=e=>{const{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:a,lightTriggerColor:o}=e;return{[`${t}-sider-light`]:{background:r,[`${t}-sider-trigger`]:{color:o,background:a},[`${t}-sider-zero-width-trigger`]:{color:o,background:a,border:`1px solid ${n}`,borderInlineStart:0}}}},nbe=e=>{const{antCls:t,componentCls:n,colorText:r,triggerColor:a,footerBg:o,triggerBg:i,headerHeight:s,headerPadding:c,headerColor:u,footerPadding:d,triggerHeight:f,zeroTriggerHeight:p,zeroTriggerWidth:g,motionDurationMid:v,motionDurationSlow:m,fontSize:h,borderRadius:y,bodyBg:b,headerBg:S,siderBg:w}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:b,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},[`${n}-sider`]:{position:"relative",minWidth:0,background:w,transition:`all ${v}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:f},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:f,color:a,lineHeight:W(f),textAlign:"center",background:i,cursor:"pointer",transition:`all ${v}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(g).mul(-1).equal(),zIndex:1,width:g,height:p,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:w,borderStartStartRadius:0,borderStartEndRadius:y,borderEndEndRadius:y,borderEndStartRadius:0,cursor:"pointer",transition:`background ${m} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${m}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(g).mul(-1).equal(),borderStartStartRadius:y,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:y}}}}},tbe(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,padding:c,color:u,lineHeight:W(s),background:S,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:h,background:o},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},rbe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:a,controlHeightSM:o,marginXXS:i,colorTextLightSolid:s,colorBgContainer:c}=e,u=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${u}px`,headerColor:a,footerPadding:`${o}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+i*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:c,lightTriggerBg:c,lightTriggerColor:a}},vW=Kt("Layout",e=>[nbe(e)],rbe,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var bW=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);al.forwardRef((i,s)=>l.createElement(a,Object.assign({ref:s,suffixCls:t,tagName:n},i)))}const j$=l.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:a,tagName:o}=e,i=bW(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=l.useContext(ot),c=s("layout",n),[u,d,f]=vW(c),p=r?`${c}-${r}`:c;return u(l.createElement(o,Object.assign({className:ne(n||p,a,d,f),ref:t},i)))}),abe=l.forwardRef((e,t)=>{const{direction:n}=l.useContext(ot),[r,a]=l.useState([]),{prefixCls:o,className:i,rootClassName:s,children:c,hasSider:u,tagName:d,style:f}=e,p=bW(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),g=gn(p,["suffixCls"]),{getPrefixCls:v,layout:m}=l.useContext(ot),h=v("layout",o),y=ebe(r,c,u),[b,S,w]=vW(h),x=ne(h,{[`${h}-has-sider`]:y,[`${h}-rtl`]:n==="rtl"},m==null?void 0:m.className,i,s,S,w),E=l.useMemo(()=>({siderHook:{addSider:I=>{a(R=>[].concat($e(R),[I]))},removeSider:I=>{a(R=>R.filter(T=>T!==I))}}}),[]);return b(l.createElement(vU.Provider,{value:E},l.createElement(d,Object.assign({ref:t,className:x,style:Object.assign(Object.assign({},m==null?void 0:m.style),f)},g),c)))}),obe=d0({tagName:"div",displayName:"Layout"})(abe),yW=d0({suffixCls:"header",tagName:"header",displayName:"Header"})(j$),SW=d0({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(j$),wW=d0({suffixCls:"content",tagName:"main",displayName:"Content"})(j$),gi=obe;gi.Header=yW;gi.Footer=SW;gi.Content=wW;gi.Sider=Zb;gi._InternalSiderContext=Xb;const CW=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const a=n[r];a!==void 0&&(e[r]=a)})}return e};var ibe={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"},sbe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:ibe}))},XM=l.forwardRef(sbe),lbe={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"},cbe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:lbe}))},ZM=l.forwardRef(cbe),ube={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:"页码"},dbe=["10","20","50","100"],fbe=function(t){var n=t.pageSizeOptions,r=n===void 0?dbe:n,a=t.locale,o=t.changeSize,i=t.pageSize,s=t.goButton,c=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,f=t.selectPrefixCls,p=t.disabled,g=t.buildOptionText,v=le.useState(""),m=se(v,2),h=m[0],y=m[1],b=function(){return!h||Number.isNaN(h)?void 0:Number(h)},S=typeof g=="function"?g:function(A){return"".concat(A," ").concat(a.items_per_page)},w=function(O){o==null||o(Number(O))},x=function(O){y(O.target.value)},E=function(O){s||h===""||(y(""),!(O.relatedTarget&&(O.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||O.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(c==null||c(b())))},I=function(O){h!==""&&(O.keyCode===Me.ENTER||O.type==="click")&&(y(""),c==null||c(b()))},R=function(){return r.some(function(O){return O.toString()===i.toString()})?r:r.concat([i.toString()]).sort(function(O,N){var k=Number.isNaN(Number(O))?0:Number(O),M=Number.isNaN(Number(N))?0:Number(N);return k-M})},T="".concat(u,"-options");if(!o&&!c)return null;var _=null,$=null,D=null;if(o&&d){var P=R().map(function(A,O){return le.createElement(d.Option,{key:O,value:A.toString()},S(A))});_=le.createElement(d,{disabled:p,prefixCls:f,showSearch:!1,className:"".concat(T,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(i||r[0]).toString(),onChange:w,getPopupContainer:function(O){return O.parentNode},"aria-label":a.page_size,defaultOpen:!1},P)}return c&&(s&&(D=typeof s=="boolean"?le.createElement("button",{type:"button",onClick:I,onKeyUp:I,disabled:p,className:"".concat(T,"-quick-jumper-button")},a.jump_to_confirm):le.createElement("span",{onClick:I,onKeyUp:I},s)),$=le.createElement("div",{className:"".concat(T,"-quick-jumper")},a.jump_to,le.createElement("input",{disabled:p,type:"text",value:h,onChange:x,onKeyUp:I,onBlur:E,"aria-label":a.page}),a.page,D)),le.createElement("li",{className:T},_,$)},Hd=function(t){var n,r=t.rootPrefixCls,a=t.page,o=t.active,i=t.className,s=t.showTitle,c=t.onClick,u=t.onKeyPress,d=t.itemRender,f="".concat(r,"-item"),p=ne(f,"".concat(f,"-").concat(a),(n={},V(n,"".concat(f,"-active"),o),V(n,"".concat(f,"-disabled"),!a),n),i),g=function(){c(a)},v=function(y){u(y,c,a)},m=d(a,"page",le.createElement("a",{rel:"nofollow"},a));return m?le.createElement("li",{title:s?String(a):null,className:p,onClick:g,onKeyDown:v,tabIndex:0},m):null},pbe=function(t,n,r){return r};function QM(){}function JM(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function ll(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var gbe=function(t){var n,r=t.prefixCls,a=r===void 0?"rc-pagination":r,o=t.selectPrefixCls,i=o===void 0?"rc-select":o,s=t.className,c=t.selectComponentClass,u=t.current,d=t.defaultCurrent,f=d===void 0?1:d,p=t.total,g=p===void 0?0:p,v=t.pageSize,m=t.defaultPageSize,h=m===void 0?10:m,y=t.onChange,b=y===void 0?QM:y,S=t.hideOnSinglePage,w=t.align,x=t.showPrevNextJumpers,E=x===void 0?!0:x,I=t.showQuickJumper,R=t.showLessItems,T=t.showTitle,_=T===void 0?!0:T,$=t.onShowSizeChange,D=$===void 0?QM:$,P=t.locale,A=P===void 0?ube:P,O=t.style,N=t.totalBoundaryShowSizeChanger,k=N===void 0?50:N,M=t.disabled,L=t.simple,F=t.showTotal,j=t.showSizeChanger,B=t.pageSizeOptions,z=t.itemRender,H=z===void 0?pbe:z,U=t.jumpPrevIcon,Z=t.jumpNextIcon,q=t.prevIcon,Y=t.nextIcon,ee=le.useRef(null),te=Qt(10,{value:v,defaultValue:h}),X=se(te,2),ie=X[0],re=X[1],G=Qt(1,{value:u,defaultValue:f,postState:function(yt){return Math.max(1,Math.min(yt,ll(void 0,ie,g)))}}),Q=se(G,2),ae=Q[0],oe=Q[1],de=le.useState(ae),ve=se(de,2),ye=ve[0],ge=ve[1];l.useEffect(function(){ge(ae)},[ae]);var J=Math.max(1,ae-(R?3:5)),ce=Math.min(ll(void 0,ie,g),ae+(R?3:5));function ue(ht,yt){var Tt=ht||le.createElement("button",{type:"button","aria-label":yt,className:"".concat(a,"-item-link")});return typeof ht=="function"&&(Tt=le.createElement(ht,K({},t))),Tt}function fe(ht){var yt=ht.target.value,Tt=ll(void 0,ie,g),mn;return yt===""?mn=yt:Number.isNaN(Number(yt))?mn=ye:yt>=Tt?mn=Tt:mn=Number(yt),mn}function pe(ht){return JM(ht)&&ht!==ae&&JM(g)&&g>0}var xe=g>ie?I:!1;function Te(ht){(ht.keyCode===Me.UP||ht.keyCode===Me.DOWN)&&ht.preventDefault()}function Pe(ht){var yt=fe(ht);switch(yt!==ye&&ge(yt),ht.keyCode){case Me.ENTER:Be(yt);break;case Me.UP:Be(yt-1);break;case Me.DOWN:Be(yt+1);break}}function ke(ht){Be(fe(ht))}function Ue(ht){var yt=ll(ht,ie,g),Tt=ae>yt&&yt!==0?yt:ae;re(ht),ge(Tt),D==null||D(ae,ht),oe(Tt),b==null||b(Tt,ht)}function Be(ht){if(pe(ht)&&!M){var yt=ll(void 0,ie,g),Tt=ht;return ht>yt?Tt=yt:ht<1&&(Tt=1),Tt!==ye&&ge(Tt),oe(Tt),b==null||b(Tt,ie),Tt}return ae}var De=ae>1,Se=aek;function Ce(){De&&Be(ae-1)}function Re(){Se&&Be(ae+1)}function he(){Be(J)}function Ee(){Be(ce)}function je(ht,yt){if(ht.key==="Enter"||ht.charCode===Me.ENTER||ht.keyCode===Me.ENTER){for(var Tt=arguments.length,mn=new Array(Tt>2?Tt-2:0),Gn=2;Gng?g:ae*ie])),We=null,Ze=ll(void 0,ie,g);if(S&&g<=ie)return null;var Ye=[],at={rootPrefixCls:a,onClick:Be,onKeyPress:je,showTitle:_,itemRender:H,page:-1},wt=ae-1>0?ae-1:0,Ct=ae+1=st*2&&ae!==3&&(Ye[0]=le.cloneElement(Ye[0],{className:ne("".concat(a,"-item-after-jump-prev"),Ye[0].props.className)}),Ye.unshift(Xe)),Ze-ae>=st*2&&ae!==Ze-2){var tt=Ye[Ye.length-1];Ye[Ye.length-1]=le.cloneElement(tt,{className:ne("".concat(a,"-item-before-jump-next"),tt.props.className)}),Ye.push(We)}He!==1&&Ye.unshift(le.createElement(Hd,be({},at,{key:1,page:1}))),Fe!==Ze&&Ye.push(le.createElement(Hd,be({},at,{key:Ze,page:Ze})))}var bt=Le(wt);if(bt){var xt=!De||!Ze;bt=le.createElement("li",{title:_?A.prev_page:null,onClick:Ce,tabIndex:xt?null:0,onKeyDown:Ae,className:ne("".concat(a,"-prev"),V({},"".concat(a,"-disabled"),xt)),"aria-disabled":xt},bt)}var Wt=Ke(Ct);if(Wt){var Yt,Vt;L?(Yt=!Se,Vt=De?0:null):(Yt=!Se||!Ze,Vt=Yt?null:0),Wt=le.createElement("li",{title:_?A.next_page:null,onClick:Re,tabIndex:Vt,onKeyDown:Ne,className:ne("".concat(a,"-next"),V({},"".concat(a,"-disabled"),Yt)),"aria-disabled":Yt},Wt)}var en=ne(a,s,(n={},V(n,"".concat(a,"-start"),w==="start"),V(n,"".concat(a,"-center"),w==="center"),V(n,"".concat(a,"-end"),w==="end"),V(n,"".concat(a,"-simple"),L),V(n,"".concat(a,"-disabled"),M),n));return le.createElement("ul",be({className:en,style:O,ref:ee},ut),pt,bt,L?Qe:Ye,Wt,le.createElement(fbe,{locale:A,rootPrefixCls:a,disabled:M,selectComponentClass:c,selectPrefixCls:i,changeSize:_e?Ue:null,pageSize:ie,pageSizeOptions:B,quickGo:xe?Be:null,goButton:it}))};const xW=e=>l.createElement(mr,Object.assign({},e,{showSearch:!0,size:"small"})),EW=e=>l.createElement(mr,Object.assign({},e,{showSearch:!0,size:"middle"}));xW.Option=mr.Option;EW.Option=mr.Option;const mbe=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},hbe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:W(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:W(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:W(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` &${t}-mini ${t}-prev ${t}-item-link, &${t}-mini ${t}-next ${t}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:W(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:W(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:W(e.itemSizeSM),input:Object.assign(Object.assign({},_$(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},vbe=e=>{const{componentCls:t}=e;return{[` @@ -387,7 +387,7 @@ html body { ${t}-next, ${t}-jump-prev, ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:W(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${W(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto",[`${n}-select-arrow:not(:last-child)`]:{opacity:1}},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:W(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},vg(e)),x$(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},o0(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},ybe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:W(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${W(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${W(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},Sbe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:W(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ybe(e)),bbe(e)),vbe(e)),hbe(e)),mbe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},wbe=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},ui(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Vi(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Vi(e))}}}},IW=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},hg(e)),TW=e=>Pt(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},mg(e)),Cbe=Kt("Pagination",e=>{const t=TW(e);return[Sbe(t),wbe(t)]},IW),xbe=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},Ebe=Ju(["Pagination","bordered"],e=>{const t=TW(e);return[xbe(t)]},IW);var Ibe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{align:t,prefixCls:n,selectPrefixCls:r,className:a,rootClassName:o,style:i,size:s,locale:c,selectComponentClass:u,responsive:d,showSizeChanger:f}=e,p=Ibe(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:g}=Wb(d),[,b]=Mr(),{getPrefixCls:m,direction:h,pagination:y={}}=l.useContext(ot),v=m("pagination",n),[S,w,x]=Cbe(v),E=f??y.showSizeChanger,I=l.useMemo(()=>{const O=l.createElement("span",{className:`${v}-item-ellipsis`},"•••"),N=l.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},h==="rtl"?l.createElement(js,null):l.createElement(wp,null)),k=l.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},h==="rtl"?l.createElement(wp,null):l.createElement(js,null)),M=l.createElement("a",{className:`${v}-item-link`},l.createElement("div",{className:`${v}-item-container`},h==="rtl"?l.createElement(ZM,{className:`${v}-item-link-icon`}):l.createElement(XM,{className:`${v}-item-link-icon`}),O)),L=l.createElement("a",{className:`${v}-item-link`},l.createElement("div",{className:`${v}-item-container`},h==="rtl"?l.createElement(XM,{className:`${v}-item-link-icon`}):l.createElement(ZM,{className:`${v}-item-link-icon`}),O));return{prevIcon:N,nextIcon:k,jumpPrevIcon:M,jumpNextIcon:L}},[h,v]),[R]=mi("Pagination",j7),T=Object.assign(Object.assign({},R),c),_=cr(s),$=_==="small"||!!(g&&!_&&d),D=m("select",r),P=ne({[`${v}-${t}`]:!!t,[`${v}-mini`]:$,[`${v}-rtl`]:h==="rtl",[`${v}-bordered`]:b.wireframe},y==null?void 0:y.className,a,o,w,x),A=Object.assign(Object.assign({},y==null?void 0:y.style),i);return S(l.createElement(l.Fragment,null,b.wireframe&&l.createElement(Ebe,{prefixCls:v}),l.createElement(gbe,Object.assign({},I,p,{style:A,prefixCls:v,selectPrefixCls:D,className:P,selectComponentClass:u||($?xW:EW),locale:T,showSizeChanger:E}))))},Tv=100,RW=Tv/5,_W=Tv/2-RW/2,SS=_W*2*Math.PI,eD=50,tD=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return l.createElement("circle",{className:ne(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:_W,cx:eD,cy:eD,strokeWidth:RW,style:n})},Tbe=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,a=`${r}-holder`,o=`${a}-hidden`,[i,s]=l.useState(!1);zt(()=>{t!==0&&s(!0)},[t!==0]);const c=Math.max(Math.min(t,100),0);if(!i)return null;const u={strokeDashoffset:`${SS/4}`,strokeDasharray:`${SS*c/100} ${SS*(100-c)/100}`};return l.createElement("span",{className:ne(a,`${r}-progress`,c<=0&&o)},l.createElement("svg",{viewBox:`0 0 ${Tv} ${Tv}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},l.createElement(tD,{dotClassName:r,hasCircleCls:!0}),l.createElement(tD,{dotClassName:r,style:u})))};function Rbe(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,a=`${r}-holder`,o=`${a}-hidden`;return l.createElement(l.Fragment,null,l.createElement("span",{className:ne(a,n>0&&o)},l.createElement("span",{className:ne(r,`${t}-dot-spin`)},[1,2,3,4].map(i=>l.createElement("i",{className:`${t}-dot-item`,key:i})))),l.createElement(Tbe,{prefixCls:t,percent:n}))}function _be(e){const{prefixCls:t,indicator:n,percent:r}=e,a=`${t}-dot`;return n&&l.isValidElement(n)?lr(n,{className:ne(n.props.className,a),percent:r}):l.createElement(Rbe,{prefixCls:t,percent:r})}const $be=new Jt("antSpinMove",{to:{opacity:1}}),Obe=new Jt("antRotate",{to:{transform:"rotate(405deg)"}}),Nbe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${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 ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:$be,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&: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:Obe,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},kbe=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},Abe=Kt("Spin",e=>{const t=Pt(e,{spinDotDefault:e.colorTextDescription});return[Nbe(t)]},kbe),Mbe=200,nD=[[30,.05],[70,.03],[96,.01]];function Dbe(e,t){const[n,r]=l.useState(0),a=l.useRef(),o=t==="auto";return l.useEffect(()=>(o&&e&&(r(0),a.current=setInterval(()=>{r(i=>{const s=100-i;for(let c=0;c{clearInterval(a.current)}),[o,e]),o?n:t}var Pbe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,spinning:r=!0,delay:a=0,className:o,rootClassName:i,size:s="default",tip:c,wrapperClassName:u,style:d,children:f,fullscreen:p=!1,indicator:g,percent:b}=e,m=Pbe(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:h,direction:y,spin:v}=l.useContext(ot),S=h("spin",n),[w,x,E]=Abe(S),[I,R]=l.useState(()=>r&&!Lbe(r,a)),T=Dbe(I,b);l.useEffect(()=>{if(r){const N=mge(a,()=>{R(!0)});return N(),()=>{var k;(k=N==null?void 0:N.cancel)===null||k===void 0||k.call(N)}}R(!1)},[a,r]);const _=l.useMemo(()=>typeof f<"u"&&!p,[f,p]),$=ne(S,v==null?void 0:v.className,{[`${S}-sm`]:s==="small",[`${S}-lg`]:s==="large",[`${S}-spinning`]:I,[`${S}-show-text`]:!!c,[`${S}-rtl`]:y==="rtl"},o,!p&&i,x,E),D=ne(`${S}-container`,{[`${S}-blur`]:I}),P=(t=g??(v==null?void 0:v.indicator))!==null&&t!==void 0?t:$W,A=Object.assign(Object.assign({},v==null?void 0:v.style),d),O=l.createElement("div",Object.assign({},m,{style:A,className:$,"aria-live":"polite","aria-busy":I}),l.createElement(_be,{prefixCls:S,indicator:P,percent:T}),c&&(_||p)?l.createElement("div",{className:`${S}-text`},c):null);return w(_?l.createElement("div",Object.assign({},m,{className:ne(`${S}-nested-loading`,u,x,E)}),I&&l.createElement("div",{key:"loading"},O),l.createElement("div",{className:D,key:"container"},f)):p?l.createElement("div",{className:ne(`${S}-fullscreen`,{[`${S}-fullscreen-show`]:I},i,x,E)},O):O)};z$.setDefaultIndicator=e=>{$W=e};const H$=le.createContext({});H$.Consumer;var 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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,avatar:r,title:a,description:o}=e,i=OW(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=l.useContext(ot),c=s("list",t),u=ne(`${c}-item-meta`,n),d=le.createElement("div",{className:`${c}-item-meta-content`},a&&le.createElement("h4",{className:`${c}-item-meta-title`},a),o&&le.createElement("div",{className:`${c}-item-meta-description`},o));return le.createElement("div",Object.assign({},i,{className:u}),r&&le.createElement("div",{className:`${c}-item-meta-avatar`},r),(a||o)&&d)},jbe=le.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:a,extra:o,styles:i,className:s,classNames:c,colStyle:u}=e,d=OW(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:f,itemLayout:p}=l.useContext(H$),{getPrefixCls:g,list:b}=l.useContext(ot),m=I=>{var R,T;return ne((T=(R=b==null?void 0:b.item)===null||R===void 0?void 0:R.classNames)===null||T===void 0?void 0:T[I],c==null?void 0:c[I])},h=I=>{var R,T;return Object.assign(Object.assign({},(T=(R=b==null?void 0:b.item)===null||R===void 0?void 0:R.styles)===null||T===void 0?void 0:T[I]),i==null?void 0:i[I])},y=()=>{let I=!1;return l.Children.forEach(r,R=>{typeof R=="string"&&(I=!0)}),I&&l.Children.count(r)>1},v=()=>p==="vertical"?!!o:!y(),S=g("list",n),w=a&&a.length>0&&le.createElement("ul",{className:ne(`${S}-item-action`,m("actions")),key:"actions",style:h("actions")},a.map((I,R)=>le.createElement("li",{key:`${S}-item-action-${R}`},I,R!==a.length-1&&le.createElement("em",{className:`${S}-item-action-split`})))),x=f?"div":"li",E=le.createElement(x,Object.assign({},d,f?{}:{ref:t},{className:ne(`${S}-item`,{[`${S}-item-no-flex`]:!v()},s)}),p==="vertical"&&o?[le.createElement("div",{className:`${S}-item-main`,key:"content"},r,w),le.createElement("div",{className:ne(`${S}-item-extra`,m("extra")),key:"extra",style:h("extra")},o)]:[r,w,lr(o,{key:"extra"})]);return f?le.createElement(En,{ref:t,flex:1,style:u},E):E}),bu=jbe;bu.Meta=Fbe;const Bbe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,itemPaddingSM:o,itemPaddingLG:i,marginLG:s,borderRadiusLG:c}=e;return{[t]:{border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${W(a)} ${W(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}}}},zbe=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:a,marginSM:o,margin:i}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${W(i)}`}}}}}},Hbe=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:a,paddingSM:o,marginLG:i,padding:s,itemPadding:c,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:f,paddingXS:p,margin:g,colorText:b,colorTextDescription:m,motionDurationSlow:h,lineWidth:y,headerBg:v,footerBg:S,emptyTextPadding:w,metaMarginBottom:x,avatarMarginRight:E,titleMarginBottom:I,descriptionFontSize:R}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:S},[`${t}-header, ${t}-footer`]:{paddingBlock:o},[`${t}-pagination`]:{marginBlockStart:i,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:b,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:E},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:b},[`${t}-item-meta-title`]:{margin:`0 0 ${W(e.marginXXS)} 0`,color:b,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:b,transition:`all ${h}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:m,fontSize:R,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${W(p)}`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:y,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${W(s)} 0`,color:m,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:w,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:g,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:i},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:I,color:b,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${W(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:f},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},Ube=e=>({contentWidth:220,itemPadding:`${W(e.paddingContentVertical)} 0`,itemPaddingSM:`${W(e.paddingContentVerticalSM)} ${W(e.paddingContentHorizontal)}`,itemPaddingLG:`${W(e.paddingContentVerticalLG)} ${W(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),Vbe=Kt("List",e=>{const t=Pt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Hbe(t),Bbe(t),zbe(t)]},Ube);var Wbe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a(ge,J)=>{var ce;I(ge),T(J),t&&((ce=t==null?void 0:t[ye])===null||ce===void 0||ce.call(t,ge,J))},N=O("onChange"),k=O("onShowSizeChange"),M=(ye,ge)=>{if(!v)return null;let J;return typeof y=="function"?J=y(ye):y?J=ye[y]:J=ye.key,J||(J=`list-item-${ge}`),l.createElement(l.Fragment,{key:J},v(ye,ge))},L=()=>!!(d||t||m),F=_("list",n),[j,B,z]=Vbe(F);let H=h;typeof H=="boolean"&&(H={spinning:H});const U=!!(H!=null&&H.spinning),Z=cr(g);let q="";switch(Z){case"large":q="lg";break;case"small":q="sm";break}const Y=ne(F,{[`${F}-vertical`]:u==="vertical",[`${F}-${q}`]:q,[`${F}-split`]:a,[`${F}-bordered`]:r,[`${F}-loading`]:U,[`${F}-grid`]:!!f,[`${F}-something-after-last-item`]:L(),[`${F}-rtl`]:D==="rtl"},P==null?void 0:P.className,o,i,B,z),te=CW(A,{total:p.length,current:E,pageSize:R},t||{}),ee=Math.ceil(te.total/te.pageSize);te.current>ee&&(te.current=ee);const X=t&&l.createElement("div",{className:ne(`${F}-pagination`)},l.createElement(B$,Object.assign({align:"end"},te,{onChange:N,onShowSizeChange:k})));let ie=$e(p);t&&p.length>(te.current-1)*te.pageSize&&(ie=$e(p).splice((te.current-1)*te.pageSize,te.pageSize));const re=Object.keys(f||{}).some(ye=>["xs","sm","md","lg","xl","xxl"].includes(ye)),G=Wb(re),Q=l.useMemo(()=>{for(let ye=0;ye{if(!f)return;const ye=Q&&f[Q]?f[Q]:f.column;if(ye)return{width:`${100/ye}%`,maxWidth:`${100/ye}%`}},[JSON.stringify(f),Q]);let oe=U&&l.createElement("div",{style:{minHeight:53}});if(ie.length>0){const ye=ie.map((ge,J)=>M(ge,J));oe=f?l.createElement(Ba,{gutter:f.gutter},l.Children.map(ye,ge=>l.createElement("div",{key:ge==null?void 0:ge.key,style:ae},ge))):l.createElement("ul",{className:`${F}-items`},ye)}else!c&&!U&&(oe=l.createElement("div",{className:`${F}-empty-text`},(S==null?void 0:S.emptyText)||($==null?void 0:$("List"))||l.createElement(Hb,{componentName:"List"})));const de=te.position||"bottom",ve=l.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return j(l.createElement(H$.Provider,{value:ve},l.createElement("div",Object.assign({style:Object.assign(Object.assign({},P==null?void 0:P.style),s),className:Y},w),(de==="top"||de==="both")&&X,b&&l.createElement("div",{className:`${F}-header`},b),l.createElement(z$,Object.assign({},H),oe,c),m&&l.createElement("div",{className:`${F}-footer`},m),d||(de==="bottom"||de==="both")&&X)))}Bs.Item=bu;let io=null,xl=e=>e(),Cp=[],xp={};function rD(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:a}=xp,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,duration:t,rtl:n,maxCount:r,top:a}}const Gbe=le.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=l.useContext(ot),o=xp.prefixCls||a("message"),i=l.useContext(Ese),[s,c]=$9(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),i.message));return le.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return r(),s[d].apply(s,arguments)}}),{instance:u,sync:r}}),c}),qbe=le.forwardRef((e,t)=>{const[n,r]=le.useState(rD),a=()=>{r(rD)};le.useEffect(a,[]);const o=h9(),i=o.getRootPrefixCls(),s=o.getIconPrefixCls(),c=o.getTheme(),u=le.createElement(Gbe,{ref:t,sync:a,messageConfig:n});return le.createElement(Ko,{prefixCls:i,iconPrefixCls:s,theme:c},o.holderRender?o.holderRender(u):u)});function f0(){if(!io){const e=document.createDocumentFragment(),t={fragment:e};io=t,xl(()=>{W_(le.createElement(qbe,{ref:n=>{const{instance:r,sync:a}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=a,f0())})}}),e)});return}io.instance&&(Cp.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{xl(()=>{const r=io.instance.open(Object.assign(Object.assign({},xp),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":xl(()=>{io==null||io.instance.destroy(e.key)});break;default:xl(()=>{var r;const a=(r=io.instance)[t].apply(r,$e(e.args));a==null||a.then(e.resolve),e.setCloseFn(a)})}}),Cp=[])}function Kbe(e){xp=Object.assign(Object.assign({},xp),e),xl(()=>{var t;(t=io==null?void 0:io.sync)===null||t===void 0||t.call(io)})}function Ybe(e){const t=V_(n=>{let r;const a={type:"open",config:e,resolve:n,setCloseFn:o=>{r=o}};return Cp.push(a),()=>{r?xl(()=>{r()}):a.skipped=!0}});return f0(),t}function Xbe(e,t){const n=V_(r=>{let a;const o={type:e,args:t,resolve:r,setCloseFn:i=>{a=i}};return Cp.push(o),()=>{a?xl(()=>{a()}):o.skipped=!0}});return f0(),n}const Zbe=e=>{Cp.push({type:"destroy",key:e}),f0()},Qbe=["success","info","warning","error","loading"],Jbe={open:Ybe,destroy:Zbe,config:Kbe,useMessage:rae,_InternalPanelDoNotUseOrYouWillBeFired:Yre},lt=Jbe;Qbe.forEach(e=>{lt[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:o,title:i,children:s,footer:c}=e,u=e0e(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=l.useContext(ot),f=d(),p=t||d("modal"),g=Vn(f),[b,m,h]=fH(p,g),y=`${p}-confirm`;let v={};return o?v={closable:a??!1,title:"",footer:"",children:l.createElement(gH,Object.assign({},e,{prefixCls:p,confirmPrefixCls:y,rootPrefixCls:f,content:s}))}:v={closable:a??!0,title:i,footer:c!==null&&l.createElement(lH,Object.assign({},e)),children:s},b(l.createElement(G9,Object.assign({prefixCls:p,className:ne(m,`${p}-pure-panel`,o&&y,o&&`${y}-${o}`,n,h,g)},u,{closeIcon:sH(p,r),closable:a},v)))},n0e=xH(t0e);function NW(e){return sg(bH(e))}const On=pH;On.useModal=xse;On.info=function(t){return sg(yH(t))};On.success=function(t){return sg(SH(t))};On.error=function(t){return sg(wH(t))};On.warning=NW;On.warn=NW;On.confirm=function(t){return sg(CH(t))};On.destroyAll=function(){for(;wl.length;){const t=wl.pop();t&&t()}};On.config=bse;On._InternalPanelDoNotUseOrYouWillBeFired=n0e;var r0e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},a0e=function(){var t=l.useRef([]),n=l.useRef(null);return l.useEffect(function(){var r=Date.now(),a=!1;t.current.forEach(function(o){if(o){a=!0;var i=o.style;i.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(i.transitionDuration="0s, 0s")}}),a&&(n.current=Date.now())}),t.current},aD=0,o0e=kr();function i0e(){var e;return o0e?(e=aD,aD+=1):e="TEST_OR_SSR",e}const s0e=function(e){var t=l.useState(),n=se(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_progress_".concat(i0e()))},[]),e||r};var oD=function(t){var n=t.bg,r=t.children;return l.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function iD(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),a="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(a)})}var l0e=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,a=e.gradientId,o=e.radius,i=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,f=e.gapDegree,p=r&&ft(r)==="object",g=p?"#FFF":void 0,b=d/2,m=l.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:b,cy:b,stroke:g,strokeLinecap:c,strokeWidth:u,opacity:s===0?0:1,style:i,ref:t});if(!p)return m;var h="".concat(a,"-conic"),y=f?"".concat(180+f/2,"deg"):"0deg",v=iD(r,(360-f)/360),S=iD(r,1),w="conic-gradient(from ".concat(y,", ").concat(v.join(", "),")"),x="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(S.join(", "),")");return l.createElement(l.Fragment,null,l.createElement("mask",{id:h},m),l.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(h,")")},l.createElement(oD,{bg:x},l.createElement(oD,{bg:w}))))}),af=100,wS=function(t,n,r,a,o,i,s,c,u,d){var f=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,p=r/100*360*((360-i)/360),g=i===0?0:{bottom:0,top:180,left:90,right:-90}[s],b=(100-a)/100*n;u==="round"&&a!==100&&(b+=d/2,b>=n&&(b=n-.01));var m=af/2;return{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:b+f,transform:"rotate(".concat(o+p+g,"deg)"),transformOrigin:"".concat(m,"px ").concat(m,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},c0e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function sD(e){var t=e??[];return Array.isArray(t)?t:[t]}var u0e=function(t){var n=K(K({},r0e),t),r=n.id,a=n.prefixCls,o=n.steps,i=n.strokeWidth,s=n.trailWidth,c=n.gapDegree,u=c===void 0?0:c,d=n.gapPosition,f=n.trailColor,p=n.strokeLinecap,g=n.style,b=n.className,m=n.strokeColor,h=n.percent,y=vt(n,c0e),v=af/2,S=s0e(r),w="".concat(S,"-gradient"),x=v-i/2,E=Math.PI*2*x,I=u>0?90+u/2:-90,R=E*((360-u)/360),T=ft(o)==="object"?o:{count:o,gap:2},_=T.count,$=T.gap,D=sD(h),P=sD(m),A=P.find(function(j){return j&&ft(j)==="object"}),O=A&&ft(A)==="object",N=O?"butt":p,k=wS(E,R,0,100,I,u,d,f,N,i),M=a0e(),L=function(){var B=0;return D.map(function(z,H){var U=P[H]||P[P.length-1],Z=wS(E,R,B,z,I,u,d,U,N,i);return B+=z,l.createElement(l0e,{key:H,color:U,ptg:z,radius:x,prefixCls:a,gradientId:w,style:Z,strokeLinecap:N,strokeWidth:i,gapDegree:u,ref:function(Y){M[H]=Y},size:af})}).reverse()},F=function(){var B=Math.round(_*(D[0]/100)),z=100/_,H=0;return new Array(_).fill(null).map(function(U,Z){var q=Z<=B-1?P[0]:f,Y=q&&ft(q)==="object"?"url(#".concat(w,")"):void 0,te=wS(E,R,H,z,I,u,d,q,"butt",i,$);return H+=(R-te.strokeDashoffset+$)*100/R,l.createElement("circle",{key:Z,className:"".concat(a,"-circle-path"),r:x,cx:v,cy:v,stroke:Y,strokeWidth:i,opacity:1,style:te,ref:function(X){M[Z]=X}})})};return l.createElement("svg",be({className:ne("".concat(a,"-circle"),b),viewBox:"0 0 ".concat(af," ").concat(af),style:g,id:r,role:"presentation"},y),!_&&l.createElement("circle",{className:"".concat(a,"-circle-trail"),r:x,cx:v,cy:v,stroke:f,strokeLinecap:N,strokeWidth:s||i,style:k}),_?F():L())};function ks(e){return!e||e<0?0:e>100?100:e}function Rv(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const d0e=e=>{let{percent:t,success:n,successPercent:r}=e;const a=ks(Rv({success:n,successPercent:r}));return[a,ks(ks(t)-a)]},f0e=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||mu.green,n||null]},p0=(e,t,n)=>{var r,a,o,i;let s=-1,c=-1;if(t==="step"){const u=n.steps,d=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,c=d??8):typeof e=="number"?[s,c]=[e,e]:[s=14,c=8]=Array.isArray(e)?e:[e.width,e.height],s*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?c=u||(e==="small"?6:8):typeof e=="number"?[s,c]=[e,e]:[s=-1,c=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,c]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,c]=[e,e]:Array.isArray(e)&&(s=(a=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&a!==void 0?a:120,c=(i=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&i!==void 0?i:120));return[s,c]},p0e=3,g0e=e=>p0e/e*100,m0e=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:a,gapDegree:o,width:i=120,type:s,children:c,success:u,size:d=i,steps:f}=e,[p,g]=p0(d,"circle");let{strokeWidth:b}=e;b===void 0&&(b=Math.max(g0e(p),6));const m={width:p,height:g,fontSize:p*.15+6},h=l.useMemo(()=>{if(o||o===0)return o;if(s==="dashboard")return 75},[o,s]),y=d0e(e),v=a||s==="dashboard"&&"bottom"||void 0,S=Object.prototype.toString.call(e.strokeColor)==="[object Object]",w=f0e({success:u,strokeColor:e.strokeColor}),x=ne(`${t}-inner`,{[`${t}-circle-gradient`]:S}),E=l.createElement(u0e,{steps:f,percent:f?y[1]:y,strokeWidth:b,trailWidth:b,strokeColor:f?w[1]:w,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:h,gapPosition:v}),I=p<=20,R=l.createElement("div",{className:x,style:m},E,!I&&c);return I?l.createElement(rn,{title:c},R):R},_v="--progress-line-stroke-color",kW="--progress-percent",lD=e=>{const t=e?"100%":"-100%";return new Jt(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},h0e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${_v})`]},height:"100%",width:`calc(1 / var(${kW}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${W(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:lD(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:lD(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},v0e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},b0e=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},y0e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},S0e=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),w0e=Kt("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Pt(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[h0e(n),v0e(n),b0e(n),y0e(n)]},S0e);var C0e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:a}=n;return`${a} ${r}%`}).join(", ")},E0e=(e,t)=>{const{from:n=mu.blue,to:r=mu.blue,direction:a=t==="rtl"?"to left":"to right"}=e,o=C0e(e,["from","to","direction"]);if(Object.keys(o).length!==0){const s=x0e(o),c=`linear-gradient(${a}, ${s})`;return{background:c,[_v]:c}}const i=`linear-gradient(${a}, ${n}, ${r})`;return{background:i,[_v]:i}},I0e=e=>{const{prefixCls:t,direction:n,percent:r,size:a,strokeWidth:o,strokeColor:i,strokeLinecap:s="round",children:c,trailColor:u=null,percentPosition:d,success:f}=e,{align:p,type:g}=d,b=i&&typeof i!="string"?E0e(i,n):{[_v]:i,background:i},m=s==="square"||s==="butt"?0:void 0,h=a??[-1,o||(a==="small"?6:8)],[y,v]=p0(h,"line",{strokeWidth:o}),S={backgroundColor:u||void 0,borderRadius:m},w=Object.assign(Object.assign({width:`${ks(r)}%`,height:v,borderRadius:m},b),{[kW]:ks(r)/100}),x=Rv(e),E={width:`${ks(x)}%`,height:v,borderRadius:m,backgroundColor:f==null?void 0:f.strokeColor},I={width:y<0?"100%":y},R=l.createElement("div",{className:`${t}-inner`,style:S},l.createElement("div",{className:ne(`${t}-bg`,`${t}-bg-${g}`),style:w},g==="inner"&&c),x!==void 0&&l.createElement("div",{className:`${t}-success-bg`,style:E})),T=g==="outer"&&p==="start",_=g==="outer"&&p==="end";return g==="outer"&&p==="center"?l.createElement("div",{className:`${t}-layout-bottom`},R,c):l.createElement("div",{className:`${t}-outer`,style:I},T&&c,R,_&&c)},T0e=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:a=8,strokeColor:o,trailColor:i=null,prefixCls:s,children:c}=e,u=Math.round(n*(r/100)),f=t??[t==="small"?2:14,a],[p,g]=p0(f,"step",{steps:n,strokeWidth:a}),b=p/n,m=new Array(n);for(let h=0;h{const{prefixCls:n,className:r,rootClassName:a,steps:o,strokeColor:i,percent:s=0,size:c="default",showInfo:u=!0,type:d="line",status:f,format:p,style:g,percentPosition:b={}}=e,m=R0e(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:h="end",type:y="outer"}=b,v=Array.isArray(i)?i[0]:i,S=typeof i=="string"||Array.isArray(i)?i:void 0,w=l.useMemo(()=>{if(v){const L=typeof v=="string"?v:Object.values(v)[0];return new on(L).isLight()}return!1},[i]),x=l.useMemo(()=>{var L,F;const j=Rv(e);return parseInt(j!==void 0?(L=j??0)===null||L===void 0?void 0:L.toString():(F=s??0)===null||F===void 0?void 0:F.toString(),10)},[s,e.success,e.successPercent]),E=l.useMemo(()=>!_0e.includes(f)&&x>=100?"success":f||"normal",[f,x]),{getPrefixCls:I,direction:R,progress:T}=l.useContext(ot),_=I("progress",n),[$,D,P]=w0e(_),A=d==="line",O=A&&!o,N=l.useMemo(()=>{if(!u)return null;const L=Rv(e);let F;const j=p||(z=>`${z}%`),B=A&&w&&y==="inner";return y==="inner"||p||E!=="exception"&&E!=="success"?F=j(ks(s),ks(L)):E==="exception"?F=A?l.createElement(ic,null):l.createElement(da,null):E==="success"&&(F=A?l.createElement(Qp,null):l.createElement(Ub,null)),l.createElement("span",{className:ne(`${_}-text`,{[`${_}-text-bright`]:B,[`${_}-text-${h}`]:O,[`${_}-text-${y}`]:O}),title:typeof F=="string"?F:void 0},F)},[u,s,x,E,d,_,p]);let k;d==="line"?k=o?l.createElement(T0e,Object.assign({},e,{strokeColor:S,prefixCls:_,steps:typeof o=="object"?o.count:o}),N):l.createElement(I0e,Object.assign({},e,{strokeColor:v,prefixCls:_,direction:R,percentPosition:{align:h,type:y}}),N):(d==="circle"||d==="dashboard")&&(k=l.createElement(m0e,Object.assign({},e,{strokeColor:v,prefixCls:_,progressStatus:E}),N));const M=ne(_,`${_}-status-${E}`,{[`${_}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${_}-inline-circle`]:d==="circle"&&p0(c,"circle")[0]<=20,[`${_}-line`]:O,[`${_}-line-align-${h}`]:O,[`${_}-line-position-${y}`]:O,[`${_}-steps`]:o,[`${_}-show-info`]:u,[`${_}-${c}`]:typeof c=="string",[`${_}-rtl`]:R==="rtl"},T==null?void 0:T.className,r,a,D,P);return $(l.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},T==null?void 0:T.style),g),className:M,role:"progressbar","aria-valuenow":x,"aria-valuemin":0,"aria-valuemax":100},gn(m,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),k))});var $0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},O0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:$0e}))},N0e=l.forwardRef(O0e),k0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},A0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:k0e}))},M0e=l.forwardRef(A0e),D0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},P0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:D0e}))},L0e=l.forwardRef(P0e),F0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},j0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:F0e}))},B0e=l.forwardRef(j0e),z0e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},H0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:z0e}))},U0e=l.forwardRef(H0e),V0e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},W0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:V0e}))},G0e=l.forwardRef(W0e),q0e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},K0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:q0e}))},Y0e=l.forwardRef(K0e),X0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"},Z0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:X0e}))},cD=l.forwardRef(Z0e),Q0e={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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},J0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Q0e}))},uD=l.forwardRef(J0e),eye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},tye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:eye}))},nye=l.forwardRef(tye),rye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},aye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:rye}))},dD=l.forwardRef(aye),oye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},iye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:oye}))},sye=l.forwardRef(iye),lye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},cye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:lye}))},uye=l.forwardRef(cye),dye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},fye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:dye}))},pye=l.forwardRef(fye),gye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},mye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:gye}))},hye=l.forwardRef(mye),vye={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"},bye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:vye}))},AW=l.forwardRef(bye),yye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Sye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:yye}))},Ep=l.forwardRef(Sye),wye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},Cye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:wye}))},CS=l.forwardRef(Cye),xye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},Eye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:xye}))},Iye=l.forwardRef(Eye),Tye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Rye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Tye}))},U$=l.forwardRef(Rye),_ye={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"},$ye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:_ye}))},m0=l.forwardRef($ye),Oye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},Nye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Oye}))},kye=l.forwardRef(Nye),Aye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},Mye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Aye}))},Dye=l.forwardRef(Mye),Pye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Lye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Pye}))},MW=l.forwardRef(Lye),Fye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},jye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Fye}))},Bye=l.forwardRef(jye),zye={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"},Hye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:zye}))},Uye=l.forwardRef(Hye),Vye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Wye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Vye}))},Gye=l.forwardRef(Wye),qye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},Kye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:qye}))},Yye=l.forwardRef(Kye),Xye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},Zye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Xye}))},Qye=l.forwardRef(Zye),Jye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},eSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Jye}))},V$=l.forwardRef(eSe),tSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},nSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:tSe}))},rSe=l.forwardRef(nSe),aSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},oSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:aSe}))},iSe=l.forwardRef(oSe),sSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},lSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:sSe}))},cSe=l.forwardRef(lSe),uSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},dSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:uSe}))},fSe=l.forwardRef(dSe),pSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},gSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:pSe}))},mSe=l.forwardRef(gSe),hSe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},vSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:hSe}))},DW=l.forwardRef(vSe),bSe={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"},ySe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:bSe}))},iu=l.forwardRef(ySe),SSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},wSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:SSe}))},CSe=l.forwardRef(wSe),xSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},ESe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:xSe}))},ISe=l.forwardRef(ESe),TSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},RSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:TSe}))},_Se=l.forwardRef(RSe),$Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},OSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:$Se}))},NSe=l.forwardRef(OSe),kSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},ASe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:kSe}))},MSe=l.forwardRef(ASe),DSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},PSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:DSe}))},LSe=l.forwardRef(PSe),FSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},jSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:FSe}))},BSe=l.forwardRef(jSe),zSe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},HSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:zSe}))},USe=l.forwardRef(HSe),VSe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},WSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:VSe}))},GSe=l.forwardRef(WSe),qSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},KSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:qSe}))},YSe=l.forwardRef(KSe),XSe={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},ZSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:XSe}))},fD=l.forwardRef(ZSe),QSe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"},JSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:QSe}))},e1e=l.forwardRef(JSe),t1e={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"},n1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:t1e}))},El=l.forwardRef(n1e),r1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},a1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:r1e}))},o1e=l.forwardRef(a1e),i1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},s1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:i1e}))},l1e=l.forwardRef(s1e),c1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},u1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:c1e}))},pD=l.forwardRef(u1e),d1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},f1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:d1e}))},PW=l.forwardRef(f1e),p1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-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 176h256v112H384V176zm128 554c-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:"filled"},g1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:p1e}))},LW=l.forwardRef(g1e),m1e={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"},h1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:m1e}))},v1e=l.forwardRef(h1e),b1e={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"},y1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:b1e}))},W$=l.forwardRef(y1e),S1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},w1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:S1e}))},C1e=l.forwardRef(w1e),x1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},E1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:x1e}))},FW=l.forwardRef(E1e),I1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},T1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:I1e}))},R1e=l.forwardRef(T1e),_1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},$1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:_1e}))},O1e=l.forwardRef($1e),N1e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},k1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:N1e}))},A1e=l.forwardRef(k1e),M1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},D1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:M1e}))},jW=l.forwardRef(D1e),P1e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},L1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:P1e}))},F1e=l.forwardRef(L1e),j1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},B1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:j1e}))},z1e=l.forwardRef(B1e),H1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},U1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:H1e}))},V1e=l.forwardRef(U1e),W1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},G1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:W1e}))},q1e=l.forwardRef(G1e),K1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},Y1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:K1e}))},BW=l.forwardRef(Y1e),X1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},Z1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:X1e}))},zW=l.forwardRef(Z1e),Q1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},J1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Q1e}))},LT=l.forwardRef(J1e),ewe=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function gD(e){return typeof e=="string"}function HW(e){var t,n=e.className,r=e.prefixCls,a=e.style,o=e.active,i=e.status,s=e.iconPrefix,c=e.icon;e.wrapperStyle;var u=e.stepNumber,d=e.disabled,f=e.description,p=e.title,g=e.subTitle,b=e.progressDot,m=e.stepIcon,h=e.tailContent,y=e.icons,v=e.stepIndex,S=e.onStepClick,w=e.onClick,x=e.render,E=vt(e,ewe),I=!!S&&!d,R={};I&&(R.role="button",R.tabIndex=0,R.onClick=function(A){w==null||w(A),S(v)},R.onKeyDown=function(A){var O=A.which;(O===Me.ENTER||O===Me.SPACE)&&S(v)});var T=function(){var O,N,k=ne("".concat(r,"-icon"),"".concat(s,"icon"),(O={},V(O,"".concat(s,"icon-").concat(c),c&&gD(c)),V(O,"".concat(s,"icon-check"),!c&&i==="finish"&&(y&&!y.finish||!y)),V(O,"".concat(s,"icon-cross"),!c&&i==="error"&&(y&&!y.error||!y)),O)),M=l.createElement("span",{className:"".concat(r,"-icon-dot")});return b?typeof b=="function"?N=l.createElement("span",{className:"".concat(r,"-icon")},b(M,{index:u-1,status:i,title:p,description:f})):N=l.createElement("span",{className:"".concat(r,"-icon")},M):c&&!gD(c)?N=l.createElement("span",{className:"".concat(r,"-icon")},c):y&&y.finish&&i==="finish"?N=l.createElement("span",{className:"".concat(r,"-icon")},y.finish):y&&y.error&&i==="error"?N=l.createElement("span",{className:"".concat(r,"-icon")},y.error):c||i==="finish"||i==="error"?N=l.createElement("span",{className:k}):N=l.createElement("span",{className:"".concat(r,"-icon")},u),m&&(N=m({index:u-1,status:i,title:p,description:f,node:N})),N},_=i||"wait",$=ne("".concat(r,"-item"),"".concat(r,"-item-").concat(_),n,(t={},V(t,"".concat(r,"-item-custom"),c),V(t,"".concat(r,"-item-active"),o),V(t,"".concat(r,"-item-disabled"),d===!0),t)),D=K({},a),P=l.createElement("div",be({},E,{className:$,style:D}),l.createElement("div",be({onClick:w},R,{className:"".concat(r,"-item-container")}),l.createElement("div",{className:"".concat(r,"-item-tail")},h),l.createElement("div",{className:"".concat(r,"-item-icon")},T()),l.createElement("div",{className:"".concat(r,"-item-content")},l.createElement("div",{className:"".concat(r,"-item-title")},p,g&&l.createElement("div",{title:typeof g=="string"?g:void 0,className:"".concat(r,"-item-subtitle")},g)),f&&l.createElement("div",{className:"".concat(r,"-item-description")},f))));return x&&(P=x(P)||null),P}var twe=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function G$(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,a=e.style,o=a===void 0?{}:a,i=e.className;e.children;var s=e.direction,c=s===void 0?"horizontal":s,u=e.type,d=u===void 0?"default":u,f=e.labelPlacement,p=f===void 0?"horizontal":f,g=e.iconPrefix,b=g===void 0?"rc":g,m=e.status,h=m===void 0?"process":m,y=e.size,v=e.current,S=v===void 0?0:v,w=e.progressDot,x=w===void 0?!1:w,E=e.stepIcon,I=e.initial,R=I===void 0?0:I,T=e.icons,_=e.onChange,$=e.itemRender,D=e.items,P=D===void 0?[]:D,A=vt(e,twe),O=d==="navigation",N=d==="inline",k=N||x,M=N?"horizontal":c,L=N?void 0:y,F=k?"vertical":p,j=ne(r,"".concat(r,"-").concat(M),i,(t={},V(t,"".concat(r,"-").concat(L),L),V(t,"".concat(r,"-label-").concat(F),M==="horizontal"),V(t,"".concat(r,"-dot"),!!k),V(t,"".concat(r,"-navigation"),O),V(t,"".concat(r,"-inline"),N),t)),B=function(U){_&&S!==U&&_(U)},z=function(U,Z){var q=K({},U),Y=R+Z;return h==="error"&&Z===S-1&&(q.className="".concat(r,"-next-error")),q.status||(Y===S?q.status=h:Y{const{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:a}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:a,lineHeight:W(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},rwe=e=>{const{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},awe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:a}=e,o=e.calc(e.paddingXS).add(e.lineWidth).equal(),i={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${W(o)} ${W(e.paddingXXS)} 0`,margin:`0 ${W(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${W(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(o).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${W(e.lineWidth)} ${e.lineType} ${a}`}},i),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:a},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:a,border:`${W(e.lineWidth)} ${e.lineType} ${a}`}},i),"&-error":i,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${W(e.calc(n).div(2).equal())})`,top:0}},i),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},owe=e=>{const{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:a}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`0 ${W(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(a).div(2).add(e.controlHeightLG).equal()}}}}}},iwe=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:a,motionDurationSlow:o}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${o}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},vo),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${W(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${W(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:a,transition:`width ${o}, inset-inline-start ${o}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${W(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},swe=e=>{const{antCls:t,componentCls:n,iconSize:r,iconSizeSM:a,processIconColor:o,marginXXS:i,lineWidthBold:s,lineWidth:c,paddingXXS:u}=e,d=e.calc(r).add(e.calc(s).mul(4).equal()).equal(),f=e.calc(a).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:u,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:o}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:u,[`> ${n}-item-container > ${n}-item-tail`]:{top:i,insetInlineStart:e.calc(r).div(2).sub(c).add(u).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:u,paddingInlineStart:u}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(a).div(2).sub(c).add(u).equal()},[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(r).div(2).add(u).equal()},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${W(d)} !important`,height:`${W(d)} !important`}}},[`&${n}-small`]:{[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(a).div(2).add(u).equal()},[`${n}-item-icon ${t}-progress-inner`]:{width:`${W(f)} !important`,height:`${W(f)} !important`}}}}},lwe=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:a,dotSize:o,motionDurationSlow:i}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${W(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${W(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:o,height:o,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal(),paddingInlineEnd:0,lineHeight:W(o),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${i}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(o).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(o).sub(a).div(2).equal(),width:a,height:a,lineHeight:W(a),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(a).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(a).div(2).equal(),top:0,insetInlineStart:e.calc(o).sub(a).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(o).div(2).equal(),insetInlineStart:0,margin:0,padding:`${W(e.calc(o).add(e.paddingXS).equal())} 0 ${W(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(o).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(a).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(o).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},cwe=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},uwe=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:a,colorTextDescription:o}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${W(e.marginXS)}`,fontSize:r,lineHeight:W(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:W(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:o,fontSize:a},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:W(n),transform:"none"}}}}},dwe=e=>{const{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:W(r)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${W(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${W(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${W(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${W(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:W(n)}}}}},fwe="wait",pwe="process",gwe="finish",mwe="error",Rm=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,a=`${e}TitleColor`,o=`${e}DescriptionColor`,i=`${e}TailColor`,s=`${e}IconBgColor`,c=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[s],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[a],"&::after":{backgroundColor:t[i]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[o]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[i]}}},hwe=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,a=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[a]:Object.assign({},Vi(e))}},[`${a}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[a]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:W(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${W(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:W(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},Rm(fwe,e)),Rm(pwe,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),Rm(gwe,e)),Rm(mwe,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},vwe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},bwe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),hwe(e)),vwe(e)),nwe(e)),uwe(e)),dwe(e)),rwe(e)),owe(e)),lwe(e)),iwe(e)),cwe(e)),swe(e)),awe(e))}},ywe=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),Swe=Kt("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:a,colorPrimary:o,colorTextDescription:i,colorTextQuaternary:s,colorError:c,colorBorderSecondary:u,colorSplit:d}=e,f=Pt(e,{processIconColor:r,processTitleColor:a,processDescriptionColor:a,processIconBgColor:o,processIconBorderColor:o,processDotColor:o,processTailColor:d,waitTitleColor:i,waitDescriptionColor:i,waitTailColor:d,waitDotColor:t,finishIconColor:o,finishTitleColor:a,finishDescriptionColor:i,finishTailColor:o,finishDotColor:o,errorIconColor:r,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:d,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:o,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[bwe(f)]},ywe);function wwe(e){return e.filter(t=>t)}function Cwe(e,t){if(e)return e;const n=or(t).map(r=>{if(l.isValidElement(r)){const{props:a}=r;return Object.assign({},a)}return null});return wwe(n)}var xwe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{percent:t,size:n,className:r,rootClassName:a,direction:o,items:i,responsive:s=!0,current:c=0,children:u,style:d}=e,f=xwe(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:p}=Wb(s),{getPrefixCls:g,direction:b,steps:m}=l.useContext(ot),h=l.useMemo(()=>s&&p?"vertical":o,[p,o]),y=cr(n),v=g("steps",e.prefixCls),[S,w,x]=Swe(v),E=e.type==="inline",I=g("",e.iconPrefix),R=Cwe(i,u),T=E?void 0:t,_=Object.assign(Object.assign({},m==null?void 0:m.style),d),$=ne(m==null?void 0:m.className,{[`${v}-rtl`]:b==="rtl",[`${v}-with-progress`]:T!==void 0},r,a,w,x),D={finish:l.createElement(Ub,{className:`${v}-finish-icon`}),error:l.createElement(da,{className:`${v}-error-icon`})},P=O=>{let{node:N,status:k}=O;if(k==="process"&&T!==void 0){const M=y==="small"?32:40;return l.createElement("div",{className:`${v}-progress-icon`},l.createElement(g0,{type:"circle",percent:T,size:M,strokeWidth:4,format:()=>null}),N)}return N},A=(O,N)=>O.description?l.createElement(rn,{title:O.description},N):N;return S(l.createElement(G$,Object.assign({icons:D},f,{style:_,current:c,size:y,items:R,itemRender:E?A:void 0,stepIcon:P,direction:h,prefixCls:v,iconPrefix:I,className:$})))};q$.Step=G$.Step;var Ewe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],UW=l.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,o=e.className,i=e.checked,s=e.defaultChecked,c=e.disabled,u=e.loadingIcon,d=e.checkedChildren,f=e.unCheckedChildren,p=e.onClick,g=e.onChange,b=e.onKeyDown,m=vt(e,Ewe),h=Qt(!1,{value:i,defaultValue:s}),y=se(h,2),v=y[0],S=y[1];function w(R,T){var _=v;return c||(_=R,S(_),g==null||g(_,T)),_}function x(R){R.which===Me.LEFT?w(!1,R):R.which===Me.RIGHT&&w(!0,R),b==null||b(R)}function E(R){var T=w(!v,R);p==null||p(T,R)}var I=ne(a,o,(n={},V(n,"".concat(a,"-checked"),v),V(n,"".concat(a,"-disabled"),c),n));return l.createElement("button",be({},m,{type:"button",role:"switch","aria-checked":v,disabled:c,className:I,ref:t,onKeyDown:x,onClick:E}),u,l.createElement("span",{className:"".concat(a,"-inner")},l.createElement("span",{className:"".concat(a,"-inner-checked")},d),l.createElement("span",{className:"".concat(a,"-inner-unchecked")},f)))});UW.displayName="Switch";const Iwe=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:o,innerMaxMarginSM:i,handleSizeSM:s,calc:c}=e,u=`${t}-inner`,d=W(c(s).add(c(r).mul(2)).equal()),f=W(c(i).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:W(n),[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${u}-checked, ${u}-unchecked`]:{minHeight:n},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${f})`,marginInlineEnd:`calc(100% - ${d} + ${f})`},[`${u}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:c(c(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${f})`,marginInlineEnd:`calc(-100% + ${d} - ${f})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${W(c(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},Twe=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},Rwe=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:o,calc:i}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:o,height:o,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:i(o).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${W(i(o).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},_we=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:o,handleSize:i,calc:s}=e,c=`${t}-inner`,u=W(s(i).add(s(r).mul(2)).equal()),d=W(s(o).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:o,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},$we=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:W(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),ui(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},Owe=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,o=t*n,i=r/2,s=2,c=o-s*2,u=i-s*2;return{trackHeight:o,trackHeightSM:i,trackMinWidth:c*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:a,handleSize:c,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new on("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},Nwe=Kt("Switch",e=>{const t=Pt(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[$we(t),_we(t),Rwe(t),Twe(t),Iwe(t)]},Owe);var kwe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,size:r,disabled:a,loading:o,className:i,rootClassName:s,style:c,checked:u,value:d,defaultChecked:f,defaultValue:p,onChange:g}=e,b=kwe(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[m,h]=Qt(!1,{value:u??d,defaultValue:f??p}),{getPrefixCls:y,direction:v,switch:S}=l.useContext(ot),w=l.useContext(Vr),x=(a??w)||o,E=y("switch",n),I=l.createElement("div",{className:`${E}-handle`},o&&l.createElement(Wi,{className:`${E}-loading-icon`})),[R,T,_]=Nwe(E),$=cr(r),D=ne(S==null?void 0:S.className,{[`${E}-small`]:$==="small",[`${E}-loading`]:o,[`${E}-rtl`]:v==="rtl"},i,s,T,_),P=Object.assign(Object.assign({},S==null?void 0:S.style),c),A=function(){h(arguments.length<=0?void 0:arguments[0]),g==null||g.apply(void 0,arguments)};return R(l.createElement(tg,{component:"Switch"},l.createElement(UW,Object.assign({},b,{checked:m,onChange:A,prefixCls:E,className:D,style:P,disabled:x,ref:t,loadingIcon:I}))))}),va=Awe;va.__ANT_SWITCH=!0;var ds={},Sg="rc-table-internal-hook";function K$(e){var t=l.createContext(void 0),n=function(a){var o=a.value,i=a.children,s=l.useRef(o);s.current=o;var c=l.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=se(c,1),d=u[0];return zt(function(){Sr.unstable_batchedUpdates(function(){d.listeners.forEach(function(f){f(o)})})},[o]),l.createElement(t.Provider,{value:d},i)};return{Context:t,Provider:n,defaultValue:e}}function aa(e,t){var n=Lt(typeof t=="function"?t:function(f){if(t===void 0)return f;if(!Array.isArray(t))return f[t];var p={};return t.forEach(function(g){p[g]=f[g]}),p}),r=l.useContext(e==null?void 0:e.Context),a=r||{},o=a.listeners,i=a.getValue,s=l.useRef();s.current=n(r?i():e==null?void 0:e.defaultValue);var c=l.useState({}),u=se(c,2),d=u[1];return zt(function(){if(!r)return;function f(p){var g=n(p);Uo(s.current,g,!0)||d({})}return o.add(f),function(){o.delete(f)}},[r]),s.current}function Mwe(){var e=l.createContext(null);function t(){return l.useContext(e)}function n(a,o){var i=Ho(a),s=function(u,d){var f=i?{ref:d}:{},p=l.useRef(0),g=l.useRef(u),b=t();return b!==null?l.createElement(a,be({},u,f)):((!o||o(g.current,u))&&(p.current+=1),g.current=u,l.createElement(e.Provider,{value:p.current},l.createElement(a,be({},u,f))))};return i?l.forwardRef(s):s}function r(a,o){var i=Ho(a),s=function(u,d){var f=i?{ref:d}:{};return t(),l.createElement(a,be({},u,f))};return i?l.memo(l.forwardRef(s),o):l.memo(s,o)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var Y$=Mwe(),VW=Y$.makeImmutable,ud=Y$.responseImmutable,Dwe=Y$.useImmutableMark,_a=K$(),WW=l.createContext({renderWithProps:!1}),Pwe="RC_TABLE_KEY";function Lwe(e){return e==null?[]:Array.isArray(e)?e:[e]}function h0(e){var t=[],n={};return e.forEach(function(r){for(var a=r||{},o=a.key,i=a.dataIndex,s=o||Lwe(i).join("-")||Pwe;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function FT(e){return e!=null}function Fwe(e){return e&&ft(e)==="object"&&!Array.isArray(e)&&!l.isValidElement(e)}function jwe(e,t,n,r,a,o){var i=l.useContext(WW),s=Dwe(),c=Ys(function(){if(FT(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=Ha(e,u),f=d,p=void 0;if(a){var g=a(d,e,n);Fwe(g)?(f=g.children,p=g.props,i.renderWithProps=!0):f=g}return[f,p]},[s,e,r,t,a,n],function(u,d){if(o){var f=se(u,2),p=f[1],g=se(d,2),b=g[1];return o(b,p)}return i.renderWithProps?!0:!Uo(u,d,!0)});return c}function Bwe(e,t,n,r){var a=e+t-1;return e<=r&&a>=n}function zwe(e,t){return aa(_a,function(n){var r=Bwe(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var Hwe=function(t){var n=t.ellipsis,r=t.rowType,a=t.children,o,i=n===!0?{showTitle:!0}:n;return i&&(i.showTitle||r==="header")&&(typeof a=="string"||typeof a=="number"?o=a.toString():l.isValidElement(a)&&typeof a.props.children=="string"&&(o=a.props.children)),o};function Uwe(e){var t,n,r,a,o,i,s,c,u=e.component,d=e.children,f=e.ellipsis,p=e.scope,g=e.prefixCls,b=e.className,m=e.align,h=e.record,y=e.render,v=e.dataIndex,S=e.renderIndex,w=e.shouldCellUpdate,x=e.index,E=e.rowType,I=e.colSpan,R=e.rowSpan,T=e.fixLeft,_=e.fixRight,$=e.firstFixLeft,D=e.lastFixLeft,P=e.firstFixRight,A=e.lastFixRight,O=e.appendNode,N=e.additionalProps,k=N===void 0?{}:N,M=e.isSticky,L="".concat(g,"-cell"),F=aa(_a,["supportSticky","allColumnsFixedLeft","rowHoverable"]),j=F.supportSticky,B=F.allColumnsFixedLeft,z=F.rowHoverable,H=jwe(h,v,S,d,y,w),U=se(H,2),Z=U[0],q=U[1],Y={},te=typeof T=="number"&&j,ee=typeof _=="number"&&j;te&&(Y.position="sticky",Y.left=T),ee&&(Y.position="sticky",Y.right=_);var X=(t=(n=(r=q==null?void 0:q.colSpan)!==null&&r!==void 0?r:k.colSpan)!==null&&n!==void 0?n:I)!==null&&t!==void 0?t:1,ie=(a=(o=(i=q==null?void 0:q.rowSpan)!==null&&i!==void 0?i:k.rowSpan)!==null&&o!==void 0?o:R)!==null&&a!==void 0?a:1,re=zwe(x,ie),G=se(re,2),Q=G[0],ae=G[1],oe=Lt(function(ue){var fe;h&&ae(x,x+ie-1),k==null||(fe=k.onMouseEnter)===null||fe===void 0||fe.call(k,ue)}),de=Lt(function(ue){var fe;h&&ae(-1,-1),k==null||(fe=k.onMouseLeave)===null||fe===void 0||fe.call(k,ue)});if(X===0||ie===0)return null;var ve=(s=k.title)!==null&&s!==void 0?s:Hwe({rowType:E,ellipsis:f,children:Z}),ye=ne(L,b,(c={},V(c,"".concat(L,"-fix-left"),te&&j),V(c,"".concat(L,"-fix-left-first"),$&&j),V(c,"".concat(L,"-fix-left-last"),D&&j),V(c,"".concat(L,"-fix-left-all"),D&&B&&j),V(c,"".concat(L,"-fix-right"),ee&&j),V(c,"".concat(L,"-fix-right-first"),P&&j),V(c,"".concat(L,"-fix-right-last"),A&&j),V(c,"".concat(L,"-ellipsis"),f),V(c,"".concat(L,"-with-append"),O),V(c,"".concat(L,"-fix-sticky"),(te||ee)&&M&&j),V(c,"".concat(L,"-row-hover"),!q&&Q),c),k.className,q==null?void 0:q.className),ge={};m&&(ge.textAlign=m);var J=K(K(K(K({},Y),k.style),ge),q==null?void 0:q.style),ce=Z;return ft(ce)==="object"&&!Array.isArray(ce)&&!l.isValidElement(ce)&&(ce=null),f&&(D||P)&&(ce=l.createElement("span",{className:"".concat(L,"-content")},ce)),l.createElement(u,be({},q,k,{className:ye,style:J,title:ve,scope:p,onMouseEnter:z?oe:void 0,onMouseLeave:z?de:void 0,colSpan:X!==1?X:null,rowSpan:ie!==1?ie:null}),O,ce)}const dc=l.memo(Uwe);function X$(e,t,n,r,a){var o=n[e]||{},i=n[t]||{},s,c;o.fixed==="left"?s=r.left[a==="rtl"?t:e]:i.fixed==="right"&&(c=r.right[a==="rtl"?e:t]);var u=!1,d=!1,f=!1,p=!1,g=n[t+1],b=n[e-1],m=g&&!g.fixed||b&&!b.fixed||n.every(function(w){return w.fixed==="left"});if(a==="rtl"){if(s!==void 0){var h=b&&b.fixed==="left";p=!h&&m}else if(c!==void 0){var y=g&&g.fixed==="right";f=!y&&m}}else if(s!==void 0){var v=g&&g.fixed==="left";u=!v&&m}else if(c!==void 0){var S=b&&b.fixed==="right";d=!S&&m}return{fixLeft:s,fixRight:c,lastFixLeft:u,firstFixRight:d,lastFixRight:f,firstFixLeft:p,isSticky:r.isSticky}}var GW=l.createContext({});function Vwe(e){var t=e.className,n=e.index,r=e.children,a=e.colSpan,o=a===void 0?1:a,i=e.rowSpan,s=e.align,c=aa(_a,["prefixCls","direction"]),u=c.prefixCls,d=c.direction,f=l.useContext(GW),p=f.scrollColumnIndex,g=f.stickyOffsets,b=f.flattenColumns,m=n+o-1,h=m+1===p?o+1:o,y=X$(n,n+h-1,b,g,d);return l.createElement(dc,be({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:h,rowSpan:i,render:function(){return r}},y))}var Wwe=["children"];function Gwe(e){var t=e.children,n=vt(e,Wwe);return l.createElement("tr",n,t)}function v0(e){var t=e.children;return t}v0.Row=Gwe;v0.Cell=Vwe;function qwe(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,a=aa(_a,"prefixCls"),o=r.length-1,i=r[o],s=l.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:i!=null&&i.scrollbar?o:null}},[i,r,o,n]);return l.createElement(GW.Provider,{value:s},l.createElement("tfoot",{className:"".concat(a,"-summary")},t))}const _m=ud(qwe);var qW=v0;function Kwe(e){return null}function Ywe(e){return null}function KW(e,t,n,r,a,o,i){e.push({record:t,indent:n,index:i});var s=o(t),c=a==null?void 0:a.has(s);if(t&&Array.isArray(t[r])&&c)for(var u=0;u1?$-1:0),P=1;P<$;P++)D[P-1]=arguments[P];x==null||x.apply(void 0,[_].concat(D))},I;typeof g=="string"?I=g:typeof g=="function"&&(I=g(e,n,r));var R=h0(o);return K(K({},a),{},{columnsKey:R,nestExpandable:b,expanded:y,hasNestChildren:v,record:e,onTriggerExpand:S,rowSupportExpand:m,expandable:h,rowProps:K(K({},w),{},{className:ne(I,w==null?void 0:w.className),onClick:E})})}function ZW(e){var t=e.prefixCls,n=e.children,r=e.component,a=e.cellComponent,o=e.className,i=e.expanded,s=e.colSpan,c=e.isEmpty,u=aa(_a,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),d=u.scrollbarSize,f=u.fixHeader,p=u.fixColumn,g=u.componentWidth,b=u.horizonScroll,m=n;return(c?b&&g:p)&&(m=l.createElement("div",{style:{width:g-(f?d:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},m)),l.createElement(r,{className:o,style:{display:i?null:"none"}},l.createElement(dc,{component:a,prefixCls:t,colSpan:s},m))}function QW(e,t,n,r,a){var o=e.record,i=e.prefixCls,s=e.columnsKey,c=e.fixedInfoList,u=e.expandIconColumnIndex,d=e.nestExpandable,f=e.indentSize,p=e.expandIcon,g=e.expanded,b=e.hasNestChildren,m=e.onTriggerExpand,h=s[n],y=c[n],v;n===(u||0)&&d&&(v=l.createElement(l.Fragment,null,l.createElement("span",{style:{paddingLeft:"".concat(f*r,"px")},className:"".concat(i,"-row-indent indent-level-").concat(r)}),p({prefixCls:i,expanded:g,expandable:b,record:o,onExpand:m})));var S;return t.onCell&&(S=t.onCell(o,a)),{key:h,fixedInfo:y,appendCellNode:v,additionalCellProps:S||{}}}function Xwe(e){var t=e.className,n=e.style,r=e.record,a=e.index,o=e.renderIndex,i=e.rowKey,s=e.indent,c=s===void 0?0:s,u=e.rowComponent,d=e.cellComponent,f=e.scopeCellComponent,p=XW(r,i,a,c),g=p.prefixCls,b=p.flattenColumns,m=p.expandedRowClassName,h=p.expandedRowRender,y=p.rowProps,v=p.expanded,S=p.rowSupportExpand,w=l.useRef(!1);w.current||(w.current=v);var x=m&&m(r,a,c),E=l.createElement(u,be({},y,{"data-row-key":i,className:ne(t,"".concat(g,"-row"),"".concat(g,"-row-level-").concat(c),y==null?void 0:y.className,c>=1?x:""),style:K(K({},n),y==null?void 0:y.style)}),b.map(function(T,_){var $=T.render,D=T.dataIndex,P=T.className,A=QW(p,T,_,c,a),O=A.key,N=A.fixedInfo,k=A.appendCellNode,M=A.additionalCellProps;return l.createElement(dc,be({className:P,ellipsis:T.ellipsis,align:T.align,scope:T.rowScope,component:T.rowScope?f:d,prefixCls:g,key:O,record:r,index:a,renderIndex:o,dataIndex:D,render:$,shouldCellUpdate:T.shouldCellUpdate},N,{appendNode:k,additionalProps:M}))})),I;if(S&&(w.current||v)){var R=h(r,a,c+1,v);I=l.createElement(ZW,{expanded:v,className:ne("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(c+1),x),prefixCls:g,component:u,cellComponent:d,colSpan:b.length,isEmpty:!1},R)}return l.createElement(l.Fragment,null,E,I)}const Zwe=ud(Xwe);function Qwe(e){var t=e.columnKey,n=e.onColumnResize,r=l.useRef();return l.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),l.createElement(zr,{data:t},l.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},l.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function Jwe(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return l.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},l.createElement(zr.Collection,{onBatchResize:function(o){o.forEach(function(i){var s=i.data,c=i.size;r(s,c.offsetWidth)})}},n.map(function(a){return l.createElement(Qwe,{key:a,columnKey:a,onColumnResize:r})})))}function eCe(e){var t=e.data,n=e.measureColumnWidth,r=aa(_a,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=r.prefixCls,o=r.getComponent,i=r.onColumnResize,s=r.flattenColumns,c=r.getRowKey,u=r.expandedKeys,d=r.childrenColumnName,f=r.emptyNode,p=YW(t,d,u,c),g=l.useRef({renderWithProps:!1}),b=o(["body","wrapper"],"tbody"),m=o(["body","row"],"tr"),h=o(["body","cell"],"td"),y=o(["body","cell"],"th"),v;t.length?v=p.map(function(w,x){var E=w.record,I=w.indent,R=w.index,T=c(E,x);return l.createElement(Zwe,{key:T,rowKey:T,record:E,index:x,renderIndex:R,rowComponent:m,cellComponent:h,scopeCellComponent:y,getRowKey:c,indent:I})}):v=l.createElement(ZW,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:m,cellComponent:h,colSpan:s.length,isEmpty:!0},f);var S=h0(s);return l.createElement(WW.Provider,{value:g.current},l.createElement(b,{className:"".concat(a,"-tbody")},n&&l.createElement(Jwe,{prefixCls:a,columnsKey:S,onColumnResize:i}),v))}const tCe=ud(eCe);var nCe=["expandable"],kf="RC_TABLE_INTERNAL_COL_DEFINE";function rCe(e){var t=e.expandable,n=vt(e,nCe),r;return"expandable"in e?r=K(K({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var aCe=["columnType"];function JW(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,a=[],o=r||n.length,i=!1,s=o-1;s>=0;s-=1){var c=t[s],u=n&&n[s],d=u&&u[kf];if(c||d||i){var f=d||{};f.columnType;var p=vt(f,aCe);a.unshift(l.createElement("col",be({key:s,style:{width:c}},p))),i=!0}}return l.createElement("colgroup",null,a)}var oCe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function iCe(e,t){return l.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:h.ellipsis,align:h.align,component:i,prefixCls:d,key:g[m]},y,{additionalProps:v,rowType:"header"}))}))};function cCe(e){var t=[];function n(i,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[c]=t[c]||[];var u=s,d=i.filter(Boolean).map(function(f){var p={key:f.key,className:f.className||"",children:f.title,column:f,colStart:u},g=1,b=f.children;return b&&b.length>0&&(g=n(b,u,c+1).reduce(function(m,h){return m+h},0),p.hasSubColumns=!0),"colSpan"in f&&(g=f.colSpan),"rowSpan"in f&&(p.rowSpan=f.rowSpan),p.colSpan=g,p.colEnd=p.colStart+g-1,t[c].push(p),u+=g,g});return d}n(e,0);for(var r=t.length,a=function(s){t[s].forEach(function(c){!("rowSpan"in c)&&!c.hasSubColumns&&(c.rowSpan=r-s)})},o=0;o1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function dCe(e,t,n){return l.useMemo(function(){if(t&&t>0){var r=0,a=0;e.forEach(function(p){var g=vD(t,p.width);g?r+=g:a+=1});var o=Math.max(t,n),i=Math.max(o-r,a),s=a,c=i/a,u=0,d=e.map(function(p){var g=K({},p),b=vD(t,g.width);if(b)g.width=b;else{var m=Math.floor(c);g.width=s===1?i:m,i-=m,s-=1}return u+=g.width,g});if(u0?K(K({},t),{},{children:eG(n)}):t})}function jT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&ft(n)==="object"}).reduce(function(n,r,a){var o=r.fixed,i=o===!0?"left":o,s="".concat(t,"-").concat(a),c=r.children;return c&&c.length>0?[].concat($e(n),$e(jT(c,s).map(function(u){return K({fixed:i},u)}))):[].concat($e(n),[K(K({key:s},r),{},{fixed:i})])},[])}function gCe(e){return e.map(function(t){var n=t.fixed,r=vt(t,pCe),a=n;return n==="left"?a="right":n==="right"&&(a="left"),K({fixed:a},r)})}function mCe(e,t){var n=e.prefixCls,r=e.columns,a=e.children,o=e.expandable,i=e.expandedKeys,s=e.columnTitle,c=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,f=e.rowExpandable,p=e.expandIconColumnIndex,g=e.direction,b=e.expandRowByClick,m=e.columnWidth,h=e.fixed,y=e.scrollWidth,v=e.clientWidth,S=l.useMemo(function(){var D=r||Z$(a)||[];return eG(D.slice())},[r,a]),w=l.useMemo(function(){if(o){var D,P=S.slice();if(!P.includes(ds)){var A=p||0;A>=0&&P.splice(A,0,ds)}var O=P.indexOf(ds);P=P.filter(function(L,F){return L!==ds||F===O});var N=S[O],k;(h==="left"||h)&&!p?k="left":(h==="right"||h)&&p===S.length?k="right":k=N?N.fixed:null;var M=(D={},V(D,kf,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),V(D,"title",s),V(D,"fixed",k),V(D,"className","".concat(n,"-row-expand-icon-cell")),V(D,"width",m),V(D,"render",function(F,j,B){var z=c(j,B),H=i.has(z),U=f?f(j):!0,Z=d({prefixCls:n,expanded:H,expandable:U,record:j,onExpand:u});return b?l.createElement("span",{onClick:function(Y){return Y.stopPropagation()}},Z):Z}),D);return P.map(function(L){return L===ds?M:L})}return S.filter(function(L){return L!==ds})},[o,S,c,i,d,g]),x=l.useMemo(function(){var D=w;return t&&(D=t(D)),D.length||(D=[{render:function(){return null}}]),D},[t,w,g]),E=l.useMemo(function(){return g==="rtl"?gCe(jT(x)):jT(x)},[x,g,y]),I=l.useMemo(function(){for(var D=-1,P=E.length-1;P>=0;P-=1){var A=E[P].fixed;if(A==="left"||A===!0){D=P;break}}if(D>=0)for(var O=0;O<=D;O+=1){var N=E[O].fixed;if(N!=="left"&&N!==!0)return!0}var k=E.findIndex(function(F){var j=F.fixed;return j==="right"});if(k>=0)for(var M=k;M=f&&(M=f-p),i({scrollLeft:M/f*(d+2)}),v.current.x=A.pageX},$=function(){I.current=Dt(function(){if(o.current){var A=YM(o.current).top,O=A+o.current.offsetHeight,N=c===window?document.documentElement.scrollTop+window.innerHeight:YM(c).top+c.clientHeight;O-JA()<=N||A>=N-s?y(function(k){return K(K({},k),{},{isHiddenScrollBar:!0})}):y(function(k){return K(K({},k),{},{isHiddenScrollBar:!1})})}})},D=function(A){y(function(O){return K(K({},O),{},{scrollLeft:A/d*f||0})})};return l.useImperativeHandle(n,function(){return{setScrollLeft:D,checkScrollBarVisible:$}}),l.useEffect(function(){var P=Tm(document.body,"mouseup",R,!1),A=Tm(document.body,"mousemove",_,!1);return $(),function(){P.remove(),A.remove()}},[p,x]),l.useEffect(function(){var P=Tm(c,"scroll",$,!1),A=Tm(window,"resize",$,!1);return function(){P.remove(),A.remove()}},[c]),l.useEffect(function(){h.isHiddenScrollBar||y(function(P){var A=o.current;return A?K(K({},P),{},{scrollLeft:A.scrollLeft/A.scrollWidth*A.clientWidth}):P})},[h.isHiddenScrollBar]),d<=f||!p||h.isHiddenScrollBar?null:l.createElement("div",{style:{height:JA(),width:f,bottom:s},className:"".concat(u,"-sticky-scroll")},l.createElement("div",{onMouseDown:T,ref:g,className:ne("".concat(u,"-sticky-scroll-bar"),V({},"".concat(u,"-sticky-scroll-bar-active"),x)),style:{width:"".concat(p,"px"),transform:"translate3d(".concat(h.scrollLeft,"px, 0, 0)")}}))};const ICe=l.forwardRef(ECe);var nG="rc-table",TCe=[],RCe={};function _Ce(){return"No Data"}function $Ce(e,t){var n,r=K({rowKey:"key",prefixCls:nG,emptyText:_Ce},e),a=r.prefixCls,o=r.className,i=r.rowClassName,s=r.style,c=r.data,u=r.rowKey,d=r.scroll,f=r.tableLayout,p=r.direction,g=r.title,b=r.footer,m=r.summary,h=r.caption,y=r.id,v=r.showHeader,S=r.components,w=r.emptyText,x=r.onRow,E=r.onHeaderRow,I=r.onScroll,R=r.internalHooks,T=r.transformColumns,_=r.internalRefs,$=r.tailor,D=r.getContainerWidth,P=r.sticky,A=r.rowHoverable,O=A===void 0?!0:A,N=c||TCe,k=!!N.length,M=R===Sg,L=l.useCallback(function(nt,_t){return Ha(S,nt)||_t},[S]),F=l.useMemo(function(){return typeof u=="function"?u:function(nt){var _t=nt&&nt[u];return _t}},[u]),j=L(["body"]),B=wCe(),z=se(B,3),H=z[0],U=z[1],Z=z[2],q=bCe(r,N,F),Y=se(q,6),te=Y[0],ee=Y[1],X=Y[2],ie=Y[3],re=Y[4],G=Y[5],Q=d==null?void 0:d.x,ae=l.useState(0),oe=se(ae,2),de=oe[0],ve=oe[1],ye=mCe(K(K(K({},r),te),{},{expandable:!!te.expandedRowRender,columnTitle:te.columnTitle,expandedKeys:X,getRowKey:F,onTriggerExpand:G,expandIcon:ie,expandIconColumnIndex:te.expandIconColumnIndex,direction:p,scrollWidth:M&&$&&typeof Q=="number"?Q:null,clientWidth:de}),M?T:null),ge=se(ye,4),J=ge[0],ce=ge[1],ue=ge[2],fe=ge[3],pe=ue??Q,xe=l.useMemo(function(){return{columns:J,flattenColumns:ce}},[J,ce]),Te=l.useRef(),Pe=l.useRef(),ke=l.useRef(),Ue=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:Te.current,scrollTo:function(_t){var un;if(ke.current instanceof HTMLElement){var zn=_t.index,Mn=_t.top,Na=_t.key;if(Mn){var ka;(ka=ke.current)===null||ka===void 0||ka.scrollTo({top:Mn})}else{var Io,yi=Na??F(N[zn]);(Io=ke.current.querySelector('[data-row-key="'.concat(yi,'"]')))===null||Io===void 0||Io.scrollIntoView()}}else(un=ke.current)!==null&&un!==void 0&&un.scrollTo&&ke.current.scrollTo(_t)}}});var Be=l.useRef(),De=l.useState(!1),Se=se(De,2),_e=Se[0],Ce=Se[1],Re=l.useState(!1),he=se(Re,2),Ee=he[0],je=he[1],Ae=tG(new Map),Ne=se(Ae,2),ze=Ne[0],qe=Ne[1],Le=h0(ce),Ke=Le.map(function(nt){return ze.get(nt)}),Je=l.useMemo(function(){return Ke},[Ke.join("_")]),Xe=xCe(Je,ce,p),ut=d&&FT(d.y),pt=d&&FT(pe)||!!te.fixed,We=pt&&ce.some(function(nt){var _t=nt.fixed;return _t}),Ze=l.useRef(),Ye=CCe(P,a),at=Ye.isSticky,wt=Ye.offsetHeader,Ct=Ye.offsetSummary,Ot=Ye.offsetScroll,dt=Ye.stickyClassName,it=Ye.container,Qe=l.useMemo(function(){return m==null?void 0:m(N)},[m,N]),st=(ut||at)&&l.isValidElement(Qe)&&Qe.type===v0&&Qe.props.fixed,St,et,Ie;ut&&(et={overflowY:"scroll",maxHeight:d.y}),pt&&(St={overflowX:"auto"},ut||(et={overflowY:"hidden"}),Ie={width:pe===!0?"auto":pe,minWidth:"100%"});var we=l.useCallback(function(nt,_t){td(Te.current)&&qe(function(un){if(un.get(nt)!==_t){var zn=new Map(un);return zn.set(nt,_t),zn}return un})},[]),Oe=SCe(),He=se(Oe,2),Fe=He[0],Ve=He[1];function tt(nt,_t){_t&&(typeof _t=="function"?_t(nt):_t.scrollLeft!==nt&&(_t.scrollLeft=nt,_t.scrollLeft!==nt&&setTimeout(function(){_t.scrollLeft=nt},0)))}var bt=Lt(function(nt){var _t=nt.currentTarget,un=nt.scrollLeft,zn=p==="rtl",Mn=typeof un=="number"?un:_t.scrollLeft,Na=_t||RCe;if(!Ve()||Ve()===Na){var ka;Fe(Na),tt(Mn,Pe.current),tt(Mn,ke.current),tt(Mn,Be.current),tt(Mn,(ka=Ze.current)===null||ka===void 0?void 0:ka.setScrollLeft)}var Io=_t||Pe.current;if(Io){var yi=Io.scrollWidth,al=Io.clientWidth;if(yi===al){Ce(!1),je(!1);return}zn?(Ce(-Mn0)):(Ce(Mn>0),je(Mn1?h-A:0,N=K(K(K({},R),u),{},{flex:"0 0 ".concat(A,"px"),width:"".concat(A,"px"),marginRight:O,pointerEvents:"auto"}),k=l.useMemo(function(){return f?D<=1:_===0||D===0||D>1},[D,_,f]);k?N.visibility="hidden":f&&(N.height=p==null?void 0:p(D));var M=k?function(){return null}:g,L={};return(D===0||_===0)&&(L.rowSpan=1,L.colSpan=1),l.createElement(dc,be({className:ne(m,d),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:i,prefixCls:t.prefixCls,key:w,record:c,index:o,renderIndex:s,dataIndex:b,render:M,shouldCellUpdate:n.shouldCellUpdate},x,{appendNode:E,additionalProps:K(K({},I),{},{style:N},L)}))}var ACe=["data","index","className","rowKey","style","extra","getHeight"],MCe=l.forwardRef(function(e,t){var n=e.data,r=e.index,a=e.className,o=e.rowKey,i=e.style,s=e.extra,c=e.getHeight,u=vt(e,ACe),d=n.record,f=n.indent,p=n.index,g=aa(_a,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),b=g.scrollX,m=g.flattenColumns,h=g.prefixCls,y=g.fixColumn,v=g.componentWidth,S=aa(Q$,["getComponent"]),w=S.getComponent,x=XW(d,o,r,f),E=w(["body","row"],"div"),I=w(["body","cell"],"div"),R=x.rowSupportExpand,T=x.expanded,_=x.rowProps,$=x.expandedRowRender,D=x.expandedRowClassName,P;if(R&&T){var A=$(d,r,f+1,T),O=D==null?void 0:D(d,r,f),N={};y&&(N={style:V({},"--virtual-width","".concat(v,"px"))});var k="".concat(h,"-expanded-row-cell");P=l.createElement(E,{className:ne("".concat(h,"-expanded-row"),"".concat(h,"-expanded-row-level-").concat(f+1),O)},l.createElement(dc,{component:I,prefixCls:h,className:ne(k,V({},"".concat(k,"-fixed"),y)),additionalProps:N},A))}var M=K(K({},i),{},{width:b});s&&(M.position="absolute",M.pointerEvents="none");var L=l.createElement(E,be({},_,u,{"data-row-key":o,ref:R?null:t,className:ne(a,"".concat(h,"-row"),_==null?void 0:_.className,V({},"".concat(h,"-row-extra"),s)),style:K(K({},M),_==null?void 0:_.style)}),m.map(function(F,j){return l.createElement(kCe,{key:j,component:I,rowInfo:x,column:F,colIndex:j,indent:f,index:r,renderIndex:p,record:d,inverse:s,getHeight:c})}));return R?l.createElement("div",{ref:t},L,P):L}),SD=ud(MCe),DCe=l.forwardRef(function(e,t){var n=e.data,r=e.onScroll,a=aa(_a,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),o=a.flattenColumns,i=a.onColumnResize,s=a.getRowKey,c=a.expandedKeys,u=a.prefixCls,d=a.childrenColumnName,f=a.emptyNode,p=a.scrollX,g=aa(Q$),b=g.sticky,m=g.scrollY,h=g.listItemHeight,y=g.getComponent,v=g.onScroll,S=l.useRef(),w=YW(n,d,c,s),x=l.useMemo(function(){var N=0;return o.map(function(k){var M=k.width,L=k.key;return N+=M,[L,M,N]})},[o]),E=l.useMemo(function(){return x.map(function(N){return N[2]})},[x]);l.useEffect(function(){x.forEach(function(N){var k=se(N,2),M=k[0],L=k[1];i(M,L)})},[x]),l.useImperativeHandle(t,function(){var N={scrollTo:function(M){var L;(L=S.current)===null||L===void 0||L.scrollTo(M)}};return Object.defineProperty(N,"scrollLeft",{get:function(){var M;return((M=S.current)===null||M===void 0?void 0:M.getScrollInfo().x)||0},set:function(M){var L;(L=S.current)===null||L===void 0||L.scrollTo({left:M})}}),N});var I=function(k,M){var L,F=(L=w[M])===null||L===void 0?void 0:L.record,j=k.onCell;if(j){var B,z=j(F,M);return(B=z==null?void 0:z.rowSpan)!==null&&B!==void 0?B:1}return 1},R=function(k){var M=k.start,L=k.end,F=k.getSize,j=k.offsetY;if(L<0)return null;for(var B=o.filter(function(G){return I(G,M)===0}),z=M,H=function(Q){if(B=B.filter(function(ae){return I(ae,Q)===0}),!B.length)return z=Q,1},U=M;U>=0&&!H(U);U-=1);for(var Z=o.filter(function(G){return I(G,L)!==1}),q=L,Y=function(Q){if(Z=Z.filter(function(ae){return I(ae,Q)!==1}),!Z.length)return q=Math.max(Q-1,L),1},te=L;te1})&&ee.push(Q)},ie=z;ie<=q;ie+=1)X(ie);var re=ee.map(function(G){var Q=w[G],ae=s(Q.record,G),oe=function(ye){var ge=G+ye-1,J=s(w[ge].record,ge),ce=F(ae,J);return ce.bottom-ce.top},de=F(ae);return l.createElement(SD,{key:G,data:Q,rowKey:ae,index:G,style:{top:-j+de.top},extra:!0,getHeight:oe})});return re},T=l.useMemo(function(){return{columnsOffset:E}},[E]),_="".concat(u,"-tbody"),$=y(["body","wrapper"]),D=y(["body","row"],"div"),P=y(["body","cell"],"div"),A;if(w.length){var O={};b&&(O.position="sticky",O.bottom=0,ft(b)==="object"&&b.offsetScroll&&(O.bottom=b.offsetScroll)),A=l.createElement(zb,{fullHeight:!1,ref:S,prefixCls:"".concat(_,"-virtual"),styles:{horizontalScrollBar:O},className:_,height:m,itemHeight:h||24,data:w,itemKey:function(k){return s(k.record)},component:$,scrollWidth:p,onVirtualScroll:function(k){var M=k.x;r({scrollLeft:M})},onScroll:v,extraRender:R},function(N,k,M){var L=s(N.record,k);return l.createElement(SD,{data:N,rowKey:L,index:k,style:M.style})})}else A=l.createElement(D,{className:ne("".concat(u,"-placeholder"))},l.createElement(dc,{component:P,prefixCls:u},f));return l.createElement(aG.Provider,{value:T},A)}),PCe=ud(DCe),LCe=function(t,n){var r=n.ref,a=n.onScroll;return l.createElement(PCe,{ref:r,data:t,onScroll:a})};function FCe(e,t){var n=e.columns,r=e.scroll,a=e.sticky,o=e.prefixCls,i=o===void 0?nG:o,s=e.className,c=e.listItemHeight,u=e.components,d=e.onScroll,f=r||{},p=f.x,g=f.y;typeof p!="number"&&(p=1),typeof g!="number"&&(g=500);var b=Lt(function(y,v){return Ha(u,y)||v}),m=Lt(d),h=l.useMemo(function(){return{sticky:a,scrollY:g,listItemHeight:c,getComponent:b,onScroll:m}},[a,g,c,b,m]);return l.createElement(Q$.Provider,{value:h},l.createElement(dd,be({},e,{className:ne(s,"".concat(i,"-virtual")),scroll:K(K({},r),{},{x:p}),components:K(K({},u),{},{body:LCe}),columns:n,internalHooks:Sg,tailor:!0,ref:t})))}var jCe=l.forwardRef(FCe);function oG(e){return VW(jCe,e)}oG();const BCe=e=>null,zCe=e=>null;var J$=l.createContext(null),HCe=function(t){for(var n=t.prefixCls,r=t.level,a=t.isStart,o=t.isEnd,i="".concat(n,"-indent-unit"),s=[],c=0;c=0&&n.splice(r,1),n}function Ii(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function eO(e){return e.split("-")}function qCe(e,t){var n=[],r=Sa(t,e);function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.forEach(function(i){var s=i.key,c=i.children;n.push(s),a(c)})}return a(r.children),n}function KCe(e){if(e.parent){var t=eO(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function YCe(e){var t=eO(e.pos);return Number(t[t.length-1])===0}function xD(e,t,n,r,a,o,i,s,c,u){var d,f=e.clientX,p=e.clientY,g=e.target.getBoundingClientRect(),b=g.top,m=g.height,h=(u==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-f),y=(h-12)/r,v=c.filter(function(N){var k;return(k=s[N])===null||k===void 0||(k=k.children)===null||k===void 0?void 0:k.length}),S=Sa(s,n.props.eventKey);if(p-1.5?o({dragNode:P,dropNode:A,dropPosition:1})?_=1:O=!1:o({dragNode:P,dropNode:A,dropPosition:0})?_=0:o({dragNode:P,dropNode:A,dropPosition:1})?_=1:O=!1:o({dragNode:P,dropNode:A,dropPosition:1})?_=1:O=!1,{dropPosition:_,dropLevelOffset:$,dropTargetKey:S.key,dropTargetPos:S.pos,dragOverNodeKey:T,dropContainerKey:_===0?null:((d=S.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:O}}function ED(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function xS(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(ft(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return cn(!1,"`checkedKeys` is not an array or an object"),null;return t}function BT(e,t){var n=new Set;function r(a){if(!n.has(a)){var o=Sa(t,a);if(o){n.add(a);var i=o.parent,s=o.node;s.disabled||i&&r(i.key)}}}return(e||[]).forEach(function(a){r(a)}),$e(n)}function XCe(e){const[t,n]=l.useState(null);return[l.useCallback((o,i,s)=>{const c=t??o,u=Math.min(c||0,o),d=Math.max(c||0,o),f=i.slice(u,d+1).map(b=>e(b)),p=f.some(b=>!s.has(b)),g=[];return f.forEach(b=>{p?(s.has(b)||g.push(b),s.add(b)):(s.delete(b),g.push(b))}),n(p?d:null),g},[t]),o=>{n(o)}]}const ls={},zT="SELECT_ALL",HT="SELECT_INVERT",UT="SELECT_NONE",ID=[],iG=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat($e(n),$e(iG(e,r[e]))))}),n},ZCe=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:a,getCheckboxProps:o,onChange:i,onSelect:s,onSelectAll:c,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:g,selections:b,fixed:m,renderCell:h,hideSelectAll:y,checkStrictly:v=!0}=t||{},{prefixCls:S,data:w,pageData:x,getRecordByKey:E,getRowKey:I,expandType:R,childrenColumnName:T,locale:_,getPopupContainer:$}=e,D=Xs(),[P,A]=XCe(X=>X),[O,N]=Qt(r||a||ID,{value:r}),k=l.useRef(new Map),M=l.useCallback(X=>{if(n){const ie=new Map;X.forEach(re=>{let G=E(re);!G&&k.current.has(re)&&(G=k.current.get(re)),ie.set(re,G)}),k.current=ie}},[E,n]);l.useEffect(()=>{M(O)},[O]);const{keyEntities:L}=l.useMemo(()=>{if(v)return{keyEntities:null};let X=w;if(n){const ie=new Set(w.map((G,Q)=>I(G,Q))),re=Array.from(k.current).reduce((G,Q)=>{let[ae,oe]=Q;return ie.has(ae)?G:G.concat(oe)},[]);X=[].concat($e(X),$e(re))}return s0(X,{externalGetKey:I,childrenPropName:T})},[w,I,v,T,n]),F=l.useMemo(()=>iG(T,x),[T,x]),j=l.useMemo(()=>{const X=new Map;return F.forEach((ie,re)=>{const G=I(ie,re),Q=(o?o(ie):null)||{};X.set(G,Q)}),X},[F,I,o]),B=l.useCallback(X=>{var ie;return!!(!((ie=j.get(I(X)))===null||ie===void 0)&&ie.disabled)},[j,I]),[z,H]=l.useMemo(()=>{if(v)return[O||[],[]];const{checkedKeys:X,halfCheckedKeys:ie}=ji(O,!0,L,B);return[X||[],ie]},[O,v,L,B]),U=l.useMemo(()=>{const X=g==="radio"?z.slice(0,1):z;return new Set(X)},[z,g]),Z=l.useMemo(()=>g==="radio"?new Set:new Set(H),[H,g]);l.useEffect(()=>{t||N(ID)},[!!t]);const q=l.useCallback((X,ie)=>{let re,G;M(X),n?(re=X,G=X.map(Q=>k.current.get(Q))):(re=[],G=[],X.forEach(Q=>{const ae=E(Q);ae!==void 0&&(re.push(Q),G.push(ae))})),N(re),i==null||i(re,G,{type:ie})},[N,E,i,n]),Y=l.useCallback((X,ie,re,G)=>{if(s){const Q=re.map(ae=>E(ae));s(E(X),ie,Q,G)}q(re,"single")},[s,E,q]),te=l.useMemo(()=>!b||y?null:(b===!0?[zT,HT,UT]:b).map(ie=>ie===zT?{key:"all",text:_.selectionAll,onSelect(){q(w.map((re,G)=>I(re,G)).filter(re=>{const G=j.get(re);return!(G!=null&&G.disabled)||U.has(re)}),"all")}}:ie===HT?{key:"invert",text:_.selectInvert,onSelect(){const re=new Set(U);x.forEach((Q,ae)=>{const oe=I(Q,ae),de=j.get(oe);de!=null&&de.disabled||(re.has(oe)?re.delete(oe):re.add(oe))});const G=Array.from(re);u&&(D.deprecated(!1,"onSelectInvert","onChange"),u(G)),q(G,"invert")}}:ie===UT?{key:"none",text:_.selectNone,onSelect(){d==null||d(),q(Array.from(U).filter(re=>{const G=j.get(re);return G==null?void 0:G.disabled}),"none")}}:ie).map(ie=>Object.assign(Object.assign({},ie),{onSelect:function(){for(var re,G,Q=arguments.length,ae=new Array(Q),oe=0;oe{var ie;if(!t)return X.filter(ke=>ke!==ls);let re=$e(X);const G=new Set(U),Q=F.map(I).filter(ke=>!j.get(ke).disabled),ae=Q.every(ke=>G.has(ke)),oe=Q.some(ke=>G.has(ke)),de=()=>{const ke=[];ae?Q.forEach(Be=>{G.delete(Be),ke.push(Be)}):Q.forEach(Be=>{G.has(Be)||(G.add(Be),ke.push(Be))});const Ue=Array.from(G);c==null||c(!ae,Ue.map(Be=>E(Be)),ke.map(Be=>E(Be))),q(Ue,"all"),A(null)};let ve,ye;if(g!=="radio"){let ke;if(te){const _e={getPopupContainer:$,items:te.map((Ce,Re)=>{const{key:he,text:Ee,onSelect:je}=Ce;return{key:he??Re,onClick:()=>{je==null||je(Q)},label:Ee}})};ke=l.createElement("div",{className:`${S}-selection-extra`},l.createElement(u0,{menu:_e,getPopupContainer:$},l.createElement("span",null,l.createElement(Vb,null))))}const Ue=F.map((_e,Ce)=>{const Re=I(_e,Ce),he=j.get(Re)||{};return Object.assign({checked:G.has(Re)},he)}).filter(_e=>{let{disabled:Ce}=_e;return Ce}),Be=!!Ue.length&&Ue.length===F.length,De=Be&&Ue.every(_e=>{let{checked:Ce}=_e;return Ce}),Se=Be&&Ue.some(_e=>{let{checked:Ce}=_e;return Ce});ye=l.createElement(Yi,{checked:Be?De:!!F.length&&ae,indeterminate:Be?!De&&Se:!ae&&oe,onChange:de,disabled:F.length===0||Be,"aria-label":ke?"Custom selection":"Select all",skipGroup:!0}),ve=!y&&l.createElement("div",{className:`${S}-selection`},ye,ke)}let ge;g==="radio"?ge=(ke,Ue,Be)=>{const De=I(Ue,Be),Se=G.has(De);return{node:l.createElement(Va,Object.assign({},j.get(De),{checked:Se,onClick:_e=>_e.stopPropagation(),onChange:_e=>{G.has(De)||Y(De,!0,[De],_e.nativeEvent)}})),checked:Se}}:ge=(ke,Ue,Be)=>{var De;const Se=I(Ue,Be),_e=G.has(Se),Ce=Z.has(Se),Re=j.get(Se);let he;return R==="nest"?he=Ce:he=(De=Re==null?void 0:Re.indeterminate)!==null&&De!==void 0?De:Ce,{node:l.createElement(Yi,Object.assign({},Re,{indeterminate:he,checked:_e,skipGroup:!0,onClick:Ee=>Ee.stopPropagation(),onChange:Ee=>{let{nativeEvent:je}=Ee;const{shiftKey:Ae}=je,Ne=Q.findIndex(qe=>qe===Se),ze=z.some(qe=>Q.includes(qe));if(Ae&&v&&ze){const qe=P(Ne,Q,G),Le=Array.from(G);f==null||f(!_e,Le.map(Ke=>E(Ke)),qe.map(Ke=>E(Ke))),q(Le,"multiple")}else{const qe=z;if(v){const Le=_e?Qo(qe,Se):Ii(qe,Se);Y(Se,!_e,Le,je)}else{const Le=ji([].concat($e(qe),[Se]),!0,L,B),{checkedKeys:Ke,halfCheckedKeys:Je}=Le;let Xe=Ke;if(_e){const ut=new Set(Ke);ut.delete(Se),Xe=ji(Array.from(ut),{checked:!1,halfCheckedKeys:Je},L,B).checkedKeys}Y(Se,!_e,Xe,je)}}A(_e?null:Ne)}})),checked:_e}};const J=(ke,Ue,Be)=>{const{node:De,checked:Se}=ge(ke,Ue,Be);return h?h(Se,Ue,Be,De):De};if(!re.includes(ls))if(re.findIndex(ke=>{var Ue;return((Ue=ke[kf])===null||Ue===void 0?void 0:Ue.columnType)==="EXPAND_COLUMN"})===0){const[ke,...Ue]=re;re=[ke,ls].concat($e(Ue))}else re=[ls].concat($e(re));const ce=re.indexOf(ls);re=re.filter((ke,Ue)=>ke!==ls||Ue===ce);const ue=re[ce-1],fe=re[ce+1];let pe=m;pe===void 0&&((fe==null?void 0:fe.fixed)!==void 0?pe=fe.fixed:(ue==null?void 0:ue.fixed)!==void 0&&(pe=ue.fixed)),pe&&ue&&((ie=ue[kf])===null||ie===void 0?void 0:ie.columnType)==="EXPAND_COLUMN"&&ue.fixed===void 0&&(ue.fixed=pe);const xe=ne(`${S}-selection-col`,{[`${S}-selection-col-with-dropdown`]:b&&g==="checkbox"}),Te=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(ye):t.columnTitle:ve,Pe={fixed:pe,width:p,className:`${S}-selection-column`,title:Te(),render:J,onCell:t.onCell,[kf]:{className:xe}};return re.map(ke=>ke===ls?Pe:ke)},[I,F,t,z,U,Z,p,te,R,j,f,Y,B]),U]};function QCe(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function JCe(e,t){return l.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(a,o){return n[o]?n[o]:Reflect.get(a,o)}}):QCe(r,n)})}function exe(e){return t=>{const{prefixCls:n,onExpand:r,record:a,expanded:o,expandable:i}=t,s=`${n}-row-expand-icon`;return l.createElement("button",{type:"button",onClick:c=>{r(a,c),c.stopPropagation()},className:ne(s,{[`${s}-spaced`]:!i,[`${s}-expanded`]:i&&o,[`${s}-collapsed`]:i&&!o}),"aria-label":o?e.collapse:e.expand,"aria-expanded":o})}}function txe(e){return(n,r)=>{const a=n.querySelector(`.${e}-container`);let o=r;if(a){const i=getComputedStyle(a),s=parseInt(i.borderLeftWidth,10),c=parseInt(i.borderRightWidth,10);o=r-s-c}return o}}const zs=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function fd(e,t){return t?`${t}-${e}`:`${e}`}const b0=(e,t)=>typeof e=="function"?e(t):e,nxe=(e,t)=>{const n=b0(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function rxe(e){const t=l.useRef(e),n=i$();return[()=>t.current,r=>{t.current=r,n()}]}function axe(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,a={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:a.top=0,a.left=-n*r;break;case 1:a.bottom=0,a.left=-n*r;break;case 0:a.bottom=0,a.left=r;break}return l.createElement("div",{style:a})}function sG(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function oxe(e,t){var n=l.useState(!1),r=se(n,2),a=r[0],o=r[1];zt(function(){if(a)return e(),function(){t()}},[a]),zt(function(){return o(!0),function(){o(!1)}},[])}var ixe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],lG=function(t,n){var r=t.className,a=t.style,o=t.motion,i=t.motionNodes,s=t.motionType,c=t.onMotionStart,u=t.onMotionEnd,d=t.active,f=t.treeNodeRequiredProps,p=vt(t,ixe),g=l.useState(!0),b=se(g,2),m=b[0],h=b[1],y=l.useContext(J$),v=y.prefixCls,S=i&&s!=="hide";zt(function(){i&&S!==m&&h(S)},[i]);var w=function(){i&&c()},x=l.useRef(!1),E=function(){i&&!x.current&&(x.current=!0,u())};oxe(w,E);var I=function(T){S===T&&E()};return i?l.createElement(Wr,be({ref:n,visible:m},o,{motionAppear:s==="show",onVisibleChanged:I}),function(R,T){var _=R.className,$=R.style;return l.createElement("div",{ref:T,className:ne("".concat(v,"-treenode-motion"),_),style:$},i.map(function(D){var P=Object.assign({},(sG(D.data),D.data)),A=D.title,O=D.key,N=D.isStart,k=D.isEnd;delete P.children;var M=Of(O,f);return l.createElement(Bu,be({},P,M,{title:A,active:d,data:D.data,key:O,isStart:N,isEnd:k}))}))}):l.createElement(Bu,be({domRef:n,className:r,style:a},p,{active:d}))};lG.displayName="MotionTreeNode";var sxe=l.forwardRef(lG);function lxe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function a(o,i){var s=new Map;o.forEach(function(u){s.set(u,!0)});var c=i.filter(function(u){return!s.has(u)});return c.length===1?c[0]:null}return n ").concat(t);return t}var uG=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var a=e.expandedKeys,o=e.selectedKeys,i=e.checkedKeys,s=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,f=e.disabled,p=e.dragging,g=e.dragOverNodeKey,b=e.dropPosition,m=e.motion,h=e.height,y=e.itemHeight,v=e.virtual,S=e.focusable,w=e.activeItem,x=e.focused,E=e.tabIndex,I=e.onKeyDown,R=e.onFocus,T=e.onBlur,_=e.onActiveChange,$=e.onListChangeStart,D=e.onListChangeEnd,P=vt(e,cxe),A=l.useRef(null),O=l.useRef(null);l.useImperativeHandle(t,function(){return{scrollTo:function(ge){A.current.scrollTo(ge)},getIndentWidth:function(){return O.current.offsetWidth}}});var N=l.useState(a),k=se(N,2),M=k[0],L=k[1],F=l.useState(r),j=se(F,2),B=j[0],z=j[1],H=l.useState(r),U=se(H,2),Z=U[0],q=U[1],Y=l.useState([]),te=se(Y,2),ee=te[0],X=te[1],ie=l.useState(null),re=se(ie,2),G=re[0],Q=re[1],ae=l.useRef(r);ae.current=r;function oe(){var ye=ae.current;z(ye),q(ye),X([]),Q(null),D()}zt(function(){L(a);var ye=lxe(M,a);if(ye.key!==null)if(ye.add){var ge=B.findIndex(function(xe){var Te=xe.key;return Te===ye.key}),J=$D(TD(B,r,ye.key),v,h,y),ce=B.slice();ce.splice(ge+1,0,_D),q(ce),X(J),Q("show")}else{var ue=r.findIndex(function(xe){var Te=xe.key;return Te===ye.key}),fe=$D(TD(r,B,ye.key),v,h,y),pe=r.slice();pe.splice(ue+1,0,_D),q(pe),X(fe),Q("hide")}else B!==r&&(z(r),q(r))},[a,r]),l.useEffect(function(){p||oe()},[p]);var de=m?Z:r,ve={expandedKeys:a,selectedKeys:o,loadedKeys:s,loadingKeys:c,checkedKeys:i,halfCheckedKeys:u,dragOverNodeKey:g,dropPosition:b,keyEntities:d};return l.createElement(l.Fragment,null,x&&w&&l.createElement("span",{style:RD,"aria-live":"assertive"},dxe(w)),l.createElement("div",null,l.createElement("input",{style:RD,disabled:S===!1||f,tabIndex:S!==!1?E:null,onKeyDown:I,onFocus:R,onBlur:T,value:"",onChange:uxe,"aria-label":"for screen reader"})),l.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},l.createElement("div",{className:"".concat(n,"-indent")},l.createElement("div",{ref:O,className:"".concat(n,"-indent-unit")}))),l.createElement(zb,be({},P,{data:de,itemKey:OD,height:h,fullHeight:!1,virtual:v,itemHeight:y,prefixCls:"".concat(n,"-list"),ref:A,onVisibleChange:function(ge,J){var ce=new Set(ge),ue=J.filter(function(fe){return!ce.has(fe)});ue.some(function(fe){return OD(fe)===Zl})&&oe()}}),function(ye){var ge=ye.pos,J=Object.assign({},(sG(ye.data),ye.data)),ce=ye.title,ue=ye.key,fe=ye.isStart,pe=ye.isEnd,xe=bg(ue,ge);delete J.key,delete J.children;var Te=Of(xe,ve);return l.createElement(sxe,be({},J,Te,{title:ce,active:!!w&&ue===w.key,pos:ge,data:ye.data,isStart:fe,isEnd:pe,motion:m,motionNodes:ue===Zl?ee:null,motionType:G,onMotionStart:$,onMotionEnd:oe,treeNodeRequiredProps:ve,onMouseMove:function(){_(null)}}))}))});uG.displayName="NodeList";var fxe=10,y0=function(e){Qa(n,e);var t=xo(n);function n(){var r;kn(this,n);for(var a=arguments.length,o=new Array(a),i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,f=r.state,p=f.dragChildrenKeys,g=f.dropPosition,b=f.dropTargetKey,m=f.dropTargetPos,h=f.dropAllowed;if(h){var y=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),b!==null){var v=K(K({},Of(b,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===b,data:Sa(r.state.keyEntities,b).node}),S=p.indexOf(b)!==-1;cn(!S,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var w=eO(m),x={event:s,node:ur(v),dragNode:r.dragNode?ur(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(p),dropToGap:g!==0,dropPosition:g+Number(w[w.length-1])};d||y==null||y(x),r.dragNode=null}}}),V(Ge(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),V(Ge(r),"triggerExpandActionExpand",function(s,c){var u=r.state,d=u.expandedKeys,f=u.flattenNodes,p=c.expanded,g=c.key,b=c.isLeaf;if(!(b||s.shiftKey||s.metaKey||s.ctrlKey)){var m=f.filter(function(y){return y.key===g})[0],h=ur(K(K({},Of(g,r.getTreeNodeRequiredProps())),{},{data:m.data}));r.setExpandedKeys(p?Qo(d,g):Ii(d,g)),r.onNodeExpand(s,h)}}),V(Ge(r),"onNodeClick",function(s,c){var u=r.props,d=u.onClick,f=u.expandAction;f==="click"&&r.triggerExpandActionExpand(s,c),d==null||d(s,c)}),V(Ge(r),"onNodeDoubleClick",function(s,c){var u=r.props,d=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&r.triggerExpandActionExpand(s,c),d==null||d(s,c)}),V(Ge(r),"onNodeSelect",function(s,c){var u=r.state.selectedKeys,d=r.state,f=d.keyEntities,p=d.fieldNames,g=r.props,b=g.onSelect,m=g.multiple,h=c.selected,y=c[p.key],v=!h;v?m?u=Ii(u,y):u=[y]:u=Qo(u,y);var S=u.map(function(w){var x=Sa(f,w);return x?x.node:null}).filter(function(w){return w});r.setUncontrolledState({selectedKeys:u}),b==null||b(u,{event:"select",selected:v,node:c,selectedNodes:S,nativeEvent:s.nativeEvent})}),V(Ge(r),"onNodeCheck",function(s,c,u){var d=r.state,f=d.keyEntities,p=d.checkedKeys,g=d.halfCheckedKeys,b=r.props,m=b.checkStrictly,h=b.onCheck,y=c.key,v,S={event:"check",node:c,checked:u,nativeEvent:s.nativeEvent};if(m){var w=u?Ii(p,y):Qo(p,y),x=Qo(g,y);v={checked:w,halfChecked:x},S.checkedNodes=w.map(function($){return Sa(f,$)}).filter(function($){return $}).map(function($){return $.node}),r.setUncontrolledState({checkedKeys:w})}else{var E=ji([].concat($e(p),[y]),!0,f),I=E.checkedKeys,R=E.halfCheckedKeys;if(!u){var T=new Set(I);T.delete(y);var _=ji(Array.from(T),{checked:!1,halfCheckedKeys:R},f);I=_.checkedKeys,R=_.halfCheckedKeys}v=I,S.checkedNodes=[],S.checkedNodesPositions=[],S.halfCheckedKeys=R,I.forEach(function($){var D=Sa(f,$);if(D){var P=D.node,A=D.pos;S.checkedNodes.push(P),S.checkedNodesPositions.push({node:P,pos:A})}}),r.setUncontrolledState({checkedKeys:I},!1,{halfCheckedKeys:R})}h==null||h(v,S)}),V(Ge(r),"onNodeLoad",function(s){var c,u=s.key,d=r.state.keyEntities,f=Sa(d,u);if(!(f!=null&&(c=f.children)!==null&&c!==void 0&&c.length)){var p=new Promise(function(g,b){r.setState(function(m){var h=m.loadedKeys,y=h===void 0?[]:h,v=m.loadingKeys,S=v===void 0?[]:v,w=r.props,x=w.loadData,E=w.onLoad;if(!x||y.indexOf(u)!==-1||S.indexOf(u)!==-1)return null;var I=x(s);return I.then(function(){var R=r.state.loadedKeys,T=Ii(R,u);E==null||E(T,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:T}),r.setState(function(_){return{loadingKeys:Qo(_.loadingKeys,u)}}),g()}).catch(function(R){if(r.setState(function(_){return{loadingKeys:Qo(_.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=fxe){var T=r.state.loadedKeys;cn(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:Ii(T,u)}),g()}b(R)}),{loadingKeys:Ii(S,u)}})});return p.catch(function(){}),p}}),V(Ge(r),"onNodeMouseEnter",function(s,c){var u=r.props.onMouseEnter;u==null||u({event:s,node:c})}),V(Ge(r),"onNodeMouseLeave",function(s,c){var u=r.props.onMouseLeave;u==null||u({event:s,node:c})}),V(Ge(r),"onNodeContextMenu",function(s,c){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:c}))}),V(Ge(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var c=arguments.length,u=new Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var d=!1,f=!0,p={};Object.keys(s).forEach(function(g){if(g in r.props){f=!1;return}d=!0,p[g]=s[g]}),d&&(!c||f)&&r.setState(K(K({},p),u))}}),V(Ge(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return An(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var a=this.props,o=a.activeKey,i=a.itemScrollOffset,s=i===void 0?0:i;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var a=this.state,o=a.focused,i=a.flattenNodes,s=a.keyEntities,c=a.draggingNodeKey,u=a.activeKey,d=a.dropLevelOffset,f=a.dropContainerKey,p=a.dropTargetKey,g=a.dropPosition,b=a.dragOverNodeKey,m=a.indent,h=this.props,y=h.prefixCls,v=h.className,S=h.style,w=h.showLine,x=h.focusable,E=h.tabIndex,I=E===void 0?0:E,R=h.selectable,T=h.showIcon,_=h.icon,$=h.switcherIcon,D=h.draggable,P=h.checkable,A=h.checkStrictly,O=h.disabled,N=h.motion,k=h.loadData,M=h.filterTreeNode,L=h.height,F=h.itemHeight,j=h.virtual,B=h.titleRender,z=h.dropIndicatorRender,H=h.onContextMenu,U=h.onScroll,Z=h.direction,q=h.rootClassName,Y=h.rootStyle,te=Nn(this.props,{aria:!0,data:!0}),ee;return D&&(ft(D)==="object"?ee=D:typeof D=="function"?ee={nodeDraggable:D}:ee={}),l.createElement(J$.Provider,{value:{prefixCls:y,selectable:R,showIcon:T,icon:_,switcherIcon:$,draggable:ee,draggingNodeKey:c,checkable:P,checkStrictly:A,disabled:O,keyEntities:s,dropLevelOffset:d,dropContainerKey:f,dropTargetKey:p,dropPosition:g,dragOverNodeKey:b,indent:m,direction:Z,dropIndicatorRender:z,loadData:k,filterTreeNode:M,titleRender:B,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},l.createElement("div",{role:"tree",className:ne(y,v,q,V(V(V({},"".concat(y,"-show-line"),w),"".concat(y,"-focused"),o),"".concat(y,"-active-focused"),u!==null)),style:Y},l.createElement(uG,be({ref:this.listRef,prefixCls:y,style:S,data:i,disabled:O,selectable:R,checkable:!!P,motion:N,dragging:c!==null,height:L,itemHeight:F,virtual:j,focusable:x,focused:o,tabIndex:I,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:H,onScroll:U},this.getTreeNodeRequiredProps(),te))))}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,s={prevProps:a};function c(E){return!i&&E in a||i&&i[E]!==a[E]}var u,d=o.fieldNames;if(c("fieldNames")&&(d=ju(a.fieldNames),s.fieldNames=d),c("treeData")?u=a.treeData:c("children")&&(cn(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=_V(a.children)),u){s.treeData=u;var f=s0(u,{fieldNames:d});s.keyEntities=K(V({},Zl,cG),f.keyEntities)}var p=s.keyEntities||o.keyEntities;if(c("expandedKeys")||i&&c("autoExpandParent"))s.expandedKeys=a.autoExpandParent||!i&&a.defaultExpandParent?BT(a.expandedKeys,p):a.expandedKeys;else if(!i&&a.defaultExpandAll){var g=K({},p);delete g[Zl],s.expandedKeys=Object.keys(g).map(function(E){return g[E].key})}else!i&&a.defaultExpandedKeys&&(s.expandedKeys=a.autoExpandParent||a.defaultExpandParent?BT(a.defaultExpandedKeys,p):a.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var b=pS(u||o.treeData,s.expandedKeys||o.expandedKeys,d);s.flattenNodes=b}if(a.selectable&&(c("selectedKeys")?s.selectedKeys=ED(a.selectedKeys,a):!i&&a.defaultSelectedKeys&&(s.selectedKeys=ED(a.defaultSelectedKeys,a))),a.checkable){var m;if(c("checkedKeys")?m=xS(a.checkedKeys)||{}:!i&&a.defaultCheckedKeys?m=xS(a.defaultCheckedKeys)||{}:u&&(m=xS(a.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),m){var h=m,y=h.checkedKeys,v=y===void 0?[]:y,S=h.halfCheckedKeys,w=S===void 0?[]:S;if(!a.checkStrictly){var x=ji(v,!0,p);v=x.checkedKeys,w=x.halfCheckedKeys}s.checkedKeys=v,s.halfCheckedKeys=w}}return c("loadedKeys")&&(s.loadedKeys=a.loadedKeys),s}}]),n}(l.Component);V(y0,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:axe,allowDrop:function(){return!0},expandAction:!1});V(y0,"TreeNode",Bu);const pxe=new Jt("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),gxe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),mxe=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${W(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),hxe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:a,titleHeight:o,nodeSelectedBg:i,nodeHoverBg:s}=t,c=t.paddingXS;return{[n]:Object.assign(Object.assign({},Gt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Vi(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:pxe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${W(a)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:o,lineHeight:W(o),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:o}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},gxe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,margin:0,lineHeight:W(o),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:o,height:o,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(o).div(2).equal()).mul(.8).equal(),height:t.calc(o).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:c,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:o,margin:0,padding:`0 ${W(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:W(o),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:s},[`&${n}-node-selected`]:{backgroundColor:i},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,lineHeight:W(o),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:W(o),userSelect:"none"},mxe(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${W(t.calc(o).div(2).equal())} !important`}}}}})}},vxe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:a,directoryNodeSelectedColor:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:o,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:a},[`${t}-switcher`]:{color:o},[`${t}-node-content-wrapper`]:{color:o,background:"transparent"}}}}}},dG=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,a=t.calc(t.paddingXS).div(2).equal(),o=Pt(t,{treeCls:n,treeNodeCls:r,treeNodePadding:a});return[hxe(e,o),vxe(o)]},fG=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},bxe=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},fG(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},yxe=Kt("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:O$(`${n}-checkbox`,e)},dG(n,e),og(e)]},bxe),ND=4;function Sxe(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:a,direction:o="ltr"}=e,i=o==="ltr"?"left":"right",s=o==="ltr"?"right":"left",c={[i]:-n*a+ND,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=a+ND;break}return le.createElement("div",{style:c,className:`${r}-drop-indicator`})}const pG=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:a,switcherLoadingIcon:o}=e,{isLeaf:i,expanded:s,loading:c}=r;if(c)return l.isValidElement(o)?o:l.createElement(Wi,{className:`${t}-switcher-loading-icon`});let u;if(a&&typeof a=="object"&&(u=a.showLeafIcon),i){if(!a)return null;if(typeof u!="boolean"&&u){const p=typeof u=="function"?u(r):u,g=`${t}-switcher-line-custom-icon`;return l.isValidElement(p)?lr(p,{className:ne(p.props.className||"",g)}):p}return u?l.createElement(MW,{className:`${t}-switcher-line-icon`}):l.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,f=typeof n=="function"?n(r):n;return l.isValidElement(f)?lr(f,{className:ne(f.props.className||"",d)}):f!==void 0?f:a?s?l.createElement(BSe,{className:`${t}-switcher-line-icon`}):l.createElement(o1e,{className:`${t}-switcher-line-icon`}):l.createElement(U0e,{className:d})},gG=le.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:a,virtual:o,tree:i}=le.useContext(ot),{prefixCls:s,className:c,showIcon:u=!1,showLine:d,switcherIcon:f,switcherLoadingIcon:p,blockNode:g=!1,children:b,checkable:m=!1,selectable:h=!0,draggable:y,motion:v,style:S}=e,w=r("tree",s),x=r(),E=v??Object.assign(Object.assign({},Pu(x)),{motionAppear:!1}),I=Object.assign(Object.assign({},e),{checkable:m,selectable:h,showIcon:u,motion:E,blockNode:g,showLine:!!d,dropIndicatorRender:Sxe}),[R,T,_]=yxe(w),[,$]=Mr(),D=$.paddingXS/2+(((n=$.Tree)===null||n===void 0?void 0:n.titleHeight)||$.controlHeightSM),P=le.useMemo(()=>{if(!y)return!1;let O={};switch(typeof y){case"function":O.nodeDraggable=y;break;case"object":O=Object.assign({},y);break}return O.icon!==!1&&(O.icon=O.icon||le.createElement(fSe,null)),O},[y]),A=O=>le.createElement(pG,{prefixCls:w,switcherIcon:f,switcherLoadingIcon:p,treeNodeProps:O,showLine:d});return R(le.createElement(y0,Object.assign({itemHeight:D,ref:t,virtual:o},I,{style:Object.assign(Object.assign({},i==null?void 0:i.style),S),prefixCls:w,className:ne({[`${w}-icon-hide`]:!u,[`${w}-block-node`]:g,[`${w}-unselectable`]:!h,[`${w}-rtl`]:a==="rtl"},i==null?void 0:i.className,c,T,_),direction:a,checkable:m&&le.createElement("span",{className:`${w}-checkbox-inner`}),selectable:h,switcherIcon:A,draggable:P}),b))}),kD=0,ES=1,AD=2;function tO(e,t,n){const{key:r,children:a}=n;function o(i){const s=i[r],c=i[a];t(s,i)!==!1&&tO(c||[],t,n)}e.forEach(o)}function wxe(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:a,fieldNames:o}=e;const i=[];let s=kD;if(r&&r===a)return[r];if(!r||!a)return[];function c(u){return u===r||u===a}return tO(t,u=>{if(s===AD)return!1;if(c(u)){if(i.push(u),s===kD)s=ES;else if(s===ES)return s=AD,!1}else s===ES&&i.push(u);return n.includes(u)},ju(o)),i}function IS(e,t,n){const r=$e(t),a=[];return tO(e,(o,i)=>{const s=r.indexOf(o);return s!==-1&&(a.push(i),r.splice(s,1)),!!r.length},ju(n)),a}var MD=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,o=MD(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const i=l.useRef(),s=l.useRef(),c=()=>{const{keyEntities:R}=s0(DD(o));let T;return n?T=Object.keys(R):r?T=BT(o.expandedKeys||a||[],R):T=o.expandedKeys||a||[],T},[u,d]=l.useState(o.selectedKeys||o.defaultSelectedKeys||[]),[f,p]=l.useState(()=>c());l.useEffect(()=>{"selectedKeys"in o&&d(o.selectedKeys)},[o.selectedKeys]),l.useEffect(()=>{"expandedKeys"in o&&p(o.expandedKeys)},[o.expandedKeys]);const g=(R,T)=>{var _;return"expandedKeys"in o||p(R),(_=o.onExpand)===null||_===void 0?void 0:_.call(o,R,T)},b=(R,T)=>{var _;const{multiple:$,fieldNames:D}=o,{node:P,nativeEvent:A}=T,{key:O=""}=P,N=DD(o),k=Object.assign(Object.assign({},T),{selected:!0}),M=(A==null?void 0:A.ctrlKey)||(A==null?void 0:A.metaKey),L=A==null?void 0:A.shiftKey;let F;$&&M?(F=R,i.current=O,s.current=F,k.selectedNodes=IS(N,F,D)):$&&L?(F=Array.from(new Set([].concat($e(s.current||[]),$e(wxe({treeData:N,expandedKeys:f,startKey:O,endKey:i.current,fieldNames:D}))))),k.selectedNodes=IS(N,F,D)):(F=[O],i.current=O,s.current=F,k.selectedNodes=IS(N,F,D)),(_=o.onSelect)===null||_===void 0||_.call(o,F,k),"selectedKeys"in o||d(F)},{getPrefixCls:m,direction:h}=l.useContext(ot),{prefixCls:y,className:v,showIcon:S=!0,expandAction:w="click"}=o,x=MD(o,["prefixCls","className","showIcon","expandAction"]),E=m("tree",y),I=ne(`${E}-directory`,{[`${E}-directory-rtl`]:h==="rtl"},v);return l.createElement(gG,Object.assign({icon:Cxe,ref:t,blockNode:!0},x,{showIcon:S,expandAction:w,prefixCls:E,className:I,expandedKeys:f,selectedKeys:u,onSelect:b,onExpand:g}))},Exe=l.forwardRef(xxe),nO=gG;nO.DirectoryTree=Exe;nO.TreeNode=Bu;const PD=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:a,onChange:o}=e;return n?l.createElement("div",{className:`${r}-filter-dropdown-search`},l.createElement(Zt,{prefix:l.createElement(a$,null),placeholder:a.filterSearchPlaceholder,onChange:o,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},Ixe=e=>{const{keyCode:t}=e;t===Me.ENTER&&e.stopPropagation()},Txe=l.forwardRef((e,t)=>l.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:Ixe,ref:t},e.children));function yu(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[].concat($e(t),$e(yu(a))))}),t}function Rxe(e){return e.some(t=>{let{children:n}=t;return n})}function mG(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function hG(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:o,filterSearch:i}=e;return t.map((s,c)=>{const u=String(s.value);if(s.children)return{key:u||c,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:hG({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:o,filterSearch:i})};const d=a?Yi:Va,f={key:s.value!==void 0?u:c,label:l.createElement(l.Fragment,null,l.createElement(d,{checked:r.includes(u)}),l.createElement("span",null,s.text))};return o.trim()?typeof i=="function"?i(o,s)?f:null:mG(o,s.text)?f:null:f})}function TS(e){return e||[]}const _xe=e=>{var t,n;const{tablePrefixCls:r,prefixCls:a,column:o,dropdownPrefixCls:i,columnKey:s,filterOnClose:c,filterMultiple:u,filterMode:d="menu",filterSearch:f=!1,filterState:p,triggerFilter:g,locale:b,children:m,getPopupContainer:h,rootClassName:y}=e,{filterDropdownOpen:v,onFilterDropdownOpenChange:S,filterResetToDefaultFilteredValue:w,defaultFilteredValue:x,filterDropdownVisible:E,onFilterDropdownVisibleChange:I}=o,[R,T]=l.useState(!1),_=!!(p&&(!((t=p.filteredKeys)===null||t===void 0)&&t.length||p.forceFiltered)),$=de=>{T(de),S==null||S(de),I==null||I(de)},D=(n=v??E)!==null&&n!==void 0?n:R,P=p==null?void 0:p.filteredKeys,[A,O]=rxe(TS(P)),N=de=>{let{selectedKeys:ve}=de;O(ve)},k=(de,ve)=>{let{node:ye,checked:ge}=ve;N(u?{selectedKeys:de}:{selectedKeys:ge&&ye.key?[ye.key]:[]})};l.useEffect(()=>{R&&N({selectedKeys:TS(P)})},[P]);const[M,L]=l.useState([]),F=de=>{L(de)},[j,B]=l.useState(""),z=de=>{const{value:ve}=de.target;B(ve)};l.useEffect(()=>{R||B("")},[R]);const H=de=>{const ve=de!=null&&de.length?de:null;if(ve===null&&(!p||!p.filteredKeys)||Uo(ve,p==null?void 0:p.filteredKeys,!0))return null;g({column:o,key:s,filteredKeys:ve})},U=()=>{$(!1),H(A())},Z=function(){let{confirm:de,closeDropdown:ve}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};de&&H([]),ve&&$(!1),B(""),O(w?(x||[]).map(ye=>String(ye)):[])},q=function(){let{closeDropdown:de}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};de&&$(!1),H(A())},Y=(de,ve)=>{ve.source==="trigger"&&(de&&P!==void 0&&O(TS(P)),$(de),!de&&!o.filterDropdown&&c&&U())},te=ne({[`${i}-menu-without-submenu`]:!Rxe(o.filters||[])}),ee=de=>{if(de.target.checked){const ve=yu(o==null?void 0:o.filters).map(ye=>String(ye));O(ve)}else O([])},X=de=>{let{filters:ve}=de;return(ve||[]).map((ye,ge)=>{const J=String(ye.value),ce={title:ye.text,key:ye.value!==void 0?J:String(ge)};return ye.children&&(ce.children=X({filters:ye.children})),ce})},ie=de=>{var ve;return Object.assign(Object.assign({},de),{text:de.title,value:de.key,children:((ve=de.children)===null||ve===void 0?void 0:ve.map(ye=>ie(ye)))||[]})};let re;const{direction:G,renderEmpty:Q}=l.useContext(ot);if(typeof o.filterDropdown=="function")re=o.filterDropdown({prefixCls:`${i}-custom`,setSelectedKeys:de=>N({selectedKeys:de}),selectedKeys:A(),confirm:q,clearFilters:Z,filters:o.filters,visible:D,close:()=>{$(!1)}});else if(o.filterDropdown)re=o.filterDropdown;else{const de=A()||[],ve=()=>{var ge;const J=(ge=Q==null?void 0:Q("Table.filter"))!==null&&ge!==void 0?ge:l.createElement(Ai,{image:Ai.PRESENTED_IMAGE_SIMPLE,description:b.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((o.filters||[]).length===0)return J;if(d==="tree")return l.createElement(l.Fragment,null,l.createElement(PD,{filterSearch:f,value:j,onChange:z,tablePrefixCls:r,locale:b}),l.createElement("div",{className:`${r}-filter-dropdown-tree`},u?l.createElement(Yi,{checked:de.length===yu(o.filters).length,indeterminate:de.length>0&&de.lengthtypeof f=="function"?f(j,ie(fe)):mG(j,fe.title):void 0})));const ce=hG({filters:o.filters||[],filterSearch:f,prefixCls:a,filteredKeys:A(),filterMultiple:u,searchValue:j}),ue=ce.every(fe=>fe===null);return l.createElement(l.Fragment,null,l.createElement(PD,{filterSearch:f,value:j,onChange:z,tablePrefixCls:r,locale:b}),ue?J:l.createElement(pi,{selectable:!0,multiple:u,prefixCls:`${i}-menu`,className:te,onSelect:N,onDeselect:N,selectedKeys:de,getPopupContainer:h,openKeys:M,onOpenChange:F,items:ce}))},ye=()=>w?Uo((x||[]).map(ge=>String(ge)),de,!0):de.length===0;re=l.createElement(l.Fragment,null,ve(),l.createElement("div",{className:`${a}-dropdown-btns`},l.createElement($t,{type:"link",size:"small",disabled:ye(),onClick:()=>Z()},b.filterReset),l.createElement($t,{type:"primary",size:"small",onClick:U},b.filterConfirm)))}o.filterDropdown&&(re=l.createElement(SU,{selectable:void 0},re));const ae=()=>l.createElement(Txe,{className:`${a}-dropdown`},re);let oe;return typeof o.filterIcon=="function"?oe=o.filterIcon(_):o.filterIcon?oe=o.filterIcon:oe=l.createElement(Gye,null),l.createElement("div",{className:`${a}-column`},l.createElement("span",{className:`${r}-column-title`},m),l.createElement(u0,{dropdownRender:ae,trigger:["click"],open:D,onOpenChange:Y,getPopupContainer:h,placement:G==="rtl"?"bottomLeft":"bottomRight",rootClassName:y},l.createElement("span",{role:"button",tabIndex:-1,className:ne(`${a}-trigger`,{active:_}),onClick:de=>{de.stopPropagation()}},oe)))},WT=(e,t,n)=>{let r=[];return(e||[]).forEach((a,o)=>{var i;const s=fd(o,n);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let c=a.filteredValue;"filterDropdown"in a||(c=(i=c==null?void 0:c.map(String))!==null&&i!==void 0?i:c),r.push({column:a,key:zs(a,s),filteredKeys:c,forceFiltered:a.filtered})}else r.push({column:a,key:zs(a,s),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[].concat($e(r),$e(WT(a.children,t,s))))}),r};function vG(e,t,n,r,a,o,i,s,c){return n.map((u,d)=>{const f=fd(d,s),{filterOnClose:p=!0,filterMultiple:g=!0,filterMode:b,filterSearch:m}=u;let h=u;if(h.filters||h.filterDropdown){const y=zs(h,f),v=r.find(S=>{let{key:w}=S;return y===w});h=Object.assign(Object.assign({},h),{title:S=>l.createElement(_xe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:y,filterState:v,filterOnClose:p,filterMultiple:g,filterMode:b,filterSearch:m,triggerFilter:o,locale:a,getPopupContainer:i,rootClassName:c},b0(u.title,S))})}return"children"in h&&(h=Object.assign(Object.assign({},h),{children:vG(e,t,h.children,r,a,o,i,f,c)})),h})}const LD=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:a,column:o}=n;const i=r,{filters:s,filterDropdown:c}=o;if(c)t[i]=a||null;else if(Array.isArray(a)){const u=yu(s);t[i]=u.filter(d=>a.includes(String(d)))}else t[i]=null}),t},GT=(e,t,n)=>t.reduce((a,o)=>{const{column:{onFilter:i,filters:s},filteredKeys:c}=o;return i&&c&&c.length?a.map(u=>Object.assign({},u)).filter(u=>c.some(d=>{const f=yu(s),p=f.findIndex(b=>String(b)===String(d)),g=p!==-1?f[p]:d;return u[n]&&(u[n]=GT(u[n],t,n)),i(g,u)})):a},e),bG=e=>e.flatMap(t=>"children"in t?[t].concat($e(bG(t.children||[]))):[t]),$xe=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:a,getPopupContainer:o,locale:i,rootClassName:s}=e;Xs();const c=l.useMemo(()=>bG(r||[]),[r]),[u,d]=l.useState(()=>WT(c,!0)),f=l.useMemo(()=>{const m=WT(c,!1);if(m.length===0)return m;let h=!0;if(m.forEach(y=>{let{filteredKeys:v}=y;v!==void 0&&(h=!1)}),h){const y=(c||[]).map((v,S)=>zs(v,fd(S)));return u.filter(v=>{let{key:S}=v;return y.includes(S)}).map(v=>{const S=c[y.findIndex(w=>w===v.key)];return Object.assign(Object.assign({},v),{column:Object.assign(Object.assign({},v.column),S),forceFiltered:S.filtered})})}return m},[c,u]),p=l.useMemo(()=>LD(f),[f]),g=m=>{const h=f.filter(y=>{let{key:v}=y;return v!==m.key});h.push(m),d(h),a(LD(h),h)};return[m=>vG(t,n,m,f,i,g,o,void 0,s),f,p]},Oxe=(e,t,n)=>{const r=l.useRef({});function a(o){var i;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let u=function(d){d.forEach((f,p)=>{const g=n(f,p);c.set(g,f),f&&typeof f=="object"&&t in f&&u(f[t]||[])})};var s=u;const c=new Map;u(e),r.current={data:e,childrenColumnName:t,kvMap:c,getRowKey:n}}return(i=r.current.kvMap)===null||i===void 0?void 0:i.get(o)}return[a]};var Nxe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const o=e[a];typeof o!="function"&&(n[a]=o)}),n}function Axe(e,t,n){const r=n&&typeof n=="object"?n:{},{total:a=0}=r,o=Nxe(r,["total"]),[i,s]=l.useState(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:yG})),c=CW(i,o,{total:a>0?a:e}),u=Math.ceil((a||e)/c.pageSize);c.current>u&&(c.current=u||1);const d=(p,g)=>{s({current:p??1,pageSize:g||c.pageSize})},f=(p,g)=>{var b;n&&((b=n.onChange)===null||b===void 0||b.call(n,p,g)),d(p,g),t(p,g||(c==null?void 0:c.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:f}),d]}const Ih="ascend",RS="descend",$v=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,FD=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,Mxe=(e,t)=>t?e[e.indexOf(t)+1]:e[0],qT=(e,t,n)=>{let r=[];const a=(o,i)=>{r.push({column:o,key:zs(o,i),multiplePriority:$v(o),sortOrder:o.sortOrder})};return(e||[]).forEach((o,i)=>{const s=fd(i,n);o.children?("sortOrder"in o&&a(o,s),r=[].concat($e(r),$e(qT(o.children,t,s)))):o.sorter&&("sortOrder"in o?a(o,s):t&&o.defaultSortOrder&&r.push({column:o,key:zs(o,s),multiplePriority:$v(o),sortOrder:o.defaultSortOrder}))}),r},SG=(e,t,n,r,a,o,i,s)=>(t||[]).map((u,d)=>{const f=fd(d,s);let p=u;if(p.sorter){const g=p.sortDirections||a,b=p.showSorterTooltip===void 0?i:p.showSorterTooltip,m=zs(p,f),h=n.find(T=>{let{key:_}=T;return _===m}),y=h?h.sortOrder:null,v=Mxe(g,y);let S;if(u.sortIcon)S=u.sortIcon({sortOrder:y});else{const T=g.includes(Ih)&&l.createElement(Y0e,{className:ne(`${e}-column-sorter-up`,{active:y===Ih})}),_=g.includes(RS)&&l.createElement(G0e,{className:ne(`${e}-column-sorter-down`,{active:y===RS})});S=l.createElement("span",{className:ne(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(T&&_)})},l.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},T,_))}const{cancelSort:w,triggerAsc:x,triggerDesc:E}=o||{};let I=w;v===RS?I=E:v===Ih&&(I=x);const R=typeof b=="object"?Object.assign({title:I},b):{title:I};p=Object.assign(Object.assign({},p),{className:ne(p.className,{[`${e}-column-sort`]:y}),title:T=>{const _=`${e}-column-sorters`,$=l.createElement("span",{className:`${e}-column-title`},b0(u.title,T)),D=l.createElement("div",{className:_},$,S);return b?typeof b!="boolean"&&(b==null?void 0:b.target)==="sorter-icon"?l.createElement("div",{className:`${_} ${e}-column-sorters-tooltip-target-sorter`},$,l.createElement(rn,Object.assign({},R),S)):l.createElement(rn,Object.assign({},R),D):D},onHeaderCell:T=>{var _;const $=((_=u.onHeaderCell)===null||_===void 0?void 0:_.call(u,T))||{},D=$.onClick,P=$.onKeyDown;$.onClick=N=>{r({column:u,key:m,sortOrder:v,multiplePriority:$v(u)}),D==null||D(N)},$.onKeyDown=N=>{N.keyCode===Me.ENTER&&(r({column:u,key:m,sortOrder:v,multiplePriority:$v(u)}),P==null||P(N))};const A=nxe(u.title,{}),O=A==null?void 0:A.toString();return y?$["aria-sort"]=y==="ascend"?"ascending":"descending":$["aria-label"]=O||"",$.className=ne($.className,`${e}-column-has-sorters`),$.tabIndex=0,u.ellipsis&&($.title=(A??"").toString()),$}})}return"children"in p&&(p=Object.assign(Object.assign({},p),{children:SG(e,p.children,n,r,a,o,i,f)})),p}),jD=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},BD=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(jD);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},jD(e[n])),{column:void 0})}return t.length<=1?t[0]||{}:t},KT=(e,t,n)=>{const r=t.slice().sort((i,s)=>s.multiplePriority-i.multiplePriority),a=e.slice(),o=r.filter(i=>{let{column:{sorter:s},sortOrder:c}=i;return FD(s)&&c});return o.length?a.sort((i,s)=>{for(let c=0;c{const s=i[n];return s?Object.assign(Object.assign({},i),{[n]:KT(s,t,n)}):i}):a},Dxe=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:a,showSorterTooltip:o,onSorterChange:i}=e,[s,c]=l.useState(qT(n,!0)),u=(m,h)=>{const y=[];return m.forEach((v,S)=>{const w=fd(S,h);if(y.push(zs(v,w)),Array.isArray(v.children)){const x=u(v.children,w);y.push.apply(y,$e(x))}}),y},d=l.useMemo(()=>{let m=!0;const h=qT(n,!1);if(!h.length){const w=u(n);return s.filter(x=>{let{key:E}=x;return w.includes(E)})}const y=[];function v(w){m?y.push(w):y.push(Object.assign(Object.assign({},w),{sortOrder:null}))}let S=null;return h.forEach(w=>{S===null?(v(w),w.sortOrder&&(w.multiplePriority===!1?m=!1:S=!0)):(S&&w.multiplePriority!==!1||(m=!1),v(w))}),y},[n,s]),f=l.useMemo(()=>{var m,h;const y=d.map(v=>{let{column:S,sortOrder:w}=v;return{column:S,order:w}});return{sortColumns:y,sortColumn:(m=y[0])===null||m===void 0?void 0:m.column,sortOrder:(h=y[0])===null||h===void 0?void 0:h.order}},[d]),p=m=>{let h;m.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?h=[m]:h=[].concat($e(d.filter(y=>{let{key:v}=y;return v!==m.key})),[m]),c(h),i(BD(h),h)};return[m=>SG(t,m,d,p,r,a,o),d,f,()=>BD(d)]},wG=(e,t)=>e.map(r=>{const a=Object.assign({},r);return a.title=b0(r.title,t),"children"in a&&(a.children=wG(a.children,t)),a}),Pxe=e=>[l.useCallback(n=>wG(n,e),[e])],Lxe=rG((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),Fxe=oG((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),jxe=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:a,tableHeaderBg:o,tablePaddingVertical:i,tablePaddingHorizontal:s,calc:c}=e,u=`${W(n)} ${r} ${a}`,d=(f,p,g)=>({[`&${t}-${f}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${W(c(p).mul(-1).equal())} + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:W(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${W(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto",[`${n}-select-arrow:not(:last-child)`]:{opacity:1}},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:W(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},vg(e)),x$(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},o0(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},ybe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:W(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${W(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${W(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},Sbe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:W(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),ybe(e)),bbe(e)),vbe(e)),hbe(e)),mbe(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},wbe=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},ui(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Vi(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Vi(e))}}}},IW=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},hg(e)),TW=e=>Pt(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},mg(e)),Cbe=Kt("Pagination",e=>{const t=TW(e);return[Sbe(t),wbe(t)]},IW),xbe=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},Ebe=Ju(["Pagination","bordered"],e=>{const t=TW(e);return[xbe(t)]},IW);var Ibe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{align:t,prefixCls:n,selectPrefixCls:r,className:a,rootClassName:o,style:i,size:s,locale:c,selectComponentClass:u,responsive:d,showSizeChanger:f}=e,p=Ibe(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:g}=Wb(d),[,v]=Mr(),{getPrefixCls:m,direction:h,pagination:y={}}=l.useContext(ot),b=m("pagination",n),[S,w,x]=Cbe(b),E=f??y.showSizeChanger,I=l.useMemo(()=>{const O=l.createElement("span",{className:`${b}-item-ellipsis`},"•••"),N=l.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},h==="rtl"?l.createElement(js,null):l.createElement(wp,null)),k=l.createElement("button",{className:`${b}-item-link`,type:"button",tabIndex:-1},h==="rtl"?l.createElement(wp,null):l.createElement(js,null)),M=l.createElement("a",{className:`${b}-item-link`},l.createElement("div",{className:`${b}-item-container`},h==="rtl"?l.createElement(ZM,{className:`${b}-item-link-icon`}):l.createElement(XM,{className:`${b}-item-link-icon`}),O)),L=l.createElement("a",{className:`${b}-item-link`},l.createElement("div",{className:`${b}-item-container`},h==="rtl"?l.createElement(XM,{className:`${b}-item-link-icon`}):l.createElement(ZM,{className:`${b}-item-link-icon`}),O));return{prevIcon:N,nextIcon:k,jumpPrevIcon:M,jumpNextIcon:L}},[h,b]),[R]=mi("Pagination",j7),T=Object.assign(Object.assign({},R),c),_=cr(s),$=_==="small"||!!(g&&!_&&d),D=m("select",r),P=ne({[`${b}-${t}`]:!!t,[`${b}-mini`]:$,[`${b}-rtl`]:h==="rtl",[`${b}-bordered`]:v.wireframe},y==null?void 0:y.className,a,o,w,x),A=Object.assign(Object.assign({},y==null?void 0:y.style),i);return S(l.createElement(l.Fragment,null,v.wireframe&&l.createElement(Ebe,{prefixCls:b}),l.createElement(gbe,Object.assign({},I,p,{style:A,prefixCls:b,selectPrefixCls:D,className:P,selectComponentClass:u||($?xW:EW),locale:T,showSizeChanger:E}))))},Tv=100,RW=Tv/5,_W=Tv/2-RW/2,SS=_W*2*Math.PI,eD=50,tD=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return l.createElement("circle",{className:ne(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:_W,cx:eD,cy:eD,strokeWidth:RW,style:n})},Tbe=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,a=`${r}-holder`,o=`${a}-hidden`,[i,s]=l.useState(!1);zt(()=>{t!==0&&s(!0)},[t!==0]);const c=Math.max(Math.min(t,100),0);if(!i)return null;const u={strokeDashoffset:`${SS/4}`,strokeDasharray:`${SS*c/100} ${SS*(100-c)/100}`};return l.createElement("span",{className:ne(a,`${r}-progress`,c<=0&&o)},l.createElement("svg",{viewBox:`0 0 ${Tv} ${Tv}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},l.createElement(tD,{dotClassName:r,hasCircleCls:!0}),l.createElement(tD,{dotClassName:r,style:u})))};function Rbe(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,a=`${r}-holder`,o=`${a}-hidden`;return l.createElement(l.Fragment,null,l.createElement("span",{className:ne(a,n>0&&o)},l.createElement("span",{className:ne(r,`${t}-dot-spin`)},[1,2,3,4].map(i=>l.createElement("i",{className:`${t}-dot-item`,key:i})))),l.createElement(Tbe,{prefixCls:t,percent:n}))}function _be(e){const{prefixCls:t,indicator:n,percent:r}=e,a=`${t}-dot`;return n&&l.isValidElement(n)?lr(n,{className:ne(n.props.className,a),percent:r}):l.createElement(Rbe,{prefixCls:t,percent:r})}const $be=new Jt("antSpinMove",{to:{opacity:1}}),Obe=new Jt("antRotate",{to:{transform:"rotate(405deg)"}}),Nbe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${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 ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:$be,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&: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:Obe,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},kbe=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},Abe=Kt("Spin",e=>{const t=Pt(e,{spinDotDefault:e.colorTextDescription});return[Nbe(t)]},kbe),Mbe=200,nD=[[30,.05],[70,.03],[96,.01]];function Dbe(e,t){const[n,r]=l.useState(0),a=l.useRef(),o=t==="auto";return l.useEffect(()=>(o&&e&&(r(0),a.current=setInterval(()=>{r(i=>{const s=100-i;for(let c=0;c{clearInterval(a.current)}),[o,e]),o?n:t}var Pbe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var t;const{prefixCls:n,spinning:r=!0,delay:a=0,className:o,rootClassName:i,size:s="default",tip:c,wrapperClassName:u,style:d,children:f,fullscreen:p=!1,indicator:g,percent:v}=e,m=Pbe(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:h,direction:y,spin:b}=l.useContext(ot),S=h("spin",n),[w,x,E]=Abe(S),[I,R]=l.useState(()=>r&&!Lbe(r,a)),T=Dbe(I,v);l.useEffect(()=>{if(r){const N=mge(a,()=>{R(!0)});return N(),()=>{var k;(k=N==null?void 0:N.cancel)===null||k===void 0||k.call(N)}}R(!1)},[a,r]);const _=l.useMemo(()=>typeof f<"u"&&!p,[f,p]),$=ne(S,b==null?void 0:b.className,{[`${S}-sm`]:s==="small",[`${S}-lg`]:s==="large",[`${S}-spinning`]:I,[`${S}-show-text`]:!!c,[`${S}-rtl`]:y==="rtl"},o,!p&&i,x,E),D=ne(`${S}-container`,{[`${S}-blur`]:I}),P=(t=g??(b==null?void 0:b.indicator))!==null&&t!==void 0?t:$W,A=Object.assign(Object.assign({},b==null?void 0:b.style),d),O=l.createElement("div",Object.assign({},m,{style:A,className:$,"aria-live":"polite","aria-busy":I}),l.createElement(_be,{prefixCls:S,indicator:P,percent:T}),c&&(_||p)?l.createElement("div",{className:`${S}-text`},c):null);return w(_?l.createElement("div",Object.assign({},m,{className:ne(`${S}-nested-loading`,u,x,E)}),I&&l.createElement("div",{key:"loading"},O),l.createElement("div",{className:D,key:"container"},f)):p?l.createElement("div",{className:ne(`${S}-fullscreen`,{[`${S}-fullscreen-show`]:I},i,x,E)},O):O)};z$.setDefaultIndicator=e=>{$W=e};const H$=le.createContext({});H$.Consumer;var 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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{prefixCls:t,className:n,avatar:r,title:a,description:o}=e,i=OW(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=l.useContext(ot),c=s("list",t),u=ne(`${c}-item-meta`,n),d=le.createElement("div",{className:`${c}-item-meta-content`},a&&le.createElement("h4",{className:`${c}-item-meta-title`},a),o&&le.createElement("div",{className:`${c}-item-meta-description`},o));return le.createElement("div",Object.assign({},i,{className:u}),r&&le.createElement("div",{className:`${c}-item-meta-avatar`},r),(a||o)&&d)},jbe=le.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:a,extra:o,styles:i,className:s,classNames:c,colStyle:u}=e,d=OW(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:f,itemLayout:p}=l.useContext(H$),{getPrefixCls:g,list:v}=l.useContext(ot),m=I=>{var R,T;return ne((T=(R=v==null?void 0:v.item)===null||R===void 0?void 0:R.classNames)===null||T===void 0?void 0:T[I],c==null?void 0:c[I])},h=I=>{var R,T;return Object.assign(Object.assign({},(T=(R=v==null?void 0:v.item)===null||R===void 0?void 0:R.styles)===null||T===void 0?void 0:T[I]),i==null?void 0:i[I])},y=()=>{let I=!1;return l.Children.forEach(r,R=>{typeof R=="string"&&(I=!0)}),I&&l.Children.count(r)>1},b=()=>p==="vertical"?!!o:!y(),S=g("list",n),w=a&&a.length>0&&le.createElement("ul",{className:ne(`${S}-item-action`,m("actions")),key:"actions",style:h("actions")},a.map((I,R)=>le.createElement("li",{key:`${S}-item-action-${R}`},I,R!==a.length-1&&le.createElement("em",{className:`${S}-item-action-split`})))),x=f?"div":"li",E=le.createElement(x,Object.assign({},d,f?{}:{ref:t},{className:ne(`${S}-item`,{[`${S}-item-no-flex`]:!b()},s)}),p==="vertical"&&o?[le.createElement("div",{className:`${S}-item-main`,key:"content"},r,w),le.createElement("div",{className:ne(`${S}-item-extra`,m("extra")),key:"extra",style:h("extra")},o)]:[r,w,lr(o,{key:"extra"})]);return f?le.createElement(En,{ref:t,flex:1,style:u},E):E}),bu=jbe;bu.Meta=Fbe;const Bbe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,itemPaddingSM:o,itemPaddingLG:i,marginLG:s,borderRadiusLG:c}=e;return{[t]:{border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${W(a)} ${W(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}}}},zbe=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:a,marginSM:o,margin:i}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:a}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:a}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${W(i)}`}}}}}},Hbe=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:a,paddingSM:o,marginLG:i,padding:s,itemPadding:c,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:f,paddingXS:p,margin:g,colorText:v,colorTextDescription:m,motionDurationSlow:h,lineWidth:y,headerBg:b,footerBg:S,emptyTextPadding:w,metaMarginBottom:x,avatarMarginRight:E,titleMarginBottom:I,descriptionFontSize:R}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:S},[`${t}-header, ${t}-footer`]:{paddingBlock:o},[`${t}-pagination`]:{marginBlockStart:i,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:a,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:c,color:v,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:E},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:v},[`${t}-item-meta-title`]:{margin:`0 0 ${W(e.marginXXS)} 0`,color:v,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:v,transition:`all ${h}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:m,fontSize:R,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${W(p)}`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:y,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${W(s)} 0`,color:m,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:w,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:g,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:i},[`${t}-item-meta`]:{marginBlockEnd:x,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:I,color:v,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${W(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${W(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:f},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},Ube=e=>({contentWidth:220,itemPadding:`${W(e.paddingContentVertical)} 0`,itemPaddingSM:`${W(e.paddingContentVerticalSM)} ${W(e.paddingContentHorizontal)}`,itemPaddingLG:`${W(e.paddingContentVerticalLG)} ${W(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),Vbe=Kt("List",e=>{const t=Pt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Hbe(t),Bbe(t),zbe(t)]},Ube);var Wbe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a(ge,J)=>{var ce;I(ge),T(J),t&&((ce=t==null?void 0:t[ye])===null||ce===void 0||ce.call(t,ge,J))},N=O("onChange"),k=O("onShowSizeChange"),M=(ye,ge)=>{if(!b)return null;let J;return typeof y=="function"?J=y(ye):y?J=ye[y]:J=ye.key,J||(J=`list-item-${ge}`),l.createElement(l.Fragment,{key:J},b(ye,ge))},L=()=>!!(d||t||m),F=_("list",n),[j,B,z]=Vbe(F);let H=h;typeof H=="boolean"&&(H={spinning:H});const U=!!(H!=null&&H.spinning),Z=cr(g);let q="";switch(Z){case"large":q="lg";break;case"small":q="sm";break}const Y=ne(F,{[`${F}-vertical`]:u==="vertical",[`${F}-${q}`]:q,[`${F}-split`]:a,[`${F}-bordered`]:r,[`${F}-loading`]:U,[`${F}-grid`]:!!f,[`${F}-something-after-last-item`]:L(),[`${F}-rtl`]:D==="rtl"},P==null?void 0:P.className,o,i,B,z),ee=CW(A,{total:p.length,current:E,pageSize:R},t||{}),te=Math.ceil(ee.total/ee.pageSize);ee.current>te&&(ee.current=te);const X=t&&l.createElement("div",{className:ne(`${F}-pagination`)},l.createElement(B$,Object.assign({align:"end"},ee,{onChange:N,onShowSizeChange:k})));let ie=$e(p);t&&p.length>(ee.current-1)*ee.pageSize&&(ie=$e(p).splice((ee.current-1)*ee.pageSize,ee.pageSize));const re=Object.keys(f||{}).some(ye=>["xs","sm","md","lg","xl","xxl"].includes(ye)),G=Wb(re),Q=l.useMemo(()=>{for(let ye=0;ye{if(!f)return;const ye=Q&&f[Q]?f[Q]:f.column;if(ye)return{width:`${100/ye}%`,maxWidth:`${100/ye}%`}},[JSON.stringify(f),Q]);let oe=U&&l.createElement("div",{style:{minHeight:53}});if(ie.length>0){const ye=ie.map((ge,J)=>M(ge,J));oe=f?l.createElement(Ba,{gutter:f.gutter},l.Children.map(ye,ge=>l.createElement("div",{key:ge==null?void 0:ge.key,style:ae},ge))):l.createElement("ul",{className:`${F}-items`},ye)}else!c&&!U&&(oe=l.createElement("div",{className:`${F}-empty-text`},(S==null?void 0:S.emptyText)||($==null?void 0:$("List"))||l.createElement(Hb,{componentName:"List"})));const de=ee.position||"bottom",ve=l.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return j(l.createElement(H$.Provider,{value:ve},l.createElement("div",Object.assign({style:Object.assign(Object.assign({},P==null?void 0:P.style),s),className:Y},w),(de==="top"||de==="both")&&X,v&&l.createElement("div",{className:`${F}-header`},v),l.createElement(z$,Object.assign({},H),oe,c),m&&l.createElement("div",{className:`${F}-footer`},m),d||(de==="bottom"||de==="both")&&X)))}Bs.Item=bu;let io=null,xl=e=>e(),Cp=[],xp={};function rD(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:a}=xp,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,duration:t,rtl:n,maxCount:r,top:a}}const Gbe=le.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=l.useContext(ot),o=xp.prefixCls||a("message"),i=l.useContext(Ese),[s,c]=$9(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),i.message));return le.useImperativeHandle(t,()=>{const u=Object.assign({},s);return Object.keys(u).forEach(d=>{u[d]=function(){return r(),s[d].apply(s,arguments)}}),{instance:u,sync:r}}),c}),qbe=le.forwardRef((e,t)=>{const[n,r]=le.useState(rD),a=()=>{r(rD)};le.useEffect(a,[]);const o=h9(),i=o.getRootPrefixCls(),s=o.getIconPrefixCls(),c=o.getTheme(),u=le.createElement(Gbe,{ref:t,sync:a,messageConfig:n});return le.createElement(Ko,{prefixCls:i,iconPrefixCls:s,theme:c},o.holderRender?o.holderRender(u):u)});function f0(){if(!io){const e=document.createDocumentFragment(),t={fragment:e};io=t,xl(()=>{W_(le.createElement(qbe,{ref:n=>{const{instance:r,sync:a}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=a,f0())})}}),e)});return}io.instance&&(Cp.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{xl(()=>{const r=io.instance.open(Object.assign(Object.assign({},xp),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":xl(()=>{io==null||io.instance.destroy(e.key)});break;default:xl(()=>{var r;const a=(r=io.instance)[t].apply(r,$e(e.args));a==null||a.then(e.resolve),e.setCloseFn(a)})}}),Cp=[])}function Kbe(e){xp=Object.assign(Object.assign({},xp),e),xl(()=>{var t;(t=io==null?void 0:io.sync)===null||t===void 0||t.call(io)})}function Ybe(e){const t=V_(n=>{let r;const a={type:"open",config:e,resolve:n,setCloseFn:o=>{r=o}};return Cp.push(a),()=>{r?xl(()=>{r()}):a.skipped=!0}});return f0(),t}function Xbe(e,t){const n=V_(r=>{let a;const o={type:e,args:t,resolve:r,setCloseFn:i=>{a=i}};return Cp.push(o),()=>{a?xl(()=>{a()}):o.skipped=!0}});return f0(),n}const Zbe=e=>{Cp.push({type:"destroy",key:e}),f0()},Qbe=["success","info","warning","error","loading"],Jbe={open:Ybe,destroy:Zbe,config:Kbe,useMessage:rae,_InternalPanelDoNotUseOrYouWillBeFired:Yre},lt=Jbe;Qbe.forEach(e=>{lt[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:o,title:i,children:s,footer:c}=e,u=e0e(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=l.useContext(ot),f=d(),p=t||d("modal"),g=Vn(f),[v,m,h]=fH(p,g),y=`${p}-confirm`;let b={};return o?b={closable:a??!1,title:"",footer:"",children:l.createElement(gH,Object.assign({},e,{prefixCls:p,confirmPrefixCls:y,rootPrefixCls:f,content:s}))}:b={closable:a??!0,title:i,footer:c!==null&&l.createElement(lH,Object.assign({},e)),children:s},v(l.createElement(G9,Object.assign({prefixCls:p,className:ne(m,`${p}-pure-panel`,o&&y,o&&`${y}-${o}`,n,h,g)},u,{closeIcon:sH(p,r),closable:a},b)))},n0e=xH(t0e);function NW(e){return sg(bH(e))}const On=pH;On.useModal=xse;On.info=function(t){return sg(yH(t))};On.success=function(t){return sg(SH(t))};On.error=function(t){return sg(wH(t))};On.warning=NW;On.warn=NW;On.confirm=function(t){return sg(CH(t))};On.destroyAll=function(){for(;wl.length;){const t=wl.pop();t&&t()}};On.config=bse;On._InternalPanelDoNotUseOrYouWillBeFired=n0e;var r0e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},a0e=function(){var t=l.useRef([]),n=l.useRef(null);return l.useEffect(function(){var r=Date.now(),a=!1;t.current.forEach(function(o){if(o){a=!0;var i=o.style;i.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(i.transitionDuration="0s, 0s")}}),a&&(n.current=Date.now())}),t.current},aD=0,o0e=kr();function i0e(){var e;return o0e?(e=aD,aD+=1):e="TEST_OR_SSR",e}const s0e=function(e){var t=l.useState(),n=se(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_progress_".concat(i0e()))},[]),e||r};var oD=function(t){var n=t.bg,r=t.children;return l.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function iD(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),a="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(a)})}var l0e=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,a=e.gradientId,o=e.radius,i=e.style,s=e.ptg,c=e.strokeLinecap,u=e.strokeWidth,d=e.size,f=e.gapDegree,p=r&&ft(r)==="object",g=p?"#FFF":void 0,v=d/2,m=l.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:v,cy:v,stroke:g,strokeLinecap:c,strokeWidth:u,opacity:s===0?0:1,style:i,ref:t});if(!p)return m;var h="".concat(a,"-conic"),y=f?"".concat(180+f/2,"deg"):"0deg",b=iD(r,(360-f)/360),S=iD(r,1),w="conic-gradient(from ".concat(y,", ").concat(b.join(", "),")"),x="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(S.join(", "),")");return l.createElement(l.Fragment,null,l.createElement("mask",{id:h},m),l.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(h,")")},l.createElement(oD,{bg:x},l.createElement(oD,{bg:w}))))}),af=100,wS=function(t,n,r,a,o,i,s,c,u,d){var f=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,p=r/100*360*((360-i)/360),g=i===0?0:{bottom:0,top:180,left:90,right:-90}[s],v=(100-a)/100*n;u==="round"&&a!==100&&(v+=d/2,v>=n&&(v=n-.01));var m=af/2;return{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:v+f,transform:"rotate(".concat(o+p+g,"deg)"),transformOrigin:"".concat(m,"px ").concat(m,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},c0e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function sD(e){var t=e??[];return Array.isArray(t)?t:[t]}var u0e=function(t){var n=K(K({},r0e),t),r=n.id,a=n.prefixCls,o=n.steps,i=n.strokeWidth,s=n.trailWidth,c=n.gapDegree,u=c===void 0?0:c,d=n.gapPosition,f=n.trailColor,p=n.strokeLinecap,g=n.style,v=n.className,m=n.strokeColor,h=n.percent,y=vt(n,c0e),b=af/2,S=s0e(r),w="".concat(S,"-gradient"),x=b-i/2,E=Math.PI*2*x,I=u>0?90+u/2:-90,R=E*((360-u)/360),T=ft(o)==="object"?o:{count:o,gap:2},_=T.count,$=T.gap,D=sD(h),P=sD(m),A=P.find(function(j){return j&&ft(j)==="object"}),O=A&&ft(A)==="object",N=O?"butt":p,k=wS(E,R,0,100,I,u,d,f,N,i),M=a0e(),L=function(){var B=0;return D.map(function(z,H){var U=P[H]||P[P.length-1],Z=wS(E,R,B,z,I,u,d,U,N,i);return B+=z,l.createElement(l0e,{key:H,color:U,ptg:z,radius:x,prefixCls:a,gradientId:w,style:Z,strokeLinecap:N,strokeWidth:i,gapDegree:u,ref:function(Y){M[H]=Y},size:af})}).reverse()},F=function(){var B=Math.round(_*(D[0]/100)),z=100/_,H=0;return new Array(_).fill(null).map(function(U,Z){var q=Z<=B-1?P[0]:f,Y=q&&ft(q)==="object"?"url(#".concat(w,")"):void 0,ee=wS(E,R,H,z,I,u,d,q,"butt",i,$);return H+=(R-ee.strokeDashoffset+$)*100/R,l.createElement("circle",{key:Z,className:"".concat(a,"-circle-path"),r:x,cx:b,cy:b,stroke:Y,strokeWidth:i,opacity:1,style:ee,ref:function(X){M[Z]=X}})})};return l.createElement("svg",be({className:ne("".concat(a,"-circle"),v),viewBox:"0 0 ".concat(af," ").concat(af),style:g,id:r,role:"presentation"},y),!_&&l.createElement("circle",{className:"".concat(a,"-circle-trail"),r:x,cx:b,cy:b,stroke:f,strokeLinecap:N,strokeWidth:s||i,style:k}),_?F():L())};function ks(e){return!e||e<0?0:e>100?100:e}function Rv(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const d0e=e=>{let{percent:t,success:n,successPercent:r}=e;const a=ks(Rv({success:n,successPercent:r}));return[a,ks(ks(t)-a)]},f0e=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||mu.green,n||null]},p0=(e,t,n)=>{var r,a,o,i;let s=-1,c=-1;if(t==="step"){const u=n.steps,d=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,c=d??8):typeof e=="number"?[s,c]=[e,e]:[s=14,c=8]=Array.isArray(e)?e:[e.width,e.height],s*=u}else if(t==="line"){const u=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?c=u||(e==="small"?6:8):typeof e=="number"?[s,c]=[e,e]:[s=-1,c=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,c]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,c]=[e,e]:Array.isArray(e)&&(s=(a=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&a!==void 0?a:120,c=(i=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&i!==void 0?i:120));return[s,c]},p0e=3,g0e=e=>p0e/e*100,m0e=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:a,gapDegree:o,width:i=120,type:s,children:c,success:u,size:d=i,steps:f}=e,[p,g]=p0(d,"circle");let{strokeWidth:v}=e;v===void 0&&(v=Math.max(g0e(p),6));const m={width:p,height:g,fontSize:p*.15+6},h=l.useMemo(()=>{if(o||o===0)return o;if(s==="dashboard")return 75},[o,s]),y=d0e(e),b=a||s==="dashboard"&&"bottom"||void 0,S=Object.prototype.toString.call(e.strokeColor)==="[object Object]",w=f0e({success:u,strokeColor:e.strokeColor}),x=ne(`${t}-inner`,{[`${t}-circle-gradient`]:S}),E=l.createElement(u0e,{steps:f,percent:f?y[1]:y,strokeWidth:v,trailWidth:v,strokeColor:f?w[1]:w,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:h,gapPosition:b}),I=p<=20,R=l.createElement("div",{className:x,style:m},E,!I&&c);return I?l.createElement(rn,{title:c},R):R},_v="--progress-line-stroke-color",kW="--progress-percent",lD=e=>{const t=e?"100%":"-100%";return new Jt(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},h0e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},Gt(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${_v})`]},height:"100%",width:`calc(1 / var(${kW}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${W(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:lD(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:lD(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},v0e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},b0e=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},y0e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},S0e=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),w0e=Kt("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Pt(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[h0e(n),v0e(n),b0e(n),y0e(n)]},S0e);var C0e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:a}=n;return`${a} ${r}%`}).join(", ")},E0e=(e,t)=>{const{from:n=mu.blue,to:r=mu.blue,direction:a=t==="rtl"?"to left":"to right"}=e,o=C0e(e,["from","to","direction"]);if(Object.keys(o).length!==0){const s=x0e(o),c=`linear-gradient(${a}, ${s})`;return{background:c,[_v]:c}}const i=`linear-gradient(${a}, ${n}, ${r})`;return{background:i,[_v]:i}},I0e=e=>{const{prefixCls:t,direction:n,percent:r,size:a,strokeWidth:o,strokeColor:i,strokeLinecap:s="round",children:c,trailColor:u=null,percentPosition:d,success:f}=e,{align:p,type:g}=d,v=i&&typeof i!="string"?E0e(i,n):{[_v]:i,background:i},m=s==="square"||s==="butt"?0:void 0,h=a??[-1,o||(a==="small"?6:8)],[y,b]=p0(h,"line",{strokeWidth:o}),S={backgroundColor:u||void 0,borderRadius:m},w=Object.assign(Object.assign({width:`${ks(r)}%`,height:b,borderRadius:m},v),{[kW]:ks(r)/100}),x=Rv(e),E={width:`${ks(x)}%`,height:b,borderRadius:m,backgroundColor:f==null?void 0:f.strokeColor},I={width:y<0?"100%":y},R=l.createElement("div",{className:`${t}-inner`,style:S},l.createElement("div",{className:ne(`${t}-bg`,`${t}-bg-${g}`),style:w},g==="inner"&&c),x!==void 0&&l.createElement("div",{className:`${t}-success-bg`,style:E})),T=g==="outer"&&p==="start",_=g==="outer"&&p==="end";return g==="outer"&&p==="center"?l.createElement("div",{className:`${t}-layout-bottom`},R,c):l.createElement("div",{className:`${t}-outer`,style:I},T&&c,R,_&&c)},T0e=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:a=8,strokeColor:o,trailColor:i=null,prefixCls:s,children:c}=e,u=Math.round(n*(r/100)),f=t??[t==="small"?2:14,a],[p,g]=p0(f,"step",{steps:n,strokeWidth:a}),v=p/n,m=new Array(n);for(let h=0;h{const{prefixCls:n,className:r,rootClassName:a,steps:o,strokeColor:i,percent:s=0,size:c="default",showInfo:u=!0,type:d="line",status:f,format:p,style:g,percentPosition:v={}}=e,m=R0e(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:h="end",type:y="outer"}=v,b=Array.isArray(i)?i[0]:i,S=typeof i=="string"||Array.isArray(i)?i:void 0,w=l.useMemo(()=>{if(b){const L=typeof b=="string"?b:Object.values(b)[0];return new on(L).isLight()}return!1},[i]),x=l.useMemo(()=>{var L,F;const j=Rv(e);return parseInt(j!==void 0?(L=j??0)===null||L===void 0?void 0:L.toString():(F=s??0)===null||F===void 0?void 0:F.toString(),10)},[s,e.success,e.successPercent]),E=l.useMemo(()=>!_0e.includes(f)&&x>=100?"success":f||"normal",[f,x]),{getPrefixCls:I,direction:R,progress:T}=l.useContext(ot),_=I("progress",n),[$,D,P]=w0e(_),A=d==="line",O=A&&!o,N=l.useMemo(()=>{if(!u)return null;const L=Rv(e);let F;const j=p||(z=>`${z}%`),B=A&&w&&y==="inner";return y==="inner"||p||E!=="exception"&&E!=="success"?F=j(ks(s),ks(L)):E==="exception"?F=A?l.createElement(ic,null):l.createElement(da,null):E==="success"&&(F=A?l.createElement(Qp,null):l.createElement(Ub,null)),l.createElement("span",{className:ne(`${_}-text`,{[`${_}-text-bright`]:B,[`${_}-text-${h}`]:O,[`${_}-text-${y}`]:O}),title:typeof F=="string"?F:void 0},F)},[u,s,x,E,d,_,p]);let k;d==="line"?k=o?l.createElement(T0e,Object.assign({},e,{strokeColor:S,prefixCls:_,steps:typeof o=="object"?o.count:o}),N):l.createElement(I0e,Object.assign({},e,{strokeColor:b,prefixCls:_,direction:R,percentPosition:{align:h,type:y}}),N):(d==="circle"||d==="dashboard")&&(k=l.createElement(m0e,Object.assign({},e,{strokeColor:b,prefixCls:_,progressStatus:E}),N));const M=ne(_,`${_}-status-${E}`,{[`${_}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${_}-inline-circle`]:d==="circle"&&p0(c,"circle")[0]<=20,[`${_}-line`]:O,[`${_}-line-align-${h}`]:O,[`${_}-line-position-${y}`]:O,[`${_}-steps`]:o,[`${_}-show-info`]:u,[`${_}-${c}`]:typeof c=="string",[`${_}-rtl`]:R==="rtl"},T==null?void 0:T.className,r,a,D,P);return $(l.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},T==null?void 0:T.style),g),className:M,role:"progressbar","aria-valuenow":x,"aria-valuemin":0,"aria-valuemax":100},gn(m,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),k))});var $0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M855 160.1l-189.2 23.5c-6.6.8-9.3 8.8-4.7 13.5l54.7 54.7-153.5 153.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l153.6-153.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L863.9 169a7.9 7.9 0 00-8.9-8.9zM416.6 562.3a8.03 8.03 0 00-11.3 0L251.8 715.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L160.1 855c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 153.6-153.6c3.1-3.1 3.1-8.2 0-11.3l-45.2-45z"}}]},name:"arrows-alt",theme:"outlined"},O0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:$0e}))},N0e=l.forwardRef(O0e),k0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},A0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:k0e}))},M0e=l.forwardRef(A0e),D0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M740 161c-61.8 0-112 50.2-112 112 0 50.1 33.1 92.6 78.5 106.9v95.9L320 602.4V318.1c44.2-15 76-56.9 76-106.1 0-61.8-50.2-112-112-112s-112 50.2-112 112c0 49.2 31.8 91 76 106.1V706c-44.2 15-76 56.9-76 106.1 0 61.8 50.2 112 112 112s112-50.2 112-112c0-49.2-31.8-91-76-106.1v-27.8l423.5-138.7a50.52 50.52 0 0034.9-48.2V378.2c42.9-15.8 73.6-57 73.6-105.2 0-61.8-50.2-112-112-112zm-504 51a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm96 600a48.01 48.01 0 01-96 0 48.01 48.01 0 0196 0zm408-491a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"branches",theme:"outlined"},P0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:D0e}))},L0e=l.forwardRef(P0e),F0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"},j0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:F0e}))},B0e=l.forwardRef(j0e),z0e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},H0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:z0e}))},U0e=l.forwardRef(H0e),V0e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},W0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:V0e}))},G0e=l.forwardRef(W0e),q0e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},K0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:q0e}))},Y0e=l.forwardRef(K0e),X0e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{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"}}]},name:"check-circle",theme:"outlined"},Z0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:X0e}))},cD=l.forwardRef(Z0e),Q0e={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 64zm0 76c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm128.01 198.83c.03 0 .05.01.09.06l45.02 45.01a.2.2 0 01.05.09.12.12 0 010 .07c0 .02-.01.04-.05.08L557.25 512l127.87 127.86a.27.27 0 01.05.06v.02a.12.12 0 010 .07c0 .03-.01.05-.05.09l-45.02 45.02a.2.2 0 01-.09.05.12.12 0 01-.07 0c-.02 0-.04-.01-.08-.05L512 557.25 384.14 685.12c-.04.04-.06.05-.08.05a.12.12 0 01-.07 0c-.03 0-.05-.01-.09-.05l-45.02-45.02a.2.2 0 01-.05-.09.12.12 0 010-.07c0-.02.01-.04.06-.08L466.75 512 338.88 384.14a.27.27 0 01-.05-.06l-.01-.02a.12.12 0 010-.07c0-.03.01-.05.05-.09l45.02-45.02a.2.2 0 01.09-.05.12.12 0 01.07 0c.02 0 .04.01.08.06L512 466.75l127.86-127.86c.04-.05.06-.06.08-.06a.12.12 0 01.07 0z"}}]},name:"close-circle",theme:"outlined"},J0e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Q0e}))},uD=l.forwardRef(J0e),eye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"},tye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:eye}))},nye=l.forwardRef(tye),rye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}},{tag:"path",attrs:{d:"M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z"}}]},name:"cloud-sync",theme:"outlined"},aye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:rye}))},dD=l.forwardRef(aye),oye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M518.3 459a8 8 0 00-12.6 0l-112 141.7a7.98 7.98 0 006.3 12.9h73.9V856c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V613.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 459z"}},{tag:"path",attrs:{d:"M811.4 366.7C765.6 245.9 648.9 160 512.2 160S258.8 245.8 213 366.6C127.3 389.1 64 467.2 64 560c0 110.5 89.5 200 199.9 200H304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8h-40.1c-33.7 0-65.4-13.4-89-37.7-23.5-24.2-36-56.8-34.9-90.6.9-26.4 9.9-51.2 26.2-72.1 16.7-21.3 40.1-36.8 66.1-43.7l37.9-9.9 13.9-36.6c8.6-22.8 20.6-44.1 35.7-63.4a245.6 245.6 0 0152.4-49.9c41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.2c19.9 14 37.5 30.8 52.4 49.9 15.1 19.3 27.1 40.7 35.7 63.4l13.8 36.5 37.8 10C846.1 454.5 884 503.8 884 560c0 33.1-12.9 64.3-36.3 87.7a123.07 123.07 0 01-87.6 36.3H720c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h40.1C870.5 760 960 670.5 960 560c0-92.7-63.1-170.7-148.6-193.3z"}}]},name:"cloud-upload",theme:"outlined"},iye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:oye}))},sye=l.forwardRef(iye),lye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},cye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:lye}))},uye=l.forwardRef(cye),dye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M573 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40zm-280 0c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}},{tag:"path",attrs:{d:"M894 345a343.92 343.92 0 00-189-130v.1c-17.1-19-36.4-36.5-58-52.1-163.7-119-393.5-82.7-513 81-96.3 133-92.2 311.9 6 439l.8 132.6c0 3.2.5 6.4 1.5 9.4a31.95 31.95 0 0040.1 20.9L309 806c33.5 11.9 68.1 18.7 102.5 20.6l-.5.4c89.1 64.9 205.9 84.4 313 49l127.1 41.4c3.2 1 6.5 1.6 9.9 1.6 17.7 0 32-14.3 32-32V753c88.1-119.6 90.4-284.9 1-408zM323 735l-12-5-99 31-1-104-8-9c-84.6-103.2-90.2-251.9-11-361 96.4-132.2 281.2-161.4 413-66 132.2 96.1 161.5 280.6 66 412-80.1 109.9-223.5 150.5-348 102zm505-17l-8 10 1 104-98-33-12 5c-56 20.8-115.7 22.5-171 7l-.2-.1A367.31 367.31 0 00729 676c76.4-105.3 88.8-237.6 44.4-350.4l.6.4c23 16.5 44.1 37.1 62 62 72.6 99.6 68.5 235.2-8 330z"}},{tag:"path",attrs:{d:"M433 421c-23.1 0-41 17.9-41 40s17.9 40 41 40c21.1 0 39-17.9 39-40s-17.9-40-39-40z"}}]},name:"comment",theme:"outlined"},fye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:dye}))},pye=l.forwardRef(fye),gye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V687h97.9c11.6 32.8 32 62.3 59.1 84.7 34.5 28.5 78.2 44.3 123 44.3s88.5-15.7 123-44.3c27.1-22.4 47.5-51.9 59.1-84.7H792v-63H643.6l-5.2 24.7C626.4 708.5 573.2 752 512 752s-114.4-43.5-126.5-103.3l-5.2-24.7H232V136h560v752zM320 341h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 160h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}}]},name:"container",theme:"outlined"},mye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:gye}))},hye=l.forwardRef(mye),vye={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"},bye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:vye}))},AW=l.forwardRef(bye),yye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Sye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:yye}))},Ep=l.forwardRef(Sye),wye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},Cye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:wye}))},CS=l.forwardRef(Cye),xye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888.3 693.2c-42.5-24.6-94.3-18-129.2 12.8l-53-30.7V523.6c0-15.7-8.4-30.3-22-38.1l-136-78.3v-67.1c44.2-15 76-56.8 76-106.1 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 49.3 31.8 91.1 76 106.1v67.1l-136 78.3c-13.6 7.8-22 22.4-22 38.1v151.6l-53 30.7c-34.9-30.8-86.8-37.4-129.2-12.8-53.5 31-71.7 99.4-41 152.9 30.8 53.5 98.9 71.9 152.2 41 42.5-24.6 62.7-73 53.6-118.8l48.7-28.3 140.6 81c6.8 3.9 14.4 5.9 22 5.9s15.2-2 22-5.9L674.5 740l48.7 28.3c-9.1 45.7 11.2 94.2 53.6 118.8 53.3 30.9 121.5 12.6 152.2-41 30.8-53.6 12.6-122-40.7-152.9zm-673 138.4a47.6 47.6 0 01-65.2-17.6c-13.2-22.9-5.4-52.3 17.5-65.5a47.6 47.6 0 0165.2 17.6c13.2 22.9 5.4 52.3-17.5 65.5zM522 463.8zM464 234a48.01 48.01 0 0196 0 48.01 48.01 0 01-96 0zm170 446.2l-122 70.3-122-70.3V539.8l122-70.3 122 70.3v140.4zm239.9 133.9c-13.2 22.9-42.4 30.8-65.2 17.6-22.8-13.2-30.7-42.6-17.5-65.5s42.4-30.8 65.2-17.6c22.9 13.2 30.7 42.5 17.5 65.5z"}}]},name:"deployment-unit",theme:"outlined"},Eye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:xye}))},Iye=l.forwardRef(Eye),Tye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Rye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Tye}))},U$=l.forwardRef(Rye),_ye={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"},$ye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:_ye}))},m0=l.forwardRef($ye),Oye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},Nye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Oye}))},kye=l.forwardRef(Nye),Aye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM544 472c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v108H372c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h108v108c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V644h108c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V472z"}}]},name:"file-add",theme:"outlined"},Mye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Aye}))},Dye=l.forwardRef(Mye),Pye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Lye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Pye}))},MW=l.forwardRef(Lye),Fye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"},jye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Fye}))},Bye=l.forwardRef(jye),zye={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"},Hye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:zye}))},Uye=l.forwardRef(Hye),Vye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},Wye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Vye}))},Gye=l.forwardRef(Wye),qye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M834.1 469.2A347.49 347.49 0 00751.2 354l-29.1-26.7a8.09 8.09 0 00-13 3.3l-13 37.3c-8.1 23.4-23 47.3-44.1 70.8-1.4 1.5-3 1.9-4.1 2-1.1.1-2.8-.1-4.3-1.5-1.4-1.2-2.1-3-2-4.8 3.7-60.2-14.3-128.1-53.7-202C555.3 171 510 123.1 453.4 89.7l-41.3-24.3c-5.4-3.2-12.3 1-12 7.3l2.2 48c1.5 32.8-2.3 61.8-11.3 85.9-11 29.5-26.8 56.9-47 81.5a295.64 295.64 0 01-47.5 46.1 352.6 352.6 0 00-100.3 121.5A347.75 347.75 0 00160 610c0 47.2 9.3 92.9 27.7 136a349.4 349.4 0 0075.5 110.9c32.4 32 70 57.2 111.9 74.7C418.5 949.8 464.5 959 512 959s93.5-9.2 136.9-27.3A348.6 348.6 0 00760.8 857c32.4-32 57.8-69.4 75.5-110.9a344.2 344.2 0 0027.7-136c0-48.8-10-96.2-29.9-140.9zM713 808.5c-53.7 53.2-125 82.4-201 82.4s-147.3-29.2-201-82.4c-53.5-53.1-83-123.5-83-198.4 0-43.5 9.8-85.2 29.1-124 18.8-37.9 46.8-71.8 80.8-97.9a349.6 349.6 0 0058.6-56.8c25-30.5 44.6-64.5 58.2-101a240 240 0 0012.1-46.5c24.1 22.2 44.3 49 61.2 80.4 33.4 62.6 48.8 118.3 45.8 165.7a74.01 74.01 0 0024.4 59.8 73.36 73.36 0 0053.4 18.8c19.7-1 37.8-9.7 51-24.4 13.3-14.9 24.8-30.1 34.4-45.6 14 17.9 25.7 37.4 35 58.4 15.9 35.8 24 73.9 24 113.1 0 74.9-29.5 145.4-83 198.4z"}}]},name:"fire",theme:"outlined"},Kye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:qye}))},Yye=l.forwardRef(Kye),Xye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M484 443.1V528h-84.5c-4.1 0-7.5 3.1-7.5 7v42c0 3.8 3.4 7 7.5 7H484v84.9c0 3.9 3.2 7.1 7 7.1h42c3.9 0 7-3.2 7-7.1V584h84.5c4.1 0 7.5-3.2 7.5-7v-42c0-3.9-3.4-7-7.5-7H540v-84.9c0-3.9-3.1-7.1-7-7.1h-42c-3.8 0-7 3.2-7 7.1zm396-144.7H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder-add",theme:"outlined"},Zye=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Xye}))},Qye=l.forwardRef(Zye),Jye={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},eSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Jye}))},V$=l.forwardRef(eSe),tSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},nSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:tSe}))},rSe=l.forwardRef(nSe),aSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},oSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:aSe}))},iSe=l.forwardRef(oSe),sSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M536.1 273H488c-4.4 0-8 3.6-8 8v275.3c0 2.6 1.2 5 3.3 6.5l165.3 120.7c3.6 2.6 8.6 1.9 11.2-1.7l28.6-39c2.7-3.7 1.9-8.7-1.7-11.2L544.1 528.5V281c0-4.4-3.6-8-8-8zm219.8 75.2l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3L752.9 334.1a8 8 0 003 14.1zm167.7 301.1l-56.7-19.5a8 8 0 00-10.1 4.8c-1.9 5.1-3.9 10.1-6 15.1-17.8 42.1-43.3 80-75.9 112.5a353 353 0 01-112.5 75.9 352.18 352.18 0 01-137.7 27.8c-47.8 0-94.1-9.3-137.7-27.8a353 353 0 01-112.5-75.9c-32.5-32.5-58-70.4-75.9-112.5A353.44 353.44 0 01171 512c0-47.8 9.3-94.2 27.8-137.8 17.8-42.1 43.3-80 75.9-112.5a353 353 0 01112.5-75.9C430.6 167.3 477 158 524.8 158s94.1 9.3 137.7 27.8A353 353 0 01775 261.7c10.2 10.3 19.8 21 28.6 32.3l59.8-46.8C784.7 146.6 662.2 81.9 524.6 82 285 82.1 92.6 276.7 95 516.4 97.4 751.9 288.9 942 524.8 942c185.5 0 343.5-117.6 403.7-282.3 1.5-4.2-.7-8.9-4.9-10.4z"}}]},name:"history",theme:"outlined"},lSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:sSe}))},cSe=l.forwardRef(lSe),uSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},dSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:uSe}))},fSe=l.forwardRef(dSe),pSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},gSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:pSe}))},mSe=l.forwardRef(gSe),hSe={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},vSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:hSe}))},DW=l.forwardRef(vSe),bSe={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"},ySe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:bSe}))},iu=l.forwardRef(ySe),SSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M956.9 845.1L896.4 632V168c0-17.7-14.3-32-32-32h-704c-17.7 0-32 14.3-32 32v464L67.9 845.1C60.4 866 75.8 888 98 888h828.8c22.2 0 37.6-22 30.1-42.9zM200.4 208h624v395h-624V208zm228.3 608l8.1-37h150.3l8.1 37H428.7zm224 0l-19.1-86.7c-.8-3.7-4.1-6.3-7.8-6.3H398.2c-3.8 0-7 2.6-7.8 6.3L371.3 816H151l42.3-149h638.2l42.3 149H652.7z"}}]},name:"laptop",theme:"outlined"},wSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:SSe}))},CSe=l.forwardRef(wSe),xSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},ESe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:xSe}))},ISe=l.forwardRef(ESe),TSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},RSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:TSe}))},_Se=l.forwardRef(RSe),$Se={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},OSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:$Se}))},NSe=l.forwardRef(OSe),kSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},ASe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:kSe}))},MSe=l.forwardRef(ASe),DSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{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"}}]},name:"minus-circle",theme:"outlined"},PSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:DSe}))},LSe=l.forwardRef(PSe),FSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},jSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:FSe}))},BSe=l.forwardRef(jSe),zSe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M489.5 111.66c30.65-1.8 45.98 36.44 22.58 56.33A243.35 243.35 0 00426 354c0 134.76 109.24 244 244 244 72.58 0 139.9-31.83 186.01-86.08 19.87-23.38 58.07-8.1 56.34 22.53C900.4 745.82 725.15 912 512.5 912 291.31 912 112 732.69 112 511.5c0-211.39 164.29-386.02 374.2-399.65l.2-.01zm-81.15 79.75l-4.11 1.36C271.1 237.94 176 364.09 176 511.5 176 697.34 326.66 848 512.5 848c148.28 0 274.94-96.2 319.45-230.41l.63-1.93-.11.07a307.06 307.06 0 01-159.73 46.26L670 662c-170.1 0-308-137.9-308-308 0-58.6 16.48-114.54 46.27-162.47z"}}]},name:"moon",theme:"outlined"},HSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:zSe}))},USe=l.forwardRef(HSe),VSe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M771.91 115a31.65 31.65 0 00-17.42 5.27L400 351.97H236a16 16 0 00-16 16v288.06a16 16 0 0016 16h164l354.5 231.7a31.66 31.66 0 0017.42 5.27c16.65 0 32.08-13.25 32.08-32.06V147.06c0-18.8-15.44-32.06-32.09-32.06M732 221v582L439.39 611.75l-17.95-11.73H292V423.98h129.44l17.95-11.73z"}}]},name:"muted",theme:"outlined"},WSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:VSe}))},GSe=l.forwardRef(WSe),qSe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},KSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:qSe}))},YSe=l.forwardRef(KSe),XSe={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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"},ZSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:XSe}))},fD=l.forwardRef(ZSe),QSe={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"},JSe=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:QSe}))},e1e=l.forwardRef(JSe),t1e={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"},n1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:t1e}))},El=l.forwardRef(n1e),r1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},a1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:r1e}))},o1e=l.forwardRef(a1e),i1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},s1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:i1e}))},l1e=l.forwardRef(s1e),c1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M136 552h63.6c4.4 0 8-3.6 8-8V288.7h528.6v72.6c0 1.9.6 3.7 1.8 5.2a8.3 8.3 0 0011.7 1.4L893 255.4c4.3-5 3.6-10.3 0-13.2L749.7 129.8a8.22 8.22 0 00-5.2-1.8c-4.6 0-8.4 3.8-8.4 8.4V209H199.7c-39.5 0-71.7 32.2-71.7 71.8V544c0 4.4 3.6 8 8 8zm752-80h-63.6c-4.4 0-8 3.6-8 8v255.3H287.8v-72.6c0-1.9-.6-3.7-1.8-5.2a8.3 8.3 0 00-11.7-1.4L131 768.6c-4.3 5-3.6 10.3 0 13.2l143.3 112.4c1.5 1.2 3.3 1.8 5.2 1.8 4.6 0 8.4-3.8 8.4-8.4V815h536.6c39.5 0 71.7-32.2 71.7-71.8V480c-.2-4.4-3.8-8-8.2-8z"}}]},name:"retweet",theme:"outlined"},u1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:c1e}))},pD=l.forwardRef(u1e),d1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"},f1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:d1e}))},PW=l.forwardRef(f1e),p1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-12-12-28.3-18.7-45.3-18.7H144c-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 176h256v112H384V176zm128 554c-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:"filled"},g1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:p1e}))},LW=l.forwardRef(g1e),m1e={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"},h1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:m1e}))},v1e=l.forwardRef(h1e),b1e={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"},y1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:b1e}))},W$=l.forwardRef(y1e),S1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M881.7 187.4l-45.1-45.1a8.03 8.03 0 00-11.3 0L667.8 299.9l-54.7-54.7a7.94 7.94 0 00-13.5 4.7L576.1 439c-.6 5.2 3.7 9.5 8.9 8.9l189.2-23.5c6.6-.8 9.3-8.8 4.7-13.5l-54.7-54.7 157.6-157.6c3-3 3-8.1-.1-11.2zM439 576.1l-189.2 23.5c-6.6.8-9.3 8.9-4.7 13.5l54.7 54.7-157.5 157.5a8.03 8.03 0 000 11.3l45.1 45.1c3.1 3.1 8.2 3.1 11.3 0l157.6-157.6 54.7 54.7a7.94 7.94 0 0013.5-4.7L447.9 585a7.9 7.9 0 00-8.9-8.9z"}}]},name:"shrink",theme:"outlined"},w1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:S1e}))},C1e=l.forwardRef(w1e),x1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M625.9 115c-5.9 0-11.9 1.6-17.4 5.3L254 352H90c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h164l354.5 231.7c5.5 3.6 11.6 5.3 17.4 5.3 16.7 0 32.1-13.3 32.1-32.1V147.1c0-18.8-15.4-32.1-32.1-32.1zM586 803L293.4 611.7l-18-11.7H146V424h129.4l17.9-11.7L586 221v582zm348-327H806c-8.8 0-16 7.2-16 16v40c0 8.8 7.2 16 16 16h128c8.8 0 16-7.2 16-16v-40c0-8.8-7.2-16-16-16zm-41.9 261.8l-110.3-63.7a15.9 15.9 0 00-21.7 5.9l-19.9 34.5c-4.4 7.6-1.8 17.4 5.8 21.8L856.3 800a15.9 15.9 0 0021.7-5.9l19.9-34.5c4.4-7.6 1.7-17.4-5.8-21.8zM760 344a15.9 15.9 0 0021.7 5.9L892 286.2c7.6-4.4 10.2-14.2 5.8-21.8L878 230a15.9 15.9 0 00-21.7-5.9L746 287.8a15.99 15.99 0 00-5.8 21.8L760 344z"}}]},name:"sound",theme:"outlined"},E1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:x1e}))},FW=l.forwardRef(E1e),I1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M347.6 528.95l383.2 301.02c14.25 11.2 35.2 1.1 35.2-16.95V210.97c0-18.05-20.95-28.14-35.2-16.94L347.6 495.05a21.53 21.53 0 000 33.9M330 864h-64a8 8 0 01-8-8V168a8 8 0 018-8h64a8 8 0 018 8v688a8 8 0 01-8 8"}}]},name:"step-backward",theme:"outlined"},T1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:I1e}))},R1e=l.forwardRef(T1e),_1e={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M676.4 528.95L293.2 829.97c-14.25 11.2-35.2 1.1-35.2-16.95V210.97c0-18.05 20.95-28.14 35.2-16.94l383.2 301.02a21.53 21.53 0 010 33.9M694 864h64a8 8 0 008-8V168a8 8 0 00-8-8h-64a8 8 0 00-8 8v688a8 8 0 008 8"}}]},name:"step-forward",theme:"outlined"},$1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:_1e}))},O1e=l.forwardRef($1e),N1e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M548 818v126a16 16 0 01-16 16h-40a16 16 0 01-16-16V818c15.85 1.64 27.84 2.46 36 2.46 8.15 0 20.16-.82 36-2.46m205.25-115.66l89.1 89.1a16 16 0 010 22.62l-28.29 28.29a16 16 0 01-22.62 0l-89.1-89.1c12.37-10.04 21.43-17.95 27.2-23.71 5.76-5.77 13.67-14.84 23.71-27.2m-482.5 0c10.04 12.36 17.95 21.43 23.71 27.2 5.77 5.76 14.84 13.67 27.2 23.71l-89.1 89.1a16 16 0 01-22.62 0l-28.29-28.29a16 16 0 010-22.63zM512 278c129.24 0 234 104.77 234 234S641.24 746 512 746 278 641.24 278 512s104.77-234 234-234m0 72c-89.47 0-162 72.53-162 162s72.53 162 162 162 162-72.53 162-162-72.53-162-162-162M206 476c-1.64 15.85-2.46 27.84-2.46 36 0 8.15.82 20.16 2.46 36H80a16 16 0 01-16-16v-40a16 16 0 0116-16zm738 0a16 16 0 0116 16v40a16 16 0 01-16 16H818c1.64-15.85 2.46-27.84 2.46-36 0-8.15-.82-20.16-2.46-36zM814.06 180.65l28.29 28.29a16 16 0 010 22.63l-89.1 89.09c-10.04-12.37-17.95-21.43-23.71-27.2-5.77-5.76-14.84-13.67-27.2-23.71l89.1-89.1a16 16 0 0122.62 0m-581.5 0l89.1 89.1c-12.37 10.04-21.43 17.95-27.2 23.71-5.76 5.77-13.67 14.84-23.71 27.2l-89.1-89.1a16 16 0 010-22.62l28.29-28.29a16 16 0 0122.62 0M532 64a16 16 0 0116 16v126c-15.85-1.64-27.84-2.46-36-2.46-8.15 0-20.16.82-36 2.46V80a16 16 0 0116-16z"}}]},name:"sun",theme:"outlined"},k1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:N1e}))},A1e=l.forwardRef(k1e),M1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M168 504.2c1-43.7 10-86.1 26.9-126 17.3-41 42.1-77.7 73.7-109.4S337 212.3 378 195c42.4-17.9 87.4-27 133.9-27s91.5 9.1 133.8 27A341.5 341.5 0 01755 268.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.7 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c0-6.7-7.7-10.5-12.9-6.3l-56.4 44.1C765.8 155.1 646.2 92 511.8 92 282.7 92 96.3 275.6 92 503.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8zm756 7.8h-60c-4.4 0-7.9 3.5-8 7.8-1 43.7-10 86.1-26.9 126-17.3 41-42.1 77.8-73.7 109.4A342.45 342.45 0 01512.1 856a342.24 342.24 0 01-243.2-100.8c-9.9-9.9-19.2-20.4-27.8-31.4l60.2-47a8 8 0 00-3-14.1l-175.7-43c-5-1.2-9.9 2.6-9.9 7.7l-.7 181c0 6.7 7.7 10.5 12.9 6.3l56.4-44.1C258.2 868.9 377.8 932 512.2 932c229.2 0 415.5-183.7 419.8-411.8a8 8 0 00-8-8.2z"}}]},name:"sync",theme:"outlined"},D1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:M1e}))},jW=l.forwardRef(D1e),P1e={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 192a32 32 0 0132 32v160h174.81a32 32 0 0126.68 14.33l113.19 170.84a32 32 0 015.32 17.68V672a32 32 0 01-32 32h-96c0 70.7-57.3 128-128 128s-128-57.3-128-128H384c0 70.7-57.3 128-128 128s-128-57.3-128-128H96a32 32 0 01-32-32V224a32 32 0 0132-32zM256 640a64 64 0 000 128h1.06A64 64 0 00256 640m448 0a64 64 0 000 128h1.06A64 64 0 00704 640M576 256H128v384h17.12c22.13-38.26 63.5-64 110.88-64 47.38 0 88.75 25.74 110.88 64H576zm221.63 192H640v145.12A127.43 127.43 0 01704 576c47.38 0 88.75 25.74 110.88 64H896v-43.52zM500 448a12 12 0 0112 12v40a12 12 0 01-12 12H332a12 12 0 01-12-12v-40a12 12 0 0112-12zM308 320a12 12 0 0112 12v40a12 12 0 01-12 12H204a12 12 0 01-12-12v-40a12 12 0 0112-12z"}}]},name:"truck",theme:"outlined"},L1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:P1e}))},F1e=l.forwardRef(L1e),j1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"unordered-list",theme:"outlined"},B1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:j1e}))},z1e=l.forwardRef(B1e),H1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},U1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:H1e}))},V1e=l.forwardRef(U1e),W1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M678.3 642.4c24.2-13 51.9-20.4 81.4-20.4h.1c3 0 4.4-3.6 2.2-5.6a371.67 371.67 0 00-103.7-65.8c-.4-.2-.8-.3-1.2-.5C719.2 505 759.6 431.7 759.6 349c0-137-110.8-248-247.5-248S264.7 212 264.7 349c0 82.7 40.4 156 102.6 201.1-.4.2-.8.3-1.2.5-44.7 18.9-84.8 46-119.3 80.6a373.42 373.42 0 00-80.4 119.5A373.6 373.6 0 00137 888.8a8 8 0 008 8.2h59.9c4.3 0 7.9-3.5 8-7.8 2-77.2 32.9-149.5 87.6-204.3C357 628.2 432.2 597 512.2 597c56.7 0 111.1 15.7 158 45.1a8.1 8.1 0 008.1.3zM512.2 521c-45.8 0-88.9-17.9-121.4-50.4A171.2 171.2 0 01340.5 349c0-45.9 17.9-89.1 50.3-121.6S466.3 177 512.2 177s88.9 17.9 121.4 50.4A171.2 171.2 0 01683.9 349c0 45.9-17.9 89.1-50.3 121.6C601.1 503.1 558 521 512.2 521zM880 759h-84v-84c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v84h-84c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h84v84c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-84h84c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"user-add",theme:"outlined"},G1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:W1e}))},q1e=l.forwardRef(G1e),K1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},Y1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:K1e}))},BW=l.forwardRef(Y1e),X1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},Z1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:X1e}))},zW=l.forwardRef(Z1e),Q1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},J1e=function(t,n){return l.createElement(rt,be({},t,{ref:n,icon:Q1e}))},LT=l.forwardRef(J1e),ewe=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function gD(e){return typeof e=="string"}function HW(e){var t,n=e.className,r=e.prefixCls,a=e.style,o=e.active,i=e.status,s=e.iconPrefix,c=e.icon;e.wrapperStyle;var u=e.stepNumber,d=e.disabled,f=e.description,p=e.title,g=e.subTitle,v=e.progressDot,m=e.stepIcon,h=e.tailContent,y=e.icons,b=e.stepIndex,S=e.onStepClick,w=e.onClick,x=e.render,E=vt(e,ewe),I=!!S&&!d,R={};I&&(R.role="button",R.tabIndex=0,R.onClick=function(A){w==null||w(A),S(b)},R.onKeyDown=function(A){var O=A.which;(O===Me.ENTER||O===Me.SPACE)&&S(b)});var T=function(){var O,N,k=ne("".concat(r,"-icon"),"".concat(s,"icon"),(O={},V(O,"".concat(s,"icon-").concat(c),c&&gD(c)),V(O,"".concat(s,"icon-check"),!c&&i==="finish"&&(y&&!y.finish||!y)),V(O,"".concat(s,"icon-cross"),!c&&i==="error"&&(y&&!y.error||!y)),O)),M=l.createElement("span",{className:"".concat(r,"-icon-dot")});return v?typeof v=="function"?N=l.createElement("span",{className:"".concat(r,"-icon")},v(M,{index:u-1,status:i,title:p,description:f})):N=l.createElement("span",{className:"".concat(r,"-icon")},M):c&&!gD(c)?N=l.createElement("span",{className:"".concat(r,"-icon")},c):y&&y.finish&&i==="finish"?N=l.createElement("span",{className:"".concat(r,"-icon")},y.finish):y&&y.error&&i==="error"?N=l.createElement("span",{className:"".concat(r,"-icon")},y.error):c||i==="finish"||i==="error"?N=l.createElement("span",{className:k}):N=l.createElement("span",{className:"".concat(r,"-icon")},u),m&&(N=m({index:u-1,status:i,title:p,description:f,node:N})),N},_=i||"wait",$=ne("".concat(r,"-item"),"".concat(r,"-item-").concat(_),n,(t={},V(t,"".concat(r,"-item-custom"),c),V(t,"".concat(r,"-item-active"),o),V(t,"".concat(r,"-item-disabled"),d===!0),t)),D=K({},a),P=l.createElement("div",be({},E,{className:$,style:D}),l.createElement("div",be({onClick:w},R,{className:"".concat(r,"-item-container")}),l.createElement("div",{className:"".concat(r,"-item-tail")},h),l.createElement("div",{className:"".concat(r,"-item-icon")},T()),l.createElement("div",{className:"".concat(r,"-item-content")},l.createElement("div",{className:"".concat(r,"-item-title")},p,g&&l.createElement("div",{title:typeof g=="string"?g:void 0,className:"".concat(r,"-item-subtitle")},g)),f&&l.createElement("div",{className:"".concat(r,"-item-description")},f))));return x&&(P=x(P)||null),P}var twe=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function G$(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,a=e.style,o=a===void 0?{}:a,i=e.className;e.children;var s=e.direction,c=s===void 0?"horizontal":s,u=e.type,d=u===void 0?"default":u,f=e.labelPlacement,p=f===void 0?"horizontal":f,g=e.iconPrefix,v=g===void 0?"rc":g,m=e.status,h=m===void 0?"process":m,y=e.size,b=e.current,S=b===void 0?0:b,w=e.progressDot,x=w===void 0?!1:w,E=e.stepIcon,I=e.initial,R=I===void 0?0:I,T=e.icons,_=e.onChange,$=e.itemRender,D=e.items,P=D===void 0?[]:D,A=vt(e,twe),O=d==="navigation",N=d==="inline",k=N||x,M=N?"horizontal":c,L=N?void 0:y,F=k?"vertical":p,j=ne(r,"".concat(r,"-").concat(M),i,(t={},V(t,"".concat(r,"-").concat(L),L),V(t,"".concat(r,"-label-").concat(F),M==="horizontal"),V(t,"".concat(r,"-dot"),!!k),V(t,"".concat(r,"-navigation"),O),V(t,"".concat(r,"-inline"),N),t)),B=function(U){_&&S!==U&&_(U)},z=function(U,Z){var q=K({},U),Y=R+Z;return h==="error"&&Z===S-1&&(q.className="".concat(r,"-next-error")),q.status||(Y===S?q.status=h:Y{const{componentCls:t,customIconTop:n,customIconSize:r,customIconFontSize:a}=e;return{[`${t}-item-custom`]:{[`> ${t}-item-container > ${t}-item-icon`]:{height:"auto",background:"none",border:0,[`> ${t}-icon`]:{top:n,width:r,height:r,fontSize:a,lineHeight:W(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},rwe=e=>{const{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},awe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:a}=e,o=e.calc(e.paddingXS).add(e.lineWidth).equal(),i={[`${t}-item-container ${t}-item-content ${t}-item-title`]:{color:r}};return{[`&${t}-inline`]:{width:"auto",display:"inline-flex",[`${t}-item`]:{flex:"none","&-container":{padding:`${W(o)} ${W(e.paddingXXS)} 0`,margin:`0 ${W(e.calc(e.marginXXS).div(2).equal())}`,borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover},"&[role='button']:hover":{opacity:1}},"&-icon":{width:n,height:n,marginInlineStart:`calc(50% - ${W(e.calc(n).div(2).equal())})`,[`> ${t}-icon`]:{top:0},[`${t}-icon-dot`]:{borderRadius:e.calc(e.fontSizeSM).div(4).equal(),"&::after":{display:"none"}}},"&-content":{width:"auto",marginTop:e.calc(e.marginXS).sub(e.lineWidth).equal()},"&-title":{color:r,fontSize:e.fontSizeSM,lineHeight:e.lineHeightSM,fontWeight:"normal",marginBottom:e.calc(e.marginXXS).div(2).equal()},"&-description":{display:"none"},"&-tail":{marginInlineStart:0,top:e.calc(n).div(2).add(o).equal(),transform:"translateY(-50%)","&:after":{width:"100%",height:e.lineWidth,borderRadius:0,marginInlineStart:0,background:a}},[`&:first-child ${t}-item-tail`]:{width:"50%",marginInlineStart:"50%"},[`&:last-child ${t}-item-tail`]:{display:"block",width:"50%"},"&-wait":Object.assign({[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:e.colorBorderBg,border:`${W(e.lineWidth)} ${e.lineType} ${a}`}},i),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:a},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:a,border:`${W(e.lineWidth)} ${e.lineType} ${a}`}},i),"&-error":i,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${W(e.calc(n).div(2).equal())})`,top:0}},i),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},owe=e=>{const{componentCls:t,iconSize:n,lineHeight:r,iconSizeSM:a}=e;return{[`&${t}-label-vertical`]:{[`${t}-item`]:{overflow:"visible","&-tail":{marginInlineStart:e.calc(n).div(2).add(e.controlHeightLG).equal(),padding:`0 ${W(e.paddingLG)}`},"&-content":{display:"block",width:e.calc(n).div(2).add(e.controlHeightLG).mul(2).equal(),marginTop:e.marginSM,textAlign:"center"},"&-icon":{display:"inline-block",marginInlineStart:e.controlHeightLG},"&-title":{paddingInlineEnd:0,paddingInlineStart:0,"&::after":{display:"none"}},"&-subtitle":{display:"block",marginBottom:e.marginXXS,marginInlineStart:0,lineHeight:r}},[`&${t}-small:not(${t}-dot)`]:{[`${t}-item`]:{"&-icon":{marginInlineStart:e.calc(n).sub(a).div(2).add(e.controlHeightLG).equal()}}}}}},iwe=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:a,motionDurationSlow:o}=e;return{[`&${t}-navigation`]:{paddingTop:e.paddingSM,[`&${t}-small`]:{[`${t}-item`]:{"&-container":{marginInlineStart:e.calc(e.marginSM).mul(-1).equal()}}},[`${t}-item`]:{overflow:"visible",textAlign:"center","&-container":{display:"inline-block",height:"100%",marginInlineStart:e.calc(e.margin).mul(-1).equal(),paddingBottom:e.paddingSM,textAlign:"start",transition:`opacity ${o}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},vo),{"&::after":{display:"none"}})},[`&:not(${t}-item-active)`]:{[`${t}-item-container[role='button']`]:{cursor:"pointer","&:hover":{opacity:.85}}},"&:last-child":{flex:1,"&::after":{display:"none"}},"&::after":{position:"absolute",top:`calc(50% - ${W(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${W(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${W(e.lineWidth)} ${e.lineType} ${r}`,transform:"translateY(-50%) translateX(-50%) rotate(45deg)",content:'""'},"&::before":{position:"absolute",bottom:0,insetInlineStart:"50%",display:"inline-block",width:0,height:e.lineWidthBold,backgroundColor:a,transition:`width ${o}, inset-inline-start ${o}`,transitionTimingFunction:"ease-out",content:'""'}},[`${t}-item${t}-item-active::before`]:{insetInlineStart:0,width:"100%"}},[`&${t}-navigation${t}-vertical`]:{[`> ${t}-item`]:{marginInlineEnd:0,"&::before":{display:"none"},[`&${t}-item-active::before`]:{top:0,insetInlineEnd:0,insetInlineStart:"unset",display:"block",width:e.calc(e.lineWidth).mul(3).equal(),height:`calc(100% - ${W(e.marginLG)})`},"&::after":{position:"relative",insetInlineStart:"50%",display:"block",width:e.calc(e.controlHeight).mul(.25).equal(),height:e.calc(e.controlHeight).mul(.25).equal(),marginBottom:e.marginXS,textAlign:"center",transform:"translateY(-50%) translateX(-50%) rotate(135deg)"},"&:last-child":{"&::after":{display:"none"}},[`> ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}},[`&${t}-navigation${t}-horizontal`]:{[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{visibility:"hidden"}}}},swe=e=>{const{antCls:t,componentCls:n,iconSize:r,iconSizeSM:a,processIconColor:o,marginXXS:i,lineWidthBold:s,lineWidth:c,paddingXXS:u}=e,d=e.calc(r).add(e.calc(s).mul(4).equal()).equal(),f=e.calc(a).add(e.calc(e.lineWidth).mul(4).equal()).equal();return{[`&${n}-with-progress`]:{[`${n}-item`]:{paddingTop:u,[`&-process ${n}-item-container ${n}-item-icon ${n}-icon`]:{color:o}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:u,[`> ${n}-item-container > ${n}-item-tail`]:{top:i,insetInlineStart:e.calc(r).div(2).sub(c).add(u).equal()}},[`&, &${n}-small`]:{[`&${n}-horizontal ${n}-item:first-child`]:{paddingBottom:u,paddingInlineStart:u}},[`&${n}-small${n}-vertical > ${n}-item > ${n}-item-container > ${n}-item-tail`]:{insetInlineStart:e.calc(a).div(2).sub(c).add(u).equal()},[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(r).div(2).add(u).equal()},[`${n}-item-icon`]:{position:"relative",[`${t}-progress`]:{position:"absolute",insetInlineStart:"50%",top:"50%",transform:"translate(-50%, -50%)","&-inner":{width:`${W(d)} !important`,height:`${W(d)} !important`}}},[`&${n}-small`]:{[`&${n}-label-vertical ${n}-item ${n}-item-tail`]:{top:e.calc(a).div(2).add(u).equal()},[`${n}-item-icon ${t}-progress-inner`]:{width:`${W(f)} !important`,height:`${W(f)} !important`}}}}},lwe=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:a,dotSize:o,motionDurationSlow:i}=e;return{[`&${t}-dot, &${t}-dot${t}-small`]:{[`${t}-item`]:{"&-title":{lineHeight:r},"&-tail":{top:e.calc(e.dotSize).sub(e.calc(e.lineWidth).mul(3).equal()).div(2).equal(),width:"100%",marginTop:0,marginBottom:0,marginInline:`${W(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${W(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:o,height:o,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(o).div(2).equal(),paddingInlineEnd:0,lineHeight:W(o),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${i}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(o).sub(e.calc(e.controlHeightLG).mul(1.5).equal()).div(2).equal(),width:e.calc(e.controlHeightLG).mul(1.5).equal(),height:e.controlHeight,background:"transparent",content:'""'}}},"&-content":{width:n},[`&-process ${t}-item-icon`]:{position:"relative",top:e.calc(o).sub(a).div(2).equal(),width:a,height:a,lineHeight:W(a),background:"none",marginInlineStart:e.calc(e.descriptionMaxWidth).sub(a).div(2).equal()},[`&-process ${t}-icon`]:{[`&:first-child ${t}-icon-dot`]:{insetInlineStart:0}}}},[`&${t}-vertical${t}-dot`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(o).div(2).equal(),marginInlineStart:0,background:"none"},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeight).sub(a).div(2).equal(),top:0,insetInlineStart:e.calc(o).sub(a).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(o).div(2).equal(),insetInlineStart:0,margin:0,padding:`${W(e.calc(o).add(e.paddingXS).equal())} 0 ${W(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(o).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(o).div(2).equal()},[`${t}-item-process ${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(a).div(2).equal()},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeightSM).sub(o).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},cwe=e=>{const{componentCls:t}=e;return{[`&${t}-rtl`]:{direction:"rtl",[`${t}-item`]:{"&-subtitle":{float:"left"}},[`&${t}-navigation`]:{[`${t}-item::after`]:{transform:"rotate(-45deg)"}},[`&${t}-vertical`]:{[`> ${t}-item`]:{"&::after":{transform:"rotate(225deg)"},[`${t}-item-icon`]:{float:"right"}}},[`&${t}-dot`]:{[`${t}-item-icon ${t}-icon-dot, &${t}-small ${t}-item-icon ${t}-icon-dot`]:{float:"right"}}}}},uwe=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:a,colorTextDescription:o}=e;return{[`&${t}-small`]:{[`&${t}-horizontal:not(${t}-label-vertical) ${t}-item`]:{paddingInlineStart:e.paddingSM,"&:first-child":{paddingInlineStart:0}},[`${t}-item-icon`]:{width:n,height:n,marginTop:0,marginBottom:0,marginInline:`0 ${W(e.marginXS)}`,fontSize:r,lineHeight:W(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:W(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:o,fontSize:a},[`${t}-item-tail`]:{top:e.calc(n).div(2).sub(e.paddingXXS).equal()},[`${t}-item-custom ${t}-item-icon`]:{width:"inherit",height:"inherit",lineHeight:"inherit",background:"none",border:0,borderRadius:0,[`> ${t}-icon`]:{fontSize:n,lineHeight:W(n),transform:"none"}}}}},dwe=e=>{const{componentCls:t,iconSizeSM:n,iconSize:r}=e;return{[`&${t}-vertical`]:{display:"flex",flexDirection:"column",[`> ${t}-item`]:{display:"block",flex:"1 0 auto",paddingInlineStart:0,overflow:"visible",[`${t}-item-icon`]:{float:"left",marginInlineEnd:e.margin},[`${t}-item-content`]:{display:"block",minHeight:e.calc(e.controlHeight).mul(1.5).equal(),overflow:"hidden"},[`${t}-item-title`]:{lineHeight:W(r)},[`${t}-item-description`]:{paddingBottom:e.paddingSM}},[`> ${t}-item > ${t}-item-container > ${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(r).div(2).sub(e.lineWidth).equal(),width:e.lineWidth,height:"100%",padding:`${W(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${W(e.calc(e.marginXXS).mul(1.5).equal())}`,"&::after":{width:e.lineWidth,height:"100%"}},[`> ${t}-item:not(:last-child) > ${t}-item-container > ${t}-item-tail`]:{display:"block"},[` > ${t}-item > ${t}-item-container > ${t}-item-content > ${t}-item-title`]:{"&::after":{display:"none"}},[`&${t}-small ${t}-item-container`]:{[`${t}-item-tail`]:{position:"absolute",top:0,insetInlineStart:e.calc(n).div(2).sub(e.lineWidth).equal(),padding:`${W(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${W(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:W(n)}}}}},fwe="wait",pwe="process",gwe="finish",mwe="error",Rm=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,a=`${e}TitleColor`,o=`${e}DescriptionColor`,i=`${e}TailColor`,s=`${e}IconBgColor`,c=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[s],borderColor:t[c],[`> ${t.componentCls}-icon`]:{color:t[r],[`${t.componentCls}-icon-dot`]:{background:t[u]}}},[`${n}-${e}${n}-custom ${n}-icon`]:{[`> ${t.componentCls}-icon`]:{color:t[u]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-title`]:{color:t[a],"&::after":{backgroundColor:t[i]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[o]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[i]}}},hwe=e=>{const{componentCls:t,motionDurationSlow:n}=e,r=`${t}-item`,a=`${r}-icon`;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[r]:{position:"relative",display:"inline-block",flex:1,overflow:"hidden",verticalAlign:"top","&:last-child":{flex:"none",[`> ${r}-container > ${r}-tail, > ${r}-container > ${r}-content > ${r}-title::after`]:{display:"none"}}},[`${r}-container`]:{outline:"none","&:focus-visible":{[a]:Object.assign({},Vi(e))}},[`${a}, ${r}-content`]:{display:"inline-block",verticalAlign:"top"},[a]:{width:e.iconSize,height:e.iconSize,marginTop:0,marginBottom:0,marginInlineStart:0,marginInlineEnd:e.marginXS,fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:W(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${W(e.lineWidth)} ${e.lineType} transparent`,transition:`background-color ${n}, border-color ${n}`,[`${t}-icon`]:{position:"relative",top:e.iconTop,color:e.colorPrimary,lineHeight:1}},[`${r}-tail`]:{position:"absolute",top:e.calc(e.iconSize).div(2).equal(),insetInlineStart:0,width:"100%","&::after":{display:"inline-block",width:"100%",height:e.lineWidth,background:e.colorSplit,borderRadius:e.lineWidth,transition:`background ${n}`,content:'""'}},[`${r}-title`]:{position:"relative",display:"inline-block",paddingInlineEnd:e.padding,color:e.colorText,fontSize:e.fontSizeLG,lineHeight:W(e.titleLineHeight),"&::after":{position:"absolute",top:e.calc(e.titleLineHeight).div(2).equal(),insetInlineStart:"100%",display:"block",width:9999,height:e.lineWidth,background:e.processTailColor,content:'""'}},[`${r}-subtitle`]:{display:"inline",marginInlineStart:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize},[`${r}-description`]:{color:e.colorTextDescription,fontSize:e.fontSize}},Rm(fwe,e)),Rm(pwe,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),Rm(gwe,e)),Rm(mwe,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},vwe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[`& ${t}-item`]:{[`&:not(${t}-item-active)`]:{[`& > ${t}-item-container[role='button']`]:{cursor:"pointer",[`${t}-item`]:{[`&-title, &-subtitle, &-description, &-icon ${t}-icon`]:{transition:`color ${n}`}},"&:hover":{[`${t}-item`]:{"&-title, &-subtitle, &-description":{color:e.colorPrimary}}}},[`&:not(${t}-item-process)`]:{[`& > ${t}-item-container[role='button']:hover`]:{[`${t}-item`]:{"&-icon":{borderColor:e.colorPrimary,[`${t}-icon`]:{color:e.colorPrimary}}}}}}},[`&${t}-horizontal:not(${t}-label-vertical)`]:{[`${t}-item`]:{paddingInlineStart:e.padding,whiteSpace:"nowrap","&:first-child":{paddingInlineStart:0},[`&:last-child ${t}-item-title`]:{paddingInlineEnd:0},"&-tail":{display:"none"},"&-description":{maxWidth:e.descriptionMaxWidth,whiteSpace:"normal"}}}}},bwe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),hwe(e)),vwe(e)),nwe(e)),uwe(e)),dwe(e)),rwe(e)),owe(e)),lwe(e)),iwe(e)),cwe(e)),swe(e)),awe(e))}},ywe=e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"auto",descriptionMaxWidth:140,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}),Swe=Kt("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:a,colorPrimary:o,colorTextDescription:i,colorTextQuaternary:s,colorError:c,colorBorderSecondary:u,colorSplit:d}=e,f=Pt(e,{processIconColor:r,processTitleColor:a,processDescriptionColor:a,processIconBgColor:o,processIconBorderColor:o,processDotColor:o,processTailColor:d,waitTitleColor:i,waitDescriptionColor:i,waitTailColor:d,waitDotColor:t,finishIconColor:o,finishTitleColor:a,finishDescriptionColor:i,finishTailColor:o,finishDotColor:o,errorIconColor:r,errorTitleColor:c,errorDescriptionColor:c,errorTailColor:d,errorIconBgColor:c,errorIconBorderColor:c,errorDotColor:c,stepsNavActiveColor:o,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[bwe(f)]},ywe);function wwe(e){return e.filter(t=>t)}function Cwe(e,t){if(e)return e;const n=or(t).map(r=>{if(l.isValidElement(r)){const{props:a}=r;return Object.assign({},a)}return null});return wwe(n)}var xwe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{percent:t,size:n,className:r,rootClassName:a,direction:o,items:i,responsive:s=!0,current:c=0,children:u,style:d}=e,f=xwe(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:p}=Wb(s),{getPrefixCls:g,direction:v,steps:m}=l.useContext(ot),h=l.useMemo(()=>s&&p?"vertical":o,[p,o]),y=cr(n),b=g("steps",e.prefixCls),[S,w,x]=Swe(b),E=e.type==="inline",I=g("",e.iconPrefix),R=Cwe(i,u),T=E?void 0:t,_=Object.assign(Object.assign({},m==null?void 0:m.style),d),$=ne(m==null?void 0:m.className,{[`${b}-rtl`]:v==="rtl",[`${b}-with-progress`]:T!==void 0},r,a,w,x),D={finish:l.createElement(Ub,{className:`${b}-finish-icon`}),error:l.createElement(da,{className:`${b}-error-icon`})},P=O=>{let{node:N,status:k}=O;if(k==="process"&&T!==void 0){const M=y==="small"?32:40;return l.createElement("div",{className:`${b}-progress-icon`},l.createElement(g0,{type:"circle",percent:T,size:M,strokeWidth:4,format:()=>null}),N)}return N},A=(O,N)=>O.description?l.createElement(rn,{title:O.description},N):N;return S(l.createElement(G$,Object.assign({icons:D},f,{style:_,current:c,size:y,items:R,itemRender:E?A:void 0,stepIcon:P,direction:h,prefixCls:b,iconPrefix:I,className:$})))};q$.Step=G$.Step;var Ewe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],UW=l.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,o=e.className,i=e.checked,s=e.defaultChecked,c=e.disabled,u=e.loadingIcon,d=e.checkedChildren,f=e.unCheckedChildren,p=e.onClick,g=e.onChange,v=e.onKeyDown,m=vt(e,Ewe),h=Qt(!1,{value:i,defaultValue:s}),y=se(h,2),b=y[0],S=y[1];function w(R,T){var _=b;return c||(_=R,S(_),g==null||g(_,T)),_}function x(R){R.which===Me.LEFT?w(!1,R):R.which===Me.RIGHT&&w(!0,R),v==null||v(R)}function E(R){var T=w(!b,R);p==null||p(T,R)}var I=ne(a,o,(n={},V(n,"".concat(a,"-checked"),b),V(n,"".concat(a,"-disabled"),c),n));return l.createElement("button",be({},m,{type:"button",role:"switch","aria-checked":b,disabled:c,className:I,ref:t,onKeyDown:x,onClick:E}),u,l.createElement("span",{className:"".concat(a,"-inner")},l.createElement("span",{className:"".concat(a,"-inner-checked")},d),l.createElement("span",{className:"".concat(a,"-inner-unchecked")},f)))});UW.displayName="Switch";const Iwe=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:o,innerMaxMarginSM:i,handleSizeSM:s,calc:c}=e,u=`${t}-inner`,d=W(c(s).add(c(r).mul(2)).equal()),f=W(c(i).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:W(n),[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${u}-checked, ${u}-unchecked`]:{minHeight:n},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${f})`,marginInlineEnd:`calc(100% - ${d} + ${f})`},[`${u}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:c(c(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${f})`,marginInlineEnd:`calc(-100% + ${d} - ${f})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${W(c(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}},Twe=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},Rwe=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:o,calc:i}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:o,height:o,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:i(o).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${W(i(o).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},_we=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:o,handleSize:i,calc:s}=e,c=`${t}-inner`,u=W(s(i).add(s(r).mul(2)).equal()),d=W(s(o).mul(2).equal());return{[t]:{[c]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:o,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${c}-checked, ${c}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${c}`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},$we=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},Gt(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:W(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),ui(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},Owe=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,o=t*n,i=r/2,s=2,c=o-s*2,u=i-s*2;return{trackHeight:o,trackHeightSM:i,trackMinWidth:c*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:a,handleSize:c,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new on("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},Nwe=Kt("Switch",e=>{const t=Pt(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[$we(t),_we(t),Rwe(t),Twe(t),Iwe(t)]},Owe);var kwe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,size:r,disabled:a,loading:o,className:i,rootClassName:s,style:c,checked:u,value:d,defaultChecked:f,defaultValue:p,onChange:g}=e,v=kwe(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[m,h]=Qt(!1,{value:u??d,defaultValue:f??p}),{getPrefixCls:y,direction:b,switch:S}=l.useContext(ot),w=l.useContext(Vr),x=(a??w)||o,E=y("switch",n),I=l.createElement("div",{className:`${E}-handle`},o&&l.createElement(Wi,{className:`${E}-loading-icon`})),[R,T,_]=Nwe(E),$=cr(r),D=ne(S==null?void 0:S.className,{[`${E}-small`]:$==="small",[`${E}-loading`]:o,[`${E}-rtl`]:b==="rtl"},i,s,T,_),P=Object.assign(Object.assign({},S==null?void 0:S.style),c),A=function(){h(arguments.length<=0?void 0:arguments[0]),g==null||g.apply(void 0,arguments)};return R(l.createElement(tg,{component:"Switch"},l.createElement(UW,Object.assign({},v,{checked:m,onChange:A,prefixCls:E,className:D,style:P,disabled:x,ref:t,loadingIcon:I}))))}),va=Awe;va.__ANT_SWITCH=!0;var ds={},Sg="rc-table-internal-hook";function K$(e){var t=l.createContext(void 0),n=function(a){var o=a.value,i=a.children,s=l.useRef(o);s.current=o;var c=l.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=se(c,1),d=u[0];return zt(function(){Sr.unstable_batchedUpdates(function(){d.listeners.forEach(function(f){f(o)})})},[o]),l.createElement(t.Provider,{value:d},i)};return{Context:t,Provider:n,defaultValue:e}}function aa(e,t){var n=Lt(typeof t=="function"?t:function(f){if(t===void 0)return f;if(!Array.isArray(t))return f[t];var p={};return t.forEach(function(g){p[g]=f[g]}),p}),r=l.useContext(e==null?void 0:e.Context),a=r||{},o=a.listeners,i=a.getValue,s=l.useRef();s.current=n(r?i():e==null?void 0:e.defaultValue);var c=l.useState({}),u=se(c,2),d=u[1];return zt(function(){if(!r)return;function f(p){var g=n(p);Uo(s.current,g,!0)||d({})}return o.add(f),function(){o.delete(f)}},[r]),s.current}function Mwe(){var e=l.createContext(null);function t(){return l.useContext(e)}function n(a,o){var i=Ho(a),s=function(u,d){var f=i?{ref:d}:{},p=l.useRef(0),g=l.useRef(u),v=t();return v!==null?l.createElement(a,be({},u,f)):((!o||o(g.current,u))&&(p.current+=1),g.current=u,l.createElement(e.Provider,{value:p.current},l.createElement(a,be({},u,f))))};return i?l.forwardRef(s):s}function r(a,o){var i=Ho(a),s=function(u,d){var f=i?{ref:d}:{};return t(),l.createElement(a,be({},u,f))};return i?l.memo(l.forwardRef(s),o):l.memo(s,o)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var Y$=Mwe(),VW=Y$.makeImmutable,ud=Y$.responseImmutable,Dwe=Y$.useImmutableMark,_a=K$(),WW=l.createContext({renderWithProps:!1}),Pwe="RC_TABLE_KEY";function Lwe(e){return e==null?[]:Array.isArray(e)?e:[e]}function h0(e){var t=[],n={};return e.forEach(function(r){for(var a=r||{},o=a.key,i=a.dataIndex,s=o||Lwe(i).join("-")||Pwe;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function FT(e){return e!=null}function Fwe(e){return e&&ft(e)==="object"&&!Array.isArray(e)&&!l.isValidElement(e)}function jwe(e,t,n,r,a,o){var i=l.useContext(WW),s=Dwe(),c=Ys(function(){if(FT(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=Ha(e,u),f=d,p=void 0;if(a){var g=a(d,e,n);Fwe(g)?(f=g.children,p=g.props,i.renderWithProps=!0):f=g}return[f,p]},[s,e,r,t,a,n],function(u,d){if(o){var f=se(u,2),p=f[1],g=se(d,2),v=g[1];return o(v,p)}return i.renderWithProps?!0:!Uo(u,d,!0)});return c}function Bwe(e,t,n,r){var a=e+t-1;return e<=r&&a>=n}function zwe(e,t){return aa(_a,function(n){var r=Bwe(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var Hwe=function(t){var n=t.ellipsis,r=t.rowType,a=t.children,o,i=n===!0?{showTitle:!0}:n;return i&&(i.showTitle||r==="header")&&(typeof a=="string"||typeof a=="number"?o=a.toString():l.isValidElement(a)&&typeof a.props.children=="string"&&(o=a.props.children)),o};function Uwe(e){var t,n,r,a,o,i,s,c,u=e.component,d=e.children,f=e.ellipsis,p=e.scope,g=e.prefixCls,v=e.className,m=e.align,h=e.record,y=e.render,b=e.dataIndex,S=e.renderIndex,w=e.shouldCellUpdate,x=e.index,E=e.rowType,I=e.colSpan,R=e.rowSpan,T=e.fixLeft,_=e.fixRight,$=e.firstFixLeft,D=e.lastFixLeft,P=e.firstFixRight,A=e.lastFixRight,O=e.appendNode,N=e.additionalProps,k=N===void 0?{}:N,M=e.isSticky,L="".concat(g,"-cell"),F=aa(_a,["supportSticky","allColumnsFixedLeft","rowHoverable"]),j=F.supportSticky,B=F.allColumnsFixedLeft,z=F.rowHoverable,H=jwe(h,b,S,d,y,w),U=se(H,2),Z=U[0],q=U[1],Y={},ee=typeof T=="number"&&j,te=typeof _=="number"&&j;ee&&(Y.position="sticky",Y.left=T),te&&(Y.position="sticky",Y.right=_);var X=(t=(n=(r=q==null?void 0:q.colSpan)!==null&&r!==void 0?r:k.colSpan)!==null&&n!==void 0?n:I)!==null&&t!==void 0?t:1,ie=(a=(o=(i=q==null?void 0:q.rowSpan)!==null&&i!==void 0?i:k.rowSpan)!==null&&o!==void 0?o:R)!==null&&a!==void 0?a:1,re=zwe(x,ie),G=se(re,2),Q=G[0],ae=G[1],oe=Lt(function(ue){var fe;h&&ae(x,x+ie-1),k==null||(fe=k.onMouseEnter)===null||fe===void 0||fe.call(k,ue)}),de=Lt(function(ue){var fe;h&&ae(-1,-1),k==null||(fe=k.onMouseLeave)===null||fe===void 0||fe.call(k,ue)});if(X===0||ie===0)return null;var ve=(s=k.title)!==null&&s!==void 0?s:Hwe({rowType:E,ellipsis:f,children:Z}),ye=ne(L,v,(c={},V(c,"".concat(L,"-fix-left"),ee&&j),V(c,"".concat(L,"-fix-left-first"),$&&j),V(c,"".concat(L,"-fix-left-last"),D&&j),V(c,"".concat(L,"-fix-left-all"),D&&B&&j),V(c,"".concat(L,"-fix-right"),te&&j),V(c,"".concat(L,"-fix-right-first"),P&&j),V(c,"".concat(L,"-fix-right-last"),A&&j),V(c,"".concat(L,"-ellipsis"),f),V(c,"".concat(L,"-with-append"),O),V(c,"".concat(L,"-fix-sticky"),(ee||te)&&M&&j),V(c,"".concat(L,"-row-hover"),!q&&Q),c),k.className,q==null?void 0:q.className),ge={};m&&(ge.textAlign=m);var J=K(K(K(K({},Y),k.style),ge),q==null?void 0:q.style),ce=Z;return ft(ce)==="object"&&!Array.isArray(ce)&&!l.isValidElement(ce)&&(ce=null),f&&(D||P)&&(ce=l.createElement("span",{className:"".concat(L,"-content")},ce)),l.createElement(u,be({},q,k,{className:ye,style:J,title:ve,scope:p,onMouseEnter:z?oe:void 0,onMouseLeave:z?de:void 0,colSpan:X!==1?X:null,rowSpan:ie!==1?ie:null}),O,ce)}const dc=l.memo(Uwe);function X$(e,t,n,r,a){var o=n[e]||{},i=n[t]||{},s,c;o.fixed==="left"?s=r.left[a==="rtl"?t:e]:i.fixed==="right"&&(c=r.right[a==="rtl"?e:t]);var u=!1,d=!1,f=!1,p=!1,g=n[t+1],v=n[e-1],m=g&&!g.fixed||v&&!v.fixed||n.every(function(w){return w.fixed==="left"});if(a==="rtl"){if(s!==void 0){var h=v&&v.fixed==="left";p=!h&&m}else if(c!==void 0){var y=g&&g.fixed==="right";f=!y&&m}}else if(s!==void 0){var b=g&&g.fixed==="left";u=!b&&m}else if(c!==void 0){var S=v&&v.fixed==="right";d=!S&&m}return{fixLeft:s,fixRight:c,lastFixLeft:u,firstFixRight:d,lastFixRight:f,firstFixLeft:p,isSticky:r.isSticky}}var GW=l.createContext({});function Vwe(e){var t=e.className,n=e.index,r=e.children,a=e.colSpan,o=a===void 0?1:a,i=e.rowSpan,s=e.align,c=aa(_a,["prefixCls","direction"]),u=c.prefixCls,d=c.direction,f=l.useContext(GW),p=f.scrollColumnIndex,g=f.stickyOffsets,v=f.flattenColumns,m=n+o-1,h=m+1===p?o+1:o,y=X$(n,n+h-1,v,g,d);return l.createElement(dc,be({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:h,rowSpan:i,render:function(){return r}},y))}var Wwe=["children"];function Gwe(e){var t=e.children,n=vt(e,Wwe);return l.createElement("tr",n,t)}function v0(e){var t=e.children;return t}v0.Row=Gwe;v0.Cell=Vwe;function qwe(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,a=aa(_a,"prefixCls"),o=r.length-1,i=r[o],s=l.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:i!=null&&i.scrollbar?o:null}},[i,r,o,n]);return l.createElement(GW.Provider,{value:s},l.createElement("tfoot",{className:"".concat(a,"-summary")},t))}const _m=ud(qwe);var qW=v0;function Kwe(e){return null}function Ywe(e){return null}function KW(e,t,n,r,a,o,i){e.push({record:t,indent:n,index:i});var s=o(t),c=a==null?void 0:a.has(s);if(t&&Array.isArray(t[r])&&c)for(var u=0;u1?$-1:0),P=1;P<$;P++)D[P-1]=arguments[P];x==null||x.apply(void 0,[_].concat(D))},I;typeof g=="string"?I=g:typeof g=="function"&&(I=g(e,n,r));var R=h0(o);return K(K({},a),{},{columnsKey:R,nestExpandable:v,expanded:y,hasNestChildren:b,record:e,onTriggerExpand:S,rowSupportExpand:m,expandable:h,rowProps:K(K({},w),{},{className:ne(I,w==null?void 0:w.className),onClick:E})})}function ZW(e){var t=e.prefixCls,n=e.children,r=e.component,a=e.cellComponent,o=e.className,i=e.expanded,s=e.colSpan,c=e.isEmpty,u=aa(_a,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),d=u.scrollbarSize,f=u.fixHeader,p=u.fixColumn,g=u.componentWidth,v=u.horizonScroll,m=n;return(c?v&&g:p)&&(m=l.createElement("div",{style:{width:g-(f?d:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},m)),l.createElement(r,{className:o,style:{display:i?null:"none"}},l.createElement(dc,{component:a,prefixCls:t,colSpan:s},m))}function QW(e,t,n,r,a){var o=e.record,i=e.prefixCls,s=e.columnsKey,c=e.fixedInfoList,u=e.expandIconColumnIndex,d=e.nestExpandable,f=e.indentSize,p=e.expandIcon,g=e.expanded,v=e.hasNestChildren,m=e.onTriggerExpand,h=s[n],y=c[n],b;n===(u||0)&&d&&(b=l.createElement(l.Fragment,null,l.createElement("span",{style:{paddingLeft:"".concat(f*r,"px")},className:"".concat(i,"-row-indent indent-level-").concat(r)}),p({prefixCls:i,expanded:g,expandable:v,record:o,onExpand:m})));var S;return t.onCell&&(S=t.onCell(o,a)),{key:h,fixedInfo:y,appendCellNode:b,additionalCellProps:S||{}}}function Xwe(e){var t=e.className,n=e.style,r=e.record,a=e.index,o=e.renderIndex,i=e.rowKey,s=e.indent,c=s===void 0?0:s,u=e.rowComponent,d=e.cellComponent,f=e.scopeCellComponent,p=XW(r,i,a,c),g=p.prefixCls,v=p.flattenColumns,m=p.expandedRowClassName,h=p.expandedRowRender,y=p.rowProps,b=p.expanded,S=p.rowSupportExpand,w=l.useRef(!1);w.current||(w.current=b);var x=m&&m(r,a,c),E=l.createElement(u,be({},y,{"data-row-key":i,className:ne(t,"".concat(g,"-row"),"".concat(g,"-row-level-").concat(c),y==null?void 0:y.className,c>=1?x:""),style:K(K({},n),y==null?void 0:y.style)}),v.map(function(T,_){var $=T.render,D=T.dataIndex,P=T.className,A=QW(p,T,_,c,a),O=A.key,N=A.fixedInfo,k=A.appendCellNode,M=A.additionalCellProps;return l.createElement(dc,be({className:P,ellipsis:T.ellipsis,align:T.align,scope:T.rowScope,component:T.rowScope?f:d,prefixCls:g,key:O,record:r,index:a,renderIndex:o,dataIndex:D,render:$,shouldCellUpdate:T.shouldCellUpdate},N,{appendNode:k,additionalProps:M}))})),I;if(S&&(w.current||b)){var R=h(r,a,c+1,b);I=l.createElement(ZW,{expanded:b,className:ne("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(c+1),x),prefixCls:g,component:u,cellComponent:d,colSpan:v.length,isEmpty:!1},R)}return l.createElement(l.Fragment,null,E,I)}const Zwe=ud(Xwe);function Qwe(e){var t=e.columnKey,n=e.onColumnResize,r=l.useRef();return l.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),l.createElement(zr,{data:t},l.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},l.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function Jwe(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return l.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},l.createElement(zr.Collection,{onBatchResize:function(o){o.forEach(function(i){var s=i.data,c=i.size;r(s,c.offsetWidth)})}},n.map(function(a){return l.createElement(Qwe,{key:a,columnKey:a,onColumnResize:r})})))}function eCe(e){var t=e.data,n=e.measureColumnWidth,r=aa(_a,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=r.prefixCls,o=r.getComponent,i=r.onColumnResize,s=r.flattenColumns,c=r.getRowKey,u=r.expandedKeys,d=r.childrenColumnName,f=r.emptyNode,p=YW(t,d,u,c),g=l.useRef({renderWithProps:!1}),v=o(["body","wrapper"],"tbody"),m=o(["body","row"],"tr"),h=o(["body","cell"],"td"),y=o(["body","cell"],"th"),b;t.length?b=p.map(function(w,x){var E=w.record,I=w.indent,R=w.index,T=c(E,x);return l.createElement(Zwe,{key:T,rowKey:T,record:E,index:x,renderIndex:R,rowComponent:m,cellComponent:h,scopeCellComponent:y,getRowKey:c,indent:I})}):b=l.createElement(ZW,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:m,cellComponent:h,colSpan:s.length,isEmpty:!0},f);var S=h0(s);return l.createElement(WW.Provider,{value:g.current},l.createElement(v,{className:"".concat(a,"-tbody")},n&&l.createElement(Jwe,{prefixCls:a,columnsKey:S,onColumnResize:i}),b))}const tCe=ud(eCe);var nCe=["expandable"],kf="RC_TABLE_INTERNAL_COL_DEFINE";function rCe(e){var t=e.expandable,n=vt(e,nCe),r;return"expandable"in e?r=K(K({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var aCe=["columnType"];function JW(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,a=[],o=r||n.length,i=!1,s=o-1;s>=0;s-=1){var c=t[s],u=n&&n[s],d=u&&u[kf];if(c||d||i){var f=d||{};f.columnType;var p=vt(f,aCe);a.unshift(l.createElement("col",be({key:s,style:{width:c}},p))),i=!0}}return l.createElement("colgroup",null,a)}var oCe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function iCe(e,t){return l.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:h.ellipsis,align:h.align,component:i,prefixCls:d,key:g[m]},y,{additionalProps:b,rowType:"header"}))}))};function cCe(e){var t=[];function n(i,s){var c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[c]=t[c]||[];var u=s,d=i.filter(Boolean).map(function(f){var p={key:f.key,className:f.className||"",children:f.title,column:f,colStart:u},g=1,v=f.children;return v&&v.length>0&&(g=n(v,u,c+1).reduce(function(m,h){return m+h},0),p.hasSubColumns=!0),"colSpan"in f&&(g=f.colSpan),"rowSpan"in f&&(p.rowSpan=f.rowSpan),p.colSpan=g,p.colEnd=p.colStart+g-1,t[c].push(p),u+=g,g});return d}n(e,0);for(var r=t.length,a=function(s){t[s].forEach(function(c){!("rowSpan"in c)&&!c.hasSubColumns&&(c.rowSpan=r-s)})},o=0;o1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function dCe(e,t,n){return l.useMemo(function(){if(t&&t>0){var r=0,a=0;e.forEach(function(p){var g=vD(t,p.width);g?r+=g:a+=1});var o=Math.max(t,n),i=Math.max(o-r,a),s=a,c=i/a,u=0,d=e.map(function(p){var g=K({},p),v=vD(t,g.width);if(v)g.width=v;else{var m=Math.floor(c);g.width=s===1?i:m,i-=m,s-=1}return u+=g.width,g});if(u0?K(K({},t),{},{children:eG(n)}):t})}function jT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&ft(n)==="object"}).reduce(function(n,r,a){var o=r.fixed,i=o===!0?"left":o,s="".concat(t,"-").concat(a),c=r.children;return c&&c.length>0?[].concat($e(n),$e(jT(c,s).map(function(u){return K({fixed:i},u)}))):[].concat($e(n),[K(K({key:s},r),{},{fixed:i})])},[])}function gCe(e){return e.map(function(t){var n=t.fixed,r=vt(t,pCe),a=n;return n==="left"?a="right":n==="right"&&(a="left"),K({fixed:a},r)})}function mCe(e,t){var n=e.prefixCls,r=e.columns,a=e.children,o=e.expandable,i=e.expandedKeys,s=e.columnTitle,c=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,f=e.rowExpandable,p=e.expandIconColumnIndex,g=e.direction,v=e.expandRowByClick,m=e.columnWidth,h=e.fixed,y=e.scrollWidth,b=e.clientWidth,S=l.useMemo(function(){var D=r||Z$(a)||[];return eG(D.slice())},[r,a]),w=l.useMemo(function(){if(o){var D,P=S.slice();if(!P.includes(ds)){var A=p||0;A>=0&&P.splice(A,0,ds)}var O=P.indexOf(ds);P=P.filter(function(L,F){return L!==ds||F===O});var N=S[O],k;(h==="left"||h)&&!p?k="left":(h==="right"||h)&&p===S.length?k="right":k=N?N.fixed:null;var M=(D={},V(D,kf,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),V(D,"title",s),V(D,"fixed",k),V(D,"className","".concat(n,"-row-expand-icon-cell")),V(D,"width",m),V(D,"render",function(F,j,B){var z=c(j,B),H=i.has(z),U=f?f(j):!0,Z=d({prefixCls:n,expanded:H,expandable:U,record:j,onExpand:u});return v?l.createElement("span",{onClick:function(Y){return Y.stopPropagation()}},Z):Z}),D);return P.map(function(L){return L===ds?M:L})}return S.filter(function(L){return L!==ds})},[o,S,c,i,d,g]),x=l.useMemo(function(){var D=w;return t&&(D=t(D)),D.length||(D=[{render:function(){return null}}]),D},[t,w,g]),E=l.useMemo(function(){return g==="rtl"?gCe(jT(x)):jT(x)},[x,g,y]),I=l.useMemo(function(){for(var D=-1,P=E.length-1;P>=0;P-=1){var A=E[P].fixed;if(A==="left"||A===!0){D=P;break}}if(D>=0)for(var O=0;O<=D;O+=1){var N=E[O].fixed;if(N!=="left"&&N!==!0)return!0}var k=E.findIndex(function(F){var j=F.fixed;return j==="right"});if(k>=0)for(var M=k;M=f&&(M=f-p),i({scrollLeft:M/f*(d+2)}),b.current.x=A.pageX},$=function(){I.current=Dt(function(){if(o.current){var A=YM(o.current).top,O=A+o.current.offsetHeight,N=c===window?document.documentElement.scrollTop+window.innerHeight:YM(c).top+c.clientHeight;O-JA()<=N||A>=N-s?y(function(k){return K(K({},k),{},{isHiddenScrollBar:!0})}):y(function(k){return K(K({},k),{},{isHiddenScrollBar:!1})})}})},D=function(A){y(function(O){return K(K({},O),{},{scrollLeft:A/d*f||0})})};return l.useImperativeHandle(n,function(){return{setScrollLeft:D,checkScrollBarVisible:$}}),l.useEffect(function(){var P=Tm(document.body,"mouseup",R,!1),A=Tm(document.body,"mousemove",_,!1);return $(),function(){P.remove(),A.remove()}},[p,x]),l.useEffect(function(){var P=Tm(c,"scroll",$,!1),A=Tm(window,"resize",$,!1);return function(){P.remove(),A.remove()}},[c]),l.useEffect(function(){h.isHiddenScrollBar||y(function(P){var A=o.current;return A?K(K({},P),{},{scrollLeft:A.scrollLeft/A.scrollWidth*A.clientWidth}):P})},[h.isHiddenScrollBar]),d<=f||!p||h.isHiddenScrollBar?null:l.createElement("div",{style:{height:JA(),width:f,bottom:s},className:"".concat(u,"-sticky-scroll")},l.createElement("div",{onMouseDown:T,ref:g,className:ne("".concat(u,"-sticky-scroll-bar"),V({},"".concat(u,"-sticky-scroll-bar-active"),x)),style:{width:"".concat(p,"px"),transform:"translate3d(".concat(h.scrollLeft,"px, 0, 0)")}}))};const ICe=l.forwardRef(ECe);var nG="rc-table",TCe=[],RCe={};function _Ce(){return"No Data"}function $Ce(e,t){var n,r=K({rowKey:"key",prefixCls:nG,emptyText:_Ce},e),a=r.prefixCls,o=r.className,i=r.rowClassName,s=r.style,c=r.data,u=r.rowKey,d=r.scroll,f=r.tableLayout,p=r.direction,g=r.title,v=r.footer,m=r.summary,h=r.caption,y=r.id,b=r.showHeader,S=r.components,w=r.emptyText,x=r.onRow,E=r.onHeaderRow,I=r.onScroll,R=r.internalHooks,T=r.transformColumns,_=r.internalRefs,$=r.tailor,D=r.getContainerWidth,P=r.sticky,A=r.rowHoverable,O=A===void 0?!0:A,N=c||TCe,k=!!N.length,M=R===Sg,L=l.useCallback(function(nt,_t){return Ha(S,nt)||_t},[S]),F=l.useMemo(function(){return typeof u=="function"?u:function(nt){var _t=nt&&nt[u];return _t}},[u]),j=L(["body"]),B=wCe(),z=se(B,3),H=z[0],U=z[1],Z=z[2],q=bCe(r,N,F),Y=se(q,6),ee=Y[0],te=Y[1],X=Y[2],ie=Y[3],re=Y[4],G=Y[5],Q=d==null?void 0:d.x,ae=l.useState(0),oe=se(ae,2),de=oe[0],ve=oe[1],ye=mCe(K(K(K({},r),ee),{},{expandable:!!ee.expandedRowRender,columnTitle:ee.columnTitle,expandedKeys:X,getRowKey:F,onTriggerExpand:G,expandIcon:ie,expandIconColumnIndex:ee.expandIconColumnIndex,direction:p,scrollWidth:M&&$&&typeof Q=="number"?Q:null,clientWidth:de}),M?T:null),ge=se(ye,4),J=ge[0],ce=ge[1],ue=ge[2],fe=ge[3],pe=ue??Q,xe=l.useMemo(function(){return{columns:J,flattenColumns:ce}},[J,ce]),Te=l.useRef(),Pe=l.useRef(),ke=l.useRef(),Ue=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:Te.current,scrollTo:function(_t){var un;if(ke.current instanceof HTMLElement){var zn=_t.index,Mn=_t.top,Na=_t.key;if(Mn){var ka;(ka=ke.current)===null||ka===void 0||ka.scrollTo({top:Mn})}else{var Io,yi=Na??F(N[zn]);(Io=ke.current.querySelector('[data-row-key="'.concat(yi,'"]')))===null||Io===void 0||Io.scrollIntoView()}}else(un=ke.current)!==null&&un!==void 0&&un.scrollTo&&ke.current.scrollTo(_t)}}});var Be=l.useRef(),De=l.useState(!1),Se=se(De,2),_e=Se[0],Ce=Se[1],Re=l.useState(!1),he=se(Re,2),Ee=he[0],je=he[1],Ae=tG(new Map),Ne=se(Ae,2),ze=Ne[0],qe=Ne[1],Le=h0(ce),Ke=Le.map(function(nt){return ze.get(nt)}),Je=l.useMemo(function(){return Ke},[Ke.join("_")]),Xe=xCe(Je,ce,p),ut=d&&FT(d.y),pt=d&&FT(pe)||!!ee.fixed,We=pt&&ce.some(function(nt){var _t=nt.fixed;return _t}),Ze=l.useRef(),Ye=CCe(P,a),at=Ye.isSticky,wt=Ye.offsetHeader,Ct=Ye.offsetSummary,Ot=Ye.offsetScroll,dt=Ye.stickyClassName,it=Ye.container,Qe=l.useMemo(function(){return m==null?void 0:m(N)},[m,N]),st=(ut||at)&&l.isValidElement(Qe)&&Qe.type===v0&&Qe.props.fixed,St,et,Ie;ut&&(et={overflowY:"scroll",maxHeight:d.y}),pt&&(St={overflowX:"auto"},ut||(et={overflowY:"hidden"}),Ie={width:pe===!0?"auto":pe,minWidth:"100%"});var we=l.useCallback(function(nt,_t){td(Te.current)&&qe(function(un){if(un.get(nt)!==_t){var zn=new Map(un);return zn.set(nt,_t),zn}return un})},[]),Oe=SCe(),He=se(Oe,2),Fe=He[0],Ve=He[1];function tt(nt,_t){_t&&(typeof _t=="function"?_t(nt):_t.scrollLeft!==nt&&(_t.scrollLeft=nt,_t.scrollLeft!==nt&&setTimeout(function(){_t.scrollLeft=nt},0)))}var bt=Lt(function(nt){var _t=nt.currentTarget,un=nt.scrollLeft,zn=p==="rtl",Mn=typeof un=="number"?un:_t.scrollLeft,Na=_t||RCe;if(!Ve()||Ve()===Na){var ka;Fe(Na),tt(Mn,Pe.current),tt(Mn,ke.current),tt(Mn,Be.current),tt(Mn,(ka=Ze.current)===null||ka===void 0?void 0:ka.setScrollLeft)}var Io=_t||Pe.current;if(Io){var yi=Io.scrollWidth,al=Io.clientWidth;if(yi===al){Ce(!1),je(!1);return}zn?(Ce(-Mn0)):(Ce(Mn>0),je(Mn1?h-A:0,N=K(K(K({},R),u),{},{flex:"0 0 ".concat(A,"px"),width:"".concat(A,"px"),marginRight:O,pointerEvents:"auto"}),k=l.useMemo(function(){return f?D<=1:_===0||D===0||D>1},[D,_,f]);k?N.visibility="hidden":f&&(N.height=p==null?void 0:p(D));var M=k?function(){return null}:g,L={};return(D===0||_===0)&&(L.rowSpan=1,L.colSpan=1),l.createElement(dc,be({className:ne(m,d),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:i,prefixCls:t.prefixCls,key:w,record:c,index:o,renderIndex:s,dataIndex:v,render:M,shouldCellUpdate:n.shouldCellUpdate},x,{appendNode:E,additionalProps:K(K({},I),{},{style:N},L)}))}var ACe=["data","index","className","rowKey","style","extra","getHeight"],MCe=l.forwardRef(function(e,t){var n=e.data,r=e.index,a=e.className,o=e.rowKey,i=e.style,s=e.extra,c=e.getHeight,u=vt(e,ACe),d=n.record,f=n.indent,p=n.index,g=aa(_a,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),v=g.scrollX,m=g.flattenColumns,h=g.prefixCls,y=g.fixColumn,b=g.componentWidth,S=aa(Q$,["getComponent"]),w=S.getComponent,x=XW(d,o,r,f),E=w(["body","row"],"div"),I=w(["body","cell"],"div"),R=x.rowSupportExpand,T=x.expanded,_=x.rowProps,$=x.expandedRowRender,D=x.expandedRowClassName,P;if(R&&T){var A=$(d,r,f+1,T),O=D==null?void 0:D(d,r,f),N={};y&&(N={style:V({},"--virtual-width","".concat(b,"px"))});var k="".concat(h,"-expanded-row-cell");P=l.createElement(E,{className:ne("".concat(h,"-expanded-row"),"".concat(h,"-expanded-row-level-").concat(f+1),O)},l.createElement(dc,{component:I,prefixCls:h,className:ne(k,V({},"".concat(k,"-fixed"),y)),additionalProps:N},A))}var M=K(K({},i),{},{width:v});s&&(M.position="absolute",M.pointerEvents="none");var L=l.createElement(E,be({},_,u,{"data-row-key":o,ref:R?null:t,className:ne(a,"".concat(h,"-row"),_==null?void 0:_.className,V({},"".concat(h,"-row-extra"),s)),style:K(K({},M),_==null?void 0:_.style)}),m.map(function(F,j){return l.createElement(kCe,{key:j,component:I,rowInfo:x,column:F,colIndex:j,indent:f,index:r,renderIndex:p,record:d,inverse:s,getHeight:c})}));return R?l.createElement("div",{ref:t},L,P):L}),SD=ud(MCe),DCe=l.forwardRef(function(e,t){var n=e.data,r=e.onScroll,a=aa(_a,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),o=a.flattenColumns,i=a.onColumnResize,s=a.getRowKey,c=a.expandedKeys,u=a.prefixCls,d=a.childrenColumnName,f=a.emptyNode,p=a.scrollX,g=aa(Q$),v=g.sticky,m=g.scrollY,h=g.listItemHeight,y=g.getComponent,b=g.onScroll,S=l.useRef(),w=YW(n,d,c,s),x=l.useMemo(function(){var N=0;return o.map(function(k){var M=k.width,L=k.key;return N+=M,[L,M,N]})},[o]),E=l.useMemo(function(){return x.map(function(N){return N[2]})},[x]);l.useEffect(function(){x.forEach(function(N){var k=se(N,2),M=k[0],L=k[1];i(M,L)})},[x]),l.useImperativeHandle(t,function(){var N={scrollTo:function(M){var L;(L=S.current)===null||L===void 0||L.scrollTo(M)}};return Object.defineProperty(N,"scrollLeft",{get:function(){var M;return((M=S.current)===null||M===void 0?void 0:M.getScrollInfo().x)||0},set:function(M){var L;(L=S.current)===null||L===void 0||L.scrollTo({left:M})}}),N});var I=function(k,M){var L,F=(L=w[M])===null||L===void 0?void 0:L.record,j=k.onCell;if(j){var B,z=j(F,M);return(B=z==null?void 0:z.rowSpan)!==null&&B!==void 0?B:1}return 1},R=function(k){var M=k.start,L=k.end,F=k.getSize,j=k.offsetY;if(L<0)return null;for(var B=o.filter(function(G){return I(G,M)===0}),z=M,H=function(Q){if(B=B.filter(function(ae){return I(ae,Q)===0}),!B.length)return z=Q,1},U=M;U>=0&&!H(U);U-=1);for(var Z=o.filter(function(G){return I(G,L)!==1}),q=L,Y=function(Q){if(Z=Z.filter(function(ae){return I(ae,Q)!==1}),!Z.length)return q=Math.max(Q-1,L),1},ee=L;ee1})&&te.push(Q)},ie=z;ie<=q;ie+=1)X(ie);var re=te.map(function(G){var Q=w[G],ae=s(Q.record,G),oe=function(ye){var ge=G+ye-1,J=s(w[ge].record,ge),ce=F(ae,J);return ce.bottom-ce.top},de=F(ae);return l.createElement(SD,{key:G,data:Q,rowKey:ae,index:G,style:{top:-j+de.top},extra:!0,getHeight:oe})});return re},T=l.useMemo(function(){return{columnsOffset:E}},[E]),_="".concat(u,"-tbody"),$=y(["body","wrapper"]),D=y(["body","row"],"div"),P=y(["body","cell"],"div"),A;if(w.length){var O={};v&&(O.position="sticky",O.bottom=0,ft(v)==="object"&&v.offsetScroll&&(O.bottom=v.offsetScroll)),A=l.createElement(zb,{fullHeight:!1,ref:S,prefixCls:"".concat(_,"-virtual"),styles:{horizontalScrollBar:O},className:_,height:m,itemHeight:h||24,data:w,itemKey:function(k){return s(k.record)},component:$,scrollWidth:p,onVirtualScroll:function(k){var M=k.x;r({scrollLeft:M})},onScroll:b,extraRender:R},function(N,k,M){var L=s(N.record,k);return l.createElement(SD,{data:N,rowKey:L,index:k,style:M.style})})}else A=l.createElement(D,{className:ne("".concat(u,"-placeholder"))},l.createElement(dc,{component:P,prefixCls:u},f));return l.createElement(aG.Provider,{value:T},A)}),PCe=ud(DCe),LCe=function(t,n){var r=n.ref,a=n.onScroll;return l.createElement(PCe,{ref:r,data:t,onScroll:a})};function FCe(e,t){var n=e.columns,r=e.scroll,a=e.sticky,o=e.prefixCls,i=o===void 0?nG:o,s=e.className,c=e.listItemHeight,u=e.components,d=e.onScroll,f=r||{},p=f.x,g=f.y;typeof p!="number"&&(p=1),typeof g!="number"&&(g=500);var v=Lt(function(y,b){return Ha(u,y)||b}),m=Lt(d),h=l.useMemo(function(){return{sticky:a,scrollY:g,listItemHeight:c,getComponent:v,onScroll:m}},[a,g,c,v,m]);return l.createElement(Q$.Provider,{value:h},l.createElement(dd,be({},e,{className:ne(s,"".concat(i,"-virtual")),scroll:K(K({},r),{},{x:p}),components:K(K({},u),{},{body:LCe}),columns:n,internalHooks:Sg,tailor:!0,ref:t})))}var jCe=l.forwardRef(FCe);function oG(e){return VW(jCe,e)}oG();const BCe=e=>null,zCe=e=>null;var J$=l.createContext(null),HCe=function(t){for(var n=t.prefixCls,r=t.level,a=t.isStart,o=t.isEnd,i="".concat(n,"-indent-unit"),s=[],c=0;c=0&&n.splice(r,1),n}function Ii(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function eO(e){return e.split("-")}function qCe(e,t){var n=[],r=Sa(t,e);function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.forEach(function(i){var s=i.key,c=i.children;n.push(s),a(c)})}return a(r.children),n}function KCe(e){if(e.parent){var t=eO(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function YCe(e){var t=eO(e.pos);return Number(t[t.length-1])===0}function xD(e,t,n,r,a,o,i,s,c,u){var d,f=e.clientX,p=e.clientY,g=e.target.getBoundingClientRect(),v=g.top,m=g.height,h=(u==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-f),y=(h-12)/r,b=c.filter(function(N){var k;return(k=s[N])===null||k===void 0||(k=k.children)===null||k===void 0?void 0:k.length}),S=Sa(s,n.props.eventKey);if(p-1.5?o({dragNode:P,dropNode:A,dropPosition:1})?_=1:O=!1:o({dragNode:P,dropNode:A,dropPosition:0})?_=0:o({dragNode:P,dropNode:A,dropPosition:1})?_=1:O=!1:o({dragNode:P,dropNode:A,dropPosition:1})?_=1:O=!1,{dropPosition:_,dropLevelOffset:$,dropTargetKey:S.key,dropTargetPos:S.pos,dragOverNodeKey:T,dropContainerKey:_===0?null:((d=S.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:O}}function ED(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function xS(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(ft(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return cn(!1,"`checkedKeys` is not an array or an object"),null;return t}function BT(e,t){var n=new Set;function r(a){if(!n.has(a)){var o=Sa(t,a);if(o){n.add(a);var i=o.parent,s=o.node;s.disabled||i&&r(i.key)}}}return(e||[]).forEach(function(a){r(a)}),$e(n)}function XCe(e){const[t,n]=l.useState(null);return[l.useCallback((o,i,s)=>{const c=t??o,u=Math.min(c||0,o),d=Math.max(c||0,o),f=i.slice(u,d+1).map(v=>e(v)),p=f.some(v=>!s.has(v)),g=[];return f.forEach(v=>{p?(s.has(v)||g.push(v),s.add(v)):(s.delete(v),g.push(v))}),n(p?d:null),g},[t]),o=>{n(o)}]}const ls={},zT="SELECT_ALL",HT="SELECT_INVERT",UT="SELECT_NONE",ID=[],iG=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat($e(n),$e(iG(e,r[e]))))}),n},ZCe=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:a,getCheckboxProps:o,onChange:i,onSelect:s,onSelectAll:c,onSelectInvert:u,onSelectNone:d,onSelectMultiple:f,columnWidth:p,type:g,selections:v,fixed:m,renderCell:h,hideSelectAll:y,checkStrictly:b=!0}=t||{},{prefixCls:S,data:w,pageData:x,getRecordByKey:E,getRowKey:I,expandType:R,childrenColumnName:T,locale:_,getPopupContainer:$}=e,D=Xs(),[P,A]=XCe(X=>X),[O,N]=Qt(r||a||ID,{value:r}),k=l.useRef(new Map),M=l.useCallback(X=>{if(n){const ie=new Map;X.forEach(re=>{let G=E(re);!G&&k.current.has(re)&&(G=k.current.get(re)),ie.set(re,G)}),k.current=ie}},[E,n]);l.useEffect(()=>{M(O)},[O]);const{keyEntities:L}=l.useMemo(()=>{if(b)return{keyEntities:null};let X=w;if(n){const ie=new Set(w.map((G,Q)=>I(G,Q))),re=Array.from(k.current).reduce((G,Q)=>{let[ae,oe]=Q;return ie.has(ae)?G:G.concat(oe)},[]);X=[].concat($e(X),$e(re))}return s0(X,{externalGetKey:I,childrenPropName:T})},[w,I,b,T,n]),F=l.useMemo(()=>iG(T,x),[T,x]),j=l.useMemo(()=>{const X=new Map;return F.forEach((ie,re)=>{const G=I(ie,re),Q=(o?o(ie):null)||{};X.set(G,Q)}),X},[F,I,o]),B=l.useCallback(X=>{var ie;return!!(!((ie=j.get(I(X)))===null||ie===void 0)&&ie.disabled)},[j,I]),[z,H]=l.useMemo(()=>{if(b)return[O||[],[]];const{checkedKeys:X,halfCheckedKeys:ie}=ji(O,!0,L,B);return[X||[],ie]},[O,b,L,B]),U=l.useMemo(()=>{const X=g==="radio"?z.slice(0,1):z;return new Set(X)},[z,g]),Z=l.useMemo(()=>g==="radio"?new Set:new Set(H),[H,g]);l.useEffect(()=>{t||N(ID)},[!!t]);const q=l.useCallback((X,ie)=>{let re,G;M(X),n?(re=X,G=X.map(Q=>k.current.get(Q))):(re=[],G=[],X.forEach(Q=>{const ae=E(Q);ae!==void 0&&(re.push(Q),G.push(ae))})),N(re),i==null||i(re,G,{type:ie})},[N,E,i,n]),Y=l.useCallback((X,ie,re,G)=>{if(s){const Q=re.map(ae=>E(ae));s(E(X),ie,Q,G)}q(re,"single")},[s,E,q]),ee=l.useMemo(()=>!v||y?null:(v===!0?[zT,HT,UT]:v).map(ie=>ie===zT?{key:"all",text:_.selectionAll,onSelect(){q(w.map((re,G)=>I(re,G)).filter(re=>{const G=j.get(re);return!(G!=null&&G.disabled)||U.has(re)}),"all")}}:ie===HT?{key:"invert",text:_.selectInvert,onSelect(){const re=new Set(U);x.forEach((Q,ae)=>{const oe=I(Q,ae),de=j.get(oe);de!=null&&de.disabled||(re.has(oe)?re.delete(oe):re.add(oe))});const G=Array.from(re);u&&(D.deprecated(!1,"onSelectInvert","onChange"),u(G)),q(G,"invert")}}:ie===UT?{key:"none",text:_.selectNone,onSelect(){d==null||d(),q(Array.from(U).filter(re=>{const G=j.get(re);return G==null?void 0:G.disabled}),"none")}}:ie).map(ie=>Object.assign(Object.assign({},ie),{onSelect:function(){for(var re,G,Q=arguments.length,ae=new Array(Q),oe=0;oe{var ie;if(!t)return X.filter(ke=>ke!==ls);let re=$e(X);const G=new Set(U),Q=F.map(I).filter(ke=>!j.get(ke).disabled),ae=Q.every(ke=>G.has(ke)),oe=Q.some(ke=>G.has(ke)),de=()=>{const ke=[];ae?Q.forEach(Be=>{G.delete(Be),ke.push(Be)}):Q.forEach(Be=>{G.has(Be)||(G.add(Be),ke.push(Be))});const Ue=Array.from(G);c==null||c(!ae,Ue.map(Be=>E(Be)),ke.map(Be=>E(Be))),q(Ue,"all"),A(null)};let ve,ye;if(g!=="radio"){let ke;if(ee){const _e={getPopupContainer:$,items:ee.map((Ce,Re)=>{const{key:he,text:Ee,onSelect:je}=Ce;return{key:he??Re,onClick:()=>{je==null||je(Q)},label:Ee}})};ke=l.createElement("div",{className:`${S}-selection-extra`},l.createElement(u0,{menu:_e,getPopupContainer:$},l.createElement("span",null,l.createElement(Vb,null))))}const Ue=F.map((_e,Ce)=>{const Re=I(_e,Ce),he=j.get(Re)||{};return Object.assign({checked:G.has(Re)},he)}).filter(_e=>{let{disabled:Ce}=_e;return Ce}),Be=!!Ue.length&&Ue.length===F.length,De=Be&&Ue.every(_e=>{let{checked:Ce}=_e;return Ce}),Se=Be&&Ue.some(_e=>{let{checked:Ce}=_e;return Ce});ye=l.createElement(Yi,{checked:Be?De:!!F.length&&ae,indeterminate:Be?!De&&Se:!ae&&oe,onChange:de,disabled:F.length===0||Be,"aria-label":ke?"Custom selection":"Select all",skipGroup:!0}),ve=!y&&l.createElement("div",{className:`${S}-selection`},ye,ke)}let ge;g==="radio"?ge=(ke,Ue,Be)=>{const De=I(Ue,Be),Se=G.has(De);return{node:l.createElement(Va,Object.assign({},j.get(De),{checked:Se,onClick:_e=>_e.stopPropagation(),onChange:_e=>{G.has(De)||Y(De,!0,[De],_e.nativeEvent)}})),checked:Se}}:ge=(ke,Ue,Be)=>{var De;const Se=I(Ue,Be),_e=G.has(Se),Ce=Z.has(Se),Re=j.get(Se);let he;return R==="nest"?he=Ce:he=(De=Re==null?void 0:Re.indeterminate)!==null&&De!==void 0?De:Ce,{node:l.createElement(Yi,Object.assign({},Re,{indeterminate:he,checked:_e,skipGroup:!0,onClick:Ee=>Ee.stopPropagation(),onChange:Ee=>{let{nativeEvent:je}=Ee;const{shiftKey:Ae}=je,Ne=Q.findIndex(qe=>qe===Se),ze=z.some(qe=>Q.includes(qe));if(Ae&&b&&ze){const qe=P(Ne,Q,G),Le=Array.from(G);f==null||f(!_e,Le.map(Ke=>E(Ke)),qe.map(Ke=>E(Ke))),q(Le,"multiple")}else{const qe=z;if(b){const Le=_e?Qo(qe,Se):Ii(qe,Se);Y(Se,!_e,Le,je)}else{const Le=ji([].concat($e(qe),[Se]),!0,L,B),{checkedKeys:Ke,halfCheckedKeys:Je}=Le;let Xe=Ke;if(_e){const ut=new Set(Ke);ut.delete(Se),Xe=ji(Array.from(ut),{checked:!1,halfCheckedKeys:Je},L,B).checkedKeys}Y(Se,!_e,Xe,je)}}A(_e?null:Ne)}})),checked:_e}};const J=(ke,Ue,Be)=>{const{node:De,checked:Se}=ge(ke,Ue,Be);return h?h(Se,Ue,Be,De):De};if(!re.includes(ls))if(re.findIndex(ke=>{var Ue;return((Ue=ke[kf])===null||Ue===void 0?void 0:Ue.columnType)==="EXPAND_COLUMN"})===0){const[ke,...Ue]=re;re=[ke,ls].concat($e(Ue))}else re=[ls].concat($e(re));const ce=re.indexOf(ls);re=re.filter((ke,Ue)=>ke!==ls||Ue===ce);const ue=re[ce-1],fe=re[ce+1];let pe=m;pe===void 0&&((fe==null?void 0:fe.fixed)!==void 0?pe=fe.fixed:(ue==null?void 0:ue.fixed)!==void 0&&(pe=ue.fixed)),pe&&ue&&((ie=ue[kf])===null||ie===void 0?void 0:ie.columnType)==="EXPAND_COLUMN"&&ue.fixed===void 0&&(ue.fixed=pe);const xe=ne(`${S}-selection-col`,{[`${S}-selection-col-with-dropdown`]:v&&g==="checkbox"}),Te=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(ye):t.columnTitle:ve,Pe={fixed:pe,width:p,className:`${S}-selection-column`,title:Te(),render:J,onCell:t.onCell,[kf]:{className:xe}};return re.map(ke=>ke===ls?Pe:ke)},[I,F,t,z,U,Z,p,ee,R,j,f,Y,B]),U]};function QCe(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function JCe(e,t){return l.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(a,o){return n[o]?n[o]:Reflect.get(a,o)}}):QCe(r,n)})}function exe(e){return t=>{const{prefixCls:n,onExpand:r,record:a,expanded:o,expandable:i}=t,s=`${n}-row-expand-icon`;return l.createElement("button",{type:"button",onClick:c=>{r(a,c),c.stopPropagation()},className:ne(s,{[`${s}-spaced`]:!i,[`${s}-expanded`]:i&&o,[`${s}-collapsed`]:i&&!o}),"aria-label":o?e.collapse:e.expand,"aria-expanded":o})}}function txe(e){return(n,r)=>{const a=n.querySelector(`.${e}-container`);let o=r;if(a){const i=getComputedStyle(a),s=parseInt(i.borderLeftWidth,10),c=parseInt(i.borderRightWidth,10);o=r-s-c}return o}}const zs=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function fd(e,t){return t?`${t}-${e}`:`${e}`}const b0=(e,t)=>typeof e=="function"?e(t):e,nxe=(e,t)=>{const n=b0(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function rxe(e){const t=l.useRef(e),n=i$();return[()=>t.current,r=>{t.current=r,n()}]}function axe(e){var t=e.dropPosition,n=e.dropLevelOffset,r=e.indent,a={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(t){case-1:a.top=0,a.left=-n*r;break;case 1:a.bottom=0,a.left=-n*r;break;case 0:a.bottom=0,a.left=r;break}return l.createElement("div",{style:a})}function sG(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function oxe(e,t){var n=l.useState(!1),r=se(n,2),a=r[0],o=r[1];zt(function(){if(a)return e(),function(){t()}},[a]),zt(function(){return o(!0),function(){o(!1)}},[])}var ixe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],lG=function(t,n){var r=t.className,a=t.style,o=t.motion,i=t.motionNodes,s=t.motionType,c=t.onMotionStart,u=t.onMotionEnd,d=t.active,f=t.treeNodeRequiredProps,p=vt(t,ixe),g=l.useState(!0),v=se(g,2),m=v[0],h=v[1],y=l.useContext(J$),b=y.prefixCls,S=i&&s!=="hide";zt(function(){i&&S!==m&&h(S)},[i]);var w=function(){i&&c()},x=l.useRef(!1),E=function(){i&&!x.current&&(x.current=!0,u())};oxe(w,E);var I=function(T){S===T&&E()};return i?l.createElement(Wr,be({ref:n,visible:m},o,{motionAppear:s==="show",onVisibleChanged:I}),function(R,T){var _=R.className,$=R.style;return l.createElement("div",{ref:T,className:ne("".concat(b,"-treenode-motion"),_),style:$},i.map(function(D){var P=Object.assign({},(sG(D.data),D.data)),A=D.title,O=D.key,N=D.isStart,k=D.isEnd;delete P.children;var M=Of(O,f);return l.createElement(Bu,be({},P,M,{title:A,active:d,data:D.data,key:O,isStart:N,isEnd:k}))}))}):l.createElement(Bu,be({domRef:n,className:r,style:a},p,{active:d}))};lG.displayName="MotionTreeNode";var sxe=l.forwardRef(lG);function lxe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function a(o,i){var s=new Map;o.forEach(function(u){s.set(u,!0)});var c=i.filter(function(u){return!s.has(u)});return c.length===1?c[0]:null}return n ").concat(t);return t}var uG=l.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var a=e.expandedKeys,o=e.selectedKeys,i=e.checkedKeys,s=e.loadedKeys,c=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,f=e.disabled,p=e.dragging,g=e.dragOverNodeKey,v=e.dropPosition,m=e.motion,h=e.height,y=e.itemHeight,b=e.virtual,S=e.focusable,w=e.activeItem,x=e.focused,E=e.tabIndex,I=e.onKeyDown,R=e.onFocus,T=e.onBlur,_=e.onActiveChange,$=e.onListChangeStart,D=e.onListChangeEnd,P=vt(e,cxe),A=l.useRef(null),O=l.useRef(null);l.useImperativeHandle(t,function(){return{scrollTo:function(ge){A.current.scrollTo(ge)},getIndentWidth:function(){return O.current.offsetWidth}}});var N=l.useState(a),k=se(N,2),M=k[0],L=k[1],F=l.useState(r),j=se(F,2),B=j[0],z=j[1],H=l.useState(r),U=se(H,2),Z=U[0],q=U[1],Y=l.useState([]),ee=se(Y,2),te=ee[0],X=ee[1],ie=l.useState(null),re=se(ie,2),G=re[0],Q=re[1],ae=l.useRef(r);ae.current=r;function oe(){var ye=ae.current;z(ye),q(ye),X([]),Q(null),D()}zt(function(){L(a);var ye=lxe(M,a);if(ye.key!==null)if(ye.add){var ge=B.findIndex(function(xe){var Te=xe.key;return Te===ye.key}),J=$D(TD(B,r,ye.key),b,h,y),ce=B.slice();ce.splice(ge+1,0,_D),q(ce),X(J),Q("show")}else{var ue=r.findIndex(function(xe){var Te=xe.key;return Te===ye.key}),fe=$D(TD(r,B,ye.key),b,h,y),pe=r.slice();pe.splice(ue+1,0,_D),q(pe),X(fe),Q("hide")}else B!==r&&(z(r),q(r))},[a,r]),l.useEffect(function(){p||oe()},[p]);var de=m?Z:r,ve={expandedKeys:a,selectedKeys:o,loadedKeys:s,loadingKeys:c,checkedKeys:i,halfCheckedKeys:u,dragOverNodeKey:g,dropPosition:v,keyEntities:d};return l.createElement(l.Fragment,null,x&&w&&l.createElement("span",{style:RD,"aria-live":"assertive"},dxe(w)),l.createElement("div",null,l.createElement("input",{style:RD,disabled:S===!1||f,tabIndex:S!==!1?E:null,onKeyDown:I,onFocus:R,onBlur:T,value:"",onChange:uxe,"aria-label":"for screen reader"})),l.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},l.createElement("div",{className:"".concat(n,"-indent")},l.createElement("div",{ref:O,className:"".concat(n,"-indent-unit")}))),l.createElement(zb,be({},P,{data:de,itemKey:OD,height:h,fullHeight:!1,virtual:b,itemHeight:y,prefixCls:"".concat(n,"-list"),ref:A,onVisibleChange:function(ge,J){var ce=new Set(ge),ue=J.filter(function(fe){return!ce.has(fe)});ue.some(function(fe){return OD(fe)===Zl})&&oe()}}),function(ye){var ge=ye.pos,J=Object.assign({},(sG(ye.data),ye.data)),ce=ye.title,ue=ye.key,fe=ye.isStart,pe=ye.isEnd,xe=bg(ue,ge);delete J.key,delete J.children;var Te=Of(xe,ve);return l.createElement(sxe,be({},J,Te,{title:ce,active:!!w&&ue===w.key,pos:ge,data:ye.data,isStart:fe,isEnd:pe,motion:m,motionNodes:ue===Zl?te:null,motionType:G,onMotionStart:$,onMotionEnd:oe,treeNodeRequiredProps:ve,onMouseMove:function(){_(null)}}))}))});uG.displayName="NodeList";var fxe=10,y0=function(e){Qa(n,e);var t=xo(n);function n(){var r;kn(this,n);for(var a=arguments.length,o=new Array(a),i=0;i2&&arguments[2]!==void 0?arguments[2]:!1,f=r.state,p=f.dragChildrenKeys,g=f.dropPosition,v=f.dropTargetKey,m=f.dropTargetPos,h=f.dropAllowed;if(h){var y=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),v!==null){var b=K(K({},Of(v,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===v,data:Sa(r.state.keyEntities,v).node}),S=p.indexOf(v)!==-1;cn(!S,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var w=eO(m),x={event:s,node:ur(b),dragNode:r.dragNode?ur(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(p),dropToGap:g!==0,dropPosition:g+Number(w[w.length-1])};d||y==null||y(x),r.dragNode=null}}}),V(Ge(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),V(Ge(r),"triggerExpandActionExpand",function(s,c){var u=r.state,d=u.expandedKeys,f=u.flattenNodes,p=c.expanded,g=c.key,v=c.isLeaf;if(!(v||s.shiftKey||s.metaKey||s.ctrlKey)){var m=f.filter(function(y){return y.key===g})[0],h=ur(K(K({},Of(g,r.getTreeNodeRequiredProps())),{},{data:m.data}));r.setExpandedKeys(p?Qo(d,g):Ii(d,g)),r.onNodeExpand(s,h)}}),V(Ge(r),"onNodeClick",function(s,c){var u=r.props,d=u.onClick,f=u.expandAction;f==="click"&&r.triggerExpandActionExpand(s,c),d==null||d(s,c)}),V(Ge(r),"onNodeDoubleClick",function(s,c){var u=r.props,d=u.onDoubleClick,f=u.expandAction;f==="doubleClick"&&r.triggerExpandActionExpand(s,c),d==null||d(s,c)}),V(Ge(r),"onNodeSelect",function(s,c){var u=r.state.selectedKeys,d=r.state,f=d.keyEntities,p=d.fieldNames,g=r.props,v=g.onSelect,m=g.multiple,h=c.selected,y=c[p.key],b=!h;b?m?u=Ii(u,y):u=[y]:u=Qo(u,y);var S=u.map(function(w){var x=Sa(f,w);return x?x.node:null}).filter(function(w){return w});r.setUncontrolledState({selectedKeys:u}),v==null||v(u,{event:"select",selected:b,node:c,selectedNodes:S,nativeEvent:s.nativeEvent})}),V(Ge(r),"onNodeCheck",function(s,c,u){var d=r.state,f=d.keyEntities,p=d.checkedKeys,g=d.halfCheckedKeys,v=r.props,m=v.checkStrictly,h=v.onCheck,y=c.key,b,S={event:"check",node:c,checked:u,nativeEvent:s.nativeEvent};if(m){var w=u?Ii(p,y):Qo(p,y),x=Qo(g,y);b={checked:w,halfChecked:x},S.checkedNodes=w.map(function($){return Sa(f,$)}).filter(function($){return $}).map(function($){return $.node}),r.setUncontrolledState({checkedKeys:w})}else{var E=ji([].concat($e(p),[y]),!0,f),I=E.checkedKeys,R=E.halfCheckedKeys;if(!u){var T=new Set(I);T.delete(y);var _=ji(Array.from(T),{checked:!1,halfCheckedKeys:R},f);I=_.checkedKeys,R=_.halfCheckedKeys}b=I,S.checkedNodes=[],S.checkedNodesPositions=[],S.halfCheckedKeys=R,I.forEach(function($){var D=Sa(f,$);if(D){var P=D.node,A=D.pos;S.checkedNodes.push(P),S.checkedNodesPositions.push({node:P,pos:A})}}),r.setUncontrolledState({checkedKeys:I},!1,{halfCheckedKeys:R})}h==null||h(b,S)}),V(Ge(r),"onNodeLoad",function(s){var c,u=s.key,d=r.state.keyEntities,f=Sa(d,u);if(!(f!=null&&(c=f.children)!==null&&c!==void 0&&c.length)){var p=new Promise(function(g,v){r.setState(function(m){var h=m.loadedKeys,y=h===void 0?[]:h,b=m.loadingKeys,S=b===void 0?[]:b,w=r.props,x=w.loadData,E=w.onLoad;if(!x||y.indexOf(u)!==-1||S.indexOf(u)!==-1)return null;var I=x(s);return I.then(function(){var R=r.state.loadedKeys,T=Ii(R,u);E==null||E(T,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:T}),r.setState(function(_){return{loadingKeys:Qo(_.loadingKeys,u)}}),g()}).catch(function(R){if(r.setState(function(_){return{loadingKeys:Qo(_.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=fxe){var T=r.state.loadedKeys;cn(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:Ii(T,u)}),g()}v(R)}),{loadingKeys:Ii(S,u)}})});return p.catch(function(){}),p}}),V(Ge(r),"onNodeMouseEnter",function(s,c){var u=r.props.onMouseEnter;u==null||u({event:s,node:c})}),V(Ge(r),"onNodeMouseLeave",function(s,c){var u=r.props.onMouseLeave;u==null||u({event:s,node:c})}),V(Ge(r),"onNodeContextMenu",function(s,c){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:c}))}),V(Ge(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var c=arguments.length,u=new Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var d=!1,f=!0,p={};Object.keys(s).forEach(function(g){if(g in r.props){f=!1;return}d=!0,p[g]=s[g]}),d&&(!c||f)&&r.setState(K(K({},p),u))}}),V(Ge(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return An(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var a=this.props,o=a.activeKey,i=a.itemScrollOffset,s=i===void 0?0:i;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var a=this.state,o=a.focused,i=a.flattenNodes,s=a.keyEntities,c=a.draggingNodeKey,u=a.activeKey,d=a.dropLevelOffset,f=a.dropContainerKey,p=a.dropTargetKey,g=a.dropPosition,v=a.dragOverNodeKey,m=a.indent,h=this.props,y=h.prefixCls,b=h.className,S=h.style,w=h.showLine,x=h.focusable,E=h.tabIndex,I=E===void 0?0:E,R=h.selectable,T=h.showIcon,_=h.icon,$=h.switcherIcon,D=h.draggable,P=h.checkable,A=h.checkStrictly,O=h.disabled,N=h.motion,k=h.loadData,M=h.filterTreeNode,L=h.height,F=h.itemHeight,j=h.virtual,B=h.titleRender,z=h.dropIndicatorRender,H=h.onContextMenu,U=h.onScroll,Z=h.direction,q=h.rootClassName,Y=h.rootStyle,ee=Nn(this.props,{aria:!0,data:!0}),te;return D&&(ft(D)==="object"?te=D:typeof D=="function"?te={nodeDraggable:D}:te={}),l.createElement(J$.Provider,{value:{prefixCls:y,selectable:R,showIcon:T,icon:_,switcherIcon:$,draggable:te,draggingNodeKey:c,checkable:P,checkStrictly:A,disabled:O,keyEntities:s,dropLevelOffset:d,dropContainerKey:f,dropTargetKey:p,dropPosition:g,dragOverNodeKey:v,indent:m,direction:Z,dropIndicatorRender:z,loadData:k,filterTreeNode:M,titleRender:B,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},l.createElement("div",{role:"tree",className:ne(y,b,q,V(V(V({},"".concat(y,"-show-line"),w),"".concat(y,"-focused"),o),"".concat(y,"-active-focused"),u!==null)),style:Y},l.createElement(uG,be({ref:this.listRef,prefixCls:y,style:S,data:i,disabled:O,selectable:R,checkable:!!P,motion:N,dragging:c!==null,height:L,itemHeight:F,virtual:j,focusable:x,focused:o,tabIndex:I,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:H,onScroll:U},this.getTreeNodeRequiredProps(),ee))))}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,s={prevProps:a};function c(E){return!i&&E in a||i&&i[E]!==a[E]}var u,d=o.fieldNames;if(c("fieldNames")&&(d=ju(a.fieldNames),s.fieldNames=d),c("treeData")?u=a.treeData:c("children")&&(cn(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=_V(a.children)),u){s.treeData=u;var f=s0(u,{fieldNames:d});s.keyEntities=K(V({},Zl,cG),f.keyEntities)}var p=s.keyEntities||o.keyEntities;if(c("expandedKeys")||i&&c("autoExpandParent"))s.expandedKeys=a.autoExpandParent||!i&&a.defaultExpandParent?BT(a.expandedKeys,p):a.expandedKeys;else if(!i&&a.defaultExpandAll){var g=K({},p);delete g[Zl],s.expandedKeys=Object.keys(g).map(function(E){return g[E].key})}else!i&&a.defaultExpandedKeys&&(s.expandedKeys=a.autoExpandParent||a.defaultExpandParent?BT(a.defaultExpandedKeys,p):a.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var v=pS(u||o.treeData,s.expandedKeys||o.expandedKeys,d);s.flattenNodes=v}if(a.selectable&&(c("selectedKeys")?s.selectedKeys=ED(a.selectedKeys,a):!i&&a.defaultSelectedKeys&&(s.selectedKeys=ED(a.defaultSelectedKeys,a))),a.checkable){var m;if(c("checkedKeys")?m=xS(a.checkedKeys)||{}:!i&&a.defaultCheckedKeys?m=xS(a.defaultCheckedKeys)||{}:u&&(m=xS(a.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),m){var h=m,y=h.checkedKeys,b=y===void 0?[]:y,S=h.halfCheckedKeys,w=S===void 0?[]:S;if(!a.checkStrictly){var x=ji(b,!0,p);b=x.checkedKeys,w=x.halfCheckedKeys}s.checkedKeys=b,s.halfCheckedKeys=w}}return c("loadedKeys")&&(s.loadedKeys=a.loadedKeys),s}}]),n}(l.Component);V(y0,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:axe,allowDrop:function(){return!0},expandAction:!1});V(y0,"TreeNode",Bu);const pxe=new Jt("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),gxe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),mxe=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${W(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),hxe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:a,titleHeight:o,nodeSelectedBg:i,nodeHoverBg:s}=t,c=t.paddingXS;return{[n]:Object.assign(Object.assign({},Gt(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,[`&${n}-rtl`]:{[`${n}-switcher`]:{"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Vi(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:a,insetInlineStart:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:pxe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${W(a)} 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:o,lineHeight:W(o),textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${t.motionDurationSlow}`,[`${r}:hover &`]:{opacity:.45}},[`&${r}-disabled`]:{[`${n}-draggable-icon`]:{visibility:"hidden"}}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:o}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},gxe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,margin:0,lineHeight:W(o),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:o,height:o,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},"&_close":{[`${n}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(o).div(2).equal()).mul(.8).equal(),height:t.calc(o).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:c,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:o,margin:0,padding:`0 ${W(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:W(o),background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:s},[`&${n}-node-selected`]:{backgroundColor:i},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,lineHeight:W(o),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:W(o),userSelect:"none"},mxe(e,t)),[`${r}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${t.colorPrimary}`}},"&-show-line":{[`${n}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(a).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last`]:{[`${n}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${W(t.calc(o).div(2).equal())} !important`}}}}})}},vxe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:a,directoryNodeSelectedColor:o}=e;return{[`${t}${t}-directory`]:{[n]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:r,insetInlineStart:0,transition:`background-color ${e.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:e.controlItemBgHover}},"> *":{zIndex:1},[`${t}-switcher`]:{transition:`color ${e.motionDurationMid}`},[`${t}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${t}-node-selected`]:{color:o,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:a},[`${t}-switcher`]:{color:o},[`${t}-node-content-wrapper`]:{color:o,background:"transparent"}}}}}},dG=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,a=t.calc(t.paddingXS).div(2).equal(),o=Pt(t,{treeCls:n,treeNodeCls:r,treeNodePadding:a});return[hxe(e,o),vxe(o)]},fG=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},bxe=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},fG(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},yxe=Kt("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:O$(`${n}-checkbox`,e)},dG(n,e),og(e)]},bxe),ND=4;function Sxe(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:a,direction:o="ltr"}=e,i=o==="ltr"?"left":"right",s=o==="ltr"?"right":"left",c={[i]:-n*a+ND,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=a+ND;break}return le.createElement("div",{style:c,className:`${r}-drop-indicator`})}const pG=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:a,switcherLoadingIcon:o}=e,{isLeaf:i,expanded:s,loading:c}=r;if(c)return l.isValidElement(o)?o:l.createElement(Wi,{className:`${t}-switcher-loading-icon`});let u;if(a&&typeof a=="object"&&(u=a.showLeafIcon),i){if(!a)return null;if(typeof u!="boolean"&&u){const p=typeof u=="function"?u(r):u,g=`${t}-switcher-line-custom-icon`;return l.isValidElement(p)?lr(p,{className:ne(p.props.className||"",g)}):p}return u?l.createElement(MW,{className:`${t}-switcher-line-icon`}):l.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,f=typeof n=="function"?n(r):n;return l.isValidElement(f)?lr(f,{className:ne(f.props.className||"",d)}):f!==void 0?f:a?s?l.createElement(BSe,{className:`${t}-switcher-line-icon`}):l.createElement(o1e,{className:`${t}-switcher-line-icon`}):l.createElement(U0e,{className:d})},gG=le.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:a,virtual:o,tree:i}=le.useContext(ot),{prefixCls:s,className:c,showIcon:u=!1,showLine:d,switcherIcon:f,switcherLoadingIcon:p,blockNode:g=!1,children:v,checkable:m=!1,selectable:h=!0,draggable:y,motion:b,style:S}=e,w=r("tree",s),x=r(),E=b??Object.assign(Object.assign({},Pu(x)),{motionAppear:!1}),I=Object.assign(Object.assign({},e),{checkable:m,selectable:h,showIcon:u,motion:E,blockNode:g,showLine:!!d,dropIndicatorRender:Sxe}),[R,T,_]=yxe(w),[,$]=Mr(),D=$.paddingXS/2+(((n=$.Tree)===null||n===void 0?void 0:n.titleHeight)||$.controlHeightSM),P=le.useMemo(()=>{if(!y)return!1;let O={};switch(typeof y){case"function":O.nodeDraggable=y;break;case"object":O=Object.assign({},y);break}return O.icon!==!1&&(O.icon=O.icon||le.createElement(fSe,null)),O},[y]),A=O=>le.createElement(pG,{prefixCls:w,switcherIcon:f,switcherLoadingIcon:p,treeNodeProps:O,showLine:d});return R(le.createElement(y0,Object.assign({itemHeight:D,ref:t,virtual:o},I,{style:Object.assign(Object.assign({},i==null?void 0:i.style),S),prefixCls:w,className:ne({[`${w}-icon-hide`]:!u,[`${w}-block-node`]:g,[`${w}-unselectable`]:!h,[`${w}-rtl`]:a==="rtl"},i==null?void 0:i.className,c,T,_),direction:a,checkable:m&&le.createElement("span",{className:`${w}-checkbox-inner`}),selectable:h,switcherIcon:A,draggable:P}),v))}),kD=0,ES=1,AD=2;function tO(e,t,n){const{key:r,children:a}=n;function o(i){const s=i[r],c=i[a];t(s,i)!==!1&&tO(c||[],t,n)}e.forEach(o)}function wxe(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:a,fieldNames:o}=e;const i=[];let s=kD;if(r&&r===a)return[r];if(!r||!a)return[];function c(u){return u===r||u===a}return tO(t,u=>{if(s===AD)return!1;if(c(u)){if(i.push(u),s===kD)s=ES;else if(s===ES)return s=AD,!1}else s===ES&&i.push(u);return n.includes(u)},ju(o)),i}function IS(e,t,n){const r=$e(t),a=[];return tO(e,(o,i)=>{const s=r.indexOf(o);return s!==-1&&(a.push(i),r.splice(s,1)),!!r.length},ju(n)),a}var MD=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:a}=e,o=MD(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const i=l.useRef(),s=l.useRef(),c=()=>{const{keyEntities:R}=s0(DD(o));let T;return n?T=Object.keys(R):r?T=BT(o.expandedKeys||a||[],R):T=o.expandedKeys||a||[],T},[u,d]=l.useState(o.selectedKeys||o.defaultSelectedKeys||[]),[f,p]=l.useState(()=>c());l.useEffect(()=>{"selectedKeys"in o&&d(o.selectedKeys)},[o.selectedKeys]),l.useEffect(()=>{"expandedKeys"in o&&p(o.expandedKeys)},[o.expandedKeys]);const g=(R,T)=>{var _;return"expandedKeys"in o||p(R),(_=o.onExpand)===null||_===void 0?void 0:_.call(o,R,T)},v=(R,T)=>{var _;const{multiple:$,fieldNames:D}=o,{node:P,nativeEvent:A}=T,{key:O=""}=P,N=DD(o),k=Object.assign(Object.assign({},T),{selected:!0}),M=(A==null?void 0:A.ctrlKey)||(A==null?void 0:A.metaKey),L=A==null?void 0:A.shiftKey;let F;$&&M?(F=R,i.current=O,s.current=F,k.selectedNodes=IS(N,F,D)):$&&L?(F=Array.from(new Set([].concat($e(s.current||[]),$e(wxe({treeData:N,expandedKeys:f,startKey:O,endKey:i.current,fieldNames:D}))))),k.selectedNodes=IS(N,F,D)):(F=[O],i.current=O,s.current=F,k.selectedNodes=IS(N,F,D)),(_=o.onSelect)===null||_===void 0||_.call(o,F,k),"selectedKeys"in o||d(F)},{getPrefixCls:m,direction:h}=l.useContext(ot),{prefixCls:y,className:b,showIcon:S=!0,expandAction:w="click"}=o,x=MD(o,["prefixCls","className","showIcon","expandAction"]),E=m("tree",y),I=ne(`${E}-directory`,{[`${E}-directory-rtl`]:h==="rtl"},b);return l.createElement(gG,Object.assign({icon:Cxe,ref:t,blockNode:!0},x,{showIcon:S,expandAction:w,prefixCls:E,className:I,expandedKeys:f,selectedKeys:u,onSelect:v,onExpand:g}))},Exe=l.forwardRef(xxe),nO=gG;nO.DirectoryTree=Exe;nO.TreeNode=Bu;const PD=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:a,onChange:o}=e;return n?l.createElement("div",{className:`${r}-filter-dropdown-search`},l.createElement(Zt,{prefix:l.createElement(a$,null),placeholder:a.filterSearchPlaceholder,onChange:o,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},Ixe=e=>{const{keyCode:t}=e;t===Me.ENTER&&e.stopPropagation()},Txe=l.forwardRef((e,t)=>l.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:Ixe,ref:t},e.children));function yu(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[].concat($e(t),$e(yu(a))))}),t}function Rxe(e){return e.some(t=>{let{children:n}=t;return n})}function mG(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function hG(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:o,filterSearch:i}=e;return t.map((s,c)=>{const u=String(s.value);if(s.children)return{key:u||c,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:hG({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:o,filterSearch:i})};const d=a?Yi:Va,f={key:s.value!==void 0?u:c,label:l.createElement(l.Fragment,null,l.createElement(d,{checked:r.includes(u)}),l.createElement("span",null,s.text))};return o.trim()?typeof i=="function"?i(o,s)?f:null:mG(o,s.text)?f:null:f})}function TS(e){return e||[]}const _xe=e=>{var t,n;const{tablePrefixCls:r,prefixCls:a,column:o,dropdownPrefixCls:i,columnKey:s,filterOnClose:c,filterMultiple:u,filterMode:d="menu",filterSearch:f=!1,filterState:p,triggerFilter:g,locale:v,children:m,getPopupContainer:h,rootClassName:y}=e,{filterDropdownOpen:b,onFilterDropdownOpenChange:S,filterResetToDefaultFilteredValue:w,defaultFilteredValue:x,filterDropdownVisible:E,onFilterDropdownVisibleChange:I}=o,[R,T]=l.useState(!1),_=!!(p&&(!((t=p.filteredKeys)===null||t===void 0)&&t.length||p.forceFiltered)),$=de=>{T(de),S==null||S(de),I==null||I(de)},D=(n=b??E)!==null&&n!==void 0?n:R,P=p==null?void 0:p.filteredKeys,[A,O]=rxe(TS(P)),N=de=>{let{selectedKeys:ve}=de;O(ve)},k=(de,ve)=>{let{node:ye,checked:ge}=ve;N(u?{selectedKeys:de}:{selectedKeys:ge&&ye.key?[ye.key]:[]})};l.useEffect(()=>{R&&N({selectedKeys:TS(P)})},[P]);const[M,L]=l.useState([]),F=de=>{L(de)},[j,B]=l.useState(""),z=de=>{const{value:ve}=de.target;B(ve)};l.useEffect(()=>{R||B("")},[R]);const H=de=>{const ve=de!=null&&de.length?de:null;if(ve===null&&(!p||!p.filteredKeys)||Uo(ve,p==null?void 0:p.filteredKeys,!0))return null;g({column:o,key:s,filteredKeys:ve})},U=()=>{$(!1),H(A())},Z=function(){let{confirm:de,closeDropdown:ve}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};de&&H([]),ve&&$(!1),B(""),O(w?(x||[]).map(ye=>String(ye)):[])},q=function(){let{closeDropdown:de}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};de&&$(!1),H(A())},Y=(de,ve)=>{ve.source==="trigger"&&(de&&P!==void 0&&O(TS(P)),$(de),!de&&!o.filterDropdown&&c&&U())},ee=ne({[`${i}-menu-without-submenu`]:!Rxe(o.filters||[])}),te=de=>{if(de.target.checked){const ve=yu(o==null?void 0:o.filters).map(ye=>String(ye));O(ve)}else O([])},X=de=>{let{filters:ve}=de;return(ve||[]).map((ye,ge)=>{const J=String(ye.value),ce={title:ye.text,key:ye.value!==void 0?J:String(ge)};return ye.children&&(ce.children=X({filters:ye.children})),ce})},ie=de=>{var ve;return Object.assign(Object.assign({},de),{text:de.title,value:de.key,children:((ve=de.children)===null||ve===void 0?void 0:ve.map(ye=>ie(ye)))||[]})};let re;const{direction:G,renderEmpty:Q}=l.useContext(ot);if(typeof o.filterDropdown=="function")re=o.filterDropdown({prefixCls:`${i}-custom`,setSelectedKeys:de=>N({selectedKeys:de}),selectedKeys:A(),confirm:q,clearFilters:Z,filters:o.filters,visible:D,close:()=>{$(!1)}});else if(o.filterDropdown)re=o.filterDropdown;else{const de=A()||[],ve=()=>{var ge;const J=(ge=Q==null?void 0:Q("Table.filter"))!==null&&ge!==void 0?ge:l.createElement(Ai,{image:Ai.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((o.filters||[]).length===0)return J;if(d==="tree")return l.createElement(l.Fragment,null,l.createElement(PD,{filterSearch:f,value:j,onChange:z,tablePrefixCls:r,locale:v}),l.createElement("div",{className:`${r}-filter-dropdown-tree`},u?l.createElement(Yi,{checked:de.length===yu(o.filters).length,indeterminate:de.length>0&&de.lengthtypeof f=="function"?f(j,ie(fe)):mG(j,fe.title):void 0})));const ce=hG({filters:o.filters||[],filterSearch:f,prefixCls:a,filteredKeys:A(),filterMultiple:u,searchValue:j}),ue=ce.every(fe=>fe===null);return l.createElement(l.Fragment,null,l.createElement(PD,{filterSearch:f,value:j,onChange:z,tablePrefixCls:r,locale:v}),ue?J:l.createElement(pi,{selectable:!0,multiple:u,prefixCls:`${i}-menu`,className:ee,onSelect:N,onDeselect:N,selectedKeys:de,getPopupContainer:h,openKeys:M,onOpenChange:F,items:ce}))},ye=()=>w?Uo((x||[]).map(ge=>String(ge)),de,!0):de.length===0;re=l.createElement(l.Fragment,null,ve(),l.createElement("div",{className:`${a}-dropdown-btns`},l.createElement($t,{type:"link",size:"small",disabled:ye(),onClick:()=>Z()},v.filterReset),l.createElement($t,{type:"primary",size:"small",onClick:U},v.filterConfirm)))}o.filterDropdown&&(re=l.createElement(SU,{selectable:void 0},re));const ae=()=>l.createElement(Txe,{className:`${a}-dropdown`},re);let oe;return typeof o.filterIcon=="function"?oe=o.filterIcon(_):o.filterIcon?oe=o.filterIcon:oe=l.createElement(Gye,null),l.createElement("div",{className:`${a}-column`},l.createElement("span",{className:`${r}-column-title`},m),l.createElement(u0,{dropdownRender:ae,trigger:["click"],open:D,onOpenChange:Y,getPopupContainer:h,placement:G==="rtl"?"bottomLeft":"bottomRight",rootClassName:y},l.createElement("span",{role:"button",tabIndex:-1,className:ne(`${a}-trigger`,{active:_}),onClick:de=>{de.stopPropagation()}},oe)))},WT=(e,t,n)=>{let r=[];return(e||[]).forEach((a,o)=>{var i;const s=fd(o,n);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let c=a.filteredValue;"filterDropdown"in a||(c=(i=c==null?void 0:c.map(String))!==null&&i!==void 0?i:c),r.push({column:a,key:zs(a,s),filteredKeys:c,forceFiltered:a.filtered})}else r.push({column:a,key:zs(a,s),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[].concat($e(r),$e(WT(a.children,t,s))))}),r};function vG(e,t,n,r,a,o,i,s,c){return n.map((u,d)=>{const f=fd(d,s),{filterOnClose:p=!0,filterMultiple:g=!0,filterMode:v,filterSearch:m}=u;let h=u;if(h.filters||h.filterDropdown){const y=zs(h,f),b=r.find(S=>{let{key:w}=S;return y===w});h=Object.assign(Object.assign({},h),{title:S=>l.createElement(_xe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:h,columnKey:y,filterState:b,filterOnClose:p,filterMultiple:g,filterMode:v,filterSearch:m,triggerFilter:o,locale:a,getPopupContainer:i,rootClassName:c},b0(u.title,S))})}return"children"in h&&(h=Object.assign(Object.assign({},h),{children:vG(e,t,h.children,r,a,o,i,f,c)})),h})}const LD=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:a,column:o}=n;const i=r,{filters:s,filterDropdown:c}=o;if(c)t[i]=a||null;else if(Array.isArray(a)){const u=yu(s);t[i]=u.filter(d=>a.includes(String(d)))}else t[i]=null}),t},GT=(e,t,n)=>t.reduce((a,o)=>{const{column:{onFilter:i,filters:s},filteredKeys:c}=o;return i&&c&&c.length?a.map(u=>Object.assign({},u)).filter(u=>c.some(d=>{const f=yu(s),p=f.findIndex(v=>String(v)===String(d)),g=p!==-1?f[p]:d;return u[n]&&(u[n]=GT(u[n],t,n)),i(g,u)})):a},e),bG=e=>e.flatMap(t=>"children"in t?[t].concat($e(bG(t.children||[]))):[t]),$xe=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:a,getPopupContainer:o,locale:i,rootClassName:s}=e;Xs();const c=l.useMemo(()=>bG(r||[]),[r]),[u,d]=l.useState(()=>WT(c,!0)),f=l.useMemo(()=>{const m=WT(c,!1);if(m.length===0)return m;let h=!0;if(m.forEach(y=>{let{filteredKeys:b}=y;b!==void 0&&(h=!1)}),h){const y=(c||[]).map((b,S)=>zs(b,fd(S)));return u.filter(b=>{let{key:S}=b;return y.includes(S)}).map(b=>{const S=c[y.findIndex(w=>w===b.key)];return Object.assign(Object.assign({},b),{column:Object.assign(Object.assign({},b.column),S),forceFiltered:S.filtered})})}return m},[c,u]),p=l.useMemo(()=>LD(f),[f]),g=m=>{const h=f.filter(y=>{let{key:b}=y;return b!==m.key});h.push(m),d(h),a(LD(h),h)};return[m=>vG(t,n,m,f,i,g,o,void 0,s),f,p]},Oxe=(e,t,n)=>{const r=l.useRef({});function a(o){var i;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let u=function(d){d.forEach((f,p)=>{const g=n(f,p);c.set(g,f),f&&typeof f=="object"&&t in f&&u(f[t]||[])})};var s=u;const c=new Map;u(e),r.current={data:e,childrenColumnName:t,kvMap:c,getRowKey:n}}return(i=r.current.kvMap)===null||i===void 0?void 0:i.get(o)}return[a]};var Nxe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const o=e[a];typeof o!="function"&&(n[a]=o)}),n}function Axe(e,t,n){const r=n&&typeof n=="object"?n:{},{total:a=0}=r,o=Nxe(r,["total"]),[i,s]=l.useState(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:yG})),c=CW(i,o,{total:a>0?a:e}),u=Math.ceil((a||e)/c.pageSize);c.current>u&&(c.current=u||1);const d=(p,g)=>{s({current:p??1,pageSize:g||c.pageSize})},f=(p,g)=>{var v;n&&((v=n.onChange)===null||v===void 0||v.call(n,p,g)),d(p,g),t(p,g||(c==null?void 0:c.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},c),{onChange:f}),d]}const Ih="ascend",RS="descend",$v=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,FD=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,Mxe=(e,t)=>t?e[e.indexOf(t)+1]:e[0],qT=(e,t,n)=>{let r=[];const a=(o,i)=>{r.push({column:o,key:zs(o,i),multiplePriority:$v(o),sortOrder:o.sortOrder})};return(e||[]).forEach((o,i)=>{const s=fd(i,n);o.children?("sortOrder"in o&&a(o,s),r=[].concat($e(r),$e(qT(o.children,t,s)))):o.sorter&&("sortOrder"in o?a(o,s):t&&o.defaultSortOrder&&r.push({column:o,key:zs(o,s),multiplePriority:$v(o),sortOrder:o.defaultSortOrder}))}),r},SG=(e,t,n,r,a,o,i,s)=>(t||[]).map((u,d)=>{const f=fd(d,s);let p=u;if(p.sorter){const g=p.sortDirections||a,v=p.showSorterTooltip===void 0?i:p.showSorterTooltip,m=zs(p,f),h=n.find(T=>{let{key:_}=T;return _===m}),y=h?h.sortOrder:null,b=Mxe(g,y);let S;if(u.sortIcon)S=u.sortIcon({sortOrder:y});else{const T=g.includes(Ih)&&l.createElement(Y0e,{className:ne(`${e}-column-sorter-up`,{active:y===Ih})}),_=g.includes(RS)&&l.createElement(G0e,{className:ne(`${e}-column-sorter-down`,{active:y===RS})});S=l.createElement("span",{className:ne(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(T&&_)})},l.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},T,_))}const{cancelSort:w,triggerAsc:x,triggerDesc:E}=o||{};let I=w;b===RS?I=E:b===Ih&&(I=x);const R=typeof v=="object"?Object.assign({title:I},v):{title:I};p=Object.assign(Object.assign({},p),{className:ne(p.className,{[`${e}-column-sort`]:y}),title:T=>{const _=`${e}-column-sorters`,$=l.createElement("span",{className:`${e}-column-title`},b0(u.title,T)),D=l.createElement("div",{className:_},$,S);return v?typeof v!="boolean"&&(v==null?void 0:v.target)==="sorter-icon"?l.createElement("div",{className:`${_} ${e}-column-sorters-tooltip-target-sorter`},$,l.createElement(rn,Object.assign({},R),S)):l.createElement(rn,Object.assign({},R),D):D},onHeaderCell:T=>{var _;const $=((_=u.onHeaderCell)===null||_===void 0?void 0:_.call(u,T))||{},D=$.onClick,P=$.onKeyDown;$.onClick=N=>{r({column:u,key:m,sortOrder:b,multiplePriority:$v(u)}),D==null||D(N)},$.onKeyDown=N=>{N.keyCode===Me.ENTER&&(r({column:u,key:m,sortOrder:b,multiplePriority:$v(u)}),P==null||P(N))};const A=nxe(u.title,{}),O=A==null?void 0:A.toString();return y?$["aria-sort"]=y==="ascend"?"ascending":"descending":$["aria-label"]=O||"",$.className=ne($.className,`${e}-column-has-sorters`),$.tabIndex=0,u.ellipsis&&($.title=(A??"").toString()),$}})}return"children"in p&&(p=Object.assign(Object.assign({},p),{children:SG(e,p.children,n,r,a,o,i,f)})),p}),jD=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},BD=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(jD);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},jD(e[n])),{column:void 0})}return t.length<=1?t[0]||{}:t},KT=(e,t,n)=>{const r=t.slice().sort((i,s)=>s.multiplePriority-i.multiplePriority),a=e.slice(),o=r.filter(i=>{let{column:{sorter:s},sortOrder:c}=i;return FD(s)&&c});return o.length?a.sort((i,s)=>{for(let c=0;c{const s=i[n];return s?Object.assign(Object.assign({},i),{[n]:KT(s,t,n)}):i}):a},Dxe=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:a,showSorterTooltip:o,onSorterChange:i}=e,[s,c]=l.useState(qT(n,!0)),u=(m,h)=>{const y=[];return m.forEach((b,S)=>{const w=fd(S,h);if(y.push(zs(b,w)),Array.isArray(b.children)){const x=u(b.children,w);y.push.apply(y,$e(x))}}),y},d=l.useMemo(()=>{let m=!0;const h=qT(n,!1);if(!h.length){const w=u(n);return s.filter(x=>{let{key:E}=x;return w.includes(E)})}const y=[];function b(w){m?y.push(w):y.push(Object.assign(Object.assign({},w),{sortOrder:null}))}let S=null;return h.forEach(w=>{S===null?(b(w),w.sortOrder&&(w.multiplePriority===!1?m=!1:S=!0)):(S&&w.multiplePriority!==!1||(m=!1),b(w))}),y},[n,s]),f=l.useMemo(()=>{var m,h;const y=d.map(b=>{let{column:S,sortOrder:w}=b;return{column:S,order:w}});return{sortColumns:y,sortColumn:(m=y[0])===null||m===void 0?void 0:m.column,sortOrder:(h=y[0])===null||h===void 0?void 0:h.order}},[d]),p=m=>{let h;m.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?h=[m]:h=[].concat($e(d.filter(y=>{let{key:b}=y;return b!==m.key})),[m]),c(h),i(BD(h),h)};return[m=>SG(t,m,d,p,r,a,o),d,f,()=>BD(d)]},wG=(e,t)=>e.map(r=>{const a=Object.assign({},r);return a.title=b0(r.title,t),"children"in a&&(a.children=wG(a.children,t)),a}),Pxe=e=>[l.useCallback(n=>wG(n,e),[e])],Lxe=rG((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),Fxe=oG((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),jxe=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:a,tableHeaderBg:o,tablePaddingVertical:i,tablePaddingHorizontal:s,calc:c}=e,u=`${W(n)} ${r} ${a}`,d=(f,p,g)=>({[`&${t}-${f}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${W(c(p).mul(-1).equal())} ${W(c(c(g).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:u,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:u,borderTop:u,[` > ${t}-content, > ${t}-header, @@ -399,7 +399,7 @@ html body { `]:{"> th, > td":{borderInlineEnd:0}}}}}},d("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle)),d("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall)),{[`> ${t}-footer`]:{border:u,borderTop:0}}),[`${t}-cell`]:{[`${t}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${W(n)} 0 ${W(n)} ${o}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},Bxe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},vo),{wordBreak:"keep-all",[` &${t}-cell-fix-left-last, &${t}-cell-fix-right-first - `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},zxe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},Hxe=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:a,paddingXS:o,lineType:i,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:u,borderRadius:d,tablePaddingVertical:f,tablePaddingHorizontal:p,tableExpandedRowBg:g,paddingXXS:b,expandIconMarginTop:m,expandIconSize:h,expandIconHalfInner:y,expandIconScale:v,calc:S}=e,w=`${W(a)} ${i} ${s}`,x=S(b).sub(a).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},j_(e)),{position:"relative",float:"left",boxSizing:"border-box",width:h,height:h,padding:0,color:"inherit",lineHeight:W(h),background:c,border:w,borderRadius:d,transform:`scale(${v})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:y,insetInlineEnd:x,insetInlineStart:x,height:a},"&::after":{top:x,bottom:x,insetInlineStart:y,width:a,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:m,marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:g}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${W(S(f).mul(-1).equal())} ${W(S(p).mul(-1).equal())}`,padding:`${W(f)} ${W(p)}`}}}},Uxe=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:o,paddingXXS:i,paddingXS:s,colorText:c,lineWidth:u,lineType:d,tableBorderColor:f,headerIconColor:p,fontSizeSM:g,tablePaddingHorizontal:b,borderRadius:m,motionDurationSlow:h,colorTextDescription:y,colorPrimary:v,tableHeaderFilterActiveBg:S,colorTextDisabled:w,tableFilterDropdownBg:x,tableFilterDropdownHeight:E,controlItemBgHover:I,controlItemBgActive:R,boxShadowSecondary:T,filterDropdownMenuBg:_,calc:$}=e,D=`${n}-dropdown`,P=`${t}-filter-dropdown`,A=`${n}-tree`,O=`${W(u)} ${d} ${f}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:$(i).mul(-1).equal(),marginInline:`${W(i)} ${W($(b).div(2).mul(-1).equal())}`,padding:`0 ${W(i)}`,color:p,fontSize:g,borderRadius:m,cursor:"pointer",transition:`all ${h}`,"&:hover":{color:y,background:S},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[P]:Object.assign(Object.assign({},Gt(e)),{minWidth:a,backgroundColor:x,borderRadius:m,boxShadow:T,overflow:"hidden",[`${D}-menu`]:{maxHeight:E,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_,"&:empty::after":{display:"block",padding:`${W(s)} 0`,color:w,fontSize:g,textAlign:"center",content:'"Not Found"'}},[`${P}-tree`]:{paddingBlock:`${W(s)} 0`,paddingInline:s,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:I},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:R}}},[`${P}-search`]:{padding:s,borderBottom:O,"&-input":{input:{minWidth:o},[r]:{color:w}}},[`${P}-checkall`]:{width:"100%",marginBottom:i,marginInlineStart:i},[`${P}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${W($(s).sub(u).equal())} ${W(s)}`,overflow:"hidden",borderTop:O}})}},{[`${n}-dropdown ${P}, ${P}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Vxe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:a,zIndexTableFixed:o,tableBg:i,zIndexTableSticky:s,calc:c}=e,u=r;return{[`${t}-wrapper`]:{[` + `]:{overflow:"visible",[`${t}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${t}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},zxe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-tbody > tr${t}-placeholder`]:{textAlign:"center",color:e.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:e.colorBgContainer}}}}},Hxe=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:a,paddingXS:o,lineType:i,tableBorderColor:s,tableExpandIconBg:c,tableExpandColumnWidth:u,borderRadius:d,tablePaddingVertical:f,tablePaddingHorizontal:p,tableExpandedRowBg:g,paddingXXS:v,expandIconMarginTop:m,expandIconSize:h,expandIconHalfInner:y,expandIconScale:b,calc:S}=e,w=`${W(a)} ${i} ${s}`,x=S(v).sub(a).equal();return{[`${t}-wrapper`]:{[`${t}-expand-icon-col`]:{width:u},[`${t}-row-expand-icon-cell`]:{textAlign:"center",[`${t}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${t}-row-indent`]:{height:1,float:"left"},[`${t}-row-expand-icon`]:Object.assign(Object.assign({},j_(e)),{position:"relative",float:"left",boxSizing:"border-box",width:h,height:h,padding:0,color:"inherit",lineHeight:W(h),background:c,border:w,borderRadius:d,transform:`scale(${b})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:y,insetInlineEnd:x,insetInlineStart:x,height:a},"&::after":{top:x,bottom:x,insetInlineStart:y,width:a,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${t}-row-indent + ${t}-row-expand-icon`]:{marginTop:m,marginInlineEnd:o},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:g}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${W(S(f).mul(-1).equal())} ${W(S(p).mul(-1).equal())}`,padding:`${W(f)} ${W(p)}`}}}},Uxe=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:o,paddingXXS:i,paddingXS:s,colorText:c,lineWidth:u,lineType:d,tableBorderColor:f,headerIconColor:p,fontSizeSM:g,tablePaddingHorizontal:v,borderRadius:m,motionDurationSlow:h,colorTextDescription:y,colorPrimary:b,tableHeaderFilterActiveBg:S,colorTextDisabled:w,tableFilterDropdownBg:x,tableFilterDropdownHeight:E,controlItemBgHover:I,controlItemBgActive:R,boxShadowSecondary:T,filterDropdownMenuBg:_,calc:$}=e,D=`${n}-dropdown`,P=`${t}-filter-dropdown`,A=`${n}-tree`,O=`${W(u)} ${d} ${f}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:$(i).mul(-1).equal(),marginInline:`${W(i)} ${W($(v).div(2).mul(-1).equal())}`,padding:`0 ${W(i)}`,color:p,fontSize:g,borderRadius:m,cursor:"pointer",transition:`all ${h}`,"&:hover":{color:y,background:S},"&.active":{color:b}}}},{[`${n}-dropdown`]:{[P]:Object.assign(Object.assign({},Gt(e)),{minWidth:a,backgroundColor:x,borderRadius:m,boxShadow:T,overflow:"hidden",[`${D}-menu`]:{maxHeight:E,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_,"&:empty::after":{display:"block",padding:`${W(s)} 0`,color:w,fontSize:g,textAlign:"center",content:'"Not Found"'}},[`${P}-tree`]:{paddingBlock:`${W(s)} 0`,paddingInline:s,[A]:{padding:0},[`${A}-treenode ${A}-node-content-wrapper:hover`]:{backgroundColor:I},[`${A}-treenode-checkbox-checked ${A}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:R}}},[`${P}-search`]:{padding:s,borderBottom:O,"&-input":{input:{minWidth:o},[r]:{color:w}}},[`${P}-checkall`]:{width:"100%",marginBottom:i,marginInlineStart:i},[`${P}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${W($(s).sub(u).equal())} ${W(s)}`,overflow:"hidden",borderTop:O}})}},{[`${n}-dropdown ${P}, ${P}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Vxe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:a,zIndexTableFixed:o,tableBg:i,zIndexTableSticky:s,calc:c}=e,u=r;return{[`${t}-wrapper`]:{[` ${t}-cell-fix-left, ${t}-cell-fix-right `]:{position:"sticky !important",zIndex:o,background:i},[` @@ -419,11 +419,11 @@ html body { ${t}-cell-fix-left-last::after, ${t}-cell-fix-right-first::after, ${t}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},Wxe=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${W(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Gxe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${W(n)} ${W(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${W(n)} ${W(n)}`}}}}},qxe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},Kxe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:a,padding:o,paddingXS:i,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,tableRowHoverBg:p,tablePaddingHorizontal:g,calc:b}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:b(u).add(a).add(b(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:b(u).add(b(i).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:b(u).add(a).add(b(o).div(4)).add(b(i).mul(2)).equal()}},[` + `]:{boxShadow:"none"}}}}},Wxe=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${W(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Gxe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${W(n)} ${W(n)} 0 0`},[`${t}-title + ${t}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${t}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:n,borderStartEndRadius:n,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:n},"> *:last-child":{borderStartEndRadius:n}}},"&-footer":{borderRadius:`0 0 ${W(n)} ${W(n)}`}}}}},qxe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${t}-pagination-left`]:{justifyContent:"flex-end"},[`${t}-pagination-right`]:{justifyContent:"flex-start"},[`${t}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${t}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${t}-row-indent`]:{float:"right"}}}}},Kxe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:a,padding:o,paddingXS:i,headerIconColor:s,headerIconHoverColor:c,tableSelectionColumnWidth:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,tableRowHoverBg:p,tablePaddingHorizontal:g,calc:v}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:v(u).add(a).add(v(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:v(u).add(v(i).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:v(u).add(a).add(v(o).div(4)).add(v(i).mul(2)).equal()}},[` table tr th${t}-selection-column, table tr td${t}-selection-column, ${t}-selection-column - `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:b(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:W(b(g).div(4).equal()),[r]:{color:s,fontSize:a,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:f}}},[`> ${t}-cell-row-hover`]:{background:p}}}}}},Yxe=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,a=(o,i,s,c)=>({[`${t}${t}-${o}`]:{fontSize:c,[` + `]:{paddingInlineEnd:e.paddingXS,paddingInlineStart:e.paddingXS,textAlign:"center",[`${n}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${t}-selection-column${t}-cell-fix-left`]:{zIndex:v(e.zIndexTableFixed).add(1).equal({unit:!1})},[`table tr th${t}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${t}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${t}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:W(v(g).div(4).equal()),[r]:{color:s,fontSize:a,verticalAlign:"baseline","&:hover":{color:c}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:f}}},[`> ${t}-cell-row-hover`]:{background:p}}}}}},Yxe=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,a=(o,i,s,c)=>({[`${t}${t}-${o}`]:{fontSize:c,[` ${t}-title, ${t}-footer, ${t}-cell, @@ -435,18 +435,18 @@ html body { `]:{padding:`${W(i)} ${W(s)}`},[`${t}-filter-trigger`]:{marginInlineEnd:W(r(s).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${W(r(i).mul(-1).equal())} ${W(r(s).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:W(r(i).mul(-1).equal()),marginInline:`${W(r(n).sub(s).equal())} ${W(r(s).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:W(r(s).div(4).equal())}}});return{[`${t}-wrapper`]:Object.assign(Object.assign({},a("middle",e.tablePaddingVerticalMiddle,e.tablePaddingHorizontalMiddle,e.tableFontSizeMiddle)),a("small",e.tablePaddingVerticalSmall,e.tablePaddingHorizontalSmall,e.tableFontSizeSmall))}},Xxe=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:a,headerIconHoverColor:o}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{background:e.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:e.colorPrimary},[` &${t}-cell-fix-left:hover, &${t}-cell-fix-right:hover - `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},Zxe=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollThumbSize:o,tableScrollBg:i,zIndexTableSticky:s,stickyScrollBarBorderRadius:c,lineWidth:u,lineType:d,tableBorderColor:f}=e,p=`${W(u)} ${d} ${f}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${W(o)} !important`,zIndex:s,display:"flex",alignItems:"center",background:i,borderTop:p,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},zD=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:a}=e,o=`${W(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 ${W(a(n).mul(-1).equal())} 0 ${r}`}}}},Qxe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:a,tableBorderColor:o,calc:i}=e,s=`${W(r)} ${a} ${o}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${W(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:i(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},Jxe=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:a,tableExpandColumnWidth:o,lineWidth:i,lineType:s,tableBorderColor:c,tableFontSize:u,tableBg:d,tableRadius:f,tableHeaderTextColor:p,motionDurationMid:g,tableHeaderBg:b,tableHeaderCellSplitColor:m,tableFooterTextColor:h,tableFooterBg:y,calc:v}=e,S=`${W(i)} ${s} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},Vo()),{[t]:Object.assign(Object.assign({},Gt(e)),{fontSize:u,background:d,borderRadius:`${W(f)} ${W(f)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${W(f)} ${W(f)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` + `]:{background:e.tableFixedHeaderSortActiveBg}},[`${t}-thead th${t}-column-sort`]:{background:e.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${t}-column-sort`]:{background:e.tableBodySortBg},[`${t}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${t}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${t}-column-sorters-tooltip-target-sorter`]:{"&::after":{content:"none"}},[`${t}-column-sorter`]:{marginInlineStart:n,color:a,fontSize:0,transition:`color ${e.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:r,"&.active":{color:e.colorPrimary}},[`${t}-column-sorter-up + ${t}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${t}-column-sorters:hover ${t}-column-sorter`]:{color:o}}}},Zxe=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollThumbSize:o,tableScrollBg:i,zIndexTableSticky:s,stickyScrollBarBorderRadius:c,lineWidth:u,lineType:d,tableBorderColor:f}=e,p=`${W(u)} ${d} ${f}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${W(o)} !important`,zIndex:s,display:"flex",alignItems:"center",background:i,borderTop:p,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:o,backgroundColor:r,borderRadius:c,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},zD=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:a}=e,o=`${W(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:o}}},[`div${t}-summary`]:{boxShadow:`0 ${W(a(n).mul(-1).equal())} 0 ${r}`}}}},Qxe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:a,tableBorderColor:o,calc:i}=e,s=`${W(r)} ${a} ${o}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-row:not(tr)`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${c}${c}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${W(r)})`,borderInlineEnd:"none"}}},[`${t}-bordered`]:{[`${t}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:s,position:"absolute"},[`${t}-cell`]:{borderInlineEnd:s,[`&${t}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:i(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},Jxe=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:a,tableExpandColumnWidth:o,lineWidth:i,lineType:s,tableBorderColor:c,tableFontSize:u,tableBg:d,tableRadius:f,tableHeaderTextColor:p,motionDurationMid:g,tableHeaderBg:v,tableHeaderCellSplitColor:m,tableFooterTextColor:h,tableFooterBg:y,calc:b}=e,S=`${W(i)} ${s} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},Vo()),{[t]:Object.assign(Object.assign({},Gt(e)),{fontSize:u,background:d,borderRadius:`${W(f)} ${W(f)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${W(f)} ${W(f)} 0 0`,borderCollapse:"separate",borderSpacing:0},[` ${t}-cell, ${t}-thead > tr > th, ${t}-tbody > tr > th, ${t}-tbody > tr > td, tfoot > tr > th, tfoot > tr > td - `]:{position:"relative",padding:`${W(r)} ${W(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${W(r)} ${W(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:b,borderBottom:S,transition:`background ${g} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:m,transform:"translateY(-50%)",transition:`background-color ${g}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${g}, border-color ${g}`,borderBottom:S,[` + `]:{position:"relative",padding:`${W(r)} ${W(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${W(r)} ${W(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:v,borderBottom:S,transition:`background ${g} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${t}-selection-column):not(${t}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:m,transform:"translateY(-50%)",transition:`background-color ${g}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${g}, border-color ${g}`,borderBottom:S,[` > ${t}-wrapper:only-child, > ${t}-expanded-row-fixed > ${t}-wrapper:only-child - `]:{[t]:{marginBlock:W(v(r).mul(-1).equal()),marginInline:`${W(v(o).sub(a).equal())} - ${W(v(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:b,borderBottom:S,transition:`background ${g} ease`}}},[`${t}-footer`]:{padding:`${W(r)} ${W(a)}`,color:h,background:y}})}},eEe=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:a,colorFillContent:o,controlItemBgActive:i,controlItemBgActiveHover:s,padding:c,paddingSM:u,paddingXS:d,colorBorderSecondary:f,borderRadiusLG:p,controlHeight:g,colorTextPlaceholder:b,fontSize:m,fontSizeSM:h,lineHeight:y,lineWidth:v,colorIcon:S,colorIconHover:w,opacityLoading:x,controlInteractiveSize:E}=e,I=new on(a).onBackground(n).toHexShortString(),R=new on(o).onBackground(n).toHexShortString(),T=new on(t).onBackground(n).toHexShortString(),_=new on(S),$=new on(w),D=E/2-v,P=D*2+v*3;return{headerBg:T,headerColor:r,headerSortActiveBg:I,headerSortHoverBg:R,bodySortBg:T,rowHoverBg:T,rowSelectedBg:i,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:f,headerBorderRadius:p,footerBg:T,footerColor:r,cellFontSize:m,cellFontSizeMD:m,cellFontSizeSM:m,headerSplitColor:f,fixedHeaderSortActiveBg:I,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:g,stickyScrollBarBg:b,stickyScrollBarBorderRadius:100,expandIconMarginTop:(m*y-v*3)/2-Math.ceil((h*1.4-v*3)/2),headerIconColor:_.clone().setAlpha(_.getAlpha()*x).toRgbString(),headerIconHoverColor:$.clone().setAlpha($.getAlpha()*x).toRgbString(),expandIconHalfInner:D,expandIconSize:P,expandIconScale:E/P}},HD=2,tEe=Kt("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:a,headerBg:o,headerColor:i,headerSortActiveBg:s,headerSortHoverBg:c,bodySortBg:u,rowHoverBg:d,rowSelectedBg:f,rowSelectedHoverBg:p,rowExpandedBg:g,cellPaddingBlock:b,cellPaddingInline:m,cellPaddingBlockMD:h,cellPaddingInlineMD:y,cellPaddingBlockSM:v,cellPaddingInlineSM:S,borderColor:w,footerBg:x,footerColor:E,headerBorderRadius:I,cellFontSize:R,cellFontSizeMD:T,cellFontSizeSM:_,headerSplitColor:$,fixedHeaderSortActiveBg:D,headerFilterHoverBg:P,filterDropdownBg:A,expandIconBg:O,selectionColumnWidth:N,stickyScrollBarBg:k,calc:M}=e,L=Pt(e,{tableFontSize:R,tableBg:r,tableRadius:I,tablePaddingVertical:b,tablePaddingHorizontal:m,tablePaddingVerticalMiddle:h,tablePaddingHorizontalMiddle:y,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:S,tableBorderColor:w,tableHeaderTextColor:i,tableHeaderBg:o,tableFooterTextColor:E,tableFooterBg:x,tableHeaderCellSplitColor:$,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:u,tableFixedHeaderSortActiveBg:D,tableHeaderFilterActiveBg:P,tableFilterDropdownBg:A,tableRowHoverBg:d,tableSelectedRowBg:f,tableSelectedRowHoverBg:p,zIndexTableFixed:HD,zIndexTableSticky:M(HD).add(1).equal({unit:!1}),tableFontSizeMiddle:T,tableFontSizeSmall:_,tableSelectionColumnWidth:N,tableExpandIconBg:O,tableExpandColumnWidth:M(a).add(M(e.padding).mul(2)).equal(),tableExpandedRowBg:g,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:k,tableScrollThumbBgHover:t,tableScrollBg:n});return[Jxe(L),Wxe(L),zD(L),Xxe(L),Uxe(L),jxe(L),Gxe(L),Hxe(L),zD(L),zxe(L),Kxe(L),Vxe(L),Zxe(L),Bxe(L),Yxe(L),qxe(L),Qxe(L)]},eEe,{unitless:{expandIconScale:!0}}),nEe=[],rEe=(e,t)=>{var n,r;const{prefixCls:a,className:o,rootClassName:i,style:s,size:c,bordered:u,dropdownPrefixCls:d,dataSource:f,pagination:p,rowSelection:g,rowKey:b="key",rowClassName:m,columns:h,children:y,childrenColumnName:v,onChange:S,getPopupContainer:w,loading:x,expandIcon:E,expandable:I,expandedRowRender:R,expandIconColumnIndex:T,indentSize:_,scroll:$,sortDirections:D,locale:P,showSorterTooltip:A={target:"full-header"},virtual:O}=e;Xs();const N=l.useMemo(()=>h||Z$(y),[h,y]),k=l.useMemo(()=>N.some(dt=>dt.responsive),[N]),M=Wb(k),L=l.useMemo(()=>{const dt=new Set(Object.keys(M).filter(it=>M[it]));return N.filter(it=>!it.responsive||it.responsive.some(Qe=>dt.has(Qe)))},[N,M]),F=gn(e,["className","style","columns"]),{locale:j=ci,direction:B,table:z,renderEmpty:H,getPrefixCls:U,getPopupContainer:Z}=l.useContext(ot),q=cr(c),Y=Object.assign(Object.assign({},j.Table),P),te=f||nEe,ee=U("table",a),X=U("dropdown",d),[,ie]=Mr(),re=Vn(ee),[G,Q,ae]=tEe(ee,re),oe=Object.assign(Object.assign({childrenColumnName:v,expandIconColumnIndex:T},I),{expandIcon:(n=I==null?void 0:I.expandIcon)!==null&&n!==void 0?n:(r=z==null?void 0:z.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:de="children"}=oe,ve=l.useMemo(()=>te.some(dt=>dt==null?void 0:dt[de])?"nest":R||I!=null&&I.expandedRowRender?"row":null,[te]),ye={body:l.useRef()},ge=txe(ee),J=l.useRef(null),ce=l.useRef(null);JCe(t,()=>Object.assign(Object.assign({},ce.current),{nativeElement:J.current}));const ue=l.useMemo(()=>typeof b=="function"?b:dt=>dt==null?void 0:dt[b],[b]),[fe]=Oxe(te,de,ue),pe={},xe=function(dt,it){let Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var st,St,et,Ie;const we=Object.assign(Object.assign({},pe),dt);Qe&&((st=pe.resetPagination)===null||st===void 0||st.call(pe),!((St=we.pagination)===null||St===void 0)&&St.current&&(we.pagination.current=1),p&&((et=p.onChange)===null||et===void 0||et.call(p,1,(Ie=we.pagination)===null||Ie===void 0?void 0:Ie.pageSize))),$&&$.scrollToFirstRowOnChange!==!1&&ye.body.current&&Ore(0,{getContainer:()=>ye.body.current}),S==null||S(we.pagination,we.filters,we.sorter,{currentDataSource:GT(KT(te,we.sorterStates,de),we.filterStates,de),action:it})},Te=(dt,it)=>{xe({sorter:dt,sorterStates:it},"sort",!1)},[Pe,ke,Ue,Be]=Dxe({prefixCls:ee,mergedColumns:L,onSorterChange:Te,sortDirections:D||["ascend","descend"],tableLocale:Y,showSorterTooltip:A}),De=l.useMemo(()=>KT(te,ke,de),[te,ke]);pe.sorter=Be(),pe.sorterStates=ke;const Se=(dt,it)=>{xe({filters:dt,filterStates:it},"filter",!0)},[_e,Ce,Re]=$xe({prefixCls:ee,locale:Y,dropdownPrefixCls:X,mergedColumns:L,onFilterChange:Se,getPopupContainer:w||Z,rootClassName:ne(i,re)}),he=GT(De,Ce,de);pe.filters=Re,pe.filterStates=Ce;const Ee=l.useMemo(()=>{const dt={};return Object.keys(Re).forEach(it=>{Re[it]!==null&&(dt[it]=Re[it])}),Object.assign(Object.assign({},Ue),{filters:dt})},[Ue,Re]),[je]=Pxe(Ee),Ae=(dt,it)=>{xe({pagination:Object.assign(Object.assign({},pe.pagination),{current:dt,pageSize:it})},"paginate")},[Ne,ze]=Axe(he.length,Ae,p);pe.pagination=p===!1?{}:kxe(Ne,p),pe.resetPagination=ze;const qe=l.useMemo(()=>{if(p===!1||!Ne.pageSize)return he;const{current:dt=1,total:it,pageSize:Qe=yG}=Ne;return he.lengthQe?he.slice((dt-1)*Qe,dt*Qe):he:he.slice((dt-1)*Qe,dt*Qe)},[!!p,he,Ne==null?void 0:Ne.current,Ne==null?void 0:Ne.pageSize,Ne==null?void 0:Ne.total]),[Le,Ke]=ZCe({prefixCls:ee,data:he,pageData:qe,getRowKey:ue,getRecordByKey:fe,expandType:ve,childrenColumnName:de,locale:Y,getPopupContainer:w||Z},g),Je=(dt,it,Qe)=>{let st;return typeof m=="function"?st=ne(m(dt,it,Qe)):st=ne(m),ne({[`${ee}-row-selected`]:Ke.has(ue(dt,it))},st)};oe.__PARENT_RENDER_ICON__=oe.expandIcon,oe.expandIcon=oe.expandIcon||E||exe(Y),ve==="nest"&&oe.expandIconColumnIndex===void 0?oe.expandIconColumnIndex=g?1:0:oe.expandIconColumnIndex>0&&g&&(oe.expandIconColumnIndex-=1),typeof oe.indentSize!="number"&&(oe.indentSize=typeof _=="number"?_:15);const Xe=l.useCallback(dt=>je(Le(_e(Pe(dt)))),[Pe,_e,Le]);let ut,pt;if(p!==!1&&(Ne!=null&&Ne.total)){let dt;Ne.size?dt=Ne.size:dt=q==="small"||q==="middle"?"small":void 0;const it=St=>l.createElement(B$,Object.assign({},Ne,{className:ne(`${ee}-pagination ${ee}-pagination-${St}`,Ne.className),size:dt})),Qe=B==="rtl"?"left":"right",{position:st}=Ne;if(st!==null&&Array.isArray(st)){const St=st.find(we=>we.includes("top")),et=st.find(we=>we.includes("bottom")),Ie=st.every(we=>`${we}`=="none");!St&&!et&&!Ie&&(pt=it(Qe)),St&&(ut=it(St.toLowerCase().replace("top",""))),et&&(pt=it(et.toLowerCase().replace("bottom","")))}else pt=it(Qe)}let We;typeof x=="boolean"?We={spinning:x}:typeof x=="object"&&(We=Object.assign({spinning:!0},x));const Ze=ne(ae,re,`${ee}-wrapper`,z==null?void 0:z.className,{[`${ee}-wrapper-rtl`]:B==="rtl"},o,i,Q),Ye=Object.assign(Object.assign({},z==null?void 0:z.style),s),at=typeof(P==null?void 0:P.emptyText)<"u"?P.emptyText:(H==null?void 0:H("Table"))||l.createElement(Hb,{componentName:"Table"}),wt=O?Fxe:Lxe,Ct={},Ot=l.useMemo(()=>{const{fontSize:dt,lineHeight:it,padding:Qe,paddingXS:st,paddingSM:St}=ie,et=Math.floor(dt*it);switch(q){case"large":return Qe*2+et;case"small":return st*2+et;default:return St*2+et}},[ie,q]);return O&&(Ct.listItemHeight=Ot),G(l.createElement("div",{ref:J,className:Ze,style:Ye},l.createElement(z$,Object.assign({spinning:!1},We),ut,l.createElement(wt,Object.assign({},Ct,F,{ref:ce,columns:L,direction:B,expandable:oe,prefixCls:ee,className:ne({[`${ee}-middle`]:q==="middle",[`${ee}-small`]:q==="small",[`${ee}-bordered`]:u,[`${ee}-empty`]:te.length===0},ae,re,Q),data:qe,rowKey:ue,rowClassName:Je,emptyText:at,internalHooks:Sg,internalRefs:ye,transformColumns:Xe,getContainerWidth:ge})),pt)))},aEe=l.forwardRef(rEe),oEe=(e,t)=>{const n=l.useRef(0);return n.current+=1,l.createElement(aEe,Object.assign({},e,{ref:t,_renderTimes:n.current}))},es=l.forwardRef(oEe);es.SELECTION_COLUMN=ls;es.EXPAND_COLUMN=ds;es.SELECTION_ALL=zT;es.SELECTION_INVERT=HT;es.SELECTION_NONE=UT;es.Column=BCe;es.ColumnGroup=zCe;es.Summary=qW;const iEe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:o}=e,i=o(r).sub(n).equal(),s=o(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},Gt(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},rO=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return Pt(e,{tagFontSize:a,tagLineHeight:W(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},aO=e=>({defaultBg:new on(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),CG=Kt("Tag",e=>{const t=rO(e);return iEe(t)},aO);var sEe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,style:r,className:a,checked:o,onChange:i,onClick:s}=e,c=sEe(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=l.useContext(ot),f=y=>{i==null||i(!o),s==null||s(y)},p=u("tag",n),[g,b,m]=CG(p),h=ne(p,`${p}-checkable`,{[`${p}-checkable-checked`]:o},d==null?void 0:d.className,a,b,m);return g(l.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:h,onClick:f})))}),cEe=e=>n9(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:o,darkColor:i}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),uEe=Ju(["Tag","preset"],e=>{const t=rO(e);return cEe(t)},aO);function dEe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const $m=(e,t,n)=>{const r=dEe(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},fEe=Ju(["Tag","status"],e=>{const t=rO(e);return[$m(t,"success","Success"),$m(t,"processing","Info"),$m(t,"error","Error"),$m(t,"warning","Warning")]},aO);var pEe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,className:r,rootClassName:a,style:o,children:i,icon:s,color:c,onClose:u,bordered:d=!0,visible:f}=e,p=pEe(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:g,direction:b,tag:m}=l.useContext(ot),[h,y]=l.useState(!0),v=gn(p,["closeIcon","closable"]);l.useEffect(()=>{f!==void 0&&y(f)},[f]);const S=eU(c),w=jce(c),x=S||w,E=Object.assign(Object.assign({backgroundColor:c&&!x?c:void 0},m==null?void 0:m.style),o),I=g("tag",n),[R,T,_]=CG(I),$=ne(I,m==null?void 0:m.className,{[`${I}-${c}`]:x,[`${I}-has-color`]:c&&!x,[`${I}-hidden`]:!h,[`${I}-rtl`]:b==="rtl",[`${I}-borderless`]:!d},r,a,T,_),D=M=>{M.stopPropagation(),u==null||u(M),!M.defaultPrevented&&y(!1)},[,P]=Q_(Lu(e),Lu(m),{closable:!1,closeIconRender:M=>{const L=l.createElement("span",{className:`${I}-close-icon`,onClick:D},M);return U_(M,L,F=>({onClick:j=>{var B;(B=F==null?void 0:F.onClick)===null||B===void 0||B.call(F,j),D(j)},className:ne(F==null?void 0:F.className,`${I}-close-icon`)}))}}),A=typeof p.onClick=="function"||i&&i.type==="a",O=s||null,N=O?l.createElement(l.Fragment,null,O,i&&l.createElement("span",null,i)):i,k=l.createElement("span",Object.assign({},v,{ref:t,className:$,style:E}),N,P,S&&l.createElement(uEe,{key:"preset",prefixCls:I}),w&&l.createElement(fEe,{key:"status",prefixCls:I}));return R(A?l.createElement(tg,{component:"Tag"},k):k)}),Ov=gEe;Ov.CheckableTag=lEe;const mEe=e=>{const t=e!=null&&e.algorithm?fp(e.algorithm):fp(Zp),n=Object.assign(Object.assign({},Du),e==null?void 0:e.token);return y7(n,{override:e==null?void 0:e.token},t,F_)};function hEe(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const vEe=(e,t)=>{const n=t??Zp(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),hEe(t??e)),q7(r)),{controlHeight:a}),G7(Object.assign(Object.assign({},n),{controlHeight:a})))},Ci=(e,t)=>new on(e).setAlpha(t).toRgbString(),Pc=(e,t)=>new on(e).lighten(t).toHexString(),bEe=e=>{const t=Wl(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},yEe=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Ci(r,.85),colorTextSecondary:Ci(r,.65),colorTextTertiary:Ci(r,.45),colorTextQuaternary:Ci(r,.25),colorFill:Ci(r,.18),colorFillSecondary:Ci(r,.12),colorFillTertiary:Ci(r,.08),colorFillQuaternary:Ci(r,.04),colorBgElevated:Pc(n,12),colorBgContainer:Pc(n,8),colorBgLayout:Pc(n,0),colorBgSpotlight:Pc(n,26),colorBgBlur:Ci(r,.04),colorBorder:Pc(n,26),colorBorderSecondary:Pc(n,19)}},SEe=(e,t)=>{const n=Object.keys(D_).map(a=>{const o=Wl(e[a],{theme:"dark"});return new Array(10).fill(1).reduce((i,s,c)=>(i[`${a}-${c+1}`]=o[c],i[`${a}${c+1}`]=o[c],i),{})}).reduce((a,o)=>(a=Object.assign(Object.assign({},a),o),a),{}),r=t??Zp(e);return Object.assign(Object.assign(Object.assign({},r),n),W7(e,{generateColorPalettes:bEe,generateNeutralColorPalettes:yEe}))};function wEe(){const[e,t,n]=Mr();return{theme:e,token:t,hashId:n}}const hi={defaultConfig:gp,defaultSeed:gp.token,useToken:wEe,defaultAlgorithm:Zp,darkAlgorithm:SEe,compactAlgorithm:vEe,getDesignToken:mEe};var CEe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=d=>{const{keyCode:f}=d;f===Me.ENTER&&d.preventDefault()},r=d=>{const{keyCode:f}=d,{onClick:p}=e;f===Me.ENTER&&p&&p()},{style:a,noStyle:o,disabled:i,tabIndex:s=0}=e,c=CEe(e,["style","noStyle","disabled","tabIndex"]);let u={};return o||(u=Object.assign({},xEe)),i&&(u.pointerEvents="none"),u=Object.assign(Object.assign({},u),a),l.createElement("div",Object.assign({role:"button",tabIndex:s,ref:t},c,{onKeyDown:n,onKeyUp:r,style:u}))}),EEe=function(e){var t=l.useRef({valueLabels:new Map});return l.useMemo(function(){var n=t.current.valueLabels,r=new Map,a=e.map(function(o){var i,s=o.value,c=(i=o.label)!==null&&i!==void 0?i:n.get(s);return r.set(s,c),K(K({},o),{},{label:c})});return t.current.valueLabels=r,[a]},[e])},IEe=function(e,t,n,r){return l.useMemo(function(){var a=e.map(function(c){var u=c.value;return u}),o=t.map(function(c){var u=c.value;return u}),i=a.filter(function(c){return!r[c]});if(n){var s=ji(a,!0,r);a=s.checkedKeys,o=s.halfCheckedKeys}return[Array.from(new Set([].concat($e(i),$e(a)))),o]},[e,t,n,r])};function TEe(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function REe(e){var t=e||{},n=t.label,r=t.value,a=t.children,o=r||"value";return{_title:n?[n]:["title","label"],value:o,key:o,children:a||"children"}}function XT(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function _Ee(e,t){var n=[];function r(a){a.forEach(function(o){var i=o[t.children];i&&(n.push(o[t.value]),r(i))})}return r(e),n}function UD(e){return e==null}const $Ee=function(e,t){return l.useMemo(function(){var n=s0(e,{fieldNames:t,initWrapper:function(a){return K(K({},a),{},{valueEntities:new Map})},processEntity:function(a,o){var i=a.node[t.value];o.valueEntities.set(i,a)}});return n},[e,t])};var oO=function(){return null},OEe=["children","value"];function xG(e){return or(e).map(function(t){if(!l.isValidElement(t)||!t.type)return null;var n=t,r=n.key,a=n.props,o=a.children,i=a.value,s=vt(a,OEe),c=K({key:r,value:i},s),u=xG(o);return u.length&&(c.children=u),c}).filter(function(t){return t})}function ZT(e){if(!e)return e;var t=K({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return cn(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function NEe(e,t,n,r,a,o){var i=null,s=null;function c(){function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d.map(function(g,b){var m="".concat(f,"-").concat(b),h=g[o.value],y=n.includes(h),v=u(g[o.children]||[],m,y),S=l.createElement(oO,g,v.map(function(x){return x.node}));if(t===h&&(i=S),y){var w={pos:m,node:S,children:v};return p||s.push(w),w}return null}).filter(function(g){return g})}s||(s=[],u(r),s.sort(function(d,f){var p=d.node.props.value,g=f.node.props.value,b=n.indexOf(p),m=n.indexOf(g);return b-m}))}Object.defineProperty(e,"triggerNode",{get:function(){return cn(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),c(),i}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return cn(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),c(),a?s:s.map(function(d){var f=d.node;return f})}})}const kEe=function(e,t,n){var r=n.treeNodeFilterProp,a=n.filterTreeNode,o=n.fieldNames,i=o.children;return l.useMemo(function(){if(!t||a===!1)return e;var s;if(typeof a=="function")s=a;else{var c=t.toUpperCase();s=function(f,p){var g=p[r];return String(g).toUpperCase().includes(c)}}function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.reduce(function(p,g){var b=g[i],m=f||s(t,ZT(g)),h=u(b||[],m);return(m||h.length)&&p.push(K(K({},g),{},V({isLeaf:void 0},i,h))),p},[])}return u(e)},[e,t,i,r,a])};function VD(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function AEe(e,t){var n=t.id,r=t.pId,a=t.rootPId,o={},i=[],s=e.map(function(c){var u=K({},c),d=u[n];return o[d]=u,u.key=u.key||d,u});return s.forEach(function(c){var u=c[r],d=o[u];d&&(d.children=d.children||[],d.children.push(c)),(u===a||!d&&a===null)&&i.push(c)}),i}function MEe(e,t,n){return l.useMemo(function(){return e?n?AEe(e,K({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:xG(t)},[t,n,e])}var EG=l.createContext(null),IG=l.createContext(null),DEe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},PEe=function(t,n){var r=IH(),a=r.prefixCls,o=r.multiple,i=r.searchValue,s=r.toggleOpen,c=r.open,u=r.notFoundContent,d=l.useContext(IG),f=d.virtual,p=d.listHeight,g=d.listItemHeight,b=d.listItemScrollOffset,m=d.treeData,h=d.fieldNames,y=d.onSelect,v=d.dropdownMatchSelectWidth,S=d.treeExpandAction,w=d.treeTitleRender,x=d.onPopupScroll,E=l.useContext(EG),I=E.checkable,R=E.checkedKeys,T=E.halfCheckedKeys,_=E.treeExpandedKeys,$=E.treeDefaultExpandAll,D=E.treeDefaultExpandedKeys,P=E.onTreeExpand,A=E.treeIcon,O=E.showTreeIcon,N=E.switcherIcon,k=E.treeLine,M=E.treeNodeFilterProp,L=E.loadData,F=E.treeLoadedKeys,j=E.treeMotion,B=E.onTreeLoad,z=E.keyEntities,H=l.useRef(),U=Ys(function(){return m},[c,m],function(xe,Te){return Te[0]&&xe[1]!==Te[1]}),Z=l.useState(null),q=se(Z,2),Y=q[0],te=q[1],ee=z[Y],X=l.useMemo(function(){return I?{checked:R,halfChecked:T}:null},[I,R,T]);l.useEffect(function(){if(c&&!o&&R.length){var xe;(xe=H.current)===null||xe===void 0||xe.scrollTo({key:R[0]}),te(R[0])}},[c]);var ie=String(i).toLowerCase(),re=function(Te){return ie?String(Te[M]).toLowerCase().includes(ie):!1},G=l.useState(D),Q=se(G,2),ae=Q[0],oe=Q[1],de=l.useState(null),ve=se(de,2),ye=ve[0],ge=ve[1],J=l.useMemo(function(){return _?$e(_):i?ye:ae},[ae,ye,_,i]);l.useEffect(function(){i&&ge(_Ee(m,h))},[i]);var ce=function(Te){oe(Te),ge(Te),P&&P(Te)},ue=function(Te){Te.preventDefault()},fe=function(Te,Pe){var ke=Pe.node;I&&XT(ke)||(y(ke.key,{selected:!R.includes(ke.key)}),o||s(!1))};if(l.useImperativeHandle(n,function(){var xe;return{scrollTo:(xe=H.current)===null||xe===void 0?void 0:xe.scrollTo,onKeyDown:function(Pe){var ke,Ue=Pe.which;switch(Ue){case Me.UP:case Me.DOWN:case Me.LEFT:case Me.RIGHT:(ke=H.current)===null||ke===void 0||ke.onKeyDown(Pe);break;case Me.ENTER:{if(ee){var Be=(ee==null?void 0:ee.node)||{},De=Be.selectable,Se=Be.value;De!==!1&&fe(null,{node:{key:Y},selected:!R.includes(Se)})}break}case Me.ESC:s(!1)}},onKeyUp:function(){}}}),U.length===0)return l.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:ue},u);var pe={fieldNames:h};return F&&(pe.loadedKeys=F),J&&(pe.expandedKeys=J),l.createElement("div",{onMouseDown:ue},ee&&c&&l.createElement("span",{style:DEe,"aria-live":"assertive"},ee.node.value),l.createElement(y0,be({ref:H,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:U,height:p,itemHeight:g,itemScrollOffset:b,virtual:f!==!1&&v!==!1,multiple:o,icon:A,showIcon:O,switcherIcon:N,showLine:k,loadData:i?null:L,motion:j,activeKey:Y,checkable:I,checkStrictly:!0,checkedKeys:X,selectedKeys:I?[]:R,defaultExpandAll:$,titleRender:w},pe,{onActiveChange:te,onSelect:fe,onCheck:fe,onExpand:ce,onLoad:B,filterTreeNode:re,expandAction:S,onScroll:x})))},LEe=l.forwardRef(PEe),iO="SHOW_ALL",sO="SHOW_PARENT",S0="SHOW_CHILD";function WD(e,t,n,r){var a=new Set(e);return t===S0?e.filter(function(o){var i=n[o];return!(i&&i.children&&i.children.some(function(s){var c=s.node;return a.has(c[r.value])})&&i.children.every(function(s){var c=s.node;return XT(c)||a.has(c[r.value])}))}):t===sO?e.filter(function(o){var i=n[o],s=i?i.parent:null;return!(s&&!XT(s.node)&&a.has(s.key))}):e}var FEe=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function jEe(e){return!e||ft(e)!=="object"}var BEe=l.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tree-select":r,o=e.value,i=e.defaultValue,s=e.onChange,c=e.onSelect,u=e.onDeselect,d=e.searchValue,f=e.inputValue,p=e.onSearch,g=e.autoClearSearchValue,b=g===void 0?!0:g,m=e.filterTreeNode,h=e.treeNodeFilterProp,y=h===void 0?"value":h,v=e.showCheckedStrategy,S=e.treeNodeLabelProp,w=e.multiple,x=e.treeCheckable,E=e.treeCheckStrictly,I=e.labelInValue,R=e.fieldNames,T=e.treeDataSimpleMode,_=e.treeData,$=e.children,D=e.loadData,P=e.treeLoadedKeys,A=e.onTreeLoad,O=e.treeDefaultExpandAll,N=e.treeExpandedKeys,k=e.treeDefaultExpandedKeys,M=e.onTreeExpand,L=e.treeExpandAction,F=e.virtual,j=e.listHeight,B=j===void 0?200:j,z=e.listItemHeight,H=z===void 0?20:z,U=e.listItemScrollOffset,Z=U===void 0?0:U,q=e.onDropdownVisibleChange,Y=e.dropdownMatchSelectWidth,te=Y===void 0?!0:Y,ee=e.treeLine,X=e.treeIcon,ie=e.showTreeIcon,re=e.switcherIcon,G=e.treeMotion,Q=e.treeTitleRender,ae=e.onPopupScroll,oe=vt(e,FEe),de=LH(n),ve=x&&!E,ye=x||E,ge=E||I,J=ye||w,ce=Qt(i,{value:o}),ue=se(ce,2),fe=ue[0],pe=ue[1],xe=l.useMemo(function(){return x?v||S0:iO},[v,x]),Te=l.useMemo(function(){return REe(R)},[JSON.stringify(R)]),Pe=Qt("",{value:d!==void 0?d:f,postState:function(Ie){return Ie||""}}),ke=se(Pe,2),Ue=ke[0],Be=ke[1],De=function(Ie){Be(Ie),p==null||p(Ie)},Se=MEe(_,$,T),_e=$Ee(Se,Te),Ce=_e.keyEntities,Re=_e.valueEntities,he=l.useCallback(function(et){var Ie=[],we=[];return et.forEach(function(Oe){Re.has(Oe)?we.push(Oe):Ie.push(Oe)}),{missingRawValues:Ie,existRawValues:we}},[Re]),Ee=kEe(Se,Ue,{fieldNames:Te,treeNodeFilterProp:y,filterTreeNode:m}),je=l.useCallback(function(et){if(et){if(S)return et[S];for(var Ie=Te._title,we=0;we{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,a=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${W(e.paddingXS)} ${W(e.calc(e.paddingXS).div(2).equal())}`},dG(n,Pt(e,{colorBgContainer:r})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},O$(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function HEe(e,t,n){return Kt("TreeSelect",r=>{const a=Pt(r,{treePrefixCls:t});return[zEe(a)]},fG)(e,n)}var UEe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,size:a,disabled:o,bordered:i=!0,className:s,rootClassName:c,treeCheckable:u,multiple:d,listHeight:f=256,listItemHeight:p=26,placement:g,notFoundContent:b,switcherIcon:m,treeLine:h,getPopupContainer:y,popupClassName:v,dropdownClassName:S,treeIcon:w=!1,transitionName:x,choiceTransitionName:E="",status:I,treeExpandAction:R,builtinPlacements:T,dropdownMatchSelectWidth:_,popupMatchSelectWidth:$,allowClear:D,variant:P,dropdownStyle:A,tagRender:O}=e,N=UEe(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:k,getPrefixCls:M,renderEmpty:L,direction:F,virtual:j,popupMatchSelectWidth:B,popupOverflow:z}=l.useContext(ot),H=M(),U=M("select",r),Z=M("select-tree",r),q=M("tree-select",r),{compactSize:Y,compactItemClassnames:te}=Ji(U,F),ee=Vn(U),X=Vn(q),[ie,re,G]=GH(U,ee),[Q]=HEe(q,Z,X),[ae,oe]=sc("treeSelect",P,i),de=ne(v||S,`${q}-dropdown`,{[`${q}-dropdown-rtl`]:F==="rtl"},c,G,ee,X,re),ve=!!(u||d),ye=qH(e.suffixIcon,e.showArrow),ge=(n=$??_)!==null&&n!==void 0?n:B,{status:J,hasFeedback:ce,isFormItemInput:ue,feedbackIcon:fe}=l.useContext(Er),pe=Js(J,I),{suffixIcon:xe,removeIcon:Te,clearIcon:Pe}=o$(Object.assign(Object.assign({},N),{multiple:ve,showSuffixIcon:ye,hasFeedback:ce,feedbackIcon:fe,prefixCls:U,componentName:"TreeSelect"})),ke=D===!0?{clearIcon:Pe}:D;let Ue;b!==void 0?Ue=b:Ue=(L==null?void 0:L("Select"))||l.createElement(Hb,{componentName:"Select"});const Be=gn(N,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),De=l.useMemo(()=>g!==void 0?g:F==="rtl"?"bottomRight":"bottomLeft",[g,F]),Se=cr(Ae=>{var Ne;return(Ne=a??Y)!==null&&Ne!==void 0?Ne:Ae}),_e=l.useContext(Vr),Ce=o??_e,Re=ne(!r&&q,{[`${U}-lg`]:Se==="large",[`${U}-sm`]:Se==="small",[`${U}-rtl`]:F==="rtl",[`${U}-${ae}`]:oe,[`${U}-in-form-item`]:ue},Ki(U,pe,ce),te,s,c,G,ee,X,re),he=Ae=>l.createElement(pG,{prefixCls:Z,switcherIcon:m,treeNodeProps:Ae,showLine:h}),[Ee]=Qi("SelectLike",A==null?void 0:A.zIndex),je=l.createElement(wg,Object.assign({virtual:j,disabled:Ce},Be,{dropdownMatchSelectWidth:ge,builtinPlacements:zH(T,z),ref:t,prefixCls:U,className:Re,listHeight:f,listItemHeight:p,treeCheckable:u&&l.createElement("span",{className:`${U}-tree-checkbox-inner`}),treeLine:!!h,suffixIcon:xe,multiple:ve,placement:De,removeIcon:Te,allowClear:ke,switcherIcon:he,showTreeIcon:w,notFoundContent:Ue,getPopupContainer:y||k,treeMotion:null,dropdownClassName:de,dropdownStyle:Object.assign(Object.assign({},A),{zIndex:Ee}),choiceTransitionName:bo(H,"",E),transitionName:bo(H,"slide-up",x),treeExpandAction:R,tagRender:ve?O:void 0}));return ie(Q(je))},WEe=l.forwardRef(VEe),fc=WEe,GEe=lg(fc);fc.TreeNode=oO;fc.SHOW_ALL=iO;fc.SHOW_PARENT=sO;fc.SHOW_CHILD=S0;fc._InternalPanelDoNotUseOrYouWillBeFired=GEe;const qEe=(e,t,n,r)=>{const{titleMarginBottom:a,fontWeightStrong:o}=r;return{marginBottom:a,color:n,fontWeight:o,fontSize:e,lineHeight:t}},KEe=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` + `]:{[t]:{marginBlock:W(b(r).mul(-1).equal()),marginInline:`${W(b(o).sub(a).equal())} + ${W(b(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:v,borderBottom:S,transition:`background ${g} ease`}}},[`${t}-footer`]:{padding:`${W(r)} ${W(a)}`,color:h,background:y}})}},eEe=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:a,colorFillContent:o,controlItemBgActive:i,controlItemBgActiveHover:s,padding:c,paddingSM:u,paddingXS:d,colorBorderSecondary:f,borderRadiusLG:p,controlHeight:g,colorTextPlaceholder:v,fontSize:m,fontSizeSM:h,lineHeight:y,lineWidth:b,colorIcon:S,colorIconHover:w,opacityLoading:x,controlInteractiveSize:E}=e,I=new on(a).onBackground(n).toHexShortString(),R=new on(o).onBackground(n).toHexShortString(),T=new on(t).onBackground(n).toHexShortString(),_=new on(S),$=new on(w),D=E/2-b,P=D*2+b*3;return{headerBg:T,headerColor:r,headerSortActiveBg:I,headerSortHoverBg:R,bodySortBg:T,rowHoverBg:T,rowSelectedBg:i,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:f,headerBorderRadius:p,footerBg:T,footerColor:r,cellFontSize:m,cellFontSizeMD:m,cellFontSizeSM:m,headerSplitColor:f,fixedHeaderSortActiveBg:I,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:g,stickyScrollBarBg:v,stickyScrollBarBorderRadius:100,expandIconMarginTop:(m*y-b*3)/2-Math.ceil((h*1.4-b*3)/2),headerIconColor:_.clone().setAlpha(_.getAlpha()*x).toRgbString(),headerIconHoverColor:$.clone().setAlpha($.getAlpha()*x).toRgbString(),expandIconHalfInner:D,expandIconSize:P,expandIconScale:E/P}},HD=2,tEe=Kt("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:a,headerBg:o,headerColor:i,headerSortActiveBg:s,headerSortHoverBg:c,bodySortBg:u,rowHoverBg:d,rowSelectedBg:f,rowSelectedHoverBg:p,rowExpandedBg:g,cellPaddingBlock:v,cellPaddingInline:m,cellPaddingBlockMD:h,cellPaddingInlineMD:y,cellPaddingBlockSM:b,cellPaddingInlineSM:S,borderColor:w,footerBg:x,footerColor:E,headerBorderRadius:I,cellFontSize:R,cellFontSizeMD:T,cellFontSizeSM:_,headerSplitColor:$,fixedHeaderSortActiveBg:D,headerFilterHoverBg:P,filterDropdownBg:A,expandIconBg:O,selectionColumnWidth:N,stickyScrollBarBg:k,calc:M}=e,L=Pt(e,{tableFontSize:R,tableBg:r,tableRadius:I,tablePaddingVertical:v,tablePaddingHorizontal:m,tablePaddingVerticalMiddle:h,tablePaddingHorizontalMiddle:y,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:S,tableBorderColor:w,tableHeaderTextColor:i,tableHeaderBg:o,tableFooterTextColor:E,tableFooterBg:x,tableHeaderCellSplitColor:$,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:u,tableFixedHeaderSortActiveBg:D,tableHeaderFilterActiveBg:P,tableFilterDropdownBg:A,tableRowHoverBg:d,tableSelectedRowBg:f,tableSelectedRowHoverBg:p,zIndexTableFixed:HD,zIndexTableSticky:M(HD).add(1).equal({unit:!1}),tableFontSizeMiddle:T,tableFontSizeSmall:_,tableSelectionColumnWidth:N,tableExpandIconBg:O,tableExpandColumnWidth:M(a).add(M(e.padding).mul(2)).equal(),tableExpandedRowBg:g,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:k,tableScrollThumbBgHover:t,tableScrollBg:n});return[Jxe(L),Wxe(L),zD(L),Xxe(L),Uxe(L),jxe(L),Gxe(L),Hxe(L),zD(L),zxe(L),Kxe(L),Vxe(L),Zxe(L),Bxe(L),Yxe(L),qxe(L),Qxe(L)]},eEe,{unitless:{expandIconScale:!0}}),nEe=[],rEe=(e,t)=>{var n,r;const{prefixCls:a,className:o,rootClassName:i,style:s,size:c,bordered:u,dropdownPrefixCls:d,dataSource:f,pagination:p,rowSelection:g,rowKey:v="key",rowClassName:m,columns:h,children:y,childrenColumnName:b,onChange:S,getPopupContainer:w,loading:x,expandIcon:E,expandable:I,expandedRowRender:R,expandIconColumnIndex:T,indentSize:_,scroll:$,sortDirections:D,locale:P,showSorterTooltip:A={target:"full-header"},virtual:O}=e;Xs();const N=l.useMemo(()=>h||Z$(y),[h,y]),k=l.useMemo(()=>N.some(dt=>dt.responsive),[N]),M=Wb(k),L=l.useMemo(()=>{const dt=new Set(Object.keys(M).filter(it=>M[it]));return N.filter(it=>!it.responsive||it.responsive.some(Qe=>dt.has(Qe)))},[N,M]),F=gn(e,["className","style","columns"]),{locale:j=ci,direction:B,table:z,renderEmpty:H,getPrefixCls:U,getPopupContainer:Z}=l.useContext(ot),q=cr(c),Y=Object.assign(Object.assign({},j.Table),P),ee=f||nEe,te=U("table",a),X=U("dropdown",d),[,ie]=Mr(),re=Vn(te),[G,Q,ae]=tEe(te,re),oe=Object.assign(Object.assign({childrenColumnName:b,expandIconColumnIndex:T},I),{expandIcon:(n=I==null?void 0:I.expandIcon)!==null&&n!==void 0?n:(r=z==null?void 0:z.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:de="children"}=oe,ve=l.useMemo(()=>ee.some(dt=>dt==null?void 0:dt[de])?"nest":R||I!=null&&I.expandedRowRender?"row":null,[ee]),ye={body:l.useRef()},ge=txe(te),J=l.useRef(null),ce=l.useRef(null);JCe(t,()=>Object.assign(Object.assign({},ce.current),{nativeElement:J.current}));const ue=l.useMemo(()=>typeof v=="function"?v:dt=>dt==null?void 0:dt[v],[v]),[fe]=Oxe(ee,de,ue),pe={},xe=function(dt,it){let Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var st,St,et,Ie;const we=Object.assign(Object.assign({},pe),dt);Qe&&((st=pe.resetPagination)===null||st===void 0||st.call(pe),!((St=we.pagination)===null||St===void 0)&&St.current&&(we.pagination.current=1),p&&((et=p.onChange)===null||et===void 0||et.call(p,1,(Ie=we.pagination)===null||Ie===void 0?void 0:Ie.pageSize))),$&&$.scrollToFirstRowOnChange!==!1&&ye.body.current&&Ore(0,{getContainer:()=>ye.body.current}),S==null||S(we.pagination,we.filters,we.sorter,{currentDataSource:GT(KT(ee,we.sorterStates,de),we.filterStates,de),action:it})},Te=(dt,it)=>{xe({sorter:dt,sorterStates:it},"sort",!1)},[Pe,ke,Ue,Be]=Dxe({prefixCls:te,mergedColumns:L,onSorterChange:Te,sortDirections:D||["ascend","descend"],tableLocale:Y,showSorterTooltip:A}),De=l.useMemo(()=>KT(ee,ke,de),[ee,ke]);pe.sorter=Be(),pe.sorterStates=ke;const Se=(dt,it)=>{xe({filters:dt,filterStates:it},"filter",!0)},[_e,Ce,Re]=$xe({prefixCls:te,locale:Y,dropdownPrefixCls:X,mergedColumns:L,onFilterChange:Se,getPopupContainer:w||Z,rootClassName:ne(i,re)}),he=GT(De,Ce,de);pe.filters=Re,pe.filterStates=Ce;const Ee=l.useMemo(()=>{const dt={};return Object.keys(Re).forEach(it=>{Re[it]!==null&&(dt[it]=Re[it])}),Object.assign(Object.assign({},Ue),{filters:dt})},[Ue,Re]),[je]=Pxe(Ee),Ae=(dt,it)=>{xe({pagination:Object.assign(Object.assign({},pe.pagination),{current:dt,pageSize:it})},"paginate")},[Ne,ze]=Axe(he.length,Ae,p);pe.pagination=p===!1?{}:kxe(Ne,p),pe.resetPagination=ze;const qe=l.useMemo(()=>{if(p===!1||!Ne.pageSize)return he;const{current:dt=1,total:it,pageSize:Qe=yG}=Ne;return he.lengthQe?he.slice((dt-1)*Qe,dt*Qe):he:he.slice((dt-1)*Qe,dt*Qe)},[!!p,he,Ne==null?void 0:Ne.current,Ne==null?void 0:Ne.pageSize,Ne==null?void 0:Ne.total]),[Le,Ke]=ZCe({prefixCls:te,data:he,pageData:qe,getRowKey:ue,getRecordByKey:fe,expandType:ve,childrenColumnName:de,locale:Y,getPopupContainer:w||Z},g),Je=(dt,it,Qe)=>{let st;return typeof m=="function"?st=ne(m(dt,it,Qe)):st=ne(m),ne({[`${te}-row-selected`]:Ke.has(ue(dt,it))},st)};oe.__PARENT_RENDER_ICON__=oe.expandIcon,oe.expandIcon=oe.expandIcon||E||exe(Y),ve==="nest"&&oe.expandIconColumnIndex===void 0?oe.expandIconColumnIndex=g?1:0:oe.expandIconColumnIndex>0&&g&&(oe.expandIconColumnIndex-=1),typeof oe.indentSize!="number"&&(oe.indentSize=typeof _=="number"?_:15);const Xe=l.useCallback(dt=>je(Le(_e(Pe(dt)))),[Pe,_e,Le]);let ut,pt;if(p!==!1&&(Ne!=null&&Ne.total)){let dt;Ne.size?dt=Ne.size:dt=q==="small"||q==="middle"?"small":void 0;const it=St=>l.createElement(B$,Object.assign({},Ne,{className:ne(`${te}-pagination ${te}-pagination-${St}`,Ne.className),size:dt})),Qe=B==="rtl"?"left":"right",{position:st}=Ne;if(st!==null&&Array.isArray(st)){const St=st.find(we=>we.includes("top")),et=st.find(we=>we.includes("bottom")),Ie=st.every(we=>`${we}`=="none");!St&&!et&&!Ie&&(pt=it(Qe)),St&&(ut=it(St.toLowerCase().replace("top",""))),et&&(pt=it(et.toLowerCase().replace("bottom","")))}else pt=it(Qe)}let We;typeof x=="boolean"?We={spinning:x}:typeof x=="object"&&(We=Object.assign({spinning:!0},x));const Ze=ne(ae,re,`${te}-wrapper`,z==null?void 0:z.className,{[`${te}-wrapper-rtl`]:B==="rtl"},o,i,Q),Ye=Object.assign(Object.assign({},z==null?void 0:z.style),s),at=typeof(P==null?void 0:P.emptyText)<"u"?P.emptyText:(H==null?void 0:H("Table"))||l.createElement(Hb,{componentName:"Table"}),wt=O?Fxe:Lxe,Ct={},Ot=l.useMemo(()=>{const{fontSize:dt,lineHeight:it,padding:Qe,paddingXS:st,paddingSM:St}=ie,et=Math.floor(dt*it);switch(q){case"large":return Qe*2+et;case"small":return st*2+et;default:return St*2+et}},[ie,q]);return O&&(Ct.listItemHeight=Ot),G(l.createElement("div",{ref:J,className:Ze,style:Ye},l.createElement(z$,Object.assign({spinning:!1},We),ut,l.createElement(wt,Object.assign({},Ct,F,{ref:ce,columns:L,direction:B,expandable:oe,prefixCls:te,className:ne({[`${te}-middle`]:q==="middle",[`${te}-small`]:q==="small",[`${te}-bordered`]:u,[`${te}-empty`]:ee.length===0},ae,re,Q),data:qe,rowKey:ue,rowClassName:Je,emptyText:at,internalHooks:Sg,internalRefs:ye,transformColumns:Xe,getContainerWidth:ge})),pt)))},aEe=l.forwardRef(rEe),oEe=(e,t)=>{const n=l.useRef(0);return n.current+=1,l.createElement(aEe,Object.assign({},e,{ref:t,_renderTimes:n.current}))},es=l.forwardRef(oEe);es.SELECTION_COLUMN=ls;es.EXPAND_COLUMN=ds;es.SELECTION_ALL=zT;es.SELECTION_INVERT=HT;es.SELECTION_NONE=UT;es.Column=BCe;es.ColumnGroup=zCe;es.Summary=qW;const iEe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:o}=e,i=o(r).sub(n).equal(),s=o(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},Gt(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${W(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:i}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},rO=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return Pt(e,{tagFontSize:a,tagLineHeight:W(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},aO=e=>({defaultBg:new on(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),CG=Kt("Tag",e=>{const t=rO(e);return iEe(t)},aO);var sEe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,style:r,className:a,checked:o,onChange:i,onClick:s}=e,c=sEe(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=l.useContext(ot),f=y=>{i==null||i(!o),s==null||s(y)},p=u("tag",n),[g,v,m]=CG(p),h=ne(p,`${p}-checkable`,{[`${p}-checkable-checked`]:o},d==null?void 0:d.className,a,v,m);return g(l.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:h,onClick:f})))}),cEe=e=>n9(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:o,darkColor:i}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:i,borderColor:i},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),uEe=Ju(["Tag","preset"],e=>{const t=rO(e);return cEe(t)},aO);function dEe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const $m=(e,t,n)=>{const r=dEe(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},fEe=Ju(["Tag","status"],e=>{const t=rO(e);return[$m(t,"success","Success"),$m(t,"processing","Info"),$m(t,"error","Error"),$m(t,"warning","Warning")]},aO);var pEe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,className:r,rootClassName:a,style:o,children:i,icon:s,color:c,onClose:u,bordered:d=!0,visible:f}=e,p=pEe(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:g,direction:v,tag:m}=l.useContext(ot),[h,y]=l.useState(!0),b=gn(p,["closeIcon","closable"]);l.useEffect(()=>{f!==void 0&&y(f)},[f]);const S=eU(c),w=jce(c),x=S||w,E=Object.assign(Object.assign({backgroundColor:c&&!x?c:void 0},m==null?void 0:m.style),o),I=g("tag",n),[R,T,_]=CG(I),$=ne(I,m==null?void 0:m.className,{[`${I}-${c}`]:x,[`${I}-has-color`]:c&&!x,[`${I}-hidden`]:!h,[`${I}-rtl`]:v==="rtl",[`${I}-borderless`]:!d},r,a,T,_),D=M=>{M.stopPropagation(),u==null||u(M),!M.defaultPrevented&&y(!1)},[,P]=Q_(Lu(e),Lu(m),{closable:!1,closeIconRender:M=>{const L=l.createElement("span",{className:`${I}-close-icon`,onClick:D},M);return U_(M,L,F=>({onClick:j=>{var B;(B=F==null?void 0:F.onClick)===null||B===void 0||B.call(F,j),D(j)},className:ne(F==null?void 0:F.className,`${I}-close-icon`)}))}}),A=typeof p.onClick=="function"||i&&i.type==="a",O=s||null,N=O?l.createElement(l.Fragment,null,O,i&&l.createElement("span",null,i)):i,k=l.createElement("span",Object.assign({},b,{ref:t,className:$,style:E}),N,P,S&&l.createElement(uEe,{key:"preset",prefixCls:I}),w&&l.createElement(fEe,{key:"status",prefixCls:I}));return R(A?l.createElement(tg,{component:"Tag"},k):k)}),Ov=gEe;Ov.CheckableTag=lEe;const mEe=e=>{const t=e!=null&&e.algorithm?fp(e.algorithm):fp(Zp),n=Object.assign(Object.assign({},Du),e==null?void 0:e.token);return y7(n,{override:e==null?void 0:e.token},t,F_)};function hEe(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const vEe=(e,t)=>{const n=t??Zp(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),hEe(t??e)),q7(r)),{controlHeight:a}),G7(Object.assign(Object.assign({},n),{controlHeight:a})))},Ci=(e,t)=>new on(e).setAlpha(t).toRgbString(),Pc=(e,t)=>new on(e).lighten(t).toHexString(),bEe=e=>{const t=Wl(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},yEe=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Ci(r,.85),colorTextSecondary:Ci(r,.65),colorTextTertiary:Ci(r,.45),colorTextQuaternary:Ci(r,.25),colorFill:Ci(r,.18),colorFillSecondary:Ci(r,.12),colorFillTertiary:Ci(r,.08),colorFillQuaternary:Ci(r,.04),colorBgElevated:Pc(n,12),colorBgContainer:Pc(n,8),colorBgLayout:Pc(n,0),colorBgSpotlight:Pc(n,26),colorBgBlur:Ci(r,.04),colorBorder:Pc(n,26),colorBorderSecondary:Pc(n,19)}},SEe=(e,t)=>{const n=Object.keys(D_).map(a=>{const o=Wl(e[a],{theme:"dark"});return new Array(10).fill(1).reduce((i,s,c)=>(i[`${a}-${c+1}`]=o[c],i[`${a}${c+1}`]=o[c],i),{})}).reduce((a,o)=>(a=Object.assign(Object.assign({},a),o),a),{}),r=t??Zp(e);return Object.assign(Object.assign(Object.assign({},r),n),W7(e,{generateColorPalettes:bEe,generateNeutralColorPalettes:yEe}))};function wEe(){const[e,t,n]=Mr();return{theme:e,token:t,hashId:n}}const hi={defaultConfig:gp,defaultSeed:gp.token,useToken:wEe,defaultAlgorithm:Zp,darkAlgorithm:SEe,compactAlgorithm:vEe,getDesignToken:mEe};var CEe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const n=d=>{const{keyCode:f}=d;f===Me.ENTER&&d.preventDefault()},r=d=>{const{keyCode:f}=d,{onClick:p}=e;f===Me.ENTER&&p&&p()},{style:a,noStyle:o,disabled:i,tabIndex:s=0}=e,c=CEe(e,["style","noStyle","disabled","tabIndex"]);let u={};return o||(u=Object.assign({},xEe)),i&&(u.pointerEvents="none"),u=Object.assign(Object.assign({},u),a),l.createElement("div",Object.assign({role:"button",tabIndex:s,ref:t},c,{onKeyDown:n,onKeyUp:r,style:u}))}),EEe=function(e){var t=l.useRef({valueLabels:new Map});return l.useMemo(function(){var n=t.current.valueLabels,r=new Map,a=e.map(function(o){var i,s=o.value,c=(i=o.label)!==null&&i!==void 0?i:n.get(s);return r.set(s,c),K(K({},o),{},{label:c})});return t.current.valueLabels=r,[a]},[e])},IEe=function(e,t,n,r){return l.useMemo(function(){var a=e.map(function(c){var u=c.value;return u}),o=t.map(function(c){var u=c.value;return u}),i=a.filter(function(c){return!r[c]});if(n){var s=ji(a,!0,r);a=s.checkedKeys,o=s.halfCheckedKeys}return[Array.from(new Set([].concat($e(i),$e(a)))),o]},[e,t,n,r])};function TEe(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function REe(e){var t=e||{},n=t.label,r=t.value,a=t.children,o=r||"value";return{_title:n?[n]:["title","label"],value:o,key:o,children:a||"children"}}function XT(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function _Ee(e,t){var n=[];function r(a){a.forEach(function(o){var i=o[t.children];i&&(n.push(o[t.value]),r(i))})}return r(e),n}function UD(e){return e==null}const $Ee=function(e,t){return l.useMemo(function(){var n=s0(e,{fieldNames:t,initWrapper:function(a){return K(K({},a),{},{valueEntities:new Map})},processEntity:function(a,o){var i=a.node[t.value];o.valueEntities.set(i,a)}});return n},[e,t])};var oO=function(){return null},OEe=["children","value"];function xG(e){return or(e).map(function(t){if(!l.isValidElement(t)||!t.type)return null;var n=t,r=n.key,a=n.props,o=a.children,i=a.value,s=vt(a,OEe),c=K({key:r,value:i},s),u=xG(o);return u.length&&(c.children=u),c}).filter(function(t){return t})}function ZT(e){if(!e)return e;var t=K({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return cn(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function NEe(e,t,n,r,a,o){var i=null,s=null;function c(){function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d.map(function(g,v){var m="".concat(f,"-").concat(v),h=g[o.value],y=n.includes(h),b=u(g[o.children]||[],m,y),S=l.createElement(oO,g,b.map(function(x){return x.node}));if(t===h&&(i=S),y){var w={pos:m,node:S,children:b};return p||s.push(w),w}return null}).filter(function(g){return g})}s||(s=[],u(r),s.sort(function(d,f){var p=d.node.props.value,g=f.node.props.value,v=n.indexOf(p),m=n.indexOf(g);return v-m}))}Object.defineProperty(e,"triggerNode",{get:function(){return cn(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),c(),i}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return cn(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),c(),a?s:s.map(function(d){var f=d.node;return f})}})}const kEe=function(e,t,n){var r=n.treeNodeFilterProp,a=n.filterTreeNode,o=n.fieldNames,i=o.children;return l.useMemo(function(){if(!t||a===!1)return e;var s;if(typeof a=="function")s=a;else{var c=t.toUpperCase();s=function(f,p){var g=p[r];return String(g).toUpperCase().includes(c)}}function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.reduce(function(p,g){var v=g[i],m=f||s(t,ZT(g)),h=u(v||[],m);return(m||h.length)&&p.push(K(K({},g),{},V({isLeaf:void 0},i,h))),p},[])}return u(e)},[e,t,i,r,a])};function VD(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function AEe(e,t){var n=t.id,r=t.pId,a=t.rootPId,o={},i=[],s=e.map(function(c){var u=K({},c),d=u[n];return o[d]=u,u.key=u.key||d,u});return s.forEach(function(c){var u=c[r],d=o[u];d&&(d.children=d.children||[],d.children.push(c)),(u===a||!d&&a===null)&&i.push(c)}),i}function MEe(e,t,n){return l.useMemo(function(){return e?n?AEe(e,K({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:xG(t)},[t,n,e])}var EG=l.createContext(null),IG=l.createContext(null),DEe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},PEe=function(t,n){var r=IH(),a=r.prefixCls,o=r.multiple,i=r.searchValue,s=r.toggleOpen,c=r.open,u=r.notFoundContent,d=l.useContext(IG),f=d.virtual,p=d.listHeight,g=d.listItemHeight,v=d.listItemScrollOffset,m=d.treeData,h=d.fieldNames,y=d.onSelect,b=d.dropdownMatchSelectWidth,S=d.treeExpandAction,w=d.treeTitleRender,x=d.onPopupScroll,E=l.useContext(EG),I=E.checkable,R=E.checkedKeys,T=E.halfCheckedKeys,_=E.treeExpandedKeys,$=E.treeDefaultExpandAll,D=E.treeDefaultExpandedKeys,P=E.onTreeExpand,A=E.treeIcon,O=E.showTreeIcon,N=E.switcherIcon,k=E.treeLine,M=E.treeNodeFilterProp,L=E.loadData,F=E.treeLoadedKeys,j=E.treeMotion,B=E.onTreeLoad,z=E.keyEntities,H=l.useRef(),U=Ys(function(){return m},[c,m],function(xe,Te){return Te[0]&&xe[1]!==Te[1]}),Z=l.useState(null),q=se(Z,2),Y=q[0],ee=q[1],te=z[Y],X=l.useMemo(function(){return I?{checked:R,halfChecked:T}:null},[I,R,T]);l.useEffect(function(){if(c&&!o&&R.length){var xe;(xe=H.current)===null||xe===void 0||xe.scrollTo({key:R[0]}),ee(R[0])}},[c]);var ie=String(i).toLowerCase(),re=function(Te){return ie?String(Te[M]).toLowerCase().includes(ie):!1},G=l.useState(D),Q=se(G,2),ae=Q[0],oe=Q[1],de=l.useState(null),ve=se(de,2),ye=ve[0],ge=ve[1],J=l.useMemo(function(){return _?$e(_):i?ye:ae},[ae,ye,_,i]);l.useEffect(function(){i&&ge(_Ee(m,h))},[i]);var ce=function(Te){oe(Te),ge(Te),P&&P(Te)},ue=function(Te){Te.preventDefault()},fe=function(Te,Pe){var ke=Pe.node;I&&XT(ke)||(y(ke.key,{selected:!R.includes(ke.key)}),o||s(!1))};if(l.useImperativeHandle(n,function(){var xe;return{scrollTo:(xe=H.current)===null||xe===void 0?void 0:xe.scrollTo,onKeyDown:function(Pe){var ke,Ue=Pe.which;switch(Ue){case Me.UP:case Me.DOWN:case Me.LEFT:case Me.RIGHT:(ke=H.current)===null||ke===void 0||ke.onKeyDown(Pe);break;case Me.ENTER:{if(te){var Be=(te==null?void 0:te.node)||{},De=Be.selectable,Se=Be.value;De!==!1&&fe(null,{node:{key:Y},selected:!R.includes(Se)})}break}case Me.ESC:s(!1)}},onKeyUp:function(){}}}),U.length===0)return l.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:ue},u);var pe={fieldNames:h};return F&&(pe.loadedKeys=F),J&&(pe.expandedKeys=J),l.createElement("div",{onMouseDown:ue},te&&c&&l.createElement("span",{style:DEe,"aria-live":"assertive"},te.node.value),l.createElement(y0,be({ref:H,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:U,height:p,itemHeight:g,itemScrollOffset:v,virtual:f!==!1&&b!==!1,multiple:o,icon:A,showIcon:O,switcherIcon:N,showLine:k,loadData:i?null:L,motion:j,activeKey:Y,checkable:I,checkStrictly:!0,checkedKeys:X,selectedKeys:I?[]:R,defaultExpandAll:$,titleRender:w},pe,{onActiveChange:ee,onSelect:fe,onCheck:fe,onExpand:ce,onLoad:B,filterTreeNode:re,expandAction:S,onScroll:x})))},LEe=l.forwardRef(PEe),iO="SHOW_ALL",sO="SHOW_PARENT",S0="SHOW_CHILD";function WD(e,t,n,r){var a=new Set(e);return t===S0?e.filter(function(o){var i=n[o];return!(i&&i.children&&i.children.some(function(s){var c=s.node;return a.has(c[r.value])})&&i.children.every(function(s){var c=s.node;return XT(c)||a.has(c[r.value])}))}):t===sO?e.filter(function(o){var i=n[o],s=i?i.parent:null;return!(s&&!XT(s.node)&&a.has(s.key))}):e}var FEe=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function jEe(e){return!e||ft(e)!=="object"}var BEe=l.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tree-select":r,o=e.value,i=e.defaultValue,s=e.onChange,c=e.onSelect,u=e.onDeselect,d=e.searchValue,f=e.inputValue,p=e.onSearch,g=e.autoClearSearchValue,v=g===void 0?!0:g,m=e.filterTreeNode,h=e.treeNodeFilterProp,y=h===void 0?"value":h,b=e.showCheckedStrategy,S=e.treeNodeLabelProp,w=e.multiple,x=e.treeCheckable,E=e.treeCheckStrictly,I=e.labelInValue,R=e.fieldNames,T=e.treeDataSimpleMode,_=e.treeData,$=e.children,D=e.loadData,P=e.treeLoadedKeys,A=e.onTreeLoad,O=e.treeDefaultExpandAll,N=e.treeExpandedKeys,k=e.treeDefaultExpandedKeys,M=e.onTreeExpand,L=e.treeExpandAction,F=e.virtual,j=e.listHeight,B=j===void 0?200:j,z=e.listItemHeight,H=z===void 0?20:z,U=e.listItemScrollOffset,Z=U===void 0?0:U,q=e.onDropdownVisibleChange,Y=e.dropdownMatchSelectWidth,ee=Y===void 0?!0:Y,te=e.treeLine,X=e.treeIcon,ie=e.showTreeIcon,re=e.switcherIcon,G=e.treeMotion,Q=e.treeTitleRender,ae=e.onPopupScroll,oe=vt(e,FEe),de=LH(n),ve=x&&!E,ye=x||E,ge=E||I,J=ye||w,ce=Qt(i,{value:o}),ue=se(ce,2),fe=ue[0],pe=ue[1],xe=l.useMemo(function(){return x?b||S0:iO},[b,x]),Te=l.useMemo(function(){return REe(R)},[JSON.stringify(R)]),Pe=Qt("",{value:d!==void 0?d:f,postState:function(Ie){return Ie||""}}),ke=se(Pe,2),Ue=ke[0],Be=ke[1],De=function(Ie){Be(Ie),p==null||p(Ie)},Se=MEe(_,$,T),_e=$Ee(Se,Te),Ce=_e.keyEntities,Re=_e.valueEntities,he=l.useCallback(function(et){var Ie=[],we=[];return et.forEach(function(Oe){Re.has(Oe)?we.push(Oe):Ie.push(Oe)}),{missingRawValues:Ie,existRawValues:we}},[Re]),Ee=kEe(Se,Ue,{fieldNames:Te,treeNodeFilterProp:y,filterTreeNode:m}),je=l.useCallback(function(et){if(et){if(S)return et[S];for(var Ie=Te._title,we=0;we{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,a=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${W(e.paddingXS)} ${W(e.calc(e.paddingXS).div(2).equal())}`},dG(n,Pt(e,{colorBgContainer:r})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},O$(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function HEe(e,t,n){return Kt("TreeSelect",r=>{const a=Pt(r,{treePrefixCls:t});return[zEe(a)]},fG)(e,n)}var UEe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n;const{prefixCls:r,size:a,disabled:o,bordered:i=!0,className:s,rootClassName:c,treeCheckable:u,multiple:d,listHeight:f=256,listItemHeight:p=26,placement:g,notFoundContent:v,switcherIcon:m,treeLine:h,getPopupContainer:y,popupClassName:b,dropdownClassName:S,treeIcon:w=!1,transitionName:x,choiceTransitionName:E="",status:I,treeExpandAction:R,builtinPlacements:T,dropdownMatchSelectWidth:_,popupMatchSelectWidth:$,allowClear:D,variant:P,dropdownStyle:A,tagRender:O}=e,N=UEe(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender"]),{getPopupContainer:k,getPrefixCls:M,renderEmpty:L,direction:F,virtual:j,popupMatchSelectWidth:B,popupOverflow:z}=l.useContext(ot),H=M(),U=M("select",r),Z=M("select-tree",r),q=M("tree-select",r),{compactSize:Y,compactItemClassnames:ee}=Ji(U,F),te=Vn(U),X=Vn(q),[ie,re,G]=GH(U,te),[Q]=HEe(q,Z,X),[ae,oe]=sc("treeSelect",P,i),de=ne(b||S,`${q}-dropdown`,{[`${q}-dropdown-rtl`]:F==="rtl"},c,G,te,X,re),ve=!!(u||d),ye=qH(e.suffixIcon,e.showArrow),ge=(n=$??_)!==null&&n!==void 0?n:B,{status:J,hasFeedback:ce,isFormItemInput:ue,feedbackIcon:fe}=l.useContext(Er),pe=Js(J,I),{suffixIcon:xe,removeIcon:Te,clearIcon:Pe}=o$(Object.assign(Object.assign({},N),{multiple:ve,showSuffixIcon:ye,hasFeedback:ce,feedbackIcon:fe,prefixCls:U,componentName:"TreeSelect"})),ke=D===!0?{clearIcon:Pe}:D;let Ue;v!==void 0?Ue=v:Ue=(L==null?void 0:L("Select"))||l.createElement(Hb,{componentName:"Select"});const Be=gn(N,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),De=l.useMemo(()=>g!==void 0?g:F==="rtl"?"bottomRight":"bottomLeft",[g,F]),Se=cr(Ae=>{var Ne;return(Ne=a??Y)!==null&&Ne!==void 0?Ne:Ae}),_e=l.useContext(Vr),Ce=o??_e,Re=ne(!r&&q,{[`${U}-lg`]:Se==="large",[`${U}-sm`]:Se==="small",[`${U}-rtl`]:F==="rtl",[`${U}-${ae}`]:oe,[`${U}-in-form-item`]:ue},Ki(U,pe,ce),ee,s,c,G,te,X,re),he=Ae=>l.createElement(pG,{prefixCls:Z,switcherIcon:m,treeNodeProps:Ae,showLine:h}),[Ee]=Qi("SelectLike",A==null?void 0:A.zIndex),je=l.createElement(wg,Object.assign({virtual:j,disabled:Ce},Be,{dropdownMatchSelectWidth:ge,builtinPlacements:zH(T,z),ref:t,prefixCls:U,className:Re,listHeight:f,listItemHeight:p,treeCheckable:u&&l.createElement("span",{className:`${U}-tree-checkbox-inner`}),treeLine:!!h,suffixIcon:xe,multiple:ve,placement:De,removeIcon:Te,allowClear:ke,switcherIcon:he,showTreeIcon:w,notFoundContent:Ue,getPopupContainer:y||k,treeMotion:null,dropdownClassName:de,dropdownStyle:Object.assign(Object.assign({},A),{zIndex:Ee}),choiceTransitionName:bo(H,"",E),transitionName:bo(H,"slide-up",x),treeExpandAction:R,tagRender:ve?O:void 0}));return ie(Q(je))},WEe=l.forwardRef(VEe),fc=WEe,GEe=lg(fc);fc.TreeNode=oO;fc.SHOW_ALL=iO;fc.SHOW_PARENT=sO;fc.SHOW_CHILD=S0;fc._InternalPanelDoNotUseOrYouWillBeFired=GEe;const qEe=(e,t,n,r)=>{const{titleMarginBottom:a,fontWeightStrong:o}=r;return{marginBottom:a,color:n,fontWeight:o,fontSize:e,lineHeight:t}},KEe=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` h${r}&, div&-h${r}, div&-h${r} > textarea, @@ -462,7 +462,7 @@ html body { ${t}-collapse, ${t}-edit, ${t}-copy - `]:Object.assign(Object.assign({},j_(e)),{marginInlineStart:e.marginXXS})}),ZEe(e)),QEe(e)),JEe()),{"&-rtl":{direction:"rtl"}})}},t2e=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),TG=Kt("Typography",e=>[e2e(e)],t2e),n2e=e=>{const{prefixCls:t,"aria-label":n,className:r,style:a,direction:o,maxLength:i,autoSize:s=!0,value:c,onSave:u,onCancel:d,onEnd:f,component:p,enterIcon:g=l.createElement(kye,null)}=e,b=l.useRef(null),m=l.useRef(!1),h=l.useRef(),[y,v]=l.useState(c);l.useEffect(()=>{v(c)},[c]),l.useEffect(()=>{var O;if(!((O=b.current)===null||O===void 0)&&O.resizableTextArea){const{textArea:N}=b.current.resizableTextArea;N.focus();const{length:k}=N.value;N.setSelectionRange(k,k)}},[]);const S=O=>{let{target:N}=O;v(N.value.replace(/[\n\r]/g,""))},w=()=>{m.current=!0},x=()=>{m.current=!1},E=O=>{let{keyCode:N}=O;m.current||(h.current=N)},I=()=>{u(y.trim())},R=O=>{let{keyCode:N,ctrlKey:k,altKey:M,metaKey:L,shiftKey:F}=O;h.current===N&&!m.current&&!k&&!M&&!L&&!F&&(N===Me.ENTER?(I(),f==null||f()):N===Me.ESC&&d())},T=()=>{I()},_=p?`${t}-${p}`:"",[$,D,P]=TG(t),A=ne(t,`${t}-edit-content`,{[`${t}-rtl`]:o==="rtl"},r,_,D,P);return $(l.createElement("div",{className:A,style:a},l.createElement(VV,{ref:b,maxLength:i,value:y,onChange:S,onKeyDown:E,onKeyUp:R,onCompositionStart:w,onCompositionEnd:x,onBlur:T,"aria-label":n,rows:1,autoSize:s}),g!==null?lr(g,{className:`${t}-edit-content-confirm`}):null))};var r2e=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=GD[t.format]||GD.default;window.clipboardData.setData(f,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(s),o.selectNodeContents(s),i.addRange(o);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");c=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),r=i2e("message"in t?t.message:o2e),window.prompt(r,e)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(o):i.removeAllRanges()),s&&document.body.removeChild(s),a()}return c}var l2e=s2e;const c2e=fa(l2e);var u2e=function(e,t,n,r){function a(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function s(d){try{u(r.next(d))}catch(f){i(f)}}function c(d){try{u(r.throw(d))}catch(f){i(f)}}function u(d){d.done?o(d.value):a(d.value).then(s,c)}u((r=r.apply(e,t||[])).next())})};const d2e=e=>{let{copyConfig:t,children:n}=e;const[r,a]=l.useState(!1),[o,i]=l.useState(!1),s=l.useRef(null),c=()=>{s.current&&clearTimeout(s.current)},u={};t.format&&(u.format=t.format),l.useEffect(()=>c,[]);const d=Lt(f=>u2e(void 0,void 0,void 0,function*(){var p;f==null||f.preventDefault(),f==null||f.stopPropagation(),i(!0);try{const g=typeof t.text=="function"?yield t.text():t.text;c2e(g||String(n)||"",u),i(!1),a(!0),c(),s.current=setTimeout(()=>{a(!1)},3e3),(p=t.onCopy)===null||p===void 0||p.call(t,f)}catch(g){throw i(!1),g}}));return{copied:r,copyLoading:o,onClick:d}};function _S(e,t){return l.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const f2e=e=>{const t=l.useRef();return l.useEffect(()=>{t.current=e}),t.current},p2e=(e,t)=>{const n=l.useRef(!1);l.useEffect(()=>{n.current?e():n.current=!0},t)};var g2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,component:r="article",className:a,rootClassName:o,setContentRef:i,children:s,direction:c,style:u}=e,d=g2e(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:p,typography:g}=l.useContext(ot),b=c??p;let m=t;i&&(m=Ar(t,i));const h=f("typography",n),[y,v,S]=TG(h),w=ne(h,g==null?void 0:g.className,{[`${h}-rtl`]:b==="rtl"},a,o,v,S),x=Object.assign(Object.assign({},g==null?void 0:g.style),u);return y(l.createElement(r,Object.assign({className:w,style:x,ref:m},d),s))});function qD(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Om(e,t,n){return e===!0||e===void 0?t:e||n&&t}function m2e(e){const t=e.getBoundingClientRect(),{offsetWidth:n,offsetHeight:r}=e;let a=n,o=r;return Math.abs(n-t.width)<1&&Math.abs(r-t.height)<1&&(a=t.width,o=t.height),[a,o]}const h2e=e=>{const{prefixCls:t,copied:n,locale:r,iconOnly:a,tooltips:o,icon:i,loading:s,tabIndex:c,onCopy:u}=e,d=qD(o),f=qD(i),{copied:p,copy:g}=r??{},b=n?Om(d[1],p):Om(d[0],g),h=typeof b=="string"?b:n?p:g;return l.createElement(rn,{key:"copy",title:b},l.createElement(YT,{className:ne(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:a}),onClick:u,"aria-label":h,tabIndex:c},n?Om(f[1],l.createElement(Ub,null),!0):Om(f[0],s?l.createElement(Wi,null):l.createElement(AW,null),!0)))},Nm=l.forwardRef((e,t)=>{let{style:n,children:r}=e;const a=l.useRef(null);return l.useImperativeHandle(t,()=>({isExceed:()=>{const o=a.current;return o.scrollHeight>o.clientHeight},getHeight:()=>a.current.clientHeight})),l.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)});function _G(e){const t=typeof e;return t==="string"||t==="number"}function v2e(e){let t=0;return e.forEach(n=>{_G(n)?t+=String(n).length:t+=1}),t}function KD(e,t){let n=0;const r=[];for(let a=0;at){const u=t-n;return r.push(String(o).slice(0,u)),r}r.push(o),n=c}return e}const $S=0,OS=1,NS=2,kS=3,YD=4,km={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function b2e(e){const{enableMeasure:t,width:n,text:r,children:a,rows:o,expanded:i,miscDeps:s,onEllipsis:c}=e,u=l.useMemo(()=>or(r),[r]),d=l.useMemo(()=>v2e(u),[r]),f=l.useMemo(()=>a(u,!1),[r]),[p,g]=l.useState(null),b=l.useRef(null),m=l.useRef(null),h=l.useRef(null),y=l.useRef(null),v=l.useRef(null),[S,w]=l.useState(!1),[x,E]=l.useState($S),[I,R]=l.useState(0),[T,_]=l.useState(null);zt(()=>{E(t&&n&&d?OS:$S)},[n,r,o,t,u]),zt(()=>{var A,O,N,k;if(x===OS){E(NS);const M=m.current&&getComputedStyle(m.current).whiteSpace;_(M)}else if(x===NS){const M=!!(!((A=h.current)===null||A===void 0)&&A.isExceed());E(M?kS:YD),g(M?[0,d]:null),w(M);const L=((O=h.current)===null||O===void 0?void 0:O.getHeight())||0,F=o===1?0:((N=y.current)===null||N===void 0?void 0:N.getHeight())||0,j=((k=v.current)===null||k===void 0?void 0:k.getHeight())||0,B=F+j,z=Math.max(L,B);R(z+1),c(M)}},[x]);const $=p?Math.ceil((p[0]+p[1])/2):0;zt(()=>{var A;const[O,N]=p||[0,0];if(O!==N){const M=(((A=b.current)===null||A===void 0?void 0:A.getHeight())||0)>I;let L=$;N-O===1&&(L=M?O:N),g(M?[O,L]:[L,N])}},[p,$]);const D=l.useMemo(()=>{if(x!==kS||!p||p[0]!==p[1]){const A=a(u,!1);return x!==YD&&x!==$S?l.createElement("span",{style:Object.assign(Object.assign({},km),{WebkitLineClamp:o})},A):A}return a(i?u:KD(u,p[0]),S)},[i,x,p,u].concat($e(s))),P={width:n,margin:0,padding:0,whiteSpace:T==="nowrap"?"normal":"inherit"};return l.createElement(l.Fragment,null,D,x===NS&&l.createElement(l.Fragment,null,l.createElement(Nm,{style:Object.assign(Object.assign(Object.assign({},P),km),{WebkitLineClamp:o}),ref:h},f),l.createElement(Nm,{style:Object.assign(Object.assign(Object.assign({},P),km),{WebkitLineClamp:o-1}),ref:y},f),l.createElement(Nm,{style:Object.assign(Object.assign(Object.assign({},P),km),{WebkitLineClamp:1}),ref:v},a([],!0))),x===kS&&p&&p[0]!==p[1]&&l.createElement(Nm,{style:Object.assign(Object.assign({},P),{top:400}),ref:b},a(KD(u,$),!0)),x===OS&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:m}))}const y2e=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:a}=e;return!(a!=null&&a.title)||!t?r:l.createElement(rn,Object.assign({open:n?void 0:!1},a),r)};var S2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a;const{prefixCls:o,className:i,style:s,type:c,disabled:u,children:d,ellipsis:f,editable:p,copyable:g,component:b,title:m}=e,h=S2e(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:y,direction:v}=l.useContext(ot),[S]=mi("Text"),w=l.useRef(null),x=l.useRef(null),E=y("typography",o),I=gn(h,["mark","code","delete","underline","strong","keyboard","italic"]),[R,T]=_S(p),[_,$]=Qt(!1,{value:T.editing}),{triggerType:D=["icon"]}=T,P=he=>{var Ee;he&&((Ee=T.onStart)===null||Ee===void 0||Ee.call(T)),$(he)},A=f2e(_);p2e(()=>{var he;!_&&A&&((he=x.current)===null||he===void 0||he.focus())},[_]);const O=he=>{he==null||he.preventDefault(),P(!0)},N=he=>{var Ee;(Ee=T.onChange)===null||Ee===void 0||Ee.call(T,he),P(!1)},k=()=>{var he;(he=T.onCancel)===null||he===void 0||he.call(T),P(!1)},[M,L]=_S(g),{copied:F,copyLoading:j,onClick:B}=d2e({copyConfig:L,children:d}),[z,H]=l.useState(!1),[U,Z]=l.useState(!1),[q,Y]=l.useState(!1),[te,ee]=l.useState(!1),[X,ie]=l.useState(!0),[re,G]=_S(f,{expandable:!1,symbol:he=>he?S==null?void 0:S.collapse:S==null?void 0:S.expand}),[Q,ae]=Qt(G.defaultExpanded||!1,{value:G.expanded}),oe=re&&(!Q||G.expandable==="collapsible"),{rows:de=1}=G,ve=l.useMemo(()=>oe&&(G.suffix!==void 0||G.onEllipsis||G.expandable||R||M),[oe,G,R,M]);zt(()=>{re&&!ve&&(H(bT("webkitLineClamp")),Z(bT("textOverflow")))},[ve,re]);const[ye,ge]=l.useState(oe),J=l.useMemo(()=>ve?!1:de===1?U:z,[ve,U,z]);zt(()=>{ge(J&&oe)},[J,oe]);const ce=oe&&(ye?te:q),ue=oe&&de===1&&ye,fe=oe&&de>1&&ye,pe=(he,Ee)=>{var je;ae(Ee.expanded),(je=G.onExpand)===null||je===void 0||je.call(G,he,Ee)},[xe,Te]=l.useState(0),Pe=he=>{let{offsetWidth:Ee}=he;Te(Ee)},ke=he=>{var Ee;Y(he),q!==he&&((Ee=G.onEllipsis)===null||Ee===void 0||Ee.call(G,he))};l.useEffect(()=>{const he=w.current;if(re&&ye&&he){const[Ee,je]=m2e(he),Ae=fe?je{const he=w.current;if(typeof IntersectionObserver>"u"||!he||!ye||!oe)return;const Ee=new IntersectionObserver(()=>{ie(!!he.offsetParent)});return Ee.observe(he),()=>{Ee.disconnect()}},[ye,oe]);let Ue={};G.tooltip===!0?Ue={title:(n=T.text)!==null&&n!==void 0?n:d}:l.isValidElement(G.tooltip)?Ue={title:G.tooltip}:typeof G.tooltip=="object"?Ue=Object.assign({title:(r=T.text)!==null&&r!==void 0?r:d},G.tooltip):Ue={title:G.tooltip};const Be=l.useMemo(()=>{const he=Ee=>["string","number"].includes(typeof Ee);if(!(!re||ye)){if(he(T.text))return T.text;if(he(d))return d;if(he(m))return m;if(he(Ue.title))return Ue.title}},[re,ye,m,Ue.title,ce]);if(_)return l.createElement(n2e,{value:(a=T.text)!==null&&a!==void 0?a:typeof d=="string"?d:"",onSave:N,onCancel:k,onEnd:T.onEnd,prefixCls:E,className:i,style:s,direction:v,component:b,maxLength:T.maxLength,autoSize:T.autoSize,enterIcon:T.enterIcon});const De=()=>{const{expandable:he,symbol:Ee}=G;return!he||Q&&he!=="collapsible"?null:l.createElement(YT,{key:"expand",className:`${E}-${Q?"collapse":"expand"}`,onClick:je=>pe(je,{expanded:!Q}),"aria-label":Q?S.collapse:S==null?void 0:S.expand},typeof Ee=="function"?Ee(Q):Ee)},Se=()=>{if(!R)return;const{icon:he,tooltip:Ee,tabIndex:je}=T,Ae=or(Ee)[0]||(S==null?void 0:S.edit),Ne=typeof Ae=="string"?Ae:"";return D.includes("icon")?l.createElement(rn,{key:"edit",title:Ee===!1?"":Ae},l.createElement(YT,{ref:x,className:`${E}-edit`,onClick:O,"aria-label":Ne,tabIndex:je},he||l.createElement(m0,{role:"button"}))):null},_e=()=>M?l.createElement(h2e,Object.assign({key:"copy"},L,{prefixCls:E,copied:F,locale:S,onCopy:B,loading:j,iconOnly:d==null})):null,Ce=he=>[he&&De(),Se(),_e()],Re=he=>[he&&!Q&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},C2e),G.suffix,Ce(he)];return l.createElement(zr,{onResize:Pe,disabled:!oe},he=>l.createElement(y2e,{tooltipProps:Ue,enableEllipsis:oe,isEllipsis:ce},l.createElement(RG,Object.assign({className:ne({[`${E}-${c}`]:c,[`${E}-disabled`]:u,[`${E}-ellipsis`]:re,[`${E}-ellipsis-single-line`]:ue,[`${E}-ellipsis-multiple-line`]:fe},i),prefixCls:o,style:Object.assign(Object.assign({},s),{WebkitLineClamp:fe?de:void 0}),component:b,ref:Ar(he,w,t),direction:v,onClick:D.includes("text")?O:void 0,"aria-label":Be==null?void 0:Be.toString(),title:m},I),l.createElement(b2e,{enableMeasure:oe&&!ye,text:d,rows:de,width:xe,onEllipsis:ke,expanded:Q,miscDeps:[F,Q,j,R,M]},(Ee,je)=>w2e(e,l.createElement(l.Fragment,null,Ee.length>0&&je&&!Q&&Be?l.createElement("span",{key:"show-content","aria-hidden":!0},Ee):Ee,Re(je)))))))});var x2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n,rel:r}=e,a=x2e(e,["ellipsis","rel"]);const o=Object.assign(Object.assign({},a),{rel:r===void 0&&a.target==="_blank"?"noopener noreferrer":r});return delete o.navigate,l.createElement(w0,Object.assign({},o,{ref:t,ellipsis:!!n,component:"a"}))}),I2e=l.forwardRef((e,t)=>l.createElement(w0,Object.assign({ref:t},e,{component:"div"})));var T2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n}=e,r=T2e(e,["ellipsis"]);const a=l.useMemo(()=>n&&typeof n=="object"?gn(n,["expandable","rows"]):n,[n]);return l.createElement(w0,Object.assign({ref:t},r,{ellipsis:a,component:"span"}))},_2e=l.forwardRef(R2e);var $2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{level:n=1}=e,r=$2e(e,["level"]);let a;return O2e.includes(n)?a=`h${n}`:a="h1",l.createElement(w0,Object.assign({ref:t},r,{component:a}))}),Bn=RG;Bn.Text=_2e;Bn.Link=E2e;Bn.Title=N2e;Bn.Paragraph=I2e;const AS=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some(function(i){var s=i.trim();if(/^\*(\/\*)?$/.test(i))return!0;if(s.charAt(0)==="."){var c=r.toLowerCase(),u=s.toLowerCase(),d=[u];return(u===".jpg"||u===".jpeg")&&(d=[".jpg",".jpeg"]),d.some(function(f){return c.endsWith(f)})}return/\/\*$/.test(s)?o===s.replace(/\/.*$/,""):a===s?!0:/^\w+$/.test(s)?(cn(!1,"Upload takes an invalidate 'accept' type '".concat(s,"'.Skip for check.")),!0):!1})}return!0};function k2e(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function XD(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function A2e(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(o){o.total>0&&(o.percent=o.loaded/o.total*100),e.onProgress(o)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(a){var o=e.data[a];if(Array.isArray(o)){o.forEach(function(i){n.append("".concat(a,"[]"),i)});return}n.append(a,o)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(o){e.onError(o)},t.onload=function(){return t.status<200||t.status>=300?e.onError(k2e(e,t),XD(t)):e.onSuccess(XD(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(a){r[a]!==null&&t.setRequestHeader(a,r[a])}),t.send(n),{abort:function(){t.abort()}}}var M2e=function(t,n,r){var a=[],o=[];t.forEach(function(u){return o.push(u.webkitGetAsEntry())});function i(u){var d=u.createReader();function f(){d.readEntries(function(p){var g=Array.prototype.slice.apply(p);o.push.apply(o,$e(g));var b=!g.length;b||f()})}f()}var s=function(d,f){d&&(d.path="",d.isFile?d.file(function(p){r(p)&&(d.fullPath&&!p.webkitRelativePath&&(Object.defineProperties(p,{webkitRelativePath:{writable:!0}}),p.webkitRelativePath=d.fullPath.replace(/^\//,""),Object.defineProperties(p,{webkitRelativePath:{writable:!1}})),a.push(p))}):d.isDirectory&&i(d))};function c(){for(var u=0;u{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${W(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${W(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` + `]:Object.assign(Object.assign({},j_(e)),{marginInlineStart:e.marginXXS})}),ZEe(e)),QEe(e)),JEe()),{"&-rtl":{direction:"rtl"}})}},t2e=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),TG=Kt("Typography",e=>[e2e(e)],t2e),n2e=e=>{const{prefixCls:t,"aria-label":n,className:r,style:a,direction:o,maxLength:i,autoSize:s=!0,value:c,onSave:u,onCancel:d,onEnd:f,component:p,enterIcon:g=l.createElement(kye,null)}=e,v=l.useRef(null),m=l.useRef(!1),h=l.useRef(),[y,b]=l.useState(c);l.useEffect(()=>{b(c)},[c]),l.useEffect(()=>{var O;if(!((O=v.current)===null||O===void 0)&&O.resizableTextArea){const{textArea:N}=v.current.resizableTextArea;N.focus();const{length:k}=N.value;N.setSelectionRange(k,k)}},[]);const S=O=>{let{target:N}=O;b(N.value.replace(/[\n\r]/g,""))},w=()=>{m.current=!0},x=()=>{m.current=!1},E=O=>{let{keyCode:N}=O;m.current||(h.current=N)},I=()=>{u(y.trim())},R=O=>{let{keyCode:N,ctrlKey:k,altKey:M,metaKey:L,shiftKey:F}=O;h.current===N&&!m.current&&!k&&!M&&!L&&!F&&(N===Me.ENTER?(I(),f==null||f()):N===Me.ESC&&d())},T=()=>{I()},_=p?`${t}-${p}`:"",[$,D,P]=TG(t),A=ne(t,`${t}-edit-content`,{[`${t}-rtl`]:o==="rtl"},r,_,D,P);return $(l.createElement("div",{className:A,style:a},l.createElement(VV,{ref:v,maxLength:i,value:y,onChange:S,onKeyDown:E,onKeyUp:R,onCompositionStart:w,onCompositionEnd:x,onBlur:T,"aria-label":n,rows:1,autoSize:s}),g!==null?lr(g,{className:`${t}-edit-content-confirm`}):null))};var r2e=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r"u"){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=GD[t.format]||GD.default;window.clipboardData.setData(f,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(s),o.selectNodeContents(s),i.addRange(o);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");c=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),c=!0}catch(f){n&&console.error("unable to copy using clipboardData: ",f),n&&console.error("falling back to prompt"),r=i2e("message"in t?t.message:o2e),window.prompt(r,e)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(o):i.removeAllRanges()),s&&document.body.removeChild(s),a()}return c}var l2e=s2e;const c2e=fa(l2e);var u2e=function(e,t,n,r){function a(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function s(d){try{u(r.next(d))}catch(f){i(f)}}function c(d){try{u(r.throw(d))}catch(f){i(f)}}function u(d){d.done?o(d.value):a(d.value).then(s,c)}u((r=r.apply(e,t||[])).next())})};const d2e=e=>{let{copyConfig:t,children:n}=e;const[r,a]=l.useState(!1),[o,i]=l.useState(!1),s=l.useRef(null),c=()=>{s.current&&clearTimeout(s.current)},u={};t.format&&(u.format=t.format),l.useEffect(()=>c,[]);const d=Lt(f=>u2e(void 0,void 0,void 0,function*(){var p;f==null||f.preventDefault(),f==null||f.stopPropagation(),i(!0);try{const g=typeof t.text=="function"?yield t.text():t.text;c2e(g||String(n)||"",u),i(!1),a(!0),c(),s.current=setTimeout(()=>{a(!1)},3e3),(p=t.onCopy)===null||p===void 0||p.call(t,f)}catch(g){throw i(!1),g}}));return{copied:r,copyLoading:o,onClick:d}};function _S(e,t){return l.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const f2e=e=>{const t=l.useRef();return l.useEffect(()=>{t.current=e}),t.current},p2e=(e,t)=>{const n=l.useRef(!1);l.useEffect(()=>{n.current?e():n.current=!0},t)};var g2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,component:r="article",className:a,rootClassName:o,setContentRef:i,children:s,direction:c,style:u}=e,d=g2e(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:p,typography:g}=l.useContext(ot),v=c??p;let m=t;i&&(m=Ar(t,i));const h=f("typography",n),[y,b,S]=TG(h),w=ne(h,g==null?void 0:g.className,{[`${h}-rtl`]:v==="rtl"},a,o,b,S),x=Object.assign(Object.assign({},g==null?void 0:g.style),u);return y(l.createElement(r,Object.assign({className:w,style:x,ref:m},d),s))});function qD(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Om(e,t,n){return e===!0||e===void 0?t:e||n&&t}function m2e(e){const t=e.getBoundingClientRect(),{offsetWidth:n,offsetHeight:r}=e;let a=n,o=r;return Math.abs(n-t.width)<1&&Math.abs(r-t.height)<1&&(a=t.width,o=t.height),[a,o]}const h2e=e=>{const{prefixCls:t,copied:n,locale:r,iconOnly:a,tooltips:o,icon:i,loading:s,tabIndex:c,onCopy:u}=e,d=qD(o),f=qD(i),{copied:p,copy:g}=r??{},v=n?Om(d[1],p):Om(d[0],g),h=typeof v=="string"?v:n?p:g;return l.createElement(rn,{key:"copy",title:v},l.createElement(YT,{className:ne(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:a}),onClick:u,"aria-label":h,tabIndex:c},n?Om(f[1],l.createElement(Ub,null),!0):Om(f[0],s?l.createElement(Wi,null):l.createElement(AW,null),!0)))},Nm=l.forwardRef((e,t)=>{let{style:n,children:r}=e;const a=l.useRef(null);return l.useImperativeHandle(t,()=>({isExceed:()=>{const o=a.current;return o.scrollHeight>o.clientHeight},getHeight:()=>a.current.clientHeight})),l.createElement("span",{"aria-hidden":!0,ref:a,style:Object.assign({position:"fixed",display:"block",left:0,top:0,pointerEvents:"none",backgroundColor:"rgba(255, 0, 0, 0.65)"},n)},r)});function _G(e){const t=typeof e;return t==="string"||t==="number"}function v2e(e){let t=0;return e.forEach(n=>{_G(n)?t+=String(n).length:t+=1}),t}function KD(e,t){let n=0;const r=[];for(let a=0;at){const u=t-n;return r.push(String(o).slice(0,u)),r}r.push(o),n=c}return e}const $S=0,OS=1,NS=2,kS=3,YD=4,km={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function b2e(e){const{enableMeasure:t,width:n,text:r,children:a,rows:o,expanded:i,miscDeps:s,onEllipsis:c}=e,u=l.useMemo(()=>or(r),[r]),d=l.useMemo(()=>v2e(u),[r]),f=l.useMemo(()=>a(u,!1),[r]),[p,g]=l.useState(null),v=l.useRef(null),m=l.useRef(null),h=l.useRef(null),y=l.useRef(null),b=l.useRef(null),[S,w]=l.useState(!1),[x,E]=l.useState($S),[I,R]=l.useState(0),[T,_]=l.useState(null);zt(()=>{E(t&&n&&d?OS:$S)},[n,r,o,t,u]),zt(()=>{var A,O,N,k;if(x===OS){E(NS);const M=m.current&&getComputedStyle(m.current).whiteSpace;_(M)}else if(x===NS){const M=!!(!((A=h.current)===null||A===void 0)&&A.isExceed());E(M?kS:YD),g(M?[0,d]:null),w(M);const L=((O=h.current)===null||O===void 0?void 0:O.getHeight())||0,F=o===1?0:((N=y.current)===null||N===void 0?void 0:N.getHeight())||0,j=((k=b.current)===null||k===void 0?void 0:k.getHeight())||0,B=F+j,z=Math.max(L,B);R(z+1),c(M)}},[x]);const $=p?Math.ceil((p[0]+p[1])/2):0;zt(()=>{var A;const[O,N]=p||[0,0];if(O!==N){const M=(((A=v.current)===null||A===void 0?void 0:A.getHeight())||0)>I;let L=$;N-O===1&&(L=M?O:N),g(M?[O,L]:[L,N])}},[p,$]);const D=l.useMemo(()=>{if(x!==kS||!p||p[0]!==p[1]){const A=a(u,!1);return x!==YD&&x!==$S?l.createElement("span",{style:Object.assign(Object.assign({},km),{WebkitLineClamp:o})},A):A}return a(i?u:KD(u,p[0]),S)},[i,x,p,u].concat($e(s))),P={width:n,margin:0,padding:0,whiteSpace:T==="nowrap"?"normal":"inherit"};return l.createElement(l.Fragment,null,D,x===NS&&l.createElement(l.Fragment,null,l.createElement(Nm,{style:Object.assign(Object.assign(Object.assign({},P),km),{WebkitLineClamp:o}),ref:h},f),l.createElement(Nm,{style:Object.assign(Object.assign(Object.assign({},P),km),{WebkitLineClamp:o-1}),ref:y},f),l.createElement(Nm,{style:Object.assign(Object.assign(Object.assign({},P),km),{WebkitLineClamp:1}),ref:b},a([],!0))),x===kS&&p&&p[0]!==p[1]&&l.createElement(Nm,{style:Object.assign(Object.assign({},P),{top:400}),ref:v},a(KD(u,$),!0)),x===OS&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:m}))}const y2e=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:a}=e;return!(a!=null&&a.title)||!t?r:l.createElement(rn,Object.assign({open:n?void 0:!1},a),r)};var S2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var n,r,a;const{prefixCls:o,className:i,style:s,type:c,disabled:u,children:d,ellipsis:f,editable:p,copyable:g,component:v,title:m}=e,h=S2e(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:y,direction:b}=l.useContext(ot),[S]=mi("Text"),w=l.useRef(null),x=l.useRef(null),E=y("typography",o),I=gn(h,["mark","code","delete","underline","strong","keyboard","italic"]),[R,T]=_S(p),[_,$]=Qt(!1,{value:T.editing}),{triggerType:D=["icon"]}=T,P=he=>{var Ee;he&&((Ee=T.onStart)===null||Ee===void 0||Ee.call(T)),$(he)},A=f2e(_);p2e(()=>{var he;!_&&A&&((he=x.current)===null||he===void 0||he.focus())},[_]);const O=he=>{he==null||he.preventDefault(),P(!0)},N=he=>{var Ee;(Ee=T.onChange)===null||Ee===void 0||Ee.call(T,he),P(!1)},k=()=>{var he;(he=T.onCancel)===null||he===void 0||he.call(T),P(!1)},[M,L]=_S(g),{copied:F,copyLoading:j,onClick:B}=d2e({copyConfig:L,children:d}),[z,H]=l.useState(!1),[U,Z]=l.useState(!1),[q,Y]=l.useState(!1),[ee,te]=l.useState(!1),[X,ie]=l.useState(!0),[re,G]=_S(f,{expandable:!1,symbol:he=>he?S==null?void 0:S.collapse:S==null?void 0:S.expand}),[Q,ae]=Qt(G.defaultExpanded||!1,{value:G.expanded}),oe=re&&(!Q||G.expandable==="collapsible"),{rows:de=1}=G,ve=l.useMemo(()=>oe&&(G.suffix!==void 0||G.onEllipsis||G.expandable||R||M),[oe,G,R,M]);zt(()=>{re&&!ve&&(H(bT("webkitLineClamp")),Z(bT("textOverflow")))},[ve,re]);const[ye,ge]=l.useState(oe),J=l.useMemo(()=>ve?!1:de===1?U:z,[ve,U,z]);zt(()=>{ge(J&&oe)},[J,oe]);const ce=oe&&(ye?ee:q),ue=oe&&de===1&&ye,fe=oe&&de>1&&ye,pe=(he,Ee)=>{var je;ae(Ee.expanded),(je=G.onExpand)===null||je===void 0||je.call(G,he,Ee)},[xe,Te]=l.useState(0),Pe=he=>{let{offsetWidth:Ee}=he;Te(Ee)},ke=he=>{var Ee;Y(he),q!==he&&((Ee=G.onEllipsis)===null||Ee===void 0||Ee.call(G,he))};l.useEffect(()=>{const he=w.current;if(re&&ye&&he){const[Ee,je]=m2e(he),Ae=fe?je{const he=w.current;if(typeof IntersectionObserver>"u"||!he||!ye||!oe)return;const Ee=new IntersectionObserver(()=>{ie(!!he.offsetParent)});return Ee.observe(he),()=>{Ee.disconnect()}},[ye,oe]);let Ue={};G.tooltip===!0?Ue={title:(n=T.text)!==null&&n!==void 0?n:d}:l.isValidElement(G.tooltip)?Ue={title:G.tooltip}:typeof G.tooltip=="object"?Ue=Object.assign({title:(r=T.text)!==null&&r!==void 0?r:d},G.tooltip):Ue={title:G.tooltip};const Be=l.useMemo(()=>{const he=Ee=>["string","number"].includes(typeof Ee);if(!(!re||ye)){if(he(T.text))return T.text;if(he(d))return d;if(he(m))return m;if(he(Ue.title))return Ue.title}},[re,ye,m,Ue.title,ce]);if(_)return l.createElement(n2e,{value:(a=T.text)!==null&&a!==void 0?a:typeof d=="string"?d:"",onSave:N,onCancel:k,onEnd:T.onEnd,prefixCls:E,className:i,style:s,direction:b,component:v,maxLength:T.maxLength,autoSize:T.autoSize,enterIcon:T.enterIcon});const De=()=>{const{expandable:he,symbol:Ee}=G;return!he||Q&&he!=="collapsible"?null:l.createElement(YT,{key:"expand",className:`${E}-${Q?"collapse":"expand"}`,onClick:je=>pe(je,{expanded:!Q}),"aria-label":Q?S.collapse:S==null?void 0:S.expand},typeof Ee=="function"?Ee(Q):Ee)},Se=()=>{if(!R)return;const{icon:he,tooltip:Ee,tabIndex:je}=T,Ae=or(Ee)[0]||(S==null?void 0:S.edit),Ne=typeof Ae=="string"?Ae:"";return D.includes("icon")?l.createElement(rn,{key:"edit",title:Ee===!1?"":Ae},l.createElement(YT,{ref:x,className:`${E}-edit`,onClick:O,"aria-label":Ne,tabIndex:je},he||l.createElement(m0,{role:"button"}))):null},_e=()=>M?l.createElement(h2e,Object.assign({key:"copy"},L,{prefixCls:E,copied:F,locale:S,onCopy:B,loading:j,iconOnly:d==null})):null,Ce=he=>[he&&De(),Se(),_e()],Re=he=>[he&&!Q&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},C2e),G.suffix,Ce(he)];return l.createElement(zr,{onResize:Pe,disabled:!oe},he=>l.createElement(y2e,{tooltipProps:Ue,enableEllipsis:oe,isEllipsis:ce},l.createElement(RG,Object.assign({className:ne({[`${E}-${c}`]:c,[`${E}-disabled`]:u,[`${E}-ellipsis`]:re,[`${E}-ellipsis-single-line`]:ue,[`${E}-ellipsis-multiple-line`]:fe},i),prefixCls:o,style:Object.assign(Object.assign({},s),{WebkitLineClamp:fe?de:void 0}),component:v,ref:Ar(he,w,t),direction:b,onClick:D.includes("text")?O:void 0,"aria-label":Be==null?void 0:Be.toString(),title:m},I),l.createElement(b2e,{enableMeasure:oe&&!ye,text:d,rows:de,width:xe,onEllipsis:ke,expanded:Q,miscDeps:[F,Q,j,R,M]},(Ee,je)=>w2e(e,l.createElement(l.Fragment,null,Ee.length>0&&je&&!Q&&Be?l.createElement("span",{key:"show-content","aria-hidden":!0},Ee):Ee,Re(je)))))))});var x2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n,rel:r}=e,a=x2e(e,["ellipsis","rel"]);const o=Object.assign(Object.assign({},a),{rel:r===void 0&&a.target==="_blank"?"noopener noreferrer":r});return delete o.navigate,l.createElement(w0,Object.assign({},o,{ref:t,ellipsis:!!n,component:"a"}))}),I2e=l.forwardRef((e,t)=>l.createElement(w0,Object.assign({ref:t},e,{component:"div"})));var T2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{ellipsis:n}=e,r=T2e(e,["ellipsis"]);const a=l.useMemo(()=>n&&typeof n=="object"?gn(n,["expandable","rows"]):n,[n]);return l.createElement(w0,Object.assign({ref:t},r,{ellipsis:a,component:"span"}))},_2e=l.forwardRef(R2e);var $2e=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{const{level:n=1}=e,r=$2e(e,["level"]);let a;return O2e.includes(n)?a=`h${n}`:a="h1",l.createElement(w0,Object.assign({ref:t},r,{component:a}))}),Bn=RG;Bn.Text=_2e;Bn.Link=E2e;Bn.Title=N2e;Bn.Paragraph=I2e;const AS=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",o=a.replace(/\/.*$/,"");return n.some(function(i){var s=i.trim();if(/^\*(\/\*)?$/.test(i))return!0;if(s.charAt(0)==="."){var c=r.toLowerCase(),u=s.toLowerCase(),d=[u];return(u===".jpg"||u===".jpeg")&&(d=[".jpg",".jpeg"]),d.some(function(f){return c.endsWith(f)})}return/\/\*$/.test(s)?o===s.replace(/\/.*$/,""):a===s?!0:/^\w+$/.test(s)?(cn(!1,"Upload takes an invalidate 'accept' type '".concat(s,"'.Skip for check.")),!0):!1})}return!0};function k2e(e,t){var n="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),r=new Error(n);return r.status=t.status,r.method=e.method,r.url=e.action,r}function XD(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function A2e(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(o){o.total>0&&(o.percent=o.loaded/o.total*100),e.onProgress(o)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(a){var o=e.data[a];if(Array.isArray(o)){o.forEach(function(i){n.append("".concat(a,"[]"),i)});return}n.append(a,o)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(o){e.onError(o)},t.onload=function(){return t.status<200||t.status>=300?e.onError(k2e(e,t),XD(t)):e.onSuccess(XD(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};return r["X-Requested-With"]!==null&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(r).forEach(function(a){r[a]!==null&&t.setRequestHeader(a,r[a])}),t.send(n),{abort:function(){t.abort()}}}var M2e=function(t,n,r){var a=[],o=[];t.forEach(function(u){return o.push(u.webkitGetAsEntry())});function i(u){var d=u.createReader();function f(){d.readEntries(function(p){var g=Array.prototype.slice.apply(p);o.push.apply(o,$e(g));var v=!g.length;v||f()})}f()}var s=function(d,f){d&&(d.path="",d.isFile?d.file(function(p){r(p)&&(d.fullPath&&!p.webkitRelativePath&&(Object.defineProperties(p,{webkitRelativePath:{writable:!0}}),p.webkitRelativePath=d.fullPath.replace(/^\//,""),Object.defineProperties(p,{webkitRelativePath:{writable:!1}})),a.push(p))}):d.isDirectory&&i(d))};function c(){for(var u=0;u{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${W(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[t]:{padding:e.padding},[`${t}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none",borderRadius:e.borderRadiusLG,"&:focus-visible":{outline:`${W(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`}},[`${t}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[` &:not(${t}-disabled):hover, &-hover:not(${t}-disabled) `]:{borderColor:e.colorPrimaryHover},[`p${t}-drag-icon`]:{marginBottom:e.margin,[n]:{color:e.colorPrimary,fontSize:e.uploadThumbnailSize}},[`p${t}-text`]:{margin:`0 0 ${W(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, @@ -482,7 +482,7 @@ html body { ${n}-eye, ${n}-download, ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${W(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:a,"&:hover":{color:a},svg:{verticalAlign:"baseline"}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${s}-name`]:{display:"none",textAlign:"center"},[`${s}-file + ${s}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${W(o(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${W(o(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},V2e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},W2e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},Gt(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},G2e=e=>({actionsColor:e.colorTextDescription}),q2e=Kt("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:a,calc:o}=e,i=Pt(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(n).div(2)).add(r).equal(),uploadPicCardSize:o(a).mul(2.55).equal()});return[W2e(i),j2e(i),H2e(i),U2e(i),B2e(i),z2e(i),V2e(i),og(i)]},G2e);function Am(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Mm(e,t){const n=$e(t),r=n.findIndex(a=>{let{uid:o}=a;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function PS(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function K2e(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(a=>a[n]!==e[n]);return r.length===t.length?null:r}const Y2e=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},$G=e=>e.indexOf("image/")===0,X2e=e=>{if(e.type&&!e.thumbUrl)return $G(e.type);const t=e.thumbUrl||e.url||"",n=Y2e(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},os=200;function Z2e(e){return new Promise(t=>{if(!e.type||!$G(e.type)){t("");return}const n=document.createElement("canvas");n.width=os,n.height=os,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${os}px; height: ${os}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),a=new Image;if(a.onload=()=>{const{width:o,height:i}=a;let s=os,c=os,u=0,d=0;o>i?(c=i*(os/o),d=-(c-s)/2):(s=o*(os/i),u=-(s-c)/2),r.drawImage(a,u,d,s,c);const f=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(a.src),t(f)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.onload=()=>{o.result&&typeof o.result=="string"&&(a.src=o.result)},o.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const o=new FileReader;o.onload=()=>{o.result&&t(o.result)},o.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}const Q2e=l.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:a,locale:o,listType:i,file:s,items:c,progress:u,iconRender:d,actionIconRender:f,itemRender:p,isImgUrl:g,showPreviewIcon:b,showRemoveIcon:m,showDownloadIcon:h,previewIcon:y,removeIcon:v,downloadIcon:S,extra:w,onPreview:x,onDownload:E,onClose:I}=e;var R,T;const{status:_}=s,[$,D]=l.useState(_);l.useEffect(()=>{_!=="removed"&&D(_)},[_]);const[P,A]=l.useState(!1);l.useEffect(()=>{const re=setTimeout(()=>{A(!0)},300);return()=>{clearTimeout(re)}},[]);const O=d(s);let N=l.createElement("div",{className:`${n}-icon`},O);if(i==="picture"||i==="picture-card"||i==="picture-circle")if($==="uploading"||!s.thumbUrl&&!s.url){const re=ne(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:$!=="uploading"});N=l.createElement("div",{className:re},O)}else{const re=g!=null&&g(s)?l.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):O,G=ne(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:g&&!g(s)});N=l.createElement("a",{className:G,onClick:Q=>x(s,Q),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},re)}const k=ne(`${n}-list-item`,`${n}-list-item-${$}`),M=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,L=m?f((typeof v=="function"?v(s):v)||l.createElement(Ep,null),()=>I(s),n,o.removeFile,!0):null,F=h&&$==="done"?f((typeof S=="function"?S(s):S)||l.createElement(U$,null),()=>E(s),n,o.downloadFile):null,j=i!=="picture-card"&&i!=="picture-circle"&&l.createElement("span",{key:"download-delete",className:ne(`${n}-list-item-actions`,{picture:i==="picture"})},F,L),B=typeof w=="function"?w(s):w,z=B&&l.createElement("span",{className:`${n}-list-item-extra`},B),H=ne(`${n}-list-item-name`),U=s.url?l.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:H,title:s.name},M,{href:s.url,onClick:re=>x(s,re)}),s.name,z):l.createElement("span",{key:"view",className:H,onClick:re=>x(s,re),title:s.name},s.name,z),Z=b&&(s.url||s.thumbUrl)?l.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:re=>x(s,re),title:o.previewFile},typeof y=="function"?y(s):y||l.createElement(UV,null)):null,q=(i==="picture-card"||i==="picture-circle")&&$!=="uploading"&&l.createElement("span",{className:`${n}-list-item-actions`},Z,$==="done"&&F,L),{getPrefixCls:Y}=l.useContext(ot),te=Y(),ee=l.createElement("div",{className:k},N,U,j,q,P&&l.createElement(Wr,{motionName:`${te}-fade`,visible:$==="uploading",motionDeadline:2e3},re=>{let{className:G}=re;const Q="percent"in s?l.createElement(g0,Object.assign({},u,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return l.createElement("div",{className:ne(`${n}-list-item-progress`,G)},Q)})),X=s.response&&typeof s.response=="string"?s.response:((R=s.error)===null||R===void 0?void 0:R.statusText)||((T=s.error)===null||T===void 0?void 0:T.message)||o.uploadError,ie=$==="error"?l.createElement(rn,{title:X,getPopupContainer:re=>re.parentNode},ee):ee;return l.createElement("div",{className:ne(`${n}-list-item-container`,r),style:a,ref:t},p?p(ie,s,c,{download:E.bind(null,s),preview:x.bind(null,s),remove:I.bind(null,s)}):ie)}),J2e=(e,t)=>{const{listType:n="text",previewFile:r=Z2e,onPreview:a,onDownload:o,onRemove:i,locale:s,iconRender:c,isImageUrl:u=X2e,prefixCls:d,items:f=[],showPreviewIcon:p=!0,showRemoveIcon:g=!0,showDownloadIcon:b=!1,removeIcon:m,previewIcon:h,downloadIcon:y,extra:v,progress:S={size:[-1,2],showInfo:!1},appendAction:w,appendActionVisible:x=!0,itemRender:E,disabled:I}=e,R=i$(),[T,_]=l.useState(!1);l.useEffect(()=>{n!=="picture"&&n!=="picture-card"&&n!=="picture-circle"||(f||[]).forEach(H=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(H.originFileObj instanceof File||H.originFileObj instanceof Blob)||H.thumbUrl!==void 0||(H.thumbUrl="",r&&r(H.originFileObj).then(U=>{H.thumbUrl=U||"",R()}))})},[n,f,r]),l.useEffect(()=>{_(!0)},[]);const $=(H,U)=>{if(a)return U==null||U.preventDefault(),a(H)},D=H=>{typeof o=="function"?o(H):H.url&&window.open(H.url)},P=H=>{i==null||i(H)},A=H=>{if(c)return c(H,n);const U=H.status==="uploading",Z=u!=null&&u(H)?l.createElement(e1e,null):l.createElement(Uye,null);let q=U?l.createElement(Wi,null):l.createElement(YSe,null);return n==="picture"?q=U?l.createElement(Wi,null):Z:(n==="picture-card"||n==="picture-circle")&&(q=U?s.uploading:Z),q},O=(H,U,Z,q,Y)=>{const te={type:"text",size:"small",title:q,onClick:ee=>{var X,ie;U(),l.isValidElement(H)&&((ie=(X=H.props).onClick)===null||ie===void 0||ie.call(X,ee))},className:`${Z}-list-item-action`};if(Y&&(te.disabled=I),l.isValidElement(H)){const ee=lr(H,Object.assign(Object.assign({},H.props),{onClick:()=>{}}));return l.createElement($t,Object.assign({},te,{icon:ee}))}return l.createElement($t,Object.assign({},te),l.createElement("span",null,H))};l.useImperativeHandle(t,()=>({handlePreview:$,handleDownload:D}));const{getPrefixCls:N}=l.useContext(ot),k=N("upload",d),M=N(),L=ne(`${k}-list`,`${k}-list-${n}`),F=$e(f.map(H=>({key:H.uid,file:H})));let B={motionDeadline:2e3,motionName:`${k}-${n==="picture-card"||n==="picture-circle"?"animate-inline":"animate"}`,keys:F,motionAppear:T};const z=l.useMemo(()=>{const H=Object.assign({},Pu(M));return delete H.onAppearEnd,delete H.onEnterEnd,delete H.onLeaveEnd,H},[M]);return n!=="picture-card"&&n!=="picture-circle"&&(B=Object.assign(Object.assign({},z),B)),l.createElement("div",{className:L},l.createElement(z_,Object.assign({},B,{component:!1}),H=>{let{key:U,file:Z,className:q,style:Y}=H;return l.createElement(Q2e,{key:U,locale:s,prefixCls:k,className:q,style:Y,file:Z,items:f,progress:S,listType:n,isImgUrl:u,showPreviewIcon:p,showRemoveIcon:g,showDownloadIcon:b,removeIcon:m,previewIcon:h,downloadIcon:y,extra:v,iconRender:A,actionIconRender:O,itemRender:E,onPreview:$,onDownload:D,onClose:P})}),w&&l.createElement(Wr,Object.assign({},B,{visible:x,forceRender:!0}),H=>{let{className:U,style:Z}=H;return lr(w,q=>({className:ne(q.className,U),style:Object.assign(Object.assign(Object.assign({},Z),{pointerEvents:U?"none":void 0}),q.style)}))}))},eIe=l.forwardRef(J2e);var tIe=function(e,t,n,r){function a(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function s(d){try{u(r.next(d))}catch(f){i(f)}}function c(d){try{u(r.throw(d))}catch(f){i(f)}}function u(d){d.done?o(d.value):a(d.value).then(s,c)}u((r=r.apply(e,[])).next())})};const of=`__LIST_IGNORE_${Date.now()}__`,nIe=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:a,showUploadList:o=!0,listType:i="text",onPreview:s,onDownload:c,onChange:u,onDrop:d,previewFile:f,disabled:p,locale:g,iconRender:b,isImageUrl:m,progress:h,prefixCls:y,className:v,type:S="select",children:w,style:x,itemRender:E,maxCount:I,data:R={},multiple:T=!1,hasControlInside:_=!0,action:$="",accept:D="",supportServerRender:P=!0,rootClassName:A}=e,O=l.useContext(Vr),N=p??O,[k,M]=Qt(r||[],{value:n,postState:Se=>Se??[]}),[L,F]=l.useState("drop"),j=l.useRef(null),B=l.useRef(null);l.useMemo(()=>{const Se=Date.now();(n||[]).forEach((_e,Ce)=>{!_e.uid&&!Object.isFrozen(_e)&&(_e.uid=`__AUTO__${Se}_${Ce}__`)})},[n]);const z=(Se,_e,Ce)=>{let Re=$e(_e),he=!1;I===1?Re=Re.slice(-1):I&&(he=Re.length>I,Re=Re.slice(0,I)),Sr.flushSync(()=>{M(Re)});const Ee={file:Se,fileList:Re};Ce&&(Ee.event=Ce),(!he||Se.status==="removed"||Re.some(je=>je.uid===Se.uid))&&Sr.flushSync(()=>{u==null||u(Ee)})},H=(Se,_e)=>tIe(void 0,void 0,void 0,function*(){const{beforeUpload:Ce,transformFile:Re}=e;let he=Se;if(Ce){const Ee=yield Ce(Se,_e);if(Ee===!1)return!1;if(delete Se[of],Ee===of)return Object.defineProperty(Se,of,{value:!0,configurable:!0}),!1;typeof Ee=="object"&&Ee&&(he=Ee)}return Re&&(he=yield Re(he)),he}),U=Se=>{const _e=Se.filter(he=>!he.file[of]);if(!_e.length)return;const Ce=_e.map(he=>Am(he.file));let Re=$e(k);Ce.forEach(he=>{Re=Mm(he,Re)}),Ce.forEach((he,Ee)=>{let je=he;if(_e[Ee].parsedFile)he.status="uploading";else{const{originFileObj:Ae}=he;let Ne;try{Ne=new File([Ae],Ae.name,{type:Ae.type})}catch{Ne=new Blob([Ae],{type:Ae.type}),Ne.name=Ae.name,Ne.lastModifiedDate=new Date,Ne.lastModified=new Date().getTime()}Ne.uid=he.uid,je=Ne}z(je,Re)})},Z=(Se,_e,Ce)=>{try{typeof Se=="string"&&(Se=JSON.parse(Se))}catch{}if(!PS(_e,k))return;const Re=Am(_e);Re.status="done",Re.percent=100,Re.response=Se,Re.xhr=Ce;const he=Mm(Re,k);z(Re,he)},q=(Se,_e)=>{if(!PS(_e,k))return;const Ce=Am(_e);Ce.status="uploading",Ce.percent=Se.percent;const Re=Mm(Ce,k);z(Ce,Re,Se)},Y=(Se,_e,Ce)=>{if(!PS(Ce,k))return;const Re=Am(Ce);Re.error=Se,Re.response=_e,Re.status="error";const he=Mm(Re,k);z(Re,he)},te=Se=>{let _e;Promise.resolve(typeof a=="function"?a(Se):a).then(Ce=>{var Re;if(Ce===!1)return;const he=K2e(Se,k);he&&(_e=Object.assign(Object.assign({},Se),{status:"removed"}),k==null||k.forEach(Ee=>{const je=_e.uid!==void 0?"uid":"name";Ee[je]===_e[je]&&!Object.isFrozen(Ee)&&(Ee.status="removed")}),(Re=j.current)===null||Re===void 0||Re.abort(_e),z(_e,he))})},ee=Se=>{F(Se.type),Se.type==="drop"&&(d==null||d(Se))};l.useImperativeHandle(t,()=>({onBatchStart:U,onSuccess:Z,onProgress:q,onError:Y,fileList:k,upload:j.current,nativeElement:B.current}));const{getPrefixCls:X,direction:ie,upload:re}=l.useContext(ot),G=X("upload",y),Q=Object.assign(Object.assign({onBatchStart:U,onError:Y,onProgress:q,onSuccess:Z},e),{data:R,multiple:T,action:$,accept:D,supportServerRender:P,prefixCls:G,disabled:N,beforeUpload:H,onChange:void 0,hasControlInside:_});delete Q.className,delete Q.style,(!w||N)&&delete Q.id;const ae=`${G}-wrapper`,[oe,de,ve]=q2e(G,ae),[ye]=mi("Upload",ci.Upload),{showRemoveIcon:ge,showPreviewIcon:J,showDownloadIcon:ce,removeIcon:ue,previewIcon:fe,downloadIcon:pe,extra:xe}=typeof o=="boolean"?{}:o,Te=typeof ge>"u"?!N:!!ge,Pe=(Se,_e)=>o?l.createElement(eIe,{prefixCls:G,listType:i,items:k,previewFile:f,onPreview:s,onDownload:c,onRemove:te,showRemoveIcon:Te,showPreviewIcon:J,showDownloadIcon:ce,removeIcon:ue,previewIcon:fe,downloadIcon:pe,iconRender:b,extra:xe,locale:Object.assign(Object.assign({},ye),g),isImageUrl:m,progress:h,appendAction:Se,appendActionVisible:_e,itemRender:E,disabled:N}):Se,ke=ne(ae,v,A,de,ve,re==null?void 0:re.className,{[`${G}-rtl`]:ie==="rtl",[`${G}-picture-card-wrapper`]:i==="picture-card",[`${G}-picture-circle-wrapper`]:i==="picture-circle"}),Ue=Object.assign(Object.assign({},re==null?void 0:re.style),x);if(S==="drag"){const Se=ne(de,G,`${G}-drag`,{[`${G}-drag-uploading`]:k.some(_e=>_e.status==="uploading"),[`${G}-drag-hover`]:L==="dragover",[`${G}-disabled`]:N,[`${G}-rtl`]:ie==="rtl"});return oe(l.createElement("span",{className:ke,ref:B},l.createElement("div",{className:Se,style:Ue,onDrop:ee,onDragOver:ee,onDragLeave:ee},l.createElement(QT,Object.assign({},Q,{ref:j,className:`${G}-btn`}),l.createElement("div",{className:`${G}-drag-container`},w))),Pe()))}const Be=ne(G,`${G}-select`,{[`${G}-disabled`]:N}),De=l.createElement("div",{className:Be,style:w?void 0:{display:"none"}},l.createElement(QT,Object.assign({},Q,{ref:j})));return oe(i==="picture-card"||i==="picture-circle"?l.createElement("span",{className:ke,ref:B},Pe(De,!!w)):l.createElement("span",{className:ke,ref:B},De,Pe()))},OG=l.forwardRef(nIe);var rIe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{style:n,height:r,hasControlInside:a=!1}=e,o=rIe(e,["style","height","hasControlInside"]);return l.createElement(OG,Object.assign({ref:t,hasControlInside:a},o,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),C0=OG;C0.Dragger=aIe;C0.LIST_IGNORE=of;/** + `]:{zIndex:10,width:r,margin:`0 ${W(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:a,"&:hover":{color:a},svg:{verticalAlign:"baseline"}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${s}-name`]:{display:"none",textAlign:"center"},[`${s}-file + ${s}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${W(o(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${W(o(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},V2e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},W2e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},Gt(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},G2e=e=>({actionsColor:e.colorTextDescription}),q2e=Kt("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:a,calc:o}=e,i=Pt(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(n).div(2)).add(r).equal(),uploadPicCardSize:o(a).mul(2.55).equal()});return[W2e(i),j2e(i),H2e(i),U2e(i),B2e(i),z2e(i),V2e(i),og(i)]},G2e);function Am(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function Mm(e,t){const n=$e(t),r=n.findIndex(a=>{let{uid:o}=a;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function PS(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function K2e(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(a=>a[n]!==e[n]);return r.length===t.length?null:r}const Y2e=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},$G=e=>e.indexOf("image/")===0,X2e=e=>{if(e.type&&!e.thumbUrl)return $G(e.type);const t=e.thumbUrl||e.url||"",n=Y2e(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},os=200;function Z2e(e){return new Promise(t=>{if(!e.type||!$G(e.type)){t("");return}const n=document.createElement("canvas");n.width=os,n.height=os,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${os}px; height: ${os}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),a=new Image;if(a.onload=()=>{const{width:o,height:i}=a;let s=os,c=os,u=0,d=0;o>i?(c=i*(os/o),d=-(c-s)/2):(s=o*(os/i),u=-(s-c)/2),r.drawImage(a,u,d,s,c);const f=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(a.src),t(f)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.onload=()=>{o.result&&typeof o.result=="string"&&(a.src=o.result)},o.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const o=new FileReader;o.onload=()=>{o.result&&t(o.result)},o.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}const Q2e=l.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:a,locale:o,listType:i,file:s,items:c,progress:u,iconRender:d,actionIconRender:f,itemRender:p,isImgUrl:g,showPreviewIcon:v,showRemoveIcon:m,showDownloadIcon:h,previewIcon:y,removeIcon:b,downloadIcon:S,extra:w,onPreview:x,onDownload:E,onClose:I}=e;var R,T;const{status:_}=s,[$,D]=l.useState(_);l.useEffect(()=>{_!=="removed"&&D(_)},[_]);const[P,A]=l.useState(!1);l.useEffect(()=>{const re=setTimeout(()=>{A(!0)},300);return()=>{clearTimeout(re)}},[]);const O=d(s);let N=l.createElement("div",{className:`${n}-icon`},O);if(i==="picture"||i==="picture-card"||i==="picture-circle")if($==="uploading"||!s.thumbUrl&&!s.url){const re=ne(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:$!=="uploading"});N=l.createElement("div",{className:re},O)}else{const re=g!=null&&g(s)?l.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):O,G=ne(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:g&&!g(s)});N=l.createElement("a",{className:G,onClick:Q=>x(s,Q),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},re)}const k=ne(`${n}-list-item`,`${n}-list-item-${$}`),M=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,L=m?f((typeof b=="function"?b(s):b)||l.createElement(Ep,null),()=>I(s),n,o.removeFile,!0):null,F=h&&$==="done"?f((typeof S=="function"?S(s):S)||l.createElement(U$,null),()=>E(s),n,o.downloadFile):null,j=i!=="picture-card"&&i!=="picture-circle"&&l.createElement("span",{key:"download-delete",className:ne(`${n}-list-item-actions`,{picture:i==="picture"})},F,L),B=typeof w=="function"?w(s):w,z=B&&l.createElement("span",{className:`${n}-list-item-extra`},B),H=ne(`${n}-list-item-name`),U=s.url?l.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:H,title:s.name},M,{href:s.url,onClick:re=>x(s,re)}),s.name,z):l.createElement("span",{key:"view",className:H,onClick:re=>x(s,re),title:s.name},s.name,z),Z=v&&(s.url||s.thumbUrl)?l.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:re=>x(s,re),title:o.previewFile},typeof y=="function"?y(s):y||l.createElement(UV,null)):null,q=(i==="picture-card"||i==="picture-circle")&&$!=="uploading"&&l.createElement("span",{className:`${n}-list-item-actions`},Z,$==="done"&&F,L),{getPrefixCls:Y}=l.useContext(ot),ee=Y(),te=l.createElement("div",{className:k},N,U,j,q,P&&l.createElement(Wr,{motionName:`${ee}-fade`,visible:$==="uploading",motionDeadline:2e3},re=>{let{className:G}=re;const Q="percent"in s?l.createElement(g0,Object.assign({},u,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return l.createElement("div",{className:ne(`${n}-list-item-progress`,G)},Q)})),X=s.response&&typeof s.response=="string"?s.response:((R=s.error)===null||R===void 0?void 0:R.statusText)||((T=s.error)===null||T===void 0?void 0:T.message)||o.uploadError,ie=$==="error"?l.createElement(rn,{title:X,getPopupContainer:re=>re.parentNode},te):te;return l.createElement("div",{className:ne(`${n}-list-item-container`,r),style:a,ref:t},p?p(ie,s,c,{download:E.bind(null,s),preview:x.bind(null,s),remove:I.bind(null,s)}):ie)}),J2e=(e,t)=>{const{listType:n="text",previewFile:r=Z2e,onPreview:a,onDownload:o,onRemove:i,locale:s,iconRender:c,isImageUrl:u=X2e,prefixCls:d,items:f=[],showPreviewIcon:p=!0,showRemoveIcon:g=!0,showDownloadIcon:v=!1,removeIcon:m,previewIcon:h,downloadIcon:y,extra:b,progress:S={size:[-1,2],showInfo:!1},appendAction:w,appendActionVisible:x=!0,itemRender:E,disabled:I}=e,R=i$(),[T,_]=l.useState(!1);l.useEffect(()=>{n!=="picture"&&n!=="picture-card"&&n!=="picture-circle"||(f||[]).forEach(H=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(H.originFileObj instanceof File||H.originFileObj instanceof Blob)||H.thumbUrl!==void 0||(H.thumbUrl="",r&&r(H.originFileObj).then(U=>{H.thumbUrl=U||"",R()}))})},[n,f,r]),l.useEffect(()=>{_(!0)},[]);const $=(H,U)=>{if(a)return U==null||U.preventDefault(),a(H)},D=H=>{typeof o=="function"?o(H):H.url&&window.open(H.url)},P=H=>{i==null||i(H)},A=H=>{if(c)return c(H,n);const U=H.status==="uploading",Z=u!=null&&u(H)?l.createElement(e1e,null):l.createElement(Uye,null);let q=U?l.createElement(Wi,null):l.createElement(YSe,null);return n==="picture"?q=U?l.createElement(Wi,null):Z:(n==="picture-card"||n==="picture-circle")&&(q=U?s.uploading:Z),q},O=(H,U,Z,q,Y)=>{const ee={type:"text",size:"small",title:q,onClick:te=>{var X,ie;U(),l.isValidElement(H)&&((ie=(X=H.props).onClick)===null||ie===void 0||ie.call(X,te))},className:`${Z}-list-item-action`};if(Y&&(ee.disabled=I),l.isValidElement(H)){const te=lr(H,Object.assign(Object.assign({},H.props),{onClick:()=>{}}));return l.createElement($t,Object.assign({},ee,{icon:te}))}return l.createElement($t,Object.assign({},ee),l.createElement("span",null,H))};l.useImperativeHandle(t,()=>({handlePreview:$,handleDownload:D}));const{getPrefixCls:N}=l.useContext(ot),k=N("upload",d),M=N(),L=ne(`${k}-list`,`${k}-list-${n}`),F=$e(f.map(H=>({key:H.uid,file:H})));let B={motionDeadline:2e3,motionName:`${k}-${n==="picture-card"||n==="picture-circle"?"animate-inline":"animate"}`,keys:F,motionAppear:T};const z=l.useMemo(()=>{const H=Object.assign({},Pu(M));return delete H.onAppearEnd,delete H.onEnterEnd,delete H.onLeaveEnd,H},[M]);return n!=="picture-card"&&n!=="picture-circle"&&(B=Object.assign(Object.assign({},z),B)),l.createElement("div",{className:L},l.createElement(z_,Object.assign({},B,{component:!1}),H=>{let{key:U,file:Z,className:q,style:Y}=H;return l.createElement(Q2e,{key:U,locale:s,prefixCls:k,className:q,style:Y,file:Z,items:f,progress:S,listType:n,isImgUrl:u,showPreviewIcon:p,showRemoveIcon:g,showDownloadIcon:v,removeIcon:m,previewIcon:h,downloadIcon:y,extra:b,iconRender:A,actionIconRender:O,itemRender:E,onPreview:$,onDownload:D,onClose:P})}),w&&l.createElement(Wr,Object.assign({},B,{visible:x,forceRender:!0}),H=>{let{className:U,style:Z}=H;return lr(w,q=>({className:ne(q.className,U),style:Object.assign(Object.assign(Object.assign({},Z),{pointerEvents:U?"none":void 0}),q.style)}))}))},eIe=l.forwardRef(J2e);var tIe=function(e,t,n,r){function a(o){return o instanceof n?o:new n(function(i){i(o)})}return new(n||(n=Promise))(function(o,i){function s(d){try{u(r.next(d))}catch(f){i(f)}}function c(d){try{u(r.throw(d))}catch(f){i(f)}}function u(d){d.done?o(d.value):a(d.value).then(s,c)}u((r=r.apply(e,[])).next())})};const of=`__LIST_IGNORE_${Date.now()}__`,nIe=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:a,showUploadList:o=!0,listType:i="text",onPreview:s,onDownload:c,onChange:u,onDrop:d,previewFile:f,disabled:p,locale:g,iconRender:v,isImageUrl:m,progress:h,prefixCls:y,className:b,type:S="select",children:w,style:x,itemRender:E,maxCount:I,data:R={},multiple:T=!1,hasControlInside:_=!0,action:$="",accept:D="",supportServerRender:P=!0,rootClassName:A}=e,O=l.useContext(Vr),N=p??O,[k,M]=Qt(r||[],{value:n,postState:Se=>Se??[]}),[L,F]=l.useState("drop"),j=l.useRef(null),B=l.useRef(null);l.useMemo(()=>{const Se=Date.now();(n||[]).forEach((_e,Ce)=>{!_e.uid&&!Object.isFrozen(_e)&&(_e.uid=`__AUTO__${Se}_${Ce}__`)})},[n]);const z=(Se,_e,Ce)=>{let Re=$e(_e),he=!1;I===1?Re=Re.slice(-1):I&&(he=Re.length>I,Re=Re.slice(0,I)),Sr.flushSync(()=>{M(Re)});const Ee={file:Se,fileList:Re};Ce&&(Ee.event=Ce),(!he||Se.status==="removed"||Re.some(je=>je.uid===Se.uid))&&Sr.flushSync(()=>{u==null||u(Ee)})},H=(Se,_e)=>tIe(void 0,void 0,void 0,function*(){const{beforeUpload:Ce,transformFile:Re}=e;let he=Se;if(Ce){const Ee=yield Ce(Se,_e);if(Ee===!1)return!1;if(delete Se[of],Ee===of)return Object.defineProperty(Se,of,{value:!0,configurable:!0}),!1;typeof Ee=="object"&&Ee&&(he=Ee)}return Re&&(he=yield Re(he)),he}),U=Se=>{const _e=Se.filter(he=>!he.file[of]);if(!_e.length)return;const Ce=_e.map(he=>Am(he.file));let Re=$e(k);Ce.forEach(he=>{Re=Mm(he,Re)}),Ce.forEach((he,Ee)=>{let je=he;if(_e[Ee].parsedFile)he.status="uploading";else{const{originFileObj:Ae}=he;let Ne;try{Ne=new File([Ae],Ae.name,{type:Ae.type})}catch{Ne=new Blob([Ae],{type:Ae.type}),Ne.name=Ae.name,Ne.lastModifiedDate=new Date,Ne.lastModified=new Date().getTime()}Ne.uid=he.uid,je=Ne}z(je,Re)})},Z=(Se,_e,Ce)=>{try{typeof Se=="string"&&(Se=JSON.parse(Se))}catch{}if(!PS(_e,k))return;const Re=Am(_e);Re.status="done",Re.percent=100,Re.response=Se,Re.xhr=Ce;const he=Mm(Re,k);z(Re,he)},q=(Se,_e)=>{if(!PS(_e,k))return;const Ce=Am(_e);Ce.status="uploading",Ce.percent=Se.percent;const Re=Mm(Ce,k);z(Ce,Re,Se)},Y=(Se,_e,Ce)=>{if(!PS(Ce,k))return;const Re=Am(Ce);Re.error=Se,Re.response=_e,Re.status="error";const he=Mm(Re,k);z(Re,he)},ee=Se=>{let _e;Promise.resolve(typeof a=="function"?a(Se):a).then(Ce=>{var Re;if(Ce===!1)return;const he=K2e(Se,k);he&&(_e=Object.assign(Object.assign({},Se),{status:"removed"}),k==null||k.forEach(Ee=>{const je=_e.uid!==void 0?"uid":"name";Ee[je]===_e[je]&&!Object.isFrozen(Ee)&&(Ee.status="removed")}),(Re=j.current)===null||Re===void 0||Re.abort(_e),z(_e,he))})},te=Se=>{F(Se.type),Se.type==="drop"&&(d==null||d(Se))};l.useImperativeHandle(t,()=>({onBatchStart:U,onSuccess:Z,onProgress:q,onError:Y,fileList:k,upload:j.current,nativeElement:B.current}));const{getPrefixCls:X,direction:ie,upload:re}=l.useContext(ot),G=X("upload",y),Q=Object.assign(Object.assign({onBatchStart:U,onError:Y,onProgress:q,onSuccess:Z},e),{data:R,multiple:T,action:$,accept:D,supportServerRender:P,prefixCls:G,disabled:N,beforeUpload:H,onChange:void 0,hasControlInside:_});delete Q.className,delete Q.style,(!w||N)&&delete Q.id;const ae=`${G}-wrapper`,[oe,de,ve]=q2e(G,ae),[ye]=mi("Upload",ci.Upload),{showRemoveIcon:ge,showPreviewIcon:J,showDownloadIcon:ce,removeIcon:ue,previewIcon:fe,downloadIcon:pe,extra:xe}=typeof o=="boolean"?{}:o,Te=typeof ge>"u"?!N:!!ge,Pe=(Se,_e)=>o?l.createElement(eIe,{prefixCls:G,listType:i,items:k,previewFile:f,onPreview:s,onDownload:c,onRemove:ee,showRemoveIcon:Te,showPreviewIcon:J,showDownloadIcon:ce,removeIcon:ue,previewIcon:fe,downloadIcon:pe,iconRender:v,extra:xe,locale:Object.assign(Object.assign({},ye),g),isImageUrl:m,progress:h,appendAction:Se,appendActionVisible:_e,itemRender:E,disabled:N}):Se,ke=ne(ae,b,A,de,ve,re==null?void 0:re.className,{[`${G}-rtl`]:ie==="rtl",[`${G}-picture-card-wrapper`]:i==="picture-card",[`${G}-picture-circle-wrapper`]:i==="picture-circle"}),Ue=Object.assign(Object.assign({},re==null?void 0:re.style),x);if(S==="drag"){const Se=ne(de,G,`${G}-drag`,{[`${G}-drag-uploading`]:k.some(_e=>_e.status==="uploading"),[`${G}-drag-hover`]:L==="dragover",[`${G}-disabled`]:N,[`${G}-rtl`]:ie==="rtl"});return oe(l.createElement("span",{className:ke,ref:B},l.createElement("div",{className:Se,style:Ue,onDrop:te,onDragOver:te,onDragLeave:te},l.createElement(QT,Object.assign({},Q,{ref:j,className:`${G}-btn`}),l.createElement("div",{className:`${G}-drag-container`},w))),Pe()))}const Be=ne(G,`${G}-select`,{[`${G}-disabled`]:N}),De=l.createElement("div",{className:Be,style:w?void 0:{display:"none"}},l.createElement(QT,Object.assign({},Q,{ref:j})));return oe(i==="picture-card"||i==="picture-circle"?l.createElement("span",{className:ke,ref:B},Pe(De,!!w)):l.createElement("span",{className:ke,ref:B},De,Pe()))},OG=l.forwardRef(nIe);var rIe=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(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a{var{style:n,height:r,hasControlInside:a=!1}=e,o=rIe(e,["style","height","hasControlInside"]);return l.createElement(OG,Object.assign({ref:t,hasControlInside:a},o,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),C0=OG;C0.Dragger=aIe;C0.LIST_IGNORE=of;/** * @remix-run/router v1.19.0 * * Copyright (c) Remix Software Inc. @@ -491,7 +491,7 @@ html body { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ip(){return Ip=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function NG(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function iIe(){return Math.random().toString(36).substr(2,8)}function QD(e,t){return{usr:e.state,key:e.key,idx:t}}function JT(e,t,n,r){return n===void 0&&(n=null),Ip({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pd(t):t,{state:n,key:t&&t.key||r||iIe()})}function Nv(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function pd(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function sIe(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,s=ws.Pop,c=null,u=d();u==null&&(u=0,i.replaceState(Ip({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){s=ws.Pop;let h=d(),y=h==null?null:h-u;u=h,c&&c({action:s,location:m.location,delta:y})}function p(h,y){s=ws.Push;let v=JT(m.location,h,y);u=d()+1;let S=QD(v,u),w=m.createHref(v);try{i.pushState(S,"",w)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;a.location.assign(w)}o&&c&&c({action:s,location:m.location,delta:1})}function g(h,y){s=ws.Replace;let v=JT(m.location,h,y);u=d();let S=QD(v,u),w=m.createHref(v);i.replaceState(S,"",w),o&&c&&c({action:s,location:m.location,delta:0})}function b(h){let y=a.location.origin!=="null"?a.location.origin:a.location.href,v=typeof h=="string"?h:Nv(h);return v=v.replace(/ $/,"%20"),pr(y,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,y)}let m={get action(){return s},get location(){return e(a,i)},listen(h){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(ZD,f),c=h,()=>{a.removeEventListener(ZD,f),c=null}},createHref(h){return t(a,h)},createURL:b,encodeLocation(h){let y=b(h);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:g,go(h){return i.go(h)}};return m}var JD;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(JD||(JD={}));function lIe(e,t,n){return n===void 0&&(n="/"),cIe(e,t,n,!1)}function cIe(e,t,n,r){let a=typeof t=="string"?pd(t):t,o=lO(a.pathname||"/",n);if(o==null)return null;let i=kG(e);uIe(i);let s=null;for(let c=0;s==null&&c{let c={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};c.relativePath.startsWith("/")&&(pr(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=As([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(pr(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kG(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:vIe(u,o.index),routesMeta:d})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))a(o,i);else for(let c of AG(o.path))a(o,i,c)}),t}function AG(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let i=AG(r.join("/")),s=[];return s.push(...i.map(c=>c===""?o:[o,c].join("/"))),a&&s.push(...i),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function uIe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:bIe(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const dIe=/^:[\w-]+$/,fIe=3,pIe=2,gIe=1,mIe=10,hIe=-2,eP=e=>e==="*";function vIe(e,t){let n=e.split("/"),r=n.length;return n.some(eP)&&(r+=hIe),t&&(r+=pIe),n.filter(a=>!eP(a)).reduce((a,o)=>a+(dIe.test(o)?fIe:o===""?gIe:mIe),r)}function bIe(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function yIe(e,t,n){let{routesMeta:r}=e,a={},o="/",i=[];for(let s=0;s{let{paramName:p,isOptional:g}=d;if(p==="*"){let m=s[f]||"";i=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const b=s[f];return g&&!b?u[p]=void 0:u[p]=(b||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function SIe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),NG(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function wIe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return NG(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function lO(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function CIe(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?pd(e):e;return{pathname:n?n.startsWith("/")?n:xIe(n,t):t,search:TIe(r),hash:RIe(a)}}function xIe(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function LS(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function EIe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function MG(e,t){let n=EIe(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function DG(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=pd(e):(a=Ip({},e),pr(!a.pathname||!a.pathname.includes("?"),LS("?","pathname","search",a)),pr(!a.pathname||!a.pathname.includes("#"),LS("#","pathname","hash",a)),pr(!a.search||!a.search.includes("#"),LS("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,s;if(i==null)s=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),f-=1;a.pathname=p.join("/")}s=f>=0?t[f]:"/"}let c=CIe(a,s),u=i&&i!=="/"&&i.endsWith("/"),d=(o||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const As=e=>e.join("/").replace(/\/\/+/g,"/"),IIe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),TIe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,RIe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function _Ie(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const PG=["post","put","patch","delete"];new Set(PG);const $Ie=["get",...PG];new Set($Ie);/** + */function Ip(){return Ip=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function NG(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function iIe(){return Math.random().toString(36).substr(2,8)}function QD(e,t){return{usr:e.state,key:e.key,idx:t}}function JT(e,t,n,r){return n===void 0&&(n=null),Ip({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pd(t):t,{state:n,key:t&&t.key||r||iIe()})}function Nv(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function pd(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function sIe(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,s=ws.Pop,c=null,u=d();u==null&&(u=0,i.replaceState(Ip({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){s=ws.Pop;let h=d(),y=h==null?null:h-u;u=h,c&&c({action:s,location:m.location,delta:y})}function p(h,y){s=ws.Push;let b=JT(m.location,h,y);u=d()+1;let S=QD(b,u),w=m.createHref(b);try{i.pushState(S,"",w)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;a.location.assign(w)}o&&c&&c({action:s,location:m.location,delta:1})}function g(h,y){s=ws.Replace;let b=JT(m.location,h,y);u=d();let S=QD(b,u),w=m.createHref(b);i.replaceState(S,"",w),o&&c&&c({action:s,location:m.location,delta:0})}function v(h){let y=a.location.origin!=="null"?a.location.origin:a.location.href,b=typeof h=="string"?h:Nv(h);return b=b.replace(/ $/,"%20"),pr(y,"No window.location.(origin|href) available to create URL for href: "+b),new URL(b,y)}let m={get action(){return s},get location(){return e(a,i)},listen(h){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(ZD,f),c=h,()=>{a.removeEventListener(ZD,f),c=null}},createHref(h){return t(a,h)},createURL:v,encodeLocation(h){let y=v(h);return{pathname:y.pathname,search:y.search,hash:y.hash}},push:p,replace:g,go(h){return i.go(h)}};return m}var JD;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(JD||(JD={}));function lIe(e,t,n){return n===void 0&&(n="/"),cIe(e,t,n,!1)}function cIe(e,t,n,r){let a=typeof t=="string"?pd(t):t,o=lO(a.pathname||"/",n);if(o==null)return null;let i=kG(e);uIe(i);let s=null;for(let c=0;s==null&&c{let c={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};c.relativePath.startsWith("/")&&(pr(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=As([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(pr(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),kG(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:vIe(u,o.index),routesMeta:d})};return e.forEach((o,i)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))a(o,i);else for(let c of AG(o.path))a(o,i,c)}),t}function AG(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return a?[o,""]:[o];let i=AG(r.join("/")),s=[];return s.push(...i.map(c=>c===""?o:[o,c].join("/"))),a&&s.push(...i),s.map(c=>e.startsWith("/")&&c===""?"/":c)}function uIe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:bIe(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const dIe=/^:[\w-]+$/,fIe=3,pIe=2,gIe=1,mIe=10,hIe=-2,eP=e=>e==="*";function vIe(e,t){let n=e.split("/"),r=n.length;return n.some(eP)&&(r+=hIe),t&&(r+=pIe),n.filter(a=>!eP(a)).reduce((a,o)=>a+(dIe.test(o)?fIe:o===""?gIe:mIe),r)}function bIe(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function yIe(e,t,n){let{routesMeta:r}=e,a={},o="/",i=[];for(let s=0;s{let{paramName:p,isOptional:g}=d;if(p==="*"){let m=s[f]||"";i=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const v=s[f];return g&&!v?u[p]=void 0:u[p]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function SIe(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),NG(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,c)=>(r.push({paramName:s,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function wIe(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return NG(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function lO(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function CIe(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?pd(e):e;return{pathname:n?n.startsWith("/")?n:xIe(n,t):t,search:TIe(r),hash:RIe(a)}}function xIe(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function LS(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function EIe(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function MG(e,t){let n=EIe(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function DG(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=pd(e):(a=Ip({},e),pr(!a.pathname||!a.pathname.includes("?"),LS("?","pathname","search",a)),pr(!a.pathname||!a.pathname.includes("#"),LS("#","pathname","hash",a)),pr(!a.search||!a.search.includes("#"),LS("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,s;if(i==null)s=n;else{let f=t.length-1;if(!r&&i.startsWith("..")){let p=i.split("/");for(;p[0]==="..";)p.shift(),f-=1;a.pathname=p.join("/")}s=f>=0?t[f]:"/"}let c=CIe(a,s),u=i&&i!=="/"&&i.endsWith("/"),d=(o||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const As=e=>e.join("/").replace(/\/\/+/g,"/"),IIe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),TIe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,RIe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function _Ie(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const PG=["post","put","patch","delete"];new Set(PG);const $Ie=["get",...PG];new Set($Ie);/** * React Router v6.26.0 * * Copyright (c) Remix Software Inc. @@ -500,7 +500,7 @@ html body { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Tp(){return Tp=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),l.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let f=DG(u,JSON.parse(i),o,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:As([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,o,e])}function BG(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=l.useContext(pc),{matches:a}=l.useContext(gc),{pathname:o}=tl(),i=JSON.stringify(MG(a,r.v7_relativeSplatPath));return l.useMemo(()=>DG(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function AIe(e,t){return MIe(e,t)}function MIe(e,t,n,r){Cg()||pr(!1);let{navigator:a}=l.useContext(pc),{matches:o}=l.useContext(gc),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=tl(),d;if(t){var f;let h=typeof t=="string"?pd(t):t;c==="/"||(f=h.pathname)!=null&&f.startsWith(c)||pr(!1),d=h}else d=u;let p=d.pathname||"/",g=p;if(c!=="/"){let h=c.replace(/^\//,"").split("/");g="/"+p.replace(/^\//,"").split("/").slice(h.length).join("/")}let b=lIe(e,{pathname:g}),m=jIe(b&&b.map(h=>Object.assign({},h,{params:Object.assign({},s,h.params),pathname:As([c,a.encodeLocation?a.encodeLocation(h.pathname).pathname:h.pathname]),pathnameBase:h.pathnameBase==="/"?c:As([c,a.encodeLocation?a.encodeLocation(h.pathnameBase).pathname:h.pathnameBase])})),o,n,r);return t&&m?l.createElement(x0.Provider,{value:{location:Tp({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ws.Pop}},m):m}function DIe(){let e=UIe(),t=_Ie(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},t),n?l.createElement("pre",{style:a},n):null,null)}const PIe=l.createElement(DIe,null);class LIe extends l.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?l.createElement(gc.Provider,{value:this.props.routeContext},l.createElement(LG.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function FIe(e){let{routeContext:t,match:n,children:r}=e,a=l.useContext(cO);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),l.createElement(gc.Provider,{value:t},r)}function jIe(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(a=n)==null?void 0:a.errors;if(s!=null){let d=i.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);d>=0||pr(!1),i=i.slice(0,Math.min(i.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,p)=>{let g,b=!1,m=null,h=null;n&&(g=s&&f.route.id?s[f.route.id]:void 0,m=f.route.errorElement||PIe,c&&(u<0&&p===0?(b=!0,h=null):u===p&&(b=!0,h=f.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,p+1)),v=()=>{let S;return g?S=m:b?S=h:f.route.Component?S=l.createElement(f.route.Component,null):f.route.element?S=f.route.element:S=d,l.createElement(FIe,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:S})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?l.createElement(LIe,{location:n.location,revalidation:n.revalidation,component:m,error:g,children:v(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):v()},null)}var zG=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(zG||{}),kv=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}(kv||{});function BIe(e){let t=l.useContext(cO);return t||pr(!1),t}function zIe(e){let t=l.useContext(OIe);return t||pr(!1),t}function HIe(e){let t=l.useContext(gc);return t||pr(!1),t}function HG(e){let t=HIe(),n=t.matches[t.matches.length-1];return n.route.id||pr(!1),n.route.id}function UIe(){var e;let t=l.useContext(LG),n=zIe(kv.UseRouteError),r=HG(kv.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function VIe(){let{router:e}=BIe(zG.UseNavigateStable),t=HG(kv.UseNavigateStable),n=l.useRef(!1);return FG(()=>{n.current=!0}),l.useCallback(function(a,o){o===void 0&&(o={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Tp({fromRouteId:t},o)))},[e,t])}function Rn(e){pr(!1)}function WIe(e){let{basename:t="/",children:n=null,location:r,navigationType:a=ws.Pop,navigator:o,static:i=!1,future:s}=e;Cg()&&pr(!1);let c=t.replace(/^\/*/,"/"),u=l.useMemo(()=>({basename:c,navigator:o,static:i,future:Tp({v7_relativeSplatPath:!1},s)}),[c,s,o,i]);typeof r=="string"&&(r=pd(r));let{pathname:d="/",search:f="",hash:p="",state:g=null,key:b="default"}=r,m=l.useMemo(()=>{let h=lO(d,c);return h==null?null:{location:{pathname:h,search:f,hash:p,state:g,key:b},navigationType:a}},[c,d,f,p,g,b,a]);return m==null?null:l.createElement(pc.Provider,{value:u},l.createElement(x0.Provider,{children:n,value:m}))}function GIe(e){let{children:t,location:n}=e;return AIe(eR(t),n)}new Promise(()=>{});function eR(e,t){t===void 0&&(t=[]);let n=[];return l.Children.forEach(e,(r,a)=>{if(!l.isValidElement(r))return;let o=[...t,a];if(r.type===l.Fragment){n.push.apply(n,eR(r.props.children,o));return}r.type!==Rn&&pr(!1),!r.props.index||!r.props.children||pr(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=eR(r.props.children,o)),n.push(i)}),n}/** + */function Tp(){return Tp=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),l.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let f=DG(u,JSON.parse(i),o,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:As([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,o,e])}function BG(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=l.useContext(pc),{matches:a}=l.useContext(gc),{pathname:o}=tl(),i=JSON.stringify(MG(a,r.v7_relativeSplatPath));return l.useMemo(()=>DG(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function AIe(e,t){return MIe(e,t)}function MIe(e,t,n,r){Cg()||pr(!1);let{navigator:a}=l.useContext(pc),{matches:o}=l.useContext(gc),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=tl(),d;if(t){var f;let h=typeof t=="string"?pd(t):t;c==="/"||(f=h.pathname)!=null&&f.startsWith(c)||pr(!1),d=h}else d=u;let p=d.pathname||"/",g=p;if(c!=="/"){let h=c.replace(/^\//,"").split("/");g="/"+p.replace(/^\//,"").split("/").slice(h.length).join("/")}let v=lIe(e,{pathname:g}),m=jIe(v&&v.map(h=>Object.assign({},h,{params:Object.assign({},s,h.params),pathname:As([c,a.encodeLocation?a.encodeLocation(h.pathname).pathname:h.pathname]),pathnameBase:h.pathnameBase==="/"?c:As([c,a.encodeLocation?a.encodeLocation(h.pathnameBase).pathname:h.pathnameBase])})),o,n,r);return t&&m?l.createElement(x0.Provider,{value:{location:Tp({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:ws.Pop}},m):m}function DIe(){let e=UIe(),t=_Ie(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return l.createElement(l.Fragment,null,l.createElement("h2",null,"Unexpected Application Error!"),l.createElement("h3",{style:{fontStyle:"italic"}},t),n?l.createElement("pre",{style:a},n):null,null)}const PIe=l.createElement(DIe,null);class LIe extends l.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?l.createElement(gc.Provider,{value:this.props.routeContext},l.createElement(LG.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function FIe(e){let{routeContext:t,match:n,children:r}=e,a=l.useContext(cO);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),l.createElement(gc.Provider,{value:t},r)}function jIe(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=(a=n)==null?void 0:a.errors;if(s!=null){let d=i.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);d>=0||pr(!1),i=i.slice(0,Math.min(i.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,p)=>{let g,v=!1,m=null,h=null;n&&(g=s&&f.route.id?s[f.route.id]:void 0,m=f.route.errorElement||PIe,c&&(u<0&&p===0?(v=!0,h=null):u===p&&(v=!0,h=f.route.hydrateFallbackElement||null)));let y=t.concat(i.slice(0,p+1)),b=()=>{let S;return g?S=m:v?S=h:f.route.Component?S=l.createElement(f.route.Component,null):f.route.element?S=f.route.element:S=d,l.createElement(FIe,{match:f,routeContext:{outlet:d,matches:y,isDataRoute:n!=null},children:S})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?l.createElement(LIe,{location:n.location,revalidation:n.revalidation,component:m,error:g,children:b(),routeContext:{outlet:null,matches:y,isDataRoute:!0}}):b()},null)}var zG=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(zG||{}),kv=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}(kv||{});function BIe(e){let t=l.useContext(cO);return t||pr(!1),t}function zIe(e){let t=l.useContext(OIe);return t||pr(!1),t}function HIe(e){let t=l.useContext(gc);return t||pr(!1),t}function HG(e){let t=HIe(),n=t.matches[t.matches.length-1];return n.route.id||pr(!1),n.route.id}function UIe(){var e;let t=l.useContext(LG),n=zIe(kv.UseRouteError),r=HG(kv.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function VIe(){let{router:e}=BIe(zG.UseNavigateStable),t=HG(kv.UseNavigateStable),n=l.useRef(!1);return FG(()=>{n.current=!0}),l.useCallback(function(a,o){o===void 0&&(o={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,Tp({fromRouteId:t},o)))},[e,t])}function Rn(e){pr(!1)}function WIe(e){let{basename:t="/",children:n=null,location:r,navigationType:a=ws.Pop,navigator:o,static:i=!1,future:s}=e;Cg()&&pr(!1);let c=t.replace(/^\/*/,"/"),u=l.useMemo(()=>({basename:c,navigator:o,static:i,future:Tp({v7_relativeSplatPath:!1},s)}),[c,s,o,i]);typeof r=="string"&&(r=pd(r));let{pathname:d="/",search:f="",hash:p="",state:g=null,key:v="default"}=r,m=l.useMemo(()=>{let h=lO(d,c);return h==null?null:{location:{pathname:h,search:f,hash:p,state:g,key:v},navigationType:a}},[c,d,f,p,g,v,a]);return m==null?null:l.createElement(pc.Provider,{value:u},l.createElement(x0.Provider,{children:n,value:m}))}function GIe(e){let{children:t,location:n}=e;return AIe(eR(t),n)}new Promise(()=>{});function eR(e,t){t===void 0&&(t=[]);let n=[];return l.Children.forEach(e,(r,a)=>{if(!l.isValidElement(r))return;let o=[...t,a];if(r.type===l.Fragment){n.push.apply(n,eR(r.props.children,o));return}r.type!==Rn&&pr(!1),!r.props.index||!r.props.children||pr(!1);let i={id:r.props.id||o.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(i.children=eR(r.props.children,o)),n.push(i)}),n}/** * React Router DOM v6.26.0 * * Copyright (c) Remix Software Inc. @@ -509,8 +509,8 @@ html body { * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function tR(){return tR=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function KIe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function YIe(e,t){return e.button===0&&(!t||t==="_self")&&!KIe(e)}const XIe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ZIe="6";try{window.__reactRouterVersion=ZIe}catch{}const QIe="startTransition",nP=Gp[QIe];function JIe(e){let{basename:t,children:n,future:r,window:a}=e,o=l.useRef();o.current==null&&(o.current=oIe({window:a,v5Compat:!0}));let i=o.current,[s,c]=l.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=l.useCallback(f=>{u&&nP?nP(()=>c(f)):c(f)},[c,u]);return l.useLayoutEffect(()=>i.listen(d),[i,d]),l.createElement(WIe,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const eTe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tTe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rt=l.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:o,replace:i,state:s,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=t,p=qIe(t,XIe),{basename:g}=l.useContext(pc),b,m=!1;if(typeof u=="string"&&tTe.test(u)&&(b=u,eTe))try{let S=new URL(window.location.href),w=u.startsWith("//")?new URL(S.protocol+u):new URL(u),x=lO(w.pathname,g);w.origin===S.origin&&x!=null?u=x+w.search+w.hash:m=!0}catch{}let h=NIe(u,{relative:a}),y=nTe(u,{replace:i,state:s,target:c,preventScrollReset:d,relative:a,unstable_viewTransition:f});function v(S){r&&r(S),S.defaultPrevented||y(S)}return l.createElement("a",tR({},p,{href:b||h,onClick:m||o?r:v,ref:n,target:c}))});var rP;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(rP||(rP={}));var aP;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(aP||(aP={}));function nTe(e,t){let{target:n,replace:r,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s}=t===void 0?{}:t,c=jG(),u=tl(),d=BG(e,{relative:i});return l.useCallback(f=>{if(YIe(f,n)){f.preventDefault();let p=r!==void 0?r:Nv(u)===Nv(d);c(e,{replace:p,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s})}},[u,c,d,r,a,n,e,o,i,s])}const UG=le.createContext(void 0),uO=()=>{const e=l.useContext(UG);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},rTe=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},aTe=({children:e})=>{const[t,n]=l.useState(""),[r,a]=l.useState(""),[o,i]=l.useState(""),[s,c]=l.useState([]),u=(d,f)=>{console.log("Play audio: "+d);const p=document.getElementById("globalAudioPlayer");p.src=d,f?(n(f.picture),a(f.series),i(f.episode),c([])):(n(""),a(""),i(rTe(d)),c([])),p.play()};return C.jsx(UG.Provider,{value:{playAudio:u,songImage:t,songArtist:r,songTitle:o,songTracks:s},children:e})},oTe=[{key:"sub",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:le.createElement(BW)},{key:"sub2",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:le.createElement(CSe)}],iTe=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zb,{width:200,children:C.jsx(pi,{mode:"inline",style:{height:"100%",borderRight:0},items:oTe})}),C.jsxs(gi,{style:{padding:"0 24px 24px"},children:[C.jsxs(pg,{style:{margin:"16px 0"},children:[C.jsx(bu,{children:"Home"}),C.jsx(bu,{children:"List"}),C.jsx(bu,{children:"App"})]}),C.jsxs(wW,{style:{padding:24,margin:0,minHeight:280},children:[C.jsx("p",{children:e("welcome.title")}),C.jsx("p",{children:"Sample datepicker from ant design:"}),C.jsx(cd,{})]})]})]})};var xa=function(){return xa=Object.assign||function(t){for(var n,r=1,a=arguments.length;r?@[\\\]^`{|}~-]+/g,dTe=/(^-|-$)/g;function oP(e){return e.replace(uTe,"-").replace(dTe,"")}var fTe=/(a)(d)/gi,Dm=52,iP=function(e){return String.fromCharCode(e+(e>25?39:97))};function nR(e){var t,n="";for(t=Math.abs(e);t>Dm;t=t/Dm|0)n=iP(t%Dm)+n;return(iP(t%Dm)+n).replace(fTe,"$1-$2")}var FS,qG=5381,su=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},KG=function(e){return su(qG,e)};function pTe(e){return nR(KG(e)>>>0)}function gTe(e){return e.displayName||e.name||"Component"}function jS(e){return typeof e=="string"&&!0}var YG=typeof Symbol=="function"&&Symbol.for,XG=YG?Symbol.for("react.memo"):60115,mTe=YG?Symbol.for("react.forward_ref"):60112,hTe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},vTe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ZG={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},bTe=((FS={})[mTe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},FS[XG]=ZG,FS);function sP(e){return("type"in(t=e)&&t.type.$$typeof)===XG?ZG:"$$typeof"in e?bTe[e.$$typeof]:hTe;var t}var yTe=Object.defineProperty,STe=Object.getOwnPropertyNames,lP=Object.getOwnPropertySymbols,wTe=Object.getOwnPropertyDescriptor,CTe=Object.getPrototypeOf,cP=Object.prototype;function QG(e,t,n){if(typeof t!="string"){if(cP){var r=CTe(t);r&&r!==cP&&QG(e,r,n)}var a=STe(t);lP&&(a=a.concat(lP(t)));for(var o=sP(e),i=sP(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var xTe=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,o=a;t>=o;)if((o<<=1)<0)throw xg(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=a;i=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),o=a+r,i=a;i=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(h+="".concat(y,","))}),c+="".concat(b).concat(m,'{content:"').concat(h,'"}').concat(dO)},d=0;d0?".".concat(t):p},d=c.slice();d.push(function(p){p.type===xb&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(MTe,n).replace(r,u))}),i.prefix&&d.push(Xee),d.push($7);var f=function(p,g,b,m){g===void 0&&(g=""),b===void 0&&(b=""),m===void 0&&(m="&"),t=m,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var h=p.replace(DTe,""),y=R7(b||g?"".concat(b," ").concat(g," { ").concat(h," }"):h);i.namespace&&(y=tq(y,i.namespace));var v=[];return pp(y,Kee(d.concat(Yee(function(S){return v.push(S)})))),v};return f.hash=c.length?c.reduce(function(p,g){return g.name||xg(15),su(p,g.name)},qG).toString():"",f}var LTe=new eq,aR=PTe(),nq=le.createContext({shouldForwardProp:void 0,styleSheet:LTe,stylis:aR});nq.Consumer;le.createContext(void 0);function pP(){return l.useContext(nq)}var FTe=function(){function e(t,n){var r=this;this.inject=function(a,o){o===void 0&&(o=aR);var i=r.name+o.hash;a.hasNameForId(r.id,i)||a.insertRules(r.id,i,o(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,pO(this,function(){throw xg(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=aR),this.name+t.hash},e}(),jTe=function(e){return e>="A"&&e<="Z"};function gP(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,i)){var s=r(o,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,s)}a=Il(a,i),this.staticRulesId=i}else{for(var c=su(this.baseHash,r.hash),u="",d=0;d>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(u,".".concat(g),void 0,this.componentId)),a=Il(a,g)}}return a},e}(),oq=le.createContext(void 0);oq.Consumer;var BS={};function UTe(e,t,n){var r=fO(e),a=e,o=!jS(e),i=t.attrs,s=i===void 0?I0:i,c=t.componentId,u=c===void 0?function(w,x){var E=typeof w!="string"?"sc":oP(w);BS[E]=(BS[E]||0)+1;var I="".concat(E,"-").concat(pTe(E0+E+BS[E]));return x?"".concat(x,"-").concat(I):I}(t.displayName,t.parentComponentId):c,d=t.displayName,f=d===void 0?function(w){return jS(w)?"styled.".concat(w):"Styled(".concat(gTe(w),")")}(e):d,p=t.displayName&&t.componentId?"".concat(oP(t.displayName),"-").concat(t.componentId):t.componentId||u,g=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,b=t.shouldForwardProp;if(r&&a.shouldForwardProp){var m=a.shouldForwardProp;if(t.shouldForwardProp){var h=t.shouldForwardProp;b=function(w,x){return m(w,x)&&h(w,x)}}else b=m}var y=new HTe(n,p,r?a.componentStyle:void 0);function v(w,x){return function(E,I,R){var T=E.attrs,_=E.componentStyle,$=E.defaultProps,D=E.foldedComponentIds,P=E.styledComponentId,A=E.target,O=le.useContext(oq),N=pP(),k=E.shouldForwardProp||N.shouldForwardProp,M=cTe(I,O,$)||Hu,L=function(U,Z,q){for(var Y,te=xa(xa({},Z),{className:void 0,theme:q}),ee=0;eeWTe().token,Eg=ma(pi)` + */function tR(){return tR=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function KIe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function YIe(e,t){return e.button===0&&(!t||t==="_self")&&!KIe(e)}const XIe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],ZIe="6";try{window.__reactRouterVersion=ZIe}catch{}const QIe="startTransition",nP=Gp[QIe];function JIe(e){let{basename:t,children:n,future:r,window:a}=e,o=l.useRef();o.current==null&&(o.current=oIe({window:a,v5Compat:!0}));let i=o.current,[s,c]=l.useState({action:i.action,location:i.location}),{v7_startTransition:u}=r||{},d=l.useCallback(f=>{u&&nP?nP(()=>c(f)):c(f)},[c,u]);return l.useLayoutEffect(()=>i.listen(d),[i,d]),l.createElement(WIe,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const eTe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",tTe=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Rt=l.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:o,replace:i,state:s,target:c,to:u,preventScrollReset:d,unstable_viewTransition:f}=t,p=qIe(t,XIe),{basename:g}=l.useContext(pc),v,m=!1;if(typeof u=="string"&&tTe.test(u)&&(v=u,eTe))try{let S=new URL(window.location.href),w=u.startsWith("//")?new URL(S.protocol+u):new URL(u),x=lO(w.pathname,g);w.origin===S.origin&&x!=null?u=x+w.search+w.hash:m=!0}catch{}let h=NIe(u,{relative:a}),y=nTe(u,{replace:i,state:s,target:c,preventScrollReset:d,relative:a,unstable_viewTransition:f});function b(S){r&&r(S),S.defaultPrevented||y(S)}return l.createElement("a",tR({},p,{href:v||h,onClick:m||o?r:b,ref:n,target:c}))});var rP;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(rP||(rP={}));var aP;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(aP||(aP={}));function nTe(e,t){let{target:n,replace:r,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s}=t===void 0?{}:t,c=jG(),u=tl(),d=BG(e,{relative:i});return l.useCallback(f=>{if(YIe(f,n)){f.preventDefault();let p=r!==void 0?r:Nv(u)===Nv(d);c(e,{replace:p,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s})}},[u,c,d,r,a,n,e,o,i,s])}const UG=le.createContext(void 0),uO=()=>{const e=l.useContext(UG);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},rTe=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},aTe=({children:e})=>{const[t,n]=l.useState(""),[r,a]=l.useState(""),[o,i]=l.useState(""),[s,c]=l.useState([]),u=(d,f)=>{console.log("Play audio: "+d);const p=document.getElementById("globalAudioPlayer");p.src=d,f?(n(f.picture),a(f.series),i(f.episode),c([])):(n(""),a(""),i(rTe(d)),c([])),p.play()};return C.jsx(UG.Provider,{value:{playAudio:u,songImage:t,songArtist:r,songTitle:o,songTracks:s},children:e})},oTe=[{key:"sub",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:le.createElement(BW)},{key:"sub2",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:le.createElement(CSe)}],iTe=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zb,{width:200,children:C.jsx(pi,{mode:"inline",style:{height:"100%",borderRight:0},items:oTe})}),C.jsxs(gi,{style:{padding:"0 24px 24px"},children:[C.jsxs(pg,{style:{margin:"16px 0"},children:[C.jsx(bu,{children:"Home"}),C.jsx(bu,{children:"List"}),C.jsx(bu,{children:"App"})]}),C.jsxs(wW,{style:{padding:24,margin:0,minHeight:280},children:[C.jsx("p",{children:e("welcome.title")}),C.jsx("p",{children:"Sample datepicker from ant design:"}),C.jsx(cd,{})]})]})]})};var xa=function(){return xa=Object.assign||function(t){for(var n,r=1,a=arguments.length;r?@[\\\]^`{|}~-]+/g,dTe=/(^-|-$)/g;function oP(e){return e.replace(uTe,"-").replace(dTe,"")}var fTe=/(a)(d)/gi,Dm=52,iP=function(e){return String.fromCharCode(e+(e>25?39:97))};function nR(e){var t,n="";for(t=Math.abs(e);t>Dm;t=t/Dm|0)n=iP(t%Dm)+n;return(iP(t%Dm)+n).replace(fTe,"$1-$2")}var FS,qG=5381,su=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},KG=function(e){return su(qG,e)};function pTe(e){return nR(KG(e)>>>0)}function gTe(e){return e.displayName||e.name||"Component"}function jS(e){return typeof e=="string"&&!0}var YG=typeof Symbol=="function"&&Symbol.for,XG=YG?Symbol.for("react.memo"):60115,mTe=YG?Symbol.for("react.forward_ref"):60112,hTe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},vTe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ZG={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},bTe=((FS={})[mTe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},FS[XG]=ZG,FS);function sP(e){return("type"in(t=e)&&t.type.$$typeof)===XG?ZG:"$$typeof"in e?bTe[e.$$typeof]:hTe;var t}var yTe=Object.defineProperty,STe=Object.getOwnPropertyNames,lP=Object.getOwnPropertySymbols,wTe=Object.getOwnPropertyDescriptor,CTe=Object.getPrototypeOf,cP=Object.prototype;function QG(e,t,n){if(typeof t!="string"){if(cP){var r=CTe(t);r&&r!==cP&&QG(e,r,n)}var a=STe(t);lP&&(a=a.concat(lP(t)));for(var o=sP(e),i=sP(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var xTe=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,a=r.length,o=a;t>=o;)if((o<<=1)<0)throw xg(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var i=a;i=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),o=a+r,i=a;i=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(h+="".concat(y,","))}),c+="".concat(v).concat(m,'{content:"').concat(h,'"}').concat(dO)},d=0;d0?".".concat(t):p},d=c.slice();d.push(function(p){p.type===xb&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(MTe,n).replace(r,u))}),i.prefix&&d.push(Xee),d.push($7);var f=function(p,g,v,m){g===void 0&&(g=""),v===void 0&&(v=""),m===void 0&&(m="&"),t=m,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var h=p.replace(DTe,""),y=R7(v||g?"".concat(v," ").concat(g," { ").concat(h," }"):h);i.namespace&&(y=tq(y,i.namespace));var b=[];return pp(y,Kee(d.concat(Yee(function(S){return b.push(S)})))),b};return f.hash=c.length?c.reduce(function(p,g){return g.name||xg(15),su(p,g.name)},qG).toString():"",f}var LTe=new eq,aR=PTe(),nq=le.createContext({shouldForwardProp:void 0,styleSheet:LTe,stylis:aR});nq.Consumer;le.createContext(void 0);function pP(){return l.useContext(nq)}var FTe=function(){function e(t,n){var r=this;this.inject=function(a,o){o===void 0&&(o=aR);var i=r.name+o.hash;a.hasNameForId(r.id,i)||a.insertRules(r.id,i,o(r.rules,i,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,pO(this,function(){throw xg(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=aR),this.name+t.hash},e}(),jTe=function(e){return e>="A"&&e<="Z"};function gP(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,i)){var s=r(o,".".concat(i),void 0,this.componentId);n.insertRules(this.componentId,i,s)}a=Il(a,i),this.staticRulesId=i}else{for(var c=su(this.baseHash,r.hash),u="",d=0;d>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(u,".".concat(g),void 0,this.componentId)),a=Il(a,g)}}return a},e}(),oq=le.createContext(void 0);oq.Consumer;var BS={};function UTe(e,t,n){var r=fO(e),a=e,o=!jS(e),i=t.attrs,s=i===void 0?I0:i,c=t.componentId,u=c===void 0?function(w,x){var E=typeof w!="string"?"sc":oP(w);BS[E]=(BS[E]||0)+1;var I="".concat(E,"-").concat(pTe(E0+E+BS[E]));return x?"".concat(x,"-").concat(I):I}(t.displayName,t.parentComponentId):c,d=t.displayName,f=d===void 0?function(w){return jS(w)?"styled.".concat(w):"Styled(".concat(gTe(w),")")}(e):d,p=t.displayName&&t.componentId?"".concat(oP(t.displayName),"-").concat(t.componentId):t.componentId||u,g=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,v=t.shouldForwardProp;if(r&&a.shouldForwardProp){var m=a.shouldForwardProp;if(t.shouldForwardProp){var h=t.shouldForwardProp;v=function(w,x){return m(w,x)&&h(w,x)}}else v=m}var y=new HTe(n,p,r?a.componentStyle:void 0);function b(w,x){return function(E,I,R){var T=E.attrs,_=E.componentStyle,$=E.defaultProps,D=E.foldedComponentIds,P=E.styledComponentId,A=E.target,O=le.useContext(oq),N=pP(),k=E.shouldForwardProp||N.shouldForwardProp,M=cTe(I,O,$)||Hu,L=function(U,Z,q){for(var Y,ee=xa(xa({},Z),{className:void 0,theme:q}),te=0;teWTe().token,Eg=ma(pi)` height: 100%; border-right: 0; `,Zn=ma(Zb)` @@ -538,29 +538,29 @@ html body { } `;ma(bu)` padding: 10px; -`;const Jn=({items:e})=>{const{t}=Ft();return l.useEffect(()=>{if(e.length===1)document.title="TeddyCloud";else{const n=e.slice(1).map(r=>t(r.title)).join(" - ");document.title="TeddyCloud - "+n}},[e,t]),C.jsx(qTe,{items:e})},KTe="http://localhost".replace(/\/+$/,"");class sq{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:KTe}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||cq}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const YTe=new sq,Wv=class Wv{constructor(t=YTe){ol(this,"middleware");ol(this,"fetchApi",async(t,n)=>{let r={url:t,init:n};for(const o of this.middleware)o.pre&&(r=await o.pre({fetch:this.fetchApi,...r})||r);let a;try{a=await(this.configuration.fetchApi||fetch)(r.url,r.init)}catch(o){for(const i of this.middleware)i.onError&&(a=await i.onError({fetch:this.fetchApi,url:r.url,init:r.init,error:o,response:a?a.clone():void 0})||a);if(a===void 0)throw o instanceof Error?new JTe(o,"The request failed and the interceptors did not return an alternative response"):o}for(const o of this.middleware)o.post&&(a=await o.post({fetch:this.fetchApi,url:r.url,init:r.init,response:a.clone()})||a);return a});this.configuration=t,this.middleware=t.middleware}withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(r=>({pre:r}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(r=>({post:r}));return this.withMiddleware(...n)}isJsonMime(t){return t?Wv.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:a}=await this.createFetchParams(t,n),o=await this.fetchApi(r,a);if(o&&o.status>=200&&o.status<300)return o;throw new QTe(o,"Response returned an error code")}async createFetchParams(t,n){let r=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(r+="?"+this.configuration.queryParamsStringify(t.query));const a=Object.assign({},this.configuration.headers,t.headers);Object.keys(a).forEach(u=>a[u]===void 0?delete a[u]:{});const o=typeof n=="function"?n:async()=>n,i={method:t.method,headers:a,body:t.body,credentials:this.configuration.credentials},s={...i,...await o({init:i,context:t})},c={...s,body:ZTe(s.body)||s.body instanceof URLSearchParams||XTe(s.body)?s.body:JSON.stringify(s.body)};return{url:r,init:c}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};ol(Wv,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let $p=Wv;function XTe(e){return typeof Blob<"u"&&e instanceof Blob}function ZTe(e){return typeof FormData<"u"&&e instanceof FormData}class QTe extends Error{constructor(n,r){super(r);ol(this,"name","ResponseError");this.response=n}}class JTe extends Error{constructor(n,r){super(r);ol(this,"name","FetchError");this.cause=n}}class eRe extends Error{constructor(n,r){super(r);ol(this,"name","RequiredError");this.field=n}}function lq(e,t){const n=e[t];return n!=null}function cq(e,t=""){return Object.keys(e).map(n=>uq(n,e[n],t)).filter(n=>n.length>0).join("&")}function uq(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const a=t.map(o=>encodeURIComponent(String(o))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${a}`}if(t instanceof Set){const a=Array.from(t);return uq(e,a,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?cq(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function tRe(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class _i{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class nRe{constructor(t){this.raw=t}async value(){}}class Pv{constructor(t){this.raw=t}async value(){return await this.raw.text()}}class dq extends $p{async v1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new _i(a):new Pv(a)}async v1TimeGet(t){return await(await this.v1TimeGetRaw(t)).value()}}class rRe extends $p{async reverseV1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/reverse/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new _i(a):new Pv(a)}async reverseV1TimeGet(t){return await(await this.reverseV1TimeGetRaw(t)).value()}}function aRe(e){return oRe(e)}function oRe(e,t){return e==null?e:{iD:e.ID,shortname:e.shortname,description:e.description,label:e.label,type:e.type,value:e.value,overlayed:e.overlayed}}function iRe(e){return sRe(e)}function sRe(e,t){return e==null?e:{options:lq(e,"options")?e.options.map(aRe):void 0}}function lRe(e){return cRe(e)}function cRe(e,t){return e==null?e:{iD:e.ID,description:e.description,value:e.value}}function uRe(e){return dRe(e)}function dRe(e,t){return e==null?e:{stats:lq(e,"stats")?e.stats.map(lRe):void 0}}class wn extends $p{async apiGetTonieboxesIndexRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/getBoxes",void 0,t);return new _i(n)}async apiGetTonieboxesIndex(t){return(await(await this.apiGetTonieboxesIndexRaw(t)).value()).boxes}async apiGetTagIndexRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/getTagIndex",t,n);return new _i(r)}async apiGetTagIndex(t,n,r){return(await(await this.apiGetTagIndexRaw(t,r)).value()).tags}async apiGetTagInfoRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/getTagInfo?ruid=${t}`,n,r);return new _i(a)}async apiGetTagInfo(t,n,r){return(await(await this.apiGetTagInfoRaw(t,n,r)).value()).tagInfo}async apiGetTagIndexMergedAllOverlays(t,n){const r=await this.apiGetTonieboxesIndex();return(await Promise.all([...r.map(async s=>await this.apiGetTagIndex(s.ID,t,n)),this.apiGetTagIndex("",t,n)])).flat().filter((s,c,u)=>c===u.findIndex(d=>d.ruid===s.ruid&&d.source===s.source))}async apiGetIndexGetRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/settings/getIndex",t,n);return new _i(r,a=>iRe(a))}async apiGetIndexGet(t,n){return await(await this.apiGetIndexGetRaw(t,n)).value()}async apiSetCloudCacheContentPostRaw(t,n){if(t.body===null||t.body===void 0)throw new eRe("body","Required parameter requestParameters.body was null or undefined when calling apiSetCloudCacheContentPost.");const r=await this.apiPostTeddyCloudSetting("cloud.cacheContent",t.body,void 0,void 0,n);return new nRe(r)}async apiSetCloudCacheContentPost(t,n){await this.apiSetCloudCacheContentPostRaw(t,n)}async apiStatsGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/stats",void 0,t);return new _i(n,r=>uRe(r))}async apiStatsGet(t){return await(await this.apiStatsGetRaw(t)).value()}async apiTriggerWriteConfigGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/triggerWriteConfig",void 0,t);return this.isJsonMime(n.headers.get("content-type"))?new _i(n):new Pv(n)}async apiTriggerWriteConfigGet(t){return await(await this.apiTriggerWriteConfigGetRaw(t)).value()}async apiUploadCertPostRaw(t,n,r){const a={},o={},s=tRe([{contentType:"multipart/form-data"}]);let c,u=!1,d="/api/uploadCert";n!==""&&n!==void 0&&(d=d+"?overlay="+n),u=s,u?c=new FormData:c=new URLSearchParams,t.filename&&t.filename.forEach(p=>{c.append("filename",p)});const f=await this.request({path:d,method:"POST",headers:o,query:a,body:c},r);return this.isJsonMime(f.headers.get("content-type"))?new _i(f):new Pv(f)}async apiUploadCertPost(t={},n,r){return await(await this.apiUploadCertPostRaw(t,n,r)).value()}async apiGetLastOnline(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_connection",t,n)).text();return(a?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxStatus(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.online",t,n)).text()==="true"}async apiGetTonieboxVersion(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.toniebox_firmware.boxIC",t,n)).text()}async apiGetTonieboxLastRUID(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid",t,n)).text()}async apiGetTonieboxLastRUIDTime(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid_time",t,n)).text();return(a?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxLastIp(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.ip",t,n)).text()}async apiGetTonieboxContentDir(t,n){return await(await this.apiGetTeddyCloudSettingRaw("core.contentdir",t,n)).text()}async apiGetTonieboxApiAccess(t,n){return await(await this.apiGetTeddyCloudSettingRaw("toniebox.api_access",t,n)).text()==="true"}async apiGetNewBoxesAllowed(t){return await(await this.apiGetTeddyCloudSettingRaw("core.allowNewBox",void 0,t)).text()==="true"}async apiGetSecurityMITAlert(t){return await(await this.apiGetTeddyCloudSettingRaw("internal.security_mit.incident",void 0,t)).text()==="true"}async apiGetTeddyCloudSettingRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/settings/get/${t}`,n,r);if(!a.ok)throw new Error(`Error: ${a.status} ${a.statusText}`);return a}async apiPostTeddyCloudSetting(t,n,r,a,o,i={}){i["Content-Type"]||(i["Content-Type"]="text/plain");const s=await this.apiPostTeddyCloudRaw(`/api/settings/${a&&a===!0?"reset":"set"}/${t}`,(n==null?void 0:n.toString())||"",r,o,i);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiGetTeddyCloudApiRaw(t,n,r){const a={},o={},i=await this.request({path:`${t}${n?"?overlay="+n:""}`,method:"GET",headers:o,query:a},r);if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}async apiPostTeddyCloudContentJson(t,n,r,a,o={}){const i=await this.apiPostTeddyCloudRaw(`/content/json/set/${t}`,n,r,a,o);if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}async apiPostTeddyCloudRaw(t,n,r,a,o={}){o["Content-Type"]||(o["Content-Type"]="text/plain");const i=c=>new Blob([c],{type:"text/plain"}),s=await this.request({path:`${t}${r?"?overlay="+r:""}`,method:"POST",headers:o,body:i((n==null?void 0:n.toString())||"")},a);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiPostTeddyCloudFormDataRaw(t,n,r,a,o={}){const i=await fetch(""+t,{method:"POST",body:n});if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}}const fn=()=>new sq({basePath:""}),fRe=new wn(fn()),pRe=new dq(fn()),gRe=async(e=!0)=>{try{if((await(await fRe.apiGetTeddyCloudApiRaw("/api/triggerRestart")).text()).toString()!=="OK"){lt.error(kd("settings.restartFailed"));return}}catch{lt.error(kd("settings.restartFailed"));return}const t=lt.loading(kd("settings.restartInProgress"),0);await new Promise(r=>setTimeout(r,3e3));let n=0;for(;n<10;)try{if((await pRe.v1TimeGet()).length===10){t(),lt.success(kd("settings.restartComplete")),e&&(window.location.href="/web");return}}catch{n++,await new Promise(a=>setTimeout(a,3e3))}t(),lt.error(kd("settings.restartFailed"))},mRe=new wn(fn()),Vu=()=>{const{t:e}=Ft(),[t,n]=l.useState(""),[r,a]=lt.useMessage(),o=async()=>{await gRe(!0),n("")},i=u=>{const d=new URL(u),f=d.port?`:${d.port}`:"";return`${d.protocol}//${d.hostname}${f}`},s=async()=>{try{const d=await(await mRe.apiGetTeddyCloudApiRaw("/api/toniesJsonUpdate")).text();n(""),d.toString()!=="Triggered tonies.json update"?r.open({type:"error",content:e("settings.tonieJsonUpdateFailed")}):r.open({type:"success",content:e("settings.tonieJsonUpdateTriggered")})}catch{r.open({type:"error",content:e("settings.tonieJsonUpdateFailed")})}},c=[{key:"general",label:C.jsx(Rt,{to:"/settings",children:e("settings.general.navigationTitle")}),icon:le.createElement(W$),title:e("settings.general.navigationTitle")},{key:"certificates",label:C.jsx(Rt,{to:"/settings/certificates",children:e("settings.certificates.navigationTitle")}),icon:le.createElement(PW),title:e("settings.certificates.navigationTitle")},{key:"rtnl",label:C.jsx(Rt,{to:"/settings/rtnl",children:e("settings.rtnl.navigationTitle")}),icon:le.createElement(Bye),title:e("settings.rtnl.navigationTitle")},{key:"update_toniesJson",label:C.jsx("label",{style:{cursor:"pointer"},children:e("settings.updateToniesJson")}),onClick:s,icon:le.createElement(jW),title:e("settings.updateToniesJson")},{key:"restart_server",label:C.jsx("label",{style:{cursor:"pointer"},children:e("settings.restartServer")}),onClick:o,icon:le.createElement(l1e),title:e("settings.restartServer")},{key:"legacy",label:C.jsx(Rt,{to:`${i(new URL(window.location.href))}/legacy.html`,target:"_blank",children:e("settings.legacyGui")}),icon:le.createElement(cSe),title:e("settings.legacyGui")}];return C.jsxs(C.Fragment,{children:[a,C.jsx(Eg,{mode:"inline",selectedKeys:[t],defaultOpenKeys:["sub"],items:c})]})};var hRe=function(t){return vRe(t)&&!bRe(t)};function vRe(e){return!!e&&typeof e=="object"}function bRe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||wRe(e)}var yRe=typeof Symbol=="function"&&Symbol.for,SRe=yRe?Symbol.for("react.element"):60103;function wRe(e){return e.$$typeof===SRe}function CRe(e){return Array.isArray(e)?[]:{}}function Lv(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Op(CRe(e),e,t):e}function xRe(e,t,n){return e.concat(t).map(function(r){return Lv(r,n)})}function ERe(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=Lv(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=Lv(t[a],n):r[a]=Op(e[a],t[a],n)}),r}function Op(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||xRe,n.isMergeableObject=n.isMergeableObject||hRe;var r=Array.isArray(t),a=Array.isArray(e),o=r===a;return o?r?n.arrayMerge(e,t,n):ERe(e,t,n):Lv(t,n)}Op.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Op(r,a,n)},{})};var iR=Op,fq=typeof global=="object"&&global&&global.Object===Object&&global,IRe=typeof self=="object"&&self&&self.Object===Object&&self,vi=fq||IRe||Function("return this")(),Hs=vi.Symbol,pq=Object.prototype,TRe=pq.hasOwnProperty,RRe=pq.toString,Ud=Hs?Hs.toStringTag:void 0;function _Re(e){var t=TRe.call(e,Ud),n=e[Ud];try{e[Ud]=void 0;var r=!0}catch{}var a=RRe.call(e);return r&&(t?e[Ud]=n:delete e[Ud]),a}var $Re=Object.prototype,ORe=$Re.toString;function NRe(e){return ORe.call(e)}var kRe="[object Null]",ARe="[object Undefined]",vP=Hs?Hs.toStringTag:void 0;function mc(e){return e==null?e===void 0?ARe:kRe:vP&&vP in Object(e)?_Re(e):NRe(e)}function gq(e,t){return function(n){return e(t(n))}}var gO=gq(Object.getPrototypeOf,Object);function hc(e){return e!=null&&typeof e=="object"}var MRe="[object Object]",DRe=Function.prototype,PRe=Object.prototype,mq=DRe.toString,LRe=PRe.hasOwnProperty,FRe=mq.call(Object);function bP(e){if(!hc(e)||mc(e)!=MRe)return!1;var t=gO(e);if(t===null)return!0;var n=LRe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&mq.call(n)==FRe}function jRe(){this.__data__=[],this.size=0}function hq(e,t){return e===t||e!==e&&t!==t}function T0(e,t){for(var n=e.length;n--;)if(hq(e[n][0],t))return n;return-1}var BRe=Array.prototype,zRe=BRe.splice;function HRe(e){var t=this.__data__,n=T0(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():zRe.call(t,n,1),--this.size,!0}function URe(e){var t=this.__data__,n=T0(t,e);return n<0?void 0:t[n][1]}function VRe(e){return T0(this.__data__,e)>-1}function WRe(e,t){var n=this.__data__,r=T0(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ts(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=W_e}var G_e="[object Arguments]",q_e="[object Array]",K_e="[object Boolean]",Y_e="[object Date]",X_e="[object Error]",Z_e="[object Function]",Q_e="[object Map]",J_e="[object Number]",e$e="[object Object]",t$e="[object RegExp]",n$e="[object Set]",r$e="[object String]",a$e="[object WeakMap]",o$e="[object ArrayBuffer]",i$e="[object DataView]",s$e="[object Float32Array]",l$e="[object Float64Array]",c$e="[object Int8Array]",u$e="[object Int16Array]",d$e="[object Int32Array]",f$e="[object Uint8Array]",p$e="[object Uint8ClampedArray]",g$e="[object Uint16Array]",m$e="[object Uint32Array]",Fn={};Fn[s$e]=Fn[l$e]=Fn[c$e]=Fn[u$e]=Fn[d$e]=Fn[f$e]=Fn[p$e]=Fn[g$e]=Fn[m$e]=!0;Fn[G_e]=Fn[q_e]=Fn[o$e]=Fn[K_e]=Fn[i$e]=Fn[Y_e]=Fn[X_e]=Fn[Z_e]=Fn[Q_e]=Fn[J_e]=Fn[e$e]=Fn[t$e]=Fn[n$e]=Fn[r$e]=Fn[a$e]=!1;function h$e(e){return hc(e)&&xq(e.length)&&!!Fn[mc(e)]}function mO(e){return function(t){return e(t)}}var Eq=typeof Ga=="object"&&Ga&&!Ga.nodeType&&Ga,Af=Eq&&typeof qa=="object"&&qa&&!qa.nodeType&&qa,v$e=Af&&Af.exports===Eq,HS=v$e&&fq.process,Wu=function(){try{var e=Af&&Af.require&&Af.require("util").types;return e||HS&&HS.binding&&HS.binding("util")}catch{}}(),EP=Wu&&Wu.isTypedArray,b$e=EP?mO(EP):h$e,y$e=Object.prototype,S$e=y$e.hasOwnProperty;function Iq(e,t){var n=Tg(e),r=!n&&F_e(e),a=!n&&!r&&Cq(e),o=!n&&!r&&!a&&b$e(e),i=n||r||a||o,s=i?M_e(e.length,String):[],c=s.length;for(var u in e)(t||S$e.call(e,u))&&!(i&&(u=="length"||a&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||V_e(u,c)))&&s.push(u);return s}var w$e=Object.prototype;function hO(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||w$e;return e===n}var C$e=gq(Object.keys,Object),x$e=Object.prototype,E$e=x$e.hasOwnProperty;function I$e(e){if(!hO(e))return C$e(e);var t=[];for(var n in Object(e))E$e.call(e,n)&&n!="constructor"&&t.push(n);return t}function Tq(e){return e!=null&&xq(e.length)&&!vq(e)}function vO(e){return Tq(e)?Iq(e):I$e(e)}function T$e(e,t){return e&&_0(t,vO(t),e)}function R$e(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var _$e=Object.prototype,$$e=_$e.hasOwnProperty;function O$e(e){if(!Ig(e))return R$e(e);var t=hO(e),n=[];for(var r in e)r=="constructor"&&(t||!$$e.call(e,r))||n.push(r);return n}function bO(e){return Tq(e)?Iq(e,!0):O$e(e)}function N$e(e,t){return e&&_0(t,bO(t),e)}var Rq=typeof Ga=="object"&&Ga&&!Ga.nodeType&&Ga,IP=Rq&&typeof qa=="object"&&qa&&!qa.nodeType&&qa,k$e=IP&&IP.exports===Rq,TP=k$e?vi.Buffer:void 0,RP=TP?TP.allocUnsafe:void 0;function A$e(e,t){if(t)return e.slice();var n=e.length,r=RP?RP(n):new e.constructor(n);return e.copy(r),r}function _q(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n{const{t}=Ft();return l.useEffect(()=>{if(e.length===1)document.title="TeddyCloud";else{const n=e.slice(1).map(r=>t(r.title)).join(" - ");document.title="TeddyCloud - "+n}},[e,t]),C.jsx(qTe,{items:e})},KTe="http://localhost".replace(/\/+$/,"");class sq{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:KTe}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||cq}get username(){return this.configuration.username}get password(){return this.configuration.password}get apiKey(){const t=this.configuration.apiKey;if(t)return typeof t=="function"?t:()=>t}get accessToken(){const t=this.configuration.accessToken;if(t)return typeof t=="function"?t:async()=>t}get headers(){return this.configuration.headers}get credentials(){return this.configuration.credentials}}const YTe=new sq,Wv=class Wv{constructor(t=YTe){ol(this,"middleware");ol(this,"fetchApi",async(t,n)=>{let r={url:t,init:n};for(const o of this.middleware)o.pre&&(r=await o.pre({fetch:this.fetchApi,...r})||r);let a;try{a=await(this.configuration.fetchApi||fetch)(r.url,r.init)}catch(o){for(const i of this.middleware)i.onError&&(a=await i.onError({fetch:this.fetchApi,url:r.url,init:r.init,error:o,response:a?a.clone():void 0})||a);if(a===void 0)throw o instanceof Error?new JTe(o,"The request failed and the interceptors did not return an alternative response"):o}for(const o of this.middleware)o.post&&(a=await o.post({fetch:this.fetchApi,url:r.url,init:r.init,response:a.clone()})||a);return a});this.configuration=t,this.middleware=t.middleware}withMiddleware(...t){const n=this.clone();return n.middleware=n.middleware.concat(...t),n}withPreMiddleware(...t){const n=t.map(r=>({pre:r}));return this.withMiddleware(...n)}withPostMiddleware(...t){const n=t.map(r=>({post:r}));return this.withMiddleware(...n)}isJsonMime(t){return t?Wv.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:a}=await this.createFetchParams(t,n),o=await this.fetchApi(r,a);if(o&&o.status>=200&&o.status<300)return o;throw new QTe(o,"Response returned an error code")}async createFetchParams(t,n){let r=this.configuration.basePath+t.path;t.query!==void 0&&Object.keys(t.query).length!==0&&(r+="?"+this.configuration.queryParamsStringify(t.query));const a=Object.assign({},this.configuration.headers,t.headers);Object.keys(a).forEach(u=>a[u]===void 0?delete a[u]:{});const o=typeof n=="function"?n:async()=>n,i={method:t.method,headers:a,body:t.body,credentials:this.configuration.credentials},s={...i,...await o({init:i,context:t})},c={...s,body:ZTe(s.body)||s.body instanceof URLSearchParams||XTe(s.body)?s.body:JSON.stringify(s.body)};return{url:r,init:c}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};ol(Wv,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let $p=Wv;function XTe(e){return typeof Blob<"u"&&e instanceof Blob}function ZTe(e){return typeof FormData<"u"&&e instanceof FormData}class QTe extends Error{constructor(n,r){super(r);ol(this,"name","ResponseError");this.response=n}}class JTe extends Error{constructor(n,r){super(r);ol(this,"name","FetchError");this.cause=n}}class eRe extends Error{constructor(n,r){super(r);ol(this,"name","RequiredError");this.field=n}}function lq(e,t){const n=e[t];return n!=null}function cq(e,t=""){return Object.keys(e).map(n=>uq(n,e[n],t)).filter(n=>n.length>0).join("&")}function uq(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const a=t.map(o=>encodeURIComponent(String(o))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${a}`}if(t instanceof Set){const a=Array.from(t);return uq(e,a,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?cq(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function tRe(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class _i{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class nRe{constructor(t){this.raw=t}async value(){}}class Pv{constructor(t){this.raw=t}async value(){return await this.raw.text()}}class dq extends $p{async v1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new _i(a):new Pv(a)}async v1TimeGet(t){return await(await this.v1TimeGetRaw(t)).value()}}class rRe extends $p{async reverseV1TimeGetRaw(t){const n={},r={},a=await this.request({path:"/reverse/v1/time",method:"GET",headers:r,query:n},t);return this.isJsonMime(a.headers.get("content-type"))?new _i(a):new Pv(a)}async reverseV1TimeGet(t){return await(await this.reverseV1TimeGetRaw(t)).value()}}function aRe(e){return oRe(e)}function oRe(e,t){return e==null?e:{iD:e.ID,shortname:e.shortname,description:e.description,label:e.label,type:e.type,value:e.value,overlayed:e.overlayed}}function iRe(e){return sRe(e)}function sRe(e,t){return e==null?e:{options:lq(e,"options")?e.options.map(aRe):void 0}}function lRe(e){return cRe(e)}function cRe(e,t){return e==null?e:{iD:e.ID,description:e.description,value:e.value}}function uRe(e){return dRe(e)}function dRe(e,t){return e==null?e:{stats:lq(e,"stats")?e.stats.map(lRe):void 0}}class wn extends $p{async apiGetTonieboxesIndexRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/getBoxes",void 0,t);return new _i(n)}async apiGetTonieboxesIndex(t){return(await(await this.apiGetTonieboxesIndexRaw(t)).value()).boxes}async apiGetTagIndexRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/getTagIndex",t,n);return new _i(r)}async apiGetTagIndex(t,n,r){return(await(await this.apiGetTagIndexRaw(t,r)).value()).tags}async apiGetTagInfoRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/getTagInfo?ruid=${t}`,n,r);return new _i(a)}async apiGetTagInfo(t,n,r){return(await(await this.apiGetTagInfoRaw(t,n,r)).value()).tagInfo}async apiGetTagIndexMergedAllOverlays(t,n){const r=await this.apiGetTonieboxesIndex();return(await Promise.all([...r.map(async s=>await this.apiGetTagIndex(s.ID,t,n)),this.apiGetTagIndex("",t,n)])).flat().filter((s,c,u)=>c===u.findIndex(d=>d.ruid===s.ruid&&d.source===s.source))}async apiGetIndexGetRaw(t,n){const r=await this.apiGetTeddyCloudApiRaw("/api/settings/getIndex",t,n);return new _i(r,a=>iRe(a))}async apiGetIndexGet(t,n){return await(await this.apiGetIndexGetRaw(t,n)).value()}async apiSetCloudCacheContentPostRaw(t,n){if(t.body===null||t.body===void 0)throw new eRe("body","Required parameter requestParameters.body was null or undefined when calling apiSetCloudCacheContentPost.");const r=await this.apiPostTeddyCloudSetting("cloud.cacheContent",t.body,void 0,void 0,n);return new nRe(r)}async apiSetCloudCacheContentPost(t,n){await this.apiSetCloudCacheContentPostRaw(t,n)}async apiStatsGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/stats",void 0,t);return new _i(n,r=>uRe(r))}async apiStatsGet(t){return await(await this.apiStatsGetRaw(t)).value()}async apiTriggerWriteConfigGetRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/triggerWriteConfig",void 0,t);return this.isJsonMime(n.headers.get("content-type"))?new _i(n):new Pv(n)}async apiTriggerWriteConfigGet(t){return await(await this.apiTriggerWriteConfigGetRaw(t)).value()}async apiUploadCertPostRaw(t,n,r){const a={},o={},s=tRe([{contentType:"multipart/form-data"}]);let c,u=!1,d="/api/uploadCert";n!==""&&n!==void 0&&(d=d+"?overlay="+n),u=s,u?c=new FormData:c=new URLSearchParams,t.filename&&t.filename.forEach(p=>{c.append("filename",p)});const f=await this.request({path:d,method:"POST",headers:o,query:a,body:c},r);return this.isJsonMime(f.headers.get("content-type"))?new _i(f):new Pv(f)}async apiUploadCertPost(t={},n,r){return await(await this.apiUploadCertPostRaw(t,n,r)).value()}async apiGetLastOnline(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_connection",t,n)).text();return(a?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxStatus(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.online",t,n)).text()==="true"}async apiGetTonieboxVersion(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.toniebox_firmware.boxIC",t,n)).text()}async apiGetTonieboxLastRUID(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid",t,n)).text()}async apiGetTonieboxLastRUIDTime(t,n){const a=await(await this.apiGetTeddyCloudSettingRaw("internal.last_ruid_time",t,n)).text();return(a?new Date(parseInt(a,10)*1e3):"").toLocaleString()}async apiGetTonieboxLastIp(t,n){return await(await this.apiGetTeddyCloudSettingRaw("internal.ip",t,n)).text()}async apiGetTonieboxContentDir(t,n){return await(await this.apiGetTeddyCloudSettingRaw("core.contentdir",t,n)).text()}async apiGetTonieboxApiAccess(t,n){return await(await this.apiGetTeddyCloudSettingRaw("toniebox.api_access",t,n)).text()==="true"}async apiGetNewBoxesAllowed(t){return await(await this.apiGetTeddyCloudSettingRaw("core.allowNewBox",void 0,t)).text()==="true"}async apiGetSecurityMITAlert(t){return await(await this.apiGetTeddyCloudSettingRaw("internal.security_mit.incident",void 0,t)).text()==="true"}async apiGetTeddyCloudSettingRaw(t,n,r){const a=await this.apiGetTeddyCloudApiRaw(`/api/settings/get/${t}`,n,r);if(!a.ok)throw new Error(`Error: ${a.status} ${a.statusText}`);return a}async apiPostTeddyCloudSetting(t,n,r,a,o,i={}){i["Content-Type"]||(i["Content-Type"]="text/plain");const s=await this.apiPostTeddyCloudRaw(`/api/settings/${a&&a===!0?"reset":"set"}/${t}`,(n==null?void 0:n.toString())||"",r,o,i);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiGetTeddyCloudApiRaw(t,n,r){const a={},o={},i=await this.request({path:`${t}${n?"?overlay="+n:""}`,method:"GET",headers:o,query:a},r);if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}async apiPostTeddyCloudContentJson(t,n,r,a,o={}){const i=await this.apiPostTeddyCloudRaw(`/content/json/set/${t}`,n,r,a,o);if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}async apiPostTeddyCloudRaw(t,n,r,a,o={}){o["Content-Type"]||(o["Content-Type"]="text/plain");const i=c=>new Blob([c],{type:"text/plain"}),s=await this.request({path:`${t}${r?"?overlay="+r:""}`,method:"POST",headers:o,body:i((n==null?void 0:n.toString())||"")},a);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiPostTeddyCloudFormDataRaw(t,n,r,a,o={}){const i=await fetch(""+t,{method:"POST",body:n});if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}}const fn=()=>new sq({basePath:""}),fRe=new wn(fn()),pRe=new dq(fn()),gRe=async(e=!0)=>{try{if((await(await fRe.apiGetTeddyCloudApiRaw("/api/triggerRestart")).text()).toString()!=="OK"){lt.error(kd("settings.restartFailed"));return}}catch{lt.error(kd("settings.restartFailed"));return}const t=lt.loading(kd("settings.restartInProgress"),0);await new Promise(r=>setTimeout(r,3e3));let n=0;for(;n<10;)try{if((await pRe.v1TimeGet()).length===10){t(),lt.success(kd("settings.restartComplete")),e&&(window.location.href="/web");return}}catch{n++,await new Promise(a=>setTimeout(a,3e3))}t(),lt.error(kd("settings.restartFailed"))},mRe=new wn(fn()),Vu=()=>{const{t:e}=Ft(),[t,n]=l.useState(""),[r,a]=lt.useMessage(),o=async()=>{await gRe(!0),n("")},i=u=>{const d=new URL(u),f=d.port?`:${d.port}`:"";return`${d.protocol}//${d.hostname}${f}`},s=async()=>{try{const d=await(await mRe.apiGetTeddyCloudApiRaw("/api/toniesJsonUpdate")).text();n(""),d.toString()!=="Triggered tonies.json update"?r.open({type:"error",content:e("settings.tonieJsonUpdateFailed")}):r.open({type:"success",content:e("settings.tonieJsonUpdateTriggered")})}catch{r.open({type:"error",content:e("settings.tonieJsonUpdateFailed")})}},c=[{key:"general",label:C.jsx(Rt,{to:"/settings",children:e("settings.general.navigationTitle")}),icon:le.createElement(W$),title:e("settings.general.navigationTitle")},{key:"certificates",label:C.jsx(Rt,{to:"/settings/certificates",children:e("settings.certificates.navigationTitle")}),icon:le.createElement(PW),title:e("settings.certificates.navigationTitle")},{key:"rtnl",label:C.jsx(Rt,{to:"/settings/rtnl",children:e("settings.rtnl.navigationTitle")}),icon:le.createElement(Bye),title:e("settings.rtnl.navigationTitle")},{key:"update_toniesJson",label:C.jsx("label",{style:{cursor:"pointer"},children:e("settings.updateToniesJson")}),onClick:s,icon:le.createElement(jW),title:e("settings.updateToniesJson")},{key:"restart_server",label:C.jsx("label",{style:{cursor:"pointer"},children:e("settings.restartServer")}),onClick:o,icon:le.createElement(l1e),title:e("settings.restartServer")},{key:"legacy",label:C.jsx(Rt,{to:`${i(new URL(window.location.href))}/legacy.html`,target:"_blank",children:e("settings.legacyGui")}),icon:le.createElement(cSe),title:e("settings.legacyGui")}];return C.jsxs(C.Fragment,{children:[a,C.jsx(Eg,{mode:"inline",selectedKeys:[t],defaultOpenKeys:["sub"],items:c})]})};var hRe=function(t){return vRe(t)&&!bRe(t)};function vRe(e){return!!e&&typeof e=="object"}function bRe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||wRe(e)}var yRe=typeof Symbol=="function"&&Symbol.for,SRe=yRe?Symbol.for("react.element"):60103;function wRe(e){return e.$$typeof===SRe}function CRe(e){return Array.isArray(e)?[]:{}}function Lv(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Op(CRe(e),e,t):e}function xRe(e,t,n){return e.concat(t).map(function(r){return Lv(r,n)})}function ERe(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=Lv(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=Lv(t[a],n):r[a]=Op(e[a],t[a],n)}),r}function Op(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||xRe,n.isMergeableObject=n.isMergeableObject||hRe;var r=Array.isArray(t),a=Array.isArray(e),o=r===a;return o?r?n.arrayMerge(e,t,n):ERe(e,t,n):Lv(t,n)}Op.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Op(r,a,n)},{})};var iR=Op,fq=typeof global=="object"&&global&&global.Object===Object&&global,IRe=typeof self=="object"&&self&&self.Object===Object&&self,vi=fq||IRe||Function("return this")(),Hs=vi.Symbol,pq=Object.prototype,TRe=pq.hasOwnProperty,RRe=pq.toString,Ud=Hs?Hs.toStringTag:void 0;function _Re(e){var t=TRe.call(e,Ud),n=e[Ud];try{e[Ud]=void 0;var r=!0}catch{}var a=RRe.call(e);return r&&(t?e[Ud]=n:delete e[Ud]),a}var $Re=Object.prototype,ORe=$Re.toString;function NRe(e){return ORe.call(e)}var kRe="[object Null]",ARe="[object Undefined]",vP=Hs?Hs.toStringTag:void 0;function mc(e){return e==null?e===void 0?ARe:kRe:vP&&vP in Object(e)?_Re(e):NRe(e)}function gq(e,t){return function(n){return e(t(n))}}var gO=gq(Object.getPrototypeOf,Object);function hc(e){return e!=null&&typeof e=="object"}var MRe="[object Object]",DRe=Function.prototype,PRe=Object.prototype,mq=DRe.toString,LRe=PRe.hasOwnProperty,FRe=mq.call(Object);function bP(e){if(!hc(e)||mc(e)!=MRe)return!1;var t=gO(e);if(t===null)return!0;var n=LRe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&mq.call(n)==FRe}function jRe(){this.__data__=[],this.size=0}function hq(e,t){return e===t||e!==e&&t!==t}function T0(e,t){for(var n=e.length;n--;)if(hq(e[n][0],t))return n;return-1}var BRe=Array.prototype,zRe=BRe.splice;function HRe(e){var t=this.__data__,n=T0(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():zRe.call(t,n,1),--this.size,!0}function URe(e){var t=this.__data__,n=T0(t,e);return n<0?void 0:t[n][1]}function VRe(e){return T0(this.__data__,e)>-1}function WRe(e,t){var n=this.__data__,r=T0(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ts(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=W_e}var G_e="[object Arguments]",q_e="[object Array]",K_e="[object Boolean]",Y_e="[object Date]",X_e="[object Error]",Z_e="[object Function]",Q_e="[object Map]",J_e="[object Number]",e$e="[object Object]",t$e="[object RegExp]",n$e="[object Set]",r$e="[object String]",a$e="[object WeakMap]",o$e="[object ArrayBuffer]",i$e="[object DataView]",s$e="[object Float32Array]",l$e="[object Float64Array]",c$e="[object Int8Array]",u$e="[object Int16Array]",d$e="[object Int32Array]",f$e="[object Uint8Array]",p$e="[object Uint8ClampedArray]",g$e="[object Uint16Array]",m$e="[object Uint32Array]",Fn={};Fn[s$e]=Fn[l$e]=Fn[c$e]=Fn[u$e]=Fn[d$e]=Fn[f$e]=Fn[p$e]=Fn[g$e]=Fn[m$e]=!0;Fn[G_e]=Fn[q_e]=Fn[o$e]=Fn[K_e]=Fn[i$e]=Fn[Y_e]=Fn[X_e]=Fn[Z_e]=Fn[Q_e]=Fn[J_e]=Fn[e$e]=Fn[t$e]=Fn[n$e]=Fn[r$e]=Fn[a$e]=!1;function h$e(e){return hc(e)&&xq(e.length)&&!!Fn[mc(e)]}function mO(e){return function(t){return e(t)}}var Eq=typeof Ga=="object"&&Ga&&!Ga.nodeType&&Ga,Af=Eq&&typeof qa=="object"&&qa&&!qa.nodeType&&qa,v$e=Af&&Af.exports===Eq,HS=v$e&&fq.process,Wu=function(){try{var e=Af&&Af.require&&Af.require("util").types;return e||HS&&HS.binding&&HS.binding("util")}catch{}}(),EP=Wu&&Wu.isTypedArray,b$e=EP?mO(EP):h$e,y$e=Object.prototype,S$e=y$e.hasOwnProperty;function Iq(e,t){var n=Tg(e),r=!n&&F_e(e),a=!n&&!r&&Cq(e),o=!n&&!r&&!a&&b$e(e),i=n||r||a||o,s=i?M_e(e.length,String):[],c=s.length;for(var u in e)(t||S$e.call(e,u))&&!(i&&(u=="length"||a&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||V_e(u,c)))&&s.push(u);return s}var w$e=Object.prototype;function hO(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||w$e;return e===n}var C$e=gq(Object.keys,Object),x$e=Object.prototype,E$e=x$e.hasOwnProperty;function I$e(e){if(!hO(e))return C$e(e);var t=[];for(var n in Object(e))E$e.call(e,n)&&n!="constructor"&&t.push(n);return t}function Tq(e){return e!=null&&xq(e.length)&&!vq(e)}function vO(e){return Tq(e)?Iq(e):I$e(e)}function T$e(e,t){return e&&_0(t,vO(t),e)}function R$e(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var _$e=Object.prototype,$$e=_$e.hasOwnProperty;function O$e(e){if(!Ig(e))return R$e(e);var t=hO(e),n=[];for(var r in e)r=="constructor"&&(t||!$$e.call(e,r))||n.push(r);return n}function bO(e){return Tq(e)?Iq(e,!0):O$e(e)}function N$e(e,t){return e&&_0(t,bO(t),e)}var Rq=typeof Ga=="object"&&Ga&&!Ga.nodeType&&Ga,IP=Rq&&typeof qa=="object"&&qa&&!qa.nodeType&&qa,k$e=IP&&IP.exports===Rq,TP=k$e?vi.Buffer:void 0,RP=TP?TP.allocUnsafe:void 0;function A$e(e,t){if(t)return e.slice();var n=e.length,r=RP?RP(n):new e.constructor(n);return e.copy(r),r}function _q(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[a]=e[a]);return n}var j0=l.createContext(void 0);j0.displayName="FormikContext";var RNe=j0.Provider;j0.Consumer;function Vq(){var e=l.useContext(j0);return e}var oo=function(t){return typeof t=="function"},Rg=function(t){return t!==null&&typeof t=="object"},_Ne=function(t){return String(Math.floor(Number(t)))===t},US=function(t){return Object.prototype.toString.call(t)==="[object String]"},$Ne=function(t){return l.Children.count(t)===0},VS=function(t){return Rg(t)&&oo(t.then)};function Pa(e,t,n,r){r===void 0&&(r=0);for(var a=Fq(t);e&&r=0?[]:{}}}return(o===0?e:a)[i[o]]===n?e:(n===void 0?delete a[i[o]]:a[i[o]]=n,o===0&&n===void 0&&delete r[i[o]],r)}function Wq(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,o=Object.keys(e);a0?ce.map(function(fe){return _(fe,Pa(J,fe))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ue).then(function(fe){return fe.reduce(function(pe,xe,Te){return xe==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||xe&&(pe=Ll(pe,ce[Te],xe)),pe},{})})},[_]),D=l.useCallback(function(J){return Promise.all([$(J),p.validationSchema?T(J):{},p.validate?R(J):{}]).then(function(ce){var ue=ce[0],fe=ce[1],pe=ce[2],xe=iR.all([ue,fe,pe],{arrayMerge:MNe});return xe})},[p.validate,p.validationSchema,$,R,T]),P=ro(function(J){return J===void 0&&(J=E.values),I({type:"SET_ISVALIDATING",payload:!0}),D(J).then(function(ce){return y.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:ce})),ce})});l.useEffect(function(){i&&y.current===!0&&gl(g.current,p.initialValues)&&P(g.current)},[i,P]);var A=l.useCallback(function(J){var ce=J&&J.values?J.values:g.current,ue=J&&J.errors?J.errors:b.current?b.current:p.initialErrors||{},fe=J&&J.touched?J.touched:m.current?m.current:p.initialTouched||{},pe=J&&J.status?J.status:h.current?h.current:p.initialStatus;g.current=ce,b.current=ue,m.current=fe,h.current=pe;var xe=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!J&&!!J.isSubmitting,errors:ue,touched:fe,status:pe,values:ce,isValidating:!!J&&!!J.isValidating,submitCount:J&&J.submitCount&&typeof J.submitCount=="number"?J.submitCount:0}})};if(p.onReset){var Te=p.onReset(E.values,re);VS(Te)?Te.then(xe):xe()}else xe()},[p.initialErrors,p.initialStatus,p.initialTouched,p.onReset]);l.useEffect(function(){y.current===!0&&!gl(g.current,p.initialValues)&&u&&(g.current=p.initialValues,A(),i&&P(g.current))},[u,p.initialValues,A,i,P]),l.useEffect(function(){u&&y.current===!0&&!gl(b.current,p.initialErrors)&&(b.current=p.initialErrors||cl,I({type:"SET_ERRORS",payload:p.initialErrors||cl}))},[u,p.initialErrors]),l.useEffect(function(){u&&y.current===!0&&!gl(m.current,p.initialTouched)&&(m.current=p.initialTouched||Fm,I({type:"SET_TOUCHED",payload:p.initialTouched||Fm}))},[u,p.initialTouched]),l.useEffect(function(){u&&y.current===!0&&!gl(h.current,p.initialStatus)&&(h.current=p.initialStatus,I({type:"SET_STATUS",payload:p.initialStatus}))},[u,p.initialStatus,p.initialTouched]);var O=ro(function(J){if(v.current[J]&&oo(v.current[J].validate)){var ce=Pa(E.values,J),ue=v.current[J].validate(ce);return VS(ue)?(I({type:"SET_ISVALIDATING",payload:!0}),ue.then(function(fe){return fe}).then(function(fe){I({type:"SET_FIELD_ERROR",payload:{field:J,value:fe}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:J,value:ue}}),Promise.resolve(ue))}else if(p.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),T(E.values,J).then(function(fe){return fe}).then(function(fe){I({type:"SET_FIELD_ERROR",payload:{field:J,value:Pa(fe,J)}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),N=l.useCallback(function(J,ce){var ue=ce.validate;v.current[J]={validate:ue}},[]),k=l.useCallback(function(J){delete v.current[J]},[]),M=ro(function(J,ce){I({type:"SET_TOUCHED",payload:J});var ue=ce===void 0?a:ce;return ue?P(E.values):Promise.resolve()}),L=l.useCallback(function(J){I({type:"SET_ERRORS",payload:J})},[]),F=ro(function(J,ce){var ue=oo(J)?J(E.values):J;I({type:"SET_VALUES",payload:ue});var fe=ce===void 0?n:ce;return fe?P(ue):Promise.resolve()}),j=l.useCallback(function(J,ce){I({type:"SET_FIELD_ERROR",payload:{field:J,value:ce}})},[]),B=ro(function(J,ce,ue){I({type:"SET_FIELD_VALUE",payload:{field:J,value:ce}});var fe=ue===void 0?n:ue;return fe?P(Ll(E.values,J,ce)):Promise.resolve()}),z=l.useCallback(function(J,ce){var ue=ce,fe=J,pe;if(!US(J)){J.persist&&J.persist();var xe=J.target?J.target:J.currentTarget,Te=xe.type,Pe=xe.name,ke=xe.id,Ue=xe.value,Be=xe.checked,De=xe.outerHTML,Se=xe.options,_e=xe.multiple;ue=ce||Pe||ke,fe=/number|range/.test(Te)?(pe=parseFloat(Ue),isNaN(pe)?"":pe):/checkbox/.test(Te)?PNe(Pa(E.values,ue),Be,Ue):Se&&_e?DNe(Se):Ue}ue&&B(ue,fe)},[B,E.values]),H=ro(function(J){if(US(J))return function(ce){return z(ce,J)};z(J)}),U=ro(function(J,ce,ue){ce===void 0&&(ce=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:J,value:ce}});var fe=ue===void 0?a:ue;return fe?P(E.values):Promise.resolve()}),Z=l.useCallback(function(J,ce){J.persist&&J.persist();var ue=J.target,fe=ue.name,pe=ue.id,xe=ue.outerHTML,Te=ce||fe||pe;U(Te,!0)},[U]),q=ro(function(J){if(US(J))return function(ce){return Z(ce,J)};Z(J)}),Y=l.useCallback(function(J){oo(J)?I({type:"SET_FORMIK_STATE",payload:J}):I({type:"SET_FORMIK_STATE",payload:function(){return J}})},[]),te=l.useCallback(function(J){I({type:"SET_STATUS",payload:J})},[]),ee=l.useCallback(function(J){I({type:"SET_ISSUBMITTING",payload:J})},[]),X=ro(function(){return I({type:"SUBMIT_ATTEMPT"}),P().then(function(J){var ce=J instanceof Error,ue=!ce&&Object.keys(J).length===0;if(ue){var fe;try{if(fe=G(),fe===void 0)return}catch(pe){throw pe}return Promise.resolve(fe).then(function(pe){return y.current&&I({type:"SUBMIT_SUCCESS"}),pe}).catch(function(pe){if(y.current)throw I({type:"SUBMIT_FAILURE"}),pe})}else if(y.current&&(I({type:"SUBMIT_FAILURE"}),ce))throw J})}),ie=ro(function(J){J&&J.preventDefault&&oo(J.preventDefault)&&J.preventDefault(),J&&J.stopPropagation&&oo(J.stopPropagation)&&J.stopPropagation(),X().catch(function(ce){console.warn("Warning: An unhandled error was caught from submitForm()",ce)})}),re={resetForm:A,validateForm:P,validateField:O,setErrors:L,setFieldError:j,setFieldTouched:U,setFieldValue:B,setStatus:te,setSubmitting:ee,setTouched:M,setValues:F,setFormikState:Y,submitForm:X},G=ro(function(){return d(E.values,re)}),Q=ro(function(J){J&&J.preventDefault&&oo(J.preventDefault)&&J.preventDefault(),J&&J.stopPropagation&&oo(J.stopPropagation)&&J.stopPropagation(),A()}),ae=l.useCallback(function(J){return{value:Pa(E.values,J),error:Pa(E.errors,J),touched:!!Pa(E.touched,J),initialValue:Pa(g.current,J),initialTouched:!!Pa(m.current,J),initialError:Pa(b.current,J)}},[E.errors,E.touched,E.values]),oe=l.useCallback(function(J){return{setValue:function(ue,fe){return B(J,ue,fe)},setTouched:function(ue,fe){return U(J,ue,fe)},setError:function(ue){return j(J,ue)}}},[B,U,j]),de=l.useCallback(function(J){var ce=Rg(J),ue=ce?J.name:J,fe=Pa(E.values,ue),pe={name:ue,value:fe,onChange:H,onBlur:q};if(ce){var xe=J.type,Te=J.value,Pe=J.as,ke=J.multiple;xe==="checkbox"?Te===void 0?pe.checked=!!fe:(pe.checked=!!(Array.isArray(fe)&&~fe.indexOf(Te)),pe.value=Te):xe==="radio"?(pe.checked=fe===Te,pe.value=Te):Pe==="select"&&ke&&(pe.value=pe.value||[],pe.multiple=!0)}return pe},[q,H,E.values]),ve=l.useMemo(function(){return!gl(g.current,E.values)},[g.current,E.values]),ye=l.useMemo(function(){return typeof s<"u"?ve?E.errors&&Object.keys(E.errors).length===0:s!==!1&&oo(s)?s(p):s:E.errors&&Object.keys(E.errors).length===0},[s,ve,E.errors,p]),ge=Tr({},E,{initialValues:g.current,initialErrors:b.current,initialTouched:m.current,initialStatus:h.current,handleBlur:q,handleChange:H,handleReset:Q,handleSubmit:ie,resetForm:A,setErrors:L,setFormikState:Y,setFieldTouched:U,setFieldValue:B,setFieldError:j,setStatus:te,setSubmitting:ee,setTouched:M,setValues:F,submitForm:X,validateForm:P,validateField:O,isValid:ye,dirty:ve,unregisterField:k,registerField:N,getFieldProps:de,getFieldMeta:ae,getFieldHelpers:oe,validateOnBlur:a,validateOnChange:n,validateOnMount:i});return ge}function Gq(e){var t=NNe(e),n=e.component,r=e.children,a=e.render,o=e.innerRef;return l.useImperativeHandle(o,function(){return t}),l.createElement(RNe,{value:t},n?l.createElement(n,t):a?a(t):r?oo(r)?r(t):$Ne(r)?null:l.Children.only(r):null)}function kNe(e){var t={};if(e.inner){if(e.inner.length===0)return Ll(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var o;if(n){if(r>=a.length)break;o=a[r++]}else{if(r=a.next(),r.done)break;o=r.value}var i=o;Pa(t,i.path)||(t=Ll(t,i.path,i.message))}}return t}function ANe(e,t,n,r){n===void 0&&(n=!1);var a=fR(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function fR(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(a){return Array.isArray(a)===!0||bP(a)?fR(a):a!==""?a:void 0}):bP(e[r])?t[r]=fR(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function MNe(e,t,n){var r=e.slice();return t.forEach(function(o,i){if(typeof r[i]>"u"){var s=n.clone!==!1,c=s&&n.isMergeableObject(o);r[i]=c?iR(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[i]=iR(e[i],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function DNe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function PNe(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),a=o>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,o).concat(r.slice(o+1)):r}var LNe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?l.useLayoutEffect:l.useEffect;function ro(e){var t=l.useRef(e);return LNe(function(){t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{const{t}=Ft(),{name:n,label:r,valueConverter:a,description:o,overlayed:i,overlayId:s,...c}=e,[u,d,{setValue:f}]=B0(n),[p,g]=l.useState(i),b=!!(d.touched&&d.error),m=d.touched&&d.error&&t(d.error),h=d.touched&&d.error?"error":void 0,y=a?a.fromValueToBoolean(d.value):d.value,v=new wn(fn()),S=E=>{try{v.apiPostTeddyCloudSetting(n,u.value,s,!E).then(()=>{w(),E?lt.success(t("settings.overlayEnabled")):(x(),lt.success(t("settings.overlayDisabled")))}).catch(I=>{lt.error(`Error while ${E?"saving":"resetting"} config: ${I}`)})}catch(I){lt.error(`Error while sending data to server: ${I}`)}},w=async()=>{try{await v.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},x=async()=>{try{const I=await(await v.apiGetTeddyCloudSettingRaw(n)).text(),R=I===""||a==null?void 0:a.fromValueToBoolean(I);f(R);const T=a?a.fromValueToBoolean(I):I;f(T)}catch(E){lt.error(`Error fetching field value: ${E}`)}};return C.jsxs(yg,{help:b?m:void 0,validateStatus:h,label:r,tooltip:o,children:[C.jsx(va,{...c,...u,checked:y,disabled:!p&&p!==void 0,onChange:E=>{try{v.apiPostTeddyCloudSetting(n,E,s).then(()=>{w(),lt.success(t("settings.saved"))}).catch(I=>{lt.error("Error while saving config to file.")})}catch{lt.error("Error while sending data to server.")}f(E)}}),p===void 0?"":C.jsx(Yi,{checked:p,style:{marginLeft:"16px"},onChange:E=>{g(E.target.checked),S(E.target.checked)},children:t("settings.overlayed")})]})},BNe=e=>{const{t}=Ft(),{name:n,label:r,description:a,overlayed:o,overlayId:i,...s}=e,[c,u,d]=B0(n),[f,p]=l.useState(o),g=!!(u.touched&&u.error),b=u.touched&&u.error&&t(u.error),m=u.touched&&u.error?"error":void 0,h=new wn(fn()),y=I=>{try{h.apiPostTeddyCloudSetting(n,c.value,i,!I).then(()=>{x(),I?lt.success(t("settings.overlayEnabled")):(w(),lt.success(t("settings.overlayDisabled")))}).catch(R=>{lt.error(`Error while ${I?"saving":"resetting"} config: ${R}`)})}catch(R){lt.error(`Error while sending data to server: ${R}`)}},v=I=>{const R=async()=>{await h.apiTriggerWriteConfigGet()};try{h.apiPostTeddyCloudSetting(n,c.value,i).then(()=>{R(),lt.success(t("settings.saved"))}).catch(T=>{lt.error("Error while sending data to file.")})}catch{lt.error("Error while sending data to server.")}d.setValue(c.value||"")},S=I=>{v()},w=()=>{try{h.apiGetTeddyCloudSettingRaw(n).then(I=>I.text()).then(I=>{d.setValue(I)}).catch(I=>{lt.error(`Error fetching field value: ${I}`)})}catch(I){lt.error(`Error fetching field value: ${I}`)}},x=async()=>{try{await h.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},E=[C.jsx(v1e,{disabled:!f,style:{cursor:f||f===void 0?"pointer":"default",margin:f!==void 0?"0 16px 0 0":"0"},onClick:S},"saveIcon"),f===void 0?"":C.jsx(Yi,{checked:f,onChange:I=>{p(I.target.checked),y(I.target.checked)},children:t("settings.overlayed")},"overlayCheckBox")];return C.jsx(yg,{help:g?b:void 0,validateStatus:m,label:r,tooltip:a,children:C.jsx(Zt,{...s,...c,addonAfter:E,disabled:!f&&f!==void 0})})},WP=e=>{const{t}=Ft(),{name:n,label:r,description:a,overlayed:o,overlayId:i,...s}=e,[c,u,d]=B0(n),[f,p]=l.useState(o),g=!!(u.touched&&u.error),b=u.touched&&u.error&&t(u.error),m=u.touched&&u.error?"error":void 0,h=f===void 0?"":C.jsx(Yi,{checked:f,onChange:x=>{p(x.target.checked),v(x.target.checked)},children:t("settings.overlayed")}),y=new wn(fn()),v=x=>{try{y.apiPostTeddyCloudSetting(n,c.value,i,!x).then(()=>{w(),x?lt.success(t("settings.overlayEnabled")):(S(),lt.success(t("settings.overlayDisabled")))}).catch(E=>{lt.error(`Error while ${x?"saving":"resetting"} config: ${E}`)})}catch(E){lt.error(`Error while sending data to server: ${E}`)}},S=()=>{try{y.apiGetTeddyCloudSettingRaw(n).then(x=>x.text()).then(x=>{d.setValue(x===""?void 0:Number(x))}).catch(x=>{lt.error(`Error fetching field value: ${x}`)})}catch(x){lt.error(`Error fetching field value: ${x}`)}},w=async()=>{try{await y.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}};return C.jsx(yg,{help:g?b:void 0,validateStatus:m,label:r,tooltip:a,children:C.jsx(BV,{...s,...c,addonAfter:h,disabled:!f&&f!==void 0,onChange:x=>{try{y.apiPostTeddyCloudSetting(n,x,i).then(()=>{w(),lt.success(t("settings.saved"))}).catch(E=>{lt.error("Error while saving config to file.")})}catch{lt.error("Error while sending data to server.")}d.setValue(x===null?void 0:Number(x))},onBlur:()=>d.setTouched(!0)})})},qq=({option:e,noOverlay:t,overlayId:n})=>{const{type:r,iD:a,description:o,label:i,shortname:s,value:c,overlayed:u}=e,[d,f]=l.useState(""),[p,g,{setValue:b}]=B0(a);l.useEffect(()=>{f(c),b(c)},[b,c]);const m=t?void 0:u;return C.jsxs("div",{children:[r==="bool"&&C.jsx(jNe,{name:a,label:i,description:o,overlayed:m,overlayId:n}),r==="int"&&C.jsx(WP,{name:a,label:i,description:o,overlayed:m,overlayId:n}),r==="uint"&&C.jsx(WP,{name:a,label:i,description:o,overlayed:m,overlayId:n}),r==="string"&&C.jsx(BNe,{name:a,label:i,description:o,overlayed:m,overlayId:n})]},a)},jm=new wn(fn()),zNe=()=>{var u;const{t:e}=Ft(),[t,n]=l.useState(),[r,a]=l.useState(""),[o,i]=l.useState(!1);l.useEffect(()=>{(async()=>{try{const f=await jm.apiGetTeddyCloudSettingRaw("core.settings_level");if(!f.ok)throw new Error(`HTTP error! status: ${f.status}`);const p=await f.json();a(p.toString())}catch(f){console.error("Error fetching settings level: ",f)}})()},[]),l.useEffect(()=>{(async()=>{var p,g;i(!0);const f=await jm.apiGetIndexGet("");(p=f==null?void 0:f.options)!=null&&p.length&&((g=f==null?void 0:f.options)==null?void 0:g.length)>0&&n(f),i(!1)})()},[r]);const s=async()=>{try{await jm.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},c=async d=>{try{jm.apiPostTeddyCloudSetting("core.settings_level",d),s(),a(d)}catch{lt.error("Error while sending data to server.")}};return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vu,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vu,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("settings.title")}),C.jsx(na,{message:e("settings.information"),description:C.jsxs("div",{children:[e("settings.hint")," ",C.jsx(Rt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0}),C.jsx(na,{message:e("settings.warning"),description:C.jsx("div",{children:e("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px 0"}}),C.jsx(Ca,{children:e("settings.title")}),C.jsx(Gq,{initialValues:{test:"test"},onSubmit:d=>{},children:C.jsx(qt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(u=t==null?void 0:t.options)==null?void 0:u.map((d,f,p)=>{if(d.iD.includes("core.settings_level"))return null;const g=d.iD.split("."),b=p[f-1]?p[f-1].iD.split("."):[];return C.jsxs(le.Fragment,{children:[g.slice(0,-1).map((m,h)=>b[h]!==m?h===0?C.jsxs("h3",{style:{marginLeft:`${h*20}px`,marginBottom:"10px"},children:["Category ",m]},`category-${m}`):C.jsxs("h4",{style:{marginLeft:`${h*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",m]},`category-${m}`):null),C.jsx(qq,{option:d,noOverlay:!0},d.iD)]},f)})})}),C.jsx(Ca,{children:e("settings.levelLabel")}),C.jsxs(Va.Group,{value:r,onChange:d=>c(d.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:o,children:[C.jsx(Va.Button,{value:"1",children:"Basic"},"1"),C.jsx(Va.Button,{value:"2",children:"Detail"},"2"),C.jsx(Va.Button,{value:"3",children:"Expert"},"3")]})]})]})]})};function GP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function lu(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var WS={};function UNe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return WS[t]||(WS[t]=HNe(e)),WS[t]}function VNe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(o){return o!=="token"}),a=UNe(r);return a.reduce(function(o,i){return lu(lu({},o),n[i])},t)}function qP(e){return e.join(" ")}function WNe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,o){return Kq({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})})}}function Kq(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,o=e.useInlineStyles,i=e.key,s=t.properties,c=t.type,u=t.tagName,d=t.value;if(c==="text")return d;if(u){var f=WNe(n,o),p;if(!o)p=lu(lu({},s),{},{className:qP(s.className)});else{var g=Object.keys(n).reduce(function(y,v){return v.split(".").forEach(function(S){y.includes(S)||y.push(S)}),y},[]),b=s.className&&s.className.includes("token")?["token"]:[],m=s.className&&b.concat(s.className.filter(function(y){return!g.includes(y)}));p=lu(lu({},s),{},{className:qP(m)||void 0,style:VNe(s.className,Object.assign({},s.style,a),n)})}var h=f(t.children);return le.createElement(u,be({key:i},p),h)}}const GNe=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var qNe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function KP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ti(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}var j0=l.createContext(void 0);j0.displayName="FormikContext";var RNe=j0.Provider;j0.Consumer;function Vq(){var e=l.useContext(j0);return e}var oo=function(t){return typeof t=="function"},Rg=function(t){return t!==null&&typeof t=="object"},_Ne=function(t){return String(Math.floor(Number(t)))===t},US=function(t){return Object.prototype.toString.call(t)==="[object String]"},$Ne=function(t){return l.Children.count(t)===0},VS=function(t){return Rg(t)&&oo(t.then)};function Pa(e,t,n,r){r===void 0&&(r=0);for(var a=Fq(t);e&&r=0?[]:{}}}return(o===0?e:a)[i[o]]===n?e:(n===void 0?delete a[i[o]]:a[i[o]]=n,o===0&&n===void 0&&delete r[i[o]],r)}function Wq(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,o=Object.keys(e);a0?ce.map(function(fe){return _(fe,Pa(J,fe))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ue).then(function(fe){return fe.reduce(function(pe,xe,Te){return xe==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||xe&&(pe=Ll(pe,ce[Te],xe)),pe},{})})},[_]),D=l.useCallback(function(J){return Promise.all([$(J),p.validationSchema?T(J):{},p.validate?R(J):{}]).then(function(ce){var ue=ce[0],fe=ce[1],pe=ce[2],xe=iR.all([ue,fe,pe],{arrayMerge:MNe});return xe})},[p.validate,p.validationSchema,$,R,T]),P=ro(function(J){return J===void 0&&(J=E.values),I({type:"SET_ISVALIDATING",payload:!0}),D(J).then(function(ce){return y.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:ce})),ce})});l.useEffect(function(){i&&y.current===!0&&gl(g.current,p.initialValues)&&P(g.current)},[i,P]);var A=l.useCallback(function(J){var ce=J&&J.values?J.values:g.current,ue=J&&J.errors?J.errors:v.current?v.current:p.initialErrors||{},fe=J&&J.touched?J.touched:m.current?m.current:p.initialTouched||{},pe=J&&J.status?J.status:h.current?h.current:p.initialStatus;g.current=ce,v.current=ue,m.current=fe,h.current=pe;var xe=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!J&&!!J.isSubmitting,errors:ue,touched:fe,status:pe,values:ce,isValidating:!!J&&!!J.isValidating,submitCount:J&&J.submitCount&&typeof J.submitCount=="number"?J.submitCount:0}})};if(p.onReset){var Te=p.onReset(E.values,re);VS(Te)?Te.then(xe):xe()}else xe()},[p.initialErrors,p.initialStatus,p.initialTouched,p.onReset]);l.useEffect(function(){y.current===!0&&!gl(g.current,p.initialValues)&&u&&(g.current=p.initialValues,A(),i&&P(g.current))},[u,p.initialValues,A,i,P]),l.useEffect(function(){u&&y.current===!0&&!gl(v.current,p.initialErrors)&&(v.current=p.initialErrors||cl,I({type:"SET_ERRORS",payload:p.initialErrors||cl}))},[u,p.initialErrors]),l.useEffect(function(){u&&y.current===!0&&!gl(m.current,p.initialTouched)&&(m.current=p.initialTouched||Fm,I({type:"SET_TOUCHED",payload:p.initialTouched||Fm}))},[u,p.initialTouched]),l.useEffect(function(){u&&y.current===!0&&!gl(h.current,p.initialStatus)&&(h.current=p.initialStatus,I({type:"SET_STATUS",payload:p.initialStatus}))},[u,p.initialStatus,p.initialTouched]);var O=ro(function(J){if(b.current[J]&&oo(b.current[J].validate)){var ce=Pa(E.values,J),ue=b.current[J].validate(ce);return VS(ue)?(I({type:"SET_ISVALIDATING",payload:!0}),ue.then(function(fe){return fe}).then(function(fe){I({type:"SET_FIELD_ERROR",payload:{field:J,value:fe}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:J,value:ue}}),Promise.resolve(ue))}else if(p.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),T(E.values,J).then(function(fe){return fe}).then(function(fe){I({type:"SET_FIELD_ERROR",payload:{field:J,value:Pa(fe,J)}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),N=l.useCallback(function(J,ce){var ue=ce.validate;b.current[J]={validate:ue}},[]),k=l.useCallback(function(J){delete b.current[J]},[]),M=ro(function(J,ce){I({type:"SET_TOUCHED",payload:J});var ue=ce===void 0?a:ce;return ue?P(E.values):Promise.resolve()}),L=l.useCallback(function(J){I({type:"SET_ERRORS",payload:J})},[]),F=ro(function(J,ce){var ue=oo(J)?J(E.values):J;I({type:"SET_VALUES",payload:ue});var fe=ce===void 0?n:ce;return fe?P(ue):Promise.resolve()}),j=l.useCallback(function(J,ce){I({type:"SET_FIELD_ERROR",payload:{field:J,value:ce}})},[]),B=ro(function(J,ce,ue){I({type:"SET_FIELD_VALUE",payload:{field:J,value:ce}});var fe=ue===void 0?n:ue;return fe?P(Ll(E.values,J,ce)):Promise.resolve()}),z=l.useCallback(function(J,ce){var ue=ce,fe=J,pe;if(!US(J)){J.persist&&J.persist();var xe=J.target?J.target:J.currentTarget,Te=xe.type,Pe=xe.name,ke=xe.id,Ue=xe.value,Be=xe.checked,De=xe.outerHTML,Se=xe.options,_e=xe.multiple;ue=ce||Pe||ke,fe=/number|range/.test(Te)?(pe=parseFloat(Ue),isNaN(pe)?"":pe):/checkbox/.test(Te)?PNe(Pa(E.values,ue),Be,Ue):Se&&_e?DNe(Se):Ue}ue&&B(ue,fe)},[B,E.values]),H=ro(function(J){if(US(J))return function(ce){return z(ce,J)};z(J)}),U=ro(function(J,ce,ue){ce===void 0&&(ce=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:J,value:ce}});var fe=ue===void 0?a:ue;return fe?P(E.values):Promise.resolve()}),Z=l.useCallback(function(J,ce){J.persist&&J.persist();var ue=J.target,fe=ue.name,pe=ue.id,xe=ue.outerHTML,Te=ce||fe||pe;U(Te,!0)},[U]),q=ro(function(J){if(US(J))return function(ce){return Z(ce,J)};Z(J)}),Y=l.useCallback(function(J){oo(J)?I({type:"SET_FORMIK_STATE",payload:J}):I({type:"SET_FORMIK_STATE",payload:function(){return J}})},[]),ee=l.useCallback(function(J){I({type:"SET_STATUS",payload:J})},[]),te=l.useCallback(function(J){I({type:"SET_ISSUBMITTING",payload:J})},[]),X=ro(function(){return I({type:"SUBMIT_ATTEMPT"}),P().then(function(J){var ce=J instanceof Error,ue=!ce&&Object.keys(J).length===0;if(ue){var fe;try{if(fe=G(),fe===void 0)return}catch(pe){throw pe}return Promise.resolve(fe).then(function(pe){return y.current&&I({type:"SUBMIT_SUCCESS"}),pe}).catch(function(pe){if(y.current)throw I({type:"SUBMIT_FAILURE"}),pe})}else if(y.current&&(I({type:"SUBMIT_FAILURE"}),ce))throw J})}),ie=ro(function(J){J&&J.preventDefault&&oo(J.preventDefault)&&J.preventDefault(),J&&J.stopPropagation&&oo(J.stopPropagation)&&J.stopPropagation(),X().catch(function(ce){console.warn("Warning: An unhandled error was caught from submitForm()",ce)})}),re={resetForm:A,validateForm:P,validateField:O,setErrors:L,setFieldError:j,setFieldTouched:U,setFieldValue:B,setStatus:ee,setSubmitting:te,setTouched:M,setValues:F,setFormikState:Y,submitForm:X},G=ro(function(){return d(E.values,re)}),Q=ro(function(J){J&&J.preventDefault&&oo(J.preventDefault)&&J.preventDefault(),J&&J.stopPropagation&&oo(J.stopPropagation)&&J.stopPropagation(),A()}),ae=l.useCallback(function(J){return{value:Pa(E.values,J),error:Pa(E.errors,J),touched:!!Pa(E.touched,J),initialValue:Pa(g.current,J),initialTouched:!!Pa(m.current,J),initialError:Pa(v.current,J)}},[E.errors,E.touched,E.values]),oe=l.useCallback(function(J){return{setValue:function(ue,fe){return B(J,ue,fe)},setTouched:function(ue,fe){return U(J,ue,fe)},setError:function(ue){return j(J,ue)}}},[B,U,j]),de=l.useCallback(function(J){var ce=Rg(J),ue=ce?J.name:J,fe=Pa(E.values,ue),pe={name:ue,value:fe,onChange:H,onBlur:q};if(ce){var xe=J.type,Te=J.value,Pe=J.as,ke=J.multiple;xe==="checkbox"?Te===void 0?pe.checked=!!fe:(pe.checked=!!(Array.isArray(fe)&&~fe.indexOf(Te)),pe.value=Te):xe==="radio"?(pe.checked=fe===Te,pe.value=Te):Pe==="select"&&ke&&(pe.value=pe.value||[],pe.multiple=!0)}return pe},[q,H,E.values]),ve=l.useMemo(function(){return!gl(g.current,E.values)},[g.current,E.values]),ye=l.useMemo(function(){return typeof s<"u"?ve?E.errors&&Object.keys(E.errors).length===0:s!==!1&&oo(s)?s(p):s:E.errors&&Object.keys(E.errors).length===0},[s,ve,E.errors,p]),ge=Tr({},E,{initialValues:g.current,initialErrors:v.current,initialTouched:m.current,initialStatus:h.current,handleBlur:q,handleChange:H,handleReset:Q,handleSubmit:ie,resetForm:A,setErrors:L,setFormikState:Y,setFieldTouched:U,setFieldValue:B,setFieldError:j,setStatus:ee,setSubmitting:te,setTouched:M,setValues:F,submitForm:X,validateForm:P,validateField:O,isValid:ye,dirty:ve,unregisterField:k,registerField:N,getFieldProps:de,getFieldMeta:ae,getFieldHelpers:oe,validateOnBlur:a,validateOnChange:n,validateOnMount:i});return ge}function Gq(e){var t=NNe(e),n=e.component,r=e.children,a=e.render,o=e.innerRef;return l.useImperativeHandle(o,function(){return t}),l.createElement(RNe,{value:t},n?l.createElement(n,t):a?a(t):r?oo(r)?r(t):$Ne(r)?null:l.Children.only(r):null)}function kNe(e){var t={};if(e.inner){if(e.inner.length===0)return Ll(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var o;if(n){if(r>=a.length)break;o=a[r++]}else{if(r=a.next(),r.done)break;o=r.value}var i=o;Pa(t,i.path)||(t=Ll(t,i.path,i.message))}}return t}function ANe(e,t,n,r){n===void 0&&(n=!1);var a=fR(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function fR(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(a){return Array.isArray(a)===!0||bP(a)?fR(a):a!==""?a:void 0}):bP(e[r])?t[r]=fR(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function MNe(e,t,n){var r=e.slice();return t.forEach(function(o,i){if(typeof r[i]>"u"){var s=n.clone!==!1,c=s&&n.isMergeableObject(o);r[i]=c?iR(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[i]=iR(e[i],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function DNe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function PNe(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,o=-1;if(Array.isArray(e))r=e,o=e.indexOf(n),a=o>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,o).concat(r.slice(o+1)):r}var LNe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?l.useLayoutEffect:l.useEffect;function ro(e){var t=l.useRef(e);return LNe(function(){t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{const{t}=Ft(),{name:n,label:r,valueConverter:a,description:o,overlayed:i,overlayId:s,...c}=e,[u,d,{setValue:f}]=B0(n),[p,g]=l.useState(i),v=!!(d.touched&&d.error),m=d.touched&&d.error&&t(d.error),h=d.touched&&d.error?"error":void 0,y=a?a.fromValueToBoolean(d.value):d.value,b=new wn(fn()),S=E=>{try{b.apiPostTeddyCloudSetting(n,u.value,s,!E).then(()=>{w(),E?lt.success(t("settings.overlayEnabled")):(x(),lt.success(t("settings.overlayDisabled")))}).catch(I=>{lt.error(`Error while ${E?"saving":"resetting"} config: ${I}`)})}catch(I){lt.error(`Error while sending data to server: ${I}`)}},w=async()=>{try{await b.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},x=async()=>{try{const I=await(await b.apiGetTeddyCloudSettingRaw(n)).text(),R=I===""||a==null?void 0:a.fromValueToBoolean(I);f(R);const T=a?a.fromValueToBoolean(I):I;f(T)}catch(E){lt.error(`Error fetching field value: ${E}`)}};return C.jsxs(yg,{help:v?m:void 0,validateStatus:h,label:r,tooltip:o,children:[C.jsx(va,{...c,...u,checked:y,disabled:!p&&p!==void 0,onChange:E=>{try{b.apiPostTeddyCloudSetting(n,E,s).then(()=>{w(),lt.success(t("settings.saved"))}).catch(I=>{lt.error("Error while saving config to file.")})}catch{lt.error("Error while sending data to server.")}f(E)}}),p===void 0?"":C.jsx(Yi,{checked:p,style:{marginLeft:"16px"},onChange:E=>{g(E.target.checked),S(E.target.checked)},children:t("settings.overlayed")})]})},BNe=e=>{const{t}=Ft(),{name:n,label:r,description:a,overlayed:o,overlayId:i,...s}=e,[c,u,d]=B0(n),[f,p]=l.useState(o),g=!!(u.touched&&u.error),v=u.touched&&u.error&&t(u.error),m=u.touched&&u.error?"error":void 0,h=new wn(fn()),y=I=>{try{h.apiPostTeddyCloudSetting(n,c.value,i,!I).then(()=>{x(),I?lt.success(t("settings.overlayEnabled")):(w(),lt.success(t("settings.overlayDisabled")))}).catch(R=>{lt.error(`Error while ${I?"saving":"resetting"} config: ${R}`)})}catch(R){lt.error(`Error while sending data to server: ${R}`)}},b=I=>{const R=async()=>{await h.apiTriggerWriteConfigGet()};try{h.apiPostTeddyCloudSetting(n,c.value,i).then(()=>{R(),lt.success(t("settings.saved"))}).catch(T=>{lt.error("Error while sending data to file.")})}catch{lt.error("Error while sending data to server.")}d.setValue(c.value||"")},S=I=>{b()},w=()=>{try{h.apiGetTeddyCloudSettingRaw(n).then(I=>I.text()).then(I=>{d.setValue(I)}).catch(I=>{lt.error(`Error fetching field value: ${I}`)})}catch(I){lt.error(`Error fetching field value: ${I}`)}},x=async()=>{try{await h.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},E=[C.jsx(v1e,{disabled:!f,style:{cursor:f||f===void 0?"pointer":"default",margin:f!==void 0?"0 16px 0 0":"0"},onClick:S},"saveIcon"),f===void 0?"":C.jsx(Yi,{checked:f,onChange:I=>{p(I.target.checked),y(I.target.checked)},children:t("settings.overlayed")},"overlayCheckBox")];return C.jsx(yg,{help:g?v:void 0,validateStatus:m,label:r,tooltip:a,children:C.jsx(Zt,{...s,...c,addonAfter:E,disabled:!f&&f!==void 0})})},WP=e=>{const{t}=Ft(),{name:n,label:r,description:a,overlayed:o,overlayId:i,...s}=e,[c,u,d]=B0(n),[f,p]=l.useState(o),g=!!(u.touched&&u.error),v=u.touched&&u.error&&t(u.error),m=u.touched&&u.error?"error":void 0,h=f===void 0?"":C.jsx(Yi,{checked:f,onChange:x=>{p(x.target.checked),b(x.target.checked)},children:t("settings.overlayed")}),y=new wn(fn()),b=x=>{try{y.apiPostTeddyCloudSetting(n,c.value,i,!x).then(()=>{w(),x?lt.success(t("settings.overlayEnabled")):(S(),lt.success(t("settings.overlayDisabled")))}).catch(E=>{lt.error(`Error while ${x?"saving":"resetting"} config: ${E}`)})}catch(E){lt.error(`Error while sending data to server: ${E}`)}},S=()=>{try{y.apiGetTeddyCloudSettingRaw(n).then(x=>x.text()).then(x=>{d.setValue(x===""?void 0:Number(x))}).catch(x=>{lt.error(`Error fetching field value: ${x}`)})}catch(x){lt.error(`Error fetching field value: ${x}`)}},w=async()=>{try{await y.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}};return C.jsx(yg,{help:g?v:void 0,validateStatus:m,label:r,tooltip:a,children:C.jsx(BV,{...s,...c,addonAfter:h,disabled:!f&&f!==void 0,onChange:x=>{try{y.apiPostTeddyCloudSetting(n,x,i).then(()=>{w(),lt.success(t("settings.saved"))}).catch(E=>{lt.error("Error while saving config to file.")})}catch{lt.error("Error while sending data to server.")}d.setValue(x===null?void 0:Number(x))},onBlur:()=>d.setTouched(!0)})})},qq=({option:e,noOverlay:t,overlayId:n})=>{const{type:r,iD:a,description:o,label:i,shortname:s,value:c,overlayed:u}=e,[d,f]=l.useState(""),[p,g,{setValue:v}]=B0(a);l.useEffect(()=>{f(c),v(c)},[v,c]);const m=t?void 0:u;return C.jsxs("div",{children:[r==="bool"&&C.jsx(jNe,{name:a,label:i,description:o,overlayed:m,overlayId:n}),r==="int"&&C.jsx(WP,{name:a,label:i,description:o,overlayed:m,overlayId:n}),r==="uint"&&C.jsx(WP,{name:a,label:i,description:o,overlayed:m,overlayId:n}),r==="string"&&C.jsx(BNe,{name:a,label:i,description:o,overlayed:m,overlayId:n})]},a)},jm=new wn(fn()),zNe=()=>{var u;const{t:e}=Ft(),[t,n]=l.useState(),[r,a]=l.useState(""),[o,i]=l.useState(!1);l.useEffect(()=>{(async()=>{try{const f=await jm.apiGetTeddyCloudSettingRaw("core.settings_level");if(!f.ok)throw new Error(`HTTP error! status: ${f.status}`);const p=await f.json();a(p.toString())}catch(f){console.error("Error fetching settings level: ",f)}})()},[]),l.useEffect(()=>{(async()=>{var p,g;i(!0);const f=await jm.apiGetIndexGet("");(p=f==null?void 0:f.options)!=null&&p.length&&((g=f==null?void 0:f.options)==null?void 0:g.length)>0&&n(f),i(!1)})()},[r]);const s=async()=>{try{await jm.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},c=async d=>{try{jm.apiPostTeddyCloudSetting("core.settings_level",d),s(),a(d)}catch{lt.error("Error while sending data to server.")}};return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vu,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vu,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("settings.title")}),C.jsx(na,{message:e("settings.information"),description:C.jsxs("div",{children:[e("settings.hint")," ",C.jsx(Rt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0}),C.jsx(na,{message:e("settings.warning"),description:C.jsx("div",{children:e("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px 0"}}),C.jsx(Ca,{children:e("settings.title")}),C.jsx(Gq,{initialValues:{test:"test"},onSubmit:d=>{},children:C.jsx(qt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(u=t==null?void 0:t.options)==null?void 0:u.map((d,f,p)=>{if(d.iD.includes("core.settings_level"))return null;const g=d.iD.split("."),v=p[f-1]?p[f-1].iD.split("."):[];return C.jsxs(le.Fragment,{children:[g.slice(0,-1).map((m,h)=>v[h]!==m?h===0?C.jsxs("h3",{style:{marginLeft:`${h*20}px`,marginBottom:"10px"},children:["Category ",m]},`category-${m}`):C.jsxs("h4",{style:{marginLeft:`${h*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",m]},`category-${m}`):null),C.jsx(qq,{option:d,noOverlay:!0},d.iD)]},f)})})}),C.jsx(Ca,{children:e("settings.levelLabel")}),C.jsxs(Va.Group,{value:r,onChange:d=>c(d.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:o,children:[C.jsx(Va.Button,{value:"1",children:"Basic"},"1"),C.jsx(Va.Button,{value:"2",children:"Detail"},"2"),C.jsx(Va.Button,{value:"3",children:"Expert"},"3")]})]})]})]})};function GP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function lu(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var WS={};function UNe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return WS[t]||(WS[t]=HNe(e)),WS[t]}function VNe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(o){return o!=="token"}),a=UNe(r);return a.reduce(function(o,i){return lu(lu({},o),n[i])},t)}function qP(e){return e.join(" ")}function WNe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,o){return Kq({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})})}}function Kq(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,o=e.useInlineStyles,i=e.key,s=t.properties,c=t.type,u=t.tagName,d=t.value;if(c==="text")return d;if(u){var f=WNe(n,o),p;if(!o)p=lu(lu({},s),{},{className:qP(s.className)});else{var g=Object.keys(n).reduce(function(y,b){return b.split(".").forEach(function(S){y.includes(S)||y.push(S)}),y},[]),v=s.className&&s.className.includes("token")?["token"]:[],m=s.className&&v.concat(s.className.filter(function(y){return!g.includes(y)}));p=lu(lu({},s),{},{className:qP(m)||void 0,style:VNe(s.className,Object.assign({},s.style,a),n)})}var h=f(t.children);return le.createElement(u,be({key:i},p),h)}}const GNe=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var qNe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function KP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function ti(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return _h({children:x,lineNumber:E,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:I,showLineNumbers:r,wrapLongLines:c})}function m(x,E){if(r&&E&&a){var I=Xq(s,E,i);x.unshift(Yq(E,I))}return x}function h(x,E){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||I.length>0?b(x,E,I):m(x,E)}for(var y=function(){var E=d[g],I=E.children[0].value,R=YNe(I);if(R){var T=I.split(` +`),style:i,startingLineNumber:s}))}function QNe(e){return"".concat(e.toString().length,".25em")}function Yq(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function Xq(e,t,n){var r={display:"inline-block",minWidth:QNe(n),paddingRight:"1em",textAlign:"right",userSelect:"none"},a=typeof e=="function"?e(t):e,o=ti(ti({},r),a);return o}function _h(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,i=e.lineProps,s=i===void 0?{}:i,c=e.className,u=c===void 0?[]:c,d=e.showLineNumbers,f=e.wrapLongLines,p=typeof s=="function"?s(n):s;if(p.className=u,n&&o){var g=Xq(r,n,a);t.unshift(Yq(n,g))}return f&d&&(p.style=ti(ti({},p.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:p,children:t}}function Zq(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=0;r2&&arguments[2]!==void 0?arguments[2]:[];return _h({children:x,lineNumber:E,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:I,showLineNumbers:r,wrapLongLines:c})}function m(x,E){if(r&&E&&a){var I=Xq(s,E,i);x.unshift(Yq(E,I))}return x}function h(x,E){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||I.length>0?v(x,E,I):m(x,E)}for(var y=function(){var E=d[g],I=E.children[0].value,R=YNe(I);if(R){var T=I.split(` `);T.forEach(function(_,$){var D=r&&f.length+o,P={type:"text",value:"".concat(_,` -`)};if($===0){var A=d.slice(p+1,g).concat(_h({children:[P],className:E.properties.className})),O=h(A,D);f.push(O)}else if($===T.length-1){var N=d[g+1]&&d[g+1].children&&d[g+1].children[0],k={type:"text",value:"".concat(_)};if(N){var M=_h({children:[k],className:E.properties.className});d.splice(g+1,0,M)}else{var L=[k],F=h(L,D,E.properties.className);f.push(F)}}else{var j=[P],B=h(j,D,E.properties.className);f.push(B)}}),p=g}g++};g0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=Promise.all(n.map(s=>{if(s=ake(s),s in YP)return;YP[s]=!0;const c=s.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":rke,c||(d.as="script",d.crossOrigin=""),d.href=s,i&&d.setAttribute("nonce",i),document.head.appendChild(d),c)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}return a.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},oke=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var ike=lke,ske=Object.prototype.hasOwnProperty;function lke(){for(var e={},t=0;t4&&n.slice(0,4)===OO&&Yke.test(t)&&(t.charAt(4)==="-"?r=Qke(t):t=Jke(t),a=Gke),new a(r,t))}function Qke(e){var t=e.slice(5).replace(sK,tAe);return OO+t.charAt(0).toUpperCase()+t.slice(1)}function Jke(e){var t=e.slice(4);return sK.test(t)?e:(t=t.replace(Xke,eAe),t.charAt(0)!=="-"&&(t="-"+t),OO+t)}function eAe(e){return"-"+e.toLowerCase()}function tAe(e){return e.charAt(1).toUpperCase()}var nAe=rAe,e4=/[#.]/g;function rAe(e,t){for(var n=e||"",r=t||"div",a={},o=0,i,s,c;o=48&&t<=57}var IMe=TMe;function TMe(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var RMe=_Me;function _Me(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var $Me=RMe,OMe=uK,NMe=kMe;function kMe(e){return $Me(e)||OMe(e)}var zm,AMe=59,MMe=DMe;function DMe(e){var t="&"+e+";",n;return zm=zm||document.createElement("i"),zm.innerHTML=t,n=zm.textContent,n.charCodeAt(n.length-1)===AMe&&e!=="semi"||n===t?!1:n}var s4=CMe,l4=xMe,PMe=uK,LMe=IMe,dK=NMe,FMe=MMe,jMe=QMe,BMe={}.hasOwnProperty,Lc=String.fromCharCode,zMe=Function.prototype,c4={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},HMe=9,u4=10,UMe=12,VMe=32,d4=38,WMe=59,GMe=60,qMe=61,KMe=35,YMe=88,XMe=120,ZMe=65533,Uc="named",AO="hexadecimal",MO="decimal",DO={};DO[AO]=16;DO[MO]=10;var z0={};z0[Uc]=dK;z0[MO]=PMe;z0[AO]=LMe;var fK=1,pK=2,gK=3,mK=4,hK=5,gR=6,vK=7,rl={};rl[fK]="Named character references must be terminated by a semicolon";rl[pK]="Numeric character references must be terminated by a semicolon";rl[gK]="Named character references cannot be empty";rl[mK]="Numeric character references cannot be empty";rl[hK]="Named character references must be known";rl[gR]="Numeric character references cannot be disallowed";rl[vK]="Numeric character references cannot be outside the permissible Unicode range";function QMe(e,t){var n={},r,a;t||(t={});for(a in c4)r=t[a],n[a]=r??c4[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),JMe(e,n)}function JMe(e,t){var n=t.additional,r=t.nonTerminated,a=t.text,o=t.reference,i=t.warning,s=t.textContext,c=t.referenceContext,u=t.warningContext,d=t.position,f=t.indent||[],p=e.length,g=0,b=-1,m=d.column||1,h=d.line||1,y="",v=[],S,w,x,E,I,R,T,_,$,D,P,A,O,N,k,M,L,F,j;for(typeof n=="string"&&(n=n.charCodeAt(0)),M=B(),_=i?z:zMe,g--,p++;++g65535&&(R-=65536,D+=Lc(R>>>10|55296),R=56320|R&1023),R=D+Lc(R))):N!==Uc&&_(mK,F)),R?(H(),M=B(),g=j-1,m+=j-O+1,v.push(R),L=B(),L.offset++,o&&o.call(c,R,{start:M,end:L},e.slice(O-1,j)),M=L):(E=e.slice(O-1,j),y+=E,m+=E.length,g=j-1)}else I===10&&(h++,b++,m=0),I===I?(y+=Lc(I),m++):H();return v.join("");function B(){return{line:h,column:m,offset:g+(d.offset||0)}}function z(U,Z){var q=B();q.column+=Z,q.offset+=Z,i.call(u,rl[U],q,U)}function H(){y&&(v.push(y),a&&a.call(s,y,{start:M,end:B()}),y="")}}function eDe(e){return e>=55296&&e<=57343||e>1114111}function tDe(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var bK={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** +`)};if($===0){var A=d.slice(p+1,g).concat(_h({children:[P],className:E.properties.className})),O=h(A,D);f.push(O)}else if($===T.length-1){var N=d[g+1]&&d[g+1].children&&d[g+1].children[0],k={type:"text",value:"".concat(_)};if(N){var M=_h({children:[k],className:E.properties.className});d.splice(g+1,0,M)}else{var L=[k],F=h(L,D,E.properties.className);f.push(F)}}else{var j=[P],B=h(j,D,E.properties.className);f.push(B)}}),p=g}g++};g0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),i=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=Promise.all(n.map(s=>{if(s=ake(s),s in YP)return;YP[s]=!0;const c=s.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":rke,c||(d.as="script",d.crossOrigin=""),d.href=s,i&&d.setAttribute("nonce",i),document.head.appendChild(d),c)return new Promise((f,p)=>{d.addEventListener("load",f),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${s}`)))})}))}return a.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})},oke=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];var ike=lke,ske=Object.prototype.hasOwnProperty;function lke(){for(var e={},t=0;t4&&n.slice(0,4)===OO&&Yke.test(t)&&(t.charAt(4)==="-"?r=Qke(t):t=Jke(t),a=Gke),new a(r,t))}function Qke(e){var t=e.slice(5).replace(sK,tAe);return OO+t.charAt(0).toUpperCase()+t.slice(1)}function Jke(e){var t=e.slice(4);return sK.test(t)?e:(t=t.replace(Xke,eAe),t.charAt(0)!=="-"&&(t="-"+t),OO+t)}function eAe(e){return"-"+e.toLowerCase()}function tAe(e){return e.charAt(1).toUpperCase()}var nAe=rAe,e4=/[#.]/g;function rAe(e,t){for(var n=e||"",r=t||"div",a={},o=0,i,s,c;o=48&&t<=57}var IMe=TMe;function TMe(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var RMe=_Me;function _Me(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var $Me=RMe,OMe=uK,NMe=kMe;function kMe(e){return $Me(e)||OMe(e)}var zm,AMe=59,MMe=DMe;function DMe(e){var t="&"+e+";",n;return zm=zm||document.createElement("i"),zm.innerHTML=t,n=zm.textContent,n.charCodeAt(n.length-1)===AMe&&e!=="semi"||n===t?!1:n}var s4=CMe,l4=xMe,PMe=uK,LMe=IMe,dK=NMe,FMe=MMe,jMe=QMe,BMe={}.hasOwnProperty,Lc=String.fromCharCode,zMe=Function.prototype,c4={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},HMe=9,u4=10,UMe=12,VMe=32,d4=38,WMe=59,GMe=60,qMe=61,KMe=35,YMe=88,XMe=120,ZMe=65533,Uc="named",AO="hexadecimal",MO="decimal",DO={};DO[AO]=16;DO[MO]=10;var z0={};z0[Uc]=dK;z0[MO]=PMe;z0[AO]=LMe;var fK=1,pK=2,gK=3,mK=4,hK=5,gR=6,vK=7,rl={};rl[fK]="Named character references must be terminated by a semicolon";rl[pK]="Numeric character references must be terminated by a semicolon";rl[gK]="Named character references cannot be empty";rl[mK]="Numeric character references cannot be empty";rl[hK]="Named character references must be known";rl[gR]="Numeric character references cannot be disallowed";rl[vK]="Numeric character references cannot be outside the permissible Unicode range";function QMe(e,t){var n={},r,a;t||(t={});for(a in c4)r=t[a],n[a]=r??c4[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),JMe(e,n)}function JMe(e,t){var n=t.additional,r=t.nonTerminated,a=t.text,o=t.reference,i=t.warning,s=t.textContext,c=t.referenceContext,u=t.warningContext,d=t.position,f=t.indent||[],p=e.length,g=0,v=-1,m=d.column||1,h=d.line||1,y="",b=[],S,w,x,E,I,R,T,_,$,D,P,A,O,N,k,M,L,F,j;for(typeof n=="string"&&(n=n.charCodeAt(0)),M=B(),_=i?z:zMe,g--,p++;++g65535&&(R-=65536,D+=Lc(R>>>10|55296),R=56320|R&1023),R=D+Lc(R))):N!==Uc&&_(mK,F)),R?(H(),M=B(),g=j-1,m+=j-O+1,b.push(R),L=B(),L.offset++,o&&o.call(c,R,{start:M,end:L},e.slice(O-1,j)),M=L):(E=e.slice(O-1,j),y+=E,m+=E.length,g=j-1)}else I===10&&(h++,v++,m=0),I===I?(y+=Lc(I),m++):H();return b.join("");function B(){return{line:h,column:m,offset:g+(d.offset||0)}}function z(U,Z){var q=B();q.column+=Z,q.offset+=Z,i.call(u,rl[U],q,U)}function H(){y&&(b.push(y),a&&a.call(s,y,{start:M,end:B()}),y="")}}function eDe(e){return e>=55296&&e<=57343||e>1114111}function tDe(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var bK={exports:{}};(function(e){var t=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,i={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function v(S){return S instanceof c?new c(S.type,v(S.content),S.alias):Array.isArray(S)?S.map(v):S.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(x){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(x.stack)||[])[1];if(v){var S=document.getElementsByTagName("script");for(var w in S)if(S[w].src==v)return S[w]}return null}},isActive:function(v,S,w){for(var x="no-"+S;v;){var E=v.classList;if(E.contains(S))return!0;if(E.contains(x))return!1;v=v.parentElement}return!!w}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(v,S){var w=s.util.clone(s.languages[v]);for(var x in S)w[x]=S[x];return w},insertBefore:function(v,S,w,x){x=x||s.languages;var E=x[v],I={};for(var R in E)if(E.hasOwnProperty(R)){if(R==S)for(var T in w)w.hasOwnProperty(T)&&(I[T]=w[T]);w.hasOwnProperty(R)||(I[R]=E[R])}var _=x[v];return x[v]=I,s.languages.DFS(s.languages,function($,D){D===_&&$!=v&&(this[$]=I)}),I},DFS:function v(S,w,x,E){E=E||{};var I=s.util.objId;for(var R in S)if(S.hasOwnProperty(R)){w.call(S,R,S[R],x||R);var T=S[R],_=s.util.type(T);_==="Object"&&!E[I(T)]?(E[I(T)]=!0,v(T,w,null,E)):_==="Array"&&!E[I(T)]&&(E[I(T)]=!0,v(T,w,R,E))}}},plugins:{},highlightAll:function(v,S){s.highlightAllUnder(document,v,S)},highlightAllUnder:function(v,S,w){var x={callback:w,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",x),x.elements=Array.prototype.slice.apply(x.container.querySelectorAll(x.selector)),s.hooks.run("before-all-elements-highlight",x);for(var E=0,I;I=x.elements[E++];)s.highlightElement(I,S===!0,x.callback)},highlightElement:function(v,S,w){var x=s.util.getLanguage(v),E=s.languages[x];s.util.setLanguage(v,x);var I=v.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(I,x);var R=v.textContent,T={element:v,language:x,grammar:E,code:R};function _(D){T.highlightedCode=D,s.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,s.hooks.run("after-highlight",T),s.hooks.run("complete",T),w&&w.call(T.element)}if(s.hooks.run("before-sanity-check",T),I=T.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!T.code){s.hooks.run("complete",T),w&&w.call(T.element);return}if(s.hooks.run("before-highlight",T),!T.grammar){_(s.util.encode(T.code));return}if(S&&r.Worker){var $=new Worker(s.filename);$.onmessage=function(D){_(D.data)},$.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else _(s.highlight(T.code,T.grammar,T.language))},highlight:function(v,S,w){var x={code:v,grammar:S,language:w};if(s.hooks.run("before-tokenize",x),!x.grammar)throw new Error('The language "'+x.language+'" has no grammar.');return x.tokens=s.tokenize(x.code,x.grammar),s.hooks.run("after-tokenize",x),c.stringify(s.util.encode(x.tokens),x.language)},tokenize:function(v,S){var w=S.rest;if(w){for(var x in w)S[x]=w[x];delete S.rest}var E=new f;return p(E,E.head,v),d(v,E,S,E.head,0),b(E)},hooks:{all:{},add:function(v,S){var w=s.hooks.all;w[v]=w[v]||[],w[v].push(S)},run:function(v,S){var w=s.hooks.all[v];if(!(!w||!w.length))for(var x=0,E;E=w[x++];)E(S)}},Token:c};r.Prism=s;function c(v,S,w,x){this.type=v,this.content=S,this.alias=w,this.length=(x||"").length|0}c.stringify=function v(S,w){if(typeof S=="string")return S;if(Array.isArray(S)){var x="";return S.forEach(function(_){x+=v(_,w)}),x}var E={type:S.type,content:v(S.content,w),tag:"span",classes:["token",S.type],attributes:{},language:w},I=S.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(E.classes,I):E.classes.push(I)),s.hooks.run("wrap",E);var R="";for(var T in E.attributes)R+=" "+T+'="'+(E.attributes[T]||"").replace(/"/g,""")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+R+">"+E.content+""};function u(v,S,w,x){v.lastIndex=S;var E=v.exec(w);if(E&&x&&E[1]){var I=E[1].length;E.index+=I,E[0]=E[0].slice(I)}return E}function d(v,S,w,x,E,I){for(var R in w)if(!(!w.hasOwnProperty(R)||!w[R])){var T=w[R];T=Array.isArray(T)?T:[T];for(var _=0;_=I.reach);L+=M.value.length,M=M.next){var F=M.value;if(S.length>v.length)return;if(!(F instanceof c)){var j=1,B;if(A){if(B=u(k,L,v,P),!B||B.index>=v.length)break;var Z=B.index,z=B.index+B[0].length,H=L;for(H+=M.value.length;Z>=H;)M=M.next,H+=M.value.length;if(H-=M.value.length,L=H,M.value instanceof c)continue;for(var U=M;U!==S.tail&&(HI.reach&&(I.reach=ee);var X=M.prev;Y&&(X=p(S,X,Y),L+=Y.length),g(S,X,j);var ie=new c(R,D?s.tokenize(q,D):q,O,q);if(M=p(S,X,ie),te&&p(S,M,te),j>1){var re={cause:R+","+_,reach:ee};d(v,S,w,M.prev,L,re),I&&re.reach>I.reach&&(I.reach=re.reach)}}}}}}function f(){var v={value:null,prev:null,next:null},S={value:null,prev:v,next:null};v.next=S,this.head=v,this.tail=S,this.length=0}function p(v,S,w){var x=S.next,E={value:w,prev:S,next:x};return S.next=E,x.prev=E,v.length++,E}function g(v,S,w){for(var x=S.next,E=0;E/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var a={};a["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},a.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:a}};o["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var i={};i[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var aDe=LO;LO.displayName="css";LO.aliases=[];function LO(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}var oDe=FO;FO.displayName="clike";FO.aliases=[];function FO(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var iDe=jO;jO.displayName="javascript";jO.aliases=["js"];function jO(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}var lf=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof ta=="object"?ta:{},sDe=xDe();lf.Prism={manual:!0,disableWorkerMessageHandler:!0};var lDe=xAe,cDe=jMe,yK=nDe,uDe=rDe,dDe=aDe,fDe=oDe,pDe=iDe;sDe();var BO={}.hasOwnProperty;function SK(){}SK.prototype=yK;var gr=new SK,gDe=gr;gr.highlight=hDe;gr.register=$g;gr.alias=mDe;gr.registered=vDe;gr.listLanguages=bDe;$g(uDe);$g(dDe);$g(fDe);$g(pDe);gr.util.encode=wDe;gr.Token.stringify=yDe;function $g(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");gr.languages[e.displayName]===void 0&&e(gr)}function mDe(e,t){var n=gr.languages,r=e,a,o,i,s;t&&(r={},r[e]=t);for(a in r)for(o=r[a],o=typeof o=="string"?[o]:o,i=o.length,s=-1;++s code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var GS,f4;function IDe(){if(f4)return GS;f4=1,GS=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return GS}var qS,p4;function TDe(){if(p4)return qS;p4=1,qS=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return qS}var KS,g4;function RDe(){if(g4)return KS;g4=1,KS=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return KS}var YS,m4;function _De(){if(m4)return YS;m4=1,YS=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return YS}var XS,h4;function $De(){if(h4)return XS;h4=1,XS=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return XS}var ZS,v4;function ODe(){if(v4)return ZS;v4=1,ZS=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return ZS}var QS,b4;function NDe(){if(b4)return QS;b4=1,QS=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return QS}var JS,y4;function kDe(){if(y4)return JS;y4=1,JS=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return JS}var e1,S4;function zO(){if(S4)return e1;S4=1,e1=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return e1}var t1,w4;function ADe(){if(w4)return t1;w4=1;var e=zO();t1=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,o=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function i(c){return RegExp(c.replace(//g,function(){return o}),"i")}var s={keyword:a,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:i(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:i(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}return t1}var n1,C4;function MDe(){if(C4)return n1;C4=1,n1=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return n1}var r1,x4;function DDe(){if(x4)return r1;x4=1,r1=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return r1}var a1,E4;function PDe(){if(E4)return a1;E4=1,a1=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return a1}var o1,I4;function Sc(){if(I4)return o1;I4=1,o1=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return o1}var i1,T4;function HO(){if(T4)return i1;T4=1;var e=Sc();i1=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,o=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return o})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(n)}return i1}var s1,R4;function LDe(){if(R4)return s1;R4=1;var e=HO();s1=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}return s1}var l1,_4;function FDe(){if(_4)return l1;_4=1,l1=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return l1}var c1,$4;function jDe(){if($4)return c1;$4=1,c1=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},a=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function o(i){i=i.split(" ");for(var s={},c=0,u=i.length;c>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return d1}var f1,k4;function H0(){if(k4)return f1;k4=1,f1=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(j,B){return j.replace(/<<(\d+)>>/g,function(z,H){return"(?:"+B[+H]+")"})}function a(j,B,z){return RegExp(r(j,B),"")}function o(j,B){for(var z=0;z>/g,function(){return"(?:"+j+")"});return j.replace(/<>/g,"[^\\s\\S]")}var i={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(j){return"\\b(?:"+j.trim().replace(/ /g,"|")+")\\b"}var c=s(i.typeDeclaration),u=RegExp(s(i.type+" "+i.typeDeclaration+" "+i.contextual+" "+i.other)),d=s(i.typeDeclaration+" "+i.contextual+" "+i.other),f=s(i.type+" "+i.typeDeclaration+" "+i.other),p=o(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),g=o(/\((?:[^()]|<>)*\)/.source,2),b=/@?\b[A-Za-z_]\w*\b/.source,m=r(/<<0>>(?:\s*<<1>>)?/.source,[b,p]),h=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),y=/\[\s*(?:,\s*)*\]/.source,v=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,y]),S=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,g,y]),w=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[S]),x=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,h,y]),E={keyword:u,punctuation:/[<>()?,.:[\]]/},I=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,R=/"(?:\\.|[^\\"\r\n])*"/.source,T=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:E},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[b,x]),lookbehind:!0,inside:E},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[b]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[c,m]),lookbehind:!0,inside:E},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:E},{pattern:a(/(\bwhere\s+)<<0>>/.source,[b]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:E},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,f,b]),inside:E}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[b]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[b]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[g]),lookbehind:!0,alias:"class-name",inside:E},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,h]),inside:E,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:E,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[b,p]),inside:{function:a(/^<<0>>/.source,[b]),generic:{pattern:RegExp(p),alias:"class-name",inside:E}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,m,b,x,u.source,g,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,g]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(x),greedy:!0,inside:E},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var _=R+"|"+I,$=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[_]),D=o(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),P=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,A=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,D]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[P,A]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[P]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[D]),inside:n.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var O=/:[^}\r\n]+/.source,N=o(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),k=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,O]),M=o(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[_]),2),L=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,O]);function F(j,B){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[j]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[B,O]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[k]),lookbehind:!0,greedy:!0,inside:F(k,N)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:F(L,M)}],char:{pattern:RegExp(I),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return f1}var p1,A4;function HDe(){if(A4)return p1;A4=1;var e=H0();p1=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return p1}var g1,M4;function UDe(){if(M4)return g1;M4=1,g1=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return g1}var m1,D4;function VDe(){if(D4)return m1;D4=1,m1=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return m1}var h1,P4;function WDe(){if(P4)return h1;P4=1,h1=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(d,f){return d.replace(/<<(\d+)>>/g,function(p,g){return f[+g]})}function a(d,f,p){return RegExp(r(d,f),p)}var o=/bool|clip|float|int|string|val/.source,i=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),s=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),c=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[i,s,c].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\b(?:<<0>>)\s+("?)\w+\1/.source,[o],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:a(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:a(/\b(?:<<0>>)(?=\s*\()/.source,[o],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return h1}var v1,L4;function GDe(){if(L4)return v1;L4=1,v1=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return v1}var b1,F4;function wK(){if(F4)return b1;F4=1,b1=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:a,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=n.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=o.variable[1].inside,c=0;c?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return y1}var S1,B4;function qDe(){if(B4)return S1;B4=1,S1=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},o=/"(?:[\\"]"|[^"])*"(?!")/,i=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:o,parameter:a,variable:r,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:o,parameter:a,variable:r,number:i,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:o,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:o,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return S1}var w1,z4;function KDe(){if(z4)return w1;z4=1,w1=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return w1}var C1,H4;function YDe(){if(H4)return C1;H4=1,C1=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return C1}var x1,U4;function XDe(){if(U4)return x1;U4=1,x1=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return x1}var E1,V4;function ZDe(){if(V4)return E1;V4=1;var e=Sc();E1=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return E1}var I1,W4;function QDe(){if(W4)return I1;W4=1,I1=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return I1}var T1,G4;function JDe(){if(G4)return T1;G4=1,T1=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return T1}var R1,q4;function ePe(){if(q4)return R1;q4=1,R1=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return R1}var _1,K4;function tPe(){if(K4)return _1;K4=1,_1=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return _1}var $1,Y4;function nPe(){if(Y4)return $1;Y4=1,$1=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return $1}var O1,X4;function rPe(){if(X4)return O1;X4=1,O1=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return O1}var N1,Z4;function aPe(){if(Z4)return N1;Z4=1;var e=HO();N1=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return N1}var k1,Q4;function oPe(){if(Q4)return k1;Q4=1,k1=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return k1}var A1,J4;function iPe(){if(J4)return A1;J4=1,A1=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return A1}var M1,eL;function sPe(){if(eL)return M1;eL=1,M1=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return M1}var D1,tL;function lPe(){if(tL)return D1;tL=1,D1=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return D1}var P1,nL;function cPe(){if(nL)return P1;nL=1,P1=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:a}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return P1}var L1,rL;function uPe(){if(rL)return L1;rL=1,L1=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return L1}var F1,aL;function dPe(){if(aL)return F1;aL=1,F1=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return F1}var j1,oL;function U0(){if(oL)return j1;oL=1,j1=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",o=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+o),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+o+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),n.languages.rb=n.languages.ruby})(t)}return j1}var B1,iL;function fPe(){if(iL)return B1;iL=1;var e=U0();B1=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),function(r){r.languages.crystal=r.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}return B1}var z1,sL;function pPe(){if(sL)return z1;sL=1;var e=H0();z1=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,o=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function i(h,y){for(var v=0;v/g,function(){return"(?:"+h+")"});return h.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+o+")").replace(//g,"(?:"+a+")")}var s=i(/\((?:[^()'"@/]|||)*\)/.source,2),c=i(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=i(/\{(?:[^{}'"@/]|||)*\}/.source,2),d=i(/<(?:[^<>'"@/]|||)*>/.source,2),f=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,p=/(?!\d)[^\s>\/=$<%]+/.source+f+/\s*\/?>/.source,g=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+f+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+p+"|"+i(/<\1/.source+f+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+p+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var o={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:o,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:o,number:i})})(t)}return U1}var V1,uL;function hPe(){if(uL)return V1;uL=1,V1=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return V1}var W1,dL;function vPe(){if(dL)return W1;dL=1,W1=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return W1}var G1,fL;function bPe(){if(fL)return G1;fL=1,G1=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return G1}var q1,pL;function yPe(){if(pL)return q1;pL=1,q1=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[o,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:o.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":o,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return q1}var K1,gL;function SPe(){if(gL)return K1;gL=1,K1=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return K1}var Y1,mL;function wPe(){if(mL)return Y1;mL=1,Y1=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return Y1}var X1,hL;function CPe(){if(hL)return X1;hL=1,X1=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return X1}var Z1,vL;function xPe(){if(vL)return Z1;vL=1,Z1=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(a){var o=r[a],i=[];/^\w+$/.test(a)||i.push(/\w+/.exec(a)[0]),a==="diff"&&i.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+o+`].*(?:\r + */var n=function(r){var a=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,o=0,i={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function b(S){return S instanceof c?new c(S.type,b(S.content),S.alias):Array.isArray(S)?S.map(b):S.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(x){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(x.stack)||[])[1];if(b){var S=document.getElementsByTagName("script");for(var w in S)if(S[w].src==b)return S[w]}return null}},isActive:function(b,S,w){for(var x="no-"+S;b;){var E=b.classList;if(E.contains(S))return!0;if(E.contains(x))return!1;b=b.parentElement}return!!w}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(b,S){var w=s.util.clone(s.languages[b]);for(var x in S)w[x]=S[x];return w},insertBefore:function(b,S,w,x){x=x||s.languages;var E=x[b],I={};for(var R in E)if(E.hasOwnProperty(R)){if(R==S)for(var T in w)w.hasOwnProperty(T)&&(I[T]=w[T]);w.hasOwnProperty(R)||(I[R]=E[R])}var _=x[b];return x[b]=I,s.languages.DFS(s.languages,function($,D){D===_&&$!=b&&(this[$]=I)}),I},DFS:function b(S,w,x,E){E=E||{};var I=s.util.objId;for(var R in S)if(S.hasOwnProperty(R)){w.call(S,R,S[R],x||R);var T=S[R],_=s.util.type(T);_==="Object"&&!E[I(T)]?(E[I(T)]=!0,b(T,w,null,E)):_==="Array"&&!E[I(T)]&&(E[I(T)]=!0,b(T,w,R,E))}}},plugins:{},highlightAll:function(b,S){s.highlightAllUnder(document,b,S)},highlightAllUnder:function(b,S,w){var x={callback:w,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",x),x.elements=Array.prototype.slice.apply(x.container.querySelectorAll(x.selector)),s.hooks.run("before-all-elements-highlight",x);for(var E=0,I;I=x.elements[E++];)s.highlightElement(I,S===!0,x.callback)},highlightElement:function(b,S,w){var x=s.util.getLanguage(b),E=s.languages[x];s.util.setLanguage(b,x);var I=b.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(I,x);var R=b.textContent,T={element:b,language:x,grammar:E,code:R};function _(D){T.highlightedCode=D,s.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,s.hooks.run("after-highlight",T),s.hooks.run("complete",T),w&&w.call(T.element)}if(s.hooks.run("before-sanity-check",T),I=T.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!T.code){s.hooks.run("complete",T),w&&w.call(T.element);return}if(s.hooks.run("before-highlight",T),!T.grammar){_(s.util.encode(T.code));return}if(S&&r.Worker){var $=new Worker(s.filename);$.onmessage=function(D){_(D.data)},$.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else _(s.highlight(T.code,T.grammar,T.language))},highlight:function(b,S,w){var x={code:b,grammar:S,language:w};if(s.hooks.run("before-tokenize",x),!x.grammar)throw new Error('The language "'+x.language+'" has no grammar.');return x.tokens=s.tokenize(x.code,x.grammar),s.hooks.run("after-tokenize",x),c.stringify(s.util.encode(x.tokens),x.language)},tokenize:function(b,S){var w=S.rest;if(w){for(var x in w)S[x]=w[x];delete S.rest}var E=new f;return p(E,E.head,b),d(b,E,S,E.head,0),v(E)},hooks:{all:{},add:function(b,S){var w=s.hooks.all;w[b]=w[b]||[],w[b].push(S)},run:function(b,S){var w=s.hooks.all[b];if(!(!w||!w.length))for(var x=0,E;E=w[x++];)E(S)}},Token:c};r.Prism=s;function c(b,S,w,x){this.type=b,this.content=S,this.alias=w,this.length=(x||"").length|0}c.stringify=function b(S,w){if(typeof S=="string")return S;if(Array.isArray(S)){var x="";return S.forEach(function(_){x+=b(_,w)}),x}var E={type:S.type,content:b(S.content,w),tag:"span",classes:["token",S.type],attributes:{},language:w},I=S.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(E.classes,I):E.classes.push(I)),s.hooks.run("wrap",E);var R="";for(var T in E.attributes)R+=" "+T+'="'+(E.attributes[T]||"").replace(/"/g,""")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+R+">"+E.content+""};function u(b,S,w,x){b.lastIndex=S;var E=b.exec(w);if(E&&x&&E[1]){var I=E[1].length;E.index+=I,E[0]=E[0].slice(I)}return E}function d(b,S,w,x,E,I){for(var R in w)if(!(!w.hasOwnProperty(R)||!w[R])){var T=w[R];T=Array.isArray(T)?T:[T];for(var _=0;_=I.reach);L+=M.value.length,M=M.next){var F=M.value;if(S.length>b.length)return;if(!(F instanceof c)){var j=1,B;if(A){if(B=u(k,L,b,P),!B||B.index>=b.length)break;var Z=B.index,z=B.index+B[0].length,H=L;for(H+=M.value.length;Z>=H;)M=M.next,H+=M.value.length;if(H-=M.value.length,L=H,M.value instanceof c)continue;for(var U=M;U!==S.tail&&(HI.reach&&(I.reach=te);var X=M.prev;Y&&(X=p(S,X,Y),L+=Y.length),g(S,X,j);var ie=new c(R,D?s.tokenize(q,D):q,O,q);if(M=p(S,X,ie),ee&&p(S,M,ee),j>1){var re={cause:R+","+_,reach:te};d(b,S,w,M.prev,L,re),I&&re.reach>I.reach&&(I.reach=re.reach)}}}}}}function f(){var b={value:null,prev:null,next:null},S={value:null,prev:b,next:null};b.next=S,this.head=b,this.tail=S,this.length=0}function p(b,S,w){var x=S.next,E={value:w,prev:S,next:x};return S.next=E,x.prev=E,b.length++,E}function g(b,S,w){for(var x=S.next,E=0;E/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var a={};a["language-"+r]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[r]},a.cdata=/^$/i;var o={"included-cdata":{pattern://i,inside:a}};o["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var i={};i[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}var aDe=LO;LO.displayName="css";LO.aliases=[];function LO(e){(function(t){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))})(e)}var oDe=FO;FO.displayName="clike";FO.aliases=[];function FO(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}var iDe=jO;jO.displayName="javascript";jO.aliases=["js"];function jO(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}var lf=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof ta=="object"?ta:{},sDe=xDe();lf.Prism={manual:!0,disableWorkerMessageHandler:!0};var lDe=xAe,cDe=jMe,yK=nDe,uDe=rDe,dDe=aDe,fDe=oDe,pDe=iDe;sDe();var BO={}.hasOwnProperty;function SK(){}SK.prototype=yK;var gr=new SK,gDe=gr;gr.highlight=hDe;gr.register=$g;gr.alias=mDe;gr.registered=vDe;gr.listLanguages=bDe;$g(uDe);$g(dDe);$g(fDe);$g(pDe);gr.util.encode=wDe;gr.Token.stringify=yDe;function $g(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");gr.languages[e.displayName]===void 0&&e(gr)}function mDe(e,t){var n=gr.languages,r=e,a,o,i,s;t&&(r={},r[e]=t);for(a in r)for(o=r[a],o=typeof o=="string"?[o]:o,i=o.length,s=-1;++s code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}};var GS,f4;function IDe(){if(f4)return GS;f4=1,GS=e,e.displayName="abap",e.aliases=[];function e(t){t.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return GS}var qS,p4;function TDe(){if(p4)return qS;p4=1,qS=e,e.displayName="abnf",e.aliases=[];function e(t){(function(n){var r="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";n.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+r+"|<"+r+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}})(t)}return qS}var KS,g4;function RDe(){if(g4)return KS;g4=1,KS=e,e.displayName="actionscript",e.aliases=[];function e(t){t.languages.actionscript=t.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),t.languages.actionscript["class-name"].alias="function",delete t.languages.actionscript.parameter,delete t.languages.actionscript["literal-property"],t.languages.markup&&t.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:t.languages.markup}})}return KS}var YS,m4;function _De(){if(m4)return YS;m4=1,YS=e,e.displayName="ada",e.aliases=[];function e(t){t.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return YS}var XS,h4;function $De(){if(h4)return XS;h4=1,XS=e,e.displayName="agda",e.aliases=[];function e(t){(function(n){n.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}})(t)}return XS}var ZS,v4;function ODe(){if(v4)return ZS;v4=1,ZS=e,e.displayName="al",e.aliases=[];function e(t){t.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return ZS}var QS,b4;function NDe(){if(b4)return QS;b4=1,QS=e,e.displayName="antlr4",e.aliases=["g4"];function e(t){t.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},t.languages.g4=t.languages.antlr4}return QS}var JS,y4;function kDe(){if(y4)return JS;y4=1,JS=e,e.displayName="apacheconf",e.aliases=[];function e(t){t.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return JS}var e1,S4;function zO(){if(S4)return e1;S4=1,e1=e,e.displayName="sql",e.aliases=[];function e(t){t.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return e1}var t1,w4;function ADe(){if(w4)return t1;w4=1;var e=zO();t1=t,t.displayName="apex",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,o=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function i(c){return RegExp(c.replace(//g,function(){return o}),"i")}var s={keyword:a,punctuation:/[()\[\]{};,:.<>]/};r.languages.apex={comment:r.languages.clike.comment,string:r.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:r.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:i(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:i(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:i(/(?=\s*\w+\s*[;=,(){:])/.source),inside:s}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:a,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(n)}return t1}var n1,C4;function MDe(){if(C4)return n1;C4=1,n1=e,e.displayName="apl",e.aliases=[];function e(t){t.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}return n1}var r1,x4;function DDe(){if(x4)return r1;x4=1,r1=e,e.displayName="applescript",e.aliases=[];function e(t){t.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}return r1}var a1,E4;function PDe(){if(E4)return a1;E4=1,a1=e,e.displayName="aql",e.aliases=[];function e(t){t.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return a1}var o1,I4;function Sc(){if(I4)return o1;I4=1,o1=e,e.displayName="c",e.aliases=[];function e(t){t.languages.c=t.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),t.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),t.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},t.languages.c.string],char:t.languages.c.char,comment:t.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:t.languages.c}}}}),t.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete t.languages.c.boolean}return o1}var i1,T4;function HO(){if(T4)return i1;T4=1;var e=Sc();i1=t,t.displayName="cpp",t.aliases=[];function t(n){n.register(e),function(r){var a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,o=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source});r.languages.cpp=r.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),r.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return o})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),r.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r.languages.cpp}}}}),r.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),r.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:r.languages.extend("cpp",{})}}),r.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},r.languages.cpp["base-clause"])}(n)}return i1}var s1,R4;function LDe(){if(R4)return s1;R4=1;var e=HO();s1=t,t.displayName="arduino",t.aliases=["ino"];function t(n){n.register(e),n.languages.arduino=n.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),n.languages.ino=n.languages.arduino}return s1}var l1,_4;function FDe(){if(_4)return l1;_4=1,l1=e,e.displayName="arff",e.aliases=[];function e(t){t.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return l1}var c1,$4;function jDe(){if($4)return c1;$4=1,c1=e,e.displayName="asciidoc",e.aliases=["adoc"];function e(t){(function(n){var r={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},a=n.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:r,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:r.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:r,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function o(i){i=i.split(" ");for(var s={},c=0,u=i.length;c>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return d1}var f1,k4;function H0(){if(k4)return f1;k4=1,f1=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(j,B){return j.replace(/<<(\d+)>>/g,function(z,H){return"(?:"+B[+H]+")"})}function a(j,B,z){return RegExp(r(j,B),"")}function o(j,B){for(var z=0;z>/g,function(){return"(?:"+j+")"});return j.replace(/<>/g,"[^\\s\\S]")}var i={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function s(j){return"\\b(?:"+j.trim().replace(/ /g,"|")+")\\b"}var c=s(i.typeDeclaration),u=RegExp(s(i.type+" "+i.typeDeclaration+" "+i.contextual+" "+i.other)),d=s(i.typeDeclaration+" "+i.contextual+" "+i.other),f=s(i.type+" "+i.typeDeclaration+" "+i.other),p=o(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),g=o(/\((?:[^()]|<>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,m=r(/<<0>>(?:\s*<<1>>)?/.source,[v,p]),h=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),y=/\[\s*(?:,\s*)*\]/.source,b=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,y]),S=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,g,y]),w=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[S]),x=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,h,y]),E={keyword:u,punctuation:/[<>()?,.:[\]]/},I=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,R=/"(?:\\.|[^\\"\r\n])*"/.source,T=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:E},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,x]),lookbehind:!0,inside:E},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[c,m]),lookbehind:!0,inside:E},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:E},{pattern:a(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:E},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,f,v]),inside:E}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),n.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),n.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:a(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[g]),lookbehind:!0,alias:"class-name",inside:E},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,h]),inside:E,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:E,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,p]),inside:{function:a(/^<<0>>/.source,[v]),generic:{pattern:RegExp(p),alias:"class-name",inside:E}}},"type-list":{pattern:a(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,m,v,x,u.source,g,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,g]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(x),greedy:!0,inside:E},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var _=R+"|"+I,$=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[_]),D=o(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),P=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,A=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,D]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[P,A]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[P]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[D]),inside:n.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var O=/:[^}\r\n]+/.source,N=o(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),k=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,O]),M=o(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[_]),2),L=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,O]);function F(j,B){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[j]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[B,O]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:n.languages.csharp}}},string:/[\s\S]+/}}n.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:a(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[k]),lookbehind:!0,greedy:!0,inside:F(k,N)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:F(L,M)}],char:{pattern:RegExp(I),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return f1}var p1,A4;function HDe(){if(A4)return p1;A4=1;var e=H0();p1=t,t.displayName="aspnet",t.aliases=[];function t(n){n.register(e),n.languages.aspnet=n.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:n.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:n.languages.csharp}}}),n.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.insertBefore("inside","punctuation",{directive:n.languages.aspnet.directive},n.languages.aspnet.tag.inside["attr-value"]),n.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),n.languages.insertBefore("aspnet",n.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:n.languages.csharp||{}}})}return p1}var g1,M4;function UDe(){if(M4)return g1;M4=1,g1=e,e.displayName="autohotkey",e.aliases=[];function e(t){t.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return g1}var m1,D4;function VDe(){if(D4)return m1;D4=1,m1=e,e.displayName="autoit",e.aliases=[];function e(t){t.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return m1}var h1,P4;function WDe(){if(P4)return h1;P4=1,h1=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(d,f){return d.replace(/<<(\d+)>>/g,function(p,g){return f[+g]})}function a(d,f,p){return RegExp(r(d,f),p)}var o=/bool|clip|float|int|string|val/.source,i=[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),s=[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),c=[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|"),u=[i,s,c].join("|");n.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:a(/\b(?:<<0>>)\s+("?)\w+\1/.source,[o],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:a(/\b(?:<<0>>)\b/.source,[u],"i"),alias:"function"},"type-cast":{pattern:a(/\b(?:<<0>>)(?=\s*\()/.source,[o],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},n.languages.avs=n.languages.avisynth})(t)}return h1}var v1,L4;function GDe(){if(L4)return v1;L4=1,v1=e,e.displayName="avroIdl",e.aliases=[];function e(t){t.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},t.languages.avdl=t.languages["avro-idl"]}return v1}var b1,F4;function wK(){if(F4)return b1;F4=1,b1=e,e.displayName="bash",e.aliases=["shell"];function e(t){(function(n){var r="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},o={bash:a,environment:{pattern:RegExp("\\$"+r),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+r),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};n.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+r),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:o},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:o},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:o.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:o.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=n.languages.bash;for(var i=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=o.variable[1].inside,c=0;c?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return y1}var S1,B4;function qDe(){if(B4)return S1;B4=1,S1=e,e.displayName="batch",e.aliases=[];function e(t){(function(n){var r=/%%?[~:\w]+%?|!\S+!/,a={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},o=/"(?:[\\"]"|[^"])*"(?!")/,i=/(?:\b|-)\d+\b/;n.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:o,parameter:a,variable:r,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:o,parameter:a,variable:r,number:i,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:o,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:i,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:o,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:i,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return S1}var w1,z4;function KDe(){if(z4)return w1;z4=1,w1=e,e.displayName="bbcode",e.aliases=["shortcode"];function e(t){t.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},t.languages.shortcode=t.languages.bbcode}return w1}var C1,H4;function YDe(){if(H4)return C1;H4=1,C1=e,e.displayName="bicep",e.aliases=[];function e(t){t.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},t.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=t.languages.bicep}return C1}var x1,U4;function XDe(){if(U4)return x1;U4=1,x1=e,e.displayName="birb",e.aliases=[];function e(t){t.languages.birb=t.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),t.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return x1}var E1,V4;function ZDe(){if(V4)return E1;V4=1;var e=Sc();E1=t,t.displayName="bison",t.aliases=[];function t(n){n.register(e),n.languages.bison=n.languages.extend("c",{}),n.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:n.languages.c}},comment:n.languages.c.comment,string:n.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return E1}var I1,W4;function QDe(){if(W4)return I1;W4=1,I1=e,e.displayName="bnf",e.aliases=["rbnf"];function e(t){t.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},t.languages.rbnf=t.languages.bnf}return I1}var T1,G4;function JDe(){if(G4)return T1;G4=1,T1=e,e.displayName="brainfuck",e.aliases=[];function e(t){t.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return T1}var R1,q4;function ePe(){if(q4)return R1;q4=1,R1=e,e.displayName="brightscript",e.aliases=[];function e(t){t.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},t.languages.brightscript["directive-statement"].inside.expression.inside=t.languages.brightscript}return R1}var _1,K4;function tPe(){if(K4)return _1;K4=1,_1=e,e.displayName="bro",e.aliases=[];function e(t){t.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return _1}var $1,Y4;function nPe(){if(Y4)return $1;Y4=1,$1=e,e.displayName="bsl",e.aliases=[];function e(t){t.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},t.languages.oscript=t.languages.bsl}return $1}var O1,X4;function rPe(){if(X4)return O1;X4=1,O1=e,e.displayName="cfscript",e.aliases=[];function e(t){t.languages.cfscript=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),t.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete t.languages.cfscript["class-name"],t.languages.cfc=t.languages.cfscript}return O1}var N1,Z4;function aPe(){if(Z4)return N1;Z4=1;var e=HO();N1=t,t.displayName="chaiscript",t.aliases=[];function t(n){n.register(e),n.languages.chaiscript=n.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[n.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),n.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),n.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}return N1}var k1,Q4;function oPe(){if(Q4)return k1;Q4=1,k1=e,e.displayName="cil",e.aliases=[];function e(t){t.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return k1}var A1,J4;function iPe(){if(J4)return A1;J4=1,A1=e,e.displayName="clojure",e.aliases=[];function e(t){t.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}return A1}var M1,eL;function sPe(){if(eL)return M1;eL=1,M1=e,e.displayName="cmake",e.aliases=[];function e(t){t.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return M1}var D1,tL;function lPe(){if(tL)return D1;tL=1,D1=e,e.displayName="cobol",e.aliases=[];function e(t){t.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return D1}var P1,nL;function cPe(){if(nL)return P1;nL=1,P1=e,e.displayName="coffeescript",e.aliases=["coffee"];function e(t){(function(n){var r=/#(?!\{).+/,a={pattern:/#\{[^}]+\}/,alias:"variable"};n.languages.coffeescript=n.languages.extend("javascript",{comment:r,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:a}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),n.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:r,interpolation:a}}}),n.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:n.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:a}}]}),n.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete n.languages.coffeescript["template-string"],n.languages.coffee=n.languages.coffeescript})(t)}return P1}var L1,rL;function uPe(){if(rL)return L1;rL=1,L1=e,e.displayName="concurnas",e.aliases=["conc"];function e(t){t.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},t.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:t.languages.concurnas},string:/[\s\S]+/}}}),t.languages.conc=t.languages.concurnas}return L1}var F1,aL;function dPe(){if(aL)return F1;aL=1,F1=e,e.displayName="coq",e.aliases=[];function e(t){(function(n){for(var r=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[]"),n.languages.coq={comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return r})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(r),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}})(t)}return F1}var j1,oL;function U0(){if(oL)return j1;oL=1,j1=e,e.displayName="ruby",e.aliases=["rb"];function e(t){(function(n){n.languages.ruby=n.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),n.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var r={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:n.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete n.languages.ruby.function;var a="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",o=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;n.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+a+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:r,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+o),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+o+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),n.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+a),greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:r,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+a),greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:r,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete n.languages.ruby.string,n.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),n.languages.rb=n.languages.ruby})(t)}return j1}var B1,iL;function fPe(){if(iL)return B1;iL=1;var e=U0();B1=t,t.displayName="crystal",t.aliases=[];function t(n){n.register(e),function(r){r.languages.crystal=r.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,r.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),r.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:r.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:r.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}(n)}return B1}var z1,sL;function pPe(){if(sL)return z1;sL=1;var e=H0();z1=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,o=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function i(h,y){for(var b=0;b/g,function(){return"(?:"+h+")"});return h.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+o+")").replace(//g,"(?:"+a+")")}var s=i(/\((?:[^()'"@/]|||)*\)/.source,2),c=i(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=i(/\{(?:[^{}'"@/]|||)*\}/.source,2),d=i(/<(?:[^<>'"@/]|||)*>/.source,2),f=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,p=/(?!\d)[^\s>\/=$<%]+/.source+f+/\s*\/?>/.source,g=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+f+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+p+"|"+i(/<\1/.source+f+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+p+"|")+")*"+/<\/\1\s*>/.source,2))+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},n.languages.css.atrule.inside["selector-function-argument"].inside=a,n.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var o={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},i={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};n.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:o,number:i,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:o,number:i})})(t)}return U1}var V1,uL;function hPe(){if(uL)return V1;uL=1,V1=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return V1}var W1,dL;function vPe(){if(dL)return W1;dL=1,W1=e,e.displayName="cypher",e.aliases=[];function e(t){t.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return W1}var G1,fL;function bPe(){if(fL)return G1;fL=1,G1=e,e.displayName="d",e.aliases=[];function e(t){t.languages.d=t.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),t.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),t.languages.insertBefore("d","keyword",{property:/\B@\w*/}),t.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return G1}var q1,pL;function yPe(){if(pL)return q1;pL=1,q1=e,e.displayName="dart",e.aliases=[];function e(t){(function(n){var r=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};n.languages.dart=n.languages.extend("clike",{"class-name":[o,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:o.inside}],keyword:r,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),n.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.dart}}},string:/[\s\S]+/}},string:void 0}),n.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),n.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":o,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return q1}var K1,gL;function SPe(){if(gL)return K1;gL=1,K1=e,e.displayName="dataweave",e.aliases=[];function e(t){(function(n){n.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}})(t)}return K1}var Y1,mL;function wPe(){if(mL)return Y1;mL=1,Y1=e,e.displayName="dax",e.aliases=[];function e(t){t.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}return Y1}var X1,hL;function CPe(){if(hL)return X1;hL=1,X1=e,e.displayName="dhall",e.aliases=[];function e(t){t.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},t.languages.dhall.string.inside.interpolation.inside.expression.inside=t.languages.dhall}return X1}var Z1,vL;function xPe(){if(vL)return Z1;vL=1,Z1=e,e.displayName="diff",e.aliases=[];function e(t){(function(n){n.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var r={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(r).forEach(function(a){var o=r[a],i=[];/^\w+$/.test(a)||i.push(/\w+/.exec(a)[0]),a==="diff"&&i.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+o+`].*(?:\r ?| -|(?![\\s\\S])))+`,"m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return Z1}var Q1,bL;function $a(){if(bL)return Q1;bL=1,Q1=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,o){return"___"+a.toUpperCase()+o+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,o,i,s){if(a.language===o){var c=a.tokenStack=[];a.code=a.code.replace(i,function(u){if(typeof s=="function"&&!s(u))return u;for(var d=c.length,f;a.code.indexOf(f=r(o,d))!==-1;)++d;return c[d]=u,f}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,o){if(a.language!==o||!a.tokenStack)return;a.grammar=n.languages[o];var i=0,s=Object.keys(a.tokenStack);function c(u){for(var d=0;d=s.length);d++){var f=u[d];if(typeof f=="string"||f.content&&typeof f.content=="string"){var p=s[i],g=a.tokenStack[p],b=typeof f=="string"?f:f.content,m=r(o,p),h=b.indexOf(m);if(h>-1){++i;var y=b.substring(0,h),v=new n.Token(o,n.tokenize(g,a.grammar),"language-"+o,g),S=b.substring(h+m.length),w=[];y&&w.push.apply(w,c([y])),w.push(v),S&&w.push.apply(w,c([S])),typeof f=="string"?u.splice.apply(u,[d,1].concat(w)):f.content=w}}else f.content&&c(f.content)}return u}c(a.tokens)}}})})(t)}return Q1}var J1,yL;function EPe(){if(yL)return J1;yL=1;var e=$a();J1=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,o=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(i){o.buildPlaceholders(i,"django",a)}),r.hooks.add("after-tokenize",function(i){o.tokenizePlaceholders(i,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(i){o.buildPlaceholders(i,"jinja2",a)}),r.hooks.add("after-tokenize",function(i){o.tokenizePlaceholders(i,"jinja2")})}(n)}return J1}var ew,SL;function IPe(){if(SL)return ew;SL=1,ew=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return ew}var tw,wL;function TPe(){if(wL)return tw;wL=1,tw=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),o=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return o}),s={pattern:RegExp(o),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(d,f){return d=d.replace(//g,function(){return i}).replace(//g,function(){return a}),RegExp(d,f)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},n.languages.dockerfile=n.languages.docker})(t)}return tw}var nw,CL;function RPe(){if(CL)return nw;CL=1,nw=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function o(i,s){return RegExp(i.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:o(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:o(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:o(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:o(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return nw}var rw,xL;function _Pe(){if(xL)return rw;xL=1,rw=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return rw}var aw,EL;function $Pe(){if(EL)return aw;EL=1,aw=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return aw}var ow,IL;function OPe(){if(IL)return ow;IL=1,ow=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return ow}var iw,TL;function NPe(){if(TL)return iw;TL=1;var e=$a();iw=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(a){var o=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return iw}var sw,RL;function kPe(){if(RL)return sw;RL=1,sw=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return sw}var lw,_L;function APe(){if(_L)return lw;_L=1,lw=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return lw}var cw,$L;function MPe(){if($L)return cw;$L=1;var e=U0(),t=$a();cw=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(o){var i=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(o,"erb",i)}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"erb")})}(r)}return cw}var uw,OL;function DPe(){if(OL)return uw;OL=1,uw=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return uw}var dw,NL;function xK(){if(NL)return dw;NL=1,dw=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return dw}var fw,kL;function PPe(){if(kL)return fw;kL=1;var e=xK(),t=$a();fw=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(o){var i=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(o,"etlua",i)}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"etlua")})}(r)}return fw}var pw,AL;function LPe(){if(AL)return pw;AL=1,pw=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return pw}var gw,ML;function FPe(){if(ML)return gw;ML=1,gw=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={number:/\\[^\s']|%\w/},o={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:a.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},i=function(d){return(d+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(d){return new RegExp("(^|\\s)(?:"+d.map(i).join("|")+")(?=\\s|$)")},c={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(c).forEach(function(d){o[d].pattern=s(c[d])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];o.combinators.pattern=s(u),n.languages.factor=o})(t)}return gw}var mw,DL;function jPe(){if(DL)return mw;DL=1,mw=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return hw}var vw,LL;function zPe(){if(LL)return vw;LL=1,vw=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return vw}var bw,FL;function HPe(){if(FL)return bw;FL=1,bw=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return bw}var yw,jL;function UPe(){if(jL)return yw;jL=1,yw=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return yw}var Sw,BL;function VPe(){if(BL)return Sw;BL=1;var e=$a();Sw=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,o=0;o<2;o++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var i={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};i.string[1].inside.interpolation.inside.rest=i,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}}},r.hooks.add("before-tokenize",function(s){var c=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",c)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return Sw}var ww,zL;function WPe(){if(zL)return ww;zL=1,ww=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return ww}var Cw,HL;function GPe(){if(HL)return Cw;HL=1,Cw=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return Cw}var xw,UL;function qPe(){if(UL)return xw;UL=1,xw=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return xw}var Ew,VL;function KPe(){if(VL)return Ew;VL=1,Ew=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return Ew}var Iw,WL;function YPe(){if(WL)return Iw;WL=1,Iw=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return Iw}var Tw,GL;function XPe(){if(GL)return Tw;GL=1,Tw=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return Tw}var Rw,qL;function ZPe(){if(qL)return Rw;qL=1;var e=Sc();Rw=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return Rw}var _w,KL;function QPe(){if(KL)return _w;KL=1,_w=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return _w}var $w,YL;function JPe(){if(YL)return $w;YL=1,$w=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return $w}var Ow,XL;function e4e(){if(XL)return Ow;XL=1,Ow=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return Ow}var Nw,ZL;function t4e(){if(ZL)return Nw;ZL=1,Nw=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return Nw}var kw,QL;function n4e(){if(QL)return kw;QL=1,kw=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var a=r.tokens.filter(function(y){return typeof y!="string"&&y.type!=="comment"&&y.type!=="scalar"}),o=0;function i(y){return a[o+y]}function s(y,v){v=v||0;for(var S=0;S0)){var b=c(/^\{$/,/^\}$/);if(b===-1)continue;for(var m=o;m=0&&u(h,"variable-input")}}}}})}return kw}var Aw,JL;function r4e(){if(JL)return Aw;JL=1,Aw=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return Aw}var Mw,e6;function a4e(){if(e6)return Mw;e6=1;var e=U0();Mw=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),function(r){r.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:r.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",o=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],i={},s=0,c=o.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var o=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return Dw}var Pw,n6;function UO(){if(n6)return Pw;n6=1,Pw=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return Pw}var Lw,r6;function i4e(){if(r6)return Lw;r6=1,Lw=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return Lw}var Fw,a6;function s4e(){if(a6)return Fw;a6=1,Fw=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return Fw}var jw,o6;function l4e(){if(o6)return jw;o6=1;var e=Sc();jw=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return jw}var Bw,i6;function c4e(){if(i6)return Bw;i6=1,Bw=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return Bw}var zw,s6;function u4e(){if(s6)return zw;s6=1,zw=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return zw}var Hw,l6;function d4e(){if(l6)return Hw;l6=1,Hw=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return Hw}var Uw,c6;function f4e(){if(c6)return Uw;c6=1,Uw=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(f){return RegExp("(^(?:"+f+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=n.languages,o={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},i={"application/json":!0,"application/xml":!0};function s(f){var p=f.replace(/^[a-z]+\//,""),g="\\w+/(?:[\\w.-]+\\+)+"+p+"(?![+\\w.-])";return"(?:"+f+"|"+g+")"}var c;for(var u in o)if(o[u]){c=c||{};var d=i[u]?s(u):u;c[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+d+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:o[u]}}c&&n.languages.insertBefore("http","header",c)})(t)}return Uw}var Vw,u6;function p4e(){if(u6)return Vw;u6=1,Vw=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return Vw}var Ww,d6;function g4e(){if(d6)return Ww;d6=1,Ww=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return Ww}var Gw,f6;function m4e(){if(f6)return Gw;f6=1,Gw=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(u,d){return d<=0?/[]/.source:u.replace(//g,function(){return r(u,d-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,o={pattern:/''/,greedy:!0,alias:"operator"},i={pattern:a,greedy:!0,inside:{escape:o}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),c={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(s),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":c,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":c,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:o,string:i},c.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return Gw}var qw,p6;function h4e(){if(p6)return qw;p6=1;var e=UO();qw=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return qw}var Kw,g6;function v4e(){if(g6)return Kw;g6=1,Kw=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return Kw}var Yw,m6;function b4e(){if(m6)return Yw;m6=1,Yw=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return Yw}var Xw,h6;function y4e(){if(h6)return Xw;h6=1,Xw=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return Xw}var Zw,v6;function S4e(){if(v6)return Zw;v6=1,Zw=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return Zw}var Qw,b6;function w4e(){if(b6)return Qw;b6=1,Qw=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return Jw}var eC,S6;function VO(){if(S6)return eC;S6=1,eC=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[o,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:o.inside}],keyword:r,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":o,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return eC}var tC,w6;function V0(){if(w6)return tC;w6=1,tC=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function a(i,s){var c="doc-comment",u=n.languages[i];if(u){var d=u[c];if(!d){var f={};f[c]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(i,"comment",f),d=u[c]}if(d instanceof RegExp&&(d=u[c]={pattern:d}),Array.isArray(d))for(var p=0,g=d.length;p)?|/.source.replace(//g,function(){return i});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:a.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:o,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:o,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)}(r)}return nC}var rC,x6;function E4e(){if(x6)return rC;x6=1,rC=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return rC}var aC,E6;function I4e(){if(E6)return aC;E6=1,aC=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return aC}var oC,I6;function T4e(){if(I6)return oC;I6=1,oC=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return oC}var iC,T6;function R4e(){if(T6)return iC;T6=1,iC=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),o={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:o},string:{pattern:a,lookbehind:!0,greedy:!0,inside:o},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};o.interpolation.inside.content.inside=i})(t)}return iC}var sC,R6;function _4e(){if(R6)return sC;R6=1,sC=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(u,d){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var a=["function","function-variable","method","method-variable","property-access"],o=0;o=I.length)return;var $=T[_];if(typeof $=="string"||typeof $.content=="string"){var D=I[S],P=typeof $=="string"?$:$.content,A=P.indexOf(D);if(A!==-1){++S;var O=P.substring(0,A),N=f(w[D]),k=P.substring(A+D.length),M=[];if(O&&M.push(O),M.push(N),k){var L=[k];R(L),M.push.apply(M,L)}typeof $=="string"?(T.splice.apply(T,[_,1].concat(M)),_+=M.length-1):$.content=M}}else{var F=$.content;Array.isArray(F)?R(F):R([F])}}}return R(E),new n.Token(y,E,"language-"+y,m)}var g={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(m){if(!(m.language in g))return;function h(y){for(var v=0,S=y.length;v]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),n.languages.ts=n.languages.typescript})(t)}return cC}var uC,O6;function O4e(){if(O6)return uC;O6=1;var e=V0(),t=WO();uC=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=a.languages.javascript,i=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+i+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:o,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return i})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+i),lookbehind:!0,inside:{string:o.string,number:o.number,boolean:o.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:o,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)}(r)}return uC}var dC,N6;function GO(){if(N6)return dC;N6=1,dC=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return dC}var fC,k6;function N4e(){if(k6)return fC;k6=1;var e=GO();fC=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),function(r){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}return fC}var pC,A6;function k4e(){if(A6)return pC;A6=1;var e=GO();pC=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return pC}var gC,M6;function A4e(){if(M6)return gC;M6=1,gC=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return gC}var mC,D6;function EK(){if(D6)return mC;D6=1,mC=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(d,f){return d=d.replace(//g,function(){return a}).replace(//g,function(){return o}).replace(//g,function(){return i}),RegExp(d,f)}i=s(i).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:s(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var c=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(c).join(""):""},u=function(d){for(var f=[],p=0;p0&&f[f.length-1].tagName===c(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:c(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:b=!0),(b||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var m=c(g);p0&&(typeof d[p-1]=="string"||d[p-1].type==="plain-text")&&(m=c(d[p-1])+m,d.splice(p-1,1),p--),d[p]=new n.Token("plain-text",m,null,m)}g.content&&typeof g.content!="string"&&u(g.content)}};n.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return mC}var hC,P6;function M4e(){if(P6)return hC;P6=1,hC=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return hC}var vC,L6;function D4e(){if(L6)return vC;L6=1,vC=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return vC}var bC,F6;function P4e(){if(F6)return bC;F6=1,bC=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return bC}var yC,j6;function L4e(){if(j6)return yC;j6=1,yC=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return yC}var SC,B6;function F4e(){if(B6)return SC;B6=1,SC=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(o,i){return RegExp(o.replace(//g,r),i)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return SC}var wC,z6;function j4e(){if(z6)return wC;z6=1,wC=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return wC}var CC,H6;function B4e(){if(H6)return CC;H6=1,CC=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return CC}var xC,U6;function W0(){if(U6)return xC;U6=1;var e=$a();xC=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,o=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,c=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:o,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:s,punctuation:c};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},d=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:u}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:u}}];r.languages.insertBefore("php","variable",{string:d,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:d,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:o,number:i,operator:s,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(f){if(/<\?/.test(f.code)){var p=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(f,"php",p)}}),r.hooks.add("after-tokenize",function(f){r.languages["markup-templating"].tokenizePlaceholders(f,"php")})}(n)}return xC}var EC,V6;function z4e(){if(V6)return EC;V6=1;var e=$a(),t=W0();EC=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:a.languages.php}};var o=a.languages.extend("markup",{});a.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:a.languages.php}}}}}},o.tag),a.hooks.add("before-tokenize",function(i){if(i.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(i,"latte",s),i.grammar=o}}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"latte")})}(r)}return EC}var IC,W6;function H4e(){if(W6)return IC;W6=1,IC=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return IC}var TC,G6;function qO(){if(G6)return TC;G6=1,TC=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(a){for(var o in a)a[o]=a[o].replace(/<[\w\s]+>/g,function(i){return"(?:"+a[i].trim()+")"});return a[o]}})(t)}return TC}var RC,q6;function U4e(){if(q6)return RC;q6=1;var e=qO();RC=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,o=5,i=0;i/g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var s=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,r.languages.ly=s}(n)}return RC}var _C,K6;function V4e(){if(K6)return _C;K6=1;var e=$a();_C=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(r){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,o=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(i){var s=/^\{%-?\s*(\w+)/.exec(i);if(s){var c=s[1];if(c==="raw"&&!o)return o=!0,!0;if(c==="endraw")return o=!1,!0}return!o})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return _C}var $C,Y6;function W4e(){if(Y6)return $C;Y6=1,$C=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(m){return RegExp(/(\()/.source+"(?:"+m+")"+/(?=[\s\)])/.source)}function a(m){return RegExp(/([\s([])/.source+"(?:"+m+")"+/(?=[\s)])/.source)}var o=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+o,s="(\\()",c="(?=\\))",u="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,f={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+o+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+o),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+o),alias:"property"},splice:{pattern:RegExp(",@?"+o),alias:["symbol","variable"]},keyword:[{pattern:RegExp(s+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(s+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+o),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(o)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+o+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+o),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+o+"(?:\\s+&?"+o+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+o),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},p={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+o+/\s+(?=\S)/.source+d+/\)/.source),inside:f},argument:{pattern:RegExp(/(^|[\s(])/.source+o),lookbehind:!0,alias:"variable"},rest:f},g="\\S+(?:\\s+\\S+)*",b={pattern:RegExp(s+d+c),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+g),inside:p},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+g),inside:p},keys:{pattern:RegExp("&key\\s+"+g+"(?:\\s+&allow-other-keys)?"),inside:p},argument:{pattern:RegExp(o),alias:"variable"},punctuation:/[()]/}};f.lambda.inside.arguments=b,f.defun.inside.arguments=n.util.clone(b),f.defun.inside.arguments.inside.sublist=b,n.languages.lisp=f,n.languages.elisp=f,n.languages.emacs=f,n.languages["emacs-lisp"]=f})(t)}return $C}var OC,X6;function G4e(){if(X6)return OC;X6=1,OC=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return OC}var NC,Z6;function q4e(){if(Z6)return NC;Z6=1,NC=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return NC}var kC,Q6;function K4e(){if(Q6)return kC;Q6=1,kC=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return kC}var AC,J6;function Y4e(){if(J6)return AC;J6=1,AC=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return AC}var MC,e8;function X4e(){if(e8)return MC;e8=1,MC=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return MC}var DC,t8;function Z4e(){if(t8)return DC;t8=1,DC=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return DC}var PC,n8;function Q4e(){if(n8)return PC;n8=1,PC=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(p){return p=p.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+p+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+s+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+s+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(p){["url","bold","italic","strike","code-snippet"].forEach(function(g){p!==g&&(n.languages.markdown[p].inside.content.inside[g]=n.languages.markdown[g])})}),n.hooks.add("after-tokenize",function(p){if(p.language!=="markdown"&&p.language!=="md")return;function g(b){if(!(!b||typeof b=="string"))for(var m=0,h=b.length;m",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function f(p){var g=p.replace(c,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,m){if(m=m.toLowerCase(),m[0]==="#"){var h;return m[1]==="x"?h=parseInt(m.slice(2),16):h=Number(m.slice(1)),d(h)}else{var y=u[m];return y||b}}),g}n.languages.md=n.languages.markdown})(t)}return PC}var LC,r8;function J4e(){if(r8)return LC;r8=1,LC=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return LC}var FC,a8;function eLe(){if(a8)return FC;a8=1,FC=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return FC}var jC,o8;function tLe(){if(o8)return jC;o8=1,jC=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return jC}var BC,i8;function nLe(){if(i8)return BC;i8=1,BC=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return BC}var zC,s8;function rLe(){if(s8)return zC;s8=1,zC=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return zC}var HC,l8;function aLe(){if(l8)return HC;l8=1,HC=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(i){return i.replace("$","\\$")});var o="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+o+"(?:\\1)?$")}}}),n.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return HC}var UC,c8;function oLe(){if(c8)return UC;c8=1,UC=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return UC}var VC,u8;function iLe(){if(u8)return VC;u8=1,VC=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return VC}var WC,d8;function sLe(){if(d8)return WC;d8=1,WC=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return WC}var GC,f8;function lLe(){if(f8)return GC;f8=1,GC=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return GC}var qC,p8;function cLe(){if(p8)return qC;p8=1,qC=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return qC}var KC,g8;function uLe(){if(g8)return KC;g8=1,KC=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,a={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:a}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(s){var c=s.tokens;c.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var d=i(u);o(d)||(u.type="bad-line",u.content=d)}})});function o(s){for(var c="[]{}",u=[],d=0;d=&|$!]/}}return YC}var XC,h8;function fLe(){if(h8)return XC;h8=1,XC=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return XC}var ZC,v8;function pLe(){if(v8)return ZC;v8=1,ZC=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return ZC}var QC,b8;function gLe(){if(b8)return QC;b8=1,QC=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return QC}var JC,y8;function mLe(){if(y8)return JC;y8=1,JC=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return JC}var ex,S8;function hLe(){if(S8)return ex;S8=1,ex=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return ex}var tx,w8;function vLe(){if(w8)return tx;w8=1,tx=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return tx}var nx,C8;function bLe(){if(C8)return nx;C8=1;var e=Sc();nx=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return nx}var rx,x8;function yLe(){if(x8)return rx;x8=1,rx=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return rx}var ax,E8;function SLe(){if(E8)return ax;E8=1;var e=Sc();ax=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),function(r){r.languages.opencl=r.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",a),r.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",a))}(n)}return ax}var ox,I8;function wLe(){if(I8)return ox;I8=1,ox=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return ox}var ix,T8;function CLe(){if(T8)return ix;T8=1,ix=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return ix}var sx,R8;function xLe(){if(R8)return sx;R8=1,sx=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return sx}var lx,_8;function ELe(){if(_8)return lx;_8=1,lx=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return lx}var cx,$8;function ILe(){if($8)return cx;$8=1,cx=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return cx}var ux,O8;function TLe(){if(O8)return ux;O8=1,ux=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),o=n.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},i=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,c){return s[c]=o[c],s},{});o["class-name"].forEach(function(s){s.inside=i})})(t)}return ux}var dx,N8;function RLe(){if(N8)return dx;N8=1,dx=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return dx}var fx,k8;function _Le(){if(k8)return fx;k8=1,fx=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return fx}var px,A8;function $Le(){if(A8)return px;A8=1,px=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return px}var gx,M8;function OLe(){if(M8)return gx;M8=1;var e=W0();gx=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return gx}var mx,D8;function NLe(){if(D8)return mx;D8=1;var e=W0(),t=V0();mx=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+o+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+o),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)}(r)}return mx}var hx,P8;function kLe(){if(P8)return hx;P8=1;var e=zO();hx=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return hx}var vx,L8;function ALe(){if(L8)return vx;L8=1,vx=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return vx}var bx,F8;function MLe(){if(F8)return bx;F8=1,bx=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return bx}var yx,j8;function DLe(){if(j8)return yx;j8=1,yx=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return yx}var Sx,B8;function PLe(){if(B8)return Sx;B8=1,Sx=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return Sx}var wx,z8;function LLe(){if(z8)return wx;z8=1,wx=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],o=["offset"],i=r.concat(a,o);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+i.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return wx}var Cx,H8;function FLe(){if(H8)return Cx;H8=1,Cx=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return Cx}var xx,U8;function jLe(){if(U8)return xx;U8=1,xx=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return xx}var Ex,V8;function BLe(){if(V8)return Ex;V8=1,Ex=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return Ex}var Ix,W8;function zLe(){if(W8)return Ix;W8=1,Ix=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],o={},i=0,s=a.length;i",function(){return c.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[c.language,"language-"+c.language],inside:n.languages[c.language]}}})}n.languages.insertBefore("pug","filter",o)})(t)}return Ix}var Tx,G8;function HLe(){if(G8)return Tx;G8=1,Tx=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return Tx}var Rx,q8;function ULe(){if(q8)return Rx;q8=1,Rx=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(o){var i=o;if(typeof o!="string"&&(i=o.alias,o=o.lang),n.languages[i]){var s={};s["inline-lang-"+i]={pattern:RegExp(a.replace("",o.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+i].inside.rest=n.util.clone(n.languages[i]),n.languages.insertBefore("pure","inline-lang",s)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return Rx}var _x,K8;function VLe(){if(K8)return _x;K8=1,_x=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return _x}var $x,Y8;function WLe(){if(Y8)return $x;Y8=1;var e=UO();$x=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}return $x}var Ox,X8;function GLe(){if(X8)return Ox;X8=1,Ox=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return Ox}var Nx,Z8;function qLe(){if(Z8)return Nx;Z8=1,Nx=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return Nx}var kx,Q8;function KLe(){if(Q8)return kx;Q8=1,kx=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,o=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),i=0;i<2;i++)o=o.replace(//g,function(){return o});o=o.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return o}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return o}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return kx}var Ax,J8;function YLe(){if(J8)return Ax;J8=1,Ax=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return Ax}var Mx,eF;function XLe(){if(eF)return Mx;eF=1,Mx=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(b,m){return b.replace(/<<(\d+)>>/g,function(h,y){return"(?:"+m[+y]+")"})}function a(b,m,h){return RegExp(r(b,m),"")}function o(b,m){for(var h=0;h>/g,function(){return"(?:"+b+")"});return b.replace(/<>/g,"[^\\s\\S]")}var i={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function s(b){return"\\b(?:"+b.trim().replace(/ /g,"|")+")\\b"}var c=RegExp(s(i.type+" "+i.other)),u=/\b[A-Za-z_]\w*\b/.source,d=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),f={keyword:c,punctuation:/[<>()?,.:[\]]/},p=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[p]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[d]),lookbehind:!0,inside:f},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[d]),lookbehind:!0,inside:f}],keyword:c,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var g=o(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[p]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[g]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[g]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return Mx}var Dx,tF;function ZLe(){if(tF)return Dx;tF=1,Dx=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return Dx}var Px,nF;function QLe(){if(nF)return Px;nF=1;var e=qO();Px=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return Px}var Lx,rF;function JLe(){if(rF)return Lx;rF=1,Lx=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return Lx}var Fx,aF;function e6e(){if(aF)return Fx;aF=1,Fx=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,o={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},i={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+a.source+")",c=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":i,escape:a}},"special-escape":r,"char-set":o,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return jx}var Bx,iF;function n6e(){if(iF)return Bx;iF=1,Bx=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return Bx}var zx,sF;function r6e(){if(sF)return zx;sF=1,zx=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return zx}var Hx,lF;function a6e(){if(lF)return Hx;lF=1,Hx=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return Hx}var Ux,cF;function o6e(){if(cF)return Ux;cF=1,Ux=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return Ux}var Vx,uF;function i6e(){if(uF)return Vx;uF=1,Vx=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function o(u,d){var f={};f["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var p in d)f[p]=d[p];return f.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},f.variable=a,f.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:f}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},c={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:o("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:o("Variables"),"test-cases":o("Test Cases",{"test-name":s,documentation:i,property:c}),keywords:o("Keywords",{"keyword-name":s,documentation:i,property:c}),tasks:o("Tasks",{"task-name":s,documentation:i,property:c}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return Vx}var Wx,dF;function s6e(){if(dF)return Wx;dF=1,Wx=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return Wx}var Gx,fF;function l6e(){if(fF)return Gx;fF=1,Gx=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,o={pattern:RegExp(r+"[bx]"),alias:"number"},i={pattern:/&[a-z_]\w*/i},s={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},c={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={pattern:RegExp(r),greedy:!0},f=/[$%@.(){}\[\];,\\]/,p={pattern:/%?\b\w+(?=\()/,alias:"keyword"},g={function:p,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":i,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":o,punctuation:f,string:d},b={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},m={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},h={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},y={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},v=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,S={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return v}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return v}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:p,"arg-value":g["arg-value"],operator:g.operator,argument:g.arg,number:a,"numeric-constant":o,punctuation:f,string:d}},w={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};n.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":h,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":o,punctuation:f,string:d}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:w,"submit-statement":y,"global-statements":h,number:a,"numeric-constant":o,punctuation:f,string:d}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:w,"submit-statement":y,"global-statements":h,number:a,"numeric-constant":o,punctuation:f,string:d}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:g}},"cas-actions":S,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:g},step:c,keyword:w,function:p,format:b,altformat:m,"global-statements":h,number:a,"numeric-constant":o,punctuation:f,string:d}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:g},"macro-keyword":s,"macro-variable":i,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":s,"macro-variable":i,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:f}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:a,"numeric-constant":o}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:g},"cas-actions":S,comment:u,function:p,format:b,altformat:m,"numeric-constant":o,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:d,step:c,keyword:w,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:f}})(t)}return Gx}var qx,pF;function c6e(){if(pF)return qx;pF=1,qx=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:a,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return qx}var Kx,gF;function u6e(){if(gF)return Kx;gF=1;var e=VO();Kx=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return Kx}var Yx,mF;function d6e(){if(mF)return Yx;mF=1,Yx=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return Yx}var Xx,hF;function f6e(){if(hF)return Xx;hF=1;var e=wK();Xx=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),function(r){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]}(n)}return Xx}var Zx,vF;function p6e(){if(vF)return Zx;vF=1,Zx=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return Zx}var Qx,bF;function g6e(){if(bF)return Qx;bF=1,Qx=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return Qx}var Jx,yF;function m6e(){if(yF)return Jx;yF=1;var e=$a();Jx=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),function(r){r.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:r.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,o=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(i){var s="{literal}",c="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(i,"smarty",o,function(d){return d===c&&(u=!1),u?!1:(d===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"smarty")})}(n)}return Jx}var eE,SF;function h6e(){if(SF)return eE;SF=1,eE=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return eE}var tE,wF;function v6e(){if(wF)return tE;wF=1,tE=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return tE}var nE,CF;function b6e(){if(CF)return nE;CF=1,nE=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return nE}var rE,xF;function y6e(){if(xF)return rE;xF=1;var e=$a();rE=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,o=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:o,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:o,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(i){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,c="{literal}",u="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(i,"soy",s,function(f){return f===u&&(d=!1),d?!1:(f===c&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"soy")})}(n)}return rE}var aE,EF;function IK(){if(EF)return aE;EF=1,aE=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return aE}var oE,IF;function S6e(){if(IF)return oE;IF=1;var e=IK();oE=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}return oE}var iE,TF;function w6e(){if(TF)return iE;TF=1,iE=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return iE}var sE,RF;function C6e(){if(RF)return sE;RF=1,sE=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return sE}var lE,_F;function x6e(){if(_F)return lE;_F=1,lE=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return lE}var cE,$F;function E6e(){if($F)return cE;$F=1,cE=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return cE}var uE,OF;function I6e(){if(OF)return uE;OF=1,uE=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},o={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};o.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:o}},o.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:o}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:o}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:o}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:o}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:o.interpolation}},rest:o}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:o.interpolation,comment:o.comment,punctuation:/[{},]/}},func:o.func,string:o.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:o.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return uE}var dE,NF;function T6e(){if(NF)return dE;NF=1,dE=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return dE}var fE,kF;function R6e(){if(kF)return fE;kF=1,fE=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+a+`|(?=[^"\r -]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return fE}var pE,AF;function KO(){if(AF)return pE;AF=1,pE=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(o,i,s){return{pattern:RegExp("<#"+o+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+o+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:i,alias:s}}}}function a(o){var i=n.languages[o],s="language-"+o;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",i,s),"class-feature":r("\\+",i,s),standard:r("",i,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return pE}var gE,MF;function _6e(){if(MF)return gE;MF=1;var e=KO(),t=H0();gE=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return gE}var mE,DF;function TK(){if(DF)return mE;DF=1;var e=CK();mE=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return mE}var hE,PF;function $6e(){if(PF)return hE;PF=1;var e=KO(),t=TK();hE=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return hE}var vE,LF;function RK(){if(LF)return vE;LF=1,vE=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(u,d){d=(d||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return o}).replace(/<>/g,function(){return u});return RegExp(f,d)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return o}).replace(/<>/g,function(){return"(?:"+i+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(s),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return vE}var bE,FF;function O6e(){if(FF)return bE;FF=1;var e=RK();bE=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}return bE}var yE,jF;function N6e(){if(jF)return yE;jF=1,yE=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return yE}var SE,BF;function k6e(){if(BF)return SE;BF=1,SE=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function o(p,g){return RegExp(p.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),g||"")}var i={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:o(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:o(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:o(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:o(/(^[*#]+)+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:o(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:o(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:o(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:o(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:o(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:o(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:o(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:o(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:o(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:o(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:o(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:o(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:o(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:o(/(^")+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:o(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:o(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:o(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),c=s.phrase.inside,u={inline:c.inline,link:c.link,image:c.image,footnote:c.footnote,acronym:c.acronym,mark:c.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=c.inline.inside;d.bold.inside=u,d.italic.inside=u,d.inserted.inside=u,d.deleted.inside=u,d.span.inside=u;var f=c.table.inside;f.inline=u.inline,f.link=u.link,f.image=u.image,f.footnote=u.footnote,f.acronym=u.acronym,f.mark=u.mark})(t)}return SE}var wE,zF;function A6e(){if(zF)return wE;zF=1,wE=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(o){return o.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return wE}var CE,HF;function M6e(){if(HF)return CE;HF=1,CE=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return CE}var xE,UF;function D6e(){if(UF)return xE;UF=1;var e=EK(),t=WO();xE=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",o),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var i=a.languages.tsx.tag;i.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+i.pattern.source+")",i.pattern.flags),i.lookbehind=!0}(r)}return xE}var EE,VF;function P6e(){if(VF)return EE;VF=1;var e=$a();EE=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),function(r){r.languages.tt2=r.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete r.languages.tt2.string,r.hooks.add("before-tokenize",function(a){var o=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(n)}return EE}var IE,WF;function L6e(){if(WF)return IE;WF=1;var e=$a();IE=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",a)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return IE}var TE,GF;function F6e(){if(GF)return TE;GF=1,TE=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return TE}var RE,qF;function j6e(){if(qF)return RE;qF=1,RE=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return RE}var _E,KF;function B6e(){if(KF)return _E;KF=1,_E=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return _E}var $E,YF;function z6e(){if(YF)return $E;YF=1,$E=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return $E}var OE,XF;function H6e(){if(XF)return OE;XF=1,OE=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return OE}var NE,ZF;function U6e(){if(ZF)return NE;ZF=1,NE=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return NE}var kE,QF;function V6e(){if(QF)return kE;QF=1,kE=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return kE}var AE,JF;function W6e(){if(JF)return AE;JF=1,AE=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return AE}var ME,e5;function G6e(){if(e5)return ME;e5=1,ME=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return ME}var DE,t5;function q6e(){if(t5)return DE;t5=1,DE=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return DE}var PE,n5;function K6e(){if(n5)return PE;n5=1,PE=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return PE}var LE,r5;function Y6e(){if(r5)return LE;r5=1,LE=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return LE}var FE,a5;function X6e(){if(a5)return FE;a5=1,FE=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return FE}var jE,o5;function Z6e(){if(o5)return jE;o5=1,jE=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,o={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:o},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:o},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:o},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:o},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(a+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:o}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var i in n.languages["web-idl"])i!=="class-name"&&(o[i]=n.languages["web-idl"][i]);n.languages.webidl=n.languages["web-idl"]})(t)}return jE}var BE,i5;function Q6e(){if(i5)return BE;i5=1,BE=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return BE}var zE,s5;function J6e(){if(s5)return zE;s5=1,zE=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return zE}var HE,l5;function e8e(){if(l5)return HE;l5=1,HE=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return HE}var UE,c5;function t8e(){if(c5)return UE;c5=1,UE=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return UE}var VE,u5;function n8e(){if(u5)return VE;u5=1,VE=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,c){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":c})}var a=n.languages.markup.tag,o={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},i={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",o),r("fsharp",o),r("vbnet",i)})(t)}return VE}var WE,d5;function r8e(){if(d5)return WE;d5=1,WE=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return WE}var GE,f5;function a8e(){if(f5)return GE;f5=1,GE=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(o){return typeof o=="string"?o:typeof o.content=="string"?o.content:o.content.map(r).join("")},a=function(o){for(var i=[],s=0;s0&&i[i.length-1].tagName===r(c.content[0].content[1])&&i.pop():c.content[c.content.length-1].content==="/>"||i.push({tagName:r(c.content[0].content[1]),openedBraces:0}):i.length>0&&c.type==="punctuation"&&c.content==="{"&&(!o[s+1]||o[s+1].type!=="punctuation"||o[s+1].content!=="{")&&(!o[s-1]||o[s-1].type!=="plain-text"||o[s-1].content!=="{")?i[i.length-1].openedBraces++:i.length>0&&i[i.length-1].openedBraces>0&&c.type==="punctuation"&&c.content==="}"?i[i.length-1].openedBraces--:c.type!=="comment"&&(u=!0)),(u||typeof c=="string")&&i.length>0&&i[i.length-1].openedBraces===0){var d=r(c);s0&&(typeof o[s-1]=="string"||o[s-1].type==="plain-text")&&(d=r(o[s-1])+d,o.splice(s-1,1),s--),/^\s+$/.test(d)?o[s]=d:o[s]=new n.Token("plain-text",d,null,d)}c.content&&typeof c.content!="string"&&a(c.content)}};n.hooks.add("after-tokenize",function(o){o.language==="xquery"&&a(o.tokens)})})(t)}return GE}var qE,p5;function o8e(){if(p5)return qE;p5=1,qE=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return qE}var KE,g5;function i8e(){if(g5)return KE;g5=1,KE=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(d){return function(){return d}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,o="\\b(?!"+a.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(i)),c=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(o)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+c+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,r(u)).replace(//g,r(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(d){d.inside===null&&(d.inside=n.languages.zig)})})(t)}return KE}var me=gDe,s8e=me;me.register(IDe());me.register(TDe());me.register(RDe());me.register(_De());me.register($De());me.register(ODe());me.register(NDe());me.register(kDe());me.register(ADe());me.register(MDe());me.register(DDe());me.register(PDe());me.register(LDe());me.register(FDe());me.register(jDe());me.register(BDe());me.register(zDe());me.register(HDe());me.register(UDe());me.register(VDe());me.register(WDe());me.register(GDe());me.register(wK());me.register(CK());me.register(qDe());me.register(KDe());me.register(YDe());me.register(XDe());me.register(ZDe());me.register(QDe());me.register(JDe());me.register(ePe());me.register(tPe());me.register(nPe());me.register(Sc());me.register(rPe());me.register(aPe());me.register(oPe());me.register(iPe());me.register(sPe());me.register(lPe());me.register(cPe());me.register(uPe());me.register(dPe());me.register(HO());me.register(fPe());me.register(H0());me.register(pPe());me.register(gPe());me.register(mPe());me.register(hPe());me.register(vPe());me.register(bPe());me.register(yPe());me.register(SPe());me.register(wPe());me.register(CPe());me.register(xPe());me.register(EPe());me.register(IPe());me.register(TPe());me.register(RPe());me.register(_Pe());me.register($Pe());me.register(OPe());me.register(NPe());me.register(kPe());me.register(APe());me.register(MPe());me.register(DPe());me.register(PPe());me.register(LPe());me.register(FPe());me.register(jPe());me.register(BPe());me.register(zPe());me.register(HPe());me.register(UPe());me.register(VPe());me.register(WPe());me.register(GPe());me.register(qPe());me.register(KPe());me.register(YPe());me.register(XPe());me.register(ZPe());me.register(QPe());me.register(JPe());me.register(e4e());me.register(t4e());me.register(n4e());me.register(r4e());me.register(a4e());me.register(o4e());me.register(UO());me.register(i4e());me.register(s4e());me.register(l4e());me.register(c4e());me.register(u4e());me.register(d4e());me.register(f4e());me.register(p4e());me.register(g4e());me.register(m4e());me.register(h4e());me.register(v4e());me.register(b4e());me.register(y4e());me.register(S4e());me.register(w4e());me.register(C4e());me.register(VO());me.register(x4e());me.register(V0());me.register(E4e());me.register(I4e());me.register(T4e());me.register(R4e());me.register(_4e());me.register($4e());me.register(O4e());me.register(GO());me.register(N4e());me.register(k4e());me.register(A4e());me.register(EK());me.register(M4e());me.register(D4e());me.register(P4e());me.register(L4e());me.register(F4e());me.register(j4e());me.register(B4e());me.register(z4e());me.register(H4e());me.register(U4e());me.register(V4e());me.register(W4e());me.register(G4e());me.register(q4e());me.register(K4e());me.register(Y4e());me.register(xK());me.register(X4e());me.register(Z4e());me.register(Q4e());me.register($a());me.register(J4e());me.register(eLe());me.register(tLe());me.register(nLe());me.register(rLe());me.register(aLe());me.register(oLe());me.register(iLe());me.register(sLe());me.register(lLe());me.register(cLe());me.register(uLe());me.register(dLe());me.register(fLe());me.register(pLe());me.register(gLe());me.register(mLe());me.register(hLe());me.register(vLe());me.register(bLe());me.register(yLe());me.register(SLe());me.register(wLe());me.register(CLe());me.register(xLe());me.register(ELe());me.register(ILe());me.register(TLe());me.register(RLe());me.register(_Le());me.register($Le());me.register(OLe());me.register(W0());me.register(NLe());me.register(kLe());me.register(ALe());me.register(MLe());me.register(DLe());me.register(PLe());me.register(LLe());me.register(FLe());me.register(jLe());me.register(BLe());me.register(zLe());me.register(HLe());me.register(ULe());me.register(VLe());me.register(WLe());me.register(GLe());me.register(qLe());me.register(KLe());me.register(YLe());me.register(XLe());me.register(ZLe());me.register(QLe());me.register(JLe());me.register(e6e());me.register(t6e());me.register(n6e());me.register(r6e());me.register(a6e());me.register(o6e());me.register(i6e());me.register(U0());me.register(s6e());me.register(l6e());me.register(c6e());me.register(u6e());me.register(qO());me.register(d6e());me.register(f6e());me.register(p6e());me.register(g6e());me.register(m6e());me.register(h6e());me.register(v6e());me.register(b6e());me.register(y6e());me.register(S6e());me.register(w6e());me.register(C6e());me.register(zO());me.register(x6e());me.register(E6e());me.register(I6e());me.register(T6e());me.register(R6e());me.register(_6e());me.register(KO());me.register($6e());me.register(O6e());me.register(N6e());me.register(k6e());me.register(A6e());me.register(M6e());me.register(D6e());me.register(P6e());me.register(IK());me.register(L6e());me.register(WO());me.register(F6e());me.register(j6e());me.register(B6e());me.register(z6e());me.register(H6e());me.register(U6e());me.register(TK());me.register(V6e());me.register(W6e());me.register(G6e());me.register(q6e());me.register(K6e());me.register(Y6e());me.register(X6e());me.register(Z6e());me.register(Q6e());me.register(J6e());me.register(e8e());me.register(t8e());me.register(n8e());me.register(r8e());me.register(a8e());me.register(RK());me.register(o8e());me.register(i8e());const l8e=fa(s8e);var Us=nke(l8e,EDe);Us.supportedLanguages=oke;const Jl={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},ec={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},{Paragraph:m5,Text:c8e}=Bn,u8e=()=>{const{t:e}=Ft(),[t,n]=l.useState([]),r=l.useRef(null),[a,o]=l.useState(!1),i=p=>{let g="";for(let b=0;b=32&&h<=126?g+=String.fromCharCode(h):g+="."}return g},s=p=>{let g="";for(let h=0;h=m&&(b=b-2*m),b},c={"15-15452":p=>{if(p.length===16){const g=p.slice(8)+p.slice(0,8);n(b=>[...b,`UnknownTag | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"15-16065":p=>{if(p.length===16){const g=p.slice(8)+p.slice(0,8);n(b=>[...b,`KnownTag | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"12-15427":p=>{if(p.length===8){const g=s(p);n(b=>[...b,`UpsideState | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"12-15426":p=>{if(p.length===8){const g=s(p);n(b=>[...b,`UprightState | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)}};l.useEffect(()=>{if(a){const p=new EventSource("/api/sse");return p.onopen=()=>{console.log("Connection established.")},p.addEventListener("keep-alive",g=>{console.log("keep-alive event received:",g)}),p.addEventListener("pressed",g=>{const b=JSON.parse(g.data);n(m=>[...m,"Pressed: "+b.data])}),p.addEventListener("rtnl-raw-log2",g=>{const b=JSON.parse(g.data),m=`${"Raw2 | #"+b.data.sequence+" Uptime: "+b.data.uptime+" Func: "+b.data.function_group.toString().padStart(2," ")+"-"+b.data.function+" Payload: '"+b.data.field6+"' ASCII: '"+i(b.data.field6)+"'"}`;n(y=>[...y,m]);const h=`${b.data.function_group.toString().padStart(2," ")}-${b.data.function}`;c[h]&&c[h](b.data.field6)}),p.addEventListener("rtnl-raw-log3",g=>{const b=JSON.parse(g.data);n(m=>[...m,"Raw3 | Datetime: "+b.data.datetime+" Unknown: "+b.data.field2])}),p.onerror=g=>{console.error("EventSource failed:",g)},()=>{console.log("Connection closed."),p.close()}}else return},[a]),l.useEffect(()=>{r.current&&(r.current.scrollTop=r.current.scrollHeight)},[t]);const u=p=>{o(p)},d=()=>{n([])};function f(){const p=window.matchMedia("(prefers-color-scheme: dark)").matches,g=localStorage.getItem("theme");return g==="auto"?p?"dark":"light":g}return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vu,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vu,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.rtnl.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("settings.rtnl.title")}),C.jsxs(m5,{style:{margin:"8px 0"},children:[C.jsxs(m5,{children:[C.jsx(va,{checked:a,onChange:u,style:{marginRight:8}}),C.jsx(c8e,{children:e("settings.rtnl.enableRtnl")})]}),C.jsx(Ca,{children:e("settings.rtnl.title")}),C.jsx("div",{ref:r,style:{minHeight:"max(40vh, 333px)",maxHeight:"max(40vh, 333px)",overflow:"auto",padding:1,background:f()==="dark"?"hsl(220, 13%, 18%)":"hsl(230, 1%, 98%)"},children:C.jsx(Us,{language:"log",style:f()==="dark"?Jl:ec,customStyle:{borderRadius:0,margin:0,border:"none"},children:t.join(` -`)})}),C.jsx($t,{onClick:d,style:{marginTop:8},children:e("settings.rtnl.clear")})]})]})]})]})},h5=new wn(fn()),_K=({overlay:e})=>{const{t}=Ft(),n=async a=>{const o=new FormData;o.append("file",a);const i={filename:[o.get("file")]},s=async()=>{await h5.apiTriggerWriteConfigGet()};(async u=>{try{await h5.apiUploadCertPost(u,e);try{s()}catch{lt.error("Error while saving config to file.")}lt.success(t("settings.certificates.uploadSuccessful",{filename:a.name}))}catch{lt.error(t("settings.certificates.uploadFailed",{filename:a.name}))}})(i)},r={name:"file",multiple:!0,customRequest:async a=>{const{onSuccess:o,onError:i,file:s}=a;try{await n(s),o("Ok")}catch(c){i(c)}},onChange(a){const{status:o}=a.file;o!=="uploading"&&console.log(a.file,a.fileList)},onDrop(a){console.log("Dropped files",a.dataTransfer.files)}};return C.jsxs(C0.Dragger,{...r,children:[C.jsx("p",{className:"ant-upload-drag-icon",children:C.jsx(DW,{})}),C.jsx("p",{className:"ant-upload-text",children:t("settings.certificates.uploadText")}),C.jsx("p",{className:"ant-upload-hint",children:t("settings.certificates.uploadHint")})]})},d8e=()=>{const{t:e}=Ft(),{Paragraph:t}=Bn;return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vu,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vu,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.certificates.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("settings.certificates.title")}),C.jsx(t,{children:C.jsx(na,{message:e("settings.certificates.information"),description:C.jsxs("div",{children:[e("settings.certificates.hint")," ",C.jsx(Rt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0})}),C.jsx(t,{children:C.jsx(_K,{})})]})]})]})},Vs=()=>{const{t:e}=Ft(),t=[{key:"home",label:C.jsx(Rt,{to:"/",children:e("home.navigationTitle")}),icon:le.createElement(mSe),title:e("home.navigationTitle")},{key:"features",label:C.jsx(Rt,{to:"/home/features",children:e("home.features.navigationTitle")}),icon:le.createElement(hye),title:e("home.features.navigationTitle")},{key:"statistics",label:C.jsx(Rt,{to:"/home/stats",children:e("home.stats.navigationTitle")}),icon:le.createElement(LT),title:e("home.stats.navigationTitle")},{key:"hiddenMeeting",label:C.jsx(Rt,{to:"/home/tonieMeeting"})}];return C.jsx(Eg,{mode:"inline",defaultOpenKeys:["sub"],items:t})};function cf(e,t=!0,n=1){if(!e||e<0)return"NaN";const r=t?1e3:1024;if(Math.abs(e)=r&&o{const{t:u}=Ft();return C.jsxs(On,{title:C.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[C.jsx(zW,{style:{fontSize:36,color:"orange",margin:16}}),C.jsx("div",{style:{marginBottom:16},children:e})]}),open:i,onOk:s,onCancel:c,okText:t,cancelText:n,className:"warning",children:[C.jsx("div",{style:{marginBottom:24},children:r}),a&&C.jsx("div",{children:C.jsx(na,{type:"warning",showIcon:!0,message:o||u("confirmDialog.contentHintTitle"),description:a})})]})},{useToken:f8e}=hi,$K=({open:e,initialValuesJson:t,onCreate:n,onCancel:r})=>{const{t:a}=Ft(),{token:o}=f8e(),[i]=qt.useForm(),[s,c]=l.useState([]),[u,d]=l.useState(!1),[f,p]=l.useState(0),[g,b]=l.useState(-1);l.useEffect(()=>{c([])},[]),l.useEffect(()=>{if(t)try{const k=JSON.parse(t);i.setFieldsValue(k)}catch(k){console.error("Error parsing JSON:",k)}},[i,t]);const m=()=>{i.resetFields()},h=k=>{i.setFieldsValue({filepath:k.target.value})},y=(k,M,L)=>{if(k&&k.length>0){const F=L==="library"?"lib:/":"content:/",j=k.map(B=>({filepath:F+M+"/"+B.name,name:B.name}));c(j)}},v=()=>{p(k=>k+1),d(!0)},S=k=>{p(M=>M+1),d(!0),b(k),c([i.getFieldValue(["files",k])])},w=()=>{const k=i.getFieldsValue();let M=[...k.files];g!==-1?M[g]={filepath:s[0].filepath,name:s[0].name}:M=[...k.files,...s];const L={...k,files:M};i.setFieldsValue(L),d(!1),c([]),b(-1)},x=()=>{d(!1),c([])},[E,I]=l.useState(""),[R,T]=l.useState(""),[_,$]=l.useState(!1),D=C.jsx($t,{type:"primary",onClick:()=>$(!1),children:a("tonies.informationModal.ok")}),P=()=>{$(!1)};function A(){const k=window.matchMedia("(prefers-color-scheme: dark)").matches,M=localStorage.getItem("theme");return M==="auto"?k?"dark":"light":M}const O=C.jsx(On,{footer:D,width:700,title:"File (you can copy the content to a *.tap file)",open:_,onCancel:P,children:E?C.jsxs(C.Fragment,{children:[C.jsx(Us,{language:"json",style:A()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:E}),C.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),C.jsx(Us,{language:"json",style:A()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:R})]}):"Loading..."}),N=C.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:o.colorBgElevated},children:[C.jsx($t,{onClick:x,children:a("tonies.selectFileModal.cancel")}),C.jsx($t,{type:"primary",onClick:w,children:a("tonies.selectFileModal.ok")})]});return C.jsxs(C.Fragment,{children:[C.jsxs(On,{open:e,title:a(t?"tonies.tapEditor.titleEdit":"tonies.tapEditor.titleCreate"),okText:a(t?"tonies.tapEditor.save":"tonies.tapEditor.create"),cancelText:a("tonies.tapEditor.cancel"),onCancel:()=>{r(),m()},onOk:()=>{i.validateFields().then(()=>{n(i.getFieldsValue()),I(JSON.stringify(i.getFieldsValue(),null,2)),T(JSON.stringify(i.getFieldsValue(),null,0)),$(!0),m()}).catch(k=>{console.log("Validate Failed:",k)})},children:[C.jsx(na,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json is displayed when saving the new tap. This is not automatically saved to your library. You have to create a *.tap file manually and copy this into the file yourself.",style:{marginBottom:8}}),C.jsxs(qt,{form:i,layout:"vertical",name:"tapEditorModal",initialValues:{type:"tap",filepath:"",name:"",files:[]},children:[C.jsx(qt.Item,{name:"type",hidden:!0,label:"type",children:C.jsx(Zt,{type:"string"})}),C.jsx(qt.Item,{name:"audio_id",label:"Audio ID",children:C.jsx(Zt,{type:"number"})}),C.jsx(qt.Item,{name:"filepath",label:a("tonies.tapEditor.filePath"),children:C.jsx(Zt,{onChange:h})}),C.jsx(qt.Item,{name:"name",label:a("tonies.tapEditor.name"),rules:[{required:!0,message:a("tonies.tapEditor.nameRequired")}],children:C.jsx(Zt,{})}),C.jsx(qt.List,{name:"files",children:(k,{add:M,remove:L})=>C.jsxs(C.Fragment,{children:[k.map(({key:F,name:j},B)=>C.jsx("div",{className:"playlistTitle",children:C.jsxs(Mo,{style:{display:"flex",marginBottom:8,alignItems:"center",width:"100%"},align:"baseline",children:[C.jsx(qt.Item,{name:[j,"filepath"],label:a("tonies.tapEditor.filePathContentFile"),rules:[{required:!0,message:a("tonies.tapEditor.filePathContentFileRequired")}],children:C.jsx(Zt,{width:"auto",addonBefore:C.jsx(da,{onClick:()=>{const z=[...i.getFieldsValue().files];z[B].filepath="",i.setFieldsValue({files:z})}}),addonAfter:C.jsx(V$,{onClick:()=>S(B)})})}),C.jsx(qt.Item,{name:[j,"name"],label:a("tonies.tapEditor.fileNameContentFile"),children:C.jsx(Zt,{placeholder:"Name"})}),C.jsx(LSe,{onClick:()=>L(j)})]},`space-${F}`)},`files-${F}`)),C.jsx(qt.Item,{children:C.jsx($t,{type:"dashed",onClick:()=>v(),block:!0,icon:C.jsx(yV,{}),children:a("tonies.tapEditor.addFile")})})]})})]}),C.jsx(On,{className:"sticky-footer",title:a("tonies.selectFileModal.selectFile"),open:u,onOk:w,onCancel:x,width:"auto",footer:N,children:C.jsx(Og,{maxSelectedRows:99,special:"library",trackUrl:!1,selectTafOrTapOnly:!1,onFileSelectChange:y},f)})]}),O]})},p8e=new wn(fn()),{Text:g8e}=Bn,OK=({open:e,onClose:t,tonieCardOrTAFRecord:n,readOnly:r,lastRUIDs:a,overlay:o,onHide:i})=>{const{t:s}=Ft(),[c,u]=l.useState(!1),[d,f]=l.useState(!1),[p,g]=l.useState(""),[b,m]=l.useState([]);l.useEffect(()=>{"sourceInfo"in n&&(n.sourceInfo.picture!==n.tonieInfo.picture&&v!==S||n.sourceInfo.picture===n.tonieInfo.picture&&v!==S||n.sourceInfo.series!==n.tonieInfo.series||n.sourceInfo.episode!==n.tonieInfo.episode||n.sourceInfo.tracks.join(".")!==n.tonieInfo.tracks.join("."))&&(f(!0),g(n.sourceInfo.picture),m(n.sourceInfo.tracks))},[n,e]);const h=a&&"ruid"in n?a.filter(([P])=>P===n.ruid).map(([,P,A])=>({ruidTime:P,boxName:A})):null,y=n.tonieInfo.series+(n!=null&&n.tonieInfo.episode?" - "+n.tonieInfo.episode:"")+(n.tonieInfo.model?" ("+n.tonieInfo.model+")":""),v=`${n.tonieInfo.series}`+(n.tonieInfo.episode?` - ${n.tonieInfo.episode}`:""),S="sourceInfo"in n?`${n.sourceInfo.series}`+(n.sourceInfo.episode?` - ${n.sourceInfo.episode}`:""):"",w=d?S:v,x=()=>{u(!0)},E=()=>{R(),u(!1)},I=()=>{u(!1)},R=async()=>{if(i&&"ruid"in n&&n.ruid)try{await p8e.apiPostTeddyCloudContentJson(n.ruid,"hide=true",o),lt.success(s("tonies.messages.hideTonieSuccessful")),i(n.ruid)}catch(P){lt.error(s("tonies.messages.hideTonieFailed")+P)}},T=C.jsx(Ap,{title:s("tonies.confirmHideModal.title"),open:c,okText:s("tonies.confirmHideModal.hide"),cancelText:s("tonies.confirmHideModal.cancel"),content:s("tonies.confirmHideModal.confirmHideDialog",{tonieToHide:y||("uid"in n?n.uid:"")}),handleOk:E,handleCancel:I}),_=C.jsx(C.Fragment,{children:C.jsxs("h3",{children:[w||s("tonies.informationModal.unknownModel"),C.jsx("br",{}),"uid"in n&&n.uid?C.jsx(g8e,{type:"secondary",children:n.uid}):""]})}),$=C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[C.jsx("div",{children:"ruid"in n&&n.ruid?r?"":C.jsx($t,{onClick:x,children:s("tonies.informationModal.hideTag")}):""}),C.jsx($t,{type:"primary",onClick:t,children:s("tonies.informationModal.ok")})]});return C.jsxs(C.Fragment,{children:[C.jsxs(On,{title:_,footer:$,open:e,keyboard:!0,closable:!1,maskClosable:!0,onCancel:t,children:[C.jsxs("div",{style:{position:"relative"},children:[C.jsx("img",{src:n.tonieInfo.picture?n.tonieInfo.picture:"/img_unknown.png",alt:"",style:{width:"100%"}}),d?C.jsx(rn,{title:s("tonies.alternativeSource",{originalTonie:'"'+v+'"',assignedContent:'"'+S+'"'}).replace(' "" '," "),placement:"bottom",children:C.jsx("img",{src:p,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),h&&h.length>0?C.jsxs(C.Fragment,{children:[C.jsxs("strong",{children:[s("tonies.lastPlayedOnModal.lastPlayedOnMessage"),":"]}),C.jsx("ul",{children:h.map(({ruidTime:P,boxName:A},O)=>C.jsxs("li",{children:[A,P?" ("+P+")":""]},O))})]}):C.jsx(C.Fragment,{}),C.jsxs("div",{children:["valid"in n?C.jsxs("p",{children:[C.jsx("strong",{children:s("tonies.infoModal.valid")})," ",n.valid?s("tonies.infoModal.yes"):s("tonies.infoModal.no")]}):"","exists"in n?C.jsxs("p",{children:[C.jsx("strong",{children:s("tonies.infoModal.exists")})," ",n.exists?s("tonies.infoModal.yes"):s("tonies.infoModal.no")]}):"",d?b&&b.length>0?C.jsxs(C.Fragment,{children:[C.jsx("strong",{children:s("tonies.infoModal.tracklist")}),C.jsx("ol",{children:b.map((P,A)=>C.jsx("li",{children:P},A))})]}):C.jsx(C.Fragment,{}):n.tonieInfo.tracks&&n.tonieInfo.tracks.length>0?C.jsxs(C.Fragment,{children:[C.jsx("strong",{children:s("tonies.infoModal.tracklist")}),C.jsx("ol",{children:n.tonieInfo.tracks.map((P,A)=>C.jsx("li",{children:P},A))})]}):C.jsx(C.Fragment,{})]})]}),T]})},Wd=new wn(fn()),{useToken:m8e}=hi,Og=({special:e,filetypeFilter:t=[],isTapList:n=!1,overlay:r="",maxSelectedRows:a=0,selectTafOrTapOnly:o=!0,trackUrl:i=!0,showDirOnly:s=!1,showColumns:c=void 0,onFileSelectChange:u})=>{const{t:d}=Ft(),{playAudio:f}=uO(),{token:p}=m8e(),g=tl(),b=jG(),m=l.useRef(null),h=l.useRef(null),y=l.useRef(null),[v,S]=lt.useMessage(),[w,x]=l.useState([]),[E,I]=l.useState(""),[R,T]=l.useState(!1),[_,$]=l.useState(""),[D,P]=l.useState([]),[A,O]=l.useState(""),[N,k]=l.useState(!1),[M,L]=l.useState(!1),[F,j]=l.useState(0),[B,z]=l.useState(),[H,U]=l.useState(!1),[Z,q]=l.useState(!1),[Y,te]=l.useState(""),[ee,X]=l.useState(!1),[ie,re]=l.useState(),[G,Q]=l.useState(""),[ae,oe]=l.useState(!1),[de,ve]=l.useState(!1),[ye,ge]=l.useState(!1),[J,ce]=l.useState(null),[ue,fe]=l.useState(""),[pe,xe]=l.useState("");l.useEffect(()=>{const we=new URLSearchParams(g.search).get("path")||"";I(we)},[g]),l.useEffect(()=>{if(r){const Ie=new URLSearchParams(g.search);Ie.set("path",""),I("");const we=`${window.location.pathname}?${Ie.toString()}`;window.history.replaceState(null,"",we),T(!R)}},[r]),l.useEffect(()=>{Wd.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${E}&special=${e}`+(r?`&overlay=${r}`:"")).then(Ie=>Ie.json()).then(Ie=>{var we=Ie.files;s&&(we=we.filter(Oe=>Oe.isDir)),t.length>0&&(we=we.filter(Oe=>Oe.isDir||t.some(He=>Oe.name.endsWith(He)))),x(we)})},[E,e,s,R]),l.useEffect(()=>{Z&&setTimeout(()=>{m.current&&m.current.focus()},0)},[Z]),l.useEffect(()=>{y.current!==null&&h.current&&h.current.setSelectionRange(y.current,y.current)},[G]);function Te(){const Ie=window.matchMedia("(prefers-color-scheme: dark)").matches,we=localStorage.getItem("theme");return we==="auto"?Ie?"dark":"light":we}const Pe=async Ie=>{try{const Oe=await(await Wd.apiGetTeddyCloudApiRaw(Ie)).json();O(Oe)}catch(we){console.error("Error fetching JSON data:",we)}},ke=Ie=>{Pe((e==="library"?"/library":"/content")+Ie),oe(!1),$(Ie),k(!0)},Ue=()=>{k(!1)},Be=C.jsx($t,{type:"primary",onClick:()=>k(!1),children:d("tonies.informationModal.ok")}),De=C.jsx(On,{className:"json-viewer",footer:Be,width:700,title:"File: "+_,open:N,onCancel:Ue,children:A?C.jsx(Us,{language:"json",style:Te()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(A,null,2)}):"Loading..."}),Se=(Ie,we)=>{const Oe=we,{tracks:He,...Fe}=Oe;oe(!1),z(Fe),$(Ie),U(!0)},_e=()=>{U(!1)},Ce=C.jsx(On,{className:"taf-header-viewer",footer:C.jsx($t,{type:"primary",onClick:()=>U(!1),children:d("tonies.informationModal.ok")}),title:d("tonies.tafHeaderOf")+_,open:H,onCancel:_e,children:B?C.jsx(Us,{language:"json",style:Te()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(B,null,2)}):"Loading..."}),Re=Ie=>{console.log("Received values of form: ",Ie),L(!1)},he=Ie=>{Ie.includes(".tap")&&(Pe((e==="library"?"/library":"/content")+Ie),oe(!1),$(Ie),j(Oe=>Oe+1),L(!0))},Ee=(Ie,we,Oe)=>{oe(!1),ce(Ie),fe(we),xe(Oe),ve(!0)},je=()=>{qe(ue,pe),T(Ie=>!Ie),ve(!1)},Ae=()=>{ve(!1),ge(!1)},Ne=()=>{ge(!0)},ze=async()=>{if(D.length>0){for(const Ie of D){const we=w.find(Oe=>Oe.name===Ie);if(we){const Oe=E+"/"+we.name,He="?special="+e+(r?`&overlay=${r}`:"");await qe(Oe,He)}}T(Ie=>!Ie),ge(!1),P([])}else lt.warning("No rows selected for deletion.")},qe=async(Ie,we)=>{const Oe=lt.loading(d("fileBrowser.messages.deleting"),0);try{const He=`/api/fileDelete${we}`,Ve=await(await Wd.apiPostTeddyCloudRaw(He,Ie)).text();Oe(),Ve==="OK"?lt.success(d("fileBrowser.messages.deleteSuccessful")):lt.error(`${d("fileBrowser.messages.deleteFailed")}: ${Ve}`)}catch(He){Oe(),lt.error(`${d("fileBrowser.messages.deleteFailed")}: ${He}`)}},Le=()=>{oe(!1),q(!0)},Ke=Ie=>{te(Ie.target.value)},Je=()=>{try{Wd.apiPostTeddyCloudRaw("/api/dirCreate?special=library",E+"/"+Y).then(Ie=>Ie.text()).then(Ie=>{if(Ie!=="OK")throw new Error(Ie);lt.success(d("tonies.createDirectory.directoryCreated")),q(!1),T(!R),te("")}).catch(Ie=>{lt.error(Ie.message)})}catch{lt.error("Error while creating directory")}},Xe=()=>{oe(!1),q(!1),te("")},ut=C.jsx(On,{title:d("tonies.createDirectory.modalTitle"),open:Z,onCancel:Xe,onOk:Je,okText:d("tonies.createDirectory.create"),cancelText:d("tonies.createDirectory.cancel"),children:C.jsx(Zt,{ref:m,placeholder:d("tonies.createDirectory.placeholder"),value:Y,onChange:Ke})}),pt=Ie=>{var we;!Ie.isDir&&((we=Ie.tonieInfo)!=null&&we.tracks)&&(re(Ie),X(!0))},We=Ie=>{i&&b(`?path=${Ie}`),E===Ie&&T(!R),oe(!1),I(Ie)},Ze=(Ie,we)=>{const Oe=Ie.split("/").filter(Fe=>Fe),He=[{title:C.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(""),children:d("fileBrowser.root")}),key:"/"}];return Oe.forEach((Fe,Ve)=>{const tt=`/${Oe.slice(0,Ve+1).join("/")}`;He.push({title:C.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(tt),children:Fe}),key:tt})}),C.jsx(pg,{items:He})},Ye=(Ie,we,Oe)=>{try{v.open({type:"loading",content:d("fileBrowser.messages.migrationOngoing"),duration:0});const He=`ruid=${Ie}&libroot=${we}`;Wd.apiPostTeddyCloudRaw("/api/migrateContent2Lib",He,Oe).then(Fe=>Fe.text()).then(Fe=>{v.destroy(),Fe==="OK"?(v.open({type:"success",content:d("fileBrowser.messages.migrationSuccessful")}),T(!R)):v.open({type:"error",content:d("fileBrowser.messages.migrationFailed")+": "+Fe})}).catch(Fe=>{v.destroy(),v.open({type:"error",content:d("fileBrowser.messages.migrationFailed")+": "+Fe})})}catch(He){v.destroy(),v.open({type:"error",content:d("fileBrowser.messages.migrationFailed")+": "+He})}},at=Ie=>{Q(Ie.target.value),y.current=Ie.target.selectionStart,oe(!0)},wt=()=>{Q(""),y.current=0},Ct=()=>{oe(!0)},Ot=Ie=>D.includes(Ie.key)?"highlight-row":"",dt=Ie=>{if(a>0){if(o){const Oe=Ie.length;Ie=Ie.filter(He=>{const Fe=w.find(Ve=>Ve.name===He);return Fe&&Fe.tafHeader!==void 0||Fe&&Fe.name.toLowerCase().endsWith(".tap")}),Oe!==Ie.length&<.warning(d("fileBrowser.selectTafOrTapOnly"))}Ie.length>a?lt.warning(d("fileBrowser.maxSelectedRows",{maxSelectedRows:a})):P(Ie)}else P(Ie);const we=(w==null?void 0:w.filter(Oe=>Ie.includes(Oe.name)))||[];u!==void 0&&u(we,E,e)},it=Ie=>{const we=Ie===".."?E.split("/").slice(0,-1).join("/"):`${E}/${Ie}`;i&&b(`?path=${we}`),oe(!1),P([]),I(we)},Qe=(Ie,we)=>we.reduce((Oe,He)=>{if(Oe&&Oe[He]!==void 0)return Oe[He]},Ie),st=(Ie,we,Oe)=>{const He=Array.isArray(Oe)?Qe(Ie,Oe):Ie[Oe],Fe=Array.isArray(Oe)?Qe(we,Oe):we[Oe];return He===void 0&&Fe===void 0?0:He===void 0?1:Fe===void 0?-1:typeof He=="string"&&typeof Fe=="string"?He.localeCompare(Fe):typeof He=="number"&&typeof Fe=="number"?He-Fe:(console.log("Unsupported types for sorting:",Ie,we),console.log("Unsupported types for sorting field:",Oe,He,Fe),0)},St=(Ie,we)=>Ie.isDir===we.isDir?st(Ie,we,"name"):Ie.isDir?-1:1;var et=[{title:a===0&&D.length>0?C.jsx(rn,{title:d("fileBrowser.deleteMultiple"),children:C.jsx($t,{icon:C.jsx(Ep,{}),onClick:Ne,disabled:D.length===0})},"deleteMultiple"):"",dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(Ie,we)=>{var Oe,He;return we&&((Oe=we.tonieInfo)!=null&&Oe.picture)?C.jsx("img",{src:we.tonieInfo.picture,alt:d("tonies.content.toniePicture"),onClick:()=>pt(we),style:{width:100,cursor:!we.isDir&&((He=we==null?void 0:we.tonieInfo)!=null&&He.tracks)?"help":"default"}},`picture-${we.name}`):C.jsx(C.Fragment,{})},showOnDirOnly:!1},{title:d("fileBrowser.name"),dataIndex:"name",key:"name",sorter:St,defaultSortOrder:"ascend",render:(Ie,we)=>{var Oe,He,Fe,Ve,tt;return we&&C.jsxs("div",{children:[C.jsxs("div",{className:"showSmallDevicesOnly",children:[C.jsxs("div",{children:[C.jsxs("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:[we.isDir?"["+we.name+"]":we.name," "]}),!we.isDir&&we.size?"("+cf(we.size)+")":""]}),C.jsx("div",{children:(Oe=we.tonieInfo)==null?void 0:Oe.model}),C.jsx("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:((He=we.tonieInfo)!=null&&He.series?(Fe=we.tonieInfo)==null?void 0:Fe.series:"")+((Ve=we.tonieInfo)!=null&&Ve.episode?" - "+((tt=we.tonieInfo)==null?void 0:tt.episode):"")}),C.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),C.jsxs("div",{className:"showMediumDevicesOnly",children:[C.jsxs("div",{children:[C.jsxs("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:[we.isDir?"["+we.name+"]":we.name," "]}),!we.isDir&&we.size?"("+cf(we.size)+")":""]}),C.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),C.jsx("div",{className:"showBigDevicesOnly",children:we.isDir?"["+we.name+"]":we.name})]},`name-${we.name}`)},filteredValue:[G],onFilter:(Ie,we)=>{var He,Fe,Ve,tt;const Oe=Ie.toLowerCase();return we.name===".."||we.name.toLowerCase().includes(Oe)||!we.isDir&&"tafHeader"in we&&we.tafHeader.size&&cf(we.tafHeader.size).toString().includes(Oe)||"tafHeader"in we&&((He=we.tafHeader.audioId)==null?void 0:He.toString().includes(Oe))||"tonieInfo"in we&&((Fe=we.tonieInfo)==null?void 0:Fe.model.toLowerCase().includes(Oe))||"tonieInfo"in we&&((Ve=we.tonieInfo)==null?void 0:Ve.series.toLowerCase().includes(Oe))||"tonieInfo"in we&&((tt=we.tonieInfo)==null?void 0:tt.episode.toLowerCase().includes(Oe))},showOnDirOnly:!0},{title:d("fileBrowser.size"),dataIndex:"size",key:"size",render:(Ie,we)=>C.jsx("div",{children:we.isDir?"":cf(Ie)},`size-${we.name}`),showOnDirOnly:!1,responsive:["xl"]},{title:d("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(Ie,we)=>{var Oe;return C.jsx("div",{children:(Oe=we.tonieInfo)==null?void 0:Oe.model},`model-${we.name}`)}},{title:C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"showMediumDevicesOnly",children:[d("fileBrowser.model"),"/",d("fileBrowser.series"),"/",d("fileBrowser.episode")]}),C.jsx("div",{className:"showBigDevicesOnly",children:d("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(Ie,we)=>{var Oe,He,Fe,Ve,tt,bt,xt;return C.jsxs("div",{children:[C.jsxs("div",{className:"showMediumDevicesOnly",children:[C.jsx("div",{children:(Oe=we.tonieInfo)==null?void 0:Oe.model}),C.jsx("div",{style:{wordBreak:"break-word"},children:((He=we.tonieInfo)!=null&&He.series?(Fe=we.tonieInfo)==null?void 0:Fe.series:"")+((Ve=we.tonieInfo)!=null&&Ve.episode?" - "+((tt=we.tonieInfo)==null?void 0:tt.episode):"")})]}),C.jsx("div",{className:"showBigDevicesOnly",children:(bt=we.tonieInfo)!=null&&bt.series?(xt=we.tonieInfo)==null?void 0:xt.series:""})]},`series-${we.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:d("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(Ie,we)=>{var Oe;return C.jsx("div",{children:(Oe=we.tonieInfo)==null?void 0:Oe.episode},`episode-${we.name}`)}},{title:d("fileBrowser.date"),dataIndex:"date",key:"date",render:(Ie,we)=>C.jsx("div",{children:new Date(Ie*1e3).toLocaleString()},`date-${we.name}`),showOnDirOnly:!0,responsive:["xl"]},{title:C.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:d("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(Ie,we)=>{let Oe=[];return we.tafHeader&&(e!=="library"&&(Oe.push(C.jsx(rn,{title:d("fileBrowser.migrateContentToLib"),children:C.jsx(nye,{onClick:()=>Ye(E.replace("/","")+we.name,!1,r),style:{margin:"0 8px 0 0"}})},`action-migrate-${we.name}`)),Oe.push(C.jsx(rn,{title:d("fileBrowser.migrateContentToLibRoot"),children:C.jsx(F1e,{onClick:()=>Ye(E.replace("/","")+we.name,!0,r),style:{margin:"0 8px 0 0"}})},`action-migrate-root-${we.name}`))),Oe.push(C.jsx(rn,{title:d("fileBrowser.playFile"),children:C.jsx(El,{style:{margin:"0 8px 0 0"},onClick:()=>f("/content"+E+"/"+we.name+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),we.tonieInfo)})},`action-play-${we.name}`))),n&&we.name.includes(".tap")&&(Oe.push(C.jsx(rn,{title:d("fileBrowser.tap.edit"),children:C.jsx(m0,{style:{margin:"0 8px 0 0"},onClick:()=>he(E+"/"+we.name)})},`action-edit-${we.name}`)),Oe.push(C.jsx(rn,{title:d("fileBrowser.tap.copy"),children:C.jsx(AW,{style:{margin:"0 8px 0 0"}})},`action-copy-${we.name}`))),we.name!==".."&&a===0&&Oe.push(C.jsx(rn,{title:d("fileBrowser.delete"),children:C.jsx(Ep,{onClick:()=>Ee(we.name,E+"/"+we.name,"?special="+e+(r?`&overlay=${r}`:"")),style:{margin:"0 8px 0 0"}})},`action-delete-${we.name}`)),Oe},showOnDirOnly:!1}];return et.forEach(Ie=>{Ie.hasOwnProperty("sorter")||(Ie.sorter=(we,Oe)=>st(we,Oe,Ie.dataIndex))}),s&&(et=et.filter(Ie=>Ie.showOnDirOnly)),c&&(et=et.filter(Ie=>typeof Ie.key=="string"?c.includes(Ie.key):!1)),C.jsxs(C.Fragment,{children:[S,C.jsx(Ap,{title:d("fileBrowser.confirmDeleteModal"),open:de,okText:d("fileBrowser.delete"),cancelText:d("fileBrowser.cancel"),content:d("fileBrowser.confirmDeleteDialog",{fileToDelete:J}),handleOk:je,handleCancel:Ae}),C.jsx(Ap,{title:d("fileBrowser.confirmDeleteModal"),open:ye,okText:d("fileBrowser.delete"),cancelText:d("fileBrowser.cancel"),content:d("fileBrowser.confirmMultipleDeleteDialog"),handleOk:ze,handleCancel:Ae}),De,Ce,ut,ie?C.jsx(OK,{open:ee,tonieCardOrTAFRecord:ie,onClose:()=>X(!1),overlay:r}):"",C.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[C.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[C.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:d("tonies.currentPath")}),Ze(E,We)]}),a===0&&e==="library"?C.jsx($t,{size:"small",onClick:Le,style:{marginBottom:8},children:d("tonies.createDirectory.createDirectory")}):""]}),C.jsx(es,{dataSource:w,columns:et,rowKey:Ie=>Ie.name,pagination:!1,onRow:Ie=>({onDoubleClick:()=>{Ie.isDir?it(Ie.name):Ie.name.includes(".json")||Ie.name.includes(".tap")?ke(E+"/"+Ie.name):Ie.tafHeader&&Se(Ie.name,Ie.tafHeader)}}),rowClassName:Ot,rowSelection:a>0?{selectedRowKeys:D,onChange:dt}:{selectedRowKeys:D,onChange:dt,getCheckboxProps:Ie=>({disabled:Ie.name===".."}),onSelectAll:(Ie,we)=>{const Oe=Ie?we.filter(He=>He.name!=="..").map(He=>He.name):[];P(Oe)}},components:{header:{wrapper:Ie=>C.jsx("thead",{...Ie}),row:Ie=>C.jsxs(C.Fragment,{children:[C.jsx("tr",{...Ie}),C.jsx("tr",{children:C.jsx("th",{style:{padding:"10px 8px"},colSpan:et.length+1,children:C.jsx(Zt,{placeholder:d("fileBrowser.filter"),value:G,onChange:at,onFocus:Ct,ref:h,style:{width:"100%"},autoFocus:ae,addonAfter:C.jsx(da,{onClick:wt,disabled:G.length===0,style:{color:G.length===0?p.colorTextDisabled:p.colorText,cursor:G.length===0?"default":"pointer"}})})})})]}),cell:Ie=>C.jsx("th",{...Ie})}}}),C.jsx($K,{open:M,initialValuesJson:A?JSON.stringify(A,null,2):void 0,onCreate:Re,onCancel:()=>{L(!1)}},F)]})},h8e=new wn(fn()),NK=({open:e,onClose:t,setValue:n,props:r,tonieCardProps:a,audioId:o,hash:i})=>{const{t:s}=Ft(),[c]=qt.useForm();l.useEffect(()=>{e&&p(),e&&a&&c.setFieldsValue({series:a.tonieInfo.series,episodes:a.tonieInfo.episode,model:a.tonieInfo.model,language:a.tonieInfo.language,pic:a.tonieInfo.picture,tracks:a.tonieInfo.tracks})},[e,a,c]);const u=async x=>{if(x.tracks&&(x.tracks=x.tracks.filter(E=>E.track&&E.track.trim()).map(E=>E.track)),x.audio_id){x.audio_id=x.audio_id.filter(R=>R.audio_id&&R.audio_id.trim()&&R.hash&&R.hash.trim());const E=x.audio_id.map(R=>R.audio_id),I=x.audio_id.map(R=>R.hash);x={no:x.no,model:x.model,audio_id:E,hash:I,title:x.title,series:x.series,episodes:x.episodes,tracks:x.tracks,release:x.release,language:x.language,category:x.category,pic:x.pic}}b(x),h(!0);try{await h8e.apiPostTeddyCloudRaw("/api/doSomething",JSON.stringify(x),void 0,void 0,{"Content-Type":"application/json"}),x.article&&n&&(n(x.article),r.onChange(x.article)),p(),lt.success(s("tonies.addNewCustomTonieModal.successfullyCreated")),t()}catch(E){lt.error(s("tonies.addNewCustomTonieModal.failedToCreate")+E)}},d=()=>{c.submit()},f=()=>{p(),t()},p=()=>{c.resetFields(),c.setFieldsValue({audio_id:[{audio_id:o||"",hash:i||""}],tracks:[{track:""}]})},[g,b]=l.useState(""),[m,h]=l.useState(!1),y=C.jsx($t,{type:"primary",onClick:()=>v(),children:s("tonies.informationModal.ok")}),v=()=>{h(!1),f()};function S(){const x=window.matchMedia("(prefers-color-scheme: dark)").matches,E=localStorage.getItem("theme");return E==="auto"?x?"dark":"light":E}const w=C.jsx(On,{footer:y,width:700,title:"File (you can copy the content to the tonies.custom.json)",open:m,onCancel:v,children:g?C.jsxs(C.Fragment,{children:[C.jsx(Us,{language:"json",style:S()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(g,null,2)},"json-readable"),C.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),C.jsx(Us,{language:"json",style:S()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(g,null,0)},"json-minimized")]}):"Loading..."});return C.jsxs(C.Fragment,{children:[C.jsxs(On,{title:s("tonies.addNewCustomTonieModal.title"),open:e,onCancel:f,onOk:d,okText:s("tonies.addNewCustomTonieModal.save"),width:Math.max(Math.min(window.innerWidth*.75,800),500),children:[C.jsx(na,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json fragment is displayed when saving the new model. This is not automatically inserted into the tonies.custom.json. You have to copy this into the file yourself.",style:{marginBottom:8}}),C.jsx(qt,{form:c,layout:"vertical",onFinish:u,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:24,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:C.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.series"),C.jsx(rn,{title:s("tonies.addNewCustomTonieModal.seriesHint"),children:C.jsx(iu,{style:{marginLeft:2}})},"series-tooltip")],name:"series",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.seriesRequired")}],children:C.jsx(Zt,{style:{width:"100%"}})},"series")}),C.jsx(En,{span:10,children:C.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.episode"),C.jsx(rn,{title:s("tonies.addNewCustomTonieModal.episodeHint"),children:C.jsx(iu,{style:{marginLeft:2}})},"episodes-tooltip")],name:"episodes",children:C.jsx(Zt,{style:{width:"100%"}})},"episodes")}),C.jsx(En,{span:6,children:C.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.language"),C.jsx(rn,{title:s("tonies.addNewCustomTonieModal.languageHint"),children:C.jsx(iu,{style:{marginLeft:2}})},"language-tooltip")],name:"language",children:C.jsx(Zt,{style:{width:"100%"}})},"language")})]})}),C.jsx(En,{span:24,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.model"),name:"model",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.modelRequired")}],children:C.jsx(Zt,{style:{width:"100%"}})},"model")}),C.jsx(En,{span:16,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.pic"),name:"pic",children:C.jsx(Zt,{style:{width:"100%"}})},"pic")})]})}),C.jsx(En,{span:24,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.no"),name:"no",children:C.jsx(Zt,{style:{width:"100%"}})},"no")}),C.jsx(En,{span:16,children:C.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.formfieldTitle"),C.jsx(rn,{title:s("tonies.addNewCustomTonieModal.formfieldTitleHint"),children:C.jsx(iu,{style:{marginLeft:2}})},"title-tooltip")],name:"title",children:C.jsx(Zt,{style:{width:"100%"}})},"title")})]})}),C.jsx(En,{span:24,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.release"),name:"release",children:C.jsx(Zt,{style:{width:"100%"}})},"release")}),C.jsx(En,{span:16,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.category"),name:"category",children:C.jsx(Zt,{style:{width:"100%"}})},"category")})]})}),C.jsx(En,{span:24,children:C.jsx(Ba,{gutter:[16,0],children:C.jsx(En,{span:24,children:C.jsx(qt.List,{name:"audio_id",children:(x,{add:E,remove:I})=>C.jsxs(C.Fragment,{children:[x.map(({key:R,name:T,..._},$)=>C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:l.createElement(qt.Item,{..._,key:`audio-id-${R}`,name:[T,"audio_id"],label:C.jsx("div",{children:$===0?s("tonies.addNewCustomTonieModal.audioId"):""},`audio-id-label-${R}`)},C.jsx(Zt,{style:{width:"100%"}}))}),C.jsx(En,{span:16,children:l.createElement(qt.Item,{..._,key:`hash-${R}`,name:[T,"hash"],label:C.jsx("div",{children:$===0?s("tonies.addNewCustomTonieModal.hash"):""},`hash-label-${R}`)},C.jsx(Zt,{style:{width:"100%"},addonAfter:C.jsx($t,{type:"link",onClick:()=>I(T),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`audio-id-hash-remove-${R}`)}))})]},`audio-id-hash-row-${R}`)),C.jsx(qt.Item,{children:C.jsx($t,{type:"dashed",onClick:()=>E(),block:!0,children:s("tonies.addNewCustomTonieModal.addAudioIdHash")})},"add-audio-id-hash")]})},"audio-id-hash-list")})})}),C.jsx(En,{span:24,children:C.jsx(qt.List,{name:"tracks",children:(x,{add:E,remove:I})=>C.jsxs(C.Fragment,{children:[x.map(({key:R,name:T,..._},$)=>C.jsx(Ba,{gutter:[16,0],children:C.jsx(En,{span:24,children:l.createElement(qt.Item,{..._,key:`track-${R}`,name:[T,"track"],label:C.jsx("div",{children:$===0?s("tonies.addNewCustomTonieModal.track"):""},`track-label-${R}`)},C.jsx(Zt,{style:{width:"100%"},addonAfter:C.jsx($t,{type:"link",onClick:()=>I(T),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`track-remove-${R}`)},"input-track-"+R))})},`track-row-${R}`)),C.jsx(qt.Item,{children:C.jsx($t,{type:"dashed",onClick:()=>E(),block:!0,children:s("tonies.addNewCustomTonieModal.addTrack")})},"add-track")]})},"track-list")})]})})]}),w]})},v8e=new wn(fn()),b8e=e=>{const{t}=Ft();lt.useMessage();const[n,r]=l.useState([]),[a,o]=l.useState(),[i,s]=l.useState(),[c,u]=l.useState(!1),d=async g=>{const b=encodeURIComponent(g),m="/api/toniesJsonSearch?searchModel="+b+"&searchSeries="+b+"&searchEpisode="+b;try{const y=await(await v8e.apiGetTeddyCloudApiRaw(m)).json();s(y);const v=y.map(S=>({value:S.model,text:"["+S.model+"] "+S.series+" - "+S.episode,picture:S.picture}));r(v)}catch(h){lt.error(t("tonieArticleSearch.failedToFetchSearchResults")+h);return}},f=g=>{o(g),e.onChange(g)},p=()=>{u(!0)};return C.jsxs(C.Fragment,{children:[C.jsx(mr,{showSearch:!0,value:a,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:d,onChange:f,notFoundContent:null,options:(n||[]).map(g=>({value:g.value,label:C.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[C.jsx("img",{src:g.picture,alt:g.text,style:{display:"none"}}),g.text]})}))}),C.jsx(NK,{open:c,props:e,setValue:o,onClose:()=>u(!1)}),C.jsx(rn,{title:t("tonies.addNewCustomTonieHint"),children:C.jsx($t,{onClick:p,style:{marginTop:8},children:t("tonies.addNewCustomTonie")})})]})},y8e=({countryCode:e,height:t})=>{switch(e){case"de-de":return C.jsxs("svg",{height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 60",children:[C.jsx("path",{d:"M0 0h100v20H0z"}),C.jsx("path",{fill:"#D00",d:"M0 20h100v20H0z"}),C.jsx("path",{fill:"#FFCE00",d:"M0 40h100v20H0z"})]});case"en-gb":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.666",height:t,children:[C.jsxs("g",{fill:"#FFF",children:[C.jsx("path",{d:"M0 0h100v66.53H0z"}),C.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zM39.045 21.696 0 0v6.141l28.012 15.556z"})]}),C.jsx("path",{d:"M76.764 44.834 100 57.642V44.834zm-16.004 0L100 66.53v-6.141L71.988 44.834zM89.396 66.53 60.741 50.604V66.53zM17.602 44.834 0 54.62v-9.786zm21.442 2.768V66.55H4.971zM23.041 21.696 0 8.889v12.807zm16.004 0L0 0v6.141l28.012 15.556zM10.409 0l28.655 15.926V0zm71.793 21.696L100 11.911v9.786zM60.76 18.928V0h34.093z",fill:"#0052B4"}),C.jsxs("g",{fill:"#D80027",children:[C.jsx("path",{d:"M56.141 0H43.665v27.037H0v12.476h43.664V66.55H56.14V39.513h43.664V27.037H56.14z"}),C.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zm-32.748 0L0 60.41v6.14l39.045-21.715zm11.033-23.139L0 0v6.141l28.012 15.556zm32.748 0L100 6.141V0L60.76 21.696z"})]})]});case"en-us":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),C.jsx("path",{d:"M0 0h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.273h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.129H0z",fill:"#D80027"}),C.jsx("path",{fill:"#2E52B2",d:"M0 0h50v35.887H0z"}),C.jsx("path",{d:"m9.318 27.076-.78-2.495-.858 2.495H5.107l2.086 1.501-.78 2.495 2.125-1.54 2.066 1.54-.799-2.495 2.125-1.501zm10.975 0-.799-2.495-.819 2.495h-2.574l2.086 1.501-.78 2.495 2.086-1.54 2.105 1.54-.78-2.495 2.086-1.501zm11.014 0-.838-2.495-.78 2.495h-2.632l2.144 1.501-.819 2.495 2.086-1.54 2.144 1.54-.819-2.495 2.086-1.501zm10.955 0-.78-2.495-.819 2.495H38.07l2.105 1.501-.78 2.495 2.086-1.54 2.105 1.54-.838-2.495 2.144-1.501zM19.493 14.678l-.819 2.495h-2.573l2.086 1.54-.78 2.456 2.086-1.52 2.105 1.52-.78-2.456 2.086-1.54h-2.612zm-10.955 0-.858 2.495H5.107l2.086 1.54-.78 2.456 2.125-1.52 2.066 1.52-.799-2.456 2.125-1.54H9.318zm21.93 0-.78 2.495h-2.632l2.144 1.54-.819 2.456 2.086-1.52 2.144 1.52-.819-2.456 2.086-1.54h-2.573zm11.014 0-.819 2.495H38.07l2.105 1.54-.78 2.456 2.086-1.52 2.105 1.52-.838-2.456 2.144-1.54H42.26zM8.539 4.814 7.681 7.27H5.107l2.086 1.54-.78 2.476 2.125-1.539 2.066 1.54-.799-2.476 2.125-1.54H9.318zm10.955 0-.819 2.456h-2.574l2.086 1.54-.78 2.476 2.086-1.539 2.105 1.54-.78-2.476 2.086-1.54h-2.612zm10.975 0-.78 2.456h-2.632l2.144 1.54-.819 2.476 2.086-1.54 2.144 1.54-.819-2.476 2.086-1.54h-2.573zm11.014 0-.819 2.456h-2.593l2.105 1.54-.78 2.476 2.086-1.54 2.105 1.54-.838-2.476 2.144-1.54h-2.632z",fill:"#FFF"})]});case"fr-fr":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),C.jsx("path",{fill:"#0052B4",d:"M0 0h33.333v66.667H0z"}),C.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-be":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#fdda25",d:"M0 0h100v66.667H0z"}),C.jsx("path",{d:"M0 0h33.333v66.667H0z"}),C.jsx("path",{fill:"#ef3340",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-nl":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFF",d:"M0 22.222h100v22.222H0z"}),C.jsx("path",{fill:"#cd1f2a",d:"M0 0h100v22.222H0z"}),C.jsx("path",{fill:"#1d4185",d:"M0 44.444h100v22.223H0z"})]});case"pt-pt":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[C.jsx("path",{y:"85.337",fill:"#D80027",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),C.jsx("path",{fill:"#6DA544",points:"196.641,85.337 196.641,261.565 196.641,426.663 0,426.663 0,85.337 ",d:"M38.406 16.667L38.406 51.087L38.406 83.333L0 83.333L0 16.667Z"}),C.jsx("path",{fill:"#FFDA44",cx:"196.641",cy:"256",r:"64",d:"M50.906 50A12.5 12.5 0 0 1 38.406 62.5A12.5 12.5 0 0 1 25.906 50A12.5 12.5 0 0 1 50.906 50z"}),C.jsx("path",{fill:"#D80027",d:"M31.375 43.75v7.813c0 3.883 3.148 7.031 7.031 7.031s7.031 -3.148 7.031 -7.031V43.75z"}),C.jsx("path",{fill:"#FFFFFF",d:"M38.406 53.906c-1.292 0 -2.344 -1.051 -2.344 -2.344v-3.125h4.688v3.125c0 1.292 -1.052 2.344 -2.344 2.344"})]});case"it-it":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFF",d:"M66.667 0H0v66.53h99.805V0Z"}),C.jsx("path",{fill:"#6DA544",d:"M0 0h33.333v66.667H0z"}),C.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"es-es":return C.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFFFFF",d:"M0 0h100v66.667H0z"}),C.jsx("path",{fill:"#D03433",d:"M0 0h100v17.778H0zm0 48.889h100v17.778H0z"}),C.jsx("path",{fill:"#FBCA46",d:"M0 17.778h100v31.111H0z"}),C.jsx("path",{fill:"#FFFFFF",d:"M34.667 31.111h4.444v2.222h-4.444z"}),C.jsx("path",{fill:"#A41517",d:"M32 37.778c0 1.333 1.333 2.222 2.667 2.222s2.667 -0.889 2.667 -2.222L37.778 31.111H31.556zM29.333 31.111c0 -1.333 0.889 -2.222 1.778 -2.222h6.667c1.333 0 2.222 0.889 2.222 1.778V31.111l-0.444 6.667c-0.444 2.667 -2.222 4.444 -4.889 4.444s-4.444 -1.778 -4.889 -4.444z"}),C.jsx("path",{fill:"#A41517",d:"M30.222 33.333h8.889V35.556h-2.222l-2.222 4.444 -2.222 -4.444h-2.222zM23.556 26.667h4.444v15.556h-4.444zm17.778 0h4.444v15.556h-4.444zm-11.111 -2.222c0 -1.333 0.889 -2.222 2.222 -2.222h4.444c1.333 0 2.222 0.889 2.222 2.222v0.889q0 1.333 -1.333 1.333H31.111c-0.444 0 -0.889 -0.444 -0.889 -0.889z"})]});case"pl-pl":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[C.jsxs("g",{children:[C.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),C.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"170.663",d:"M0 16.667H100V50H0V16.667z"})]}),C.jsx("path",{y:"256",fill:"#D80027",width:"512",height:"170.663",d:"M0 50H100V83.333H0V50z"})]});case"tr-tr":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,viewBox:"0 -5000 15000 10000",children:[C.jsx("path",{fill:"#E30A17",d:"M0-5000h15000V5000H0z"}),C.jsx("path",{fill:"#FFFFFF",d:"m6958.333 0 2261.333-734.667-1397.667 1923.5v-2377.666l1397.667 1923.5zM7112.5 1336.833a2500 2500 0 1 1 0-2673.667 2000 2000 0 1 0 0 2673.667"})]});default:return null}},YE=["de-de","en-gb","en-us","es-es","fr-fr","it-it","nl-be","nl-nl","pl-pl","pt-pt","tr-tr","undefined"],S8e=e=>{const{t}=Ft(),[n,r]=lt.useMessage(),[a,o]=l.useState([]),[i,s]=l.useState(),[c,u]=l.useState(!1),d="https://de1.api.radio-browser.info/json/";l.useEffect(()=>{(async()=>{try{(await fetch(d+"stats")).ok&&u(!0)}catch{console.log("Radio Browser API not available, disable radiostream search."),u(!1)}})()},[]);const f=(h,y)=>{let v;return(...S)=>{clearTimeout(v),v=setTimeout(()=>h.apply(void 0,S),y)}},p=async h=>{if(o([]),h==="")return;const y=encodeURIComponent(h),v=d+"stations/search?name="+y+"&is_https=true&hidebroken=true";try{const S=await fetch(v,{});if(!S.ok)throw new Error(S.status+" "+S.statusText);const w=await S.json(),x=Array.from(new Set(w.map(E=>E.url))).map(E=>{const I=w.find(R=>R.url===E);return{value:I.url,text:(I.country?"["+I.country+"] ":"")+I.name+(I.language?" ("+I.language+")":"")}});o(x)}catch(S){lt.error(t("radioStreamSearch.failedToFetchSearchResults")+S);return}},g=l.useCallback(f(p,300),[]),b=h=>{s(h),e.onChange(h)};return c?C.jsxs(C.Fragment,{children:[C.jsx(Bn.Text,{style:{fontSize:"small",display:"inline-block",marginTop:"8px"},children:t("radioStreamSearch.searchLabel")}),r,C.jsx(mr,{showSearch:!0,style:{margin:"8px 0"},value:i,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:g,onChange:b,notFoundContent:null,options:(a||[]).map(h=>({value:h.value,label:h.text}))})]}):C.jsx(C.Fragment,{})},Fc=new wn(fn()),{Meta:w8e}=ld,{Text:v5}=Bn,{useToken:C8e}=hi,x8e=({tonieCard:e,lastRUIDs:t,overlay:n,readOnly:r,defaultLanguage:a="",onHide:o,onUpdate:i})=>{const{t:s}=Ft(),{token:c}=C8e(),[u,d]=l.useState(0),[f,p]=l.useState(e),[g,b]=lt.useMessage(),[m,h]=l.useState(f.nocloud),[y,v]=l.useState(f.live),[S,w]=l.useState(f.downloadTriggerUrl),{playAudio:x}=uO(),[E,I]=l.useState(!1),[R,T]=l.useState(!1),[_,$]=l.useState(!1),[D,P]=l.useState(f.tonieInfo.model),[A,O]=l.useState(""),[N,k]=l.useState(f.source),[M,L]=l.useState(""),F=async()=>{try{const pe=await Fc.apiGetTagInfo(f.ruid,n);p(pe),i(pe)}catch(pe){lt.error("Error fetching updated card: "+pe)}},j=`${f.tonieInfo.series}`+(f.tonieInfo.episode?` - ${f.tonieInfo.episode}`:""),B="sourceInfo"in f?`${f.sourceInfo.series}`+(f.sourceInfo.episode?` - ${f.sourceInfo.episode}`:""):"",z="sourceInfo"in f&&(f.sourceInfo.picture!==f.tonieInfo.picture&&j!==B||f.sourceInfo.picture===f.tonieInfo.picture&&j!==B),H=(pe,xe,Te)=>{if(pe&&pe.length===1){const ke=(Te==="library"?"lib:/":"content:/")+xe+"/"+pe[0].name;L(ke)}else L(N)},U=()=>{$(!0)},Z=()=>{L(N),$(!1)},q=()=>{O(D),L(N),T(!0)},Y=async()=>{T(!1);const pe=[];N!==M&&pe.push(G()),D!==A&&pe.push(re()),await Promise.all(pe),F()},te=async()=>{try{await Fc.apiPostTeddyCloudContentJson(f.ruid,"live="+!y,n),v(!y),y?lt.success(s("tonies.messages.liveDisabled")):lt.success(s("tonies.messages.liveEnabled")),F()}catch(pe){lt.error(s("tonies.messages.couldNotChangeLiveFlag")+pe)}},ee=async()=>{try{await Fc.apiPostTeddyCloudContentJson(f.ruid,"nocloud="+!m,n),p({...f,nocloud:!m}),h(!m),m?lt.success(s("tonies.messages.cloudAccessEnabled")):lt.success(s("tonies.messages.cloudAccessBlocked")),F()}catch(pe){lt.error(s("tonies.messages.couldNotChangeCloudFlag")+pe)}},X=async pe=>{x(pe,z?f.sourceInfo:f.tonieInfo)},ie=async()=>{const pe=f.downloadTriggerUrl;w("");try{g.open({type:"loading",content:s("tonies.messages.downloading"),duration:0});const Te=await(await Fc.apiGetTeddyCloudApiRaw(pe)).blob();g.destroy(),g.open({type:"success",content:s("tonies.messages.downloadedFile")}),F()}catch(xe){g.destroy(),g.open({type:"error",content:s("tonies.messages.errorDuringDownload")+xe}),w(""+pe)}},re=async()=>{try{await Fc.apiPostTeddyCloudContentJson(f.ruid,"tonie_model="+A,n),P(A),lt.success(s("tonies.messages.setTonieToModelSuccessful",{selectedModel:A||s("tonies.messages.setToEmptyValue")}))}catch(pe){lt.error(s("tonies.messages.setTonieToModelFailed")+pe)}},G=async()=>{try{await Fc.apiPostTeddyCloudContentJson(f.ruid,"source="+M,n),k(M),lt.success(s("tonies.messages.setTonieToSourceSuccessful",{selectedSource:M||s("tonies.messages.setToEmptyValue")}))}catch(pe){lt.error(s("tonies.messages.setTonieToSourceFailed")+pe)}m||ee()},Q=pe=>{O(pe.target.value)},ae=pe=>{L(pe.target.value)},oe=t.filter(([pe])=>pe===f.ruid).map(([,pe,xe])=>({ruidTime:pe,boxName:xe})),de=pe=>{O(pe)},ve=pe=>{L(pe)},ye=C.jsxs(C.Fragment,{children:[C.jsxs("h3",{style:{lineHeight:0},children:[s("tonies.editModal.title"),f.tonieInfo.model?" ("+f.tonieInfo.model+")":""]}),f.tonieInfo.series?C.jsx(v5,{type:"secondary",children:j}):" "]}),ge=C.jsx(C.Fragment,{children:C.jsxs($t,{type:"primary",onClick:Y,disabled:N===M&&D===A,children:[C.jsx(LW,{},"saveClick")," ",s("tonies.editModal.save")]})}),J=C.jsxs(On,{open:R,onCancel:()=>T(!1),title:ye,footer:ge,width:700,children:[C.jsx(Ca,{orientation:"left",orientationMargin:"0",children:s("tonies.editModal.source")}),C.jsxs("div",{children:[C.jsx(Zt,{value:M,width:"auto",onChange:ae,addonBefore:C.jsx(da,{onClick:()=>L(N),style:{color:N===M?c.colorTextDisabled:c.colorText,cursor:N===M?"default":"pointer"}}),addonAfter:C.jsx(V$,{onClick:()=>U()})}),C.jsx(S8e,{placeholder:s("tonies.editModal.placeholderSearchForARadioStream"),onChange:ve})]}),C.jsx(Ca,{orientation:"left",orientationMargin:"0",children:s("tonies.editModal.model")}),C.jsxs("div",{children:[C.jsx("p",{children:C.jsx(Zt,{value:A,width:"auto",onChange:Q,addonBefore:C.jsx(da,{onClick:()=>O(D),style:{color:D===A?c.colorTextDisabled:c.colorText,cursor:D===A?"default":"pointer"}})})}),C.jsx(b8e,{placeholder:s("tonies.editModal.placeholderSearchForAModel"),onChange:de})]})]}),ce=C.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:c.colorBgElevated},children:[C.jsx($t,{onClick:Z,children:s("tonies.selectFileModal.cancel")}),C.jsx($t,{type:"primary",onClick:()=>$(!1),children:s("tonies.selectFileModal.ok")})]}),ue=C.jsx(On,{className:"sticky-footer",title:s("tonies.selectFileModal.selectFile"),open:_,onOk:()=>$(!1),onCancel:Z,width:"auto",footer:ce,children:C.jsx(Og,{special:"library",maxSelectedRows:1,trackUrl:!1,onFileSelectChange:H})}),fe=r?[C.jsx(iu,{onClick:()=>{d(u+1),I(!0)}},"info"),f.valid||N.startsWith("http")?C.jsx(El,{onClick:()=>X(f.valid?""+f.audioUrl:N)},"playpause"):C.jsx(El,{style:{cursor:"default",color:c.colorTextDisabled}},"playpause"),C.jsx(dD,{style:{cursor:"default",color:m?"red":c.colorTextDisabled}},"nocloud"),C.jsx(pD,{style:{cursor:"default",color:y?"red":c.colorTextDisabled}},"live")]:[C.jsx(iu,{onClick:()=>{d(u+1),I(!0)}},"info"),C.jsx(m0,{onClick:q},"edit"),f.valid||N.startsWith("http")?C.jsx(El,{onClick:()=>X(f.valid?""+f.audioUrl:N)},"playpause"):S&&S.length>0?C.jsx(U$,{onClick:ie},"download"):C.jsx(El,{style:{cursor:"default",color:c.colorTextDisabled}},"playpause"),C.jsx(dD,{style:{color:m?"red":c.colorTextDescription},onClick:ee},"nocloud"),C.jsx(pD,{style:{color:y?"red":c.colorTextDescription},onClick:te},"live")];return C.jsxs(C.Fragment,{children:[b,C.jsx(ld,{hoverable:!1,size:"small",style:oe&&oe.length>0?{background:c.colorBgContainerDisabled,borderTop:"3px #1677ff inset"}:{background:c.colorBgContainerDisabled,paddingTop:"2px"},title:C.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[C.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:f.tonieInfo.series?f.tonieInfo.series:s("tonies.unsetTonie")}),a!==f.tonieInfo.language?C.jsx(rn,{placement:"top",zIndex:2,title:s("languageUtil."+f.tonieInfo.language),children:C.jsx(v5,{style:{height:20,width:"auto"},children:C.jsx(y8e,{countryCode:f.tonieInfo.language,height:20})})}):""]}),cover:C.jsxs("div",{style:{position:"relative"},children:[C.jsx("img",{alt:`${f.tonieInfo.series} - ${f.tonieInfo.episode}`,src:f.tonieInfo.picture?f.tonieInfo.picture:"/img_unknown.png",style:f.tonieInfo.picture.endsWith("img_unknown.png")?{padding:8,paddingTop:10,width:"100%"}:{padding:8,width:"100%"}}),z?C.jsx(rn,{title:s("tonies.alternativeSource",{originalTonie:'"'+j+'"',assignedContent:'"'+B+'"'}).replace(' "" '," "),placement:"bottom",children:C.jsx("img",{src:f.sourceInfo.picture,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),actions:fe,children:C.jsx(w8e,{title:`${f.tonieInfo.episode}`,description:f.uid})},f.ruid),C.jsx(OK,{open:E,onClose:()=>I(!1),tonieCardOrTAFRecord:f,readOnly:r,lastRUIDs:t,onHide:o,overlay:n},u),ue,J]})},E8e=({currentPage:e,onChange:t,total:n,pageSize:r,additionalButtonOnClick:a})=>{const{t:o}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(B$,{current:e,total:n,pageSize:r,onChange:t,showSizeChanger:!0,pageSizeOptions:["24","48","96","192"],locale:{items_per_page:o("tonies.tonies.pageSelector")},style:{marginBottom:8}}),C.jsx($t,{onClick:a,style:{marginLeft:16},children:o("tonies.tonies.showAll")})]})},{Option:I8e}=mr,XE=new wn(fn()),ZE="toniesListState",YO=({tonieCards:e,showFilter:t,showPagination:n,overlay:r,readOnly:a,defaultLanguage:o="",onToniesCardUpdate:i})=>{const{t:s}=Ft(),c=tl(),[u,d]=l.useState(e),[f,p]=l.useState(""),[g,b]=l.useState(""),[m,h]=l.useState(""),[y,v]=l.useState([]),[S,w]=l.useState(!1),[x,E]=l.useState(!1),[I,R]=l.useState(!1),[T,_]=l.useState(!1),[$,D]=l.useState(!1),[P,A]=l.useState(!1),[O,N]=l.useState(!1),[k,M]=l.useState(!1),[L,F]=l.useState(!1),[j,B]=l.useState(!1),[z,H]=l.useState(!1),[U,Z]=l.useState(!0),[q,Y]=l.useState(!0),[te,ee]=l.useState([]),[X,ie]=l.useState(()=>{const he=localStorage.getItem(ZE);if(he){const{pageSize:Ee}=JSON.parse(he);return Ee}return 24}),[re,G]=l.useState(1),[Q,ae]=l.useState(!0),[oe,de]=l.useState(!1),[ve,ye]=l.useState(!0),[ge,J]=l.useState([]),[ce,ue]=l.useState(0);l.useEffect(()=>{const he=localStorage.getItem(ZE);if(he)try{const{pageSize:Ee,showAll:je}=JSON.parse(he);je?Ue():(ie(Ee),De(1,Ee))}catch(Ee){console.error("Error parsing stored state:",Ee)}else console.log("No stored state found.")},[]),l.useEffect(()=>{(async()=>{const Ee=async ze=>await XE.apiGetTonieboxLastRUID(ze),je=async ze=>await XE.apiGetTonieboxLastRUIDTime(ze),Ae=await XE.apiGetTonieboxesIndex(),Ne=await Promise.all(Ae.map(async ze=>{const qe=await Ee(ze.ID),Le=await je(ze.ID);return[qe,Le,ze.boxName]}));ee(Ne)})()},[]);const fe=l.useMemo(()=>e.map(he=>he.ruid).join(","),[e]);l.useEffect(()=>{const Ee=new URLSearchParams(c.search).get("tonieRUID");if(Ee){p(Ee),Z(!1);const je=e.filter(Ae=>Ae.ruid.toLowerCase()===Ee);d(je)}else d(e);ue(je=>je+1),Y(!1)},[c.search,fe]),l.useEffect(()=>{G(1),ue(he=>he+1)},[fe]),l.useEffect(()=>{const he=JSON.stringify({pageSize:X,paginationEnabled:Q,showAll:oe});localStorage.setItem(ZE,he)},[ve,X,Q,oe]);const pe=()=>{ye(!ve)},xe=he=>{i&&i(he),d(Ee=>Ee.map(je=>je.ruid===he.ruid?he:je))},Te=()=>{let he=e.filter(Ee=>{var je,Ae;return(((je=Ee.sourceInfo)==null?void 0:je.series)&&Ee.sourceInfo.series.toLowerCase().includes(g.toLowerCase())||Ee.tonieInfo.series.toLowerCase().includes(g.toLowerCase()))&&(((Ae=Ee.sourceInfo)==null?void 0:Ae.episode)&&Ee.sourceInfo.episode.toLowerCase().includes(m.toLowerCase())||Ee.tonieInfo.episode.toLowerCase().includes(m.toLowerCase()))&&(y.length===0||y.includes(Ee.tonieInfo.language!==void 0&&YE.includes(Ee.tonieInfo.language)?Ee.tonieInfo.language:"undefined")||y.includes(Ee.sourceInfo&&Ee.sourceInfo.language!==void 0&&YE.includes(Ee.sourceInfo.language)?Ee.sourceInfo.language:"undefined"))&&(!x||Ee.valid)&&(!I||!Ee.valid)&&(!T||Ee.exists)&&(!$||!Ee.exists)&&(!P||Ee.live)&&(!O||!Ee.live)&&(!k||Ee.nocloud)&&(!L||!Ee.nocloud)&&(!j||Ee.hasCloudAuth)&&(!z||!Ee.hasCloudAuth)});f&&(he=he.filter(Ee=>{var je,Ae,Ne;return Ee.tonieInfo.series.toLowerCase().includes(f.toLowerCase())||((je=Ee.sourceInfo)==null?void 0:je.series)&&Ee.sourceInfo.series.toLowerCase().includes(f.toLowerCase())||Ee.tonieInfo.episode.toLowerCase().includes(f.toLowerCase())||((Ae=Ee.sourceInfo)==null?void 0:Ae.episode)&&Ee.sourceInfo.episode.toLowerCase().includes(f.toLowerCase())||Ee.tonieInfo.model.toLowerCase().includes(f.toLowerCase())||((Ne=Ee.sourceInfo)==null?void 0:Ne.model)&&Ee.sourceInfo.model.toLowerCase().includes(f.toLowerCase())||Ee.ruid.toLowerCase().includes(f.toLowerCase())||Ee.uid.toLowerCase().includes(f.toLowerCase())})),S&&(he=he.filter(Ee=>te.some(([je])=>je===Ee.ruid))),ge&&(he=he.filter(Ee=>!ge.includes(Ee.ruid))),G(1),d(he),ue(Ee=>Ee+1)},Pe=he=>{d(u.filter(Ee=>Ee.ruid!==he)),J(Ee=>[...Ee,he]),ue(Ee=>Ee+1)},ke=()=>{p(""),b(""),h(""),E(!1),R(!1),_(!1),D(!1),A(!1),N(!1),M(!1),F(!1),B(!1),H(!1),w(!1),v([]);const he=window.location.pathname;window.history.pushState({},"",he),c.search="",ge&&(e=e.filter(Ee=>!ge.includes(Ee.ruid))),d(e),ue(Ee=>Ee+1)},Ue=()=>{de(!0),ae(!1),pe()},Be=()=>{ae(!0),de(!1),De(1,X)},De=(he,Ee)=>{ie(Ee),ue(je=>je+1),G(he),pe(),window.scrollTo(0,0)};if(q)return C.jsx("div",{children:"Loading..."});const Se=()=>{if(oe)return u!==null?u:e;{const he=(re-1)*X,Ee=he+X;return u!==null?u.slice(he,Ee):e.slice(he,Ee)}},_e=C.jsx("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:Q?C.jsx(E8e,{currentPage:re,onChange:De,total:u!==null?u.length:e.length,pageSize:X,additionalButtonOnClick:Ue}):C.jsx($t,{onClick:Be,children:s("tonies.tonies.showPagination")})}),Ce=C.jsxs(C.Fragment,{children:[C.jsx("label",{htmlFor:"search-field",className:"filter-label",children:s("tonies.tonies.filterBar.searchLabel")}),C.jsx(Zt.Search,{id:"search-field",placeholder:s("tonies.tonies.filterBar.searchPlaceholder"),value:f,onChange:he=>p(he.target.value),onSearch:Te,enterButton:!0,style:{margin:"8px 0 8px 0"}}),C.jsxs("div",{className:"filter-container",children:[C.jsx("label",{className:"filter-label",children:s("tonies.tonies.filterBar.filterLabel")}),C.jsx(Zt,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.seriesFilterPlaceholder"),value:g,onChange:he=>b(he.target.value)}),C.jsx(Zt,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.episodeFilterPlaceholder"),value:m,onChange:he=>h(he.target.value)}),C.jsx(mr,{mode:"multiple",placeholder:s("tonies.tonies.filterBar.languagePlaceholder"),value:y,onChange:he=>v(he),style:{width:"100%",margin:"8px 0"},children:YE.map(he=>C.jsx(I8e,{value:he,children:s(he?"languageUtil."+he:"languageUtil.other")},he))}),C.jsxs("div",{children:[C.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"16px"},children:[C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:x,onChange:he=>E(he)}),s("tonies.tonies.filterBar.valid")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:I,onChange:he=>R(he)}),s("tonies.tonies.filterBar.invalid")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:T,onChange:he=>_(he)})," ",s("tonies.tonies.filterBar.exists")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:$,onChange:he=>D(he)}),s("tonies.tonies.filterBar.notExists")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:P,onChange:he=>A(he)})," ",s("tonies.tonies.filterBar.live")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:O,onChange:he=>N(he)})," ",s("tonies.tonies.filterBar.unsetLive")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:L,onChange:he=>F(he)}),s("tonies.tonies.filterBar.unsetNoCloud")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:k,onChange:he=>M(he)}),s("tonies.tonies.filterBar.noCloud")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:j,onChange:he=>B(he)}),s("tonies.tonies.filterBar.hasCloudAuth")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:z,onChange:he=>H(he)}),s("tonies.tonies.filterBar.unsetHasCloudAuth")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:S,onChange:he=>w(he)}),s("tonies.tonies.filterBar.lastPlayed")]})]}),C.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",marginTop:8},children:[C.jsx($t,{onClick:ke,style:{marginLeft:16},children:s("tonies.tonies.filterBar.resetFilters")}),C.jsx($t,{onClick:Te,style:{marginLeft:16},children:s("tonies.tonies.filterBar.applyFilters")})]})]})]})]}),Re=[{key:"search-filter",label:s(U?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:Ce}];return C.jsxs("div",{className:"tonies-list-container",children:[t?C.jsx(k$,{items:Re,defaultActiveKey:U?[]:["search-filter"],onChange:()=>Z(!U),bordered:!1}):"",C.jsx(Bs,{header:n?_e:"",footer:n?_e:"",grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:4,xxl:6},dataSource:Se(),renderItem:he=>C.jsx(Bs.Item,{id:he.ruid,children:C.jsx(x8e,{tonieCard:he,lastRUIDs:te,overlay:r,readOnly:a,defaultLanguage:o,onHide:Pe,onUpdate:xe})})},ce)]})},Gd=new wn(fn()),{Paragraph:Hm}=Bn,T8e=()=>{const{t:e}=Ft(),[t,n]=l.useState([]),[r,a]=l.useState(!1),[o,i]=l.useState(!1),[s,c]=l.useState(""),[u,d]=l.useState([]);l.useEffect(()=>{(async()=>{const h=await Gd.apiGetSecurityMITAlert();a(h)})(),(async()=>{try{const h=await Gd.apiGetNewBoxesAllowed();i(h),h&&(async()=>{const v=await Gd.apiGetTonieboxesIndex(),S=await Promise.all(v.map(async w=>{const x=await Gd.apiGetTonieboxApiAccess(w.ID);return[w.boxName,x]}));d(S)})()}catch(h){lt.error("Error: "+h)}})(),(async()=>{const h=(await Gd.apiGetTagIndexMergedAllOverlays(!0)).filter(y=>!y.hide);n(h.sort((y,v)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())))})()},[]),l.useEffect(()=>{const g={};t.forEach(h=>{const y=h.tonieInfo.language;g[y]?g[y]++:g[y]=1});let b=0,m="";for(const h in g)g.hasOwnProperty(h)&&g[h]>b&&(b=g[h],m=h);c(m)},[t]);const f=u.filter(g=>!g[1]),p=o?C.jsxs(C.Fragment,{children:[C.jsx(na,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}),f.length>0&&C.jsx(na,{message:e("tonieboxes.boxWithoutAPIAccess"),description:C.jsxs(C.Fragment,{children:[e("tonieboxes.boxWithoutAPIAccessText"),C.jsx("ul",{children:f.map(g=>C.jsx("li",{children:g[0]},g[0]))}),e("tonieboxes.boxWithoutAPIAccessGoToTonieboxes"),C.jsx(Rt,{to:"/tonieboxes",children:e("tonieboxes.navigationTitle")})]}),type:"info",showIcon:!0,style:{margin:"16px 0"}})]}):null;return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vs,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vs,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsxs(Hm,{children:[C.jsx("h1",{children:e("home.title")}),r?C.jsx(na,{message:e("security.alert"),description:e("security.incident_detected"),type:"error",showIcon:!0,style:{margin:"16px 0"}}):"",e("home.intro"),p]}),C.jsxs(Hm,{children:[e("home.forumIntroPart1"),C.jsx(Rt,{to:"https://forum.revvox.de/",target:"_blank",children:"https://forum.revvox.de/"}),e("home.forumIntroPart2")]}),C.jsxs(Hm,{children:[C.jsx("h2",{children:e("home.yourTonies")}),C.jsx(YO,{tonieCards:t.filter(g=>g.type==="tag"&&g.tonieInfo.series).slice(0,6),overlay:"",showFilter:!1,showPagination:!1,readOnly:!0,defaultLanguage:s}),C.jsx($t,{children:C.jsxs(Rt,{to:"/tonies",children:[e("home.toAllYourTonies")," (",t.filter(g=>g.type==="tag").length,")"]})})]}),C.jsxs(Hm,{children:[C.jsx("h2",{children:e("home.helpfulLinks")}),C.jsxs("ul",{children:[C.jsx("li",{children:C.jsx(Rt,{to:"/community/faq",children:"FAQ"})}),C.jsx("li",{children:C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"})}),C.jsx("li",{children:C.jsx(Rt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"})}),C.jsx("li",{children:C.jsx(Rt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"})}),C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"TeddyCloud Wiki"})})]})]})]})]})]})},{useToken:R8e}=hi,_8e=()=>{const{token:e}=R8e();return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",x:"0px",y:"0px",width:"100%",viewBox:"0 0 512 512",children:[C.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M285.000000,95.000000 C285.726776,91.291718 284.143219,89.788498 280.551392,88.369873 C247.948990,75.493263 212.672882,91.508270 199.495224,122.998001 C196.613541,129.884201 195.385559,137.055237 195.485504,144.500198 C195.559326,149.999207 195.570007,155.501114 195.483032,160.999725 C195.362961,168.591705 191.442429,172.487579 184.000000,172.494614 C166.333344,172.511307 148.666656,172.510849 131.000000,172.494736 C123.739044,172.488113 119.744461,168.704391 119.512695,161.499588 C118.937752,143.626343 119.484947,125.767700 124.620247,108.535835 C129.305405,92.814384 136.600082,78.329407 146.361160,64.899094 C160.063324,46.046219 177.407562,31.600046 198.103745,21.717247 C219.862259,11.327159 243.132431,6.942070 267.508698,8.891317 C284.115204,10.219257 299.968292,14.037633 314.973419,21.056805 C338.704193,32.157684 357.928345,48.584900 372.550323,70.466385 C383.991730,87.588272 391.730164,106.267952 394.317322,126.523338 C399.345093,165.887207 389.786652,201.671356 364.978485,232.982956 C350.265991,251.552322 331.599060,265.211121 309.924530,274.320435 C296.501526,279.961792 282.229004,283.352203 267.499878,283.997559 C263.333923,284.180115 259.162445,284.263275 255.000793,284.513092 C242.331039,285.273529 234.536453,294.940430 234.510101,310.000031 C234.471024,332.333282 234.502640,354.666656 234.498566,377.000000 C234.497147,384.740631 230.771179,388.486389 223.000000,388.494385 C205.666687,388.512268 188.326492,388.221069 171.003571,388.645569 C164.614304,388.802094 159.267792,383.378479 159.354935,376.998016 C159.705429,351.336151 159.031464,325.655487 159.642624,300.003387 C160.167542,277.971313 168.603424,258.489746 183.103546,242.091568 C198.977600,224.139587 218.895264,213.013474 242.995743,209.966385 C250.478912,209.020279 258.084564,209.344330 265.476685,208.330063 C284.746246,205.686066 300.188782,196.120834 310.413757,179.447113 C323.347626,158.355911 322.759064,136.763321 311.652649,114.922371 C309.739319,111.159721 306.957031,112.566917 304.500000,111.750000"}),C.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M197.500000,506.500000 C203.208725,504.136566 209.499985,503.955261 215.081406,500.636932 C226.722000,493.716095 233.515152,484.355804 234.104324,470.504425 C234.416428,463.166840 234.755539,456.042480 232.056686,448.978333 C227.973969,438.291962 214.538635,425.846741 198.510223,425.232910 C181.959915,424.599152 164.725250,435.753998 160.707718,453.048248 C155.331696,476.190460 163.819122,500.451569 192.494766,505.032776 C194.035324,505.278900 195.500000,506.000000 197.000000,506.500000"})]})},$8e=new wn(fn()),{useToken:O8e}=hi,XO=({maxNoOfGuests:e,toniesSize:t,showQuestionMark:n,title:r,description:a,height:o=(s=>(s=document.getElementById("collage-container"))==null?void 0:s.clientHeight)()||0,width:i=(c=>(c=document.getElementById("collage-container"))==null?void 0:c.clientWidth)()||0})=>{var v,S;const{token:u}=O8e(),[d,f]=l.useState([]),p=i,g=o,b=50,m=50,h=(((v=document.getElementById("central-text"))==null?void 0:v.clientWidth)||0)/(p<450?3:2),y=(((S=document.getElementById("central-text"))==null?void 0:S.clientHeight)||0)/(g<500?3:2);return l.useEffect(()=>{(async()=>{const I=(await $8e.apiGetTagIndexMergedAllOverlays(!1)).sort((R,T)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())).filter(R=>!R.tonieInfo.picture.endsWith("/img_unknown.png")&&R.tonieInfo.picture!==null&&R.tonieInfo.picture!==void 0&&R.tonieInfo.picture!==""&&!R.nocloud).slice(0,e).flatMap(R=>R.tonieInfo.picture).map((R,T)=>{if(r&&a){let _,$;do _=Math.random()*(100-t/g*100),$=Math.random()*(100-t/p*100);while(0b-y/g*100-t/g*100&&_m-h/p*100-t/p*100&&$C.jsxs("div",{className:"collage-image-container",style:{position:"absolute",top:w.top,left:w.left,width:"150px",height:"150px",overflow:"hidden",pointerEvents:"none"},children:[C.jsx("img",{src:w.src,alt:`Random ${w.id}`,className:"collage-image",style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&C.jsx("div",{className:"question-mark-overlay",style:{position:"absolute",top:"5%",right:"20%",width:"30%",height:"30%",display:"flex",alignItems:"center",justifyContent:"center"},children:C.jsx(_8e,{})})]},w.id))]})},{Paragraph:N8e}=Bn,k8e=()=>{const{t:e}=Ft();return C.jsx(C.Fragment,{children:C.jsx(Wn,{children:C.jsx(N8e,{children:C.jsx(XO,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!0,title:e("404.title"),description:e("404.description")})})})})},A8e=new wn(fn()),M8e=()=>{var a;const{t:e}=Ft(),[t,n]=l.useState(),r=async()=>{var i,s;const o=await A8e.apiStatsGet();(i=o==null?void 0:o.stats)!=null&&i.length&&((s=o==null?void 0:o.stats)==null?void 0:s.length)>0&&n(o)};return l.useEffect(()=>{r()},[]),l.useEffect(()=>{const o=setInterval(()=>{r()},1e4);return()=>clearInterval(o)},[]),C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vs,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vs,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("home.stats.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("home.stats.title")}),(a=t==null?void 0:t.stats)==null?void 0:a.map(o=>C.jsxs("div",{children:[C.jsx("h2",{children:e("home.stats."+o.iD)}),C.jsx("p",{children:o.value})]},o.iD))]})]})]})},D8e="/web/assets/logo-aw46LCqE.png",P8e=new dq(fn()),L8e=new rRe(fn()),F8e=()=>{const{t:e}=Ft(),[t,n]=l.useState(!1),[r,a]=l.useState(!1),o=async()=>{try{(await P8e.v1TimeGet()).length===10&&a(!0)}catch{a(!1)}try{(await L8e.reverseV1TimeGet()).length===10&&n(!0)}catch{n(!1)}};return l.useEffect(()=>{o()},[]),C.jsxs(Mo,{children:[C.jsx(rn,{title:e(t?"server.boxineStatusOnline":"server.boxineStatusOffline"),children:C.jsxs(Ov,{icon:t?C.jsx(cD,{}):C.jsx(uD,{}),color:t?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[C.jsx(In,{children:"B"}),C.jsx(_p,{children:"Boxine"})]})}),C.jsx(rn,{title:e(r?"server.teddycloudStatusOnline":"server.teddycloudStatusOffline"),children:C.jsxs(Ov,{icon:r?C.jsx(cD,{}):C.jsx(uD,{}),color:r?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[C.jsx(In,{children:"TC"}),C.jsx(_p,{children:"TeddyCloud"})]})})]})},j8e=()=>{var o;const{t:e,i18n:t}=Ft(),n=i=>{t.changeLanguage(i)},r=[{key:"1",label:e("language.english"),onClick:()=>n("en")},{key:"2",label:e("language.german"),onClick:()=>n("de")},{key:"3",label:e("language.french"),onClick:()=>n("fr")}],a=t.language;return C.jsx(Mo,{children:C.jsx(u0,{menu:{items:r},trigger:["click"],children:C.jsx("a",{href:"/",onClick:i=>i.preventDefault(),title:e("language.change"),children:C.jsxs(Ov,{color:"transparent",children:[C.jsx(iSe,{})," ",C.jsx("strong",{children:(o=r.find(i=>i.onClick&&i.onClick.toString().includes(a)))==null?void 0:o.label})]})})})})},{useToken:B8e}=hi,z8e=ma.img` +|(?![\\s\\S])))+`,"m"),alias:i,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(a)[0]}}}}),Object.defineProperty(n.languages.diff,"PREFIXES",{value:r})})(t)}return Z1}var Q1,bL;function $a(){if(bL)return Q1;bL=1,Q1=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,o){return"___"+a.toUpperCase()+o+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,o,i,s){if(a.language===o){var c=a.tokenStack=[];a.code=a.code.replace(i,function(u){if(typeof s=="function"&&!s(u))return u;for(var d=c.length,f;a.code.indexOf(f=r(o,d))!==-1;)++d;return c[d]=u,f}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,o){if(a.language!==o||!a.tokenStack)return;a.grammar=n.languages[o];var i=0,s=Object.keys(a.tokenStack);function c(u){for(var d=0;d=s.length);d++){var f=u[d];if(typeof f=="string"||f.content&&typeof f.content=="string"){var p=s[i],g=a.tokenStack[p],v=typeof f=="string"?f:f.content,m=r(o,p),h=v.indexOf(m);if(h>-1){++i;var y=v.substring(0,h),b=new n.Token(o,n.tokenize(g,a.grammar),"language-"+o,g),S=v.substring(h+m.length),w=[];y&&w.push.apply(w,c([y])),w.push(b),S&&w.push.apply(w,c([S])),typeof f=="string"?u.splice.apply(u,[d,1].concat(w)):f.content=w}}else f.content&&c(f.content)}return u}c(a.tokens)}}})})(t)}return Q1}var J1,yL;function EPe(){if(yL)return J1;yL=1;var e=$a();J1=t,t.displayName="django",t.aliases=["jinja2"];function t(n){n.register(e),function(r){r.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var a=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,o=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(i){o.buildPlaceholders(i,"django",a)}),r.hooks.add("after-tokenize",function(i){o.tokenizePlaceholders(i,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(i){o.buildPlaceholders(i,"jinja2",a)}),r.hooks.add("after-tokenize",function(i){o.tokenizePlaceholders(i,"jinja2")})}(n)}return J1}var ew,SL;function IPe(){if(SL)return ew;SL=1,ew=e,e.displayName="dnsZoneFile",e.aliases=[];function e(t){t.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},t.languages["dns-zone"]=t.languages["dns-zone-file"]}return ew}var tw,wL;function TPe(){if(wL)return tw;wL=1,tw=e,e.displayName="docker",e.aliases=["dockerfile"];function e(t){(function(n){var r=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,a=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return r}),o=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,i=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return o}),s={pattern:RegExp(o),greedy:!0},c={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(d,f){return d=d.replace(//g,function(){return i}).replace(//g,function(){return a}),RegExp(d,f)}n.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:u(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[s,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:u(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:u(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:c,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:c},n.languages.dockerfile=n.languages.docker})(t)}return tw}var nw,CL;function RPe(){if(CL)return nw;CL=1,nw=e,e.displayName="dot",e.aliases=["gv"];function e(t){(function(n){var r="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",a={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:n.languages.markup}};function o(i,s){return RegExp(i.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:o(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:o(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:o(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:a},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:o(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return nw}var rw,xL;function _Pe(){if(xL)return rw;xL=1,rw=e,e.displayName="ebnf",e.aliases=[];function e(t){t.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return rw}var aw,EL;function $Pe(){if(EL)return aw;EL=1,aw=e,e.displayName="editorconfig",e.aliases=[];function e(t){t.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return aw}var ow,IL;function OPe(){if(IL)return ow;IL=1,ow=e,e.displayName="eiffel",e.aliases=[];function e(t){t.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return ow}var iw,TL;function NPe(){if(TL)return iw;TL=1;var e=$a();iw=t,t.displayName="ejs",t.aliases=["eta"];function t(n){n.register(e),function(r){r.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:r.languages.javascript}},r.hooks.add("before-tokenize",function(a){var o=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return iw}var sw,RL;function kPe(){if(RL)return sw;RL=1,sw=e,e.displayName="elixir",e.aliases=[];function e(t){t.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},t.languages.elixir.string.forEach(function(n){n.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:t.languages.elixir}}}})}return sw}var lw,_L;function APe(){if(_L)return lw;_L=1,lw=e,e.displayName="elm",e.aliases=[];function e(t){t.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return lw}var cw,$L;function MPe(){if($L)return cw;$L=1;var e=U0(),t=$a();cw=n,n.displayName="erb",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:a.languages.ruby}},a.hooks.add("before-tokenize",function(o){var i=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(o,"erb",i)}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"erb")})}(r)}return cw}var uw,OL;function DPe(){if(OL)return uw;OL=1,uw=e,e.displayName="erlang",e.aliases=[];function e(t){t.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return uw}var dw,NL;function xK(){if(NL)return dw;NL=1,dw=e,e.displayName="lua",e.aliases=[];function e(t){t.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return dw}var fw,kL;function PPe(){if(kL)return fw;kL=1;var e=xK(),t=$a();fw=n,n.displayName="etlua",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:a.languages.lua}},a.hooks.add("before-tokenize",function(o){var i=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(o,"etlua",i)}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"etlua")})}(r)}return fw}var pw,AL;function LPe(){if(AL)return pw;AL=1,pw=e,e.displayName="excelFormula",e.aliases=[];function e(t){t.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},t.languages.xlsx=t.languages.xls=t.languages["excel-formula"]}return pw}var gw,ML;function FPe(){if(ML)return gw;ML=1,gw=e,e.displayName="factor",e.aliases=[];function e(t){(function(n){var r={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},a={number:/\\[^\s']|%\w/},o={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:r},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:r}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:a.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:a}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:a}},i=function(d){return(d+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(d){return new RegExp("(^|\\s)(?:"+d.map(i).join("|")+")(?=\\s|$)")},c={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(c).forEach(function(d){o[d].pattern=s(c[d])});var u=["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"];o.combinators.pattern=s(u),n.languages.factor=o})(t)}return gw}var mw,DL;function jPe(){if(DL)return mw;DL=1,mw=e,e.displayName="$false",e.aliases=[];function e(t){(function(n){n.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete t.languages["firestore-security-rules"]["class-name"],t.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return hw}var vw,LL;function zPe(){if(LL)return vw;LL=1,vw=e,e.displayName="flow",e.aliases=[];function e(t){(function(n){n.languages.flow=n.languages.extend("javascript",{}),n.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),n.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete n.languages.flow.parameter,n.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(n.languages.flow.keyword)||(n.languages.flow.keyword=[n.languages.flow.keyword]),n.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})})(t)}return vw}var bw,FL;function HPe(){if(FL)return bw;FL=1,bw=e,e.displayName="fortran",e.aliases=[];function e(t){t.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return bw}var yw,jL;function UPe(){if(jL)return yw;jL=1,yw=e,e.displayName="fsharp",e.aliases=[];function e(t){t.languages.fsharp=t.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),t.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),t.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),t.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:t.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return yw}var Sw,BL;function VPe(){if(BL)return Sw;BL=1;var e=$a();Sw=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,o=0;o<2;o++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var i={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return a})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return a})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};i.string[1].inside.interpolation.inside.rest=i,r.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:i}}}},r.hooks.add("before-tokenize",function(s){var c=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",c)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return Sw}var ww,zL;function WPe(){if(zL)return ww;zL=1,ww=e,e.displayName="gap",e.aliases=[];function e(t){t.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},t.languages.gap.shell.inside.gap.inside=t.languages.gap}return ww}var Cw,HL;function GPe(){if(HL)return Cw;HL=1,Cw=e,e.displayName="gcode",e.aliases=[];function e(t){t.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return Cw}var xw,UL;function qPe(){if(UL)return xw;UL=1,xw=e,e.displayName="gdscript",e.aliases=[];function e(t){t.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return xw}var Ew,VL;function KPe(){if(VL)return Ew;VL=1,Ew=e,e.displayName="gedcom",e.aliases=[];function e(t){t.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return Ew}var Iw,WL;function YPe(){if(WL)return Iw;WL=1,Iw=e,e.displayName="gherkin",e.aliases=[];function e(t){(function(n){var r=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;n.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+r+")(?:"+r+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(r),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}})(t)}return Iw}var Tw,GL;function XPe(){if(GL)return Tw;GL=1,Tw=e,e.displayName="git",e.aliases=[];function e(t){t.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return Tw}var Rw,qL;function ZPe(){if(qL)return Rw;qL=1;var e=Sc();Rw=t,t.displayName="glsl",t.aliases=[];function t(n){n.register(e),n.languages.glsl=n.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return Rw}var _w,KL;function QPe(){if(KL)return _w;KL=1,_w=e,e.displayName="gml",e.aliases=[];function e(t){t.languages.gamemakerlanguage=t.languages.gml=t.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return _w}var $w,YL;function JPe(){if(YL)return $w;YL=1,$w=e,e.displayName="gn",e.aliases=["gni"];function e(t){t.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},t.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=t.languages.gn,t.languages.gni=t.languages.gn}return $w}var Ow,XL;function e4e(){if(XL)return Ow;XL=1,Ow=e,e.displayName="goModule",e.aliases=[];function e(t){t.languages["go-mod"]=t.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return Ow}var Nw,ZL;function t4e(){if(ZL)return Nw;ZL=1,Nw=e,e.displayName="go",e.aliases=[];function e(t){t.languages.go=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),t.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete t.languages.go["class-name"]}return Nw}var kw,QL;function n4e(){if(QL)return kw;QL=1,kw=e,e.displayName="graphql",e.aliases=[];function e(t){t.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:t.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},t.hooks.add("after-tokenize",function(r){if(r.language!=="graphql")return;var a=r.tokens.filter(function(y){return typeof y!="string"&&y.type!=="comment"&&y.type!=="scalar"}),o=0;function i(y){return a[o+y]}function s(y,b){b=b||0;for(var S=0;S0)){var v=c(/^\{$/,/^\}$/);if(v===-1)continue;for(var m=o;m=0&&u(h,"variable-input")}}}}})}return kw}var Aw,JL;function r4e(){if(JL)return Aw;JL=1,Aw=e,e.displayName="groovy",e.aliases=[];function e(t){t.languages.groovy=t.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.hooks.add("wrap",function(n){if(n.language==="groovy"&&n.type==="string"){var r=n.content.value[0];if(r!="'"){var a=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;r==="$"&&(a=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),n.content.value=n.content.value.replace(/</g,"<").replace(/&/g,"&"),n.content=t.highlight(n.content.value,{expression:{pattern:a,lookbehind:!0,inside:t.languages.groovy}}),n.classes.push(r==="/"?"regex":"gstring")}}})}return Aw}var Mw,e6;function a4e(){if(e6)return Mw;e6=1;var e=U0();Mw=t,t.displayName="haml",t.aliases=[];function t(n){n.register(e),function(r){r.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:r.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:r.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:r.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:r.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:r.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:r.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:r.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var a="((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+",o=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],i={},s=0,c=o.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var o=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return Dw}var Pw,n6;function UO(){if(n6)return Pw;n6=1,Pw=e,e.displayName="haskell",e.aliases=["hs"];function e(t){t.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},t.languages.hs=t.languages.haskell}return Pw}var Lw,r6;function i4e(){if(r6)return Lw;r6=1,Lw=e,e.displayName="haxe",e.aliases=[];function e(t){t.languages.haxe=t.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),t.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:t.languages.haxe}}},string:/[\s\S]+/}}}),t.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),t.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return Lw}var Fw,a6;function s4e(){if(a6)return Fw;a6=1,Fw=e,e.displayName="hcl",e.aliases=[];function e(t){t.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return Fw}var jw,o6;function l4e(){if(o6)return jw;o6=1;var e=Sc();jw=t,t.displayName="hlsl",t.aliases=[];function t(n){n.register(e),n.languages.hlsl=n.languages.extend("c",{"class-name":[n.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return jw}var Bw,i6;function c4e(){if(i6)return Bw;i6=1,Bw=e,e.displayName="hoon",e.aliases=[];function e(t){t.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return Bw}var zw,s6;function u4e(){if(s6)return zw;s6=1,zw=e,e.displayName="hpkp",e.aliases=[];function e(t){t.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return zw}var Hw,l6;function d4e(){if(l6)return Hw;l6=1,Hw=e,e.displayName="hsts",e.aliases=[];function e(t){t.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return Hw}var Uw,c6;function f4e(){if(c6)return Uw;c6=1,Uw=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(f){return RegExp("(^(?:"+f+"):[ ]*(?![ ]))[^]+","i")}n.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:n.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:r(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:n.languages.csp},{pattern:r(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:n.languages.hpkp},{pattern:r(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:n.languages.hsts},{pattern:r(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var a=n.languages,o={"application/javascript":a.javascript,"application/json":a.json||a.javascript,"application/xml":a.xml,"text/xml":a.xml,"text/html":a.html,"text/css":a.css,"text/plain":a.plain},i={"application/json":!0,"application/xml":!0};function s(f){var p=f.replace(/^[a-z]+\//,""),g="\\w+/(?:[\\w.-]+\\+)+"+p+"(?![+\\w.-])";return"(?:"+f+"|"+g+")"}var c;for(var u in o)if(o[u]){c=c||{};var d=i[u]?s(u):u;c[u.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+d+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:o[u]}}c&&n.languages.insertBefore("http","header",c)})(t)}return Uw}var Vw,u6;function p4e(){if(u6)return Vw;u6=1,Vw=e,e.displayName="ichigojam",e.aliases=[];function e(t){t.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return Vw}var Ww,d6;function g4e(){if(d6)return Ww;d6=1,Ww=e,e.displayName="icon",e.aliases=[];function e(t){t.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return Ww}var Gw,f6;function m4e(){if(f6)return Gw;f6=1,Gw=e,e.displayName="icuMessageFormat",e.aliases=[];function e(t){(function(n){function r(u,d){return d<=0?/[]/.source:u.replace(//g,function(){return r(u,d-1)})}var a=/'[{}:=,](?:[^']|'')*'(?!')/,o={pattern:/''/,greedy:!0,alias:"operator"},i={pattern:a,greedy:!0,inside:{escape:o}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),c={pattern:RegExp(s),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};n.languages["icu-message-format"]={argument:{pattern:RegExp(s),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":c,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":c,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+r(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:o,string:i},c.inside.message.inside=n.languages["icu-message-format"],n.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=n.languages["icu-message-format"]})(t)}return Gw}var qw,p6;function h4e(){if(p6)return qw;p6=1;var e=UO();qw=t,t.displayName="idris",t.aliases=["idr"];function t(n){n.register(e),n.languages.idris=n.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),n.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),n.languages.idr=n.languages.idris}return qw}var Kw,g6;function v4e(){if(g6)return Kw;g6=1,Kw=e,e.displayName="iecst",e.aliases=[];function e(t){t.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return Kw}var Yw,m6;function b4e(){if(m6)return Yw;m6=1,Yw=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"];function e(t){(function(n){n.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},n.languages.gitignore=n.languages.ignore,n.languages.hgignore=n.languages.ignore,n.languages.npmignore=n.languages.ignore})(t)}return Yw}var Xw,h6;function y4e(){if(h6)return Xw;h6=1,Xw=e,e.displayName="inform7",e.aliases=[];function e(t){t.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},t.languages.inform7.string.inside.substitution.inside.rest=t.languages.inform7,t.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return Xw}var Zw,v6;function S4e(){if(v6)return Zw;v6=1,Zw=e,e.displayName="ini",e.aliases=[];function e(t){t.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return Zw}var Qw,b6;function w4e(){if(b6)return Qw;b6=1,Qw=e,e.displayName="io",e.aliases=[];function e(t){t.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return Jw}var eC,S6;function VO(){if(S6)return eC;S6=1,eC=e,e.displayName="java",e.aliases=[];function e(t){(function(n){var r=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,a=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,o={pattern:RegExp(a+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};n.languages.java=n.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[o,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:o.inside}],keyword:r,function:[n.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),n.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),n.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":o,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return r.source})),lookbehind:!0,inside:{punctuation:/\./}}})})(t)}return eC}var tC,w6;function V0(){if(w6)return tC;w6=1,tC=e,e.displayName="javadoclike",e.aliases=[];function e(t){(function(n){var r=n.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};function a(i,s){var c="doc-comment",u=n.languages[i];if(u){var d=u[c];if(!d){var f={};f[c]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(i,"comment",f),d=u[c]}if(d instanceof RegExp&&(d=u[c]={pattern:d}),Array.isArray(d))for(var p=0,g=d.length;p)?|/.source.replace(//g,function(){return i});a.languages.javadoc=a.languages.extend("javadoclike",{}),a.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+s+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:a.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:o,lookbehind:!0,inside:a.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:o,lookbehind:!0,inside:{tag:a.languages.markup.tag,entity:a.languages.markup.entity,code:{pattern:/.+/,inside:a.languages.java,alias:"language-java"}}}}}],tag:a.languages.markup.tag,entity:a.languages.markup.entity}),a.languages.javadoclike.addSupport("java",a.languages.javadoc)}(r)}return nC}var rC,x6;function E4e(){if(x6)return rC;x6=1,rC=e,e.displayName="javastacktrace",e.aliases=[];function e(t){t.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return rC}var aC,E6;function I4e(){if(E6)return aC;E6=1,aC=e,e.displayName="jexl",e.aliases=[];function e(t){t.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return aC}var oC,I6;function T4e(){if(I6)return oC;I6=1,oC=e,e.displayName="jolie",e.aliases=[];function e(t){t.languages.jolie=t.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),t.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return oC}var iC,T6;function R4e(){if(T6)return iC;T6=1,iC=e,e.displayName="jq",e.aliases=[];function e(t){(function(n){var r=/\\\((?:[^()]|\([^()]*\))*\)/.source,a=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return r})),o={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},i=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:o},string:{pattern:a,lookbehind:!0,greedy:!0,inside:o},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};o.interpolation.inside.content.inside=i})(t)}return iC}var sC,R6;function _4e(){if(R6)return sC;R6=1,sC=e,e.displayName="jsExtras",e.aliases=[];function e(t){(function(n){n.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+n.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),n.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+n.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),n.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function r(u,d){return RegExp(u.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),d)}n.languages.insertBefore("javascript","keyword",{imports:{pattern:r(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:n.languages.javascript},exports:{pattern:r(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:n.languages.javascript}}),n.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),n.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),n.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:r(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var a=["function","function-variable","method","method-variable","property-access"],o=0;o=I.length)return;var $=T[_];if(typeof $=="string"||typeof $.content=="string"){var D=I[S],P=typeof $=="string"?$:$.content,A=P.indexOf(D);if(A!==-1){++S;var O=P.substring(0,A),N=f(w[D]),k=P.substring(A+D.length),M=[];if(O&&M.push(O),M.push(N),k){var L=[k];R(L),M.push.apply(M,L)}typeof $=="string"?(T.splice.apply(T,[_,1].concat(M)),_+=M.length-1):$.content=M}}else{var F=$.content;Array.isArray(F)?R(F):R([F])}}}return R(E),new n.Token(y,E,"language-"+y,m)}var g={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(m){if(!(m.language in g))return;function h(y){for(var b=0,S=y.length;b]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),n.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete n.languages.typescript.parameter,delete n.languages.typescript["literal-property"];var r=n.languages.extend("typescript",{});delete r["class-name"],n.languages.typescript["class-name"].inside=r,n.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:r}}}}),n.languages.ts=n.languages.typescript})(t)}return cC}var uC,O6;function O4e(){if(O6)return uC;O6=1;var e=V0(),t=WO();uC=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=a.languages.javascript,i=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+i+"\\s+)?)";a.languages.jsdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp(s+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),a.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(s+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:o,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return i})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+i),lookbehind:!0,inside:{string:o.string,number:o.number,boolean:o.boolean,keyword:a.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:o,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)}(r)}return uC}var dC,N6;function GO(){if(N6)return dC;N6=1,dC=e,e.displayName="json",e.aliases=["webmanifest"];function e(t){t.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},t.languages.webmanifest=t.languages.json}return dC}var fC,k6;function N4e(){if(k6)return fC;k6=1;var e=GO();fC=t,t.displayName="json5",t.aliases=[];function t(n){n.register(e),function(r){var a=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;r.languages.json5=r.languages.extend("json",{property:[{pattern:RegExp(a.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:a,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(n)}return fC}var pC,A6;function k4e(){if(A6)return pC;A6=1;var e=GO();pC=t,t.displayName="jsonp",t.aliases=[];function t(n){n.register(e),n.languages.jsonp=n.languages.extend("json",{punctuation:/[{}[\]();,.]/}),n.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return pC}var gC,M6;function A4e(){if(M6)return gC;M6=1,gC=e,e.displayName="jsstacktrace",e.aliases=[];function e(t){t.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return gC}var mC,D6;function EK(){if(D6)return mC;D6=1,mC=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,o=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,i=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(d,f){return d=d.replace(//g,function(){return a}).replace(//g,function(){return o}).replace(//g,function(){return i}),RegExp(d,f)}i=s(i).source,n.languages.jsx=n.languages.extend("markup",r),n.languages.jsx.tag.pattern=s(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),n.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,n.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,n.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,n.languages.jsx.tag.inside.comment=r.comment,n.languages.insertBefore("inside","attr-name",{spread:{pattern:s(//.source),inside:n.languages.jsx}},n.languages.jsx.tag),n.languages.insertBefore("inside","special-attr",{script:{pattern:s(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:n.languages.jsx}}},n.languages.jsx.tag);var c=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(c).join(""):""},u=function(d){for(var f=[],p=0;p0&&f[f.length-1].tagName===c(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:c(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:v=!0),(v||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var m=c(g);p0&&(typeof d[p-1]=="string"||d[p-1].type==="plain-text")&&(m=c(d[p-1])+m,d.splice(p-1,1),p--),d[p]=new n.Token("plain-text",m,null,m)}g.content&&typeof g.content!="string"&&u(g.content)}};n.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return mC}var hC,P6;function M4e(){if(P6)return hC;P6=1,hC=e,e.displayName="julia",e.aliases=[];function e(t){t.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}return hC}var vC,L6;function D4e(){if(L6)return vC;L6=1,vC=e,e.displayName="keepalived",e.aliases=[];function e(t){t.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return vC}var bC,F6;function P4e(){if(F6)return bC;F6=1,bC=e,e.displayName="keyman",e.aliases=[];function e(t){t.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return bC}var yC,j6;function L4e(){if(j6)return yC;j6=1,yC=e,e.displayName="kotlin",e.aliases=["kt","kts"];function e(t){(function(n){n.languages.kotlin=n.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete n.languages.kotlin["class-name"];var r={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:n.languages.kotlin}};n.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:r},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:r},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete n.languages.kotlin.string,n.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),n.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),n.languages.kt=n.languages.kotlin,n.languages.kts=n.languages.kotlin})(t)}return yC}var SC,B6;function F4e(){if(B6)return SC;B6=1,SC=e,e.displayName="kumir",e.aliases=["kum"];function e(t){(function(n){var r=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function a(o,i){return RegExp(o.replace(//g,r),i)}n.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:a(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:a(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:a(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:a(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:a(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:a(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:a(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:a(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},n.languages.kum=n.languages.kumir})(t)}return SC}var wC,z6;function j4e(){if(z6)return wC;z6=1,wC=e,e.displayName="kusto",e.aliases=[];function e(t){t.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return wC}var CC,H6;function B4e(){if(H6)return CC;H6=1,CC=e,e.displayName="latex",e.aliases=["tex","context"];function e(t){(function(n){var r=/\\(?:[^a-z()[\]]|[a-z*]+)/i,a={"equation-command":{pattern:r,alias:"regex"}};n.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:a,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:a,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:r,alias:"selector"},punctuation:/[[\]{}&]/},n.languages.tex=n.languages.latex,n.languages.context=n.languages.latex})(t)}return CC}var xC,U6;function W0(){if(U6)return xC;U6=1;var e=$a();xC=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,o=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],i=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,s=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,c=/[{}\[\](),:;]/;r.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:a,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:o,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:i,operator:s,punctuation:c};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:r.languages.php},d=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:u}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:u}}];r.languages.insertBefore("php","variable",{string:d,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:a,string:d,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:o,number:i,operator:s,punctuation:c}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(f){if(/<\?/.test(f.code)){var p=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(f,"php",p)}}),r.hooks.add("after-tokenize",function(f){r.languages["markup-templating"].tokenizePlaceholders(f,"php")})}(n)}return xC}var EC,V6;function z4e(){if(V6)return EC;V6=1;var e=$a(),t=W0();EC=n,n.displayName="latte",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){a.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:a.languages.php}};var o=a.languages.extend("markup",{});a.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:a.languages.php}}}}}},o.tag),a.hooks.add("before-tokenize",function(i){if(i.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(i,"latte",s),i.grammar=o}}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"latte")})}(r)}return EC}var IC,W6;function H4e(){if(W6)return IC;W6=1,IC=e,e.displayName="less",e.aliases=[];function e(t){t.languages.less=t.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),t.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return IC}var TC,G6;function qO(){if(G6)return TC;G6=1,TC=e,e.displayName="scheme",e.aliases=[];function e(t){(function(n){n.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(r({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/};function r(a){for(var o in a)a[o]=a[o].replace(/<[\w\s]+>/g,function(i){return"(?:"+a[i].trim()+")"});return a[o]}})(t)}return TC}var RC,q6;function U4e(){if(q6)return RC;q6=1;var e=qO();RC=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,o=5,i=0;i/g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var s=r.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return a}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:r.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};s["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=s,r.languages.ly=s}(n)}return RC}var _C,K6;function V4e(){if(K6)return _C;K6=1;var e=$a();_C=t,t.displayName="liquid",t.aliases=[];function t(n){n.register(e),n.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},n.hooks.add("before-tokenize",function(r){var a=/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,o=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(i){var s=/^\{%-?\s*(\w+)/.exec(i);if(s){var c=s[1];if(c==="raw"&&!o)return o=!0,!0;if(c==="endraw")return o=!1,!0}return!o})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return _C}var $C,Y6;function W4e(){if(Y6)return $C;Y6=1,$C=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(m){return RegExp(/(\()/.source+"(?:"+m+")"+/(?=[\s\)])/.source)}function a(m){return RegExp(/([\s([])/.source+"(?:"+m+")"+/(?=[\s)])/.source)}var o=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,i="&"+o,s="(\\()",c="(?=\\))",u="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,f={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+o+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+o),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+o),alias:"property"},splice:{pattern:RegExp(",@?"+o),alias:["symbol","variable"]},keyword:[{pattern:RegExp(s+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+u),lookbehind:!0},{pattern:RegExp(s+"(?:append|by|collect|concat|do|finally|for|in|return)"+u),lookbehind:!0}],declare:{pattern:r(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:r(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:a(/nil|t/.source),lookbehind:!0},number:{pattern:a(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(s+"def(?:const|custom|group|var)\\s+"+o),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(o)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+o+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+o),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+o+"(?:\\s+&?"+o+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+o),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},p={"lisp-marker":RegExp(i),varform:{pattern:RegExp(/\(/.source+o+/\s+(?=\S)/.source+d+/\)/.source),inside:f},argument:{pattern:RegExp(/(^|[\s(])/.source+o),lookbehind:!0,alias:"variable"},rest:f},g="\\S+(?:\\s+\\S+)*",v={pattern:RegExp(s+d+c),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+g),inside:p},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+g),inside:p},keys:{pattern:RegExp("&key\\s+"+g+"(?:\\s+&allow-other-keys)?"),inside:p},argument:{pattern:RegExp(o),alias:"variable"},punctuation:/[()]/}};f.lambda.inside.arguments=v,f.defun.inside.arguments=n.util.clone(v),f.defun.inside.arguments.inside.sublist=v,n.languages.lisp=f,n.languages.elisp=f,n.languages.emacs=f,n.languages["emacs-lisp"]=f})(t)}return $C}var OC,X6;function G4e(){if(X6)return OC;X6=1,OC=e,e.displayName="livescript",e.aliases=[];function e(t){t.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},t.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=t.languages.livescript}return OC}var NC,Z6;function q4e(){if(Z6)return NC;Z6=1,NC=e,e.displayName="llvm",e.aliases=[];function e(t){(function(n){n.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}})(t)}return NC}var kC,Q6;function K4e(){if(Q6)return kC;Q6=1,kC=e,e.displayName="log",e.aliases=[];function e(t){t.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:t.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return kC}var AC,J6;function Y4e(){if(J6)return AC;J6=1,AC=e,e.displayName="lolcode",e.aliases=[];function e(t){t.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}return AC}var MC,e8;function X4e(){if(e8)return MC;e8=1,MC=e,e.displayName="magma",e.aliases=[];function e(t){t.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return MC}var DC,t8;function Z4e(){if(t8)return DC;t8=1,DC=e,e.displayName="makefile",e.aliases=[];function e(t){t.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return DC}var PC,n8;function Q4e(){if(n8)return PC;n8=1,PC=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(p){return p=p.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+p+")")}var o=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,i=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return o}),s=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;n.languages.markdown=n.languages.extend("markup",{}),n.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:n.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+i+s+"(?:"+i+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+i+s+")(?:"+i+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(o),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+i+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+i+"$"),inside:{"table-header":{pattern:RegExp(o),alias:"important",inside:n.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:a(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:a(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:a(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:a(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(p){["url","bold","italic","strike","code-snippet"].forEach(function(g){p!==g&&(n.languages.markdown[p].inside.content.inside[g]=n.languages.markdown[g])})}),n.hooks.add("after-tokenize",function(p){if(p.language!=="markdown"&&p.language!=="md")return;function g(v){if(!(!v||typeof v=="string"))for(var m=0,h=v.length;m",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function f(p){var g=p.replace(c,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(v,m){if(m=m.toLowerCase(),m[0]==="#"){var h;return m[1]==="x"?h=parseInt(m.slice(2),16):h=Number(m.slice(1)),d(h)}else{var y=u[m];return y||v}}),g}n.languages.md=n.languages.markdown})(t)}return PC}var LC,r8;function J4e(){if(r8)return LC;r8=1,LC=e,e.displayName="matlab",e.aliases=[];function e(t){t.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return LC}var FC,a8;function eLe(){if(a8)return FC;a8=1,FC=e,e.displayName="maxscript",e.aliases=[];function e(t){(function(n){var r=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;n.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source)+")[ ]*)(?!"+r.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+r.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source)+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:r,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}})(t)}return FC}var jC,o8;function tLe(){if(o8)return jC;o8=1,jC=e,e.displayName="mel",e.aliases=[];function e(t){t.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},t.languages.mel.code.inside.rest=t.languages.mel}return jC}var BC,i8;function nLe(){if(i8)return BC;i8=1,BC=e,e.displayName="mermaid",e.aliases=[];function e(t){t.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return BC}var zC,s8;function rLe(){if(s8)return zC;s8=1,zC=e,e.displayName="mizar",e.aliases=[];function e(t){t.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return zC}var HC,l8;function aLe(){if(l8)return HC;l8=1,HC=e,e.displayName="mongodb",e.aliases=[];function e(t){(function(n){var r=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],a=["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"];r=r.map(function(i){return i.replace("$","\\$")});var o="(?:"+r.join("|")+")\\b";n.languages.mongodb=n.languages.extend("javascript",{}),n.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp(`^(['"])?`+o+"(?:\\1)?$")}}}),n.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},n.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+a.join("|")+")\\b"),alias:"keyword"}})})(t)}return HC}var UC,c8;function oLe(){if(c8)return UC;c8=1,UC=e,e.displayName="monkey",e.aliases=[];function e(t){t.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return UC}var VC,u8;function iLe(){if(u8)return VC;u8=1,VC=e,e.displayName="moonscript",e.aliases=["moon"];function e(t){t.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},t.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=t.languages.moonscript,t.languages.moon=t.languages.moonscript}return VC}var WC,d8;function sLe(){if(d8)return WC;d8=1,WC=e,e.displayName="n1ql",e.aliases=[];function e(t){t.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return WC}var GC,f8;function lLe(){if(f8)return GC;f8=1,GC=e,e.displayName="n4js",e.aliases=["n4jsd"];function e(t){t.languages.n4js=t.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),t.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),t.languages.n4jsd=t.languages.n4js}return GC}var qC,p8;function cLe(){if(p8)return qC;p8=1,qC=e,e.displayName="nand2tetrisHdl",e.aliases=[];function e(t){t.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return qC}var KC,g8;function uLe(){if(g8)return KC;g8=1,KC=e,e.displayName="naniscript",e.aliases=[];function e(t){(function(n){var r=/\{[^\r\n\[\]{}]*\}/,a={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:r,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};n.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:r,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:a}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:r,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:a},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},n.languages.nani=n.languages.naniscript,n.hooks.add("after-tokenize",function(s){var c=s.tokens;c.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var d=i(u);o(d)||(u.type="bad-line",u.content=d)}})});function o(s){for(var c="[]{}",u=[],d=0;d=&|$!]/}}return YC}var XC,h8;function fLe(){if(h8)return XC;h8=1,XC=e,e.displayName="neon",e.aliases=[];function e(t){t.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return XC}var ZC,v8;function pLe(){if(v8)return ZC;v8=1,ZC=e,e.displayName="nevod",e.aliases=[];function e(t){t.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return ZC}var QC,b8;function gLe(){if(b8)return QC;b8=1,QC=e,e.displayName="nginx",e.aliases=[];function e(t){(function(n){var r=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;n.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:r}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:r}},punctuation:/[{};]/}})(t)}return QC}var JC,y8;function mLe(){if(y8)return JC;y8=1,JC=e,e.displayName="nim",e.aliases=[];function e(t){t.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return JC}var ex,S8;function hLe(){if(S8)return ex;S8=1,ex=e,e.displayName="nix",e.aliases=[];function e(t){t.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},t.languages.nix.string.inside.interpolation.inside=t.languages.nix}return ex}var tx,w8;function vLe(){if(w8)return tx;w8=1,tx=e,e.displayName="nsis",e.aliases=[];function e(t){t.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return tx}var nx,C8;function bLe(){if(C8)return nx;C8=1;var e=Sc();nx=t,t.displayName="objectivec",t.aliases=["objc"];function t(n){n.register(e),n.languages.objectivec=n.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete n.languages.objectivec["class-name"],n.languages.objc=n.languages.objectivec}return nx}var rx,x8;function yLe(){if(x8)return rx;x8=1,rx=e,e.displayName="ocaml",e.aliases=[];function e(t){t.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return rx}var ax,E8;function SLe(){if(E8)return ax;E8=1;var e=Sc();ax=t,t.displayName="opencl",t.aliases=[];function t(n){n.register(e),function(r){r.languages.opencl=r.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),r.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var a={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};r.languages.insertBefore("c","keyword",a),r.languages.cpp&&(a["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},r.languages.insertBefore("cpp","keyword",a))}(n)}return ax}var ox,I8;function wLe(){if(I8)return ox;I8=1,ox=e,e.displayName="openqasm",e.aliases=["qasm"];function e(t){t.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},t.languages.qasm=t.languages.openqasm}return ox}var ix,T8;function CLe(){if(T8)return ix;T8=1,ix=e,e.displayName="oz",e.aliases=[];function e(t){t.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return ix}var sx,R8;function xLe(){if(R8)return sx;R8=1,sx=e,e.displayName="parigp",e.aliases=[];function e(t){t.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:function(){var n=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"];return n=n.map(function(r){return r.split("").join(" *")}).join("|"),RegExp("\\b(?:"+n+")\\b")}(),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return sx}var lx,_8;function ELe(){if(_8)return lx;_8=1,lx=e,e.displayName="parser",e.aliases=[];function e(t){(function(n){var r=n.languages.parser=n.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});r=n.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:r.keyword,variable:r.variable,function:r.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:r.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:r.punctuation}}}),n.languages.insertBefore("inside","punctuation",{expression:r.expression,keyword:r.keyword,variable:r.variable,function:r.function,escape:r.escape,"parser-punctuation":{pattern:r.punctuation,alias:"punctuation"}},r.tag.inside["attr-value"])})(t)}return lx}var cx,$8;function ILe(){if($8)return cx;$8=1,cx=e,e.displayName="pascal",e.aliases=["objectpascal"];function e(t){t.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},t.languages.pascal.asm.inside=t.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),t.languages.objectpascal=t.languages.pascal}return cx}var ux,O8;function TLe(){if(O8)return ux;O8=1,ux=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),o=n.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return a}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return a}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return a})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},i=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,c){return s[c]=o[c],s},{});o["class-name"].forEach(function(s){s.inside=i})})(t)}return ux}var dx,N8;function RLe(){if(N8)return dx;N8=1,dx=e,e.displayName="pcaxis",e.aliases=["px"];function e(t){t.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},t.languages.px=t.languages.pcaxis}return dx}var fx,k8;function _Le(){if(k8)return fx;k8=1,fx=e,e.displayName="peoplecode",e.aliases=["pcode"];function e(t){t.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},t.languages.pcode=t.languages.peoplecode}return fx}var px,A8;function $Le(){if(A8)return px;A8=1,px=e,e.displayName="perl",e.aliases=[];function e(t){(function(n){var r=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;n.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,r].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,r+/\s*/.source+r].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}})(t)}return px}var gx,M8;function OLe(){if(M8)return gx;M8=1;var e=W0();gx=t,t.displayName="phpExtras",t.aliases=[];function t(n){n.register(e),n.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return gx}var mx,D8;function NLe(){if(D8)return mx;D8=1;var e=W0(),t=V0();mx=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+o+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+o),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),a.languages.javadoclike.addSupport("php",a.languages.phpdoc)}(r)}return mx}var hx,P8;function kLe(){if(P8)return hx;P8=1;var e=zO();hx=t,t.displayName="plsql",t.aliases=[];function t(n){n.register(e),n.languages.plsql=n.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),n.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return hx}var vx,L8;function ALe(){if(L8)return vx;L8=1,vx=e,e.displayName="powerquery",e.aliases=[];function e(t){t.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},t.languages.pq=t.languages.powerquery,t.languages.mscript=t.languages.powerquery}return vx}var bx,F8;function MLe(){if(F8)return bx;F8=1,bx=e,e.displayName="powershell",e.aliases=[];function e(t){(function(n){var r=n.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};r.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:r},boolean:r.boolean,variable:r.variable}})(t)}return bx}var yx,j8;function DLe(){if(j8)return yx;j8=1,yx=e,e.displayName="processing",e.aliases=[];function e(t){t.languages.processing=t.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),t.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return yx}var Sx,B8;function PLe(){if(B8)return Sx;B8=1,Sx=e,e.displayName="prolog",e.aliases=[];function e(t){t.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return Sx}var wx,z8;function LLe(){if(z8)return wx;z8=1,wx=e,e.displayName="promql",e.aliases=[];function e(t){(function(n){var r=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"],a=["on","ignoring","group_right","group_left","by","without"],o=["offset"],i=r.concat(a,o);n.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+a.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+i.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}})(t)}return wx}var Cx,H8;function FLe(){if(H8)return Cx;H8=1,Cx=e,e.displayName="properties",e.aliases=[];function e(t){t.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return Cx}var xx,U8;function jLe(){if(U8)return xx;U8=1,xx=e,e.displayName="protobuf",e.aliases=[];function e(t){(function(n){var r=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;n.languages.protobuf=n.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),n.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:r}},builtin:r,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})})(t)}return xx}var Ex,V8;function BLe(){if(V8)return Ex;V8=1,Ex=e,e.displayName="psl",e.aliases=[];function e(t){t.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return Ex}var Ix,W8;function zLe(){if(W8)return Ix;W8=1,Ix=e,e.displayName="pug",e.aliases=[];function e(t){(function(n){n.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:n.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:n.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:n.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:n.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:n.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:n.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:n.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:n.languages.javascript}],punctuation:/[.\-!=|]+/};for(var r=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,a=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],o={},i=0,s=a.length;i",function(){return c.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[c.language,"language-"+c.language],inside:n.languages[c.language]}}})}n.languages.insertBefore("pug","filter",o)})(t)}return Ix}var Tx,G8;function HLe(){if(G8)return Tx;G8=1,Tx=e,e.displayName="puppet",e.aliases=[];function e(t){(function(n){n.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var r=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:n.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];n.languages.puppet.heredoc[0].inside.interpolation=r,n.languages.puppet.string.inside["double-quoted"].inside.interpolation=r})(t)}return Tx}var Rx,q8;function ULe(){if(q8)return Rx;q8=1,Rx=e,e.displayName="pure",e.aliases=[];function e(t){(function(n){n.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var r=["c",{lang:"c++",alias:"cpp"},"fortran"],a=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source;r.forEach(function(o){var i=o;if(typeof o!="string"&&(i=o.alias,o=o.lang),n.languages[i]){var s={};s["inline-lang-"+i]={pattern:RegExp(a.replace("",o.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+i].inside.rest=n.util.clone(n.languages[i]),n.languages.insertBefore("pure","inline-lang",s)}}),n.languages.c&&(n.languages.pure["inline-lang"].inside.rest=n.util.clone(n.languages.c))})(t)}return Rx}var _x,K8;function VLe(){if(K8)return _x;K8=1,_x=e,e.displayName="purebasic",e.aliases=[];function e(t){t.languages.purebasic=t.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),t.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete t.languages.purebasic["class-name"],delete t.languages.purebasic.boolean,t.languages.pbfasm=t.languages.purebasic}return _x}var $x,Y8;function WLe(){if(Y8)return $x;Y8=1;var e=UO();$x=t,t.displayName="purescript",t.aliases=["purs"];function t(n){n.register(e),n.languages.purescript=n.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[n.languages.haskell.operator[0],n.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),n.languages.purs=n.languages.purescript}return $x}var Ox,X8;function GLe(){if(X8)return Ox;X8=1,Ox=e,e.displayName="python",e.aliases=["py"];function e(t){t.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.python["string-interpolation"].inside.interpolation.inside.rest=t.languages.python,t.languages.py=t.languages.python}return Ox}var Nx,Z8;function qLe(){if(Z8)return Nx;Z8=1,Nx=e,e.displayName="q",e.aliases=[];function e(t){t.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return Nx}var kx,Q8;function KLe(){if(Q8)return kx;Q8=1,kx=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,o=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),i=0;i<2;i++)o=o.replace(//g,function(){return o});o=o.replace(//g,"[^\\s\\S]"),n.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return o}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return o}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:n.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}})(t)}return kx}var Ax,J8;function YLe(){if(J8)return Ax;J8=1,Ax=e,e.displayName="qore",e.aliases=[];function e(t){t.languages.qore=t.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return Ax}var Mx,eF;function XLe(){if(eF)return Mx;eF=1,Mx=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(v,m){return v.replace(/<<(\d+)>>/g,function(h,y){return"(?:"+m[+y]+")"})}function a(v,m,h){return RegExp(r(v,m),"")}function o(v,m){for(var h=0;h>/g,function(){return"(?:"+v+")"});return v.replace(/<>/g,"[^\\s\\S]")}var i={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"};function s(v){return"\\b(?:"+v.trim().replace(/ /g,"|")+")\\b"}var c=RegExp(s(i.type+" "+i.other)),u=/\b[A-Za-z_]\w*\b/.source,d=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),f={keyword:c,punctuation:/[<>()?,.:[\]]/},p=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[p]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[d]),lookbehind:!0,inside:f},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[d]),lookbehind:!0,inside:f}],keyword:c,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),n.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var g=o(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[p]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[g]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[g]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:n.languages.qsharp}}},string:/[\s\S]+/}}})})(t),t.languages.qs=t.languages.qsharp}return Mx}var Dx,tF;function ZLe(){if(tF)return Dx;tF=1,Dx=e,e.displayName="r",e.aliases=[];function e(t){t.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return Dx}var Px,nF;function QLe(){if(nF)return Px;nF=1;var e=qO();Px=t,t.displayName="racket",t.aliases=["rkt"];function t(n){n.register(e),n.languages.racket=n.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),n.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),n.languages.rkt=n.languages.racket}return Px}var Lx,rF;function JLe(){if(rF)return Lx;rF=1,Lx=e,e.displayName="reason",e.aliases=[];function e(t){t.languages.reason=t.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),t.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete t.languages.reason.function}return Lx}var Fx,aF;function e6e(){if(aF)return Fx;aF=1,Fx=e,e.displayName="regex",e.aliases=[];function e(t){(function(n){var r={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,o={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},i={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+a.source+")",c=RegExp(s+"-"+s),u={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};n.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:c,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":i,escape:a}},"special-escape":r,"char-set":o,backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":u}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:a,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return jx}var Bx,iF;function n6e(){if(iF)return Bx;iF=1,Bx=e,e.displayName="renpy",e.aliases=["rpy"];function e(t){t.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},t.languages.rpy=t.languages.renpy}return Bx}var zx,sF;function r6e(){if(sF)return zx;sF=1,zx=e,e.displayName="rest",e.aliases=[];function e(t){t.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return zx}var Hx,lF;function a6e(){if(lF)return Hx;lF=1,Hx=e,e.displayName="rip",e.aliases=[];function e(t){t.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return Hx}var Ux,cF;function o6e(){if(cF)return Ux;cF=1,Ux=e,e.displayName="roboconf",e.aliases=[];function e(t){t.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return Ux}var Vx,uF;function i6e(){if(uF)return Vx;uF=1,Vx=e,e.displayName="robotframework",e.aliases=[];function e(t){(function(n){var r={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},a={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function o(u,d){var f={};f["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var p in d)f[p]=d[p];return f.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},f.variable=a,f.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:f}}var i={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},s={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:a}},c={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:o("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:o("Variables"),"test-cases":o("Test Cases",{"test-name":s,documentation:i,property:c}),keywords:o("Keywords",{"keyword-name":s,documentation:i,property:c}),tasks:o("Tasks",{"task-name":s,documentation:i,property:c}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return Vx}var Wx,dF;function s6e(){if(dF)return Wx;dF=1,Wx=e,e.displayName="rust",e.aliases=[];function e(t){(function(n){for(var r=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,function(){return/[^\s\S]/.source}),n.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+r),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},n.languages.rust["closure-params"].inside.rest=n.languages.rust,n.languages.rust.attribute.inside.string=n.languages.rust.string})(t)}return Wx}var Gx,fF;function l6e(){if(fF)return Gx;fF=1,Gx=e,e.displayName="sas",e.aliases=[];function e(t){(function(n){var r=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,a=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,o={pattern:RegExp(r+"[bx]"),alias:"number"},i={pattern:/&[a-z_]\w*/i},s={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},c={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},u=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={pattern:RegExp(r),greedy:!0},f=/[$%@.(){}\[\];,\\]/,p={pattern:/%?\b\w+(?=\()/,alias:"keyword"},g={function:p,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":i,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":o,punctuation:f,string:d},v={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},m={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},h={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},y={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},b=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,S={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return b}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return b}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:p,"arg-value":g["arg-value"],operator:g.operator,argument:g.arg,number:a,"numeric-constant":o,punctuation:f,string:d}},w={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};n.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return r}),"im"),alias:"language-sql",inside:n.languages.sql},"global-statements":h,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":o,punctuation:f,string:d}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-groovy",inside:n.languages.groovy},keyword:w,"submit-statement":y,"global-statements":h,number:a,"numeric-constant":o,punctuation:f,string:d}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,alias:"language-lua",inside:n.languages.lua},keyword:w,"submit-statement":y,"global-statements":h,number:a,"numeric-constant":o,punctuation:f,string:d}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:u,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:g}},"cas-actions":S,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:g},step:c,keyword:w,function:p,format:v,altformat:m,"global-statements":h,number:a,"numeric-constant":o,punctuation:f,string:d}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:g},"macro-keyword":s,"macro-variable":i,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":s,"macro-variable":i,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:f}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:u,number:a,"numeric-constant":o}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:g},"cas-actions":S,comment:u,function:p,format:v,altformat:m,"numeric-constant":o,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:d,step:c,keyword:w,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:f}})(t)}return Gx}var qx,pF;function c6e(){if(pF)return qx;pF=1,qx=e,e.displayName="sass",e.aliases=[];function e(t){(function(n){n.languages.sass=n.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),n.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete n.languages.sass.atrule;var r=/\$[-\w]+|#\{\$[-\w]+\}/,a=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];n.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:r,operator:a}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:r,operator:a,important:n.languages.sass.important}}}),delete n.languages.sass.property,delete n.languages.sass.important,n.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})})(t)}return qx}var Kx,gF;function u6e(){if(gF)return Kx;gF=1;var e=VO();Kx=t,t.displayName="scala",t.aliases=[];function t(n){n.register(e),n.languages.scala=n.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),n.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.scala}}},string:/[\s\S]+/}}}),delete n.languages.scala["class-name"],delete n.languages.scala.function}return Kx}var Yx,mF;function d6e(){if(mF)return Yx;mF=1,Yx=e,e.displayName="scss",e.aliases=[];function e(t){t.languages.scss=t.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),t.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),t.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),t.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),t.languages.scss.atrule.inside.rest=t.languages.scss}return Yx}var Xx,hF;function f6e(){if(hF)return Xx;hF=1;var e=wK();Xx=t,t.displayName="shellSession",t.aliases=[];function t(n){n.register(e),function(r){var a=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");r.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+(/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source)+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return a}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:r.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},r.languages["sh-session"]=r.languages.shellsession=r.languages["shell-session"]}(n)}return Xx}var Zx,vF;function p6e(){if(vF)return Zx;vF=1,Zx=e,e.displayName="smali",e.aliases=[];function e(t){t.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return Zx}var Qx,bF;function g6e(){if(bF)return Qx;bF=1,Qx=e,e.displayName="smalltalk",e.aliases=[];function e(t){t.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return Qx}var Jx,yF;function m6e(){if(yF)return Jx;yF=1;var e=$a();Jx=t,t.displayName="smarty",t.aliases=[];function t(n){n.register(e),function(r){r.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:r.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},r.languages.smarty["embedded-php"].inside.smarty.inside=r.languages.smarty,r.languages.smarty.string[0].inside.interpolation.inside.expression.inside=r.languages.smarty;var a=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,o=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(i){var s="{literal}",c="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(i,"smarty",o,function(d){return d===c&&(u=!1),u?!1:(d===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"smarty")})}(n)}return Jx}var eE,SF;function h6e(){if(SF)return eE;SF=1,eE=e,e.displayName="sml",e.aliases=["smlnj"];function e(t){(function(n){var r=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;n.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return r.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:r,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},n.languages.sml["class-name"][0].inside=n.languages.sml,n.languages.smlnj=n.languages.sml})(t)}return eE}var tE,wF;function v6e(){if(wF)return tE;wF=1,tE=e,e.displayName="solidity",e.aliases=["sol"];function e(t){t.languages.solidity=t.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),t.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),t.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),t.languages.sol=t.languages.solidity}return tE}var nE,CF;function b6e(){if(CF)return nE;CF=1,nE=e,e.displayName="solutionFile",e.aliases=[];function e(t){(function(n){var r={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};n.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:r}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:r}},guid:r,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},n.languages.sln=n.languages["solution-file"]})(t)}return nE}var rE,xF;function y6e(){if(xF)return rE;xF=1;var e=$a();rE=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,o=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;r.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:a,greedy:!0},number:o,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:o,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(i){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,c="{literal}",u="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(i,"soy",s,function(f){return f===u&&(d=!1),d?!1:(f===c&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(i){r.languages["markup-templating"].tokenizePlaceholders(i,"soy")})}(n)}return rE}var aE,EF;function IK(){if(EF)return aE;EF=1,aE=e,e.displayName="turtle",e.aliases=[];function e(t){t.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},t.languages.trig=t.languages.turtle}return aE}var oE,IF;function S6e(){if(IF)return oE;IF=1;var e=IK();oE=t,t.displayName="sparql",t.aliases=["rq"];function t(n){n.register(e),n.languages.sparql=n.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),n.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),n.languages.rq=n.languages.sparql}return oE}var iE,TF;function w6e(){if(TF)return iE;TF=1,iE=e,e.displayName="splunkSpl",e.aliases=[];function e(t){t.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return iE}var sE,RF;function C6e(){if(RF)return sE;RF=1,sE=e,e.displayName="sqf",e.aliases=[];function e(t){t.languages.sqf=t.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),t.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:t.languages.sqf.comment}}}),delete t.languages.sqf["class-name"]}return sE}var lE,_F;function x6e(){if(_F)return lE;_F=1,lE=e,e.displayName="squirrel",e.aliases=[];function e(t){t.languages.squirrel=t.languages.extend("clike",{comment:[t.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),t.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),t.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return lE}var cE,$F;function E6e(){if($F)return cE;$F=1,cE=e,e.displayName="stan",e.aliases=[];function e(t){(function(n){var r=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;n.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+r.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,r],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},n.languages.stan.constraint.inside.expression.inside=n.languages.stan})(t)}return cE}var uE,OF;function I6e(){if(OF)return uE;OF=1,uE=e,e.displayName="stylus",e.aliases=[];function e(t){(function(n){var r={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},o={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:a,punctuation:/[{}()\[\];:,]/};o.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:o}},o.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:o}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:o}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:o}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:o}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:o.interpolation}},rest:o}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:o.interpolation,comment:o.comment,punctuation:/[{},]/}},func:o.func,string:o.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:o.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return uE}var dE,NF;function T6e(){if(NF)return dE;NF=1,dE=e,e.displayName="swift",e.aliases=[];function e(t){t.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+(/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+")+"|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},t.languages.swift["string-literal"].forEach(function(n){n.inside.interpolation.inside=t.languages.swift})}return dE}var fE,kF;function R6e(){if(kF)return fE;kF=1,fE=e,e.displayName="systemd",e.aliases=[];function e(t){(function(n){var r={pattern:/^[;#].*/m,greedy:!0},a=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;n.languages.systemd={comment:r,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+a+`|(?=[^"\r +]))(?:`+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|'+a+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source)+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:r,quoted:{pattern:RegExp(/(^|\s)/.source+a),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}})(t)}return fE}var pE,AF;function KO(){if(AF)return pE;AF=1,pE=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(o,i,s){return{pattern:RegExp("<#"+o+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+o+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:i,alias:s}}}}function a(o){var i=n.languages[o],s="language-"+o;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:r("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:r("=",i,s),"class-feature":r("\\+",i,s),standard:r("",i,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return pE}var gE,MF;function _6e(){if(MF)return gE;MF=1;var e=KO(),t=H0();gE=n,n.displayName="t4Cs",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages.t4=r.languages["t4-cs"]=r.languages["t4-templating"].createT4("csharp")}return gE}var mE,DF;function TK(){if(DF)return mE;DF=1;var e=CK();mE=t,t.displayName="vbnet",t.aliases=[];function t(n){n.register(e),n.languages.vbnet=n.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return mE}var hE,PF;function $6e(){if(PF)return hE;PF=1;var e=KO(),t=TK();hE=n,n.displayName="t4Vb",n.aliases=[];function n(r){r.register(e),r.register(t),r.languages["t4-vb"]=r.languages["t4-templating"].createT4("vbnet")}return hE}var vE,LF;function RK(){if(LF)return vE;LF=1,vE=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,o="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.source+")?)",i=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),s=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function c(u,d){d=(d||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return o}).replace(/<>/g,function(){return u});return RegExp(f,d)}n.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return o})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return o}).replace(/<>/g,function(){return"(?:"+i+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:c(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:c(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:c(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:c(s),lookbehind:!0,greedy:!0},number:{pattern:c(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:a,important:r,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},n.languages.yml=n.languages.yaml})(t)}return vE}var bE,FF;function O6e(){if(FF)return bE;FF=1;var e=RK();bE=t,t.displayName="tap",t.aliases=[];function t(n){n.register(e),n.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:n.languages.yaml,alias:"language-yaml"}}}return bE}var yE,jF;function N6e(){if(jF)return yE;jF=1,yE=e,e.displayName="tcl",e.aliases=[];function e(t){t.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return yE}var SE,BF;function k6e(){if(BF)return SE;BF=1,SE=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function o(p,g){return RegExp(p.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),g||"")}var i={css:{pattern:/\{[^{}]+\}/,inside:{rest:n.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},s=n.languages.textile=n.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:o(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:o(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:i},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:o(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:o(/(^[*#]+)+/.source),lookbehind:!0,inside:i},punctuation:/^[*#]+/}},table:{pattern:o(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:o(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:i},punctuation:/\||^\./}},inline:{pattern:o(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:o(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:o(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:o(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:o(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:o(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:o(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:o(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:o(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:i},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:o(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:o(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:o(/(^")+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:o(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:o(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:o(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:i},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),c=s.phrase.inside,u={inline:c.inline,link:c.link,image:c.image,footnote:c.footnote,acronym:c.acronym,mark:c.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=c.inline.inside;d.bold.inside=u,d.italic.inside=u,d.inserted.inside=u,d.deleted.inside=u,d.span.inside=u;var f=c.table.inside;f.inline=u.inline,f.link=u.link,f.image=u.image,f.footnote=u.footnote,f.acronym=u.acronym,f.mark=u.mark})(t)}return SE}var wE,zF;function A6e(){if(zF)return wE;zF=1,wE=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(o){return o.replace(/__/g,function(){return r})}n.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(a(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(a(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}})(t)}return wE}var CE,HF;function M6e(){if(HF)return CE;HF=1,CE=e,e.displayName="tremor",e.aliases=[];function e(t){(function(n){n.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var r=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;n.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+r+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+r+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(r),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:n.languages.tremor}}},string:/[\s\S]+/}},n.languages.troy=n.languages.tremor,n.languages.trickle=n.languages.tremor})(t)}return CE}var xE,UF;function D6e(){if(UF)return xE;UF=1;var e=EK(),t=WO();xE=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var o=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",o),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var i=a.languages.tsx.tag;i.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+i.pattern.source+")",i.pattern.flags),i.lookbehind=!0}(r)}return xE}var EE,VF;function P6e(){if(VF)return EE;VF=1;var e=$a();EE=t,t.displayName="tt2",t.aliases=[];function t(n){n.register(e),function(r){r.languages.tt2=r.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),r.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),r.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),r.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete r.languages.tt2.string,r.hooks.add("before-tokenize",function(a){var o=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",o)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(n)}return EE}var IE,WF;function L6e(){if(WF)return IE;WF=1;var e=$a();IE=t,t.displayName="twig",t.aliases=[];function t(n){n.register(e),n.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},n.hooks.add("before-tokenize",function(r){if(r.language==="twig"){var a=/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g;n.languages["markup-templating"].buildPlaceholders(r,"twig",a)}}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"twig")})}return IE}var TE,GF;function F6e(){if(GF)return TE;GF=1,TE=e,e.displayName="typoscript",e.aliases=["tsconfig"];function e(t){(function(n){var r=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;n.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:r}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:r,number:/^\d+$/,punctuation:/[,|:]/}},keyword:r,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},n.languages.tsconfig=n.languages.typoscript})(t)}return TE}var RE,qF;function j6e(){if(qF)return RE;qF=1,RE=e,e.displayName="unrealscript",e.aliases=["uc","uscript"];function e(t){t.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},t.languages.uc=t.languages.uscript=t.languages.unrealscript}return RE}var _E,KF;function B6e(){if(KF)return _E;KF=1,_E=e,e.displayName="uorazor",e.aliases=[];function e(t){t.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return _E}var $E,YF;function z6e(){if(YF)return $E;YF=1,$E=e,e.displayName="uri",e.aliases=["url"];function e(t){t.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")")+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},t.languages.url=t.languages.uri}return $E}var OE,XF;function H6e(){if(XF)return OE;XF=1,OE=e,e.displayName="v",e.aliases=[];function e(t){(function(n){var r={pattern:/[\s\S]+/,inside:null};n.languages.v=n.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":r}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),r.inside=n.languages.v,n.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),n.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),n.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:n.languages.v.generic.inside}}}})})(t)}return OE}var NE,ZF;function U6e(){if(ZF)return NE;ZF=1,NE=e,e.displayName="vala",e.aliases=[];function e(t){t.languages.vala=t.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),t.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:t.languages.vala}},string:/[\s\S]+/}}}),t.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return NE}var kE,QF;function V6e(){if(QF)return kE;QF=1,kE=e,e.displayName="velocity",e.aliases=[];function e(t){(function(n){n.languages.velocity=n.languages.extend("markup",{});var r={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};r.variable.inside={string:r.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:r.number,boolean:r.boolean,punctuation:r.punctuation},n.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:r}},variable:r.variable}),n.languages.velocity.tag.inside["attr-value"].inside.rest=n.languages.velocity})(t)}return kE}var AE,JF;function W6e(){if(JF)return AE;JF=1,AE=e,e.displayName="verilog",e.aliases=[];function e(t){t.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return AE}var ME,e5;function G6e(){if(e5)return ME;e5=1,ME=e,e.displayName="vhdl",e.aliases=[];function e(t){t.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return ME}var DE,t5;function q6e(){if(t5)return DE;t5=1,DE=e,e.displayName="vim",e.aliases=[];function e(t){t.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return DE}var PE,n5;function K6e(){if(n5)return PE;n5=1,PE=e,e.displayName="visualBasic",e.aliases=[];function e(t){t.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},t.languages.vb=t.languages["visual-basic"],t.languages.vba=t.languages["visual-basic"]}return PE}var LE,r5;function Y6e(){if(r5)return LE;r5=1,LE=e,e.displayName="warpscript",e.aliases=[];function e(t){t.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return LE}var FE,a5;function X6e(){if(a5)return FE;a5=1,FE=e,e.displayName="wasm",e.aliases=[];function e(t){t.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return FE}var jE,o5;function Z6e(){if(o5)return jE;o5=1,jE=e,e.displayName="webIdl",e.aliases=[];function e(t){(function(n){var r=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,a="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+r+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,o={};n.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+r),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:o},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:o},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:o},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:o},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+r),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+r),lookbehind:!0},RegExp(r+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+r),lookbehind:!0},{pattern:RegExp(a+"(?="+/\s*(?:\.{3}\s*)?/.source+r+/\s*[(),;=]/.source+")"),inside:o}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/};for(var i in n.languages["web-idl"])i!=="class-name"&&(o[i]=n.languages["web-idl"][i]);n.languages.webidl=n.languages["web-idl"]})(t)}return jE}var BE,i5;function Q6e(){if(i5)return BE;i5=1,BE=e,e.displayName="wiki",e.aliases=[];function e(t){t.languages.wiki=t.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:t.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),t.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:t.languages.markup.tag.inside}}}})}return BE}var zE,s5;function J6e(){if(s5)return zE;s5=1,zE=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"];function e(t){t.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},t.languages.mathematica=t.languages.wolfram,t.languages.wl=t.languages.wolfram,t.languages.nb=t.languages.wolfram}return zE}var HE,l5;function e8e(){if(l5)return HE;l5=1,HE=e,e.displayName="wren",e.aliases=[];function e(t){t.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},t.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:t.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return HE}var UE,c5;function t8e(){if(c5)return UE;c5=1,UE=e,e.displayName="xeora",e.aliases=["xeoracube"];function e(t){(function(n){n.languages.xeora=n.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),n.languages.insertBefore("inside","punctuation",{variable:n.languages.xeora["function-inline"].inside.variable},n.languages.xeora["function-block"]),n.languages.xeoracube=n.languages.xeora})(t)}return UE}var VE,u5;function n8e(){if(u5)return VE;u5=1,VE=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,c){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":c})}var a=n.languages.markup.tag,o={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},i={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",o),r("fsharp",o),r("vbnet",i)})(t)}return VE}var WE,d5;function r8e(){if(d5)return WE;d5=1,WE=e,e.displayName="xojo",e.aliases=[];function e(t){t.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return WE}var GE,f5;function a8e(){if(f5)return GE;f5=1,GE=e,e.displayName="xquery",e.aliases=[];function e(t){(function(n){n.languages.xquery=n.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),n.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,n.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,n.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,n.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:n.languages.xquery,alias:"language-xquery"};var r=function(o){return typeof o=="string"?o:typeof o.content=="string"?o.content:o.content.map(r).join("")},a=function(o){for(var i=[],s=0;s0&&i[i.length-1].tagName===r(c.content[0].content[1])&&i.pop():c.content[c.content.length-1].content==="/>"||i.push({tagName:r(c.content[0].content[1]),openedBraces:0}):i.length>0&&c.type==="punctuation"&&c.content==="{"&&(!o[s+1]||o[s+1].type!=="punctuation"||o[s+1].content!=="{")&&(!o[s-1]||o[s-1].type!=="plain-text"||o[s-1].content!=="{")?i[i.length-1].openedBraces++:i.length>0&&i[i.length-1].openedBraces>0&&c.type==="punctuation"&&c.content==="}"?i[i.length-1].openedBraces--:c.type!=="comment"&&(u=!0)),(u||typeof c=="string")&&i.length>0&&i[i.length-1].openedBraces===0){var d=r(c);s0&&(typeof o[s-1]=="string"||o[s-1].type==="plain-text")&&(d=r(o[s-1])+d,o.splice(s-1,1),s--),/^\s+$/.test(d)?o[s]=d:o[s]=new n.Token("plain-text",d,null,d)}c.content&&typeof c.content!="string"&&a(c.content)}};n.hooks.add("after-tokenize",function(o){o.language==="xquery"&&a(o.tokens)})})(t)}return GE}var qE,p5;function o8e(){if(p5)return qE;p5=1,qE=e,e.displayName="yang",e.aliases=[];function e(t){t.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return qE}var KE,g5;function i8e(){if(g5)return KE;g5=1,KE=e,e.displayName="zig",e.aliases=[];function e(t){(function(n){function r(d){return function(){return d}}var a=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,o="\\b(?!"+a.source+")(?!\\d)\\w+\\b",i=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(i)),c=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(o)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+c+")+";n.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,r(u)).replace(//g,r(i))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(i))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:a,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},n.languages.zig["class-name"].forEach(function(d){d.inside===null&&(d.inside=n.languages.zig)})})(t)}return KE}var me=gDe,s8e=me;me.register(IDe());me.register(TDe());me.register(RDe());me.register(_De());me.register($De());me.register(ODe());me.register(NDe());me.register(kDe());me.register(ADe());me.register(MDe());me.register(DDe());me.register(PDe());me.register(LDe());me.register(FDe());me.register(jDe());me.register(BDe());me.register(zDe());me.register(HDe());me.register(UDe());me.register(VDe());me.register(WDe());me.register(GDe());me.register(wK());me.register(CK());me.register(qDe());me.register(KDe());me.register(YDe());me.register(XDe());me.register(ZDe());me.register(QDe());me.register(JDe());me.register(ePe());me.register(tPe());me.register(nPe());me.register(Sc());me.register(rPe());me.register(aPe());me.register(oPe());me.register(iPe());me.register(sPe());me.register(lPe());me.register(cPe());me.register(uPe());me.register(dPe());me.register(HO());me.register(fPe());me.register(H0());me.register(pPe());me.register(gPe());me.register(mPe());me.register(hPe());me.register(vPe());me.register(bPe());me.register(yPe());me.register(SPe());me.register(wPe());me.register(CPe());me.register(xPe());me.register(EPe());me.register(IPe());me.register(TPe());me.register(RPe());me.register(_Pe());me.register($Pe());me.register(OPe());me.register(NPe());me.register(kPe());me.register(APe());me.register(MPe());me.register(DPe());me.register(PPe());me.register(LPe());me.register(FPe());me.register(jPe());me.register(BPe());me.register(zPe());me.register(HPe());me.register(UPe());me.register(VPe());me.register(WPe());me.register(GPe());me.register(qPe());me.register(KPe());me.register(YPe());me.register(XPe());me.register(ZPe());me.register(QPe());me.register(JPe());me.register(e4e());me.register(t4e());me.register(n4e());me.register(r4e());me.register(a4e());me.register(o4e());me.register(UO());me.register(i4e());me.register(s4e());me.register(l4e());me.register(c4e());me.register(u4e());me.register(d4e());me.register(f4e());me.register(p4e());me.register(g4e());me.register(m4e());me.register(h4e());me.register(v4e());me.register(b4e());me.register(y4e());me.register(S4e());me.register(w4e());me.register(C4e());me.register(VO());me.register(x4e());me.register(V0());me.register(E4e());me.register(I4e());me.register(T4e());me.register(R4e());me.register(_4e());me.register($4e());me.register(O4e());me.register(GO());me.register(N4e());me.register(k4e());me.register(A4e());me.register(EK());me.register(M4e());me.register(D4e());me.register(P4e());me.register(L4e());me.register(F4e());me.register(j4e());me.register(B4e());me.register(z4e());me.register(H4e());me.register(U4e());me.register(V4e());me.register(W4e());me.register(G4e());me.register(q4e());me.register(K4e());me.register(Y4e());me.register(xK());me.register(X4e());me.register(Z4e());me.register(Q4e());me.register($a());me.register(J4e());me.register(eLe());me.register(tLe());me.register(nLe());me.register(rLe());me.register(aLe());me.register(oLe());me.register(iLe());me.register(sLe());me.register(lLe());me.register(cLe());me.register(uLe());me.register(dLe());me.register(fLe());me.register(pLe());me.register(gLe());me.register(mLe());me.register(hLe());me.register(vLe());me.register(bLe());me.register(yLe());me.register(SLe());me.register(wLe());me.register(CLe());me.register(xLe());me.register(ELe());me.register(ILe());me.register(TLe());me.register(RLe());me.register(_Le());me.register($Le());me.register(OLe());me.register(W0());me.register(NLe());me.register(kLe());me.register(ALe());me.register(MLe());me.register(DLe());me.register(PLe());me.register(LLe());me.register(FLe());me.register(jLe());me.register(BLe());me.register(zLe());me.register(HLe());me.register(ULe());me.register(VLe());me.register(WLe());me.register(GLe());me.register(qLe());me.register(KLe());me.register(YLe());me.register(XLe());me.register(ZLe());me.register(QLe());me.register(JLe());me.register(e6e());me.register(t6e());me.register(n6e());me.register(r6e());me.register(a6e());me.register(o6e());me.register(i6e());me.register(U0());me.register(s6e());me.register(l6e());me.register(c6e());me.register(u6e());me.register(qO());me.register(d6e());me.register(f6e());me.register(p6e());me.register(g6e());me.register(m6e());me.register(h6e());me.register(v6e());me.register(b6e());me.register(y6e());me.register(S6e());me.register(w6e());me.register(C6e());me.register(zO());me.register(x6e());me.register(E6e());me.register(I6e());me.register(T6e());me.register(R6e());me.register(_6e());me.register(KO());me.register($6e());me.register(O6e());me.register(N6e());me.register(k6e());me.register(A6e());me.register(M6e());me.register(D6e());me.register(P6e());me.register(IK());me.register(L6e());me.register(WO());me.register(F6e());me.register(j6e());me.register(B6e());me.register(z6e());me.register(H6e());me.register(U6e());me.register(TK());me.register(V6e());me.register(W6e());me.register(G6e());me.register(q6e());me.register(K6e());me.register(Y6e());me.register(X6e());me.register(Z6e());me.register(Q6e());me.register(J6e());me.register(e8e());me.register(t8e());me.register(n8e());me.register(r8e());me.register(a8e());me.register(RK());me.register(o8e());me.register(i8e());const l8e=fa(s8e);var Us=nke(l8e,EDe);Us.supportedLanguages=oke;const Jl={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}},ec={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}},{Paragraph:m5,Text:c8e}=Bn,u8e=()=>{const{t:e}=Ft(),[t,n]=l.useState([]),r=l.useRef(null),[a,o]=l.useState(!1),i=p=>{let g="";for(let v=0;v=32&&h<=126?g+=String.fromCharCode(h):g+="."}return g},s=p=>{let g="";for(let h=0;h=m&&(v=v-2*m),v},c={"15-15452":p=>{if(p.length===16){const g=p.slice(8)+p.slice(0,8);n(v=>[...v,`UnknownTag | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"15-16065":p=>{if(p.length===16){const g=p.slice(8)+p.slice(0,8);n(v=>[...v,`KnownTag | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"12-15427":p=>{if(p.length===8){const g=s(p);n(v=>[...v,`UpsideState | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)},"12-15426":p=>{if(p.length===8){const g=s(p);n(v=>[...v,`UprightState | ${g}`])}else console.log(`Incorrect payload length for '${p}'. Unable to rearrange.`)}};l.useEffect(()=>{if(a){const p=new EventSource("/api/sse");return p.onopen=()=>{console.log("Connection established.")},p.addEventListener("keep-alive",g=>{console.log("keep-alive event received:",g)}),p.addEventListener("pressed",g=>{const v=JSON.parse(g.data);n(m=>[...m,"Pressed: "+v.data])}),p.addEventListener("rtnl-raw-log2",g=>{const v=JSON.parse(g.data),m=`${"Raw2 | #"+v.data.sequence+" Uptime: "+v.data.uptime+" Func: "+v.data.function_group.toString().padStart(2," ")+"-"+v.data.function+" Payload: '"+v.data.field6+"' ASCII: '"+i(v.data.field6)+"'"}`;n(y=>[...y,m]);const h=`${v.data.function_group.toString().padStart(2," ")}-${v.data.function}`;c[h]&&c[h](v.data.field6)}),p.addEventListener("rtnl-raw-log3",g=>{const v=JSON.parse(g.data);n(m=>[...m,"Raw3 | Datetime: "+v.data.datetime+" Unknown: "+v.data.field2])}),p.onerror=g=>{console.error("EventSource failed:",g)},()=>{console.log("Connection closed."),p.close()}}else return},[a]),l.useEffect(()=>{r.current&&(r.current.scrollTop=r.current.scrollHeight)},[t]);const u=p=>{o(p)},d=()=>{n([])};function f(){const p=window.matchMedia("(prefers-color-scheme: dark)").matches,g=localStorage.getItem("theme");return g==="auto"?p?"dark":"light":g}return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vu,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vu,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.rtnl.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("settings.rtnl.title")}),C.jsxs(m5,{style:{margin:"8px 0"},children:[C.jsxs(m5,{children:[C.jsx(va,{checked:a,onChange:u,style:{marginRight:8}}),C.jsx(c8e,{children:e("settings.rtnl.enableRtnl")})]}),C.jsx(Ca,{children:e("settings.rtnl.title")}),C.jsx("div",{ref:r,style:{minHeight:"max(40vh, 333px)",maxHeight:"max(40vh, 333px)",overflow:"auto",padding:1,background:f()==="dark"?"hsl(220, 13%, 18%)":"hsl(230, 1%, 98%)"},children:C.jsx(Us,{language:"log",style:f()==="dark"?Jl:ec,customStyle:{borderRadius:0,margin:0,border:"none"},children:t.join(` +`)})}),C.jsx($t,{onClick:d,style:{marginTop:8},children:e("settings.rtnl.clear")})]})]})]})]})},h5=new wn(fn()),_K=({overlay:e})=>{const{t}=Ft(),n=async a=>{const o=new FormData;o.append("file",a);const i={filename:[o.get("file")]},s=async()=>{await h5.apiTriggerWriteConfigGet()};(async u=>{try{await h5.apiUploadCertPost(u,e);try{s()}catch{lt.error("Error while saving config to file.")}lt.success(t("settings.certificates.uploadSuccessful",{filename:a.name}))}catch{lt.error(t("settings.certificates.uploadFailed",{filename:a.name}))}})(i)},r={name:"file",multiple:!0,customRequest:async a=>{const{onSuccess:o,onError:i,file:s}=a;try{await n(s),o("Ok")}catch(c){i(c)}},onChange(a){const{status:o}=a.file;o!=="uploading"&&console.log(a.file,a.fileList)},onDrop(a){console.log("Dropped files",a.dataTransfer.files)}};return C.jsxs(C0.Dragger,{...r,children:[C.jsx("p",{className:"ant-upload-drag-icon",children:C.jsx(DW,{})}),C.jsx("p",{className:"ant-upload-text",children:t("settings.certificates.uploadText")}),C.jsx("p",{className:"ant-upload-hint",children:t("settings.certificates.uploadHint")})]})},d8e=()=>{const{t:e}=Ft(),{Paragraph:t}=Bn;return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vu,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vu,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.certificates.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("settings.certificates.title")}),C.jsx(t,{children:C.jsx(na,{message:e("settings.certificates.information"),description:C.jsxs("div",{children:[e("settings.certificates.hint")," ",C.jsx(Rt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0})}),C.jsx(t,{children:C.jsx(_K,{})})]})]})]})},Vs=()=>{const{t:e}=Ft(),t=[{key:"home",label:C.jsx(Rt,{to:"/",children:e("home.navigationTitle")}),icon:le.createElement(mSe),title:e("home.navigationTitle")},{key:"features",label:C.jsx(Rt,{to:"/home/features",children:e("home.features.navigationTitle")}),icon:le.createElement(hye),title:e("home.features.navigationTitle")},{key:"statistics",label:C.jsx(Rt,{to:"/home/stats",children:e("home.stats.navigationTitle")}),icon:le.createElement(LT),title:e("home.stats.navigationTitle")},{key:"hiddenMeeting",label:C.jsx(Rt,{to:"/home/tonieMeeting"})}];return C.jsx(Eg,{mode:"inline",defaultOpenKeys:["sub"],items:t})};function cf(e,t=!0,n=1){if(!e||e<0)return"NaN";const r=t?1e3:1024;if(Math.abs(e)=r&&o{const{t:u}=Ft();return C.jsxs(On,{title:C.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[C.jsx(zW,{style:{fontSize:36,color:"orange",margin:16}}),C.jsx("div",{style:{marginBottom:16},children:e})]}),open:i,onOk:s,onCancel:c,okText:t,cancelText:n,className:"warning",children:[C.jsx("div",{style:{marginBottom:24},children:r}),a&&C.jsx("div",{children:C.jsx(na,{type:"warning",showIcon:!0,message:o||u("confirmDialog.contentHintTitle"),description:a})})]})},{useToken:f8e}=hi,$K=({open:e,initialValuesJson:t,onCreate:n,onCancel:r})=>{const{t:a}=Ft(),{token:o}=f8e(),[i]=qt.useForm(),[s,c]=l.useState([]),[u,d]=l.useState(!1),[f,p]=l.useState(0),[g,v]=l.useState(-1);l.useEffect(()=>{c([])},[]),l.useEffect(()=>{if(t)try{const k=JSON.parse(t);i.setFieldsValue(k)}catch(k){console.error("Error parsing JSON:",k)}},[i,t]);const m=()=>{i.resetFields()},h=k=>{i.setFieldsValue({filepath:k.target.value})},y=(k,M,L)=>{if(k&&k.length>0){const F=L==="library"?"lib:/":"content:/",j=k.map(B=>({filepath:F+M+"/"+B.name,name:B.name}));c(j)}},b=()=>{p(k=>k+1),d(!0)},S=k=>{p(M=>M+1),d(!0),v(k),c([i.getFieldValue(["files",k])])},w=()=>{const k=i.getFieldsValue();let M=[...k.files];g!==-1?M[g]={filepath:s[0].filepath,name:s[0].name}:M=[...k.files,...s];const L={...k,files:M};i.setFieldsValue(L),d(!1),c([]),v(-1)},x=()=>{d(!1),c([])},[E,I]=l.useState(""),[R,T]=l.useState(""),[_,$]=l.useState(!1),D=C.jsx($t,{type:"primary",onClick:()=>$(!1),children:a("tonies.informationModal.ok")}),P=()=>{$(!1)};function A(){const k=window.matchMedia("(prefers-color-scheme: dark)").matches,M=localStorage.getItem("theme");return M==="auto"?k?"dark":"light":M}const O=C.jsx(On,{footer:D,width:700,title:"File (you can copy the content to a *.tap file)",open:_,onCancel:P,children:E?C.jsxs(C.Fragment,{children:[C.jsx(Us,{language:"json",style:A()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:E}),C.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),C.jsx(Us,{language:"json",style:A()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:R})]}):"Loading..."}),N=C.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:o.colorBgElevated},children:[C.jsx($t,{onClick:x,children:a("tonies.selectFileModal.cancel")}),C.jsx($t,{type:"primary",onClick:w,children:a("tonies.selectFileModal.ok")})]});return C.jsxs(C.Fragment,{children:[C.jsxs(On,{open:e,title:a(t?"tonies.tapEditor.titleEdit":"tonies.tapEditor.titleCreate"),okText:a(t?"tonies.tapEditor.save":"tonies.tapEditor.create"),cancelText:a("tonies.tapEditor.cancel"),onCancel:()=>{r(),m()},onOk:()=>{i.validateFields().then(()=>{n(i.getFieldsValue()),I(JSON.stringify(i.getFieldsValue(),null,2)),T(JSON.stringify(i.getFieldsValue(),null,0)),$(!0),m()}).catch(k=>{console.log("Validate Failed:",k)})},children:[C.jsx(na,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json is displayed when saving the new tap. This is not automatically saved to your library. You have to create a *.tap file manually and copy this into the file yourself.",style:{marginBottom:8}}),C.jsxs(qt,{form:i,layout:"vertical",name:"tapEditorModal",initialValues:{type:"tap",filepath:"",name:"",files:[]},children:[C.jsx(qt.Item,{name:"type",hidden:!0,label:"type",children:C.jsx(Zt,{type:"string"})}),C.jsx(qt.Item,{name:"audio_id",label:"Audio ID",children:C.jsx(Zt,{type:"number"})}),C.jsx(qt.Item,{name:"filepath",label:a("tonies.tapEditor.filePath"),children:C.jsx(Zt,{onChange:h})}),C.jsx(qt.Item,{name:"name",label:a("tonies.tapEditor.name"),rules:[{required:!0,message:a("tonies.tapEditor.nameRequired")}],children:C.jsx(Zt,{})}),C.jsx(qt.List,{name:"files",children:(k,{add:M,remove:L})=>C.jsxs(C.Fragment,{children:[k.map(({key:F,name:j},B)=>C.jsx("div",{className:"playlistTitle",children:C.jsxs(Mo,{style:{display:"flex",marginBottom:8,alignItems:"center",width:"100%"},align:"baseline",children:[C.jsx(qt.Item,{name:[j,"filepath"],label:a("tonies.tapEditor.filePathContentFile"),rules:[{required:!0,message:a("tonies.tapEditor.filePathContentFileRequired")}],children:C.jsx(Zt,{width:"auto",addonBefore:C.jsx(da,{onClick:()=>{const z=[...i.getFieldsValue().files];z[B].filepath="",i.setFieldsValue({files:z})}}),addonAfter:C.jsx(V$,{onClick:()=>S(B)})})}),C.jsx(qt.Item,{name:[j,"name"],label:a("tonies.tapEditor.fileNameContentFile"),children:C.jsx(Zt,{placeholder:"Name"})}),C.jsx(LSe,{onClick:()=>L(j)})]},`space-${F}`)},`files-${F}`)),C.jsx(qt.Item,{children:C.jsx($t,{type:"dashed",onClick:()=>b(),block:!0,icon:C.jsx(yV,{}),children:a("tonies.tapEditor.addFile")})})]})})]}),C.jsx(On,{className:"sticky-footer",title:a("tonies.selectFileModal.selectFile"),open:u,onOk:w,onCancel:x,width:"auto",footer:N,children:C.jsx(Og,{maxSelectedRows:99,special:"library",trackUrl:!1,selectTafOrTapOnly:!1,onFileSelectChange:y},f)})]}),O]})},p8e=new wn(fn()),{Text:g8e}=Bn,OK=({open:e,onClose:t,tonieCardOrTAFRecord:n,readOnly:r,lastRUIDs:a,overlay:o,onHide:i})=>{const{t:s}=Ft(),[c,u]=l.useState(!1),[d,f]=l.useState(!1),[p,g]=l.useState(""),[v,m]=l.useState([]);l.useEffect(()=>{"sourceInfo"in n&&(n.sourceInfo.picture!==n.tonieInfo.picture&&b!==S||n.sourceInfo.picture===n.tonieInfo.picture&&b!==S||n.sourceInfo.series!==n.tonieInfo.series||n.sourceInfo.episode!==n.tonieInfo.episode||n.sourceInfo.tracks.join(".")!==n.tonieInfo.tracks.join("."))&&(f(!0),g(n.sourceInfo.picture),m(n.sourceInfo.tracks))},[n,e]);const h=a&&"ruid"in n?a.filter(([P])=>P===n.ruid).map(([,P,A])=>({ruidTime:P,boxName:A})):null,y=n.tonieInfo.series+(n!=null&&n.tonieInfo.episode?" - "+n.tonieInfo.episode:"")+(n.tonieInfo.model?" ("+n.tonieInfo.model+")":""),b=`${n.tonieInfo.series}`+(n.tonieInfo.episode?` - ${n.tonieInfo.episode}`:""),S="sourceInfo"in n?`${n.sourceInfo.series}`+(n.sourceInfo.episode?` - ${n.sourceInfo.episode}`:""):"",w=d?S:b,x=()=>{u(!0)},E=()=>{R(),u(!1)},I=()=>{u(!1)},R=async()=>{if(i&&"ruid"in n&&n.ruid)try{await p8e.apiPostTeddyCloudContentJson(n.ruid,"hide=true",o),lt.success(s("tonies.messages.hideTonieSuccessful")),i(n.ruid)}catch(P){lt.error(s("tonies.messages.hideTonieFailed")+P)}},T=C.jsx(Ap,{title:s("tonies.confirmHideModal.title"),open:c,okText:s("tonies.confirmHideModal.hide"),cancelText:s("tonies.confirmHideModal.cancel"),content:s("tonies.confirmHideModal.confirmHideDialog",{tonieToHide:y||("uid"in n?n.uid:"")}),handleOk:E,handleCancel:I}),_=C.jsx(C.Fragment,{children:C.jsxs("h3",{children:[w||s("tonies.informationModal.unknownModel"),C.jsx("br",{}),"uid"in n&&n.uid?C.jsx(g8e,{type:"secondary",children:n.uid}):""]})}),$=C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[C.jsx("div",{children:"ruid"in n&&n.ruid?r?"":C.jsx($t,{onClick:x,children:s("tonies.informationModal.hideTag")}):""}),C.jsx($t,{type:"primary",onClick:t,children:s("tonies.informationModal.ok")})]});return C.jsxs(C.Fragment,{children:[C.jsxs(On,{title:_,footer:$,open:e,keyboard:!0,closable:!1,maskClosable:!0,onCancel:t,children:[C.jsxs("div",{style:{position:"relative"},children:[C.jsx("img",{src:n.tonieInfo.picture?n.tonieInfo.picture:"/img_unknown.png",alt:"",style:{width:"100%"}}),d?C.jsx(rn,{title:s("tonies.alternativeSource",{originalTonie:'"'+b+'"',assignedContent:'"'+S+'"'}).replace(' "" '," "),placement:"bottom",children:C.jsx("img",{src:p,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),h&&h.length>0?C.jsxs(C.Fragment,{children:[C.jsxs("strong",{children:[s("tonies.lastPlayedOnModal.lastPlayedOnMessage"),":"]}),C.jsx("ul",{children:h.map(({ruidTime:P,boxName:A},O)=>C.jsxs("li",{children:[A,P?" ("+P+")":""]},O))})]}):C.jsx(C.Fragment,{}),C.jsxs("div",{children:["valid"in n?C.jsxs("p",{children:[C.jsx("strong",{children:s("tonies.infoModal.valid")})," ",n.valid?s("tonies.infoModal.yes"):s("tonies.infoModal.no")]}):"","exists"in n?C.jsxs("p",{children:[C.jsx("strong",{children:s("tonies.infoModal.exists")})," ",n.exists?s("tonies.infoModal.yes"):s("tonies.infoModal.no")]}):"",d?v&&v.length>0?C.jsxs(C.Fragment,{children:[C.jsx("strong",{children:s("tonies.infoModal.tracklist")}),C.jsx("ol",{children:v.map((P,A)=>C.jsx("li",{children:P},A))})]}):C.jsx(C.Fragment,{}):n.tonieInfo.tracks&&n.tonieInfo.tracks.length>0?C.jsxs(C.Fragment,{children:[C.jsx("strong",{children:s("tonies.infoModal.tracklist")}),C.jsx("ol",{children:n.tonieInfo.tracks.map((P,A)=>C.jsx("li",{children:P},A))})]}):C.jsx(C.Fragment,{})]})]}),T]})},Wd=new wn(fn()),{useToken:m8e}=hi,Og=({special:e,filetypeFilter:t=[],isTapList:n=!1,overlay:r="",maxSelectedRows:a=0,selectTafOrTapOnly:o=!0,trackUrl:i=!0,showDirOnly:s=!1,showColumns:c=void 0,onFileSelectChange:u})=>{const{t:d}=Ft(),{playAudio:f}=uO(),{token:p}=m8e(),g=tl(),v=jG(),m=l.useRef(null),h=l.useRef(null),y=l.useRef(null),[b,S]=lt.useMessage(),[w,x]=l.useState([]),[E,I]=l.useState(""),[R,T]=l.useState(!1),[_,$]=l.useState(""),[D,P]=l.useState([]),[A,O]=l.useState(""),[N,k]=l.useState(!1),[M,L]=l.useState(!1),[F,j]=l.useState(0),[B,z]=l.useState(),[H,U]=l.useState(!1),[Z,q]=l.useState(!1),[Y,ee]=l.useState(""),[te,X]=l.useState(!1),[ie,re]=l.useState(),[G,Q]=l.useState(""),[ae,oe]=l.useState(!1),[de,ve]=l.useState(!1),[ye,ge]=l.useState(!1),[J,ce]=l.useState(null),[ue,fe]=l.useState(""),[pe,xe]=l.useState("");l.useEffect(()=>{const we=new URLSearchParams(g.search).get("path")||"";I(we)},[g]),l.useEffect(()=>{if(r){const Ie=new URLSearchParams(g.search);Ie.set("path",""),I("");const we=`${window.location.pathname}?${Ie.toString()}`;window.history.replaceState(null,"",we),T(!R)}},[r]),l.useEffect(()=>{Wd.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${E}&special=${e}`+(r?`&overlay=${r}`:"")).then(Ie=>Ie.json()).then(Ie=>{var we=Ie.files;s&&(we=we.filter(Oe=>Oe.isDir)),t.length>0&&(we=we.filter(Oe=>Oe.isDir||t.some(He=>Oe.name.endsWith(He)))),x(we)})},[E,e,s,R]),l.useEffect(()=>{Z&&setTimeout(()=>{m.current&&m.current.focus()},0)},[Z]),l.useEffect(()=>{y.current!==null&&h.current&&h.current.setSelectionRange(y.current,y.current)},[G]);function Te(){const Ie=window.matchMedia("(prefers-color-scheme: dark)").matches,we=localStorage.getItem("theme");return we==="auto"?Ie?"dark":"light":we}const Pe=async Ie=>{try{const Oe=await(await Wd.apiGetTeddyCloudApiRaw(Ie)).json();O(Oe)}catch(we){console.error("Error fetching JSON data:",we)}},ke=Ie=>{Pe((e==="library"?"/library":"/content")+Ie),oe(!1),$(Ie),k(!0)},Ue=()=>{k(!1)},Be=C.jsx($t,{type:"primary",onClick:()=>k(!1),children:d("tonies.informationModal.ok")}),De=C.jsx(On,{className:"json-viewer",footer:Be,width:700,title:"File: "+_,open:N,onCancel:Ue,children:A?C.jsx(Us,{language:"json",style:Te()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(A,null,2)}):"Loading..."}),Se=(Ie,we)=>{const Oe=we,{tracks:He,...Fe}=Oe;oe(!1),z(Fe),$(Ie),U(!0)},_e=()=>{U(!1)},Ce=C.jsx(On,{className:"taf-header-viewer",footer:C.jsx($t,{type:"primary",onClick:()=>U(!1),children:d("tonies.informationModal.ok")}),title:d("tonies.tafHeaderOf")+_,open:H,onCancel:_e,children:B?C.jsx(Us,{language:"json",style:Te()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(B,null,2)}):"Loading..."}),Re=Ie=>{console.log("Received values of form: ",Ie),L(!1)},he=Ie=>{Ie.includes(".tap")&&(Pe((e==="library"?"/library":"/content")+Ie),oe(!1),$(Ie),j(Oe=>Oe+1),L(!0))},Ee=(Ie,we,Oe)=>{oe(!1),ce(Ie),fe(we),xe(Oe),ve(!0)},je=()=>{qe(ue,pe),T(Ie=>!Ie),ve(!1)},Ae=()=>{ve(!1),ge(!1)},Ne=()=>{ge(!0)},ze=async()=>{if(D.length>0){for(const Ie of D){const we=w.find(Oe=>Oe.name===Ie);if(we){const Oe=E+"/"+we.name,He="?special="+e+(r?`&overlay=${r}`:"");await qe(Oe,He)}}T(Ie=>!Ie),ge(!1),P([])}else lt.warning("No rows selected for deletion.")},qe=async(Ie,we)=>{const Oe=lt.loading(d("fileBrowser.messages.deleting"),0);try{const He=`/api/fileDelete${we}`,Ve=await(await Wd.apiPostTeddyCloudRaw(He,Ie)).text();Oe(),Ve==="OK"?lt.success(d("fileBrowser.messages.deleteSuccessful")):lt.error(`${d("fileBrowser.messages.deleteFailed")}: ${Ve}`)}catch(He){Oe(),lt.error(`${d("fileBrowser.messages.deleteFailed")}: ${He}`)}},Le=()=>{oe(!1),q(!0)},Ke=Ie=>{ee(Ie.target.value)},Je=()=>{try{Wd.apiPostTeddyCloudRaw("/api/dirCreate?special=library",E+"/"+Y).then(Ie=>Ie.text()).then(Ie=>{if(Ie!=="OK")throw new Error(Ie);lt.success(d("tonies.createDirectory.directoryCreated")),q(!1),T(!R),ee("")}).catch(Ie=>{lt.error(Ie.message)})}catch{lt.error("Error while creating directory")}},Xe=()=>{oe(!1),q(!1),ee("")},ut=C.jsx(On,{title:d("tonies.createDirectory.modalTitle"),open:Z,onCancel:Xe,onOk:Je,okText:d("tonies.createDirectory.create"),cancelText:d("tonies.createDirectory.cancel"),children:C.jsx(Zt,{ref:m,placeholder:d("tonies.createDirectory.placeholder"),value:Y,onChange:Ke})}),pt=Ie=>{var we;!Ie.isDir&&((we=Ie.tonieInfo)!=null&&we.tracks)&&(re(Ie),X(!0))},We=Ie=>{i&&v(`?path=${Ie}`),E===Ie&&T(!R),oe(!1),I(Ie)},Ze=(Ie,we)=>{const Oe=Ie.split("/").filter(Fe=>Fe),He=[{title:C.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(""),children:d("fileBrowser.root")}),key:"/"}];return Oe.forEach((Fe,Ve)=>{const tt=`/${Oe.slice(0,Ve+1).join("/")}`;He.push({title:C.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(tt),children:Fe}),key:tt})}),C.jsx(pg,{items:He})},Ye=(Ie,we,Oe)=>{try{b.open({type:"loading",content:d("fileBrowser.messages.migrationOngoing"),duration:0});const He=`ruid=${Ie}&libroot=${we}`;Wd.apiPostTeddyCloudRaw("/api/migrateContent2Lib",He,Oe).then(Fe=>Fe.text()).then(Fe=>{b.destroy(),Fe==="OK"?(b.open({type:"success",content:d("fileBrowser.messages.migrationSuccessful")}),T(!R)):b.open({type:"error",content:d("fileBrowser.messages.migrationFailed")+": "+Fe})}).catch(Fe=>{b.destroy(),b.open({type:"error",content:d("fileBrowser.messages.migrationFailed")+": "+Fe})})}catch(He){b.destroy(),b.open({type:"error",content:d("fileBrowser.messages.migrationFailed")+": "+He})}},at=Ie=>{Q(Ie.target.value),y.current=Ie.target.selectionStart,oe(!0)},wt=()=>{Q(""),y.current=0},Ct=()=>{oe(!0)},Ot=Ie=>D.includes(Ie.key)?"highlight-row":"",dt=Ie=>{if(a>0){if(o){const Oe=Ie.length;Ie=Ie.filter(He=>{const Fe=w.find(Ve=>Ve.name===He);return Fe&&Fe.tafHeader!==void 0||Fe&&Fe.name.toLowerCase().endsWith(".tap")}),Oe!==Ie.length&<.warning(d("fileBrowser.selectTafOrTapOnly"))}Ie.length>a?lt.warning(d("fileBrowser.maxSelectedRows",{maxSelectedRows:a})):P(Ie)}else P(Ie);const we=(w==null?void 0:w.filter(Oe=>Ie.includes(Oe.name)))||[];u!==void 0&&u(we,E,e)},it=Ie=>{const we=Ie===".."?E.split("/").slice(0,-1).join("/"):`${E}/${Ie}`;i&&v(`?path=${we}`),oe(!1),P([]),I(we)},Qe=(Ie,we)=>we.reduce((Oe,He)=>{if(Oe&&Oe[He]!==void 0)return Oe[He]},Ie),st=(Ie,we,Oe)=>{const He=Array.isArray(Oe)?Qe(Ie,Oe):Ie[Oe],Fe=Array.isArray(Oe)?Qe(we,Oe):we[Oe];return He===void 0&&Fe===void 0?0:He===void 0?1:Fe===void 0?-1:typeof He=="string"&&typeof Fe=="string"?He.localeCompare(Fe):typeof He=="number"&&typeof Fe=="number"?He-Fe:(console.log("Unsupported types for sorting:",Ie,we),console.log("Unsupported types for sorting field:",Oe,He,Fe),0)},St=(Ie,we)=>Ie.isDir===we.isDir?st(Ie,we,"name"):Ie.isDir?-1:1;var et=[{title:a===0&&D.length>0?C.jsx(rn,{title:d("fileBrowser.deleteMultiple"),children:C.jsx($t,{icon:C.jsx(Ep,{}),onClick:Ne,disabled:D.length===0})},"deleteMultiple"):"",dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(Ie,we)=>{var Oe,He;return we&&((Oe=we.tonieInfo)!=null&&Oe.picture)?C.jsx("img",{src:we.tonieInfo.picture,alt:d("tonies.content.toniePicture"),onClick:()=>pt(we),style:{width:100,cursor:!we.isDir&&((He=we==null?void 0:we.tonieInfo)!=null&&He.tracks)?"help":"default"}},`picture-${we.name}`):C.jsx(C.Fragment,{})},showOnDirOnly:!1},{title:d("fileBrowser.name"),dataIndex:"name",key:"name",sorter:St,defaultSortOrder:"ascend",render:(Ie,we)=>{var Oe,He,Fe,Ve,tt;return we&&C.jsxs("div",{children:[C.jsxs("div",{className:"showSmallDevicesOnly",children:[C.jsxs("div",{children:[C.jsxs("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:[we.isDir?"["+we.name+"]":we.name," "]}),!we.isDir&&we.size?"("+cf(we.size)+")":""]}),C.jsx("div",{children:(Oe=we.tonieInfo)==null?void 0:Oe.model}),C.jsx("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:((He=we.tonieInfo)!=null&&He.series?(Fe=we.tonieInfo)==null?void 0:Fe.series:"")+((Ve=we.tonieInfo)!=null&&Ve.episode?" - "+((tt=we.tonieInfo)==null?void 0:tt.episode):"")}),C.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),C.jsxs("div",{className:"showMediumDevicesOnly",children:[C.jsxs("div",{children:[C.jsxs("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:[we.isDir?"["+we.name+"]":we.name," "]}),!we.isDir&&we.size?"("+cf(we.size)+")":""]}),C.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),C.jsx("div",{className:"showBigDevicesOnly",children:we.isDir?"["+we.name+"]":we.name})]},`name-${we.name}`)},filteredValue:[G],onFilter:(Ie,we)=>{var He,Fe,Ve,tt;const Oe=Ie.toLowerCase();return we.name===".."||we.name.toLowerCase().includes(Oe)||!we.isDir&&"tafHeader"in we&&we.tafHeader.size&&cf(we.tafHeader.size).toString().includes(Oe)||"tafHeader"in we&&((He=we.tafHeader.audioId)==null?void 0:He.toString().includes(Oe))||"tonieInfo"in we&&((Fe=we.tonieInfo)==null?void 0:Fe.model.toLowerCase().includes(Oe))||"tonieInfo"in we&&((Ve=we.tonieInfo)==null?void 0:Ve.series.toLowerCase().includes(Oe))||"tonieInfo"in we&&((tt=we.tonieInfo)==null?void 0:tt.episode.toLowerCase().includes(Oe))},showOnDirOnly:!0},{title:d("fileBrowser.size"),dataIndex:"size",key:"size",render:(Ie,we)=>C.jsx("div",{children:we.isDir?"":cf(Ie)},`size-${we.name}`),showOnDirOnly:!1,responsive:["xl"]},{title:d("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(Ie,we)=>{var Oe;return C.jsx("div",{children:(Oe=we.tonieInfo)==null?void 0:Oe.model},`model-${we.name}`)}},{title:C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"showMediumDevicesOnly",children:[d("fileBrowser.model"),"/",d("fileBrowser.series"),"/",d("fileBrowser.episode")]}),C.jsx("div",{className:"showBigDevicesOnly",children:d("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(Ie,we)=>{var Oe,He,Fe,Ve,tt,bt,xt;return C.jsxs("div",{children:[C.jsxs("div",{className:"showMediumDevicesOnly",children:[C.jsx("div",{children:(Oe=we.tonieInfo)==null?void 0:Oe.model}),C.jsx("div",{style:{wordBreak:"break-word"},children:((He=we.tonieInfo)!=null&&He.series?(Fe=we.tonieInfo)==null?void 0:Fe.series:"")+((Ve=we.tonieInfo)!=null&&Ve.episode?" - "+((tt=we.tonieInfo)==null?void 0:tt.episode):"")})]}),C.jsx("div",{className:"showBigDevicesOnly",children:(bt=we.tonieInfo)!=null&&bt.series?(xt=we.tonieInfo)==null?void 0:xt.series:""})]},`series-${we.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:d("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(Ie,we)=>{var Oe;return C.jsx("div",{children:(Oe=we.tonieInfo)==null?void 0:Oe.episode},`episode-${we.name}`)}},{title:d("fileBrowser.date"),dataIndex:"date",key:"date",render:(Ie,we)=>C.jsx("div",{children:new Date(Ie*1e3).toLocaleString()},`date-${we.name}`),showOnDirOnly:!0,responsive:["xl"]},{title:C.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:d("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(Ie,we)=>{let Oe=[];return we.tafHeader&&(e!=="library"&&(Oe.push(C.jsx(rn,{title:d("fileBrowser.migrateContentToLib"),children:C.jsx(nye,{onClick:()=>Ye(E.replace("/","")+we.name,!1,r),style:{margin:"0 8px 0 0"}})},`action-migrate-${we.name}`)),Oe.push(C.jsx(rn,{title:d("fileBrowser.migrateContentToLibRoot"),children:C.jsx(F1e,{onClick:()=>Ye(E.replace("/","")+we.name,!0,r),style:{margin:"0 8px 0 0"}})},`action-migrate-root-${we.name}`))),Oe.push(C.jsx(rn,{title:d("fileBrowser.playFile"),children:C.jsx(El,{style:{margin:"0 8px 0 0"},onClick:()=>f("/content"+E+"/"+we.name+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),we.tonieInfo)})},`action-play-${we.name}`))),n&&we.name.includes(".tap")&&(Oe.push(C.jsx(rn,{title:d("fileBrowser.tap.edit"),children:C.jsx(m0,{style:{margin:"0 8px 0 0"},onClick:()=>he(E+"/"+we.name)})},`action-edit-${we.name}`)),Oe.push(C.jsx(rn,{title:d("fileBrowser.tap.copy"),children:C.jsx(AW,{style:{margin:"0 8px 0 0"}})},`action-copy-${we.name}`))),we.name!==".."&&a===0&&Oe.push(C.jsx(rn,{title:d("fileBrowser.delete"),children:C.jsx(Ep,{onClick:()=>Ee(we.name,E+"/"+we.name,"?special="+e+(r?`&overlay=${r}`:"")),style:{margin:"0 8px 0 0"}})},`action-delete-${we.name}`)),Oe},showOnDirOnly:!1}];return et.forEach(Ie=>{Ie.hasOwnProperty("sorter")||(Ie.sorter=(we,Oe)=>st(we,Oe,Ie.dataIndex))}),s&&(et=et.filter(Ie=>Ie.showOnDirOnly)),c&&(et=et.filter(Ie=>typeof Ie.key=="string"?c.includes(Ie.key):!1)),C.jsxs(C.Fragment,{children:[S,C.jsx(Ap,{title:d("fileBrowser.confirmDeleteModal"),open:de,okText:d("fileBrowser.delete"),cancelText:d("fileBrowser.cancel"),content:d("fileBrowser.confirmDeleteDialog",{fileToDelete:J}),handleOk:je,handleCancel:Ae}),C.jsx(Ap,{title:d("fileBrowser.confirmDeleteModal"),open:ye,okText:d("fileBrowser.delete"),cancelText:d("fileBrowser.cancel"),content:d("fileBrowser.confirmMultipleDeleteDialog"),handleOk:ze,handleCancel:Ae}),De,Ce,ut,ie?C.jsx(OK,{open:te,tonieCardOrTAFRecord:ie,onClose:()=>X(!1),overlay:r}):"",C.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[C.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[C.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:d("tonies.currentPath")}),Ze(E,We)]}),a===0&&e==="library"?C.jsx($t,{size:"small",onClick:Le,style:{marginBottom:8},children:d("tonies.createDirectory.createDirectory")}):""]}),C.jsx(es,{dataSource:w,columns:et,rowKey:Ie=>Ie.name,pagination:!1,onRow:Ie=>({onDoubleClick:()=>{Ie.isDir?it(Ie.name):Ie.name.includes(".json")||Ie.name.includes(".tap")?ke(E+"/"+Ie.name):Ie.tafHeader&&Se(Ie.name,Ie.tafHeader)}}),rowClassName:Ot,rowSelection:a>0?{selectedRowKeys:D,onChange:dt}:{selectedRowKeys:D,onChange:dt,getCheckboxProps:Ie=>({disabled:Ie.name===".."}),onSelectAll:(Ie,we)=>{const Oe=Ie?we.filter(He=>He.name!=="..").map(He=>He.name):[];P(Oe)}},components:{header:{wrapper:Ie=>C.jsx("thead",{...Ie}),row:Ie=>C.jsxs(C.Fragment,{children:[C.jsx("tr",{...Ie}),C.jsx("tr",{children:C.jsx("th",{style:{padding:"10px 8px"},colSpan:et.length+1,children:C.jsx(Zt,{placeholder:d("fileBrowser.filter"),value:G,onChange:at,onFocus:Ct,ref:h,style:{width:"100%"},autoFocus:ae,addonAfter:C.jsx(da,{onClick:wt,disabled:G.length===0,style:{color:G.length===0?p.colorTextDisabled:p.colorText,cursor:G.length===0?"default":"pointer"}})})})})]}),cell:Ie=>C.jsx("th",{...Ie})}}}),C.jsx($K,{open:M,initialValuesJson:A?JSON.stringify(A,null,2):void 0,onCreate:Re,onCancel:()=>{L(!1)}},F)]})},h8e=new wn(fn()),NK=({open:e,onClose:t,setValue:n,props:r,tonieCardProps:a,audioId:o,hash:i})=>{const{t:s}=Ft(),[c]=qt.useForm();l.useEffect(()=>{e&&p(),e&&a&&c.setFieldsValue({series:a.tonieInfo.series,episodes:a.tonieInfo.episode,model:a.tonieInfo.model,language:a.tonieInfo.language,pic:a.tonieInfo.picture,tracks:a.tonieInfo.tracks})},[e,a,c]);const u=async x=>{if(x.tracks&&(x.tracks=x.tracks.filter(E=>E.track&&E.track.trim()).map(E=>E.track)),x.audio_id){x.audio_id=x.audio_id.filter(R=>R.audio_id&&R.audio_id.trim()&&R.hash&&R.hash.trim());const E=x.audio_id.map(R=>R.audio_id),I=x.audio_id.map(R=>R.hash);x={no:x.no,model:x.model,audio_id:E,hash:I,title:x.title,series:x.series,episodes:x.episodes,tracks:x.tracks,release:x.release,language:x.language,category:x.category,pic:x.pic}}v(x),h(!0);try{await h8e.apiPostTeddyCloudRaw("/api/doSomething",JSON.stringify(x),void 0,void 0,{"Content-Type":"application/json"}),x.article&&n&&(n(x.article),r.onChange(x.article)),p(),lt.success(s("tonies.addNewCustomTonieModal.successfullyCreated")),t()}catch(E){lt.error(s("tonies.addNewCustomTonieModal.failedToCreate")+E)}},d=()=>{c.submit()},f=()=>{p(),t()},p=()=>{c.resetFields(),c.setFieldsValue({audio_id:[{audio_id:o||"",hash:i||""}],tracks:[{track:""}]})},[g,v]=l.useState(""),[m,h]=l.useState(!1),y=C.jsx($t,{type:"primary",onClick:()=>b(),children:s("tonies.informationModal.ok")}),b=()=>{h(!1),f()};function S(){const x=window.matchMedia("(prefers-color-scheme: dark)").matches,E=localStorage.getItem("theme");return E==="auto"?x?"dark":"light":E}const w=C.jsx(On,{footer:y,width:700,title:"File (you can copy the content to the tonies.custom.json)",open:m,onCancel:b,children:g?C.jsxs(C.Fragment,{children:[C.jsx(Us,{language:"json",style:S()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(g,null,2)},"json-readable"),C.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),C.jsx(Us,{language:"json",style:S()==="dark"?Jl:ec,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(g,null,0)},"json-minimized")]}):"Loading..."});return C.jsxs(C.Fragment,{children:[C.jsxs(On,{title:s("tonies.addNewCustomTonieModal.title"),open:e,onCancel:f,onOk:d,okText:s("tonies.addNewCustomTonieModal.save"),width:Math.max(Math.min(window.innerWidth*.75,800),500),children:[C.jsx(na,{type:"info",showIcon:!0,message:"Work in progress - be aware!",description:"Currently, only the generated json fragment is displayed when saving the new model. This is not automatically inserted into the tonies.custom.json. You have to copy this into the file yourself.",style:{marginBottom:8}}),C.jsx(qt,{form:c,layout:"vertical",onFinish:u,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:24,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:C.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.series"),C.jsx(rn,{title:s("tonies.addNewCustomTonieModal.seriesHint"),children:C.jsx(iu,{style:{marginLeft:2}})},"series-tooltip")],name:"series",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.seriesRequired")}],children:C.jsx(Zt,{style:{width:"100%"}})},"series")}),C.jsx(En,{span:10,children:C.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.episode"),C.jsx(rn,{title:s("tonies.addNewCustomTonieModal.episodeHint"),children:C.jsx(iu,{style:{marginLeft:2}})},"episodes-tooltip")],name:"episodes",children:C.jsx(Zt,{style:{width:"100%"}})},"episodes")}),C.jsx(En,{span:6,children:C.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.language"),C.jsx(rn,{title:s("tonies.addNewCustomTonieModal.languageHint"),children:C.jsx(iu,{style:{marginLeft:2}})},"language-tooltip")],name:"language",children:C.jsx(Zt,{style:{width:"100%"}})},"language")})]})}),C.jsx(En,{span:24,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.model"),name:"model",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.modelRequired")}],children:C.jsx(Zt,{style:{width:"100%"}})},"model")}),C.jsx(En,{span:16,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.pic"),name:"pic",children:C.jsx(Zt,{style:{width:"100%"}})},"pic")})]})}),C.jsx(En,{span:24,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.no"),name:"no",children:C.jsx(Zt,{style:{width:"100%"}})},"no")}),C.jsx(En,{span:16,children:C.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.formfieldTitle"),C.jsx(rn,{title:s("tonies.addNewCustomTonieModal.formfieldTitleHint"),children:C.jsx(iu,{style:{marginLeft:2}})},"title-tooltip")],name:"title",children:C.jsx(Zt,{style:{width:"100%"}})},"title")})]})}),C.jsx(En,{span:24,children:C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.release"),name:"release",children:C.jsx(Zt,{style:{width:"100%"}})},"release")}),C.jsx(En,{span:16,children:C.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.category"),name:"category",children:C.jsx(Zt,{style:{width:"100%"}})},"category")})]})}),C.jsx(En,{span:24,children:C.jsx(Ba,{gutter:[16,0],children:C.jsx(En,{span:24,children:C.jsx(qt.List,{name:"audio_id",children:(x,{add:E,remove:I})=>C.jsxs(C.Fragment,{children:[x.map(({key:R,name:T,..._},$)=>C.jsxs(Ba,{gutter:[16,0],children:[C.jsx(En,{span:8,children:l.createElement(qt.Item,{..._,key:`audio-id-${R}`,name:[T,"audio_id"],label:C.jsx("div",{children:$===0?s("tonies.addNewCustomTonieModal.audioId"):""},`audio-id-label-${R}`)},C.jsx(Zt,{style:{width:"100%"}}))}),C.jsx(En,{span:16,children:l.createElement(qt.Item,{..._,key:`hash-${R}`,name:[T,"hash"],label:C.jsx("div",{children:$===0?s("tonies.addNewCustomTonieModal.hash"):""},`hash-label-${R}`)},C.jsx(Zt,{style:{width:"100%"},addonAfter:C.jsx($t,{type:"link",onClick:()=>I(T),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`audio-id-hash-remove-${R}`)}))})]},`audio-id-hash-row-${R}`)),C.jsx(qt.Item,{children:C.jsx($t,{type:"dashed",onClick:()=>E(),block:!0,children:s("tonies.addNewCustomTonieModal.addAudioIdHash")})},"add-audio-id-hash")]})},"audio-id-hash-list")})})}),C.jsx(En,{span:24,children:C.jsx(qt.List,{name:"tracks",children:(x,{add:E,remove:I})=>C.jsxs(C.Fragment,{children:[x.map(({key:R,name:T,..._},$)=>C.jsx(Ba,{gutter:[16,0],children:C.jsx(En,{span:24,children:l.createElement(qt.Item,{..._,key:`track-${R}`,name:[T,"track"],label:C.jsx("div",{children:$===0?s("tonies.addNewCustomTonieModal.track"):""},`track-label-${R}`)},C.jsx(Zt,{style:{width:"100%"},addonAfter:C.jsx($t,{type:"link",onClick:()=>I(T),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`track-remove-${R}`)},"input-track-"+R))})},`track-row-${R}`)),C.jsx(qt.Item,{children:C.jsx($t,{type:"dashed",onClick:()=>E(),block:!0,children:s("tonies.addNewCustomTonieModal.addTrack")})},"add-track")]})},"track-list")})]})})]}),w]})},v8e=new wn(fn()),b8e=e=>{const{t}=Ft();lt.useMessage();const[n,r]=l.useState([]),[a,o]=l.useState(),[i,s]=l.useState(),[c,u]=l.useState(!1),d=async g=>{const v=encodeURIComponent(g),m="/api/toniesJsonSearch?searchModel="+v+"&searchSeries="+v+"&searchEpisode="+v;try{const y=await(await v8e.apiGetTeddyCloudApiRaw(m)).json();s(y);const b=y.map(S=>({value:S.model,text:"["+S.model+"] "+S.series+" - "+S.episode,picture:S.picture}));r(b)}catch(h){lt.error(t("tonieArticleSearch.failedToFetchSearchResults")+h);return}},f=g=>{o(g),e.onChange(g)},p=()=>{u(!0)};return C.jsxs(C.Fragment,{children:[C.jsx(mr,{showSearch:!0,value:a,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:d,onChange:f,notFoundContent:null,options:(n||[]).map(g=>({value:g.value,label:C.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[C.jsx("img",{src:g.picture,alt:g.text,style:{display:"none"}}),g.text]})}))}),C.jsx(NK,{open:c,props:e,setValue:o,onClose:()=>u(!1)}),C.jsx(rn,{title:t("tonies.addNewCustomTonieHint"),children:C.jsx($t,{onClick:p,style:{marginTop:8},children:t("tonies.addNewCustomTonie")})})]})},y8e=({countryCode:e,height:t})=>{switch(e){case"de-de":return C.jsxs("svg",{height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 60",children:[C.jsx("path",{d:"M0 0h100v20H0z"}),C.jsx("path",{fill:"#D00",d:"M0 20h100v20H0z"}),C.jsx("path",{fill:"#FFCE00",d:"M0 40h100v20H0z"})]});case"en-gb":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.666",height:t,children:[C.jsxs("g",{fill:"#FFF",children:[C.jsx("path",{d:"M0 0h100v66.53H0z"}),C.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zM39.045 21.696 0 0v6.141l28.012 15.556z"})]}),C.jsx("path",{d:"M76.764 44.834 100 57.642V44.834zm-16.004 0L100 66.53v-6.141L71.988 44.834zM89.396 66.53 60.741 50.604V66.53zM17.602 44.834 0 54.62v-9.786zm21.442 2.768V66.55H4.971zM23.041 21.696 0 8.889v12.807zm16.004 0L0 0v6.141l28.012 15.556zM10.409 0l28.655 15.926V0zm71.793 21.696L100 11.911v9.786zM60.76 18.928V0h34.093z",fill:"#0052B4"}),C.jsxs("g",{fill:"#D80027",children:[C.jsx("path",{d:"M56.141 0H43.665v27.037H0v12.476h43.664V66.55H56.14V39.513h43.664V27.037H56.14z"}),C.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zm-32.748 0L0 60.41v6.14l39.045-21.715zm11.033-23.139L0 0v6.141l28.012 15.556zm32.748 0L100 6.141V0L60.76 21.696z"})]})]});case"en-us":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),C.jsx("path",{d:"M0 0h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.127H0zm0 10.273h100v5.127H0zm0 10.253h100v5.127H0zm0 10.253h100v5.129H0z",fill:"#D80027"}),C.jsx("path",{fill:"#2E52B2",d:"M0 0h50v35.887H0z"}),C.jsx("path",{d:"m9.318 27.076-.78-2.495-.858 2.495H5.107l2.086 1.501-.78 2.495 2.125-1.54 2.066 1.54-.799-2.495 2.125-1.501zm10.975 0-.799-2.495-.819 2.495h-2.574l2.086 1.501-.78 2.495 2.086-1.54 2.105 1.54-.78-2.495 2.086-1.501zm11.014 0-.838-2.495-.78 2.495h-2.632l2.144 1.501-.819 2.495 2.086-1.54 2.144 1.54-.819-2.495 2.086-1.501zm10.955 0-.78-2.495-.819 2.495H38.07l2.105 1.501-.78 2.495 2.086-1.54 2.105 1.54-.838-2.495 2.144-1.501zM19.493 14.678l-.819 2.495h-2.573l2.086 1.54-.78 2.456 2.086-1.52 2.105 1.52-.78-2.456 2.086-1.54h-2.612zm-10.955 0-.858 2.495H5.107l2.086 1.54-.78 2.456 2.125-1.52 2.066 1.52-.799-2.456 2.125-1.54H9.318zm21.93 0-.78 2.495h-2.632l2.144 1.54-.819 2.456 2.086-1.52 2.144 1.52-.819-2.456 2.086-1.54h-2.573zm11.014 0-.819 2.495H38.07l2.105 1.54-.78 2.456 2.086-1.52 2.105 1.52-.838-2.456 2.144-1.54H42.26zM8.539 4.814 7.681 7.27H5.107l2.086 1.54-.78 2.476 2.125-1.539 2.066 1.54-.799-2.476 2.125-1.54H9.318zm10.955 0-.819 2.456h-2.574l2.086 1.54-.78 2.476 2.086-1.539 2.105 1.54-.78-2.476 2.086-1.54h-2.612zm10.975 0-.78 2.456h-2.632l2.144 1.54-.819 2.476 2.086-1.54 2.144 1.54-.819-2.476 2.086-1.54h-2.573zm11.014 0-.819 2.456h-2.593l2.105 1.54-.78 2.476 2.086-1.54 2.105 1.54-.838-2.476 2.144-1.54h-2.632z",fill:"#FFF"})]});case"fr-fr":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),C.jsx("path",{fill:"#0052B4",d:"M0 0h33.333v66.667H0z"}),C.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-be":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#fdda25",d:"M0 0h100v66.667H0z"}),C.jsx("path",{d:"M0 0h33.333v66.667H0z"}),C.jsx("path",{fill:"#ef3340",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-nl":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFF",d:"M0 22.222h100v22.222H0z"}),C.jsx("path",{fill:"#cd1f2a",d:"M0 0h100v22.222H0z"}),C.jsx("path",{fill:"#1d4185",d:"M0 44.444h100v22.223H0z"})]});case"pt-pt":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[C.jsx("path",{y:"85.337",fill:"#D80027",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),C.jsx("path",{fill:"#6DA544",points:"196.641,85.337 196.641,261.565 196.641,426.663 0,426.663 0,85.337 ",d:"M38.406 16.667L38.406 51.087L38.406 83.333L0 83.333L0 16.667Z"}),C.jsx("path",{fill:"#FFDA44",cx:"196.641",cy:"256",r:"64",d:"M50.906 50A12.5 12.5 0 0 1 38.406 62.5A12.5 12.5 0 0 1 25.906 50A12.5 12.5 0 0 1 50.906 50z"}),C.jsx("path",{fill:"#D80027",d:"M31.375 43.75v7.813c0 3.883 3.148 7.031 7.031 7.031s7.031 -3.148 7.031 -7.031V43.75z"}),C.jsx("path",{fill:"#FFFFFF",d:"M38.406 53.906c-1.292 0 -2.344 -1.051 -2.344 -2.344v-3.125h4.688v3.125c0 1.292 -1.052 2.344 -2.344 2.344"})]});case"it-it":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFF",d:"M66.667 0H0v66.53h99.805V0Z"}),C.jsx("path",{fill:"#6DA544",d:"M0 0h33.333v66.667H0z"}),C.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"es-es":return C.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[C.jsx("path",{fill:"#FFFFFF",d:"M0 0h100v66.667H0z"}),C.jsx("path",{fill:"#D03433",d:"M0 0h100v17.778H0zm0 48.889h100v17.778H0z"}),C.jsx("path",{fill:"#FBCA46",d:"M0 17.778h100v31.111H0z"}),C.jsx("path",{fill:"#FFFFFF",d:"M34.667 31.111h4.444v2.222h-4.444z"}),C.jsx("path",{fill:"#A41517",d:"M32 37.778c0 1.333 1.333 2.222 2.667 2.222s2.667 -0.889 2.667 -2.222L37.778 31.111H31.556zM29.333 31.111c0 -1.333 0.889 -2.222 1.778 -2.222h6.667c1.333 0 2.222 0.889 2.222 1.778V31.111l-0.444 6.667c-0.444 2.667 -2.222 4.444 -4.889 4.444s-4.444 -1.778 -4.889 -4.444z"}),C.jsx("path",{fill:"#A41517",d:"M30.222 33.333h8.889V35.556h-2.222l-2.222 4.444 -2.222 -4.444h-2.222zM23.556 26.667h4.444v15.556h-4.444zm17.778 0h4.444v15.556h-4.444zm-11.111 -2.222c0 -1.333 0.889 -2.222 2.222 -2.222h4.444c1.333 0 2.222 0.889 2.222 2.222v0.889q0 1.333 -1.333 1.333H31.111c-0.444 0 -0.889 -0.444 -0.889 -0.889z"})]});case"pl-pl":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[C.jsxs("g",{children:[C.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),C.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"170.663",d:"M0 16.667H100V50H0V16.667z"})]}),C.jsx("path",{y:"256",fill:"#D80027",width:"512",height:"170.663",d:"M0 50H100V83.333H0V50z"})]});case"tr-tr":return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,viewBox:"0 -5000 15000 10000",children:[C.jsx("path",{fill:"#E30A17",d:"M0-5000h15000V5000H0z"}),C.jsx("path",{fill:"#FFFFFF",d:"m6958.333 0 2261.333-734.667-1397.667 1923.5v-2377.666l1397.667 1923.5zM7112.5 1336.833a2500 2500 0 1 1 0-2673.667 2000 2000 0 1 0 0 2673.667"})]});default:return null}},YE=["de-de","en-gb","en-us","es-es","fr-fr","it-it","nl-be","nl-nl","pl-pl","pt-pt","tr-tr","undefined"],S8e=e=>{const{t}=Ft(),[n,r]=lt.useMessage(),[a,o]=l.useState([]),[i,s]=l.useState(),[c,u]=l.useState(!1),d="https://de1.api.radio-browser.info/json/";l.useEffect(()=>{(async()=>{try{(await fetch(d+"stats")).ok&&u(!0)}catch{console.log("Radio Browser API not available, disable radiostream search."),u(!1)}})()},[]);const f=(h,y)=>{let b;return(...S)=>{clearTimeout(b),b=setTimeout(()=>h.apply(void 0,S),y)}},p=async h=>{if(o([]),h==="")return;const y=encodeURIComponent(h),b=d+"stations/search?name="+y+"&is_https=true&hidebroken=true";try{const S=await fetch(b,{});if(!S.ok)throw new Error(S.status+" "+S.statusText);const w=await S.json(),x=Array.from(new Set(w.map(E=>E.url))).map(E=>{const I=w.find(R=>R.url===E);return{value:I.url,text:(I.country?"["+I.country+"] ":"")+I.name+(I.language?" ("+I.language+")":"")}});o(x)}catch(S){lt.error(t("radioStreamSearch.failedToFetchSearchResults")+S);return}},g=l.useCallback(f(p,300),[]),v=h=>{s(h),e.onChange(h)};return c?C.jsxs(C.Fragment,{children:[C.jsx(Bn.Text,{style:{fontSize:"small",display:"inline-block",marginTop:"8px"},children:t("radioStreamSearch.searchLabel")}),r,C.jsx(mr,{showSearch:!0,style:{margin:"8px 0"},value:i,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:g,onChange:v,notFoundContent:null,options:(a||[]).map(h=>({value:h.value,label:h.text}))})]}):C.jsx(C.Fragment,{})},Fc=new wn(fn()),{Meta:w8e}=ld,{Text:v5}=Bn,{useToken:C8e}=hi,x8e=({tonieCard:e,lastRUIDs:t,overlay:n,readOnly:r,defaultLanguage:a="",onHide:o,onUpdate:i})=>{const{t:s}=Ft(),{token:c}=C8e(),[u,d]=l.useState(0),[f,p]=l.useState(e),[g,v]=lt.useMessage(),[m,h]=l.useState(f.nocloud),[y,b]=l.useState(f.live),[S,w]=l.useState(f.downloadTriggerUrl),{playAudio:x}=uO(),[E,I]=l.useState(!1),[R,T]=l.useState(!1),[_,$]=l.useState(!1),[D,P]=l.useState(f.tonieInfo.model),[A,O]=l.useState(""),[N,k]=l.useState(f.source),[M,L]=l.useState(""),F=async()=>{try{const pe=await Fc.apiGetTagInfo(f.ruid,n);p(pe),i(pe)}catch(pe){lt.error("Error fetching updated card: "+pe)}},j=`${f.tonieInfo.series}`+(f.tonieInfo.episode?` - ${f.tonieInfo.episode}`:""),B="sourceInfo"in f?`${f.sourceInfo.series}`+(f.sourceInfo.episode?` - ${f.sourceInfo.episode}`:""):"",z="sourceInfo"in f&&(f.sourceInfo.picture!==f.tonieInfo.picture&&j!==B||f.sourceInfo.picture===f.tonieInfo.picture&&j!==B),H=(pe,xe,Te)=>{if(pe&&pe.length===1){const ke=(Te==="library"?"lib:/":"content:/")+xe+"/"+pe[0].name;L(ke)}else L(N)},U=()=>{$(!0)},Z=()=>{L(N),$(!1)},q=()=>{O(D),L(N),T(!0)},Y=async()=>{T(!1);const pe=[];N!==M&&pe.push(G()),D!==A&&pe.push(re()),await Promise.all(pe),F()},ee=async()=>{try{await Fc.apiPostTeddyCloudContentJson(f.ruid,"live="+!y,n),b(!y),y?lt.success(s("tonies.messages.liveDisabled")):lt.success(s("tonies.messages.liveEnabled")),F()}catch(pe){lt.error(s("tonies.messages.couldNotChangeLiveFlag")+pe)}},te=async()=>{try{await Fc.apiPostTeddyCloudContentJson(f.ruid,"nocloud="+!m,n),p({...f,nocloud:!m}),h(!m),m?lt.success(s("tonies.messages.cloudAccessEnabled")):lt.success(s("tonies.messages.cloudAccessBlocked")),F()}catch(pe){lt.error(s("tonies.messages.couldNotChangeCloudFlag")+pe)}},X=async pe=>{x(pe,z?f.sourceInfo:f.tonieInfo)},ie=async()=>{const pe=f.downloadTriggerUrl;w("");try{g.open({type:"loading",content:s("tonies.messages.downloading"),duration:0});const Te=await(await Fc.apiGetTeddyCloudApiRaw(pe)).blob();g.destroy(),g.open({type:"success",content:s("tonies.messages.downloadedFile")}),F()}catch(xe){g.destroy(),g.open({type:"error",content:s("tonies.messages.errorDuringDownload")+xe}),w(""+pe)}},re=async()=>{try{await Fc.apiPostTeddyCloudContentJson(f.ruid,"tonie_model="+A,n),P(A),lt.success(s("tonies.messages.setTonieToModelSuccessful",{selectedModel:A||s("tonies.messages.setToEmptyValue")}))}catch(pe){lt.error(s("tonies.messages.setTonieToModelFailed")+pe)}},G=async()=>{try{await Fc.apiPostTeddyCloudContentJson(f.ruid,"source="+M,n),k(M),lt.success(s("tonies.messages.setTonieToSourceSuccessful",{selectedSource:M||s("tonies.messages.setToEmptyValue")}))}catch(pe){lt.error(s("tonies.messages.setTonieToSourceFailed")+pe)}m||te()},Q=pe=>{O(pe.target.value)},ae=pe=>{L(pe.target.value)},oe=t.filter(([pe])=>pe===f.ruid).map(([,pe,xe])=>({ruidTime:pe,boxName:xe})),de=pe=>{O(pe)},ve=pe=>{L(pe)},ye=C.jsxs(C.Fragment,{children:[C.jsxs("h3",{style:{lineHeight:0},children:[s("tonies.editModal.title"),f.tonieInfo.model?" ("+f.tonieInfo.model+")":""]}),f.tonieInfo.series?C.jsx(v5,{type:"secondary",children:j}):" "]}),ge=C.jsx(C.Fragment,{children:C.jsxs($t,{type:"primary",onClick:Y,disabled:N===M&&D===A,children:[C.jsx(LW,{},"saveClick")," ",s("tonies.editModal.save")]})}),J=C.jsxs(On,{open:R,onCancel:()=>T(!1),title:ye,footer:ge,width:700,children:[C.jsx(Ca,{orientation:"left",orientationMargin:"0",children:s("tonies.editModal.source")}),C.jsxs("div",{children:[C.jsx(Zt,{value:M,width:"auto",onChange:ae,addonBefore:C.jsx(da,{onClick:()=>L(N),style:{color:N===M?c.colorTextDisabled:c.colorText,cursor:N===M?"default":"pointer"}}),addonAfter:C.jsx(V$,{onClick:()=>U()})}),C.jsx(S8e,{placeholder:s("tonies.editModal.placeholderSearchForARadioStream"),onChange:ve})]}),C.jsx(Ca,{orientation:"left",orientationMargin:"0",children:s("tonies.editModal.model")}),C.jsxs("div",{children:[C.jsx("p",{children:C.jsx(Zt,{value:A,width:"auto",onChange:Q,addonBefore:C.jsx(da,{onClick:()=>O(D),style:{color:D===A?c.colorTextDisabled:c.colorText,cursor:D===A?"default":"pointer"}})})}),C.jsx(b8e,{placeholder:s("tonies.editModal.placeholderSearchForAModel"),onChange:de})]})]}),ce=C.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:c.colorBgElevated},children:[C.jsx($t,{onClick:Z,children:s("tonies.selectFileModal.cancel")}),C.jsx($t,{type:"primary",onClick:()=>$(!1),children:s("tonies.selectFileModal.ok")})]}),ue=C.jsx(On,{className:"sticky-footer",title:s("tonies.selectFileModal.selectFile"),open:_,onOk:()=>$(!1),onCancel:Z,width:"auto",footer:ce,children:C.jsx(Og,{special:"library",maxSelectedRows:1,trackUrl:!1,onFileSelectChange:H})}),fe=r?[C.jsx(iu,{onClick:()=>{d(u+1),I(!0)}},"info"),f.valid||N.startsWith("http")?C.jsx(El,{onClick:()=>X(f.valid?""+f.audioUrl:N)},"playpause"):C.jsx(El,{style:{cursor:"default",color:c.colorTextDisabled}},"playpause"),C.jsx(dD,{style:{cursor:"default",color:m?"red":c.colorTextDisabled}},"nocloud"),C.jsx(pD,{style:{cursor:"default",color:y?"red":c.colorTextDisabled}},"live")]:[C.jsx(iu,{onClick:()=>{d(u+1),I(!0)}},"info"),C.jsx(m0,{onClick:q},"edit"),f.valid||N.startsWith("http")?C.jsx(El,{onClick:()=>X(f.valid?""+f.audioUrl:N)},"playpause"):S&&S.length>0?C.jsx(U$,{onClick:ie},"download"):C.jsx(El,{style:{cursor:"default",color:c.colorTextDisabled}},"playpause"),C.jsx(dD,{style:{color:m?"red":c.colorTextDescription},onClick:te},"nocloud"),C.jsx(pD,{style:{color:y?"red":c.colorTextDescription},onClick:ee},"live")];return C.jsxs(C.Fragment,{children:[v,C.jsx(ld,{hoverable:!1,size:"small",style:oe&&oe.length>0?{background:c.colorBgContainerDisabled,borderTop:"3px #1677ff inset"}:{background:c.colorBgContainerDisabled,paddingTop:"2px"},title:C.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[C.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:f.tonieInfo.series?f.tonieInfo.series:s("tonies.unsetTonie")}),a!==f.tonieInfo.language?C.jsx(rn,{placement:"top",zIndex:2,title:s("languageUtil."+f.tonieInfo.language),children:C.jsx(v5,{style:{height:20,width:"auto"},children:C.jsx(y8e,{countryCode:f.tonieInfo.language,height:20})})}):""]}),cover:C.jsxs("div",{style:{position:"relative"},children:[C.jsx("img",{alt:`${f.tonieInfo.series} - ${f.tonieInfo.episode}`,src:f.tonieInfo.picture?f.tonieInfo.picture:"/img_unknown.png",style:f.tonieInfo.picture.endsWith("img_unknown.png")?{padding:8,paddingTop:10,width:"100%"}:{padding:8,width:"100%"}}),z?C.jsx(rn,{title:s("tonies.alternativeSource",{originalTonie:'"'+j+'"',assignedContent:'"'+B+'"'}).replace(' "" '," "),placement:"bottom",children:C.jsx("img",{src:f.sourceInfo.picture,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),actions:fe,children:C.jsx(w8e,{title:`${f.tonieInfo.episode}`,description:f.uid})},f.ruid),C.jsx(OK,{open:E,onClose:()=>I(!1),tonieCardOrTAFRecord:f,readOnly:r,lastRUIDs:t,onHide:o,overlay:n},u),ue,J]})},E8e=({currentPage:e,onChange:t,total:n,pageSize:r,additionalButtonOnClick:a})=>{const{t:o}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(B$,{current:e,total:n,pageSize:r,onChange:t,showSizeChanger:!0,pageSizeOptions:["24","48","96","192"],locale:{items_per_page:o("tonies.tonies.pageSelector")},style:{marginBottom:8}}),C.jsx($t,{onClick:a,style:{marginLeft:16},children:o("tonies.tonies.showAll")})]})},{Option:I8e}=mr,XE=new wn(fn()),ZE="toniesListState",YO=({tonieCards:e,showFilter:t,showPagination:n,overlay:r,readOnly:a,defaultLanguage:o="",onToniesCardUpdate:i})=>{const{t:s}=Ft(),c=tl(),[u,d]=l.useState(e),[f,p]=l.useState(""),[g,v]=l.useState(""),[m,h]=l.useState(""),[y,b]=l.useState([]),[S,w]=l.useState(!1),[x,E]=l.useState(!1),[I,R]=l.useState(!1),[T,_]=l.useState(!1),[$,D]=l.useState(!1),[P,A]=l.useState(!1),[O,N]=l.useState(!1),[k,M]=l.useState(!1),[L,F]=l.useState(!1),[j,B]=l.useState(!1),[z,H]=l.useState(!1),[U,Z]=l.useState(!0),[q,Y]=l.useState(!0),[ee,te]=l.useState([]),[X,ie]=l.useState(()=>{const he=localStorage.getItem(ZE);if(he){const{pageSize:Ee}=JSON.parse(he);return Ee}return 24}),[re,G]=l.useState(1),[Q,ae]=l.useState(!0),[oe,de]=l.useState(!1),[ve,ye]=l.useState(!0),[ge,J]=l.useState([]),[ce,ue]=l.useState(0);l.useEffect(()=>{const he=localStorage.getItem(ZE);if(he)try{const{pageSize:Ee,showAll:je}=JSON.parse(he);je?Ue():(ie(Ee),De(1,Ee))}catch(Ee){console.error("Error parsing stored state:",Ee)}else console.log("No stored state found.")},[]),l.useEffect(()=>{(async()=>{const Ee=async ze=>await XE.apiGetTonieboxLastRUID(ze),je=async ze=>await XE.apiGetTonieboxLastRUIDTime(ze),Ae=await XE.apiGetTonieboxesIndex(),Ne=await Promise.all(Ae.map(async ze=>{const qe=await Ee(ze.ID),Le=await je(ze.ID);return[qe,Le,ze.boxName]}));te(Ne)})()},[]);const fe=l.useMemo(()=>e.map(he=>he.ruid).join(","),[e]);l.useEffect(()=>{const Ee=new URLSearchParams(c.search).get("tonieRUID");if(Ee){p(Ee),Z(!1);const je=e.filter(Ae=>Ae.ruid.toLowerCase()===Ee);d(je)}else d(e);ue(je=>je+1),Y(!1)},[c.search,fe]),l.useEffect(()=>{G(1),ue(he=>he+1)},[fe]),l.useEffect(()=>{const he=JSON.stringify({pageSize:X,paginationEnabled:Q,showAll:oe});localStorage.setItem(ZE,he)},[ve,X,Q,oe]);const pe=()=>{ye(!ve)},xe=he=>{i&&i(he),d(Ee=>Ee.map(je=>je.ruid===he.ruid?he:je))},Te=()=>{let he=e.filter(Ee=>{var je,Ae;return(((je=Ee.sourceInfo)==null?void 0:je.series)&&Ee.sourceInfo.series.toLowerCase().includes(g.toLowerCase())||Ee.tonieInfo.series.toLowerCase().includes(g.toLowerCase()))&&(((Ae=Ee.sourceInfo)==null?void 0:Ae.episode)&&Ee.sourceInfo.episode.toLowerCase().includes(m.toLowerCase())||Ee.tonieInfo.episode.toLowerCase().includes(m.toLowerCase()))&&(y.length===0||y.includes(Ee.tonieInfo.language!==void 0&&YE.includes(Ee.tonieInfo.language)?Ee.tonieInfo.language:"undefined")||y.includes(Ee.sourceInfo&&Ee.sourceInfo.language!==void 0&&YE.includes(Ee.sourceInfo.language)?Ee.sourceInfo.language:"undefined"))&&(!x||Ee.valid)&&(!I||!Ee.valid)&&(!T||Ee.exists)&&(!$||!Ee.exists)&&(!P||Ee.live)&&(!O||!Ee.live)&&(!k||Ee.nocloud)&&(!L||!Ee.nocloud)&&(!j||Ee.hasCloudAuth)&&(!z||!Ee.hasCloudAuth)});f&&(he=he.filter(Ee=>{var je,Ae,Ne;return Ee.tonieInfo.series.toLowerCase().includes(f.toLowerCase())||((je=Ee.sourceInfo)==null?void 0:je.series)&&Ee.sourceInfo.series.toLowerCase().includes(f.toLowerCase())||Ee.tonieInfo.episode.toLowerCase().includes(f.toLowerCase())||((Ae=Ee.sourceInfo)==null?void 0:Ae.episode)&&Ee.sourceInfo.episode.toLowerCase().includes(f.toLowerCase())||Ee.tonieInfo.model.toLowerCase().includes(f.toLowerCase())||((Ne=Ee.sourceInfo)==null?void 0:Ne.model)&&Ee.sourceInfo.model.toLowerCase().includes(f.toLowerCase())||Ee.ruid.toLowerCase().includes(f.toLowerCase())||Ee.uid.toLowerCase().includes(f.toLowerCase())})),S&&(he=he.filter(Ee=>ee.some(([je])=>je===Ee.ruid))),ge&&(he=he.filter(Ee=>!ge.includes(Ee.ruid))),G(1),d(he),ue(Ee=>Ee+1)},Pe=he=>{d(u.filter(Ee=>Ee.ruid!==he)),J(Ee=>[...Ee,he]),ue(Ee=>Ee+1)},ke=()=>{p(""),v(""),h(""),E(!1),R(!1),_(!1),D(!1),A(!1),N(!1),M(!1),F(!1),B(!1),H(!1),w(!1),b([]);const he=window.location.pathname;window.history.pushState({},"",he),c.search="",ge&&(e=e.filter(Ee=>!ge.includes(Ee.ruid))),d(e),ue(Ee=>Ee+1)},Ue=()=>{de(!0),ae(!1),pe()},Be=()=>{ae(!0),de(!1),De(1,X)},De=(he,Ee)=>{ie(Ee),ue(je=>je+1),G(he),pe(),window.scrollTo(0,0)};if(q)return C.jsx("div",{children:"Loading..."});const Se=()=>{if(oe)return u!==null?u:e;{const he=(re-1)*X,Ee=he+X;return u!==null?u.slice(he,Ee):e.slice(he,Ee)}},_e=C.jsx("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:Q?C.jsx(E8e,{currentPage:re,onChange:De,total:u!==null?u.length:e.length,pageSize:X,additionalButtonOnClick:Ue}):C.jsx($t,{onClick:Be,children:s("tonies.tonies.showPagination")})}),Ce=C.jsxs(C.Fragment,{children:[C.jsx("label",{htmlFor:"search-field",className:"filter-label",children:s("tonies.tonies.filterBar.searchLabel")}),C.jsx(Zt.Search,{id:"search-field",placeholder:s("tonies.tonies.filterBar.searchPlaceholder"),value:f,onChange:he=>p(he.target.value),onSearch:Te,enterButton:!0,style:{margin:"8px 0 8px 0"}}),C.jsxs("div",{className:"filter-container",children:[C.jsx("label",{className:"filter-label",children:s("tonies.tonies.filterBar.filterLabel")}),C.jsx(Zt,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.seriesFilterPlaceholder"),value:g,onChange:he=>v(he.target.value)}),C.jsx(Zt,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.episodeFilterPlaceholder"),value:m,onChange:he=>h(he.target.value)}),C.jsx(mr,{mode:"multiple",placeholder:s("tonies.tonies.filterBar.languagePlaceholder"),value:y,onChange:he=>b(he),style:{width:"100%",margin:"8px 0"},children:YE.map(he=>C.jsx(I8e,{value:he,children:s(he?"languageUtil."+he:"languageUtil.other")},he))}),C.jsxs("div",{children:[C.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"16px"},children:[C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:x,onChange:he=>E(he)}),s("tonies.tonies.filterBar.valid")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:I,onChange:he=>R(he)}),s("tonies.tonies.filterBar.invalid")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:T,onChange:he=>_(he)})," ",s("tonies.tonies.filterBar.exists")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:$,onChange:he=>D(he)}),s("tonies.tonies.filterBar.notExists")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:P,onChange:he=>A(he)})," ",s("tonies.tonies.filterBar.live")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:O,onChange:he=>N(he)})," ",s("tonies.tonies.filterBar.unsetLive")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:L,onChange:he=>F(he)}),s("tonies.tonies.filterBar.unsetNoCloud")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:k,onChange:he=>M(he)}),s("tonies.tonies.filterBar.noCloud")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:j,onChange:he=>B(he)}),s("tonies.tonies.filterBar.hasCloudAuth")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:z,onChange:he=>H(he)}),s("tonies.tonies.filterBar.unsetHasCloudAuth")]}),C.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[C.jsx(va,{checked:S,onChange:he=>w(he)}),s("tonies.tonies.filterBar.lastPlayed")]})]}),C.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",marginTop:8},children:[C.jsx($t,{onClick:ke,style:{marginLeft:16},children:s("tonies.tonies.filterBar.resetFilters")}),C.jsx($t,{onClick:Te,style:{marginLeft:16},children:s("tonies.tonies.filterBar.applyFilters")})]})]})]})]}),Re=[{key:"search-filter",label:s(U?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:Ce}];return C.jsxs("div",{className:"tonies-list-container",children:[t?C.jsx(k$,{items:Re,defaultActiveKey:U?[]:["search-filter"],onChange:()=>Z(!U),bordered:!1}):"",C.jsx(Bs,{header:n?_e:"",footer:n?_e:"",grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:4,xxl:6},dataSource:Se(),renderItem:he=>C.jsx(Bs.Item,{id:he.ruid,children:C.jsx(x8e,{tonieCard:he,lastRUIDs:ee,overlay:r,readOnly:a,defaultLanguage:o,onHide:Pe,onUpdate:xe})})},ce)]})},Gd=new wn(fn()),{Paragraph:Hm}=Bn,T8e=()=>{const{t:e}=Ft(),[t,n]=l.useState([]),[r,a]=l.useState(!1),[o,i]=l.useState(!1),[s,c]=l.useState(""),[u,d]=l.useState([]);l.useEffect(()=>{(async()=>{const h=await Gd.apiGetSecurityMITAlert();a(h)})(),(async()=>{try{const h=await Gd.apiGetNewBoxesAllowed();i(h),h&&(async()=>{const b=await Gd.apiGetTonieboxesIndex(),S=await Promise.all(b.map(async w=>{const x=await Gd.apiGetTonieboxApiAccess(w.ID);return[w.boxName,x]}));d(S)})()}catch(h){lt.error("Error: "+h)}})(),(async()=>{const h=(await Gd.apiGetTagIndexMergedAllOverlays(!0)).filter(y=>!y.hide);n(h.sort((y,b)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())))})()},[]),l.useEffect(()=>{const g={};t.forEach(h=>{const y=h.tonieInfo.language;g[y]?g[y]++:g[y]=1});let v=0,m="";for(const h in g)g.hasOwnProperty(h)&&g[h]>v&&(v=g[h],m=h);c(m)},[t]);const f=u.filter(g=>!g[1]),p=o?C.jsxs(C.Fragment,{children:[C.jsx(na,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}),f.length>0&&C.jsx(na,{message:e("tonieboxes.boxWithoutAPIAccess"),description:C.jsxs(C.Fragment,{children:[e("tonieboxes.boxWithoutAPIAccessText"),C.jsx("ul",{children:f.map(g=>C.jsx("li",{children:g[0]},g[0]))}),e("tonieboxes.boxWithoutAPIAccessGoToTonieboxes"),C.jsx(Rt,{to:"/tonieboxes",children:e("tonieboxes.navigationTitle")})]}),type:"info",showIcon:!0,style:{margin:"16px 0"}})]}):null;return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vs,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vs,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsxs(Hm,{children:[C.jsx("h1",{children:e("home.title")}),r?C.jsx(na,{message:e("security.alert"),description:e("security.incident_detected"),type:"error",showIcon:!0,style:{margin:"16px 0"}}):"",e("home.intro"),p]}),C.jsxs(Hm,{children:[e("home.forumIntroPart1"),C.jsx(Rt,{to:"https://forum.revvox.de/",target:"_blank",children:"https://forum.revvox.de/"}),e("home.forumIntroPart2")]}),C.jsxs(Hm,{children:[C.jsx("h2",{children:e("home.yourTonies")}),C.jsx(YO,{tonieCards:t.filter(g=>g.type==="tag"&&g.tonieInfo.series).slice(0,6),overlay:"",showFilter:!1,showPagination:!1,readOnly:!0,defaultLanguage:s}),C.jsx($t,{children:C.jsxs(Rt,{to:"/tonies",children:[e("home.toAllYourTonies")," (",t.filter(g=>g.type==="tag").length,")"]})})]}),C.jsxs(Hm,{children:[C.jsx("h2",{children:e("home.helpfulLinks")}),C.jsxs("ul",{children:[C.jsx("li",{children:C.jsx(Rt,{to:"/community/faq",children:"FAQ"})}),C.jsx("li",{children:C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"})}),C.jsx("li",{children:C.jsx(Rt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"})}),C.jsx("li",{children:C.jsx(Rt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"})}),C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"TeddyCloud Wiki"})})]})]})]})]})]})},{useToken:R8e}=hi,_8e=()=>{const{token:e}=R8e();return C.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",x:"0px",y:"0px",width:"100%",viewBox:"0 0 512 512",children:[C.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M285.000000,95.000000 C285.726776,91.291718 284.143219,89.788498 280.551392,88.369873 C247.948990,75.493263 212.672882,91.508270 199.495224,122.998001 C196.613541,129.884201 195.385559,137.055237 195.485504,144.500198 C195.559326,149.999207 195.570007,155.501114 195.483032,160.999725 C195.362961,168.591705 191.442429,172.487579 184.000000,172.494614 C166.333344,172.511307 148.666656,172.510849 131.000000,172.494736 C123.739044,172.488113 119.744461,168.704391 119.512695,161.499588 C118.937752,143.626343 119.484947,125.767700 124.620247,108.535835 C129.305405,92.814384 136.600082,78.329407 146.361160,64.899094 C160.063324,46.046219 177.407562,31.600046 198.103745,21.717247 C219.862259,11.327159 243.132431,6.942070 267.508698,8.891317 C284.115204,10.219257 299.968292,14.037633 314.973419,21.056805 C338.704193,32.157684 357.928345,48.584900 372.550323,70.466385 C383.991730,87.588272 391.730164,106.267952 394.317322,126.523338 C399.345093,165.887207 389.786652,201.671356 364.978485,232.982956 C350.265991,251.552322 331.599060,265.211121 309.924530,274.320435 C296.501526,279.961792 282.229004,283.352203 267.499878,283.997559 C263.333923,284.180115 259.162445,284.263275 255.000793,284.513092 C242.331039,285.273529 234.536453,294.940430 234.510101,310.000031 C234.471024,332.333282 234.502640,354.666656 234.498566,377.000000 C234.497147,384.740631 230.771179,388.486389 223.000000,388.494385 C205.666687,388.512268 188.326492,388.221069 171.003571,388.645569 C164.614304,388.802094 159.267792,383.378479 159.354935,376.998016 C159.705429,351.336151 159.031464,325.655487 159.642624,300.003387 C160.167542,277.971313 168.603424,258.489746 183.103546,242.091568 C198.977600,224.139587 218.895264,213.013474 242.995743,209.966385 C250.478912,209.020279 258.084564,209.344330 265.476685,208.330063 C284.746246,205.686066 300.188782,196.120834 310.413757,179.447113 C323.347626,158.355911 322.759064,136.763321 311.652649,114.922371 C309.739319,111.159721 306.957031,112.566917 304.500000,111.750000"}),C.jsx("path",{fill:"none",opacity:"1.000000",stroke:e.colorText,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"15.000000",d:"M197.500000,506.500000 C203.208725,504.136566 209.499985,503.955261 215.081406,500.636932 C226.722000,493.716095 233.515152,484.355804 234.104324,470.504425 C234.416428,463.166840 234.755539,456.042480 232.056686,448.978333 C227.973969,438.291962 214.538635,425.846741 198.510223,425.232910 C181.959915,424.599152 164.725250,435.753998 160.707718,453.048248 C155.331696,476.190460 163.819122,500.451569 192.494766,505.032776 C194.035324,505.278900 195.500000,506.000000 197.000000,506.500000"})]})},$8e=new wn(fn()),{useToken:O8e}=hi,XO=({maxNoOfGuests:e,toniesSize:t,showQuestionMark:n,title:r,description:a,height:o=(s=>(s=document.getElementById("collage-container"))==null?void 0:s.clientHeight)()||0,width:i=(c=>(c=document.getElementById("collage-container"))==null?void 0:c.clientWidth)()||0})=>{var b,S;const{token:u}=O8e(),[d,f]=l.useState([]),p=i,g=o,v=50,m=50,h=(((b=document.getElementById("central-text"))==null?void 0:b.clientWidth)||0)/(p<450?3:2),y=(((S=document.getElementById("central-text"))==null?void 0:S.clientHeight)||0)/(g<500?3:2);return l.useEffect(()=>{(async()=>{const I=(await $8e.apiGetTagIndexMergedAllOverlays(!1)).sort((R,T)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())).filter(R=>!R.tonieInfo.picture.endsWith("/img_unknown.png")&&R.tonieInfo.picture!==null&&R.tonieInfo.picture!==void 0&&R.tonieInfo.picture!==""&&!R.nocloud).slice(0,e).flatMap(R=>R.tonieInfo.picture).map((R,T)=>{if(r&&a){let _,$;do _=Math.random()*(100-t/g*100),$=Math.random()*(100-t/p*100);while(0v-y/g*100-t/g*100&&_m-h/p*100-t/p*100&&$C.jsxs("div",{className:"collage-image-container",style:{position:"absolute",top:w.top,left:w.left,width:"150px",height:"150px",overflow:"hidden",pointerEvents:"none"},children:[C.jsx("img",{src:w.src,alt:`Random ${w.id}`,className:"collage-image",style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&C.jsx("div",{className:"question-mark-overlay",style:{position:"absolute",top:"5%",right:"20%",width:"30%",height:"30%",display:"flex",alignItems:"center",justifyContent:"center"},children:C.jsx(_8e,{})})]},w.id))]})},{Paragraph:N8e}=Bn,k8e=()=>{const{t:e}=Ft();return C.jsx(C.Fragment,{children:C.jsx(Wn,{children:C.jsx(N8e,{children:C.jsx(XO,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!0,title:e("404.title"),description:e("404.description")})})})})},A8e=new wn(fn()),M8e=()=>{var a;const{t:e}=Ft(),[t,n]=l.useState(),r=async()=>{var i,s;const o=await A8e.apiStatsGet();(i=o==null?void 0:o.stats)!=null&&i.length&&((s=o==null?void 0:o.stats)==null?void 0:s.length)>0&&n(o)};return l.useEffect(()=>{r()},[]),l.useEffect(()=>{const o=setInterval(()=>{r()},1e4);return()=>clearInterval(o)},[]),C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vs,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vs,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("home.stats.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("home.stats.title")}),(a=t==null?void 0:t.stats)==null?void 0:a.map(o=>C.jsxs("div",{children:[C.jsx("h2",{children:e("home.stats."+o.iD)}),C.jsx("p",{children:o.value})]},o.iD))]})]})]})},D8e="/web/assets/logo-aw46LCqE.png",P8e=new dq(fn()),L8e=new rRe(fn()),F8e=()=>{const{t:e}=Ft(),[t,n]=l.useState(!1),[r,a]=l.useState(!1),o=async()=>{try{(await P8e.v1TimeGet()).length===10&&a(!0)}catch{a(!1)}try{(await L8e.reverseV1TimeGet()).length===10&&n(!0)}catch{n(!1)}};return l.useEffect(()=>{o()},[]),C.jsxs(Mo,{children:[C.jsx(rn,{title:e(t?"server.boxineStatusOnline":"server.boxineStatusOffline"),children:C.jsxs(Ov,{icon:t?C.jsx(cD,{}):C.jsx(uD,{}),color:t?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[C.jsx(In,{children:"B"}),C.jsx(_p,{children:"Boxine"})]})}),C.jsx(rn,{title:e(r?"server.teddycloudStatusOnline":"server.teddycloudStatusOffline"),children:C.jsxs(Ov,{icon:r?C.jsx(cD,{}):C.jsx(uD,{}),color:r?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[C.jsx(In,{children:"TC"}),C.jsx(_p,{children:"TeddyCloud"})]})})]})},j8e=()=>{var o;const{t:e,i18n:t}=Ft(),n=i=>{t.changeLanguage(i)},r=[{key:"1",label:e("language.english"),onClick:()=>n("en")},{key:"2",label:e("language.german"),onClick:()=>n("de")},{key:"3",label:e("language.french"),onClick:()=>n("fr")}],a=t.language;return C.jsx(Mo,{children:C.jsx(u0,{menu:{items:r},trigger:["click"],children:C.jsx("a",{href:"/",onClick:i=>i.preventDefault(),title:e("language.change"),children:C.jsxs(Ov,{color:"transparent",children:[C.jsx(iSe,{})," ",C.jsx("strong",{children:(o=r.find(i=>i.onClick&&i.onClick.toString().includes(a)))==null?void 0:o.label})]})})})})},{useToken:B8e}=hi,z8e=ma.img` height: 32px; `,H8e=ma(yW)` color: white; @@ -577,7 +577,7 @@ html body { margin-right: 12px; display: flex; align-items: center; -`,W8e=({themeSwitch:e})=>{const{t}=Ft(),{token:n}=B8e(),[r,a]=l.useState(!1),o=tl();l.useEffect(()=>{const c=document.querySelector('meta[name="theme-color"]');if(c)c.setAttribute("content",n.colorBgBase);else{const u=document.createElement("meta");u.name="theme-color",u.content=n.colorBgBase,document.head.appendChild(u)}},[n.colorBgBase]);const i=[{key:"/",label:C.jsx(Rt,{to:"/",children:t("home.navigationTitle")}),onClick:()=>a(!1)},{key:"tonies",label:C.jsx(Rt,{to:"/tonies",children:t("tonies.navigationTitle")}),onClick:()=>a(!1)},{key:"tonieboxes",label:C.jsx(Rt,{to:"/tonieboxes",children:t("tonieboxes.navigationTitle")}),onClick:()=>a(!1)},{key:"settings",label:C.jsx(Rt,{to:"/settings",children:t("settings.navigationTitle")}),onClick:()=>a(!1)},{key:"community",label:C.jsx(Rt,{to:"/community",children:t("community.navigationTitle")}),onClick:()=>a(!1)}];let s=o.pathname.split("/")[1];return s||(s="/"),s==="home"&&(s="/"),C.jsxs(H8e,{children:[C.jsx(Rt,{to:"/",style:{color:"white"},children:C.jsxs(V8e,{children:[C.jsx(z8e,{src:D8e}),C.jsx(_p,{children:" TeddyCloud Server"})]})}),C.jsx(_p,{children:C.jsx(pi,{theme:"dark",mode:"horizontal",items:i,selectedKeys:[s],style:{width:"calc(100vw - 480px)",background:"#141414 !important"}})}),C.jsxs(U8e,{children:[C.jsx(F8e,{}),e,C.jsx(j8e,{}),C.jsxs(In,{children:[C.jsx($t,{className:"barsMenu",type:"primary",onClick:()=>a(!0),icon:C.jsx(MSe,{})}),C.jsx(oW,{placement:"right",open:r,onClose:()=>a(!1),children:C.jsx(pi,{mode:"vertical",items:i,selectedKeys:[s]})})]})]})]})},{useToken:G8e}=hi,q8e=()=>G8e().token,K8e=({onVisibilityChange:e})=>{const{t}=Ft(),{songImage:n,songArtist:r,songTitle:a,songTracks:o}=uO(),i=document.getElementById("globalAudioPlayer"),[s,c]=l.useState("none"),[u,d]=l.useState(!1),[f,p]=l.useState(!1),[g,b]=l.useState(0),[m,h]=l.useState("0:00"),[y,v]=l.useState("0:00"),[S,w]=l.useState(0),[x,E]=l.useState({left:0,top:0,visible:!1}),[I,R]=l.useState(!1),[T,_]=l.useState(100),[$,D]=l.useState(100),[P,A]=l.useState(!1),[O,N]=l.useState(!1);l.useEffect(()=>{i&&(T===null?i.volume=0:i.volume=T/100)},[T,i]);const k=fe=>{Array.isArray(fe)||_(fe)},M=()=>{D(T),_(0)},L=()=>{_($)},F=()=>{p(!0)},j=()=>{p(!1)},B=()=>{p(!1)},z=()=>{i.play()},H=()=>{i.pause()},U=()=>{re(),i.src="",i.removeAttribute("src"),i.load(),c("none"),e()};l.useEffect(()=>{e(),i!=null&&i.src&&s==="none"&&c("flex")},[s,i==null?void 0:i.src,e]);const Z=fe=>{const pe=fe.target,xe=Math.floor(pe.currentTime/60),Te=Math.floor(pe.currentTime%60);b(pe.currentTime/i.duration*100),h(`${xe}:${Te<10?"0":""}${Te}`)};l.useEffect(()=>{const fe=document.getElementById("globalAudioPlayer");fe.addEventListener("loadedmetadata",()=>{const pe=Math.floor(fe.duration/60),xe=Math.floor(fe.duration%60);v(`${pe}:${xe<10?"0":""}${xe}`)}),fe.addEventListener("progress",()=>{if(fe.buffered.length>0){const pe=fe.buffered.end(fe.buffered.length-1),xe=fe.duration;xe>0&&w(pe/xe*100)}})},[]);const q=fe=>{if("touches"in fe){const pe=fe.touches[0],xe=fe.currentTarget.getBoundingClientRect(),Te=pe.clientX-xe.left,Pe=xe.height/2;E({left:Te,top:Pe,visible:!0}),i.currentTime=Te/(u?100:150)*i.duration,N(!0)}else{const pe=fe.currentTarget.getBoundingClientRect(),xe=fe.clientX-pe.left,Te=pe.height/2;E({left:xe,top:Te,visible:!0}),I&&te()}},Y=()=>{E({left:0,top:0,visible:!1})},te=()=>{O?(N(!1),Y()):i.currentTime=x.left/(u?100:150)*i.duration},ee=fe=>{R(!0)},X=fe=>{R(!1)},ie=()=>{d(!u),e()},re=()=>{A(!1)},G=()=>{A(!0)},Q=()=>{let fe=0;for(;i.currentTime>o[fe]/3.15&&(fe++,!(fe>o.length)););fe>1&&fe<=o.length?i.currentTime=o[fe-2]/3.15:fe<=1&&(i.currentTime=0)},ae=()=>{let fe=0;for(;i.currentTime>o[fe]/3.15&&(fe++,!(fe>o.length)););fe{const fe=pe=>{pe?(i==null||i.play(),p(!0)):(i==null||i.pause(),p(!1))};navigator.mediaSession&&(navigator.mediaSession.metadata=new MediaMetadata({title:a||"",artist:r||"",artwork:[{src:n||"",sizes:"96x96,128x128,192x192,256x256,384x384,512x512"}]}),navigator.mediaSession.setActionHandler("play",()=>{fe(!0)}),navigator.mediaSession.setActionHandler("pause",()=>{fe(!1)}),navigator.mediaSession.setActionHandler("previoustrack",Q),o.length>0&&navigator.mediaSession.setActionHandler("nexttrack",ae))},[a,r,n,o,i]),l.useEffect(()=>{if(navigator.mediaSession&&i){const fe=i.duration||0,pe=g*fe/100||0,xe=i.playbackRate||1;try{navigator.mediaSession.setPositionState({duration:fe,position:pe,playbackRate:xe})}catch(Te){console.error("Error setting media session position state:",Te)}}},[g,i]);const oe=window.innerWidth<=768,de=oe?{...Tn.innerContainer,flexDirection:"column",alignItems:"center",width:"100%",gap:8}:Tn.innerContainer,ve=oe?{...Tn.controls2,width:"100%"}:Tn.controls2,ye=oe?{...Tn.progressBar,width:200,marginRight:0}:Tn.progressBar;l.useEffect(()=>{e()},[e,oe]);const ge=C.jsxs(C.Fragment,{children:[u?C.jsx(N0e,{onClick:ie}):C.jsx(C1e,{onClick:ie}),C.jsx(aU,{title:C.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[C.jsxs("div",{children:[C.jsx(zW,{})," ",t("tonies.closeAudioPlayerPopover")]}),C.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:8},children:[C.jsx($t,{onClick:re,children:t("tonies.cancel")}),C.jsx($t,{onClick:U,children:t("tonies.closeAudioPlayer")})]})]}),open:P,trigger:"click",onOpenChange:re,className:"closePlayerPopover",placement:"top",style:{right:8},children:C.jsx(da,{style:{margin:"0 0 0 10px"},onClick:G})})]}),J=C.jsxs(C.Fragment,{children:[C.jsx(g0,{type:"line",success:{percent:g,strokeColor:"#1677ff"},percent:S,strokeColor:"#272727",format:()=>"",status:"active",showInfo:!1}),x.visible&&C.jsx("svg",{style:{position:"absolute",left:x.left,top:x.top,transform:"translate(-50%, -50%)"},width:"16",height:"16",viewBox:"0 0 16 16",children:C.jsx("circle",{cx:"8",cy:"8",r:"8",fill:"rgba(0,0,0,0.5)"})})]}),ce=u?C.jsx(C.Fragment,{children:C.jsx("span",{id:"minimalAudioPlayer",style:{...de,display:u?"flex":"none",padding:0},children:C.jsxs("div",{style:Tn.trackInfo,children:[f?C.jsx(fD,{style:{fontSize:24,marginRight:8},onClick:H}):C.jsx(El,{style:{fontSize:24,marginRight:8},onClick:z}),n&&C.jsx("img",{src:n,alt:"Song",style:Tn.songImage}),y.startsWith("Infinity")?C.jsx("div",{style:{...Tn.playPositionContainer,marginRight:0},children:C.jsxs("div",{style:{display:"flex"},children:[C.jsx("div",{style:{textAlign:"center",marginBottom:0},children:" "}),C.jsx("span",{children:ge})]})}):C.jsxs("div",{style:{...Tn.playPositionContainer,marginRight:0},children:[C.jsxs("div",{style:{display:"flex"},children:[C.jsxs("div",{style:{textAlign:"center",marginBottom:0},children:[m," / ",y]}),C.jsx("span",{style:{margin:0,marginLeft:16,textAlign:"right"},children:ge})]}),C.jsx("div",{style:{...ye,width:100},onMouseDown:ee,onMouseMove:q,onMouseUp:X,onMouseLeave:Y,onTouchStart:q,onTouchMove:q,onClick:te,children:J})]})]})})}):"",ue=u?"":C.jsxs(C.Fragment,{children:[C.jsx("span",{id:"normalAudioPlayer",style:{margin:0,marginLeft:16,textAlign:"right",display:u?"none":"flex",position:"absolute"},children:ge}),C.jsxs("span",{style:{...de,display:u?"none":"flex"},children:[C.jsxs("div",{id:"audioPlayer",style:Tn.controls,children:[C.jsx(R1e,{style:Tn.controlButton,onClick:Q}),f?C.jsx(fD,{style:Tn.controlButton,onClick:H}):C.jsx(El,{style:Tn.controlButton,onClick:z}),C.jsx(O1e,{style:{...Tn.controlButton,cursor:o.length===0?"default":"pointer",opacity:o.length===0?.25:1},disabled:o.length===0,onClick:ae})]}),C.jsxs("div",{style:Tn.trackInfo,children:[n&&C.jsx("img",{src:n,alt:"Song",style:Tn.songImage}),C.jsxs("div",{style:Tn.songContainer,children:[C.jsx("div",{children:a}),C.jsx("div",{children:r})]})]}),y.startsWith("Infinity")?"":C.jsxs("div",{style:Tn.playPositionContainer,children:[C.jsx("div",{children:C.jsxs("div",{style:{textAlign:"center"},children:[m," / ",y]})}),C.jsx("div",{style:ye,onMouseDown:ee,onMouseMove:q,onMouseUp:X,onMouseLeave:Y,onTouchStart:q,onTouchMove:q,onClick:te,children:J})]}),C.jsx("div",{style:ve,children:C.jsxs("div",{style:{...Tn.controls,position:"relative"},children:[C.jsx(GSe,{style:{...Tn.controlButton,...Tn.volumeIcon,display:(T||0)===0?"block":"none"},onClick:L}),C.jsx(FW,{style:{...Tn.controlButton,...Tn.volumeIcon,display:(T||0)>0?"block":"none"},onClick:M}),C.jsx("div",{style:Tn.volumeSlider,children:C.jsx(_he,{min:0,max:100,value:T||0,onChange:k})})]})})]})]});return C.jsxs(C.Fragment,{children:[C.jsxs("div",{style:{...Tn.container,display:s,visibility:i!=null&&i.src?"visible":"hidden",height:i!=null&&i.src?"auto":"0",margin:i!=null&&i.src?"0":"-24px",marginBottom:i!=null&&i.src?"8px":"0",overflow:"hidden"},children:[ce,ue]}),C.jsx("audio",{id:"globalAudioPlayer",controls:!0,onPlay:F,onPause:j,onEnded:B,onTimeUpdate:Z,style:{display:"none"},children:"Your browser does not support the audio element."})]})},Tn={container:{flexDirection:"column",alignItems:"flex-end",objectPosition:"top",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},innerContainer:{justifyContent:"space-between",alignItems:"center",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},controls:{display:"flex",alignItems:"center"},controlButton:{fontSize:24,margin:"0 10px",cursor:"pointer"},trackInfo:{display:"flex",alignItems:"center",justifyContent:"center"},songImage:{width:"auto",height:40,borderRadius:"50%",marginRight:10},songContainer:{},songTitle:{display:"block"},songArtist:{display:"block"},progressBar:{display:"block",position:"relative",width:150,marginRight:10},playPosition:{fontSize:14,width:"100%"},playPositionContainer:{marginLeft:10,marginRight:10},controls2:{display:"flex",alignItems:"center",justifyContent:"space-between",height:24},volumeSlider:{width:100,position:"releative",marginRight:16,top:"calc(100% + 10px)",zIndex:1e3,backgroundColor:`${()=>q8e().colorBgContainer}`,padding:0},volumeIcon:{fontSize:24,cursor:"pointer",marginBottom:0}},Y8e=ma(SW)` +`,W8e=({themeSwitch:e})=>{const{t}=Ft(),{token:n}=B8e(),[r,a]=l.useState(!1),o=tl();l.useEffect(()=>{const c=document.querySelector('meta[name="theme-color"]');if(c)c.setAttribute("content",n.colorBgBase);else{const u=document.createElement("meta");u.name="theme-color",u.content=n.colorBgBase,document.head.appendChild(u)}},[n.colorBgBase]);const i=[{key:"/",label:C.jsx(Rt,{to:"/",children:t("home.navigationTitle")}),onClick:()=>a(!1)},{key:"tonies",label:C.jsx(Rt,{to:"/tonies",children:t("tonies.navigationTitle")}),onClick:()=>a(!1)},{key:"tonieboxes",label:C.jsx(Rt,{to:"/tonieboxes",children:t("tonieboxes.navigationTitle")}),onClick:()=>a(!1)},{key:"settings",label:C.jsx(Rt,{to:"/settings",children:t("settings.navigationTitle")}),onClick:()=>a(!1)},{key:"community",label:C.jsx(Rt,{to:"/community",children:t("community.navigationTitle")}),onClick:()=>a(!1)}];let s=o.pathname.split("/")[1];return s||(s="/"),s==="home"&&(s="/"),C.jsxs(H8e,{children:[C.jsx(Rt,{to:"/",style:{color:"white"},children:C.jsxs(V8e,{children:[C.jsx(z8e,{src:D8e}),C.jsx(_p,{children:" TeddyCloud Server"})]})}),C.jsx(_p,{children:C.jsx(pi,{theme:"dark",mode:"horizontal",items:i,selectedKeys:[s],style:{width:"calc(100vw - 480px)",background:"#141414 !important"}})}),C.jsxs(U8e,{children:[C.jsx(F8e,{}),e,C.jsx(j8e,{}),C.jsxs(In,{children:[C.jsx($t,{className:"barsMenu",type:"primary",onClick:()=>a(!0),icon:C.jsx(MSe,{})}),C.jsx(oW,{placement:"right",open:r,onClose:()=>a(!1),children:C.jsx(pi,{mode:"vertical",items:i,selectedKeys:[s]})})]})]})]})},{useToken:G8e}=hi,q8e=()=>G8e().token,K8e=({onVisibilityChange:e})=>{const{t}=Ft(),{songImage:n,songArtist:r,songTitle:a,songTracks:o}=uO(),i=document.getElementById("globalAudioPlayer"),[s,c]=l.useState("none"),[u,d]=l.useState(!1),[f,p]=l.useState(!1),[g,v]=l.useState(0),[m,h]=l.useState("0:00"),[y,b]=l.useState("0:00"),[S,w]=l.useState(0),[x,E]=l.useState({left:0,top:0,visible:!1}),[I,R]=l.useState(!1),[T,_]=l.useState(100),[$,D]=l.useState(100),[P,A]=l.useState(!1),[O,N]=l.useState(!1);l.useEffect(()=>{i&&(T===null?i.volume=0:i.volume=T/100)},[T,i]);const k=fe=>{Array.isArray(fe)||_(fe)},M=()=>{D(T),_(0)},L=()=>{_($)},F=()=>{p(!0)},j=()=>{p(!1)},B=()=>{p(!1)},z=()=>{i.play()},H=()=>{i.pause()},U=()=>{re(),i.src="",i.removeAttribute("src"),i.load(),c("none"),e()};l.useEffect(()=>{e(),i!=null&&i.src&&s==="none"&&c("flex")},[s,i==null?void 0:i.src,e]);const Z=fe=>{const pe=fe.target,xe=Math.floor(pe.currentTime/60),Te=Math.floor(pe.currentTime%60);v(pe.currentTime/i.duration*100),h(`${xe}:${Te<10?"0":""}${Te}`)};l.useEffect(()=>{const fe=document.getElementById("globalAudioPlayer");fe.addEventListener("loadedmetadata",()=>{const pe=Math.floor(fe.duration/60),xe=Math.floor(fe.duration%60);b(`${pe}:${xe<10?"0":""}${xe}`)}),fe.addEventListener("progress",()=>{if(fe.buffered.length>0){const pe=fe.buffered.end(fe.buffered.length-1),xe=fe.duration;xe>0&&w(pe/xe*100)}})},[]);const q=fe=>{if("touches"in fe){const pe=fe.touches[0],xe=fe.currentTarget.getBoundingClientRect(),Te=pe.clientX-xe.left,Pe=xe.height/2;E({left:Te,top:Pe,visible:!0}),i.currentTime=Te/(u?100:150)*i.duration,N(!0)}else{const pe=fe.currentTarget.getBoundingClientRect(),xe=fe.clientX-pe.left,Te=pe.height/2;E({left:xe,top:Te,visible:!0}),I&&ee()}},Y=()=>{E({left:0,top:0,visible:!1})},ee=()=>{O?(N(!1),Y()):i.currentTime=x.left/(u?100:150)*i.duration},te=fe=>{R(!0)},X=fe=>{R(!1)},ie=()=>{d(!u),e()},re=()=>{A(!1)},G=()=>{A(!0)},Q=()=>{let fe=0;for(;i.currentTime>o[fe]/3.15&&(fe++,!(fe>o.length)););fe>1&&fe<=o.length?i.currentTime=o[fe-2]/3.15:fe<=1&&(i.currentTime=0)},ae=()=>{let fe=0;for(;i.currentTime>o[fe]/3.15&&(fe++,!(fe>o.length)););fe{const fe=pe=>{pe?(i==null||i.play(),p(!0)):(i==null||i.pause(),p(!1))};navigator.mediaSession&&(navigator.mediaSession.metadata=new MediaMetadata({title:a||"",artist:r||"",artwork:[{src:n||"",sizes:"96x96,128x128,192x192,256x256,384x384,512x512"}]}),navigator.mediaSession.setActionHandler("play",()=>{fe(!0)}),navigator.mediaSession.setActionHandler("pause",()=>{fe(!1)}),navigator.mediaSession.setActionHandler("previoustrack",Q),o.length>0&&navigator.mediaSession.setActionHandler("nexttrack",ae))},[a,r,n,o,i]),l.useEffect(()=>{if(navigator.mediaSession&&i){const fe=i.duration||0,pe=g*fe/100||0,xe=i.playbackRate||1;try{navigator.mediaSession.setPositionState({duration:fe,position:pe,playbackRate:xe})}catch(Te){console.error("Error setting media session position state:",Te)}}},[g,i]);const oe=window.innerWidth<=768,de=oe?{...Tn.innerContainer,flexDirection:"column",alignItems:"center",width:"100%",gap:8}:Tn.innerContainer,ve=oe?{...Tn.controls2,width:"100%"}:Tn.controls2,ye=oe?{...Tn.progressBar,width:200,marginRight:0}:Tn.progressBar;l.useEffect(()=>{e()},[e,oe]);const ge=C.jsxs(C.Fragment,{children:[u?C.jsx(N0e,{onClick:ie}):C.jsx(C1e,{onClick:ie}),C.jsx(aU,{title:C.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[C.jsxs("div",{children:[C.jsx(zW,{})," ",t("tonies.closeAudioPlayerPopover")]}),C.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:8},children:[C.jsx($t,{onClick:re,children:t("tonies.cancel")}),C.jsx($t,{onClick:U,children:t("tonies.closeAudioPlayer")})]})]}),open:P,trigger:"click",onOpenChange:re,className:"closePlayerPopover",placement:"top",style:{right:8},children:C.jsx(da,{style:{margin:"0 0 0 10px"},onClick:G})})]}),J=C.jsxs(C.Fragment,{children:[C.jsx(g0,{type:"line",success:{percent:g,strokeColor:"#1677ff"},percent:S,strokeColor:"#272727",format:()=>"",status:"active",showInfo:!1}),x.visible&&C.jsx("svg",{style:{position:"absolute",left:x.left,top:x.top,transform:"translate(-50%, -50%)"},width:"16",height:"16",viewBox:"0 0 16 16",children:C.jsx("circle",{cx:"8",cy:"8",r:"8",fill:"rgba(0,0,0,0.5)"})})]}),ce=u?C.jsx(C.Fragment,{children:C.jsx("span",{id:"minimalAudioPlayer",style:{...de,display:u?"flex":"none",padding:0},children:C.jsxs("div",{style:Tn.trackInfo,children:[f?C.jsx(fD,{style:{fontSize:24,marginRight:8},onClick:H}):C.jsx(El,{style:{fontSize:24,marginRight:8},onClick:z}),n&&C.jsx("img",{src:n,alt:"Song",style:Tn.songImage}),y.startsWith("Infinity")?C.jsx("div",{style:{...Tn.playPositionContainer,marginRight:0},children:C.jsxs("div",{style:{display:"flex"},children:[C.jsx("div",{style:{textAlign:"center",marginBottom:0},children:" "}),C.jsx("span",{children:ge})]})}):C.jsxs("div",{style:{...Tn.playPositionContainer,marginRight:0},children:[C.jsxs("div",{style:{display:"flex"},children:[C.jsxs("div",{style:{textAlign:"center",marginBottom:0},children:[m," / ",y]}),C.jsx("span",{style:{margin:0,marginLeft:16,textAlign:"right"},children:ge})]}),C.jsx("div",{style:{...ye,width:100},onMouseDown:te,onMouseMove:q,onMouseUp:X,onMouseLeave:Y,onTouchStart:q,onTouchMove:q,onClick:ee,children:J})]})]})})}):"",ue=u?"":C.jsxs(C.Fragment,{children:[C.jsx("span",{id:"normalAudioPlayer",style:{margin:0,marginLeft:16,textAlign:"right",display:u?"none":"flex",position:"absolute"},children:ge}),C.jsxs("span",{style:{...de,display:u?"none":"flex"},children:[C.jsxs("div",{id:"audioPlayer",style:Tn.controls,children:[C.jsx(R1e,{style:Tn.controlButton,onClick:Q}),f?C.jsx(fD,{style:Tn.controlButton,onClick:H}):C.jsx(El,{style:Tn.controlButton,onClick:z}),C.jsx(O1e,{style:{...Tn.controlButton,cursor:o.length===0?"default":"pointer",opacity:o.length===0?.25:1},disabled:o.length===0,onClick:ae})]}),C.jsxs("div",{style:Tn.trackInfo,children:[n&&C.jsx("img",{src:n,alt:"Song",style:Tn.songImage}),C.jsxs("div",{style:Tn.songContainer,children:[C.jsx("div",{children:a}),C.jsx("div",{children:r})]})]}),y.startsWith("Infinity")?"":C.jsxs("div",{style:Tn.playPositionContainer,children:[C.jsx("div",{children:C.jsxs("div",{style:{textAlign:"center"},children:[m," / ",y]})}),C.jsx("div",{style:ye,onMouseDown:te,onMouseMove:q,onMouseUp:X,onMouseLeave:Y,onTouchStart:q,onTouchMove:q,onClick:ee,children:J})]}),C.jsx("div",{style:ve,children:C.jsxs("div",{style:{...Tn.controls,position:"relative"},children:[C.jsx(GSe,{style:{...Tn.controlButton,...Tn.volumeIcon,display:(T||0)===0?"block":"none"},onClick:L}),C.jsx(FW,{style:{...Tn.controlButton,...Tn.volumeIcon,display:(T||0)>0?"block":"none"},onClick:M}),C.jsx("div",{style:Tn.volumeSlider,children:C.jsx(_he,{min:0,max:100,value:T||0,onChange:k})})]})})]})]});return C.jsxs(C.Fragment,{children:[C.jsxs("div",{style:{...Tn.container,display:s,visibility:i!=null&&i.src?"visible":"hidden",height:i!=null&&i.src?"auto":"0",margin:i!=null&&i.src?"0":"-24px",marginBottom:i!=null&&i.src?"8px":"0",overflow:"hidden"},children:[ce,ue]}),C.jsx("audio",{id:"globalAudioPlayer",controls:!0,onPlay:F,onPause:j,onEnded:B,onTimeUpdate:Z,style:{display:"none"},children:"Your browser does not support the audio element."})]})},Tn={container:{flexDirection:"column",alignItems:"flex-end",objectPosition:"top",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},innerContainer:{justifyContent:"space-between",alignItems:"center",padding:10,backgroundColor:"#333",borderRadius:8,gap:8},controls:{display:"flex",alignItems:"center"},controlButton:{fontSize:24,margin:"0 10px",cursor:"pointer"},trackInfo:{display:"flex",alignItems:"center",justifyContent:"center"},songImage:{width:"auto",height:40,borderRadius:"50%",marginRight:10},songContainer:{},songTitle:{display:"block"},songArtist:{display:"block"},progressBar:{display:"block",position:"relative",width:150,marginRight:10},playPosition:{fontSize:14,width:"100%"},playPositionContainer:{marginLeft:10,marginRight:10},controls2:{display:"flex",alignItems:"center",justifyContent:"space-between",height:24},volumeSlider:{width:100,position:"releative",marginRight:16,top:"calc(100% + 10px)",zIndex:1e3,backgroundColor:`${()=>q8e().colorBgContainer}`,padding:0},volumeIcon:{fontSize:24,cursor:"pointer",marginBottom:0}},Y8e=ma(SW)` position: fixed; bottom: 0; z-index: 10; @@ -591,15 +591,15 @@ html body { margin: auto; display: flex; align-items: center; -`,QE=new wn(fn()),X8e=()=>{const[e,t]=l.useState(0),[n,r]=l.useState(""),[a,o]=l.useState(""),[i,s]=l.useState(""),c=()=>{const u=document.querySelector("footer");u&&t(u.offsetHeight)};return l.useEffect(()=>{QE.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(u=>u.text()).then(u=>r(u)).catch(u=>console.error("Error fetching data:",u)),QE.apiGetTeddyCloudSettingRaw("internal.version.v_short").then(u=>u.text()).then(u=>o(u)).catch(u=>console.error("Error fetching data:",u)),QE.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(u=>u.text()).then(u=>s(u)).catch(u=>console.error("Error fetching data:",u))},[]),C.jsxs(C.Fragment,{children:[C.jsx("div",{style:{paddingBottom:e}}),C.jsxs(Y8e,{children:[C.jsx(b5,{children:C.jsx(K8e,{onVisibilityChange:c})}),C.jsx(b5,{children:C.jsx("div",{children:C.jsx("small",{children:C.jsxs(Rt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/",target:"_blank",children:[C.jsxs(In,{children:[a," (",i,")"]}),C.jsx(_p,{children:n})]})})})})]})]})},yo=()=>{const{t:e}=Ft(),[t,n]=l.useState(!1),[r,a]=l.useState(""),o=()=>{n(!0),a("")},i=[{key:"tonies",label:C.jsx(Rt,{to:"/tonies",children:e("tonies.tonies.navigationTitle")}),icon:le.createElement(BW),title:e("tonies.tonies.navigationTitle")},{key:"custom-json",label:C.jsx("label",{style:{cursor:"pointer"},children:e("tonies.addToniesCustomJsonEntry")}),onClick:o,icon:le.createElement(q1e),title:e("tonies.addToniesCustomJsonEntry")},{key:"encoder",label:C.jsx(Rt,{to:"/tonies/encoder",children:e("tonies.encoder.navigationTitle")}),icon:le.createElement(sye),title:e("tonies.encoder.navigationTitle")},{key:"tap",label:C.jsx(Rt,{to:"/tonies/tap",children:e("tonies.tap.navigationTitle")}),icon:le.createElement(z1e),title:e("tonies.tap.navigationTitle")},{key:"library",label:C.jsx(Rt,{to:"/tonies/library",children:e("tonies.library.navigationTitle")}),icon:le.createElement(M0e),title:e("tonies.library.navigationTitle")},{key:"content",label:C.jsx(Rt,{to:"/tonies/content",children:e("tonies.content.navigationTitle")}),icon:le.createElement(FW),title:e("tonies.content.navigationTitle")},{key:"system-sounds",label:C.jsx(Rt,{to:"/tonies/system-sounds",children:e("tonies.system-sounds.navigationTitle")}),icon:le.createElement(W$),title:e("tonies.system-sounds.navigationTitle")}];return C.jsxs(C.Fragment,{children:[C.jsx(Eg,{mode:"inline",selectedKeys:[r],defaultOpenKeys:["sub"],items:i}),t&&C.jsx(NK,{open:t,onClose:()=>n(!1)})]})},JE=new wn(fn()),ZO=e=>{const[t,n]=l.useState([]),[r,a]=l.useState(()=>{if(e!==void 0){if(e!==null)return localStorage.setItem("contentOverlay",e),e;{const i=localStorage.getItem("contentOverlay");return i||""}}else{const i=localStorage.getItem("contentOverlay");return i||""}});return l.useEffect(()=>{(async()=>{const s=await JE.apiGetTonieboxesIndex(),u=(await Promise.all(s.map(async g=>[await JE.apiGetTonieboxContentDir(g.ID),g.boxName,g.ID]))).reduce((g,[b,m,h])=>{const y=g.findIndex(v=>v[0]===b);return y!==-1?(g[y][1].push(m),r===h&&a(g[y][2])):g.push([b,[m],h]),g},[]),d=await JE.apiGetTonieboxContentDir("");u.findIndex(g=>g[0]===d)===-1&&u.push(["",["TeddyCloud Default Content Dir"],""]);const p=u.map(([g,b,m])=>[g,b,m]);if(r===""||r===null||r===void 0){const g=p.length>0?p[0][2]:"";a(g),localStorage.setItem("contentOverlay",g)}n(p)})()},[]),{tonieBoxContentDirs:t,overlay:r,handleSelectChange:i=>{a(i),localStorage.setItem("contentOverlay",i)}}},Z8e=new wn(fn()),{Option:Q8e}=mr,J8e=()=>{const e=tl(),n=new URLSearchParams(e.search).get("overlay"),{t:r}=Ft(),[a,o]=l.useState([]),{tonieBoxContentDirs:i,overlay:s,handleSelectChange:c}=ZO(n),[u,d]=l.useState(""),f=p=>{o(g=>g.map(b=>b.ruid===p.ruid?p:b))};return l.useEffect(()=>{(async()=>{const g=(await Z8e.apiGetTagIndex(s||"",!0)).filter(b=>!b.hide);o(g.sort((b,m)=>b.tonieInfo.seriesm.tonieInfo.series?1:b.tonieInfo.episodem.tonieInfo.episode?1:0))})()},[s]),l.useEffect(()=>{const p={};a.forEach(m=>{const h=m.tonieInfo.language;p[h]?p[h]++:p[h]=1});let g=0,b="";for(const m in p)p.hasOwnProperty(m)&&p[m]>g&&(g=p[m],b=m);d(b)},[a]),C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:r("home.navigationTitle")},{title:r("tonies.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[C.jsx("h1",{style:{width:"200px"},children:r("tonies.title")}),i.length>1?C.jsx(rn,{title:r("tonies.content.showToniesOfBoxes"),children:C.jsx(mr,{id:"contentDirectorySelect",defaultValue:"",onChange:c,style:{maxWidth:"300px"},value:s,children:i.map(([p,g,b])=>C.jsx(Q8e,{value:b,children:g.join(", ")},b))})}):""]}),C.jsx(YO,{showFilter:!0,showPagination:!0,tonieCards:a.filter(p=>p.type==="tag"),overlay:s,readOnly:!1,defaultLanguage:u,onToniesCardUpdate:f})]})]})]})},eFe=new wn(fn()),{Option:tFe}=mr,nFe=()=>{const{t:e}=Ft(),[t,n]=l.useState([]),{tonieBoxContentDirs:r,overlay:a,handleSelectChange:o}=ZO();return l.useEffect(()=>{(async()=>{const s=await eFe.apiGetTagIndex(a||"");n(s.sort((c,u)=>c.tonieInfo.seriesu.tonieInfo.series?1:c.tonieInfo.episodeu.tonieInfo.episode?1:0))})()},[a]),C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.system-sounds.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[C.jsx("h1",{children:e("tonies.system-sounds.title")}),r.length>1?C.jsx(mr,{id:"contentDirectorySelect",defaultValue:"",onChange:o,style:{maxWidth:"300px"},value:a,title:e("tonies.content.showToniesOfBoxes"),children:r.map(([i,s,c])=>C.jsx(tFe,{value:c,children:s.join(", ")},c))}):""]}),C.jsx(YO,{showFilter:!1,showPagination:!0,tonieCards:t.filter(i=>i.type==="system"),overlay:a,readOnly:!1})]})]})]})},{Option:rFe}=mr,aFe=()=>{const{t:e}=Ft(),{tonieBoxContentDirs:t,overlay:n,handleSelectChange:r}=ZO();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.content.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[C.jsx("h1",{children:e("tonies.content.title")}),t.length>1?C.jsx(mr,{id:"contentDirectorySelect",defaultValue:"",onChange:r,style:{maxWidth:"300px"},value:n,title:e("tonies.content.showToniesOfBoxes"),children:t.map(([a,o,i])=>C.jsx(rFe,{value:i,children:o.join(", ")},i))}):""]}),C.jsx(Og,{special:"",overlay:n})]})]})]})},oFe=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.library.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonies.library.title")}),C.jsx(Og,{special:"library"})]})]})]})};function iFe(){for(var e=arguments.length,t=new Array(e),n=0;nr=>{t.forEach(a=>a(r))},t)}const G0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function hd(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function QO(e){return"nodeType"in e}function Oa(e){var t,n;return e?hd(e)?e:QO(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function JO(e){const{Document:t}=Oa(e);return e instanceof t}function Ng(e){return hd(e)?!1:e instanceof Oa(e).HTMLElement}function kK(e){return e instanceof Oa(e).SVGElement}function vd(e){return e?hd(e)?e.document:QO(e)?JO(e)?e:Ng(e)||kK(e)?e.ownerDocument:document:document:document}const Go=G0?l.useLayoutEffect:l.useEffect;function eN(e){const t=l.useRef(e);return Go(()=>{t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{e.current=setInterval(r,a)},[]),n=l.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Mp(e,t){t===void 0&&(t=[e]);const n=l.useRef(e);return Go(()=>{n.current!==e&&(n.current=e)},t),n}function kg(e,t){const n=l.useRef();return l.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function Fv(e){const t=eN(e),n=l.useRef(null),r=l.useCallback(a=>{a!==n.current&&(t==null||t(a,n.current)),n.current=a},[]);return[n,r]}function mR(e){const t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current}let e2={};function Ag(e,t){return l.useMemo(()=>{if(t)return t;const n=e2[e]==null?0:e2[e]+1;return e2[e]=n,e+"-"+n},[e,t])}function AK(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{const s=Object.entries(i);for(const[c,u]of s){const d=o[c];d!=null&&(o[c]=d+e*u)}return o},{...t})}}const Su=AK(1),jv=AK(-1);function lFe(e){return"clientX"in e&&"clientY"in e}function tN(e){if(!e)return!1;const{KeyboardEvent:t}=Oa(e.target);return t&&e instanceof t}function cFe(e){if(!e)return!1;const{TouchEvent:t}=Oa(e.target);return t&&e instanceof t}function hR(e){if(cFe(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return lFe(e)?{x:e.clientX,y:e.clientY}:null}const Dp=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Dp.Translate.toString(e),Dp.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),y5="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function uFe(e){return e.matches(y5)?e:e.querySelector(y5)}const dFe={display:"none"};function fFe(e){let{id:t,value:n}=e;return le.createElement("div",{id:t,style:dFe},n)}function pFe(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const a={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return le.createElement("div",{id:t,style:a,role:"status","aria-live":r,"aria-atomic":!0},n)}function gFe(){const[e,t]=l.useState("");return{announce:l.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const MK=l.createContext(null);function mFe(e){const t=l.useContext(MK);l.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function hFe(){const[e]=l.useState(()=>new Set),t=l.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[l.useCallback(r=>{let{type:a,event:o}=r;e.forEach(i=>{var s;return(s=i[a])==null?void 0:s.call(i,o)})},[e]),t]}const vFe={draggable:` +`,QE=new wn(fn()),X8e=()=>{const[e,t]=l.useState(0),[n,r]=l.useState(""),[a,o]=l.useState(""),[i,s]=l.useState(""),c=()=>{const u=document.querySelector("footer");u&&t(u.offsetHeight)};return l.useEffect(()=>{QE.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(u=>u.text()).then(u=>r(u)).catch(u=>console.error("Error fetching data:",u)),QE.apiGetTeddyCloudSettingRaw("internal.version.v_short").then(u=>u.text()).then(u=>o(u)).catch(u=>console.error("Error fetching data:",u)),QE.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(u=>u.text()).then(u=>s(u)).catch(u=>console.error("Error fetching data:",u))},[]),C.jsxs(C.Fragment,{children:[C.jsx("div",{style:{paddingBottom:e}}),C.jsxs(Y8e,{children:[C.jsx(b5,{children:C.jsx(K8e,{onVisibilityChange:c})}),C.jsx(b5,{children:C.jsx("div",{children:C.jsx("small",{children:C.jsxs(Rt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/",target:"_blank",children:[C.jsxs(In,{children:[a," (",i,")"]}),C.jsx(_p,{children:n})]})})})})]})]})},yo=()=>{const{t:e}=Ft(),[t,n]=l.useState(!1),[r,a]=l.useState(""),o=()=>{n(!0),a("")},i=[{key:"tonies",label:C.jsx(Rt,{to:"/tonies",children:e("tonies.tonies.navigationTitle")}),icon:le.createElement(BW),title:e("tonies.tonies.navigationTitle")},{key:"custom-json",label:C.jsx("label",{style:{cursor:"pointer"},children:e("tonies.addToniesCustomJsonEntry")}),onClick:o,icon:le.createElement(q1e),title:e("tonies.addToniesCustomJsonEntry")},{key:"encoder",label:C.jsx(Rt,{to:"/tonies/encoder",children:e("tonies.encoder.navigationTitle")}),icon:le.createElement(sye),title:e("tonies.encoder.navigationTitle")},{key:"tap",label:C.jsx(Rt,{to:"/tonies/tap",children:e("tonies.tap.navigationTitle")}),icon:le.createElement(z1e),title:e("tonies.tap.navigationTitle")},{key:"library",label:C.jsx(Rt,{to:"/tonies/library",children:e("tonies.library.navigationTitle")}),icon:le.createElement(M0e),title:e("tonies.library.navigationTitle")},{key:"content",label:C.jsx(Rt,{to:"/tonies/content",children:e("tonies.content.navigationTitle")}),icon:le.createElement(FW),title:e("tonies.content.navigationTitle")},{key:"system-sounds",label:C.jsx(Rt,{to:"/tonies/system-sounds",children:e("tonies.system-sounds.navigationTitle")}),icon:le.createElement(W$),title:e("tonies.system-sounds.navigationTitle")}];return C.jsxs(C.Fragment,{children:[C.jsx(Eg,{mode:"inline",selectedKeys:[r],defaultOpenKeys:["sub"],items:i}),t&&C.jsx(NK,{open:t,onClose:()=>n(!1)})]})},JE=new wn(fn()),ZO=e=>{const[t,n]=l.useState([]),[r,a]=l.useState(()=>{if(e!==void 0){if(e!==null)return localStorage.setItem("contentOverlay",e),e;{const i=localStorage.getItem("contentOverlay");return i||""}}else{const i=localStorage.getItem("contentOverlay");return i||""}});return l.useEffect(()=>{(async()=>{const s=await JE.apiGetTonieboxesIndex(),u=(await Promise.all(s.map(async g=>[await JE.apiGetTonieboxContentDir(g.ID),g.boxName,g.ID]))).reduce((g,[v,m,h])=>{const y=g.findIndex(b=>b[0]===v);return y!==-1?(g[y][1].push(m),r===h&&a(g[y][2])):g.push([v,[m],h]),g},[]),d=await JE.apiGetTonieboxContentDir("");u.findIndex(g=>g[0]===d)===-1&&u.push(["",["TeddyCloud Default Content Dir"],""]);const p=u.map(([g,v,m])=>[g,v,m]);if(r===""||r===null||r===void 0){const g=p.length>0?p[0][2]:"";a(g),localStorage.setItem("contentOverlay",g)}n(p)})()},[]),{tonieBoxContentDirs:t,overlay:r,handleSelectChange:i=>{a(i),localStorage.setItem("contentOverlay",i)}}},Z8e=new wn(fn()),{Option:Q8e}=mr,J8e=()=>{const e=tl(),n=new URLSearchParams(e.search).get("overlay"),{t:r}=Ft(),[a,o]=l.useState([]),{tonieBoxContentDirs:i,overlay:s,handleSelectChange:c}=ZO(n),[u,d]=l.useState(""),f=p=>{o(g=>g.map(v=>v.ruid===p.ruid?p:v))};return l.useEffect(()=>{(async()=>{const g=(await Z8e.apiGetTagIndex(s||"",!0)).filter(v=>!v.hide);o(g.sort((v,m)=>v.tonieInfo.seriesm.tonieInfo.series?1:v.tonieInfo.episodem.tonieInfo.episode?1:0))})()},[s]),l.useEffect(()=>{const p={};a.forEach(m=>{const h=m.tonieInfo.language;p[h]?p[h]++:p[h]=1});let g=0,v="";for(const m in p)p.hasOwnProperty(m)&&p[m]>g&&(g=p[m],v=m);d(v)},[a]),C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:r("home.navigationTitle")},{title:r("tonies.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[C.jsx("h1",{style:{width:"200px"},children:r("tonies.title")}),i.length>1?C.jsx(rn,{title:r("tonies.content.showToniesOfBoxes"),children:C.jsx(mr,{id:"contentDirectorySelect",defaultValue:"",onChange:c,style:{maxWidth:"300px"},value:s,children:i.map(([p,g,v])=>C.jsx(Q8e,{value:v,children:g.join(", ")},v))})}):""]}),C.jsx(YO,{showFilter:!0,showPagination:!0,tonieCards:a.filter(p=>p.type==="tag"),overlay:s,readOnly:!1,defaultLanguage:u,onToniesCardUpdate:f})]})]})]})},eFe=new wn(fn()),{Option:tFe}=mr,nFe=()=>{const{t:e}=Ft(),[t,n]=l.useState([]),{tonieBoxContentDirs:r,overlay:a,handleSelectChange:o}=ZO();return l.useEffect(()=>{(async()=>{const s=await eFe.apiGetTagIndex(a||"");n(s.sort((c,u)=>c.tonieInfo.seriesu.tonieInfo.series?1:c.tonieInfo.episodeu.tonieInfo.episode?1:0))})()},[a]),C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.system-sounds.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[C.jsx("h1",{children:e("tonies.system-sounds.title")}),r.length>1?C.jsx(mr,{id:"contentDirectorySelect",defaultValue:"",onChange:o,style:{maxWidth:"300px"},value:a,title:e("tonies.content.showToniesOfBoxes"),children:r.map(([i,s,c])=>C.jsx(tFe,{value:c,children:s.join(", ")},c))}):""]}),C.jsx(YO,{showFilter:!1,showPagination:!0,tonieCards:t.filter(i=>i.type==="system"),overlay:a,readOnly:!1})]})]})]})},{Option:rFe}=mr,aFe=()=>{const{t:e}=Ft(),{tonieBoxContentDirs:t,overlay:n,handleSelectChange:r}=ZO();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.content.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[C.jsx("h1",{children:e("tonies.content.title")}),t.length>1?C.jsx(mr,{id:"contentDirectorySelect",defaultValue:"",onChange:r,style:{maxWidth:"300px"},value:n,title:e("tonies.content.showToniesOfBoxes"),children:t.map(([a,o,i])=>C.jsx(rFe,{value:i,children:o.join(", ")},i))}):""]}),C.jsx(Og,{special:"",overlay:n})]})]})]})},oFe=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.library.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonies.library.title")}),C.jsx(Og,{special:"library"})]})]})]})};function iFe(){for(var e=arguments.length,t=new Array(e),n=0;nr=>{t.forEach(a=>a(r))},t)}const G0=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function hd(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function QO(e){return"nodeType"in e}function Oa(e){var t,n;return e?hd(e)?e:QO(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function JO(e){const{Document:t}=Oa(e);return e instanceof t}function Ng(e){return hd(e)?!1:e instanceof Oa(e).HTMLElement}function kK(e){return e instanceof Oa(e).SVGElement}function vd(e){return e?hd(e)?e.document:QO(e)?JO(e)?e:Ng(e)||kK(e)?e.ownerDocument:document:document:document}const Go=G0?l.useLayoutEffect:l.useEffect;function eN(e){const t=l.useRef(e);return Go(()=>{t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{e.current=setInterval(r,a)},[]),n=l.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Mp(e,t){t===void 0&&(t=[e]);const n=l.useRef(e);return Go(()=>{n.current!==e&&(n.current=e)},t),n}function kg(e,t){const n=l.useRef();return l.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function Fv(e){const t=eN(e),n=l.useRef(null),r=l.useCallback(a=>{a!==n.current&&(t==null||t(a,n.current)),n.current=a},[]);return[n,r]}function mR(e){const t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current}let e2={};function Ag(e,t){return l.useMemo(()=>{if(t)return t;const n=e2[e]==null?0:e2[e]+1;return e2[e]=n,e+"-"+n},[e,t])}function AK(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{const s=Object.entries(i);for(const[c,u]of s){const d=o[c];d!=null&&(o[c]=d+e*u)}return o},{...t})}}const Su=AK(1),jv=AK(-1);function lFe(e){return"clientX"in e&&"clientY"in e}function tN(e){if(!e)return!1;const{KeyboardEvent:t}=Oa(e.target);return t&&e instanceof t}function cFe(e){if(!e)return!1;const{TouchEvent:t}=Oa(e.target);return t&&e instanceof t}function hR(e){if(cFe(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:n}=e.touches[0];return{x:t,y:n}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:n}=e.changedTouches[0];return{x:t,y:n}}}return lFe(e)?{x:e.clientX,y:e.clientY}:null}const Dp=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:n}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(n?Math.round(n):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:n}=e;return"scaleX("+t+") scaleY("+n+")"}},Transform:{toString(e){if(e)return[Dp.Translate.toString(e),Dp.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),y5="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function uFe(e){return e.matches(y5)?e:e.querySelector(y5)}const dFe={display:"none"};function fFe(e){let{id:t,value:n}=e;return le.createElement("div",{id:t,style:dFe},n)}function pFe(e){let{id:t,announcement:n,ariaLiveType:r="assertive"}=e;const a={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return le.createElement("div",{id:t,style:a,role:"status","aria-live":r,"aria-atomic":!0},n)}function gFe(){const[e,t]=l.useState("");return{announce:l.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const MK=l.createContext(null);function mFe(e){const t=l.useContext(MK);l.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function hFe(){const[e]=l.useState(()=>new Set),t=l.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[l.useCallback(r=>{let{type:a,event:o}=r;e.forEach(i=>{var s;return(s=i[a])==null?void 0:s.call(i,o)})},[e]),t]}const vFe={draggable:` To pick up a draggable item, press the space bar. While dragging, use the arrow keys to move the item. Press space again to drop the item in its new position, or press escape to cancel. - `},bFe={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was moved over droppable area "+n.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:n}=e;return n?"Draggable item "+t.id+" was dropped over droppable area "+n.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function yFe(e){let{announcements:t=bFe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:a=vFe}=e;const{announce:o,announcement:i}=gFe(),s=Ag("DndLiveRegion"),[c,u]=l.useState(!1);if(l.useEffect(()=>{u(!0)},[]),mFe(l.useMemo(()=>({onDragStart(f){let{active:p}=f;o(t.onDragStart({active:p}))},onDragMove(f){let{active:p,over:g}=f;t.onDragMove&&o(t.onDragMove({active:p,over:g}))},onDragOver(f){let{active:p,over:g}=f;o(t.onDragOver({active:p,over:g}))},onDragEnd(f){let{active:p,over:g}=f;o(t.onDragEnd({active:p,over:g}))},onDragCancel(f){let{active:p,over:g}=f;o(t.onDragCancel({active:p,over:g}))}}),[o,t])),!c)return null;const d=le.createElement(le.Fragment,null,le.createElement(fFe,{id:r,value:a.draggable}),le.createElement(pFe,{id:s,announcement:i}));return n?Sr.createPortal(d,n):d}var yr;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(yr||(yr={}));function Bv(){}function SFe(e,t){return l.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}const qo=Object.freeze({x:0,y:0});function wFe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function CFe(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function xFe(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),i=a-r,s=o-n;if(r{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=[];for(const o of r){const{id:i}=o,s=n.get(i);if(s){const c=xFe(s,t);c>0&&a.push({id:i,data:{droppableContainer:o,value:c}})}}return a.sort(wFe)};function IFe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function DK(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:qo}function TFe(e){return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o({...i,top:i.top+e*s.y,bottom:i.bottom+e*s.y,left:i.left+e*s.x,right:i.right+e*s.x}),{...n})}}const RFe=TFe(1);function _Fe(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function $Fe(e,t,n){const r=_Fe(t);if(!r)return e;const{scaleX:a,scaleY:o,x:i,y:s}=r,c=e.left-i-(1-a)*parseFloat(n),u=e.top-s-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),d=a?e.width/a:e.width,f=o?e.height/o:e.height;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c}}const OFe={ignoreTransform:!1};function bd(e,t){t===void 0&&(t=OFe);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=Oa(e).getComputedStyle(e);u&&(n=$Fe(n,u,d))}const{top:r,left:a,width:o,height:i,bottom:s,right:c}=n;return{top:r,left:a,width:o,height:i,bottom:s,right:c}}function S5(e){return bd(e,{ignoreTransform:!0})}function NFe(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function kFe(e,t){return t===void 0&&(t=Oa(e).getComputedStyle(e)),t.position==="fixed"}function AFe(e,t){t===void 0&&(t=Oa(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(a=>{const o=t[a];return typeof o=="string"?n.test(o):!1})}function nN(e,t){const n=[];function r(a){if(t!=null&&n.length>=t||!a)return n;if(JO(a)&&a.scrollingElement!=null&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!Ng(a)||kK(a)||n.includes(a))return n;const o=Oa(e).getComputedStyle(a);return a!==e&&AFe(a,o)&&n.push(a),kFe(a,o)?n:r(a.parentNode)}return e?r(e):n}function PK(e){const[t]=nN(e,1);return t??null}function t2(e){return!G0||!e?null:hd(e)?e:QO(e)?JO(e)||e===vd(e).scrollingElement?window:Ng(e)?e:null:null}function LK(e){return hd(e)?e.scrollX:e.scrollLeft}function FK(e){return hd(e)?e.scrollY:e.scrollTop}function vR(e){return{x:LK(e),y:FK(e)}}var Or;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Or||(Or={}));function jK(e){return!G0||!e?!1:e===document.scrollingElement}function BK(e){const t={x:0,y:0},n=jK(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},a=e.scrollTop<=t.y,o=e.scrollLeft<=t.x,i=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:a,isLeft:o,isBottom:i,isRight:s,maxScroll:r,minScroll:t}}const MFe={x:.2,y:.2};function DFe(e,t,n,r,a){let{top:o,left:i,right:s,bottom:c}=n;r===void 0&&(r=10),a===void 0&&(a=MFe);const{isTop:u,isBottom:d,isLeft:f,isRight:p}=BK(e),g={x:0,y:0},b={x:0,y:0},m={height:t.height*a.y,width:t.width*a.x};return!u&&o<=t.top+m.height?(g.y=Or.Backward,b.y=r*Math.abs((t.top+m.height-o)/m.height)):!d&&c>=t.bottom-m.height&&(g.y=Or.Forward,b.y=r*Math.abs((t.bottom-m.height-c)/m.height)),!p&&s>=t.right-m.width?(g.x=Or.Forward,b.x=r*Math.abs((t.right-m.width-s)/m.width)):!f&&i<=t.left+m.width&&(g.x=Or.Backward,b.x=r*Math.abs((t.left+m.width-i)/m.width)),{direction:g,speed:b}}function PFe(e){if(e===document.scrollingElement){const{innerWidth:o,innerHeight:i}=window;return{top:0,left:0,right:o,bottom:i,width:o,height:i}}const{top:t,left:n,right:r,bottom:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}function zK(e){return e.reduce((t,n)=>Su(t,vR(n)),qo)}function LFe(e){return e.reduce((t,n)=>t+LK(n),0)}function FFe(e){return e.reduce((t,n)=>t+FK(n),0)}function jFe(e,t){if(t===void 0&&(t=bd),!e)return;const{top:n,left:r,bottom:a,right:o}=t(e);PK(e)&&(a<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const BFe=[["x",["left","right"],LFe],["y",["top","bottom"],FFe]];class rN{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=nN(n),a=zK(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[o,i,s]of BFe)for(const c of i)Object.defineProperty(this,c,{get:()=>{const u=s(r),d=a[o]-u;return this.rect[c]+d},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Df{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var a;(a=this.target)==null||a.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function zFe(e){const{EventTarget:t}=Oa(e);return e instanceof t?e:vd(e)}function n2(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var so;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(so||(so={}));function w5(e){e.preventDefault()}function HFe(e){e.stopPropagation()}var vn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(vn||(vn={}));const HK={start:[vn.Space,vn.Enter],cancel:[vn.Esc],end:[vn.Space,vn.Enter]},UFe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case vn.Right:return{...n,x:n.x+25};case vn.Left:return{...n,x:n.x-25};case vn.Down:return{...n,y:n.y+25};case vn.Up:return{...n,y:n.y-25}}};class UK{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Df(vd(n)),this.windowListeners=new Df(Oa(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(so.Resize,this.handleCancel),this.windowListeners.add(so.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(so.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&jFe(r),n(qo)}handleKeyDown(t){if(tN(t)){const{active:n,context:r,options:a}=this.props,{keyboardCodes:o=HK,coordinateGetter:i=UFe,scrollBehavior:s="smooth"}=a,{code:c}=t;if(o.end.includes(c)){this.handleEnd(t);return}if(o.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:u}=r.current,d=u?{x:u.left,y:u.top}:qo;this.referenceCoordinates||(this.referenceCoordinates=d);const f=i(t,{active:n,context:r.current,currentCoordinates:d});if(f){const p=jv(f,d),g={x:0,y:0},{scrollableAncestors:b}=r.current;for(const m of b){const h=t.code,{isTop:y,isRight:v,isLeft:S,isBottom:w,maxScroll:x,minScroll:E}=BK(m),I=PFe(m),R={x:Math.min(h===vn.Right?I.right-I.width/2:I.right,Math.max(h===vn.Right?I.left:I.left+I.width/2,f.x)),y:Math.min(h===vn.Down?I.bottom-I.height/2:I.bottom,Math.max(h===vn.Down?I.top:I.top+I.height/2,f.y))},T=h===vn.Right&&!v||h===vn.Left&&!S,_=h===vn.Down&&!w||h===vn.Up&&!y;if(T&&R.x!==f.x){const $=m.scrollLeft+p.x,D=h===vn.Right&&$<=x.x||h===vn.Left&&$>=E.x;if(D&&!p.y){m.scrollTo({left:$,behavior:s});return}D?g.x=m.scrollLeft-$:g.x=h===vn.Right?m.scrollLeft-x.x:m.scrollLeft-E.x,g.x&&m.scrollBy({left:-g.x,behavior:s});break}else if(_&&R.y!==f.y){const $=m.scrollTop+p.y,D=h===vn.Down&&$<=x.y||h===vn.Up&&$>=E.y;if(D&&!p.x){m.scrollTo({top:$,behavior:s});return}D?g.y=m.scrollTop-$:g.y=h===vn.Down?m.scrollTop-x.y:m.scrollTop-E.y,g.y&&m.scrollBy({top:-g.y,behavior:s});break}}this.handleMove(t,Su(jv(f,this.referenceCoordinates),g))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}UK.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=HK,onActivation:a}=t,{active:o}=n;const{code:i}=e.nativeEvent;if(r.start.includes(i)){const s=o.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),a==null||a({event:e.nativeEvent}),!0)}return!1}}];function C5(e){return!!(e&&"distance"in e)}function x5(e){return!!(e&&"delay"in e)}class aN{constructor(t,n,r){var a;r===void 0&&(r=zFe(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:o}=t,{target:i}=o;this.props=t,this.events=n,this.document=vd(i),this.documentListeners=new Df(this.document),this.listeners=new Df(r),this.windowListeners=new Df(Oa(i)),this.initialCoordinates=(a=hR(o))!=null?a:qo,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(so.Resize,this.handleCancel),this.windowListeners.add(so.DragStart,w5),this.windowListeners.add(so.VisibilityChange,this.handleCancel),this.windowListeners.add(so.ContextMenu,w5),this.documentListeners.add(so.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(x5(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(C5(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(so.Click,HFe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(so.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:a,props:o}=this,{onMove:i,options:{activationConstraint:s}}=o;if(!a)return;const c=(n=hR(t))!=null?n:qo,u=jv(a,c);if(!r&&s){if(C5(s)){if(s.tolerance!=null&&n2(u,s.tolerance))return this.handleCancel();if(n2(u,s.distance))return this.handleStart()}return x5(s)&&n2(u,s.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),i(c)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===vn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const VFe={move:{name:"pointermove"},end:{name:"pointerup"}};class oN extends aN{constructor(t){const{event:n}=t,r=vd(n.target);super(t,VFe,r)}}oN.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const WFe={move:{name:"mousemove"},end:{name:"mouseup"}};var bR;(function(e){e[e.RightClick=2]="RightClick"})(bR||(bR={}));class GFe extends aN{constructor(t){super(t,WFe,vd(t.event.target))}}GFe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===bR.RightClick?!1:(r==null||r({event:n}),!0)}}];const r2={move:{name:"touchmove"},end:{name:"touchend"}};class qFe extends aN{constructor(t){super(t,r2)}static setup(){return window.addEventListener(r2.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(r2.move.name,t)};function t(){}}}qFe.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:a}=n;return a.length>1?!1:(r==null||r({event:n}),!0)}}];var Pf;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Pf||(Pf={}));var zv;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(zv||(zv={}));function KFe(e){let{acceleration:t,activator:n=Pf.Pointer,canScroll:r,draggingRect:a,enabled:o,interval:i=5,order:s=zv.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:d,delta:f,threshold:p}=e;const g=XFe({delta:f,disabled:!o}),[b,m]=sFe(),h=l.useRef({x:0,y:0}),y=l.useRef({x:0,y:0}),v=l.useMemo(()=>{switch(n){case Pf.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Pf.DraggableRect:return a}},[n,a,c]),S=l.useRef(null),w=l.useCallback(()=>{const E=S.current;if(!E)return;const I=h.current.x*y.current.x,R=h.current.y*y.current.y;E.scrollBy(I,R)},[]),x=l.useMemo(()=>s===zv.TreeOrder?[...u].reverse():u,[s,u]);l.useEffect(()=>{if(!o||!u.length||!v){m();return}for(const E of x){if((r==null?void 0:r(E))===!1)continue;const I=u.indexOf(E),R=d[I];if(!R)continue;const{direction:T,speed:_}=DFe(E,R,v,t,p);for(const $ of["x","y"])g[$][T[$]]||(_[$]=0,T[$]=0);if(_.x>0||_.y>0){m(),S.current=E,b(w,i),h.current=_,y.current=T;return}}h.current={x:0,y:0},y.current={x:0,y:0},m()},[t,w,r,m,o,i,JSON.stringify(v),JSON.stringify(g),b,u,x,d,JSON.stringify(p)])}const YFe={x:{[Or.Backward]:!1,[Or.Forward]:!1},y:{[Or.Backward]:!1,[Or.Forward]:!1}};function XFe(e){let{delta:t,disabled:n}=e;const r=mR(t);return kg(a=>{if(n||!r||!a)return YFe;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Or.Backward]:a.x[Or.Backward]||o.x===-1,[Or.Forward]:a.x[Or.Forward]||o.x===1},y:{[Or.Backward]:a.y[Or.Backward]||o.y===-1,[Or.Forward]:a.y[Or.Forward]||o.y===1}}},[n,t,r])}function ZFe(e,t){const n=t!==null?e.get(t):void 0,r=n?n.node.current:null;return kg(a=>{var o;return t===null?null:(o=r??a)!=null?o:null},[r,t])}function QFe(e,t){return l.useMemo(()=>e.reduce((n,r)=>{const{sensor:a}=r,o=a.activators.map(i=>({eventName:i.eventName,handler:t(i.handler,r)}));return[...n,...o]},[]),[e,t])}var Pp;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Pp||(Pp={}));var yR;(function(e){e.Optimized="optimized"})(yR||(yR={}));const E5=new Map;function JFe(e,t){let{dragging:n,dependencies:r,config:a}=t;const[o,i]=l.useState(null),{frequency:s,measure:c,strategy:u}=a,d=l.useRef(e),f=h(),p=Mp(f),g=l.useCallback(function(y){y===void 0&&(y=[]),!p.current&&i(v=>v===null?y:v.concat(y.filter(S=>!v.includes(S))))},[p]),b=l.useRef(null),m=kg(y=>{if(f&&!n)return E5;if(!y||y===E5||d.current!==e||o!=null){const v=new Map;for(let S of e){if(!S)continue;if(o&&o.length>0&&!o.includes(S.id)&&S.rect.current){v.set(S.id,S.rect.current);continue}const w=S.node.current,x=w?new rN(c(w),w):null;S.rect.current=x,x&&v.set(S.id,x)}return v}return y},[e,o,n,f,c]);return l.useEffect(()=>{d.current=e},[e]),l.useEffect(()=>{f||g()},[n,f]),l.useEffect(()=>{o&&o.length>0&&i(null)},[JSON.stringify(o)]),l.useEffect(()=>{f||typeof s!="number"||b.current!==null||(b.current=setTimeout(()=>{g(),b.current=null},s))},[s,f,g,...r]),{droppableRects:m,measureDroppableContainers:g,measuringScheduled:o!=null};function h(){switch(u){case Pp.Always:return!1;case Pp.BeforeDragging:return n;default:return!n}}}function VK(e,t){return kg(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function e5e(e,t){return VK(e,t)}function t5e(e){let{callback:t,disabled:n}=e;const r=eN(t),a=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:o}=window;return new o(r)},[r,n]);return l.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function q0(e){let{callback:t,disabled:n}=e;const r=eN(t),a=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:o}=window;return new o(r)},[n]);return l.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function n5e(e){return new rN(bd(e),e)}function I5(e,t,n){t===void 0&&(t=n5e);const[r,a]=l.useReducer(s,null),o=t5e({callback(c){if(e)for(const u of c){const{type:d,target:f}=u;if(d==="childList"&&f instanceof HTMLElement&&f.contains(e)){a();break}}}}),i=q0({callback:a});return Go(()=>{a(),e?(i==null||i.observe(e),o==null||o.observe(document.body,{childList:!0,subtree:!0})):(i==null||i.disconnect(),o==null||o.disconnect())},[e]),r;function s(c){if(!e)return null;if(e.isConnected===!1){var u;return(u=c??n)!=null?u:null}const d=t(e);return JSON.stringify(c)===JSON.stringify(d)?c:d}}function r5e(e){const t=VK(e);return DK(e,t)}const T5=[];function a5e(e){const t=l.useRef(e),n=kg(r=>e?r&&r!==T5&&e&&t.current&&e.parentNode===t.current.parentNode?r:nN(e):T5,[e]);return l.useEffect(()=>{t.current=e},[e]),n}function o5e(e){const[t,n]=l.useState(null),r=l.useRef(e),a=l.useCallback(o=>{const i=t2(o.target);i&&n(s=>s?(s.set(i,vR(i)),new Map(s)):null)},[]);return l.useEffect(()=>{const o=r.current;if(e!==o){i(o);const s=e.map(c=>{const u=t2(c);return u?(u.addEventListener("scroll",a,{passive:!0}),[u,vR(u)]):null}).filter(c=>c!=null);n(s.length?new Map(s):null),r.current=e}return()=>{i(e),i(o)};function i(s){s.forEach(c=>{const u=t2(c);u==null||u.removeEventListener("scroll",a)})}},[a,e]),l.useMemo(()=>e.length?t?Array.from(t.values()).reduce((o,i)=>Su(o,i),qo):zK(e):qo,[e,t])}function R5(e,t){t===void 0&&(t=[]);const n=l.useRef(null);return l.useEffect(()=>{n.current=null},t),l.useEffect(()=>{const r=e!==qo;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?jv(e,n.current):qo}function i5e(e){l.useEffect(()=>{if(!G0)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function s5e(e,t){return l.useMemo(()=>e.reduce((n,r)=>{let{eventName:a,handler:o}=r;return n[a]=i=>{o(i,t)},n},{}),[e,t])}function WK(e){return l.useMemo(()=>e?NFe(e):null,[e])}const a2=[];function l5e(e,t){t===void 0&&(t=bd);const[n]=e,r=WK(n?Oa(n):null),[a,o]=l.useReducer(s,a2),i=q0({callback:o});return e.length>0&&a===a2&&o(),Go(()=>{e.length?e.forEach(c=>i==null?void 0:i.observe(c)):(i==null||i.disconnect(),o())},[e]),a;function s(){return e.length?e.map(c=>jK(c)?r:new rN(t(c),c)):a2}}function c5e(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ng(t)?t:e}function u5e(e){let{measure:t}=e;const[n,r]=l.useState(null),a=l.useCallback(u=>{for(const{target:d}of u)if(Ng(d)){r(f=>{const p=t(d);return f?{...f,width:p.width,height:p.height}:p});break}},[t]),o=q0({callback:a}),i=l.useCallback(u=>{const d=c5e(u);o==null||o.disconnect(),d&&(o==null||o.observe(d)),r(d?t(d):null)},[t,o]),[s,c]=Fv(i);return l.useMemo(()=>({nodeRef:s,rect:n,setRef:c}),[n,s,c])}const d5e=[{sensor:oN,options:{}},{sensor:UK,options:{}}],f5e={current:{}},$h={draggable:{measure:S5},droppable:{measure:S5,strategy:Pp.WhileDragging,frequency:yR.Optimized},dragOverlay:{measure:bd}};class Lf extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const p5e={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Lf,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Bv},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:$h,measureDroppableContainers:Bv,windowRect:null,measuringScheduled:!1},g5e={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Bv,draggableNodes:new Map,over:null,measureDroppableContainers:Bv},K0=l.createContext(g5e),GK=l.createContext(p5e);function m5e(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Lf}}}function h5e(e,t){switch(t.type){case yr.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case yr.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case yr.DragEnd:case yr.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case yr.RegisterDroppable:{const{element:n}=t,{id:r}=n,a=new Lf(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}}}case yr.SetDroppableDisabled:{const{id:n,key:r,disabled:a}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new Lf(e.droppable.containers);return i.set(n,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:i}}}case yr.UnregisterDroppable:{const{id:n,key:r}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const o=new Lf(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function v5e(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:a}=l.useContext(K0),o=mR(r),i=mR(n==null?void 0:n.id);return l.useEffect(()=>{if(!t&&!r&&o&&i!=null){if(!tN(o)||document.activeElement===o.target)return;const s=a.get(i);if(!s)return;const{activatorNode:c,node:u}=s;if(!c.current&&!u.current)return;requestAnimationFrame(()=>{for(const d of[c.current,u.current]){if(!d)continue;const f=uFe(d);if(f){f.focus();break}}})}},[r,t,a,i,o]),null}function b5e(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((a,o)=>o({transform:a,...r}),n):n}function y5e(e){return l.useMemo(()=>({draggable:{...$h.draggable,...e==null?void 0:e.draggable},droppable:{...$h.droppable,...e==null?void 0:e.droppable},dragOverlay:{...$h.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function S5e(e){let{activeNode:t,measure:n,initialRect:r,config:a=!0}=e;const o=l.useRef(!1),{x:i,y:s}=typeof a=="boolean"?{x:a,y:a}:a;Go(()=>{if(!i&&!s||!t){o.current=!1;return}if(o.current||!r)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const d=n(u),f=DK(d,r);if(i||(f.x=0),s||(f.y=0),o.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const p=PK(u);p&&p.scrollBy({top:f.y,left:f.x})}},[t,i,s,r,n])}const qK=l.createContext({...qo,scaleX:1,scaleY:1});var fs;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(fs||(fs={}));const w5e=l.memo(function(t){var n,r,a,o;let{id:i,accessibility:s,autoScroll:c=!0,children:u,sensors:d=d5e,collisionDetection:f=EFe,measuring:p,modifiers:g,...b}=t;const m=l.useReducer(h5e,void 0,m5e),[h,y]=m,[v,S]=hFe(),[w,x]=l.useState(fs.Uninitialized),E=w===fs.Initialized,{draggable:{active:I,nodes:R,translate:T},droppable:{containers:_}}=h,$=I?R.get(I):null,D=l.useRef({initial:null,translated:null}),P=l.useMemo(()=>{var Ae;return I!=null?{id:I,data:(Ae=$==null?void 0:$.data)!=null?Ae:f5e,rect:D}:null},[I,$]),A=l.useRef(null),[O,N]=l.useState(null),[k,M]=l.useState(null),L=Mp(b,Object.values(b)),F=Ag("DndDescribedBy",i),j=l.useMemo(()=>_.getEnabled(),[_]),B=y5e(p),{droppableRects:z,measureDroppableContainers:H,measuringScheduled:U}=JFe(j,{dragging:E,dependencies:[T.x,T.y],config:B.droppable}),Z=ZFe(R,I),q=l.useMemo(()=>k?hR(k):null,[k]),Y=je(),te=e5e(Z,B.draggable.measure);S5e({activeNode:I?R.get(I):null,config:Y.layoutShiftCompensation,initialRect:te,measure:B.draggable.measure});const ee=I5(Z,B.draggable.measure,te),X=I5(Z?Z.parentElement:null),ie=l.useRef({activatorEvent:null,active:null,activeNode:Z,collisionRect:null,collisions:null,droppableRects:z,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:_,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),re=_.getNodeFor((n=ie.current.over)==null?void 0:n.id),G=u5e({measure:B.dragOverlay.measure}),Q=(r=G.nodeRef.current)!=null?r:Z,ae=E?(a=G.rect)!=null?a:ee:null,oe=!!(G.nodeRef.current&&G.rect),de=r5e(oe?null:ee),ve=WK(Q?Oa(Q):null),ye=a5e(E?re??Z:null),ge=l5e(ye),J=b5e(g,{transform:{x:T.x-de.x,y:T.y-de.y,scaleX:1,scaleY:1},activatorEvent:k,active:P,activeNodeRect:ee,containerNodeRect:X,draggingNodeRect:ae,over:ie.current.over,overlayNodeRect:G.rect,scrollableAncestors:ye,scrollableAncestorRects:ge,windowRect:ve}),ce=q?Su(q,T):null,ue=o5e(ye),fe=R5(ue),pe=R5(ue,[ee]),xe=Su(J,fe),Te=ae?RFe(ae,J):null,Pe=P&&Te?f({active:P,collisionRect:Te,droppableRects:z,droppableContainers:j,pointerCoordinates:ce}):null,ke=CFe(Pe,"id"),[Ue,Be]=l.useState(null),De=oe?J:Su(J,pe),Se=IFe(De,(o=Ue==null?void 0:Ue.rect)!=null?o:null,ee),_e=l.useCallback((Ae,Ne)=>{let{sensor:ze,options:qe}=Ne;if(A.current==null)return;const Le=R.get(A.current);if(!Le)return;const Ke=Ae.nativeEvent,Je=new ze({active:A.current,activeNode:Le,event:Ke,options:qe,context:ie,onStart(ut){const pt=A.current;if(pt==null)return;const We=R.get(pt);if(!We)return;const{onDragStart:Ze}=L.current,Ye={active:{id:pt,data:We.data,rect:D}};Sr.unstable_batchedUpdates(()=>{Ze==null||Ze(Ye),x(fs.Initializing),y({type:yr.DragStart,initialCoordinates:ut,active:pt}),v({type:"onDragStart",event:Ye})})},onMove(ut){y({type:yr.DragMove,coordinates:ut})},onEnd:Xe(yr.DragEnd),onCancel:Xe(yr.DragCancel)});Sr.unstable_batchedUpdates(()=>{N(Je),M(Ae.nativeEvent)});function Xe(ut){return async function(){const{active:We,collisions:Ze,over:Ye,scrollAdjustedTranslate:at}=ie.current;let wt=null;if(We&&at){const{cancelDrop:Ct}=L.current;wt={activatorEvent:Ke,active:We,collisions:Ze,delta:at,over:Ye},ut===yr.DragEnd&&typeof Ct=="function"&&await Promise.resolve(Ct(wt))&&(ut=yr.DragCancel)}A.current=null,Sr.unstable_batchedUpdates(()=>{y({type:ut}),x(fs.Uninitialized),Be(null),N(null),M(null);const Ct=ut===yr.DragEnd?"onDragEnd":"onDragCancel";if(wt){const Ot=L.current[Ct];Ot==null||Ot(wt),v({type:Ct,event:wt})}})}}},[R]),Ce=l.useCallback((Ae,Ne)=>(ze,qe)=>{const Le=ze.nativeEvent,Ke=R.get(qe);if(A.current!==null||!Ke||Le.dndKit||Le.defaultPrevented)return;const Je={active:Ke};Ae(ze,Ne.options,Je)===!0&&(Le.dndKit={capturedBy:Ne.sensor},A.current=qe,_e(ze,Ne))},[R,_e]),Re=QFe(d,Ce);i5e(d),Go(()=>{ee&&w===fs.Initializing&&x(fs.Initialized)},[ee,w]),l.useEffect(()=>{const{onDragMove:Ae}=L.current,{active:Ne,activatorEvent:ze,collisions:qe,over:Le}=ie.current;if(!Ne||!ze)return;const Ke={active:Ne,activatorEvent:ze,collisions:qe,delta:{x:xe.x,y:xe.y},over:Le};Sr.unstable_batchedUpdates(()=>{Ae==null||Ae(Ke),v({type:"onDragMove",event:Ke})})},[xe.x,xe.y]),l.useEffect(()=>{const{active:Ae,activatorEvent:Ne,collisions:ze,droppableContainers:qe,scrollAdjustedTranslate:Le}=ie.current;if(!Ae||A.current==null||!Ne||!Le)return;const{onDragOver:Ke}=L.current,Je=qe.get(ke),Xe=Je&&Je.rect.current?{id:Je.id,rect:Je.rect.current,data:Je.data,disabled:Je.disabled}:null,ut={active:Ae,activatorEvent:Ne,collisions:ze,delta:{x:Le.x,y:Le.y},over:Xe};Sr.unstable_batchedUpdates(()=>{Be(Xe),Ke==null||Ke(ut),v({type:"onDragOver",event:ut})})},[ke]),Go(()=>{ie.current={activatorEvent:k,active:P,activeNode:Z,collisionRect:Te,collisions:Pe,droppableRects:z,draggableNodes:R,draggingNode:Q,draggingNodeRect:ae,droppableContainers:_,over:Ue,scrollableAncestors:ye,scrollAdjustedTranslate:xe},D.current={initial:ae,translated:Te}},[P,Z,Pe,Te,R,Q,ae,z,_,Ue,ye,xe]),KFe({...Y,delta:T,draggingRect:Te,pointerCoordinates:ce,scrollableAncestors:ye,scrollableAncestorRects:ge});const he=l.useMemo(()=>({active:P,activeNode:Z,activeNodeRect:ee,activatorEvent:k,collisions:Pe,containerNodeRect:X,dragOverlay:G,draggableNodes:R,droppableContainers:_,droppableRects:z,over:Ue,measureDroppableContainers:H,scrollableAncestors:ye,scrollableAncestorRects:ge,measuringConfiguration:B,measuringScheduled:U,windowRect:ve}),[P,Z,ee,k,Pe,X,G,R,_,z,Ue,H,ye,ge,B,U,ve]),Ee=l.useMemo(()=>({activatorEvent:k,activators:Re,active:P,activeNodeRect:ee,ariaDescribedById:{draggable:F},dispatch:y,draggableNodes:R,over:Ue,measureDroppableContainers:H}),[k,Re,P,ee,y,F,R,Ue,H]);return le.createElement(MK.Provider,{value:S},le.createElement(K0.Provider,{value:Ee},le.createElement(GK.Provider,{value:he},le.createElement(qK.Provider,{value:Se},u)),le.createElement(v5e,{disabled:(s==null?void 0:s.restoreFocus)===!1})),le.createElement(yFe,{...s,hiddenTextDescribedById:F}));function je(){const Ae=(O==null?void 0:O.autoScrollEnabled)===!1,Ne=typeof c=="object"?c.enabled===!1:c===!1,ze=E&&!Ae&&!Ne;return typeof c=="object"?{...c,enabled:ze}:{enabled:ze}}}),C5e=l.createContext(null),_5="button",x5e="Droppable";function E5e(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const o=Ag(x5e),{activators:i,activatorEvent:s,active:c,activeNodeRect:u,ariaDescribedById:d,draggableNodes:f,over:p}=l.useContext(K0),{role:g=_5,roleDescription:b="draggable",tabIndex:m=0}=a??{},h=(c==null?void 0:c.id)===t,y=l.useContext(h?qK:C5e),[v,S]=Fv(),[w,x]=Fv(),E=s5e(i,t),I=Mp(n);Go(()=>(f.set(t,{id:t,key:o,node:v,activatorNode:w,data:I}),()=>{const T=f.get(t);T&&T.key===o&&f.delete(t)}),[f,t]);const R=l.useMemo(()=>({role:g,tabIndex:m,"aria-disabled":r,"aria-pressed":h&&g===_5?!0:void 0,"aria-roledescription":b,"aria-describedby":d.draggable}),[r,g,m,h,b,d.draggable]);return{active:c,activatorEvent:s,activeNodeRect:u,attributes:R,isDragging:h,listeners:r?void 0:E,node:v,over:p,setNodeRef:S,setActivatorNodeRef:x,transform:y}}function I5e(){return l.useContext(GK)}const T5e="Droppable",R5e={timeout:25};function _5e(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:a}=e;const o=Ag(T5e),{active:i,dispatch:s,over:c,measureDroppableContainers:u}=l.useContext(K0),d=l.useRef({disabled:n}),f=l.useRef(!1),p=l.useRef(null),g=l.useRef(null),{disabled:b,updateMeasurementsFor:m,timeout:h}={...R5e,...a},y=Mp(m??r),v=l.useCallback(()=>{if(!f.current){f.current=!0;return}g.current!=null&&clearTimeout(g.current),g.current=setTimeout(()=>{u(Array.isArray(y.current)?y.current:[y.current]),g.current=null},h)},[h]),S=q0({callback:v,disabled:b||!i}),w=l.useCallback((R,T)=>{S&&(T&&(S.unobserve(T),f.current=!1),R&&S.observe(R))},[S]),[x,E]=Fv(w),I=Mp(t);return l.useEffect(()=>{!S||!x.current||(S.disconnect(),f.current=!1,S.observe(x.current))},[x,S]),Go(()=>(s({type:yr.RegisterDroppable,element:{id:r,key:o,disabled:n,node:x,rect:p,data:I}}),()=>s({type:yr.UnregisterDroppable,key:o,id:r})),[r]),l.useEffect(()=>{n!==d.current.disabled&&(s({type:yr.SetDroppableDisabled,id:r,key:o,disabled:n}),d.current.disabled=n)},[r,o,n,s]),{active:i,rect:p,isOver:(c==null?void 0:c.id)===r,node:x,over:c,setNodeRef:E}}function iN(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function $5e(e,t){return e.reduce((n,r,a)=>{const o=t.get(r);return o&&(n[a]=o),n},Array(e.length))}function Um(e){return e!==null&&e>=0}function O5e(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const o=iN(t,r,n),i=t[a],s=o[a];return!s||!i?null:{x:s.left-i.left,y:s.top-i.top,scaleX:s.width/i.width,scaleY:s.height/i.height}},Vm={scaleX:1,scaleY:1},k5e=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:o,overIndex:i}=e;const s=(t=o[n])!=null?t:r;if(!s)return null;if(a===n){const u=o[i];return u?{x:0,y:nn&&a<=i?{x:0,y:-s.height-c,...Vm}:a=i?{x:0,y:s.height+c,...Vm}:{x:0,y:0,...Vm}};function A5e(e,t,n){const r=e[t],a=e[t-1],o=e[t+1];return r?nr.map(E=>typeof E=="object"&&"id"in E?E.id:E),[r]),b=i!=null,m=i?g.indexOf(i.id):-1,h=u?g.indexOf(u.id):-1,y=l.useRef(g),v=!O5e(g,y.current),S=h!==-1&&m===-1||v,w=N5e(o);Go(()=>{v&&b&&d(g)},[v,g,b,d]),l.useEffect(()=>{y.current=g},[g]);const x=l.useMemo(()=>({activeIndex:m,containerId:f,disabled:w,disableTransforms:S,items:g,overIndex:h,useDragOverlay:p,sortedRects:$5e(g,c),strategy:a}),[m,f,w.draggable,w.droppable,S,g,h,c,p,a]);return le.createElement(XK.Provider,{value:x},t)}const D5e=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return iN(n,r,a).indexOf(t)},P5e=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:o,newIndex:i,previousItems:s,previousContainerId:c,transition:u}=e;return!u||!r||s!==o&&a===i?!1:n?!0:i!==a&&t===c},L5e={duration:200,easing:"ease"},ZK="transform",F5e=Dp.Transition.toString({property:ZK,duration:0,easing:"linear"}),j5e={roleDescription:"sortable"};function B5e(e){let{disabled:t,index:n,node:r,rect:a}=e;const[o,i]=l.useState(null),s=l.useRef(n);return Go(()=>{if(!t&&n!==s.current&&r.current){const c=a.current;if(c){const u=bd(r.current,{ignoreTransform:!0}),d={x:c.left-u.left,y:c.top-u.top,scaleX:c.width/u.width,scaleY:c.height/u.height};(d.x||d.y)&&i(d)}}n!==s.current&&(s.current=n)},[t,n,r,a]),l.useEffect(()=>{o&&i(null)},[o]),o}function z5e(e){let{animateLayoutChanges:t=P5e,attributes:n,disabled:r,data:a,getNewIndex:o=D5e,id:i,strategy:s,resizeObserverConfig:c,transition:u=L5e}=e;const{items:d,containerId:f,activeIndex:p,disabled:g,disableTransforms:b,sortedRects:m,overIndex:h,useDragOverlay:y,strategy:v}=l.useContext(XK),S=H5e(r,g),w=d.indexOf(i),x=l.useMemo(()=>({sortable:{containerId:f,index:w,items:d},...a}),[f,a,w,d]),E=l.useMemo(()=>d.slice(d.indexOf(i)),[d,i]),{rect:I,node:R,isOver:T,setNodeRef:_}=_5e({id:i,data:x,disabled:S.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...c}}),{active:$,activatorEvent:D,activeNodeRect:P,attributes:A,setNodeRef:O,listeners:N,isDragging:k,over:M,setActivatorNodeRef:L,transform:F}=E5e({id:i,data:x,attributes:{...j5e,...n},disabled:S.draggable}),j=iFe(_,O),B=!!$,z=B&&!b&&Um(p)&&Um(h),H=!y&&k,U=H&&z?F:null,q=z?U??(s??v)({rects:m,activeNodeRect:P,activeIndex:p,overIndex:h,index:w}):null,Y=Um(p)&&Um(h)?o({id:i,items:d,activeIndex:p,overIndex:h}):w,te=$==null?void 0:$.id,ee=l.useRef({activeId:te,items:d,newIndex:Y,containerId:f}),X=d!==ee.current.items,ie=t({active:$,containerId:f,isDragging:k,isSorting:B,id:i,index:w,items:d,newIndex:ee.current.newIndex,previousItems:ee.current.items,previousContainerId:ee.current.containerId,transition:u,wasDragging:ee.current.activeId!=null}),re=B5e({disabled:!ie,index:w,node:R,rect:I});return l.useEffect(()=>{B&&ee.current.newIndex!==Y&&(ee.current.newIndex=Y),f!==ee.current.containerId&&(ee.current.containerId=f),d!==ee.current.items&&(ee.current.items=d)},[B,Y,f,d]),l.useEffect(()=>{if(te===ee.current.activeId)return;if(te&&!ee.current.activeId){ee.current.activeId=te;return}const Q=setTimeout(()=>{ee.current.activeId=te},50);return()=>clearTimeout(Q)},[te]),{active:$,activeIndex:p,attributes:A,data:x,rect:I,index:w,newIndex:Y,items:d,isOver:T,isSorting:B,isDragging:k,listeners:N,node:R,overIndex:h,over:M,setNodeRef:j,setActivatorNodeRef:L,setDroppableNodeRef:_,setDraggableNodeRef:O,transform:re??q,transition:G()};function G(){if(re||X&&ee.current.newIndex===w)return F5e;if(!(H&&!tN(D)||!u)&&(B||ie))return Dp.Transition.toString({...u,property:ZK})}}function H5e(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}vn.Down,vn.Right,vn.Up,vn.Left;const{Text:U5e}=Bn,V5e=({originNode:e,fileList:t,file:n,onRemove:r,disabled:a})=>{const{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u,isDragging:d}=z5e({id:n.uid}),{t:f}=Ft(),p={transform:Dp.Transform.toString(c),transition:u,cursor:"move"};return C.jsx("div",{ref:s,style:p,className:d?"is-dragging":"",...o,...i,children:C.jsxs("div",{className:"ant-upload-list-item ant-upload-list-item-undefined",children:[C.jsx("div",{className:"ant-upload-list-item-thumbnail ant-upload-list-item-file",children:C.jsxs("span",{role:"img","aria-label":"file",className:"anticon anticon-file",children:[t.indexOf(n)+1,"."]})}),C.jsxs("span",{className:"ant-upload-list-item-name",title:n.name,children:[C.jsx("span",{className:"",children:n.name}),C.jsx("br",{}),C.jsx(U5e,{type:"secondary",children:cf(n.size?n.size:-1)})]}),C.jsx("span",{className:"ant-upload-list-item-actions picture",children:C.jsx($t,{title:f("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:C.jsx(Ep,{})})})]})})};function W5e(e,t,n,r,a,o){const i=new FileReader;i.onload=async s=>{try{if(s.target==null)return;const c=s.target.result,u=new AudioContext,d=48e3,f=await u.decodeAudioData(c),p=new OfflineAudioContext({numberOfChannels:f.numberOfChannels,length:Math.round(f.length*d/f.sampleRate),sampleRate:d}),g=p.createBufferSource();g.buffer=f,g.connect(p.destination),g.start();const b=await p.startRendering(),m=new Float32Array(b.getChannelData(0)),h=new Float32Array(b.getChannelData(1)),y=new Int16Array(m.length+h.length);for(let v=0,S=0;v{u(!0)},[]),mFe(l.useMemo(()=>({onDragStart(f){let{active:p}=f;o(t.onDragStart({active:p}))},onDragMove(f){let{active:p,over:g}=f;t.onDragMove&&o(t.onDragMove({active:p,over:g}))},onDragOver(f){let{active:p,over:g}=f;o(t.onDragOver({active:p,over:g}))},onDragEnd(f){let{active:p,over:g}=f;o(t.onDragEnd({active:p,over:g}))},onDragCancel(f){let{active:p,over:g}=f;o(t.onDragCancel({active:p,over:g}))}}),[o,t])),!c)return null;const d=le.createElement(le.Fragment,null,le.createElement(fFe,{id:r,value:a.draggable}),le.createElement(pFe,{id:s,announcement:i}));return n?Sr.createPortal(d,n):d}var yr;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(yr||(yr={}));function Bv(){}function SFe(e,t){return l.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}const qo=Object.freeze({x:0,y:0});function wFe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function CFe(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function xFe(e,t){const n=Math.max(t.top,e.top),r=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),i=a-r,s=o-n;if(r{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=[];for(const o of r){const{id:i}=o,s=n.get(i);if(s){const c=xFe(s,t);c>0&&a.push({id:i,data:{droppableContainer:o,value:c}})}}return a.sort(wFe)};function IFe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function DK(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:qo}function TFe(e){return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o({...i,top:i.top+e*s.y,bottom:i.bottom+e*s.y,left:i.left+e*s.x,right:i.right+e*s.x}),{...n})}}const RFe=TFe(1);function _Fe(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function $Fe(e,t,n){const r=_Fe(t);if(!r)return e;const{scaleX:a,scaleY:o,x:i,y:s}=r,c=e.left-i-(1-a)*parseFloat(n),u=e.top-s-(1-o)*parseFloat(n.slice(n.indexOf(" ")+1)),d=a?e.width/a:e.width,f=o?e.height/o:e.height;return{width:d,height:f,top:u,right:c+d,bottom:u+f,left:c}}const OFe={ignoreTransform:!1};function bd(e,t){t===void 0&&(t=OFe);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=Oa(e).getComputedStyle(e);u&&(n=$Fe(n,u,d))}const{top:r,left:a,width:o,height:i,bottom:s,right:c}=n;return{top:r,left:a,width:o,height:i,bottom:s,right:c}}function S5(e){return bd(e,{ignoreTransform:!0})}function NFe(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function kFe(e,t){return t===void 0&&(t=Oa(e).getComputedStyle(e)),t.position==="fixed"}function AFe(e,t){t===void 0&&(t=Oa(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(a=>{const o=t[a];return typeof o=="string"?n.test(o):!1})}function nN(e,t){const n=[];function r(a){if(t!=null&&n.length>=t||!a)return n;if(JO(a)&&a.scrollingElement!=null&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!Ng(a)||kK(a)||n.includes(a))return n;const o=Oa(e).getComputedStyle(a);return a!==e&&AFe(a,o)&&n.push(a),kFe(a,o)?n:r(a.parentNode)}return e?r(e):n}function PK(e){const[t]=nN(e,1);return t??null}function t2(e){return!G0||!e?null:hd(e)?e:QO(e)?JO(e)||e===vd(e).scrollingElement?window:Ng(e)?e:null:null}function LK(e){return hd(e)?e.scrollX:e.scrollLeft}function FK(e){return hd(e)?e.scrollY:e.scrollTop}function vR(e){return{x:LK(e),y:FK(e)}}var Or;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Or||(Or={}));function jK(e){return!G0||!e?!1:e===document.scrollingElement}function BK(e){const t={x:0,y:0},n=jK(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},r={x:e.scrollWidth-n.width,y:e.scrollHeight-n.height},a=e.scrollTop<=t.y,o=e.scrollLeft<=t.x,i=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:a,isLeft:o,isBottom:i,isRight:s,maxScroll:r,minScroll:t}}const MFe={x:.2,y:.2};function DFe(e,t,n,r,a){let{top:o,left:i,right:s,bottom:c}=n;r===void 0&&(r=10),a===void 0&&(a=MFe);const{isTop:u,isBottom:d,isLeft:f,isRight:p}=BK(e),g={x:0,y:0},v={x:0,y:0},m={height:t.height*a.y,width:t.width*a.x};return!u&&o<=t.top+m.height?(g.y=Or.Backward,v.y=r*Math.abs((t.top+m.height-o)/m.height)):!d&&c>=t.bottom-m.height&&(g.y=Or.Forward,v.y=r*Math.abs((t.bottom-m.height-c)/m.height)),!p&&s>=t.right-m.width?(g.x=Or.Forward,v.x=r*Math.abs((t.right-m.width-s)/m.width)):!f&&i<=t.left+m.width&&(g.x=Or.Backward,v.x=r*Math.abs((t.left+m.width-i)/m.width)),{direction:g,speed:v}}function PFe(e){if(e===document.scrollingElement){const{innerWidth:o,innerHeight:i}=window;return{top:0,left:0,right:o,bottom:i,width:o,height:i}}const{top:t,left:n,right:r,bottom:a}=e.getBoundingClientRect();return{top:t,left:n,right:r,bottom:a,width:e.clientWidth,height:e.clientHeight}}function zK(e){return e.reduce((t,n)=>Su(t,vR(n)),qo)}function LFe(e){return e.reduce((t,n)=>t+LK(n),0)}function FFe(e){return e.reduce((t,n)=>t+FK(n),0)}function jFe(e,t){if(t===void 0&&(t=bd),!e)return;const{top:n,left:r,bottom:a,right:o}=t(e);PK(e)&&(a<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const BFe=[["x",["left","right"],LFe],["y",["top","bottom"],FFe]];class rN{constructor(t,n){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const r=nN(n),a=zK(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[o,i,s]of BFe)for(const c of i)Object.defineProperty(this,c,{get:()=>{const u=s(r),d=a[o]-u;return this.rect[c]+d},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Df{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(n=>{var r;return(r=this.target)==null?void 0:r.removeEventListener(...n)})},this.target=t}add(t,n,r){var a;(a=this.target)==null||a.addEventListener(t,n,r),this.listeners.push([t,n,r])}}function zFe(e){const{EventTarget:t}=Oa(e);return e instanceof t?e:vd(e)}function n2(e,t){const n=Math.abs(e.x),r=Math.abs(e.y);return typeof t=="number"?Math.sqrt(n**2+r**2)>t:"x"in t&&"y"in t?n>t.x&&r>t.y:"x"in t?n>t.x:"y"in t?r>t.y:!1}var so;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(so||(so={}));function w5(e){e.preventDefault()}function HFe(e){e.stopPropagation()}var vn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(vn||(vn={}));const HK={start:[vn.Space,vn.Enter],cancel:[vn.Esc],end:[vn.Space,vn.Enter]},UFe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case vn.Right:return{...n,x:n.x+25};case vn.Left:return{...n,x:n.x-25};case vn.Down:return{...n,y:n.y+25};case vn.Up:return{...n,y:n.y-25}}};class UK{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:n}}=t;this.props=t,this.listeners=new Df(vd(n)),this.windowListeners=new Df(Oa(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(so.Resize,this.handleCancel),this.windowListeners.add(so.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(so.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&jFe(r),n(qo)}handleKeyDown(t){if(tN(t)){const{active:n,context:r,options:a}=this.props,{keyboardCodes:o=HK,coordinateGetter:i=UFe,scrollBehavior:s="smooth"}=a,{code:c}=t;if(o.end.includes(c)){this.handleEnd(t);return}if(o.cancel.includes(c)){this.handleCancel(t);return}const{collisionRect:u}=r.current,d=u?{x:u.left,y:u.top}:qo;this.referenceCoordinates||(this.referenceCoordinates=d);const f=i(t,{active:n,context:r.current,currentCoordinates:d});if(f){const p=jv(f,d),g={x:0,y:0},{scrollableAncestors:v}=r.current;for(const m of v){const h=t.code,{isTop:y,isRight:b,isLeft:S,isBottom:w,maxScroll:x,minScroll:E}=BK(m),I=PFe(m),R={x:Math.min(h===vn.Right?I.right-I.width/2:I.right,Math.max(h===vn.Right?I.left:I.left+I.width/2,f.x)),y:Math.min(h===vn.Down?I.bottom-I.height/2:I.bottom,Math.max(h===vn.Down?I.top:I.top+I.height/2,f.y))},T=h===vn.Right&&!b||h===vn.Left&&!S,_=h===vn.Down&&!w||h===vn.Up&&!y;if(T&&R.x!==f.x){const $=m.scrollLeft+p.x,D=h===vn.Right&&$<=x.x||h===vn.Left&&$>=E.x;if(D&&!p.y){m.scrollTo({left:$,behavior:s});return}D?g.x=m.scrollLeft-$:g.x=h===vn.Right?m.scrollLeft-x.x:m.scrollLeft-E.x,g.x&&m.scrollBy({left:-g.x,behavior:s});break}else if(_&&R.y!==f.y){const $=m.scrollTop+p.y,D=h===vn.Down&&$<=x.y||h===vn.Up&&$>=E.y;if(D&&!p.x){m.scrollTo({top:$,behavior:s});return}D?g.y=m.scrollTop-$:g.y=h===vn.Down?m.scrollTop-x.y:m.scrollTop-E.y,g.y&&m.scrollBy({top:-g.y,behavior:s});break}}this.handleMove(t,Su(jv(f,this.referenceCoordinates),g))}}}handleMove(t,n){const{onMove:r}=this.props;t.preventDefault(),r(n)}handleEnd(t){const{onEnd:n}=this.props;t.preventDefault(),this.detach(),n()}handleCancel(t){const{onCancel:n}=this.props;t.preventDefault(),this.detach(),n()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}UK.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=HK,onActivation:a}=t,{active:o}=n;const{code:i}=e.nativeEvent;if(r.start.includes(i)){const s=o.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),a==null||a({event:e.nativeEvent}),!0)}return!1}}];function C5(e){return!!(e&&"distance"in e)}function x5(e){return!!(e&&"delay"in e)}class aN{constructor(t,n,r){var a;r===void 0&&(r=zFe(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=n;const{event:o}=t,{target:i}=o;this.props=t,this.events=n,this.document=vd(i),this.documentListeners=new Df(this.document),this.listeners=new Df(r),this.windowListeners=new Df(Oa(i)),this.initialCoordinates=(a=hR(o))!=null?a:qo,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:n,bypassActivationConstraint:r}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(so.Resize,this.handleCancel),this.windowListeners.add(so.DragStart,w5),this.windowListeners.add(so.VisibilityChange,this.handleCancel),this.windowListeners.add(so.ContextMenu,w5),this.documentListeners.add(so.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(x5(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(C5(n))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:n}=this.props;t&&(this.activated=!0,this.documentListeners.add(so.Click,HFe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(so.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:a,props:o}=this,{onMove:i,options:{activationConstraint:s}}=o;if(!a)return;const c=(n=hR(t))!=null?n:qo,u=jv(a,c);if(!r&&s){if(C5(s)){if(s.tolerance!=null&&n2(u,s.tolerance))return this.handleCancel();if(n2(u,s.distance))return this.handleStart()}return x5(s)&&n2(u,s.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),i(c)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===vn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const VFe={move:{name:"pointermove"},end:{name:"pointerup"}};class oN extends aN{constructor(t){const{event:n}=t,r=vd(n.target);super(t,VFe,r)}}oN.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return!n.isPrimary||n.button!==0?!1:(r==null||r({event:n}),!0)}}];const WFe={move:{name:"mousemove"},end:{name:"mouseup"}};var bR;(function(e){e[e.RightClick=2]="RightClick"})(bR||(bR={}));class GFe extends aN{constructor(t){super(t,WFe,vd(t.event.target))}}GFe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===bR.RightClick?!1:(r==null||r({event:n}),!0)}}];const r2={move:{name:"touchmove"},end:{name:"touchend"}};class qFe extends aN{constructor(t){super(t,r2)}static setup(){return window.addEventListener(r2.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(r2.move.name,t)};function t(){}}}qFe.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;const{touches:a}=n;return a.length>1?!1:(r==null||r({event:n}),!0)}}];var Pf;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Pf||(Pf={}));var zv;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(zv||(zv={}));function KFe(e){let{acceleration:t,activator:n=Pf.Pointer,canScroll:r,draggingRect:a,enabled:o,interval:i=5,order:s=zv.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:d,delta:f,threshold:p}=e;const g=XFe({delta:f,disabled:!o}),[v,m]=sFe(),h=l.useRef({x:0,y:0}),y=l.useRef({x:0,y:0}),b=l.useMemo(()=>{switch(n){case Pf.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case Pf.DraggableRect:return a}},[n,a,c]),S=l.useRef(null),w=l.useCallback(()=>{const E=S.current;if(!E)return;const I=h.current.x*y.current.x,R=h.current.y*y.current.y;E.scrollBy(I,R)},[]),x=l.useMemo(()=>s===zv.TreeOrder?[...u].reverse():u,[s,u]);l.useEffect(()=>{if(!o||!u.length||!b){m();return}for(const E of x){if((r==null?void 0:r(E))===!1)continue;const I=u.indexOf(E),R=d[I];if(!R)continue;const{direction:T,speed:_}=DFe(E,R,b,t,p);for(const $ of["x","y"])g[$][T[$]]||(_[$]=0,T[$]=0);if(_.x>0||_.y>0){m(),S.current=E,v(w,i),h.current=_,y.current=T;return}}h.current={x:0,y:0},y.current={x:0,y:0},m()},[t,w,r,m,o,i,JSON.stringify(b),JSON.stringify(g),v,u,x,d,JSON.stringify(p)])}const YFe={x:{[Or.Backward]:!1,[Or.Forward]:!1},y:{[Or.Backward]:!1,[Or.Forward]:!1}};function XFe(e){let{delta:t,disabled:n}=e;const r=mR(t);return kg(a=>{if(n||!r||!a)return YFe;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Or.Backward]:a.x[Or.Backward]||o.x===-1,[Or.Forward]:a.x[Or.Forward]||o.x===1},y:{[Or.Backward]:a.y[Or.Backward]||o.y===-1,[Or.Forward]:a.y[Or.Forward]||o.y===1}}},[n,t,r])}function ZFe(e,t){const n=t!==null?e.get(t):void 0,r=n?n.node.current:null;return kg(a=>{var o;return t===null?null:(o=r??a)!=null?o:null},[r,t])}function QFe(e,t){return l.useMemo(()=>e.reduce((n,r)=>{const{sensor:a}=r,o=a.activators.map(i=>({eventName:i.eventName,handler:t(i.handler,r)}));return[...n,...o]},[]),[e,t])}var Pp;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Pp||(Pp={}));var yR;(function(e){e.Optimized="optimized"})(yR||(yR={}));const E5=new Map;function JFe(e,t){let{dragging:n,dependencies:r,config:a}=t;const[o,i]=l.useState(null),{frequency:s,measure:c,strategy:u}=a,d=l.useRef(e),f=h(),p=Mp(f),g=l.useCallback(function(y){y===void 0&&(y=[]),!p.current&&i(b=>b===null?y:b.concat(y.filter(S=>!b.includes(S))))},[p]),v=l.useRef(null),m=kg(y=>{if(f&&!n)return E5;if(!y||y===E5||d.current!==e||o!=null){const b=new Map;for(let S of e){if(!S)continue;if(o&&o.length>0&&!o.includes(S.id)&&S.rect.current){b.set(S.id,S.rect.current);continue}const w=S.node.current,x=w?new rN(c(w),w):null;S.rect.current=x,x&&b.set(S.id,x)}return b}return y},[e,o,n,f,c]);return l.useEffect(()=>{d.current=e},[e]),l.useEffect(()=>{f||g()},[n,f]),l.useEffect(()=>{o&&o.length>0&&i(null)},[JSON.stringify(o)]),l.useEffect(()=>{f||typeof s!="number"||v.current!==null||(v.current=setTimeout(()=>{g(),v.current=null},s))},[s,f,g,...r]),{droppableRects:m,measureDroppableContainers:g,measuringScheduled:o!=null};function h(){switch(u){case Pp.Always:return!1;case Pp.BeforeDragging:return n;default:return!n}}}function VK(e,t){return kg(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function e5e(e,t){return VK(e,t)}function t5e(e){let{callback:t,disabled:n}=e;const r=eN(t),a=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:o}=window;return new o(r)},[r,n]);return l.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function q0(e){let{callback:t,disabled:n}=e;const r=eN(t),a=l.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:o}=window;return new o(r)},[n]);return l.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function n5e(e){return new rN(bd(e),e)}function I5(e,t,n){t===void 0&&(t=n5e);const[r,a]=l.useReducer(s,null),o=t5e({callback(c){if(e)for(const u of c){const{type:d,target:f}=u;if(d==="childList"&&f instanceof HTMLElement&&f.contains(e)){a();break}}}}),i=q0({callback:a});return Go(()=>{a(),e?(i==null||i.observe(e),o==null||o.observe(document.body,{childList:!0,subtree:!0})):(i==null||i.disconnect(),o==null||o.disconnect())},[e]),r;function s(c){if(!e)return null;if(e.isConnected===!1){var u;return(u=c??n)!=null?u:null}const d=t(e);return JSON.stringify(c)===JSON.stringify(d)?c:d}}function r5e(e){const t=VK(e);return DK(e,t)}const T5=[];function a5e(e){const t=l.useRef(e),n=kg(r=>e?r&&r!==T5&&e&&t.current&&e.parentNode===t.current.parentNode?r:nN(e):T5,[e]);return l.useEffect(()=>{t.current=e},[e]),n}function o5e(e){const[t,n]=l.useState(null),r=l.useRef(e),a=l.useCallback(o=>{const i=t2(o.target);i&&n(s=>s?(s.set(i,vR(i)),new Map(s)):null)},[]);return l.useEffect(()=>{const o=r.current;if(e!==o){i(o);const s=e.map(c=>{const u=t2(c);return u?(u.addEventListener("scroll",a,{passive:!0}),[u,vR(u)]):null}).filter(c=>c!=null);n(s.length?new Map(s):null),r.current=e}return()=>{i(e),i(o)};function i(s){s.forEach(c=>{const u=t2(c);u==null||u.removeEventListener("scroll",a)})}},[a,e]),l.useMemo(()=>e.length?t?Array.from(t.values()).reduce((o,i)=>Su(o,i),qo):zK(e):qo,[e,t])}function R5(e,t){t===void 0&&(t=[]);const n=l.useRef(null);return l.useEffect(()=>{n.current=null},t),l.useEffect(()=>{const r=e!==qo;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?jv(e,n.current):qo}function i5e(e){l.useEffect(()=>{if(!G0)return;const t=e.map(n=>{let{sensor:r}=n;return r.setup==null?void 0:r.setup()});return()=>{for(const n of t)n==null||n()}},e.map(t=>{let{sensor:n}=t;return n}))}function s5e(e,t){return l.useMemo(()=>e.reduce((n,r)=>{let{eventName:a,handler:o}=r;return n[a]=i=>{o(i,t)},n},{}),[e,t])}function WK(e){return l.useMemo(()=>e?NFe(e):null,[e])}const a2=[];function l5e(e,t){t===void 0&&(t=bd);const[n]=e,r=WK(n?Oa(n):null),[a,o]=l.useReducer(s,a2),i=q0({callback:o});return e.length>0&&a===a2&&o(),Go(()=>{e.length?e.forEach(c=>i==null?void 0:i.observe(c)):(i==null||i.disconnect(),o())},[e]),a;function s(){return e.length?e.map(c=>jK(c)?r:new rN(t(c),c)):a2}}function c5e(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ng(t)?t:e}function u5e(e){let{measure:t}=e;const[n,r]=l.useState(null),a=l.useCallback(u=>{for(const{target:d}of u)if(Ng(d)){r(f=>{const p=t(d);return f?{...f,width:p.width,height:p.height}:p});break}},[t]),o=q0({callback:a}),i=l.useCallback(u=>{const d=c5e(u);o==null||o.disconnect(),d&&(o==null||o.observe(d)),r(d?t(d):null)},[t,o]),[s,c]=Fv(i);return l.useMemo(()=>({nodeRef:s,rect:n,setRef:c}),[n,s,c])}const d5e=[{sensor:oN,options:{}},{sensor:UK,options:{}}],f5e={current:{}},$h={draggable:{measure:S5},droppable:{measure:S5,strategy:Pp.WhileDragging,frequency:yR.Optimized},dragOverlay:{measure:bd}};class Lf extends Map{get(t){var n;return t!=null&&(n=super.get(t))!=null?n:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:n}=t;return!n})}getNodeFor(t){var n,r;return(n=(r=this.get(t))==null?void 0:r.node.current)!=null?n:void 0}}const p5e={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Lf,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Bv},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:$h,measureDroppableContainers:Bv,windowRect:null,measuringScheduled:!1},g5e={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Bv,draggableNodes:new Map,over:null,measureDroppableContainers:Bv},K0=l.createContext(g5e),GK=l.createContext(p5e);function m5e(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Lf}}}function h5e(e,t){switch(t.type){case yr.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case yr.DragMove:return e.draggable.active?{...e,draggable:{...e.draggable,translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}}}:e;case yr.DragEnd:case yr.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case yr.RegisterDroppable:{const{element:n}=t,{id:r}=n,a=new Lf(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}}}case yr.SetDroppableDisabled:{const{id:n,key:r,disabled:a}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new Lf(e.droppable.containers);return i.set(n,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:i}}}case yr.UnregisterDroppable:{const{id:n,key:r}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const o=new Lf(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function v5e(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:a}=l.useContext(K0),o=mR(r),i=mR(n==null?void 0:n.id);return l.useEffect(()=>{if(!t&&!r&&o&&i!=null){if(!tN(o)||document.activeElement===o.target)return;const s=a.get(i);if(!s)return;const{activatorNode:c,node:u}=s;if(!c.current&&!u.current)return;requestAnimationFrame(()=>{for(const d of[c.current,u.current]){if(!d)continue;const f=uFe(d);if(f){f.focus();break}}})}},[r,t,a,i,o]),null}function b5e(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((a,o)=>o({transform:a,...r}),n):n}function y5e(e){return l.useMemo(()=>({draggable:{...$h.draggable,...e==null?void 0:e.draggable},droppable:{...$h.droppable,...e==null?void 0:e.droppable},dragOverlay:{...$h.dragOverlay,...e==null?void 0:e.dragOverlay}}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function S5e(e){let{activeNode:t,measure:n,initialRect:r,config:a=!0}=e;const o=l.useRef(!1),{x:i,y:s}=typeof a=="boolean"?{x:a,y:a}:a;Go(()=>{if(!i&&!s||!t){o.current=!1;return}if(o.current||!r)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const d=n(u),f=DK(d,r);if(i||(f.x=0),s||(f.y=0),o.current=!0,Math.abs(f.x)>0||Math.abs(f.y)>0){const p=PK(u);p&&p.scrollBy({top:f.y,left:f.x})}},[t,i,s,r,n])}const qK=l.createContext({...qo,scaleX:1,scaleY:1});var fs;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(fs||(fs={}));const w5e=l.memo(function(t){var n,r,a,o;let{id:i,accessibility:s,autoScroll:c=!0,children:u,sensors:d=d5e,collisionDetection:f=EFe,measuring:p,modifiers:g,...v}=t;const m=l.useReducer(h5e,void 0,m5e),[h,y]=m,[b,S]=hFe(),[w,x]=l.useState(fs.Uninitialized),E=w===fs.Initialized,{draggable:{active:I,nodes:R,translate:T},droppable:{containers:_}}=h,$=I?R.get(I):null,D=l.useRef({initial:null,translated:null}),P=l.useMemo(()=>{var Ae;return I!=null?{id:I,data:(Ae=$==null?void 0:$.data)!=null?Ae:f5e,rect:D}:null},[I,$]),A=l.useRef(null),[O,N]=l.useState(null),[k,M]=l.useState(null),L=Mp(v,Object.values(v)),F=Ag("DndDescribedBy",i),j=l.useMemo(()=>_.getEnabled(),[_]),B=y5e(p),{droppableRects:z,measureDroppableContainers:H,measuringScheduled:U}=JFe(j,{dragging:E,dependencies:[T.x,T.y],config:B.droppable}),Z=ZFe(R,I),q=l.useMemo(()=>k?hR(k):null,[k]),Y=je(),ee=e5e(Z,B.draggable.measure);S5e({activeNode:I?R.get(I):null,config:Y.layoutShiftCompensation,initialRect:ee,measure:B.draggable.measure});const te=I5(Z,B.draggable.measure,ee),X=I5(Z?Z.parentElement:null),ie=l.useRef({activatorEvent:null,active:null,activeNode:Z,collisionRect:null,collisions:null,droppableRects:z,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:_,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),re=_.getNodeFor((n=ie.current.over)==null?void 0:n.id),G=u5e({measure:B.dragOverlay.measure}),Q=(r=G.nodeRef.current)!=null?r:Z,ae=E?(a=G.rect)!=null?a:te:null,oe=!!(G.nodeRef.current&&G.rect),de=r5e(oe?null:te),ve=WK(Q?Oa(Q):null),ye=a5e(E?re??Z:null),ge=l5e(ye),J=b5e(g,{transform:{x:T.x-de.x,y:T.y-de.y,scaleX:1,scaleY:1},activatorEvent:k,active:P,activeNodeRect:te,containerNodeRect:X,draggingNodeRect:ae,over:ie.current.over,overlayNodeRect:G.rect,scrollableAncestors:ye,scrollableAncestorRects:ge,windowRect:ve}),ce=q?Su(q,T):null,ue=o5e(ye),fe=R5(ue),pe=R5(ue,[te]),xe=Su(J,fe),Te=ae?RFe(ae,J):null,Pe=P&&Te?f({active:P,collisionRect:Te,droppableRects:z,droppableContainers:j,pointerCoordinates:ce}):null,ke=CFe(Pe,"id"),[Ue,Be]=l.useState(null),De=oe?J:Su(J,pe),Se=IFe(De,(o=Ue==null?void 0:Ue.rect)!=null?o:null,te),_e=l.useCallback((Ae,Ne)=>{let{sensor:ze,options:qe}=Ne;if(A.current==null)return;const Le=R.get(A.current);if(!Le)return;const Ke=Ae.nativeEvent,Je=new ze({active:A.current,activeNode:Le,event:Ke,options:qe,context:ie,onStart(ut){const pt=A.current;if(pt==null)return;const We=R.get(pt);if(!We)return;const{onDragStart:Ze}=L.current,Ye={active:{id:pt,data:We.data,rect:D}};Sr.unstable_batchedUpdates(()=>{Ze==null||Ze(Ye),x(fs.Initializing),y({type:yr.DragStart,initialCoordinates:ut,active:pt}),b({type:"onDragStart",event:Ye})})},onMove(ut){y({type:yr.DragMove,coordinates:ut})},onEnd:Xe(yr.DragEnd),onCancel:Xe(yr.DragCancel)});Sr.unstable_batchedUpdates(()=>{N(Je),M(Ae.nativeEvent)});function Xe(ut){return async function(){const{active:We,collisions:Ze,over:Ye,scrollAdjustedTranslate:at}=ie.current;let wt=null;if(We&&at){const{cancelDrop:Ct}=L.current;wt={activatorEvent:Ke,active:We,collisions:Ze,delta:at,over:Ye},ut===yr.DragEnd&&typeof Ct=="function"&&await Promise.resolve(Ct(wt))&&(ut=yr.DragCancel)}A.current=null,Sr.unstable_batchedUpdates(()=>{y({type:ut}),x(fs.Uninitialized),Be(null),N(null),M(null);const Ct=ut===yr.DragEnd?"onDragEnd":"onDragCancel";if(wt){const Ot=L.current[Ct];Ot==null||Ot(wt),b({type:Ct,event:wt})}})}}},[R]),Ce=l.useCallback((Ae,Ne)=>(ze,qe)=>{const Le=ze.nativeEvent,Ke=R.get(qe);if(A.current!==null||!Ke||Le.dndKit||Le.defaultPrevented)return;const Je={active:Ke};Ae(ze,Ne.options,Je)===!0&&(Le.dndKit={capturedBy:Ne.sensor},A.current=qe,_e(ze,Ne))},[R,_e]),Re=QFe(d,Ce);i5e(d),Go(()=>{te&&w===fs.Initializing&&x(fs.Initialized)},[te,w]),l.useEffect(()=>{const{onDragMove:Ae}=L.current,{active:Ne,activatorEvent:ze,collisions:qe,over:Le}=ie.current;if(!Ne||!ze)return;const Ke={active:Ne,activatorEvent:ze,collisions:qe,delta:{x:xe.x,y:xe.y},over:Le};Sr.unstable_batchedUpdates(()=>{Ae==null||Ae(Ke),b({type:"onDragMove",event:Ke})})},[xe.x,xe.y]),l.useEffect(()=>{const{active:Ae,activatorEvent:Ne,collisions:ze,droppableContainers:qe,scrollAdjustedTranslate:Le}=ie.current;if(!Ae||A.current==null||!Ne||!Le)return;const{onDragOver:Ke}=L.current,Je=qe.get(ke),Xe=Je&&Je.rect.current?{id:Je.id,rect:Je.rect.current,data:Je.data,disabled:Je.disabled}:null,ut={active:Ae,activatorEvent:Ne,collisions:ze,delta:{x:Le.x,y:Le.y},over:Xe};Sr.unstable_batchedUpdates(()=>{Be(Xe),Ke==null||Ke(ut),b({type:"onDragOver",event:ut})})},[ke]),Go(()=>{ie.current={activatorEvent:k,active:P,activeNode:Z,collisionRect:Te,collisions:Pe,droppableRects:z,draggableNodes:R,draggingNode:Q,draggingNodeRect:ae,droppableContainers:_,over:Ue,scrollableAncestors:ye,scrollAdjustedTranslate:xe},D.current={initial:ae,translated:Te}},[P,Z,Pe,Te,R,Q,ae,z,_,Ue,ye,xe]),KFe({...Y,delta:T,draggingRect:Te,pointerCoordinates:ce,scrollableAncestors:ye,scrollableAncestorRects:ge});const he=l.useMemo(()=>({active:P,activeNode:Z,activeNodeRect:te,activatorEvent:k,collisions:Pe,containerNodeRect:X,dragOverlay:G,draggableNodes:R,droppableContainers:_,droppableRects:z,over:Ue,measureDroppableContainers:H,scrollableAncestors:ye,scrollableAncestorRects:ge,measuringConfiguration:B,measuringScheduled:U,windowRect:ve}),[P,Z,te,k,Pe,X,G,R,_,z,Ue,H,ye,ge,B,U,ve]),Ee=l.useMemo(()=>({activatorEvent:k,activators:Re,active:P,activeNodeRect:te,ariaDescribedById:{draggable:F},dispatch:y,draggableNodes:R,over:Ue,measureDroppableContainers:H}),[k,Re,P,te,y,F,R,Ue,H]);return le.createElement(MK.Provider,{value:S},le.createElement(K0.Provider,{value:Ee},le.createElement(GK.Provider,{value:he},le.createElement(qK.Provider,{value:Se},u)),le.createElement(v5e,{disabled:(s==null?void 0:s.restoreFocus)===!1})),le.createElement(yFe,{...s,hiddenTextDescribedById:F}));function je(){const Ae=(O==null?void 0:O.autoScrollEnabled)===!1,Ne=typeof c=="object"?c.enabled===!1:c===!1,ze=E&&!Ae&&!Ne;return typeof c=="object"?{...c,enabled:ze}:{enabled:ze}}}),C5e=l.createContext(null),_5="button",x5e="Droppable";function E5e(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const o=Ag(x5e),{activators:i,activatorEvent:s,active:c,activeNodeRect:u,ariaDescribedById:d,draggableNodes:f,over:p}=l.useContext(K0),{role:g=_5,roleDescription:v="draggable",tabIndex:m=0}=a??{},h=(c==null?void 0:c.id)===t,y=l.useContext(h?qK:C5e),[b,S]=Fv(),[w,x]=Fv(),E=s5e(i,t),I=Mp(n);Go(()=>(f.set(t,{id:t,key:o,node:b,activatorNode:w,data:I}),()=>{const T=f.get(t);T&&T.key===o&&f.delete(t)}),[f,t]);const R=l.useMemo(()=>({role:g,tabIndex:m,"aria-disabled":r,"aria-pressed":h&&g===_5?!0:void 0,"aria-roledescription":v,"aria-describedby":d.draggable}),[r,g,m,h,v,d.draggable]);return{active:c,activatorEvent:s,activeNodeRect:u,attributes:R,isDragging:h,listeners:r?void 0:E,node:b,over:p,setNodeRef:S,setActivatorNodeRef:x,transform:y}}function I5e(){return l.useContext(GK)}const T5e="Droppable",R5e={timeout:25};function _5e(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:a}=e;const o=Ag(T5e),{active:i,dispatch:s,over:c,measureDroppableContainers:u}=l.useContext(K0),d=l.useRef({disabled:n}),f=l.useRef(!1),p=l.useRef(null),g=l.useRef(null),{disabled:v,updateMeasurementsFor:m,timeout:h}={...R5e,...a},y=Mp(m??r),b=l.useCallback(()=>{if(!f.current){f.current=!0;return}g.current!=null&&clearTimeout(g.current),g.current=setTimeout(()=>{u(Array.isArray(y.current)?y.current:[y.current]),g.current=null},h)},[h]),S=q0({callback:b,disabled:v||!i}),w=l.useCallback((R,T)=>{S&&(T&&(S.unobserve(T),f.current=!1),R&&S.observe(R))},[S]),[x,E]=Fv(w),I=Mp(t);return l.useEffect(()=>{!S||!x.current||(S.disconnect(),f.current=!1,S.observe(x.current))},[x,S]),Go(()=>(s({type:yr.RegisterDroppable,element:{id:r,key:o,disabled:n,node:x,rect:p,data:I}}),()=>s({type:yr.UnregisterDroppable,key:o,id:r})),[r]),l.useEffect(()=>{n!==d.current.disabled&&(s({type:yr.SetDroppableDisabled,id:r,key:o,disabled:n}),d.current.disabled=n)},[r,o,n,s]),{active:i,rect:p,isOver:(c==null?void 0:c.id)===r,node:x,over:c,setNodeRef:E}}function iN(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function $5e(e,t){return e.reduce((n,r,a)=>{const o=t.get(r);return o&&(n[a]=o),n},Array(e.length))}function Um(e){return e!==null&&e>=0}function O5e(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let n=0;n{let{rects:t,activeIndex:n,overIndex:r,index:a}=e;const o=iN(t,r,n),i=t[a],s=o[a];return!s||!i?null:{x:s.left-i.left,y:s.top-i.top,scaleX:s.width/i.width,scaleY:s.height/i.height}},Vm={scaleX:1,scaleY:1},k5e=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:o,overIndex:i}=e;const s=(t=o[n])!=null?t:r;if(!s)return null;if(a===n){const u=o[i];return u?{x:0,y:nn&&a<=i?{x:0,y:-s.height-c,...Vm}:a=i?{x:0,y:s.height+c,...Vm}:{x:0,y:0,...Vm}};function A5e(e,t,n){const r=e[t],a=e[t-1],o=e[t+1];return r?nr.map(E=>typeof E=="object"&&"id"in E?E.id:E),[r]),v=i!=null,m=i?g.indexOf(i.id):-1,h=u?g.indexOf(u.id):-1,y=l.useRef(g),b=!O5e(g,y.current),S=h!==-1&&m===-1||b,w=N5e(o);Go(()=>{b&&v&&d(g)},[b,g,v,d]),l.useEffect(()=>{y.current=g},[g]);const x=l.useMemo(()=>({activeIndex:m,containerId:f,disabled:w,disableTransforms:S,items:g,overIndex:h,useDragOverlay:p,sortedRects:$5e(g,c),strategy:a}),[m,f,w.draggable,w.droppable,S,g,h,c,p,a]);return le.createElement(XK.Provider,{value:x},t)}const D5e=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return iN(n,r,a).indexOf(t)},P5e=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:o,newIndex:i,previousItems:s,previousContainerId:c,transition:u}=e;return!u||!r||s!==o&&a===i?!1:n?!0:i!==a&&t===c},L5e={duration:200,easing:"ease"},ZK="transform",F5e=Dp.Transition.toString({property:ZK,duration:0,easing:"linear"}),j5e={roleDescription:"sortable"};function B5e(e){let{disabled:t,index:n,node:r,rect:a}=e;const[o,i]=l.useState(null),s=l.useRef(n);return Go(()=>{if(!t&&n!==s.current&&r.current){const c=a.current;if(c){const u=bd(r.current,{ignoreTransform:!0}),d={x:c.left-u.left,y:c.top-u.top,scaleX:c.width/u.width,scaleY:c.height/u.height};(d.x||d.y)&&i(d)}}n!==s.current&&(s.current=n)},[t,n,r,a]),l.useEffect(()=>{o&&i(null)},[o]),o}function z5e(e){let{animateLayoutChanges:t=P5e,attributes:n,disabled:r,data:a,getNewIndex:o=D5e,id:i,strategy:s,resizeObserverConfig:c,transition:u=L5e}=e;const{items:d,containerId:f,activeIndex:p,disabled:g,disableTransforms:v,sortedRects:m,overIndex:h,useDragOverlay:y,strategy:b}=l.useContext(XK),S=H5e(r,g),w=d.indexOf(i),x=l.useMemo(()=>({sortable:{containerId:f,index:w,items:d},...a}),[f,a,w,d]),E=l.useMemo(()=>d.slice(d.indexOf(i)),[d,i]),{rect:I,node:R,isOver:T,setNodeRef:_}=_5e({id:i,data:x,disabled:S.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...c}}),{active:$,activatorEvent:D,activeNodeRect:P,attributes:A,setNodeRef:O,listeners:N,isDragging:k,over:M,setActivatorNodeRef:L,transform:F}=E5e({id:i,data:x,attributes:{...j5e,...n},disabled:S.draggable}),j=iFe(_,O),B=!!$,z=B&&!v&&Um(p)&&Um(h),H=!y&&k,U=H&&z?F:null,q=z?U??(s??b)({rects:m,activeNodeRect:P,activeIndex:p,overIndex:h,index:w}):null,Y=Um(p)&&Um(h)?o({id:i,items:d,activeIndex:p,overIndex:h}):w,ee=$==null?void 0:$.id,te=l.useRef({activeId:ee,items:d,newIndex:Y,containerId:f}),X=d!==te.current.items,ie=t({active:$,containerId:f,isDragging:k,isSorting:B,id:i,index:w,items:d,newIndex:te.current.newIndex,previousItems:te.current.items,previousContainerId:te.current.containerId,transition:u,wasDragging:te.current.activeId!=null}),re=B5e({disabled:!ie,index:w,node:R,rect:I});return l.useEffect(()=>{B&&te.current.newIndex!==Y&&(te.current.newIndex=Y),f!==te.current.containerId&&(te.current.containerId=f),d!==te.current.items&&(te.current.items=d)},[B,Y,f,d]),l.useEffect(()=>{if(ee===te.current.activeId)return;if(ee&&!te.current.activeId){te.current.activeId=ee;return}const Q=setTimeout(()=>{te.current.activeId=ee},50);return()=>clearTimeout(Q)},[ee]),{active:$,activeIndex:p,attributes:A,data:x,rect:I,index:w,newIndex:Y,items:d,isOver:T,isSorting:B,isDragging:k,listeners:N,node:R,overIndex:h,over:M,setNodeRef:j,setActivatorNodeRef:L,setDroppableNodeRef:_,setDraggableNodeRef:O,transform:re??q,transition:G()};function G(){if(re||X&&te.current.newIndex===w)return F5e;if(!(H&&!tN(D)||!u)&&(B||ie))return Dp.Transition.toString({...u,property:ZK})}}function H5e(e,t){var n,r;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(n=e==null?void 0:e.draggable)!=null?n:t.draggable,droppable:(r=e==null?void 0:e.droppable)!=null?r:t.droppable}}vn.Down,vn.Right,vn.Up,vn.Left;const{Text:U5e}=Bn,V5e=({originNode:e,fileList:t,file:n,onRemove:r,disabled:a})=>{const{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u,isDragging:d}=z5e({id:n.uid}),{t:f}=Ft(),p={transform:Dp.Transform.toString(c),transition:u,cursor:"move"};return C.jsx("div",{ref:s,style:p,className:d?"is-dragging":"",...o,...i,children:C.jsxs("div",{className:"ant-upload-list-item ant-upload-list-item-undefined",children:[C.jsx("div",{className:"ant-upload-list-item-thumbnail ant-upload-list-item-file",children:C.jsxs("span",{role:"img","aria-label":"file",className:"anticon anticon-file",children:[t.indexOf(n)+1,"."]})}),C.jsxs("span",{className:"ant-upload-list-item-name",title:n.name,children:[C.jsx("span",{className:"",children:n.name}),C.jsx("br",{}),C.jsx(U5e,{type:"secondary",children:cf(n.size?n.size:-1)})]}),C.jsx("span",{className:"ant-upload-list-item-actions picture",children:C.jsx($t,{title:f("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:C.jsx(Ep,{})})})]})})};function W5e(e,t,n,r,a,o){const i=new FileReader;i.onload=async s=>{try{if(s.target==null)return;const c=s.target.result,u=new AudioContext,d=48e3,f=await u.decodeAudioData(c),p=new OfflineAudioContext({numberOfChannels:f.numberOfChannels,length:Math.round(f.length*d/f.sampleRate),sampleRate:d}),g=p.createBufferSource();g.buffer=f,g.connect(p.destination),g.start();const v=await p.startRendering(),m=v.numberOfChannels,h=new Float32Array(v.getChannelData(0)),y=m>1?new Float32Array(v.getChannelData(1)):new Float32Array(v.getChannelData(0)),b=new Int16Array(h.length+y.length);for(let S=0,w=0;SObject.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&"),o2=new wn(fn()),Wm={id:"1",pId:"-1",value:"1",title:"/"},Gm=99,q5e=()=>{const{t:e}=Ft(),[t,n]=lt.useMessage(),[r,a]=l.useState(!1),[o,i]=l.useState([]),[s,c]=l.useState(!1),[u,d]=l.useState(!1),[f,p]=l.useState(""),[g,b]=l.useState(Wm.id),[m,h]=l.useState([Wm]),[y,v]=l.useState(!1),[S,w]=l.useState(""),x=l.useRef(null);let E=0;l.useEffect(()=>{(async()=>{const z=new wn(fn());let H=!1;try{const U=await z.apiGetTeddyCloudSettingRaw("debug.web.pcm_encode_console_url");if(!U.ok)throw new Error(`HTTP error! status: ${U.status}`);H=(await U.json()).toString()==="true"}catch(U){console.error("Error fetching debug.web.pcm_encode_console_url: ",U)}a(H)})()},[]),l.useEffect(()=>{y&&setTimeout(()=>{x.current&&x.current.focus()},0)},[y]),l.useEffect(()=>{E=o.length},[o]);const I=SFe(oN,{activationConstraint:{distance:10}}),R=({active:B,over:z})=>{B.id!==(z==null?void 0:z.id)&&i(H=>{const U=H.findIndex(q=>q.uid===B.id),Z=H.findIndex(q=>q.uid===(z==null?void 0:z.id));return iN(H,U,Z)})},T=({fileList:B})=>{E++,E>Gm&&t.open({type:"error",content:e("tonies.encoder.maxFiles",{maxFiles:Gm})}),i(B.slice(0,Gm))},_=B=>{const z=o.indexOf(B),H=o.slice();H.splice(z,1),i(H)},$=async()=>{c(!0);const B=new FormData;for(const Y of o)await new Promise((te,ee)=>W5e(te,ee,B,o,Y,r));const z=Math.floor(Date.now()/1e3),H={name:f+".taf",audioId:z-1342177280,path:A(g),special:"library"};d(!0);const U=G5e(H),Z=await o2.apiPostTeddyCloudFormDataRaw(`/api/pcmUpload?${U}`,B),q=await Z.text();Z.ok?(lt.success(e("tonies.encoder.uploadSuccessful")),i([]),p(""),h([Wm]),b(Wm.id)):(console.log("Upload failed:",q),lt.error(e("tonies.encoder.uploadFailed"))),d(!1),c(!1)},D={listType:"picture",multiple:!0,beforeUpload:B=>{const z=B;return z.file=B,o.push(z),i(o),!1},fileList:o,onChange:T,itemRender:(B,z)=>C.jsx(V5e,{originNode:B,fileList:o,file:z,onRemove:_,disabled:s})},P=({id:B})=>new Promise((z,H)=>{const U=A(B);o2.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${U}&special=library`).then(Z=>Z.json()).then(Z=>{var q=Z.files;q=q.filter(Y=>Y.isDir&&Y.name!=="..").sort((Y,te)=>Y.name===te.name?0:Y.name.toLowerCase()>te.name.toLowerCase()?1:-1).map(Y=>({id:B+"."+q.indexOf(Y),pId:B,value:B+"."+q.indexOf(Y),title:Y.name})),h(m.concat(q)),z(!0)}).then(()=>{H()})}),A=B=>{const z=m.filter(H=>H.value===B)[0];return z.pId==="-1"?"":A(m.filter(H=>H.id===z.pId)[0].id)+"/"+z.title},O=()=>{i(B=>[...B].sort((z,H)=>z.name.localeCompare(H.name)))},N=()=>{i([])},k=()=>{v(!0)},M=B=>{w(B.target.value)},L=()=>{const B=A(g),z=`${g}.${m.length}`,H={id:z,pId:g,value:z,title:S};try{o2.apiPostTeddyCloudRaw("/api/dirCreate?special=library",B+"/"+S).then(U=>U.text()).then(U=>{if(U!=="OK")throw new Error(U);h([...m,H]),b(z),lt.success(e("tonies.createDirectory.directoryCreated")),v(!1),w("")}).catch(U=>{lt.error(U.message)})}catch{lt.error("Error while creating directory")}},F=()=>{v(!1),w("")},j=C.jsxs(On,{title:e("tonies.createDirectory.modalTitle"),open:y,onCancel:F,onOk:L,okText:e("tonies.createDirectory.create"),cancelText:e("tonies.createDirectory.cancel"),children:[C.jsxs("p",{children:[e("tonies.createDirectory.inDirectory")," ",C.jsxs("b",{children:[A(g),"/"]})]}),C.jsx(Zt,{ref:x,autoFocus:!0,placeholder:e("tonies.createDirectory.placeholder"),value:S,onChange:M})]});return C.jsxs(C.Fragment,{children:[n,C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.encoder.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonies.encoder.title")}),C.jsxs(Mo,{direction:"vertical",style:{display:"flex"},children:[C.jsx(w5e,{sensors:[I],onDragEnd:R,children:C.jsx(M5e,{items:o.map(B=>B.uid),strategy:k5e,disabled:s,children:C.jsxs(C0.Dragger,{...D,disabled:s,children:[C.jsx("p",{className:"ant-upload-drag-icon",children:C.jsx(DW,{})}),C.jsx("p",{className:"ant-upload-text",children:e("tonies.encoder.uploadText",{maxFiles:Gm})}),C.jsx("p",{className:"ant-upload-hint",children:e("tonies.encoder.uploadHint")})]})})}),o.length>0?C.jsxs(C.Fragment,{children:[C.jsxs(Mo,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start"},children:[C.jsx($t,{type:"default",disabled:s,onClick:O,children:e("tonies.encoder.sortAlphabetically")}),C.jsx($t,{type:"default",disabled:s,style:{marginRight:16},onClick:N,children:e("tonies.encoder.clearList")})]}),C.jsx(Ca,{}),C.jsx("div",{style:{width:"100%"},className:"encoder",children:C.jsxs(Mo,{direction:"vertical",style:{width:"100%"},children:[C.jsxs(Mo.Compact,{direction:"horizontal",style:{width:"100%",marginBottom:"16px",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[C.jsx(Zt,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:e("tonies.encoder.saveAs")}),C.jsx(fc,{treeLine:!0,treeDataSimpleMode:!0,disabled:s,style:{maxWidth:250},value:g,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:b,loadData:P,treeData:m}),C.jsx(rn,{title:e("tonies.createDirectory.createDirectory"),children:C.jsx($t,{disabled:s,icon:C.jsx(Qye,{}),onClick:k,style:{borderRadius:0}})}),C.jsx(Zt,{addonAfter:".taf",required:!0,style:{maxWidth:300},status:o.length>0&&f===""?"error":"",onChange:B=>p(B.target.value),disabled:s})]}),C.jsx(Mo.Compact,{style:{display:"flex",justifyContent:"flex-end"},children:C.jsx($t,{type:"primary",onClick:$,disabled:o.length===0||f==="",loading:s,children:e(s?u?"tonies.encoder.processing":"tonies.encoder.uploading":"tonies.encoder.upload")})})]})})]}):C.jsx(C.Fragment,{})]})]})]}),j]})},{Paragraph:K5e}=Bn,Y5e=()=>{const{t:e}=Ft(),[t,n]=l.useState(!1),r=a=>{console.log("Received values of form: ",a),n(!1)};return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.tap.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonies.tap.title")}),C.jsx(na,{message:e("settings.information"),description:C.jsx("div",{children:"Development still in progress - Please be patient or support implementation of this feature!"}),type:"info",showIcon:!0,style:{marginBottom:8}}),C.jsx(Og,{special:"library",filetypeFilter:[".tap"],showColumns:["picture","name","size","date","controls"],isTapList:!0}),C.jsx(K5e,{children:C.jsxs("div",{children:[C.jsx($t,{type:"primary",style:{marginTop:8},onClick:()=>{n(!0)},children:e("tonies.tapEditor.titleCreate")}),C.jsx($K,{open:t,onCreate:r,onCancel:()=>{n(!1)}})]})})]})]})]})},qm=new wn(fn()),X5e=({overlay:e})=>{var d;const[t,n]=l.useState(),{t:r}=Ft(),[a,o]=l.useState(""),[i,s]=l.useState(!1);l.useEffect(()=>{(async()=>{try{const p=await qm.apiGetTeddyCloudSettingRaw("core.settings_level");if(!p.ok)throw new Error(`HTTP error! status: ${p.status}`);const g=await p.json();o(g.toString())}catch(p){console.error("Error fetching settings level: ",p)}})()},[]),l.useEffect(()=>{(async()=>{var g,b;s(!0);const p=await qm.apiGetIndexGet(e);(g=p==null?void 0:p.options)!=null&&g.length&&((b=p==null?void 0:p.options)==null?void 0:b.length)>0&&n(p),s(!1)})()},[e,a]);const c=async()=>{try{await qm.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},u=async f=>{try{await qm.apiPostTeddyCloudSetting("core.settings_level",f),c(),o(f)}catch{lt.error("Error while sending data to server.")}};return C.jsxs(C.Fragment,{children:[C.jsx(na,{message:r("settings.warning"),description:C.jsx("div",{children:r("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px"}}),C.jsx(Ca,{children:r("settings.title")}),C.jsx(Gq,{initialValues:{test:"test"},onSubmit:f=>{},children:C.jsx(qt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(d=t==null?void 0:t.options)==null?void 0:d.map((f,p,g)=>{if(f.iD.includes("core.settings_level")||!f.iD.includes("core.certdir")&&!f.iD.includes("core.client_cert.")&&!f.iD.includes("core.flex_")&&!f.iD.includes("core.contentdir")&&!f.iD.includes("toniebox.")&&!f.iD.includes("cloud.enabled")&&!f.iD.includes("cloud.enableV1Claim")&&!f.iD.includes("cloud.enableV1CloudReset")&&!f.iD.includes("cloud.enableV1FreshnessCheck")&&!f.iD.includes("cloud.enableV1Log")&&!f.iD.includes("cloud.enableV1Time")&&!f.iD.includes("cloud.enableV1Ota")&&!f.iD.includes("cloud.enableV2Content")&&!f.iD.includes("cloud.cacheOta")&&!f.iD.includes("cloud.localOta")&&!f.iD.includes("cloud.cacheContent")&&!f.iD.includes("cloud.cacheToLibrary")&&!f.iD.includes("cloud.markCustomTagByPass")&&!f.iD.includes("cloud.prioCustomContent")&&!f.iD.includes("cloud.updateOnLowerAudioId")&&!f.iD.includes("cloud.dumpRuidAuthContentJson"))return null;const b=f.iD.split("."),m=g[p-1]?g[p-1].iD.split("."):[];return C.jsxs(le.Fragment,{children:[b.slice(0,-1).map((h,y)=>m[y]!==h?y===0?C.jsxs("h3",{style:{marginLeft:`${y*20}px`,marginBottom:"10px"},children:["Category ",h]},`category-${h}`):C.jsxs("h4",{style:{marginLeft:`${y*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",h]},`category-${h}`):null),C.jsx(qq,{option:f,overlayId:e},`option-item-${f.iD}`)]},`option-${f.iD}`)})})}),C.jsx(Ca,{children:r("settings.levelLabel")}),C.jsxs(Va.Group,{value:a,onChange:f=>u(f.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:i,children:[C.jsx(Va.Button,{value:"1",children:"Basic"}),C.jsx(Va.Button,{value:"2",children:"Detail"}),C.jsx(Va.Button,{value:"3",children:"Expert"})]})]})},$5=new wn(fn());function QK(){const[e,t]=l.useState([]);return l.useEffect(()=>{async function n(){try{const a=await(await $5.apiGetTeddyCloudApiRaw("/api/tonieboxesJson")).json(),c=[...await(await $5.apiGetTeddyCloudApiRaw("/api/tonieboxesCustomJson")).json(),...a].map(u=>({id:u.id,name:u.name,img_src:u.img_src,crop:u.crop||null}));t(c)}catch(r){console.error("Error fetching and transforming data:",r),t([])}}n()},[]),e}const Xr=new wn(fn()),{Paragraph:i2,Text:Z5e}=Bn,{Meta:Q5e}=ld,{useToken:J5e}=hi,eje=({tonieboxCard:e,tonieboxImages:t})=>{var Ce,Re,he,Ee,je;const{t:n}=Ft(),{token:r}=J5e(),[a,o]=lt.useMessage(),[i,s]=l.useState(!1),[c,u]=l.useState(""),[d,f]=l.useState(""),[p,g]=l.useState(""),[b,m]=l.useState(!1),[h,y]=l.useState(null),[v,S]=l.useState(),[w,x]=l.useState(!1),[E,I]=l.useState(!1),[R,T]=l.useState(!1),[_,$]=l.useState(e.boxModel),[D,P]=l.useState(e.boxModel),[A,O]=l.useState(e.boxName),[N,k]=l.useState(e.boxName),[M,L]=l.useState(null),[F,j]=l.useState(!1),[B,z]=l.useState(!0),[H,U]=l.useState(0);l.useEffect(()=>{(async()=>{const Ne=await Xr.apiGetTonieboxApiAccess(e.ID);z(Ne)})()},[e.ID,w]),l.useEffect(()=>{(async()=>{const Le=await Xr.apiGetTonieboxStatus(e.ID);s(Le)})(),(async()=>{const Le=await Xr.apiGetTonieboxVersion(e.ID),Ke={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};if(Le in Ke){const Je=Ke[Le];u(Je)}else u("UNKNOWN")})(),(async()=>{const Le=await Xr.apiGetTonieboxLastRUID(e.ID);if(Le!=="ffffffffffffffff"&&Le!==""){const Ke=await Xr.apiGetTonieboxLastRUIDTime(e.ID);(async()=>{const Xe=await Xr.apiGetTagIndex(e.ID);te(Xe.filter(ut=>ut.ruid===Le),Ke)})()}})(),i||(async()=>{const Ke=await Xr.apiGetLastOnline(e.ID);f(Ke)})(),(async()=>{const Ke=await(await Xr.apiGetTeddyCloudSettingRaw("internal.ip",e.ID)).text();g(Ke)})(),Y(e.boxModel),P(e.boxModel)},[e.ID,e.boxModel]),l.useEffect(()=>{if(p&&c==="CC3200")try{fetch(`http://${p}/api/ajax?cmd=box-battery&sub=stats`).then(Ae=>Ae.text()).then(Ae=>{console.log("Battery Stats fetched --> assume CFW active"),m(!0)}).catch(Ae=>{console.log("No Battery Stats fetched --> assume CFW not active"),m(!1)})}catch{console.log("No Battery Stats fetched --> assume CFW not active"),m(!1)}},[p,c]);const Z=QK(),q=[{label:n("tonieboxes.editModelModal.unsetBoxName"),value:"-1"}].concat(Z.map(Ae=>({label:Ae.name,value:Ae.id}))),Y=Ae=>{const Ne=t.find(ze=>ze.id===Ae);L(Ne?C.jsx("img",{src:Ne.img_src,alt:"",style:{...J(Ae),position:"absolute",top:"0",left:"0"}}):C.jsx("img",{src:"https://cdn.tonies.de/thumbnails/03-0009-i.png",alt:"",style:{filter:"opacity(0.20)",width:"100%",height:"auto",position:"absolute",top:"0",left:"0"}}))},te=(Ae,Ne)=>{y(C.jsx(C.Fragment,{children:C.jsx(Rt,{to:"/tonies?tonieRUID="+Ae[0].ruid+"&overlay="+e.ID,children:C.jsx(rn,{placement:"top",zIndex:2,title:n("tonieboxes.lastPlayedTonie")+Ae[0].tonieInfo.series+(Ae[0].tonieInfo.episode?" - "+Ae[0].tonieInfo.episode:"")+(Ne?" ("+Ne+")":""),children:C.jsx("img",{src:Ae[0].tonieInfo.picture,alt:"Tonie",style:{position:"absolute",bottom:0,right:0,zIndex:1,padding:8,borderRadius:4,height:"60%"}})})})}))},ee=()=>{(async()=>{var ze,qe;const Ne=await Xr.apiGetIndexGet(e.ID);(ze=Ne==null?void 0:Ne.options)!=null&&ze.length&&((qe=Ne==null?void 0:Ne.options)==null?void 0:qe.length)>0&&S(Ne)})(),X()},X=()=>{I(!0)},ie=async()=>{I(!1)},re=()=>{I(!1)},G=()=>{x(!0)},Q=async()=>{x(!1)},ae=()=>{x(!1)},oe=()=>{U(Ae=>Ae+1),G()},de=()=>{P(D===void 0?_:D),T(!0)},ve=()=>{P(_),k(N),O(N),T(!1)},ye=async()=>{Y(D),$(D);const Ae=async()=>{await Xr.apiTriggerWriteConfigGet()};try{Xr.apiPostTeddyCloudSetting("boxModel",D,e.ID).then(()=>{Ae()}).catch(Ne=>{lt.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),lt.success(n("tonieboxes.editModelModal.successOnModelChange"))}catch(Ne){lt.error(n("tonieboxes.editModelModal.errorOnModelChange",{error:Ne}))}},ge=async()=>{k(A);const Ae=async()=>{await Xr.apiTriggerWriteConfigGet()};try{Xr.apiPostTeddyCloudSetting("boxName",A.toString(),e.ID).then(()=>{Ae()}).catch(Ne=>{lt.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),lt.success(n("tonieboxes.editModelModal.successOnNameChange"))}catch(Ne){lt.error(n("tonieboxes.editModelModal.errorOnNameChange",{error:Ne}))}},J=Ae=>{const Ne=t.find(ze=>ze.id===Ae);if(Ne&&Ne.crop){const[ze,qe,Le]=Ne.crop;return{width:"100%",height:"auto",transform:`scale(${Le}) translateX(${ze}px) translateY(${qe}px)`}}else return{width:"100%",height:"auto"}},ce=()=>e.ID.replace(/(.{2})(?=.)/g,"$1:"),ue=async()=>{T(!1),A!==N&&ge(),_!==D&&ye()},fe=C.jsx(C.Fragment,{children:C.jsxs($t,{type:"primary",onClick:ue,disabled:A===N&&_===D,children:[C.jsx(LW,{},"saveClick")," ",n("tonies.editModal.save")]})}),pe=C.jsxs(On,{title:C.jsx(C.Fragment,{children:C.jsxs("h3",{children:[n("tonieboxes.editModelModal.editModel",{name:e.boxName}),C.jsx("br",{}),C.jsx(Z5e,{type:"secondary",children:(c!=="UNKNOWN"?c:"MAC")+": "+ce()})]})}),open:R,footer:fe,onCancel:ve,children:[C.jsx(Ca,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.name")}),C.jsx(i2,{children:C.jsx(Zt,{name:"boxName",value:A,onChange:Ae=>O(Ae.target.value),addonBefore:C.jsx(da,{onClick:()=>O(N),style:{color:A===N?r.colorTextDisabled:r.colorText,cursor:A===N?"default":"pointer"}})})}),C.jsx(Ca,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.model")}),C.jsx(i2,{children:C.jsx(mr,{options:q,value:D,onChange:Ae=>P(Ae)})})]}),xe=C.jsxs(On,{title:n("tonieboxes.uploadTonieboxCertificatesModal.uploadTonieboxCertificates",{name:e.boxName}),open:E,onOk:ie,onCancel:re,children:[C.jsxs(i2,{children:[n("tonieboxes.uploadTonieboxCertificatesModal.uploadPath")," :"," ",C.jsx("i",{children:(Re=(Ce=v==null?void 0:v.options)==null?void 0:Ce.find(Ae=>Ae.iD==="core.certdir"))==null?void 0:Re.value})," ",C.jsx("small",{children:(Ee=(he=v==null?void 0:v.options)==null?void 0:he.find(Ae=>Ae.iD==="core.certdir"))!=null&&Ee.overlayed?n("tonieboxes.uploadTonieboxCertificatesModal.boxSpecific"):n("tonieboxes.uploadTonieboxCertificatesModal.AttentionGeneralPath")})]}),C.jsx(_K,{overlay:e.ID})]}),Te=C.jsx(On,{title:n("tonieboxes.editTonieboxSettingsModal.editTonieboxSettings",{name:e.boxName}),width:"auto",open:w,onOk:Q,onCancel:ae,children:C.jsx(X5e,{overlay:e.ID},H)}),Pe=()=>{try{a.open({type:"loading",content:n("tonieboxes.messages.deleting"),duration:0}),Xr.apiPostTeddyCloudSetting("removeOverlay",null,e.ID).then(Ae=>Ae.text()).then(Ae=>{a.destroy(),Ae==="OK"?(a.open({type:"success",content:n("tonieboxes.messages.deleteSuccessful")}),window.location.reload()):a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ae})}).catch(Ae=>{a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ae})})}catch(Ae){a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ae})}},ke=()=>{j(!0)},Ue=()=>{Pe(),j(!1)},Be=()=>{j(!1)},De=C.jsx(Ap,{title:n("tonieboxes.confirmDeleteModal"),open:F,okText:n("tonieboxes.delete"),cancelText:n("tonieboxes.cancel"),content:n("tonieboxes.confirmDeleteDialog",{tonieboxToDelete:N}),handleOk:Ue,handleCancel:Be}),Se=async()=>{try{await Xr.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},_e=async()=>{try{Xr.apiPostTeddyCloudSetting("toniebox.api_access",!B,e.ID).then(()=>{Se(),z(!B),B?lt.success(n("tonieboxes.messages.apiAccessDisabled")):lt.success(n("tonieboxes.messages.apiAccessEnabled"))}).catch(Ae=>{throw new Error(Ae.status+" "+Ae.statusText)})}catch(Ae){lt.error(n("tonieboxes.messages.apiAccessNotChangedError")+Ae)}};return C.jsxs(C.Fragment,{children:[o,C.jsx(ld,{hoverable:!1,size:"default",style:{background:r.colorBgContainerDisabled,cursor:"default"},title:C.jsx("span",{children:N}),cover:C.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[h,C.jsx("img",{src:(je=t.find(Ae=>Ae.id==="03-0009"))==null?void 0:je.img_src,alt:"",style:{position:"relative",filter:"opacity(0)",width:"100%",height:"auto"}}),M]}),actions:[C.jsx(C.Fragment,{children:B?i?C.jsx(rn,{title:n("tonieboxes.online"),children:C.jsx(LT,{style:{color:"green",cursor:"default"}})}):C.jsx(rn,{title:n("tonieboxes.offline")+(d?" - "+n("tonieboxes.lastOnline")+": "+d:""),children:C.jsx(LT,{style:{color:r.colorTextDescription,cursor:"default"}})}):C.jsx(rn,{title:n("tonieboxes.accessApiDisabled"),children:C.jsx(NSe,{style:{color:"red",cursor:"pointer"},onClick:_e})})}),C.jsx(m0,{onClick:()=>de()},"edit"),C.jsx(PW,{style:{marginRight:8},onClick:ee},"certificate"),C.jsx(W$,{style:{marginRight:8},onClick:oe},"edit"),C.jsx(Ep,{style:{marginRight:8},onClick:ke},"delete")],children:C.jsx(Q5e,{description:[(c!=="UNKNOWN"&&c!==void 0&&c!==null?c:"MAC")+" ",b?C.jsx(rn,{title:n("tonieboxes.linkToBoxCFW"),children:C.jsxs(Rt,{to:"http://"+p,target:"_blank",children:[ce()," ",C.jsx(_Se,{})]})}):ce()]})}),Te,xe,pe,De]})},tje=({tonieboxCards:e})=>{const[t,n]=l.useState(!0),r=QK();return r.length===0&&t?C.jsx("div",{children:"Loading..."}):C.jsx(Bs,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:e,renderItem:a=>C.jsx(Bs.Item,{id:a.ID,children:C.jsx(eje,{tonieboxCard:a,tonieboxImages:r})})})},nje=()=>C.jsx("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"12.000000pt",height:"12.000000pt",viewBox:"0 0 900.000000 900.000000",preserveAspectRatio:"xMidYMid meet",children:C.jsxs("g",{transform:"translate(0.000000,900.000000) scale(0.100000,-0.100000)",fill:"currentColor",stroke:"none",children:[C.jsx("path",{d:"M5895 8380 c-4 -6 -21 -16 -38 -24 -60 -25 -301 -236 -416 -363 -42 -46 -101 -103 -131 -127 -30 -24 -116 -104 -190 -177 -75 -74 -167 -163 -205 -199 -39 -36 -132 -124 -208 -195 -186 -175 -194 -179 -368 -195 -138 -13 -274 -10 -303 7 -45 25 -385 357 -446 434 -65 84 -279 313 -345 369 -17 14 -58 40 -91 58 -59 31 -67 32 -177 32 -87 0 -117 -3 -127 -14 -6 -8 -23 -16 -37 -18 -28 -3 -61 -47 -62 -83 -1 -12 -5 -25 -10 -30 -5 -6 -28 -64 -50 -130 -51 -151 -94 -274 -121 -345 -12 -30 -32 -86 -45 -125 -13 -38 -38 -108 -54 -154 -17 -46 -31 -85 -31 -87 0 -2 -181 -4 -402 -4 -362 0 -410 -2 -473 -19 -93 -25 -147 -55 -209 -117 -62 -62 -92 -116 -117 -209 -18 -68 -19 -160 -19 -2724 0 -2915 -4 -2713 58 -2836 31 -62 127 -155 189 -185 109 -52 -33 -49 2843 -49 2835 0 2752 -2 2840 44 111 57 194 152 230 266 20 61 20 110 20 2759 0 2673 0 2697 -20 2755 -50 147 -153 247 -300 294 -33 10 -131 15 -370 20 l-325 6 -2 50 c-9 210 -37 703 -49 855 -8 102 -14 239 -14 306 0 171 9 164 -233 164 -115 0 -188 -4 -192 -10z m-1 -652 c3 -13 6 -68 6 -123 0 -55 7 -174 15 -265 8 -91 15 -202 15 -247 l0 -83 -420 0 c-356 0 -420 2 -420 14 0 8 4 16 9 18 5 2 34 26 63 53 29 28 118 111 198 185 147 137 229 213 402 378 53 51 103 92 111 92 8 0 17 -10 21 -22z m-2697 -470 c65 -61 146 -138 181 -171 34 -32 62 -63 62 -68 0 -5 -107 -9 -255 -9 -169 0 -255 3 -255 10 0 10 30 104 49 152 18 47 40 104 56 151 9 26 23 47 31 47 7 0 66 -50 131 -112z m3746 -698 c16 0 17 -130 15 -2622 l-3 -2623 -2642 -3 -2643 -2 -2 2617 c-2 1850 0 2620 8 2627 7 8 777 10 2630 9 1440 -2 2627 -3 2637 -3z"}),C.jsx("path",{d:"M5735 6087 c-54 -22 -72 -36 -104 -83 -27 -41 -31 -57 -31 -111 0 -129 77 -205 206 -205 90 0 154 42 188 126 66 160 -100 335 -259 273z"}),C.jsx("path",{d:"M2842 5359 c-52 -16 -118 -90 -132 -148 -36 -150 102 -286 252 -250 61 14 129 75 148 134 29 86 -9 195 -83 242 -45 29 -131 39 -185 22z"}),C.jsx("path",{d:"M5035 5362 c-90 -32 -145 -106 -145 -197 0 -96 68 -183 161 -205 39 -10 57 -9 101 4 63 19 75 28 116 85 28 39 32 52 32 110 0 120 -72 199 -186 206 -32 2 -68 1 -79 -3z"}),C.jsx("path",{d:"M5730 5359 c-85 -36 -130 -105 -130 -202 0 -56 4 -70 32 -108 40 -56 52 -65 112 -85 43 -15 57 -15 100 -4 235 59 212 392 -28 406 -33 2 -72 -1 -86 -7z"}),C.jsx("path",{d:"M2818 4620 c-48 -26 -93 -82 -108 -135 -29 -103 38 -216 147 -250 54 -17 58 -17 112 0 36 12 69 33 93 57 92 94 68 260 -47 325 -52 29 -144 31 -197 3z"}),C.jsx("path",{d:"M3506 4609 c-150 -100 -116 -315 59 -375 54 -18 56 -18 109 0 89 30 156 116 156 199 0 73 -68 172 -137 198 -13 5 -50 9 -82 9 -48 0 -66 -5 -105 -31z"}),C.jsx("path",{d:"M4258 4610 c-152 -101 -119 -316 57 -376 54 -18 56 -18 109 0 89 31 156 116 156 200 0 73 -66 170 -133 195 -16 6 -54 11 -86 11 -47 0 -66 -5 -103 -30z"}),C.jsx("path",{d:"M4984 4607 c-149 -103 -115 -318 60 -373 55 -17 59 -17 111 0 52 18 92 51 128 106 22 33 23 140 1 183 -40 78 -103 117 -193 117 -50 0 -66 -5 -107 -33z"}),C.jsx("path",{d:"M5715 4623 c-79 -41 -115 -103 -115 -195 0 -42 6 -72 17 -88 36 -55 76 -88 129 -106 53 -18 55 -18 109 1 121 41 182 154 143 266 -15 46 -42 79 -90 112 -34 22 -52 27 -102 27 -36 -1 -74 -7 -91 -17z"}),C.jsx("path",{d:"M2841 3901 c-60 -24 -107 -74 -127 -134 -15 -44 -15 -57 -4 -101 41 -161 208 -217 339 -114 48 37 65 78 66 155 0 63 -3 76 -30 115 -34 49 -120 98 -169 97 -17 0 -51 -8 -75 -18z"}),C.jsx("path",{d:"M3532 3894 c-162 -80 -161 -292 0 -375 46 -24 127 -25 171 -3 73 37 127 119 127 193 -1 77 -59 158 -138 192 -59 26 -98 24 -160 -7z"}),C.jsx("path",{d:"M4279 3892 c-99 -51 -148 -176 -103 -265 86 -170 309 -169 385 2 35 80 19 159 -47 225 -36 35 -105 66 -149 66 -18 0 -57 -13 -86 -28z"}),C.jsx("path",{d:"M5015 3896 c-60 -28 -94 -63 -112 -114 -28 -81 -10 -163 48 -220 104 -102 265 -77 330 50 22 42 26 146 8 181 -34 65 -128 127 -193 127 -17 0 -53 -11 -81 -24z"}),C.jsx("path",{d:"M5727 3901 c-45 -21 -93 -65 -113 -103 -21 -40 -18 -141 5 -186 37 -72 102 -112 181 -112 151 0 251 153 191 292 -23 52 -52 80 -111 107 -54 25 -102 25 -153 2z"}),C.jsx("path",{d:"M2855 3201 c-70 -17 -128 -80 -146 -159 -25 -105 47 -216 156 -242 49 -12 62 -11 110 4 148 46 194 226 86 337 -60 62 -122 80 -206 60z"}),C.jsx("path",{d:"M3546 3196 c-181 -67 -179 -326 3 -391 69 -24 127 -15 194 29 44 29 87 112 87 166 -1 59 -43 136 -95 172 -50 34 -132 45 -189 24z"}),C.jsx("path",{d:"M4296 3196 c-145 -54 -180 -230 -69 -348 27 -29 99 -58 142 -58 71 1 142 46 182 114 38 67 38 123 1 191 -51 93 -161 136 -256 101z"}),C.jsx("path",{d:"M5038 3203 c-36 -6 -115 -77 -133 -120 -45 -107 14 -239 124 -278 52 -18 84 -19 131 -2 49 17 72 35 108 86 28 39 32 52 32 110 0 80 -26 132 -85 173 -41 28 -117 42 -177 31z"}),C.jsx("path",{d:"M5737 3200 c-44 -14 -95 -58 -117 -100 -31 -61 -28 -153 8 -207 36 -55 69 -80 126 -95 129 -34 261 76 253 212 -4 71 -21 104 -78 152 -38 32 -54 39 -105 43 -32 2 -72 0 -87 -5z"}),C.jsx("path",{d:"M3535 2463 c-44 -23 -84 -63 -106 -105 -48 -94 -2 -219 100 -270 64 -33 103 -35 163 -9 79 34 137 115 138 192 0 74 -54 156 -127 193 -41 20 -129 20 -168 -1z"}),C.jsx("path",{d:"M4285 2463 c-44 -23 -84 -63 -106 -105 -48 -94 -2 -219 100 -270 64 -33 103 -35 163 -9 79 34 137 115 138 192 0 74 -54 156 -127 193 -41 20 -129 20 -168 -1z"}),C.jsx("path",{d:"M5012 2463 c-69 -38 -104 -83 -123 -162 -10 -46 20 -134 61 -176 32 -33 107 -65 151 -65 61 0 156 64 188 127 6 12 11 49 11 83 0 94 -42 161 -122 195 -50 20 -126 19 -166 -2z"})]})}),Ws=()=>{const{t:e}=Ft(),t=[{key:"tonieboxes",label:C.jsx(Rt,{to:"/tonieboxes",style:{marginLeft:8},children:e("tonieboxes.navigationTitle")}),icon:le.createElement(nje),title:e("tonieboxes.navigationTitle")},{key:"esp32boxflashing",label:C.jsx(Rt,{to:"/tonieboxes/esp32boxflashing",children:e("tonieboxes.esp32BoxFlashing.navigationTitle")}),icon:le.createElement(CS),title:e("tonieboxes.esp32BoxFlashing.navigationTitle")},{key:"cc3200boxflashing",label:C.jsx(Rt,{to:"/tonieboxes/cc3200boxflashing",children:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}),icon:le.createElement(CS),title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")},{key:"cc3235boxflashing",label:C.jsx(Rt,{to:"/tonieboxes/cc3235boxflashing",children:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}),icon:le.createElement(CS),title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}];return C.jsx(Eg,{mode:"inline",defaultOpenKeys:["sub"],items:t})},O5=new wn(fn()),rje=()=>{const{t:e}=Ft(),[t,n]=l.useState([]),[r,a]=l.useState(!1);l.useEffect(()=>{(async()=>{const c=await O5.apiGetTonieboxesIndex();n(c)})(),(async()=>{try{const c=await O5.apiGetNewBoxesAllowed();a(c)}catch(c){lt.error("Fetching new box allowed: "+c)}})()},[]);const o=r?C.jsx(na,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}):"";return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Ws,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Ws,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonieboxes.title")}),o,C.jsx(tje,{tonieboxCards:t})]})]})]})},So=()=>{const{t:e}=Ft(),t=[{key:"community",label:C.jsx(Rt,{to:"/community",children:e("community.navigationTitle")}),icon:le.createElement(ISe),title:e("community.navigationTitle")},{key:"faq",label:C.jsx(Rt,{to:"/community/faq",children:e("community.faq.navigationTitle")}),icon:le.createElement(mW),title:e("community.faq.navigationTitle")},{key:"contribution",label:C.jsx(Rt,{to:"/community/contribution",style:{color:"currentColor"},children:e("community.contribution.navigationTitle")}),icon:le.createElement(Iye),title:e("community.contribution.navigationTitle"),children:[{key:"toniesJson",label:C.jsx(Rt,{to:"/community/contribution/tonies-json",children:e("community.contribution.toniesJson.navigationTitle")}),icon:le.createElement(bve),title:e("community.contribution.toniesJson.navigationTitle")}]},{key:"contributors",label:C.jsx(Rt,{to:"/community/contributors",children:e("community.contributors.navigationTitle")}),icon:le.createElement(Yye),title:e("community.contributors.navigationTitle")},{key:"changelog",label:C.jsx(Rt,{to:"/community/changelog",children:e("community.changelog.navigationTitle")}),icon:le.createElement(L0e),title:e("community.changelog.navigationTitle")},{key:"Forum",label:C.jsx(Rt,{to:"https://forum.revvox.de/",target:"_blank",children:e("community.forum.navigationTitle")}),icon:le.createElement(pye),title:e("community.forum.navigationTitle")}];return C.jsx(Eg,{mode:"inline",defaultOpenKeys:["sub"],items:t})},{Paragraph:N5}=Bn,aje=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.title")}),C.jsxs(N5,{children:[C.jsx("h2",{children:"Get involved"}),"Be a part of our global contributor community by writing code, commenting on issues, or participate in discussons in our telegram group."]}),C.jsxs(N5,{children:["Your best points of contact are the following locations",C.jsxs("ul",{children:[C.jsxs("li",{children:[C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"}),C.jsx("ul",{children:C.jsx("li",{children:"The place where all sources are stored for this and related projects. Where you can fork the repositories, contribute new or improved features, create issues or just give some feedback on already existing issues."})})]}),C.jsxs("li",{children:[C.jsx(Rt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"}),C.jsx("ul",{children:C.jsx("li",{children:"The first level support if you need help or if you are interested in getting involved in the development of TeddyCloud."})})]}),C.jsxs("li",{children:[C.jsx(Rt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"}),C.jsx("ul",{children:C.jsx("li",{children:"The lively knowledge base for the project, a place to ask questions whose answers can be helpful for others."})})]}),C.jsxs("li",{children:[C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"TeddyCloud Wiki"}),C.jsx("ul",{children:C.jsx("li",{children:"A Wiki contains, among other things, how to install TeddyCloud and how to solve possible problems."})})]})]})]})]})]})]})},{Paragraph:jc}=Bn,oje=()=>{const{t:e}=Ft(),t=["Use welcome and inclusive language.","Be respectful of differing viewpoints and experiences.","Gracefully accept constructive criticism.","Foster what's best for the community.","Show empathy for other community members.","Decisions are made based on technical merit and consensus. The Teddycloud community aspires to treat everyone equally, and to value all contributions."],n=["Write code.","Improve documentation.","Answer questions on our telegram group.","Investigate bugs and issues on GitHub.","Review and comment on pull requests from other developers.","Report an issue.","Give a “thumbs up” 👍 on issues that are relevant to you."];return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.contribution.title")}),C.jsxs(jc,{children:[C.jsx(jc,{children:"The Teddycloud can only grow through the contributions of this community. Thanks so much for your enthusiasm and your work - we appreciate everything you do!"}),C.jsxs(jc,{children:[C.jsx("h2",{children:"Community values"}),C.jsx(jc,{children:"In the interest of fostering an open and welcoming environment, contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone - regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation."}),C.jsx(jc,{children:"Examples of behaviors that contribute to creating a positive environment include:"}),C.jsx("ul",{children:t.map((r,a)=>C.jsx("li",{children:r},a))})]}),C.jsxs(jc,{children:[C.jsx("h2",{children:"Make your first contribution"}),"There are many ways to contribute to Teddycloud! You can contribute code and make improvements to the Teddycloud documentation. Our most common contributions include code, documentation, and community support.",C.jsx("ul",{children:n.map((r,a)=>C.jsx("li",{children:r},a))})]})]})]})]})]})},ije=new wn(fn()),{Paragraph:k5}=Bn,{Panel:sje}=k$,lje=()=>{const{t:e}=Ft(),[t,n]=l.useState({});return l.useEffect(()=>{async function r(){try{const s=(await(await ije.apiGetTeddyCloudApiRaw("/api/toniesJson")).json()).filter(u=>u.audio_id&&u.audio_id.length===0&&!["creative-tonie","system"].includes(u.category)&&!u.model.includes("20000")).map(u=>({model:u.model,series:u.series,episodes:u.episodes,pic:u.pic,audio_id:u.audio_id||[],category:u.category,language:u.language})),c={};s.forEach(u=>{c[u.language]||(c[u.language]=[]),c[u.language].push(u)}),n(c)}catch(a){console.error("Error fetching and transforming data:",a)}}r()},[]),C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")},{title:e("community.contribution.toniesJson.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.contribution.toniesJson.title")}),C.jsx(k5,{children:e("community.contribution.toniesJson.text")}),C.jsx(k5,{children:C.jsx(k$,{accordion:!0,children:Object.keys(t).map((r,a)=>C.jsx(sje,{header:r,children:C.jsx(Bs,{children:Array.isArray(t[r])&&t[r].map((o,i)=>C.jsx(Bs.Item,{id:o.model,children:C.jsxs("div",{children:[C.jsx("img",{src:o.pic,alt:"",style:{width:"100px",height:"auto"}}),o.model," - ",o.series," -"," ",o.episodes]})},i))})},a))})})]})]})]})},{Paragraph:qd}=Bn,cje=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contributors.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.contributors.title")}),C.jsxs(qd,{children:["This project relies on the tireless contributors who offer their free time and skills. Directly related to TeddyCloud are the contributors of the two projects teddycloud and teddycloud_web:",C.jsxs(qd,{children:[C.jsx("h3",{children:"teddycloud"}),C.jsx("div",{children:"The most neccessary, but mostly invisible part of your TeddyCloud Server."}),C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors"})]}),C.jsxs(qd,{children:[C.jsx("h3",{children:"teddycloud_web"}),C.jsx("div",{children:"Which is actually this frontend you are using and seeing here."}),C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors"})]}),C.jsxs(qd,{children:["You can find more contributors to the entire topic complex in the other GitHub repositories at"," ",C.jsx(Rt,{to:"https://github.com/orgs/toniebox-reverse-engineering/repositories",target:"_blank",children:"https://github.com/orgs/toniebox-reverse-engineering/repositories"})]})]}),C.jsx(Mo,{}),C.jsxs(qd,{children:[C.jsx("div",{style:{marginBottom:24},children:"A big round of applause for them!"}),C.jsx(XO,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!1,height:150})]})]})]})]})},{Paragraph:A5,Text:s2}=Bn,uje=()=>{const{t:e}=Ft(),t=[{version:"0.6.0",changes:["Stabilization backend","store last played time of last played tag","extend getTagIndex API, provide language in tonieInfos","PoC Toniebox api access (explicitly allow access to teddy cloud api on tonebox level)","Added enable/disable new Tonieboxes: prohibit registration of new tonieboxes if not enabled","Added removal of overlays (= removal of Tonieboxes from TeddyCloud)","add hide tonie/tag functionality (hide using new /web gui, present to box to unhide)","fixed locking bug, reworked locking.","fixed bug not storing cloud auth in some circumstances","fixed bug not storing source in json file: https://github.com/toniebox-reverse-engineering/teddycloud/issues/165","added limit to tempfile creation for radiostreams, default: 240mb (~6h) (configurable if expert mode is activated) https://github.com/toniebox-reverse-engineering/teddycloud/issues/180","added possibility to set WiFi Credentials on ESP32 Firmware patching","introduced second HTTPS port for WebFrontend only, which allows using https for webfrontend (Default: 8443)","tonie images from boxine can now be cached locally (PoC)","new /web gui is now default web gui: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/47","new /web gui: enhanced Toniecard, added search for Radiostream in Edit Modal","new /web gui: Tonies - Content section - added Migrate Content to Lib button on TAF files","new /web gui: added RTNL Log Page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/48","new /web gui: added show Json File when double click on json file (File browser view)","new /web gui: added show TAP File when double click on tap file (File browser view)","new /web gui: added show TAF Header (including AudioID + Hash) when double click on a taf file (File browser view)","new /web gui: show date time of last played tag (toniecard + toniboxcard)","new /web gui: added Tonie Audio Playlist page (WIP - Implementation not yet finished), rearranged menu entries tonies section: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/52","new /web gui: added delete feature in content, library and audio playlist page","new /web gui: improved changelog page, parse links and open links in new tab; completed contributors page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/27","new /web gui: added language flag to tonies card if it's not the same as the most owned language ones, added language filter","new /web gui: deletion of tonieboxes","new /web gui: info if add new boxes is enabled on homepage and tonieboxes page","new /web gui: enable/disable API access for toniebox added on tonieboxes page","new /web gui: add hide tonie/tag in tonies list (in info modal)","new /web gui: PoC Tonies Custom Json Editor (WiP, not working, but you get the json part to copy into the tonies.custom.json)","new /web gui: PoC Tonie Audio Playlist Editor (WiP, not working, but you get the json to copy and save as a TAP file) ","new /web gui: allow TAP files to be selected on Edit Tag Modal","new /web gui: new 404 page","new /web gui: hidden feature Tonie meeting. Search for it!","new /web gui: added link to Toniebox if the box is version cc3200, an ip is available and cfw is installed: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/28","new /web gui: hide audioplayer if no source is set, when clicking on play icon of a tonie/taf/... the player is shown: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: added minimize/maximize audioplayer https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: show Tonie on tonie article search","new /web gui: improved audioplayer, added volume control to custom one, hide doubled audioplayer","new /web gui: added French translation. Feel free to check if chatGPT is a good translator. If something is wrong, give us a shout at telegram!","new /weg gui: overworked filebrowser to be responsive","new /web gui: overworked tonie information modal, now also available in file browser (library + content)","new /web gui: added Create Directory functionality in file browser","new /web gui: added better breadcrumb to filebrowser (clickable for easy directory switching) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/78","new /web gui: set nocloud to true if source of a tag is changed https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/77","new /web gui: show image and information from set source if different from model https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/80","new /web gui: tonie overview: filter now also considers information from set source","new /web gui: fixed bugs after updating tonies in tonies overview","new /web gui: added FAQ page in community section","new /web gui: support web streams in audioplayer","new /web gui: improved filebrowser, added filter field and made buttons sticky","new /web gui: integrated ESP32 Firmware Flashing https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/46","new /web gui: integrated setting of WiFi credentials in ESP32 Firmware Flashing","new /web gui: show hint on ESP32 Firmware Flashing page if browser does not support WebSerial","new /web gui: allow multiselection in file browser for file deletion","new /web gui: limit audio encoder to 99 files (as Toniebox only supports 99 chapters)","new /web gui: fixed image fetch loop when playing a tonie","new /web gui: fixed poor audio quality in some case when using audio encoder","new /web gui: migrated gui from create-react-app to vite","new /web gui: fixed some bugs and minor refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.2...tc_v0.6.0","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.2...tcw_v0.6.0"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-0/468",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.0"},{version:"0.5.2",changes:["Stabilization backend","Several fixes and changes regards backend crashes and emptied config files when changing any tonie setting","Fix for random directories in library (and everywhere)","Fixed bug storing last played tonie per box","Fixed bug clearing text settings (like paths or flex tonie)","API for searching models is now case insensitive","Save IP of Toniebox as prepartion for linking CFW Tonieboxes","Introduced Settings level - 1: Basic, 2: Detail, 3: Expert (1 Default - if you are missing settings, increase level!)","new /web gui: enhanced Tonies Card, added editable content source","new /web gui: enhanced Toniebox Card, improved UX","new /web gui: Dark theme (Last used Theme stored in localStorage in Browser)","new /web gui: Show All (Hide Pagination on Tonies List, stored in localStorage in Browser)","new /web gui: Support of overlayed content folder. More details can be found here: https://forum.revvox.de/t/teddycloud-supporting-multiple-tonieboxes/451/1","new /web gui: Text inputs in Settings must be saved explicitly. (only Textinputs, other types are still autosaved.) Expect changes in future releases.","new /web gui: fixed various state bugs","new /web gui: show last online date of offline tonieboxes","new /web gui: Messages on successful setting updates","new /web gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.1...tc_v0.5.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.1...tcw_v0.5.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-2/450",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.2"},{version:"0.5.1",changes:["Stabilization Backend (added locks to prevent crashes, removed memory leaks)","Creating dirs when uploading certificates to a not yet existing path","Moving Tafs from Content to Library on click (not yet available in (new?) frontend)","new /web gui: Pagination + Filtering on Tonies List ( Paging Tonies · Issue #24 · toniebox-reverse-engineering/teddycloud_web · GitHub 2 )","new /web gui: Extend Box Management: Certificate upload now box specific possible, overworked certificate upload ( Certificate upload box related · Issue #26 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: Show last played Tonie on Box Management, link to prefiltered Tonieslist, added marking of the Last played Tonies on each box in Tonieslist ( Make use of internal.last_ruid · Issue #30 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: adapted cursor on cards to default as cards not really clickable ( TonieCard Cursor · Issue #25 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: fixed navigation item marking","new /web gui: updated box models, added pseudomodels of the official tonies covers (sleepy bear, sheep and rabbit). They are now placed in a json in the config folder. Custom tonieboxes are now also possible. Add your customised one in tonieboxes.custom.json and choose it in the box mgmt.","new /web gui: added community section (WIP) ( Add Changelog and contribution page · Issue #27 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: fixed warnings"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.0...tc_v0.5.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.0...tcw_v0.5.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-1/447",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.1"},{version:"0.5.0",changes:["security mitigations on public instances as it‘s definitely not recommended to host teddycloud in public accessible for all","prepared authentication for frontend (backend adaptions)","linked new /web gui on teddycloud administration gui","overworked header, reordered menu items, new icons, better readable status in new /web gui","fixed modals (still some display problems on small devices like mobiles exists)","added audio encoder to new /web gui, you are now able to select files and encode them to a taf","This lets you bring your own content easily on an existing tonie.","added toniebox management to new /web gui, improved backend functions for that","only at least once connected boxes are listed, model must be set manually","enriched homepage in new /web gui with 5 randomly selected tonies of yours","adapt tonie card list to different cover image sizes in new /web gui (all cards within one row have now the same height)","added no cloud and live icon (Toggle to enable/disable) on tonie card in new /web gui","fixed several bugs"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/pull/154","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/8","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/9","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/19","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/21","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/22"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-0/444",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.0"},{version:"0.4.5 and older",changes:["A lot more. See Github for details!"],commits:[]}],n=r=>{const a=/(https?:\/\/[^\s]+)/g;return r.split(a).map((i,s)=>a.test(i)?C.jsx(Rt,{to:i,target:"_blank",rel:"noopener noreferrer",children:i},s):i)};return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.changelog.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.changelog.title")}),C.jsx(A5,{children:C.jsx(Bs,{dataSource:t,renderItem:r=>C.jsxs(C.Fragment,{children:[C.jsxs("h2",{children:["Version ",r.version]}),C.jsxs(A5,{children:[C.jsx("h3",{children:"Changes"}),C.jsx("ul",{children:r.changes.map((a,o)=>C.jsx("li",{children:n(a)},o))})]}),r.commits&&r.commits.length>0&&C.jsxs(C.Fragment,{children:[C.jsx(s2,{strong:!0,children:"All contained commits can be found here (teddy cloud repo):"}),C.jsx("ul",{children:r.commits.map((a,o)=>C.jsx("li",{children:C.jsx(Rt,{to:a,target:"_blank",children:a})},o))})]}),r.discussionLink&&C.jsxs(C.Fragment,{children:[C.jsx(s2,{strong:!0,children:"Discussion:"}),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:r.discussionLink,target:"_blank",children:r.discussionLink})})})]}),r.githubReleaseLink&&C.jsxs(C.Fragment,{children:[C.jsx(s2,{strong:!0,children:"GitHub Release:"}),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:r.githubReleaseLink,target:"_blank",children:r.githubReleaseLink})})})]})]})})})]})]})]})};class sa extends Error{}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const dje=4,M5=0,D5=1,fje=2;function yd(e){let t=e.length;for(;--t>=0;)e[t]=0}const pje=0,JK=1,gje=2,mje=3,hje=258,sN=29,Mg=256,Lp=Mg+1+sN,wu=30,lN=19,eY=2*Lp+1,Tl=15,l2=16,vje=7,cN=256,tY=16,nY=17,rY=18,SR=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Oh=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),bje=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),aY=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),yje=512,Ni=new Array((Lp+2)*2);yd(Ni);const Ff=new Array(wu*2);yd(Ff);const Fp=new Array(yje);yd(Fp);const jp=new Array(hje-mje+1);yd(jp);const uN=new Array(sN);yd(uN);const Hv=new Array(wu);yd(Hv);function c2(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}let oY,iY,sY;function u2(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const lY=e=>e<256?Fp[e]:Fp[256+(e>>>7)],Bp=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},Ea=(e,t,n)=>{e.bi_valid>l2-n?(e.bi_buf|=t<>l2-e.bi_valid,e.bi_valid+=n-l2):(e.bi_buf|=t<{Ea(e,n[t*2],n[t*2+1])},cY=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},Sje=e=>{e.bi_valid===16?(Bp(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},wje=(e,t)=>{const n=t.dyn_tree,r=t.max_code,a=t.stat_desc.static_tree,o=t.stat_desc.has_stree,i=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length;let u,d,f,p,g,b,m=0;for(p=0;p<=Tl;p++)e.bl_count[p]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;uc&&(p=c,m++),n[d*2+1]=p,!(d>r)&&(e.bl_count[p]++,g=0,d>=s&&(g=i[d-s]),b=n[d*2],e.opt_len+=b*(p+g),o&&(e.static_len+=b*(a[d*2+1]+g)));if(m!==0){do{for(p=c-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[c]--,m-=2}while(m>0);for(p=c;p!==0;p--)for(d=e.bl_count[p];d!==0;)f=e.heap[--u],!(f>r)&&(n[f*2+1]!==p&&(e.opt_len+=(p-n[f*2+1])*n[f*2],n[f*2+1]=p),d--)}},uY=(e,t,n)=>{const r=new Array(Tl+1);let a=0,o,i;for(o=1;o<=Tl;o++)a=a+n[o-1]<<1,r[o]=a;for(i=0;i<=t;i++){let s=e[i*2+1];s!==0&&(e[i*2]=cY(r[s]++,s))}},Cje=()=>{let e,t,n,r,a;const o=new Array(Tl+1);for(n=0,r=0;r>=7;r{let t;for(t=0;t{e.bi_valid>8?Bp(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},P5=(e,t,n,r)=>{const a=t*2,o=n*2;return e[a]{const r=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a{let r,a,o=0,i,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+o++]&255,r+=(e.pending_buf[e.sym_buf+o++]&255)<<8,a=e.pending_buf[e.sym_buf+o++],r===0?ri(e,a,t):(i=jp[a],ri(e,i+Mg+1,t),s=SR[i],s!==0&&(a-=uN[i],Ea(e,a,s)),r--,i=lY(r),ri(e,i,n),s=Oh[i],s!==0&&(r-=Hv[i],Ea(e,r,s)));while(o{const n=t.dyn_tree,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.elems;let i,s,c=-1,u;for(e.heap_len=0,e.heap_max=eY,i=0;i>1;i>=1;i--)d2(e,n,i);u=o;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],d2(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=s,n[u*2]=n[i*2]+n[s*2],e.depth[u]=(e.depth[i]>=e.depth[s]?e.depth[i]:e.depth[s])+1,n[i*2+1]=n[s*2+1]=u,e.heap[1]=u++,d2(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],wje(e,t),uY(n,c,e.bl_count)},F5=(e,t,n)=>{let r,a=-1,o,i=t[0*2+1],s=0,c=7,u=4;for(i===0&&(c=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)o=i,i=t[(r+1)*2+1],!(++s{let r,a=-1,o,i=t[0*2+1],s=0,c=7,u=4;for(i===0&&(c=138,u=3),r=0;r<=n;r++)if(o=i,i=t[(r+1)*2+1],!(++s{let t;for(F5(e,e.dyn_ltree,e.l_desc.max_code),F5(e,e.dyn_dtree,e.d_desc.max_code),wR(e,e.bl_desc),t=lN-1;t>=3&&e.bl_tree[aY[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},Eje=(e,t,n,r)=>{let a;for(Ea(e,t-257,5),Ea(e,n-1,5),Ea(e,r-4,4),a=0;a{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return M5;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return D5;for(n=32;n{B5||(Cje(),B5=!0),e.l_desc=new u2(e.dyn_ltree,oY),e.d_desc=new u2(e.dyn_dtree,iY),e.bl_desc=new u2(e.bl_tree,sY),e.bi_buf=0,e.bi_valid=0,dY(e)},pY=(e,t,n,r)=>{Ea(e,(pje<<1)+(r?1:0),3),fY(e),Bp(e,n),Bp(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},Rje=e=>{Ea(e,JK<<1,3),ri(e,cN,Ni),Sje(e)},_je=(e,t,n,r)=>{let a,o,i=0;e.level>0?(e.strm.data_type===fje&&(e.strm.data_type=Ije(e)),wR(e,e.l_desc),wR(e,e.d_desc),i=xje(e),a=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=a&&(a=o)):a=o=n+5,n+4<=a&&t!==-1?pY(e,t,n,r):e.strategy===dje||o===a?(Ea(e,(JK<<1)+(r?1:0),3),L5(e,Ni,Ff)):(Ea(e,(gje<<1)+(r?1:0),3),Eje(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),L5(e,e.dyn_ltree,e.dyn_dtree)),dY(e),r&&fY(e)},$je=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(jp[n]+Mg+1)*2]++,e.dyn_dtree[lY(t)*2]++),e.sym_next===e.sym_end);var Oje=Tje,Nje=pY,kje=_je,Aje=$je,Mje=Rje,Dje={_tr_init:Oje,_tr_stored_block:Nje,_tr_flush_block:kje,_tr_tally:Aje,_tr_align:Mje};const Pje=(e,t,n,r)=>{let a=e&65535|0,o=e>>>16&65535|0,i=0;for(;n!==0;){i=n>2e3?2e3:n,n-=i;do a=a+t[r++]|0,o=o+a|0;while(--i);a%=65521,o%=65521}return a|o<<16|0};var zp=Pje;const Lje=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},Fje=new Uint32Array(Lje()),jje=(e,t,n,r)=>{const a=Fje,o=r+n;e^=-1;for(let i=r;i>>8^a[(e^t[i])&255];return e^-1};var Rr=jje,tc={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Sd={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Bje,_tr_stored_block:CR,_tr_flush_block:zje,_tr_tally:Ms,_tr_align:Hje}=Dje,{Z_NO_FLUSH:Ds,Z_PARTIAL_FLUSH:Uje,Z_FULL_FLUSH:Vje,Z_FINISH:uo,Z_BLOCK:z5,Z_OK:jr,Z_STREAM_END:H5,Z_STREAM_ERROR:si,Z_DATA_ERROR:Wje,Z_BUF_ERROR:f2,Z_DEFAULT_COMPRESSION:Gje,Z_FILTERED:qje,Z_HUFFMAN_ONLY:Km,Z_RLE:Kje,Z_FIXED:Yje,Z_DEFAULT_STRATEGY:Xje,Z_UNKNOWN:Zje,Z_DEFLATED:Y0}=Sd,Qje=9,Jje=15,eBe=8,tBe=29,nBe=256,xR=nBe+1+tBe,rBe=30,aBe=19,oBe=2*xR+1,iBe=15,ln=3,Cs=258,li=Cs+ln+1,sBe=32,Gu=42,dN=57,ER=69,IR=73,TR=91,RR=103,Rl=113,uf=666,ca=1,wd=2,nc=3,Cd=4,lBe=3,_l=(e,t)=>(e.msg=tc[t],t),U5=e=>e*2-(e>4?9:0),ms=e=>{let t=e.length;for(;--t>=0;)e[t]=0},cBe=e=>{let t,n,r,a=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=a?n-a:0;while(--t);t=a,r=t;do n=e.prev[--r],e.prev[r]=n>=a?n-a:0;while(--t)};let uBe=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},Wa=(e,t)=>{zje(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Fa(e.strm)},pn=(e,t)=>{e.pending_buf[e.pending++]=t},Kd=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},_R=(e,t,n,r)=>{let a=e.avail_in;return a>r&&(a=r),a===0?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),e.state.wrap===1?e.adler=zp(e.adler,t,a,n):e.state.wrap===2&&(e.adler=Rr(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},gY=(e,t)=>{let n=e.max_chain_length,r=e.strstart,a,o,i=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-li?e.strstart-(e.w_size-li):0,u=e.window,d=e.w_mask,f=e.prev,p=e.strstart+Cs;let g=u[r+i-1],b=u[r+i];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+i]!==b||u[a+i-1]!==g||u[a]!==u[r]||u[++a]!==u[r+1])){r+=2,a++;do;while(u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&ri){if(e.match_start=t,i=o,o>=s)break;g=u[r+i-1],b=u[r+i]}}while((t=f[t&d])>c&&--n!==0);return i<=e.lookahead?i:e.lookahead},qu=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-li)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),cBe(e),r+=t),e.strm.avail_in===0)break;if(n=_R(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=ln)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=Ps(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=Ps(e,e.ins_h,e.window[a+ln-1]),e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,a,o,i=0,s=e.strm.avail_in;do{if(r=65535,o=e.bi_valid+42>>3,e.strm.avail_outa+e.strm.avail_in&&(r=a+e.strm.avail_in),r>o&&(r=o),r>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,Fa(e.strm),a&&(a>r&&(a=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+a),e.strm.next_out),e.strm.next_out+=a,e.strm.avail_out-=a,e.strm.total_out+=a,e.block_start+=a,r-=a),r&&(_R(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(i===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_watero&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,o+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),o>e.strm.avail_in&&(o=e.strm.avail_in),o&&(_R(e.strm,e.window,e.strstart,o),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.high_water>3,o=e.pending_buf_size-o>65535?65535:e.pending_buf_size-o,n=o>e.w_size?e.w_size:o,a=e.strstart-e.block_start,(a>=n||(a||t===uo)&&t!==Ds&&e.strm.avail_in===0&&a<=o)&&(r=a>o?o:a,i=t===uo&&e.strm.avail_in===0&&r===a?1:0,CR(e,e.block_start,r,i),e.block_start+=r,Fa(e.strm)),i?nc:ca)},p2=(e,t)=>{let n,r;for(;;){if(e.lookahead=ln&&(e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+ln-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-li&&(e.match_length=gY(e,n)),e.match_length>=ln)if(r=Ms(e,e.strstart-e.match_start,e.match_length-ln),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ln){e.match_length--;do e.strstart++,e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+ln-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+1]);else r=Ms(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Wa(e,!1),e.strm.avail_out===0))return ca}return e.insert=e.strstart{let n,r,a;for(;;){if(e.lookahead=ln&&(e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+ln-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ln-1,n!==0&&e.prev_length4096)&&(e.match_length=ln-1)),e.prev_length>=ln&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ln,r=Ms(e,e.strstart-1-e.prev_match,e.prev_length-ln),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+ln-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ln-1,e.strstart++,r&&(Wa(e,!1),e.strm.avail_out===0))return ca}else if(e.match_available){if(r=Ms(e,0,e.window[e.strstart-1]),r&&Wa(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return ca}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Ms(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart{let n,r,a,o;const i=e.window;for(;;){if(e.lookahead<=Cs){if(qu(e),e.lookahead<=Cs&&t===Ds)return ca;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ln&&e.strstart>0&&(a=e.strstart-1,r=i[a],r===i[++a]&&r===i[++a]&&r===i[++a])){o=e.strstart+Cs;do;while(r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ln?(n=Ms(e,1,e.match_length-ln),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Ms(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Wa(e,!1),e.strm.avail_out===0))return ca}return e.insert=0,t===uo?(Wa(e,!0),e.strm.avail_out===0?nc:Cd):e.sym_next&&(Wa(e,!1),e.strm.avail_out===0)?ca:wd},fBe=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(qu(e),e.lookahead===0)){if(t===Ds)return ca;break}if(e.match_length=0,n=Ms(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Wa(e,!1),e.strm.avail_out===0))return ca}return e.insert=0,t===uo?(Wa(e,!0),e.strm.avail_out===0?nc:Cd):e.sym_next&&(Wa(e,!1),e.strm.avail_out===0)?ca:wd};function Zo(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}const df=[new Zo(0,0,0,0,mY),new Zo(4,4,8,4,p2),new Zo(4,5,16,8,p2),new Zo(4,6,32,32,p2),new Zo(4,4,16,16,Bc),new Zo(8,16,32,32,Bc),new Zo(8,16,128,128,Bc),new Zo(8,32,128,256,Bc),new Zo(32,128,258,1024,Bc),new Zo(32,258,258,4096,Bc)],pBe=e=>{e.window_size=2*e.w_size,ms(e.head),e.max_lazy_match=df[e.level].max_lazy,e.good_match=df[e.level].good_length,e.nice_match=df[e.level].nice_length,e.max_chain_length=df[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ln-1,e.match_available=0,e.ins_h=0};function gBe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Y0,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(oBe*2),this.dyn_dtree=new Uint16Array((2*rBe+1)*2),this.bl_tree=new Uint16Array((2*aBe+1)*2),ms(this.dyn_ltree),ms(this.dyn_dtree),ms(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(iBe+1),this.heap=new Uint16Array(2*xR+1),ms(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*xR+1),ms(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Dg=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==Gu&&t.status!==dN&&t.status!==ER&&t.status!==IR&&t.status!==TR&&t.status!==RR&&t.status!==Rl&&t.status!==uf?1:0},hY=e=>{if(Dg(e))return _l(e,si);e.total_in=e.total_out=0,e.data_type=Zje;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?dN:t.wrap?Gu:Rl,e.adler=t.wrap===2?0:1,t.last_flush=-2,Bje(t),jr},vY=e=>{const t=hY(e);return t===jr&&pBe(e.state),t},mBe=(e,t)=>Dg(e)||e.state.wrap!==2?si:(e.state.gzhead=t,jr),bY=(e,t,n,r,a,o)=>{if(!e)return si;let i=1;if(t===Gje&&(t=6),r<0?(i=0,r=-r):r>15&&(i=2,r-=16),a<1||a>Qje||n!==Y0||r<8||r>15||t<0||t>9||o<0||o>Yje||r===8&&i!==1)return _l(e,si);r===8&&(r=9);const s=new gBe;return e.state=s,s.strm=e,s.status=Gu,s.wrap=i,s.gzhead=null,s.w_bits=r,s.w_size=1<bY(e,t,Y0,Jje,eBe,Xje),vBe=(e,t)=>{if(Dg(e)||t>z5||t<0)return e?_l(e,si):si;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===uf&&t!==uo)return _l(e,e.avail_out===0?f2:si);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(Fa(e),e.avail_out===0)return n.last_flush=-1,jr}else if(e.avail_in===0&&U5(t)<=U5(r)&&t!==uo)return _l(e,f2);if(n.status===uf&&e.avail_in!==0)return _l(e,f2);if(n.status===Gu&&n.wrap===0&&(n.status=Rl),n.status===Gu){let a=Y0+(n.w_bits-8<<4)<<8,o=-1;if(n.strategy>=Km||n.level<2?o=0:n.level<6?o=1:n.level===6?o=2:o=3,a|=o<<6,n.strstart!==0&&(a|=sBe),a+=31-a%31,Kd(n,a),n.strstart!==0&&(Kd(n,e.adler>>>16),Kd(n,e.adler&65535)),e.adler=1,n.status=Rl,Fa(e),n.pending!==0)return n.last_flush=-1,jr}if(n.status===dN){if(e.adler=0,pn(n,31),pn(n,139),pn(n,8),n.gzhead)pn(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),pn(n,n.gzhead.time&255),pn(n,n.gzhead.time>>8&255),pn(n,n.gzhead.time>>16&255),pn(n,n.gzhead.time>>24&255),pn(n,n.level===9?2:n.strategy>=Km||n.level<2?4:0),pn(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(pn(n,n.gzhead.extra.length&255),pn(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Rr(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=ER;else if(pn(n,0),pn(n,0),pn(n,0),pn(n,0),pn(n,0),pn(n,n.level===9?2:n.strategy>=Km||n.level<2?4:0),pn(n,lBe),n.status=Rl,Fa(e),n.pending!==0)return n.last_flush=-1,jr}if(n.status===ER){if(n.gzhead.extra){let a=n.pending,o=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+o>n.pending_buf_size;){let s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>a&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex+=s,Fa(e),n.pending!==0)return n.last_flush=-1,jr;a=0,o-=s}let i=new Uint8Array(n.gzhead.extra);n.pending_buf.set(i.subarray(n.gzindex,n.gzindex+o),n.pending),n.pending+=o,n.gzhead.hcrc&&n.pending>a&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=IR}if(n.status===IR){if(n.gzhead.name){let a=n.pending,o;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),Fa(e),n.pending!==0)return n.last_flush=-1,jr;a=0}n.gzindexa&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=TR}if(n.status===TR){if(n.gzhead.comment){let a=n.pending,o;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),Fa(e),n.pending!==0)return n.last_flush=-1,jr;a=0}n.gzindexa&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a))}n.status=RR}if(n.status===RR){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(Fa(e),n.pending!==0))return n.last_flush=-1,jr;pn(n,e.adler&255),pn(n,e.adler>>8&255),e.adler=0}if(n.status=Rl,Fa(e),n.pending!==0)return n.last_flush=-1,jr}if(e.avail_in!==0||n.lookahead!==0||t!==Ds&&n.status!==uf){let a=n.level===0?mY(n,t):n.strategy===Km?fBe(n,t):n.strategy===Kje?dBe(n,t):df[n.level].func(n,t);if((a===nc||a===Cd)&&(n.status=uf),a===ca||a===nc)return e.avail_out===0&&(n.last_flush=-1),jr;if(a===wd&&(t===Uje?Hje(n):t!==z5&&(CR(n,0,0,!1),t===Vje&&(ms(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Fa(e),e.avail_out===0))return n.last_flush=-1,jr}return t!==uo?jr:n.wrap<=0?H5:(n.wrap===2?(pn(n,e.adler&255),pn(n,e.adler>>8&255),pn(n,e.adler>>16&255),pn(n,e.adler>>24&255),pn(n,e.total_in&255),pn(n,e.total_in>>8&255),pn(n,e.total_in>>16&255),pn(n,e.total_in>>24&255)):(Kd(n,e.adler>>>16),Kd(n,e.adler&65535)),Fa(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?jr:H5)},bBe=e=>{if(Dg(e))return si;const t=e.state.status;return e.state=null,t===Rl?_l(e,Wje):jr},yBe=(e,t)=>{let n=t.length;if(Dg(e))return si;const r=e.state,a=r.wrap;if(a===2||a===1&&r.status!==Gu||r.lookahead)return si;if(a===1&&(e.adler=zp(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){a===0&&(ms(r.head),r.strstart=0,r.block_start=0,r.insert=0);let c=new Uint8Array(r.w_size);c.set(t.subarray(n-r.w_size,n),0),t=c,n=r.w_size}const o=e.avail_in,i=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,qu(r);r.lookahead>=ln;){let c=r.strstart,u=r.lookahead-(ln-1);do r.ins_h=Ps(r,r.ins_h,r.window[c+ln-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++;while(--u);r.strstart=c,r.lookahead=ln-1,qu(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=ln-1,r.match_available=0,e.next_in=i,e.input=s,e.avail_in=o,r.wrap=a,jr};var SBe=hBe,wBe=bY,CBe=vY,xBe=hY,EBe=mBe,IBe=vBe,TBe=bBe,RBe=yBe,_Be="pako deflate (from Nodeca project)",jf={deflateInit:SBe,deflateInit2:wBe,deflateReset:CBe,deflateResetKeep:xBe,deflateSetHeader:EBe,deflate:IBe,deflateEnd:TBe,deflateSetDictionary:RBe,deflateInfo:_Be};const $Be=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var OBe=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const r in n)$Be(n,r)&&(e[r]=n[r])}}return e},NBe=e=>{let t=0;for(let r=0,a=e.length;r=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Hp[254]=Hp[254]=1;var kBe=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,a,o,i=e.length,s=0;for(a=0;a>>6,t[o++]=128|n&63):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|n&63):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|n&63);return t};const ABe=(e,t)=>{if(t<65534&&e.subarray&&yY)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let r,a;const o=new Array(n*2);for(a=0,r=0;r4){o[a++]=65533,r+=s-1;continue}for(i&=s===2?31:s===3?15:7;s>1&&r1){o[a++]=65533;continue}i<65536?o[a++]=i:(i-=65536,o[a++]=55296|i>>10&1023,o[a++]=56320|i&1023)}return ABe(o,a)},DBe=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Hp[e[n]]>t?n:t},Up={string2buf:kBe,buf2string:MBe,utf8border:DBe};function PBe(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var SY=PBe;const wY=Object.prototype.toString,{Z_NO_FLUSH:LBe,Z_SYNC_FLUSH:FBe,Z_FULL_FLUSH:jBe,Z_FINISH:BBe,Z_OK:Uv,Z_STREAM_END:zBe,Z_DEFAULT_COMPRESSION:HBe,Z_DEFAULT_STRATEGY:UBe,Z_DEFLATED:VBe}=Sd;function Pg(e){this.options=X0.assign({level:HBe,method:VBe,chunkSize:16384,windowBits:15,memLevel:8,strategy:UBe},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new SY,this.strm.avail_out=0;let n=jf.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Uv)throw new Error(tc[n]);if(t.header&&jf.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=Up.string2buf(t.dictionary):wY.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=jf.deflateSetDictionary(this.strm,r),n!==Uv)throw new Error(tc[n]);this._dict_set=!0}}Pg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let a,o;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?BBe:LBe,typeof e=="string"?n.input=Up.string2buf(e):wY.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(o===FBe||o===jBe)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(a=jf.deflate(n,o),a===zBe)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=jf.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Uv;if(n.avail_out===0){this.onData(n.output);continue}if(o>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0};Pg.prototype.onData=function(e){this.chunks.push(e)};Pg.prototype.onEnd=function(e){e===Uv&&(this.result=X0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function fN(e,t){const n=new Pg(t);if(n.push(e,!0),n.err)throw n.msg||tc[n.err];return n.result}function WBe(e,t){return t=t||{},t.raw=!0,fN(e,t)}function GBe(e,t){return t=t||{},t.gzip=!0,fN(e,t)}var qBe=Pg,KBe=fN,YBe=WBe,XBe=GBe,ZBe=Sd,QBe={Deflate:qBe,deflate:KBe,deflateRaw:YBe,gzip:XBe,constants:ZBe};const Ym=16209,JBe=16191;var eze=function(t,n){let r,a,o,i,s,c,u,d,f,p,g,b,m,h,y,v,S,w,x,E,I,R,T,_;const $=t.state;r=t.next_in,T=t.input,a=r+(t.avail_in-5),o=t.next_out,_=t.output,i=o-(n-t.avail_out),s=o+(t.avail_out-257),c=$.dmax,u=$.wsize,d=$.whave,f=$.wnext,p=$.window,g=$.hold,b=$.bits,m=$.lencode,h=$.distcode,y=(1<<$.lenbits)-1,v=(1<<$.distbits)-1;e:do{b<15&&(g+=T[r++]<>>24,g>>>=w,b-=w,w=S>>>16&255,w===0)_[o++]=S&65535;else if(w&16){x=S&65535,w&=15,w&&(b>>=w,b-=w),b<15&&(g+=T[r++]<>>24,g>>>=w,b-=w,w=S>>>16&255,w&16){if(E=S&65535,w&=15,bc){t.msg="invalid distance too far back",$.mode=Ym;break e}if(g>>>=w,b-=w,w=o-i,E>w){if(w=E-w,w>d&&$.sane){t.msg="invalid distance too far back",$.mode=Ym;break e}if(I=0,R=p,f===0){if(I+=u-w,w2;)_[o++]=R[I++],_[o++]=R[I++],_[o++]=R[I++],x-=3;x&&(_[o++]=R[I++],x>1&&(_[o++]=R[I++]))}else{I=o-E;do _[o++]=_[I++],_[o++]=_[I++],_[o++]=_[I++],x-=3;while(x>2);x&&(_[o++]=_[I++],x>1&&(_[o++]=_[I++]))}}else if(w&64){t.msg="invalid distance code",$.mode=Ym;break e}else{S=h[(S&65535)+(g&(1<>3,r-=x,b-=x<<3,g&=(1<{const c=s.bits;let u=0,d=0,f=0,p=0,g=0,b=0,m=0,h=0,y=0,v=0,S,w,x,E,I,R=null,T;const _=new Uint16Array(zc+1),$=new Uint16Array(zc+1);let D=null,P,A,O;for(u=0;u<=zc;u++)_[u]=0;for(d=0;d=1&&_[p]===0;p--);if(g>p&&(g=p),p===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,s.bits=1,0;for(f=1;f0&&(e===G5||p!==1))return-1;for($[1]=0,u=1;uV5||e===q5&&y>W5)return 1;for(;;){P=u-m,i[d]+1=T?(A=D[i[d]-T],O=R[i[d]-T]):(A=96,O=0),S=1<>m)+w]=P<<24|A<<16|O|0;while(w!==0);for(S=1<>=1;if(S!==0?(v&=S-1,v+=S):v=0,d++,--_[u]===0){if(u===p)break;u=t[n+i[d]]}if(u>g&&(v&E)!==x){for(m===0&&(m=g),I+=f,b=u-m,h=1<V5||e===q5&&y>W5)return 1;x=v&E,a[x]=g<<24|b<<16|I-o|0}}return v!==0&&(a[I+v]=u-m<<24|64<<16|0),s.bits=g,0};var Bf=oze;const ize=0,CY=1,xY=2,{Z_FINISH:K5,Z_BLOCK:sze,Z_TREES:Xm,Z_OK:rc,Z_STREAM_END:lze,Z_NEED_DICT:cze,Z_STREAM_ERROR:wo,Z_DATA_ERROR:EY,Z_MEM_ERROR:IY,Z_BUF_ERROR:uze,Z_DEFLATED:Y5}=Sd,Z0=16180,X5=16181,Z5=16182,Q5=16183,J5=16184,ej=16185,tj=16186,nj=16187,rj=16188,aj=16189,Vv=16190,Ei=16191,m2=16192,oj=16193,h2=16194,ij=16195,sj=16196,lj=16197,cj=16198,Zm=16199,Qm=16200,uj=16201,dj=16202,fj=16203,pj=16204,gj=16205,v2=16206,mj=16207,hj=16208,Hn=16209,TY=16210,RY=16211,dze=852,fze=592,pze=15,gze=pze,vj=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function mze(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const wc=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.modeRY?1:0},_Y=e=>{if(wc(e))return wo;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Z0,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(dze),t.distcode=t.distdyn=new Int32Array(fze),t.sane=1,t.back=-1,rc},$Y=e=>{if(wc(e))return wo;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,_Y(e)},OY=(e,t)=>{let n;if(wc(e))return wo;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?wo:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,$Y(e))},NY=(e,t)=>{if(!e)return wo;const n=new mze;e.state=n,n.strm=e,n.window=null,n.mode=Z0;const r=OY(e,t);return r!==rc&&(e.state=null),r},hze=e=>NY(e,gze);let bj=!0,b2,y2;const vze=e=>{if(bj){b2=new Int32Array(512),y2=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Bf(CY,e.lens,0,288,b2,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Bf(xY,e.lens,0,32,y2,0,e.work,{bits:5}),bj=!1}e.lencode=b2,e.lenbits=9,e.distcode=y2,e.distbits=5},kY=(e,t,n,r)=>{let a;const o=e.state;return o.window===null&&(o.wsize=1<=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>r&&(a=r),o.window.set(t.subarray(n-r,n-r+a),o.wnext),r-=a,r?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave{let n,r,a,o,i,s,c,u,d,f,p,g,b,m,h=0,y,v,S,w,x,E,I,R;const T=new Uint8Array(4);let _,$;const D=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(wc(e)||!e.output||!e.input&&e.avail_in!==0)return wo;n=e.state,n.mode===Ei&&(n.mode=m2),i=e.next_out,a=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,f=s,p=c,R=rc;e:for(;;)switch(n.mode){case Z0:if(n.wrap===0){n.mode=m2;break}for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Rr(n.check,T,2,0),u=0,d=0,n.mode=X5;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Hn;break}if((u&15)!==Y5){e.msg="unknown compression method",n.mode=Hn;break}if(u>>>=4,d-=4,I=(u&15)+8,n.wbits===0&&(n.wbits=I),I>15||I>n.wbits){e.msg="invalid window size",n.mode=Hn;break}n.dmax=1<>8&1),n.flags&512&&n.wrap&4&&(T[0]=u&255,T[1]=u>>>8&255,n.check=Rr(n.check,T,2,0)),u=0,d=0,n.mode=Z5;case Z5:for(;d<32;){if(s===0)break e;s--,u+=r[o++]<>>8&255,T[2]=u>>>16&255,T[3]=u>>>24&255,n.check=Rr(n.check,T,4,0)),u=0,d=0,n.mode=Q5;case Q5:for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>8),n.flags&512&&n.wrap&4&&(T[0]=u&255,T[1]=u>>>8&255,n.check=Rr(n.check,T,2,0)),u=0,d=0,n.mode=J5;case J5:if(n.flags&1024){for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Rr(n.check,T,2,0)),u=0,d=0}else n.head&&(n.head.extra=null);n.mode=ej;case ej:if(n.flags&1024&&(g=n.length,g>s&&(g=s),g&&(n.head&&(I=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+g),I)),n.flags&512&&n.wrap&4&&(n.check=Rr(n.check,r,g,o)),s-=g,o+=g,n.length-=g),n.length))break e;n.length=0,n.mode=tj;case tj:if(n.flags&2048){if(s===0)break e;g=0;do I=r[o+g++],n.head&&I&&n.length<65536&&(n.head.name+=String.fromCharCode(I));while(I&&g>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Ei;break;case aj:for(;d<32;){if(s===0)break e;s--,u+=r[o++]<>>=d&7,d-=d&7,n.mode=v2;break}for(;d<3;){if(s===0)break e;s--,u+=r[o++]<>>=1,d-=1,u&3){case 0:n.mode=oj;break;case 1:if(vze(n),n.mode=Zm,t===Xm){u>>>=2,d-=2;break e}break;case 2:n.mode=sj;break;case 3:e.msg="invalid block type",n.mode=Hn}u>>>=2,d-=2;break;case oj:for(u>>>=d&7,d-=d&7;d<32;){if(s===0)break e;s--,u+=r[o++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=Hn;break}if(n.length=u&65535,u=0,d=0,n.mode=h2,t===Xm)break e;case h2:n.mode=ij;case ij:if(g=n.length,g){if(g>s&&(g=s),g>c&&(g=c),g===0)break e;a.set(r.subarray(o,o+g),i),s-=g,o+=g,c-=g,i+=g,n.length-=g;break}n.mode=Ei;break;case sj:for(;d<14;){if(s===0)break e;s--,u+=r[o++]<>>=5,d-=5,n.ndist=(u&31)+1,u>>>=5,d-=5,n.ncode=(u&15)+4,u>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Hn;break}n.have=0,n.mode=lj;case lj:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[D[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,_={bits:n.lenbits},R=Bf(ize,n.lens,0,19,n.lencode,0,n.work,_),n.lenbits=_.bits,R){e.msg="invalid code lengths set",n.mode=Hn;break}n.have=0,n.mode=cj;case cj:for(;n.have>>24,v=h>>>16&255,S=h&65535,!(y<=d);){if(s===0)break e;s--,u+=r[o++]<>>=y,d-=y,n.lens[n.have++]=S;else{if(S===16){for($=y+2;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=y,d-=y,n.have===0){e.msg="invalid bit length repeat",n.mode=Hn;break}I=n.lens[n.have-1],g=3+(u&3),u>>>=2,d-=2}else if(S===17){for($=y+3;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=y,d-=y,I=0,g=3+(u&7),u>>>=3,d-=3}else{for($=y+7;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=y,d-=y,I=0,g=11+(u&127),u>>>=7,d-=7}if(n.have+g>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Hn;break}for(;g--;)n.lens[n.have++]=I}}if(n.mode===Hn)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Hn;break}if(n.lenbits=9,_={bits:n.lenbits},R=Bf(CY,n.lens,0,n.nlen,n.lencode,0,n.work,_),n.lenbits=_.bits,R){e.msg="invalid literal/lengths set",n.mode=Hn;break}if(n.distbits=6,n.distcode=n.distdyn,_={bits:n.distbits},R=Bf(xY,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,_),n.distbits=_.bits,R){e.msg="invalid distances set",n.mode=Hn;break}if(n.mode=Zm,t===Xm)break e;case Zm:n.mode=Qm;case Qm:if(s>=6&&c>=258){e.next_out=i,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=u,n.bits=d,eze(e,p),i=e.next_out,a=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,n.mode===Ei&&(n.back=-1);break}for(n.back=0;h=n.lencode[u&(1<>>24,v=h>>>16&255,S=h&65535,!(y<=d);){if(s===0)break e;s--,u+=r[o++]<>w)],y=h>>>24,v=h>>>16&255,S=h&65535,!(w+y<=d);){if(s===0)break e;s--,u+=r[o++]<>>=w,d-=w,n.back+=w}if(u>>>=y,d-=y,n.back+=y,n.length=S,v===0){n.mode=gj;break}if(v&32){n.back=-1,n.mode=Ei;break}if(v&64){e.msg="invalid literal/length code",n.mode=Hn;break}n.extra=v&15,n.mode=uj;case uj:if(n.extra){for($=n.extra;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=dj;case dj:for(;h=n.distcode[u&(1<>>24,v=h>>>16&255,S=h&65535,!(y<=d);){if(s===0)break e;s--,u+=r[o++]<>w)],y=h>>>24,v=h>>>16&255,S=h&65535,!(w+y<=d);){if(s===0)break e;s--,u+=r[o++]<>>=w,d-=w,n.back+=w}if(u>>>=y,d-=y,n.back+=y,v&64){e.msg="invalid distance code",n.mode=Hn;break}n.offset=S,n.extra=v&15,n.mode=fj;case fj:if(n.extra){for($=n.extra;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Hn;break}n.mode=pj;case pj:if(c===0)break e;if(g=p-c,n.offset>g){if(g=n.offset-g,g>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Hn;break}g>n.wnext?(g-=n.wnext,b=n.wsize-g):b=n.wnext-g,g>n.length&&(g=n.length),m=n.window}else m=a,b=i-n.offset,g=n.length;g>c&&(g=c),c-=g,n.length-=g;do a[i++]=m[b++];while(--g);n.length===0&&(n.mode=Qm);break;case gj:if(c===0)break e;a[i++]=n.length,c--,n.mode=Qm;break;case v2:if(n.wrap){for(;d<32;){if(s===0)break e;s--,u|=r[o++]<{if(wc(e))return wo;let t=e.state;return t.window&&(t.window=null),e.state=null,rc},Sze=(e,t)=>{if(wc(e))return wo;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,rc):wo},wze=(e,t)=>{const n=t.length;let r,a,o;return wc(e)||(r=e.state,r.wrap!==0&&r.mode!==Vv)?wo:r.mode===Vv&&(a=1,a=zp(a,t,n,0),a!==r.check)?EY:(o=kY(e,t,n,n),o?(r.mode=TY,IY):(r.havedict=1,rc))};var Cze=$Y,xze=OY,Eze=_Y,Ize=hze,Tze=NY,Rze=bze,_ze=yze,$ze=Sze,Oze=wze,Nze="pako inflate (from Nodeca project)",ki={inflateReset:Cze,inflateReset2:xze,inflateResetKeep:Eze,inflateInit:Ize,inflateInit2:Tze,inflate:Rze,inflateEnd:_ze,inflateGetHeader:$ze,inflateSetDictionary:Oze,inflateInfo:Nze};function kze(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var Aze=kze;const AY=Object.prototype.toString,{Z_NO_FLUSH:Mze,Z_FINISH:Dze,Z_OK:Vp,Z_STREAM_END:S2,Z_NEED_DICT:w2,Z_STREAM_ERROR:Pze,Z_DATA_ERROR:yj,Z_MEM_ERROR:Lze}=Sd;function Lg(e){this.options=X0.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new SY,this.strm.avail_out=0;let n=ki.inflateInit2(this.strm,t.windowBits);if(n!==Vp)throw new Error(tc[n]);if(this.header=new Aze,ki.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Up.string2buf(t.dictionary):AY.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=ki.inflateSetDictionary(this.strm,t.dictionary),n!==Vp)))throw new Error(tc[n])}Lg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,a=this.options.dictionary;let o,i,s;if(this.ended)return!1;for(t===~~t?i=t:i=t===!0?Dze:Mze,AY.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),o=ki.inflate(n,i),o===w2&&a&&(o=ki.inflateSetDictionary(n,a),o===Vp?o=ki.inflate(n,i):o===yj&&(o=w2));n.avail_in>0&&o===S2&&n.state.wrap>0&&e[n.next_in]!==0;)ki.inflateReset(n),o=ki.inflate(n,i);switch(o){case Pze:case yj:case w2:case Lze:return this.onEnd(o),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||o===S2))if(this.options.to==="string"){let c=Up.utf8border(n.output,n.next_out),u=n.next_out-c,d=Up.buf2string(n.output,c);n.next_out=u,n.avail_out=r-u,u&&n.output.set(n.output.subarray(c,c+u),0),this.onData(d)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(o===Vp&&s===0)){if(o===S2)return o=ki.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};Lg.prototype.onData=function(e){this.chunks.push(e)};Lg.prototype.onEnd=function(e){e===Vp&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=X0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function pN(e,t){const n=new Lg(t);if(n.push(e),n.err)throw n.msg||tc[n.err];return n.result}function Fze(e,t){return t=t||{},t.raw=!0,pN(e,t)}var jze=Lg,Bze=pN,zze=Fze,Hze=pN,Uze=Sd,Vze={Inflate:jze,inflate:Bze,inflateRaw:zze,ungzip:Hze,constants:Uze};const{Deflate:m7e,deflate:Wze,deflateRaw:h7e,gzip:v7e}=QBe,{Inflate:Gze,inflate:b7e,inflateRaw:y7e,ungzip:S7e}=Vze;var qze=Wze,Kze=Gze;class Nh{constructor(t,n=!1,r=!0){this.device=t,this.tracing=n,this.slipReaderEnabled=!1,this.leftOver=new Uint8Array(0),this.baudrate=0,this.traceLog="",this.lastTraceTime=Date.now(),this._DTR_state=!1,this.slipReaderEnabled=r}getInfo(){const t=this.device.getInfo();return t.usbVendorId&&t.usbProductId?`WebSerial VendorID 0x${t.usbVendorId.toString(16)} ProductID 0x${t.usbProductId.toString(16)}`:""}getPid(){return this.device.getInfo().usbProductId}trace(t){const a=`${`TRACE ${(Date.now()-this.lastTraceTime).toFixed(3)}`} ${t}`;console.log(a),this.traceLog+=a+` + `),n.append(a.name,new Blob([b.buffer]),`pcmData.${r.indexOf(a)}.pcm`),e(void 0)}catch(c){t(c)}},i.onerror=()=>{t("Failed to read the file")},a.file&&i.readAsArrayBuffer(a.file)}const G5e=e=>Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&"),o2=new wn(fn()),Wm={id:"1",pId:"-1",value:"1",title:"/"},Gm=99,q5e=()=>{const{t:e}=Ft(),[t,n]=lt.useMessage(),[r,a]=l.useState(!1),[o,i]=l.useState([]),[s,c]=l.useState(!1),[u,d]=l.useState(!1),[f,p]=l.useState(""),[g,v]=l.useState(Wm.id),[m,h]=l.useState([Wm]),[y,b]=l.useState(!1),[S,w]=l.useState(""),x=l.useRef(null);let E=0;l.useEffect(()=>{(async()=>{const z=new wn(fn());let H=!1;try{const U=await z.apiGetTeddyCloudSettingRaw("debug.web.pcm_encode_console_url");if(!U.ok)throw new Error(`HTTP error! status: ${U.status}`);H=(await U.json()).toString()==="true"}catch(U){console.error("Error fetching debug.web.pcm_encode_console_url: ",U)}a(H)})()},[]),l.useEffect(()=>{y&&setTimeout(()=>{x.current&&x.current.focus()},0)},[y]),l.useEffect(()=>{E=o.length},[o]);const I=SFe(oN,{activationConstraint:{distance:10}}),R=({active:B,over:z})=>{B.id!==(z==null?void 0:z.id)&&i(H=>{const U=H.findIndex(q=>q.uid===B.id),Z=H.findIndex(q=>q.uid===(z==null?void 0:z.id));return iN(H,U,Z)})},T=({fileList:B})=>{E++,E>Gm&&t.open({type:"error",content:e("tonies.encoder.maxFiles",{maxFiles:Gm})}),i(B.slice(0,Gm))},_=B=>{const z=o.indexOf(B),H=o.slice();H.splice(z,1),i(H)},$=async()=>{c(!0);const B=new FormData;for(const Y of o)try{await new Promise((ee,te)=>W5e(ee,te,B,o,Y,r))}catch(ee){lt.error(e("tonies.encoder.errorFileProcessing")+" "+ee),c(!1);return}const z=Math.floor(Date.now()/1e3),H={name:f+".taf",audioId:z-1342177280,path:A(g),special:"library"};d(!0);const U=G5e(H),Z=await o2.apiPostTeddyCloudFormDataRaw(`/api/pcmUpload?${U}`,B),q=await Z.text();Z.ok?(lt.success(e("tonies.encoder.uploadSuccessful")),i([]),p(""),h([Wm]),v(Wm.id)):(console.log("Upload failed:",q),lt.error(e("tonies.encoder.uploadFailed"))),d(!1),c(!1)},D={listType:"picture",multiple:!0,beforeUpload:B=>{const z=B;return z.file=B,o.push(z),i(o),!1},fileList:o,onChange:T,itemRender:(B,z)=>C.jsx(V5e,{originNode:B,fileList:o,file:z,onRemove:_,disabled:s})},P=({id:B})=>new Promise((z,H)=>{const U=A(B);o2.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${U}&special=library`).then(Z=>Z.json()).then(Z=>{var q=Z.files;q=q.filter(Y=>Y.isDir&&Y.name!=="..").sort((Y,ee)=>Y.name===ee.name?0:Y.name.toLowerCase()>ee.name.toLowerCase()?1:-1).map(Y=>({id:B+"."+q.indexOf(Y),pId:B,value:B+"."+q.indexOf(Y),title:Y.name})),h(m.concat(q)),z(!0)}).then(()=>{H()})}),A=B=>{const z=m.filter(H=>H.value===B)[0];return z.pId==="-1"?"":A(m.filter(H=>H.id===z.pId)[0].id)+"/"+z.title},O=()=>{i(B=>[...B].sort((z,H)=>z.name.localeCompare(H.name)))},N=()=>{i([])},k=()=>{b(!0)},M=B=>{w(B.target.value)},L=()=>{const B=A(g),z=`${g}.${m.length}`,H={id:z,pId:g,value:z,title:S};try{o2.apiPostTeddyCloudRaw("/api/dirCreate?special=library",B+"/"+S).then(U=>U.text()).then(U=>{if(U!=="OK")throw new Error(U);h([...m,H]),v(z),lt.success(e("tonies.createDirectory.directoryCreated")),b(!1),w("")}).catch(U=>{lt.error(U.message)})}catch{lt.error("Error while creating directory")}},F=()=>{b(!1),w("")},j=C.jsxs(On,{title:e("tonies.createDirectory.modalTitle"),open:y,onCancel:F,onOk:L,okText:e("tonies.createDirectory.create"),cancelText:e("tonies.createDirectory.cancel"),children:[C.jsxs("p",{children:[e("tonies.createDirectory.inDirectory")," ",C.jsxs("b",{children:[A(g),"/"]})]}),C.jsx(Zt,{ref:x,autoFocus:!0,placeholder:e("tonies.createDirectory.placeholder"),value:S,onChange:M})]});return C.jsxs(C.Fragment,{children:[n,C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.encoder.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonies.encoder.title")}),C.jsxs(Mo,{direction:"vertical",style:{display:"flex"},children:[C.jsx(w5e,{sensors:[I],onDragEnd:R,children:C.jsx(M5e,{items:o.map(B=>B.uid),strategy:k5e,disabled:s,children:C.jsxs(C0.Dragger,{...D,disabled:s,children:[C.jsx("p",{className:"ant-upload-drag-icon",children:C.jsx(DW,{})}),C.jsx("p",{className:"ant-upload-text",children:e("tonies.encoder.uploadText",{maxFiles:Gm})}),C.jsx("p",{className:"ant-upload-hint",children:e("tonies.encoder.uploadHint")})]})})}),o.length>0?C.jsxs(C.Fragment,{children:[C.jsxs(Mo,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start"},children:[C.jsx($t,{type:"default",disabled:s,onClick:O,children:e("tonies.encoder.sortAlphabetically")}),C.jsx($t,{type:"default",disabled:s,style:{marginRight:16},onClick:N,children:e("tonies.encoder.clearList")})]}),C.jsx(Ca,{}),C.jsx("div",{style:{width:"100%"},className:"encoder",children:C.jsxs(Mo,{direction:"vertical",style:{width:"100%"},children:[C.jsxs(Mo.Compact,{direction:"horizontal",style:{width:"100%",marginBottom:"16px",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[C.jsx(Zt,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:e("tonies.encoder.saveAs")}),C.jsx(fc,{treeLine:!0,treeDataSimpleMode:!0,disabled:s,style:{maxWidth:250},value:g,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:v,loadData:P,treeData:m}),C.jsx(rn,{title:e("tonies.createDirectory.createDirectory"),children:C.jsx($t,{disabled:s,icon:C.jsx(Qye,{}),onClick:k,style:{borderRadius:0}})}),C.jsx(Zt,{addonAfter:".taf",required:!0,style:{maxWidth:300},status:o.length>0&&f===""?"error":"",onChange:B=>p(B.target.value),disabled:s})]}),C.jsx(Mo.Compact,{style:{display:"flex",justifyContent:"flex-end"},children:C.jsx($t,{type:"primary",onClick:$,disabled:o.length===0||f==="",loading:s,children:e(s?u?"tonies.encoder.processing":"tonies.encoder.uploading":"tonies.encoder.upload")})})]})})]}):C.jsx(C.Fragment,{})]})]})]}),j]})},{Paragraph:K5e}=Bn,Y5e=()=>{const{t:e}=Ft(),[t,n]=l.useState(!1),r=a=>{console.log("Received values of form: ",a),n(!1)};return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(yo,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(yo,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.tap.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonies.tap.title")}),C.jsx(na,{message:e("settings.information"),description:C.jsx("div",{children:"Development still in progress - Please be patient or support implementation of this feature!"}),type:"info",showIcon:!0,style:{marginBottom:8}}),C.jsx(Og,{special:"library",filetypeFilter:[".tap"],showColumns:["picture","name","size","date","controls"],isTapList:!0}),C.jsx(K5e,{children:C.jsxs("div",{children:[C.jsx($t,{type:"primary",style:{marginTop:8},onClick:()=>{n(!0)},children:e("tonies.tapEditor.titleCreate")}),C.jsx($K,{open:t,onCreate:r,onCancel:()=>{n(!1)}})]})})]})]})]})},qm=new wn(fn()),X5e=({overlay:e})=>{var d;const[t,n]=l.useState(),{t:r}=Ft(),[a,o]=l.useState(""),[i,s]=l.useState(!1);l.useEffect(()=>{(async()=>{try{const p=await qm.apiGetTeddyCloudSettingRaw("core.settings_level");if(!p.ok)throw new Error(`HTTP error! status: ${p.status}`);const g=await p.json();o(g.toString())}catch(p){console.error("Error fetching settings level: ",p)}})()},[]),l.useEffect(()=>{(async()=>{var g,v;s(!0);const p=await qm.apiGetIndexGet(e);(g=p==null?void 0:p.options)!=null&&g.length&&((v=p==null?void 0:p.options)==null?void 0:v.length)>0&&n(p),s(!1)})()},[e,a]);const c=async()=>{try{await qm.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},u=async f=>{try{await qm.apiPostTeddyCloudSetting("core.settings_level",f),c(),o(f)}catch{lt.error("Error while sending data to server.")}};return C.jsxs(C.Fragment,{children:[C.jsx(na,{message:r("settings.warning"),description:C.jsx("div",{children:r("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px"}}),C.jsx(Ca,{children:r("settings.title")}),C.jsx(Gq,{initialValues:{test:"test"},onSubmit:f=>{},children:C.jsx(qt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(d=t==null?void 0:t.options)==null?void 0:d.map((f,p,g)=>{if(f.iD.includes("core.settings_level")||!f.iD.includes("core.certdir")&&!f.iD.includes("core.client_cert.")&&!f.iD.includes("core.flex_")&&!f.iD.includes("core.contentdir")&&!f.iD.includes("toniebox.")&&!f.iD.includes("cloud.enabled")&&!f.iD.includes("cloud.enableV1Claim")&&!f.iD.includes("cloud.enableV1CloudReset")&&!f.iD.includes("cloud.enableV1FreshnessCheck")&&!f.iD.includes("cloud.enableV1Log")&&!f.iD.includes("cloud.enableV1Time")&&!f.iD.includes("cloud.enableV1Ota")&&!f.iD.includes("cloud.enableV2Content")&&!f.iD.includes("cloud.cacheOta")&&!f.iD.includes("cloud.localOta")&&!f.iD.includes("cloud.cacheContent")&&!f.iD.includes("cloud.cacheToLibrary")&&!f.iD.includes("cloud.markCustomTagByPass")&&!f.iD.includes("cloud.prioCustomContent")&&!f.iD.includes("cloud.updateOnLowerAudioId")&&!f.iD.includes("cloud.dumpRuidAuthContentJson"))return null;const v=f.iD.split("."),m=g[p-1]?g[p-1].iD.split("."):[];return C.jsxs(le.Fragment,{children:[v.slice(0,-1).map((h,y)=>m[y]!==h?y===0?C.jsxs("h3",{style:{marginLeft:`${y*20}px`,marginBottom:"10px"},children:["Category ",h]},`category-${h}`):C.jsxs("h4",{style:{marginLeft:`${y*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",h]},`category-${h}`):null),C.jsx(qq,{option:f,overlayId:e},`option-item-${f.iD}`)]},`option-${f.iD}`)})})}),C.jsx(Ca,{children:r("settings.levelLabel")}),C.jsxs(Va.Group,{value:a,onChange:f=>u(f.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:i,children:[C.jsx(Va.Button,{value:"1",children:"Basic"}),C.jsx(Va.Button,{value:"2",children:"Detail"}),C.jsx(Va.Button,{value:"3",children:"Expert"})]})]})},$5=new wn(fn());function QK(){const[e,t]=l.useState([]);return l.useEffect(()=>{async function n(){try{const a=await(await $5.apiGetTeddyCloudApiRaw("/api/tonieboxesJson")).json(),c=[...await(await $5.apiGetTeddyCloudApiRaw("/api/tonieboxesCustomJson")).json(),...a].map(u=>({id:u.id,name:u.name,img_src:u.img_src,crop:u.crop||null}));t(c)}catch(r){console.error("Error fetching and transforming data:",r),t([])}}n()},[]),e}const Xr=new wn(fn()),{Paragraph:i2,Text:Z5e}=Bn,{Meta:Q5e}=ld,{useToken:J5e}=hi,eje=({tonieboxCard:e,tonieboxImages:t})=>{var Ce,Re,he,Ee,je;const{t:n}=Ft(),{token:r}=J5e(),[a,o]=lt.useMessage(),[i,s]=l.useState(!1),[c,u]=l.useState(""),[d,f]=l.useState(""),[p,g]=l.useState(""),[v,m]=l.useState(!1),[h,y]=l.useState(null),[b,S]=l.useState(),[w,x]=l.useState(!1),[E,I]=l.useState(!1),[R,T]=l.useState(!1),[_,$]=l.useState(e.boxModel),[D,P]=l.useState(e.boxModel),[A,O]=l.useState(e.boxName),[N,k]=l.useState(e.boxName),[M,L]=l.useState(null),[F,j]=l.useState(!1),[B,z]=l.useState(!0),[H,U]=l.useState(0);l.useEffect(()=>{(async()=>{const Ne=await Xr.apiGetTonieboxApiAccess(e.ID);z(Ne)})()},[e.ID,w]),l.useEffect(()=>{(async()=>{const Le=await Xr.apiGetTonieboxStatus(e.ID);s(Le)})(),(async()=>{const Le=await Xr.apiGetTonieboxVersion(e.ID),Ke={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};if(Le in Ke){const Je=Ke[Le];u(Je)}else u("UNKNOWN")})(),(async()=>{const Le=await Xr.apiGetTonieboxLastRUID(e.ID);if(Le!=="ffffffffffffffff"&&Le!==""){const Ke=await Xr.apiGetTonieboxLastRUIDTime(e.ID);(async()=>{const Xe=await Xr.apiGetTagIndex(e.ID);ee(Xe.filter(ut=>ut.ruid===Le),Ke)})()}})(),i||(async()=>{const Ke=await Xr.apiGetLastOnline(e.ID);f(Ke)})(),(async()=>{const Ke=await(await Xr.apiGetTeddyCloudSettingRaw("internal.ip",e.ID)).text();g(Ke)})(),Y(e.boxModel),P(e.boxModel)},[e.ID,e.boxModel]),l.useEffect(()=>{if(p&&c==="CC3200")try{fetch(`http://${p}/api/ajax?cmd=box-battery&sub=stats`).then(Ae=>Ae.text()).then(Ae=>{console.log("Battery Stats fetched --> assume CFW active"),m(!0)}).catch(Ae=>{console.log("No Battery Stats fetched --> assume CFW not active"),m(!1)})}catch{console.log("No Battery Stats fetched --> assume CFW not active"),m(!1)}},[p,c]);const Z=QK(),q=[{label:n("tonieboxes.editModelModal.unsetBoxName"),value:"-1"}].concat(Z.map(Ae=>({label:Ae.name,value:Ae.id}))),Y=Ae=>{const Ne=t.find(ze=>ze.id===Ae);L(Ne?C.jsx("img",{src:Ne.img_src,alt:"",style:{...J(Ae),position:"absolute",top:"0",left:"0"}}):C.jsx("img",{src:"https://cdn.tonies.de/thumbnails/03-0009-i.png",alt:"",style:{filter:"opacity(0.20)",width:"100%",height:"auto",position:"absolute",top:"0",left:"0"}}))},ee=(Ae,Ne)=>{y(C.jsx(C.Fragment,{children:C.jsx(Rt,{to:"/tonies?tonieRUID="+Ae[0].ruid+"&overlay="+e.ID,children:C.jsx(rn,{placement:"top",zIndex:2,title:n("tonieboxes.lastPlayedTonie")+Ae[0].tonieInfo.series+(Ae[0].tonieInfo.episode?" - "+Ae[0].tonieInfo.episode:"")+(Ne?" ("+Ne+")":""),children:C.jsx("img",{src:Ae[0].tonieInfo.picture,alt:"Tonie",style:{position:"absolute",bottom:0,right:0,zIndex:1,padding:8,borderRadius:4,height:"60%"}})})})}))},te=()=>{(async()=>{var ze,qe;const Ne=await Xr.apiGetIndexGet(e.ID);(ze=Ne==null?void 0:Ne.options)!=null&&ze.length&&((qe=Ne==null?void 0:Ne.options)==null?void 0:qe.length)>0&&S(Ne)})(),X()},X=()=>{I(!0)},ie=async()=>{I(!1)},re=()=>{I(!1)},G=()=>{x(!0)},Q=async()=>{x(!1)},ae=()=>{x(!1)},oe=()=>{U(Ae=>Ae+1),G()},de=()=>{P(D===void 0?_:D),T(!0)},ve=()=>{P(_),k(N),O(N),T(!1)},ye=async()=>{Y(D),$(D);const Ae=async()=>{await Xr.apiTriggerWriteConfigGet()};try{Xr.apiPostTeddyCloudSetting("boxModel",D,e.ID).then(()=>{Ae()}).catch(Ne=>{lt.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),lt.success(n("tonieboxes.editModelModal.successOnModelChange"))}catch(Ne){lt.error(n("tonieboxes.editModelModal.errorOnModelChange",{error:Ne}))}},ge=async()=>{k(A);const Ae=async()=>{await Xr.apiTriggerWriteConfigGet()};try{Xr.apiPostTeddyCloudSetting("boxName",A.toString(),e.ID).then(()=>{Ae()}).catch(Ne=>{lt.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),lt.success(n("tonieboxes.editModelModal.successOnNameChange"))}catch(Ne){lt.error(n("tonieboxes.editModelModal.errorOnNameChange",{error:Ne}))}},J=Ae=>{const Ne=t.find(ze=>ze.id===Ae);if(Ne&&Ne.crop){const[ze,qe,Le]=Ne.crop;return{width:"100%",height:"auto",transform:`scale(${Le}) translateX(${ze}px) translateY(${qe}px)`}}else return{width:"100%",height:"auto"}},ce=()=>e.ID.replace(/(.{2})(?=.)/g,"$1:"),ue=async()=>{T(!1),A!==N&&ge(),_!==D&&ye()},fe=C.jsx(C.Fragment,{children:C.jsxs($t,{type:"primary",onClick:ue,disabled:A===N&&_===D,children:[C.jsx(LW,{},"saveClick")," ",n("tonies.editModal.save")]})}),pe=C.jsxs(On,{title:C.jsx(C.Fragment,{children:C.jsxs("h3",{children:[n("tonieboxes.editModelModal.editModel",{name:e.boxName}),C.jsx("br",{}),C.jsx(Z5e,{type:"secondary",children:(c!=="UNKNOWN"?c:"MAC")+": "+ce()})]})}),open:R,footer:fe,onCancel:ve,children:[C.jsx(Ca,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.name")}),C.jsx(i2,{children:C.jsx(Zt,{name:"boxName",value:A,onChange:Ae=>O(Ae.target.value),addonBefore:C.jsx(da,{onClick:()=>O(N),style:{color:A===N?r.colorTextDisabled:r.colorText,cursor:A===N?"default":"pointer"}})})}),C.jsx(Ca,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.model")}),C.jsx(i2,{children:C.jsx(mr,{options:q,value:D,onChange:Ae=>P(Ae)})})]}),xe=C.jsxs(On,{title:n("tonieboxes.uploadTonieboxCertificatesModal.uploadTonieboxCertificates",{name:e.boxName}),open:E,onOk:ie,onCancel:re,children:[C.jsxs(i2,{children:[n("tonieboxes.uploadTonieboxCertificatesModal.uploadPath")," :"," ",C.jsx("i",{children:(Re=(Ce=b==null?void 0:b.options)==null?void 0:Ce.find(Ae=>Ae.iD==="core.certdir"))==null?void 0:Re.value})," ",C.jsx("small",{children:(Ee=(he=b==null?void 0:b.options)==null?void 0:he.find(Ae=>Ae.iD==="core.certdir"))!=null&&Ee.overlayed?n("tonieboxes.uploadTonieboxCertificatesModal.boxSpecific"):n("tonieboxes.uploadTonieboxCertificatesModal.AttentionGeneralPath")})]}),C.jsx(_K,{overlay:e.ID})]}),Te=C.jsx(On,{title:n("tonieboxes.editTonieboxSettingsModal.editTonieboxSettings",{name:e.boxName}),width:"auto",open:w,onOk:Q,onCancel:ae,children:C.jsx(X5e,{overlay:e.ID},H)}),Pe=()=>{try{a.open({type:"loading",content:n("tonieboxes.messages.deleting"),duration:0}),Xr.apiPostTeddyCloudSetting("removeOverlay",null,e.ID).then(Ae=>Ae.text()).then(Ae=>{a.destroy(),Ae==="OK"?(a.open({type:"success",content:n("tonieboxes.messages.deleteSuccessful")}),window.location.reload()):a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ae})}).catch(Ae=>{a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ae})})}catch(Ae){a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ae})}},ke=()=>{j(!0)},Ue=()=>{Pe(),j(!1)},Be=()=>{j(!1)},De=C.jsx(Ap,{title:n("tonieboxes.confirmDeleteModal"),open:F,okText:n("tonieboxes.delete"),cancelText:n("tonieboxes.cancel"),content:n("tonieboxes.confirmDeleteDialog",{tonieboxToDelete:N}),handleOk:Ue,handleCancel:Be}),Se=async()=>{try{await Xr.apiTriggerWriteConfigGet()}catch{lt.error("Error while saving config to file.")}},_e=async()=>{try{Xr.apiPostTeddyCloudSetting("toniebox.api_access",!B,e.ID).then(()=>{Se(),z(!B),B?lt.success(n("tonieboxes.messages.apiAccessDisabled")):lt.success(n("tonieboxes.messages.apiAccessEnabled"))}).catch(Ae=>{throw new Error(Ae.status+" "+Ae.statusText)})}catch(Ae){lt.error(n("tonieboxes.messages.apiAccessNotChangedError")+Ae)}};return C.jsxs(C.Fragment,{children:[o,C.jsx(ld,{hoverable:!1,size:"default",style:{background:r.colorBgContainerDisabled,cursor:"default"},title:C.jsx("span",{children:N}),cover:C.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[h,C.jsx("img",{src:(je=t.find(Ae=>Ae.id==="03-0009"))==null?void 0:je.img_src,alt:"",style:{position:"relative",filter:"opacity(0)",width:"100%",height:"auto"}}),M]}),actions:[C.jsx(C.Fragment,{children:B?i?C.jsx(rn,{title:n("tonieboxes.online"),children:C.jsx(LT,{style:{color:"green",cursor:"default"}})}):C.jsx(rn,{title:n("tonieboxes.offline")+(d?" - "+n("tonieboxes.lastOnline")+": "+d:""),children:C.jsx(LT,{style:{color:r.colorTextDescription,cursor:"default"}})}):C.jsx(rn,{title:n("tonieboxes.accessApiDisabled"),children:C.jsx(NSe,{style:{color:"red",cursor:"pointer"},onClick:_e})})}),C.jsx(m0,{onClick:()=>de()},"edit"),C.jsx(PW,{style:{marginRight:8},onClick:te},"certificate"),C.jsx(W$,{style:{marginRight:8},onClick:oe},"edit"),C.jsx(Ep,{style:{marginRight:8},onClick:ke},"delete")],children:C.jsx(Q5e,{description:[(c!=="UNKNOWN"&&c!==void 0&&c!==null?c:"MAC")+" ",v?C.jsx(rn,{title:n("tonieboxes.linkToBoxCFW"),children:C.jsxs(Rt,{to:"http://"+p,target:"_blank",children:[ce()," ",C.jsx(_Se,{})]})}):ce()]})}),Te,xe,pe,De]})},tje=({tonieboxCards:e})=>{const[t,n]=l.useState(!0),r=QK();return r.length===0&&t?C.jsx("div",{children:"Loading..."}):C.jsx(Bs,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:e,renderItem:a=>C.jsx(Bs.Item,{id:a.ID,children:C.jsx(eje,{tonieboxCard:a,tonieboxImages:r})})})},nje=()=>C.jsx("svg",{version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"12.000000pt",height:"12.000000pt",viewBox:"0 0 900.000000 900.000000",preserveAspectRatio:"xMidYMid meet",children:C.jsxs("g",{transform:"translate(0.000000,900.000000) scale(0.100000,-0.100000)",fill:"currentColor",stroke:"none",children:[C.jsx("path",{d:"M5895 8380 c-4 -6 -21 -16 -38 -24 -60 -25 -301 -236 -416 -363 -42 -46 -101 -103 -131 -127 -30 -24 -116 -104 -190 -177 -75 -74 -167 -163 -205 -199 -39 -36 -132 -124 -208 -195 -186 -175 -194 -179 -368 -195 -138 -13 -274 -10 -303 7 -45 25 -385 357 -446 434 -65 84 -279 313 -345 369 -17 14 -58 40 -91 58 -59 31 -67 32 -177 32 -87 0 -117 -3 -127 -14 -6 -8 -23 -16 -37 -18 -28 -3 -61 -47 -62 -83 -1 -12 -5 -25 -10 -30 -5 -6 -28 -64 -50 -130 -51 -151 -94 -274 -121 -345 -12 -30 -32 -86 -45 -125 -13 -38 -38 -108 -54 -154 -17 -46 -31 -85 -31 -87 0 -2 -181 -4 -402 -4 -362 0 -410 -2 -473 -19 -93 -25 -147 -55 -209 -117 -62 -62 -92 -116 -117 -209 -18 -68 -19 -160 -19 -2724 0 -2915 -4 -2713 58 -2836 31 -62 127 -155 189 -185 109 -52 -33 -49 2843 -49 2835 0 2752 -2 2840 44 111 57 194 152 230 266 20 61 20 110 20 2759 0 2673 0 2697 -20 2755 -50 147 -153 247 -300 294 -33 10 -131 15 -370 20 l-325 6 -2 50 c-9 210 -37 703 -49 855 -8 102 -14 239 -14 306 0 171 9 164 -233 164 -115 0 -188 -4 -192 -10z m-1 -652 c3 -13 6 -68 6 -123 0 -55 7 -174 15 -265 8 -91 15 -202 15 -247 l0 -83 -420 0 c-356 0 -420 2 -420 14 0 8 4 16 9 18 5 2 34 26 63 53 29 28 118 111 198 185 147 137 229 213 402 378 53 51 103 92 111 92 8 0 17 -10 21 -22z m-2697 -470 c65 -61 146 -138 181 -171 34 -32 62 -63 62 -68 0 -5 -107 -9 -255 -9 -169 0 -255 3 -255 10 0 10 30 104 49 152 18 47 40 104 56 151 9 26 23 47 31 47 7 0 66 -50 131 -112z m3746 -698 c16 0 17 -130 15 -2622 l-3 -2623 -2642 -3 -2643 -2 -2 2617 c-2 1850 0 2620 8 2627 7 8 777 10 2630 9 1440 -2 2627 -3 2637 -3z"}),C.jsx("path",{d:"M5735 6087 c-54 -22 -72 -36 -104 -83 -27 -41 -31 -57 -31 -111 0 -129 77 -205 206 -205 90 0 154 42 188 126 66 160 -100 335 -259 273z"}),C.jsx("path",{d:"M2842 5359 c-52 -16 -118 -90 -132 -148 -36 -150 102 -286 252 -250 61 14 129 75 148 134 29 86 -9 195 -83 242 -45 29 -131 39 -185 22z"}),C.jsx("path",{d:"M5035 5362 c-90 -32 -145 -106 -145 -197 0 -96 68 -183 161 -205 39 -10 57 -9 101 4 63 19 75 28 116 85 28 39 32 52 32 110 0 120 -72 199 -186 206 -32 2 -68 1 -79 -3z"}),C.jsx("path",{d:"M5730 5359 c-85 -36 -130 -105 -130 -202 0 -56 4 -70 32 -108 40 -56 52 -65 112 -85 43 -15 57 -15 100 -4 235 59 212 392 -28 406 -33 2 -72 -1 -86 -7z"}),C.jsx("path",{d:"M2818 4620 c-48 -26 -93 -82 -108 -135 -29 -103 38 -216 147 -250 54 -17 58 -17 112 0 36 12 69 33 93 57 92 94 68 260 -47 325 -52 29 -144 31 -197 3z"}),C.jsx("path",{d:"M3506 4609 c-150 -100 -116 -315 59 -375 54 -18 56 -18 109 0 89 30 156 116 156 199 0 73 -68 172 -137 198 -13 5 -50 9 -82 9 -48 0 -66 -5 -105 -31z"}),C.jsx("path",{d:"M4258 4610 c-152 -101 -119 -316 57 -376 54 -18 56 -18 109 0 89 31 156 116 156 200 0 73 -66 170 -133 195 -16 6 -54 11 -86 11 -47 0 -66 -5 -103 -30z"}),C.jsx("path",{d:"M4984 4607 c-149 -103 -115 -318 60 -373 55 -17 59 -17 111 0 52 18 92 51 128 106 22 33 23 140 1 183 -40 78 -103 117 -193 117 -50 0 -66 -5 -107 -33z"}),C.jsx("path",{d:"M5715 4623 c-79 -41 -115 -103 -115 -195 0 -42 6 -72 17 -88 36 -55 76 -88 129 -106 53 -18 55 -18 109 1 121 41 182 154 143 266 -15 46 -42 79 -90 112 -34 22 -52 27 -102 27 -36 -1 -74 -7 -91 -17z"}),C.jsx("path",{d:"M2841 3901 c-60 -24 -107 -74 -127 -134 -15 -44 -15 -57 -4 -101 41 -161 208 -217 339 -114 48 37 65 78 66 155 0 63 -3 76 -30 115 -34 49 -120 98 -169 97 -17 0 -51 -8 -75 -18z"}),C.jsx("path",{d:"M3532 3894 c-162 -80 -161 -292 0 -375 46 -24 127 -25 171 -3 73 37 127 119 127 193 -1 77 -59 158 -138 192 -59 26 -98 24 -160 -7z"}),C.jsx("path",{d:"M4279 3892 c-99 -51 -148 -176 -103 -265 86 -170 309 -169 385 2 35 80 19 159 -47 225 -36 35 -105 66 -149 66 -18 0 -57 -13 -86 -28z"}),C.jsx("path",{d:"M5015 3896 c-60 -28 -94 -63 -112 -114 -28 -81 -10 -163 48 -220 104 -102 265 -77 330 50 22 42 26 146 8 181 -34 65 -128 127 -193 127 -17 0 -53 -11 -81 -24z"}),C.jsx("path",{d:"M5727 3901 c-45 -21 -93 -65 -113 -103 -21 -40 -18 -141 5 -186 37 -72 102 -112 181 -112 151 0 251 153 191 292 -23 52 -52 80 -111 107 -54 25 -102 25 -153 2z"}),C.jsx("path",{d:"M2855 3201 c-70 -17 -128 -80 -146 -159 -25 -105 47 -216 156 -242 49 -12 62 -11 110 4 148 46 194 226 86 337 -60 62 -122 80 -206 60z"}),C.jsx("path",{d:"M3546 3196 c-181 -67 -179 -326 3 -391 69 -24 127 -15 194 29 44 29 87 112 87 166 -1 59 -43 136 -95 172 -50 34 -132 45 -189 24z"}),C.jsx("path",{d:"M4296 3196 c-145 -54 -180 -230 -69 -348 27 -29 99 -58 142 -58 71 1 142 46 182 114 38 67 38 123 1 191 -51 93 -161 136 -256 101z"}),C.jsx("path",{d:"M5038 3203 c-36 -6 -115 -77 -133 -120 -45 -107 14 -239 124 -278 52 -18 84 -19 131 -2 49 17 72 35 108 86 28 39 32 52 32 110 0 80 -26 132 -85 173 -41 28 -117 42 -177 31z"}),C.jsx("path",{d:"M5737 3200 c-44 -14 -95 -58 -117 -100 -31 -61 -28 -153 8 -207 36 -55 69 -80 126 -95 129 -34 261 76 253 212 -4 71 -21 104 -78 152 -38 32 -54 39 -105 43 -32 2 -72 0 -87 -5z"}),C.jsx("path",{d:"M3535 2463 c-44 -23 -84 -63 -106 -105 -48 -94 -2 -219 100 -270 64 -33 103 -35 163 -9 79 34 137 115 138 192 0 74 -54 156 -127 193 -41 20 -129 20 -168 -1z"}),C.jsx("path",{d:"M4285 2463 c-44 -23 -84 -63 -106 -105 -48 -94 -2 -219 100 -270 64 -33 103 -35 163 -9 79 34 137 115 138 192 0 74 -54 156 -127 193 -41 20 -129 20 -168 -1z"}),C.jsx("path",{d:"M5012 2463 c-69 -38 -104 -83 -123 -162 -10 -46 20 -134 61 -176 32 -33 107 -65 151 -65 61 0 156 64 188 127 6 12 11 49 11 83 0 94 -42 161 -122 195 -50 20 -126 19 -166 -2z"})]})}),Ws=()=>{const{t:e}=Ft(),t=[{key:"tonieboxes",label:C.jsx(Rt,{to:"/tonieboxes",style:{marginLeft:8},children:e("tonieboxes.navigationTitle")}),icon:le.createElement(nje),title:e("tonieboxes.navigationTitle")},{key:"esp32boxflashing",label:C.jsx(Rt,{to:"/tonieboxes/esp32boxflashing",children:e("tonieboxes.esp32BoxFlashing.navigationTitle")}),icon:le.createElement(CS),title:e("tonieboxes.esp32BoxFlashing.navigationTitle")},{key:"cc3200boxflashing",label:C.jsx(Rt,{to:"/tonieboxes/cc3200boxflashing",children:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}),icon:le.createElement(CS),title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")},{key:"cc3235boxflashing",label:C.jsx(Rt,{to:"/tonieboxes/cc3235boxflashing",children:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}),icon:le.createElement(CS),title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}];return C.jsx(Eg,{mode:"inline",defaultOpenKeys:["sub"],items:t})},O5=new wn(fn()),rje=()=>{const{t:e}=Ft(),[t,n]=l.useState([]),[r,a]=l.useState(!1);l.useEffect(()=>{(async()=>{const c=await O5.apiGetTonieboxesIndex();n(c)})(),(async()=>{try{const c=await O5.apiGetNewBoxesAllowed();a(c)}catch(c){lt.error("Fetching new box allowed: "+c)}})()},[]);const o=r?C.jsx(na,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}):"";return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Ws,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Ws,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonieboxes.title")}),o,C.jsx(tje,{tonieboxCards:t})]})]})]})},So=()=>{const{t:e}=Ft(),t=[{key:"community",label:C.jsx(Rt,{to:"/community",children:e("community.navigationTitle")}),icon:le.createElement(ISe),title:e("community.navigationTitle")},{key:"faq",label:C.jsx(Rt,{to:"/community/faq",children:e("community.faq.navigationTitle")}),icon:le.createElement(mW),title:e("community.faq.navigationTitle")},{key:"contribution",label:C.jsx(Rt,{to:"/community/contribution",style:{color:"currentColor"},children:e("community.contribution.navigationTitle")}),icon:le.createElement(Iye),title:e("community.contribution.navigationTitle"),children:[{key:"toniesJson",label:C.jsx(Rt,{to:"/community/contribution/tonies-json",children:e("community.contribution.toniesJson.navigationTitle")}),icon:le.createElement(bve),title:e("community.contribution.toniesJson.navigationTitle")}]},{key:"contributors",label:C.jsx(Rt,{to:"/community/contributors",children:e("community.contributors.navigationTitle")}),icon:le.createElement(Yye),title:e("community.contributors.navigationTitle")},{key:"changelog",label:C.jsx(Rt,{to:"/community/changelog",children:e("community.changelog.navigationTitle")}),icon:le.createElement(L0e),title:e("community.changelog.navigationTitle")},{key:"Forum",label:C.jsx(Rt,{to:"https://forum.revvox.de/",target:"_blank",children:e("community.forum.navigationTitle")}),icon:le.createElement(pye),title:e("community.forum.navigationTitle")}];return C.jsx(Eg,{mode:"inline",defaultOpenKeys:["sub"],items:t})},{Paragraph:N5}=Bn,aje=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.title")}),C.jsxs(N5,{children:[C.jsx("h2",{children:"Get involved"}),"Be a part of our global contributor community by writing code, commenting on issues, or participate in discussons in our telegram group."]}),C.jsxs(N5,{children:["Your best points of contact are the following locations",C.jsxs("ul",{children:[C.jsxs("li",{children:[C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"}),C.jsx("ul",{children:C.jsx("li",{children:"The place where all sources are stored for this and related projects. Where you can fork the repositories, contribute new or improved features, create issues or just give some feedback on already existing issues."})})]}),C.jsxs("li",{children:[C.jsx(Rt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"}),C.jsx("ul",{children:C.jsx("li",{children:"The first level support if you need help or if you are interested in getting involved in the development of TeddyCloud."})})]}),C.jsxs("li",{children:[C.jsx(Rt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"}),C.jsx("ul",{children:C.jsx("li",{children:"The lively knowledge base for the project, a place to ask questions whose answers can be helpful for others."})})]}),C.jsxs("li",{children:[C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"TeddyCloud Wiki"}),C.jsx("ul",{children:C.jsx("li",{children:"A Wiki contains, among other things, how to install TeddyCloud and how to solve possible problems."})})]})]})]})]})]})]})},{Paragraph:jc}=Bn,oje=()=>{const{t:e}=Ft(),t=["Use welcome and inclusive language.","Be respectful of differing viewpoints and experiences.","Gracefully accept constructive criticism.","Foster what's best for the community.","Show empathy for other community members.","Decisions are made based on technical merit and consensus. The Teddycloud community aspires to treat everyone equally, and to value all contributions."],n=["Write code.","Improve documentation.","Answer questions on our telegram group.","Investigate bugs and issues on GitHub.","Review and comment on pull requests from other developers.","Report an issue.","Give a “thumbs up” 👍 on issues that are relevant to you."];return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.contribution.title")}),C.jsxs(jc,{children:[C.jsx(jc,{children:"The Teddycloud can only grow through the contributions of this community. Thanks so much for your enthusiasm and your work - we appreciate everything you do!"}),C.jsxs(jc,{children:[C.jsx("h2",{children:"Community values"}),C.jsx(jc,{children:"In the interest of fostering an open and welcoming environment, contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone - regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation."}),C.jsx(jc,{children:"Examples of behaviors that contribute to creating a positive environment include:"}),C.jsx("ul",{children:t.map((r,a)=>C.jsx("li",{children:r},a))})]}),C.jsxs(jc,{children:[C.jsx("h2",{children:"Make your first contribution"}),"There are many ways to contribute to Teddycloud! You can contribute code and make improvements to the Teddycloud documentation. Our most common contributions include code, documentation, and community support.",C.jsx("ul",{children:n.map((r,a)=>C.jsx("li",{children:r},a))})]})]})]})]})]})},ije=new wn(fn()),{Paragraph:k5}=Bn,{Panel:sje}=k$,lje=()=>{const{t:e}=Ft(),[t,n]=l.useState({});return l.useEffect(()=>{async function r(){try{const s=(await(await ije.apiGetTeddyCloudApiRaw("/api/toniesJson")).json()).filter(u=>u.audio_id&&u.audio_id.length===0&&!["creative-tonie","system"].includes(u.category)&&!u.model.includes("20000")).map(u=>({model:u.model,series:u.series,episodes:u.episodes,pic:u.pic,audio_id:u.audio_id||[],category:u.category,language:u.language})),c={};s.forEach(u=>{c[u.language]||(c[u.language]=[]),c[u.language].push(u)}),n(c)}catch(a){console.error("Error fetching and transforming data:",a)}}r()},[]),C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")},{title:e("community.contribution.toniesJson.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.contribution.toniesJson.title")}),C.jsx(k5,{children:e("community.contribution.toniesJson.text")}),C.jsx(k5,{children:C.jsx(k$,{accordion:!0,children:Object.keys(t).map((r,a)=>C.jsx(sje,{header:r,children:C.jsx(Bs,{children:Array.isArray(t[r])&&t[r].map((o,i)=>C.jsx(Bs.Item,{id:o.model,children:C.jsxs("div",{children:[C.jsx("img",{src:o.pic,alt:"",style:{width:"100px",height:"auto"}}),o.model," - ",o.series," -"," ",o.episodes]})},i))})},a))})})]})]})]})},{Paragraph:qd}=Bn,cje=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contributors.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.contributors.title")}),C.jsxs(qd,{children:["This project relies on the tireless contributors who offer their free time and skills. Directly related to TeddyCloud are the contributors of the two projects teddycloud and teddycloud_web:",C.jsxs(qd,{children:[C.jsx("h3",{children:"teddycloud"}),C.jsx("div",{children:"The most neccessary, but mostly invisible part of your TeddyCloud Server."}),C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors"})]}),C.jsxs(qd,{children:[C.jsx("h3",{children:"teddycloud_web"}),C.jsx("div",{children:"Which is actually this frontend you are using and seeing here."}),C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors"})]}),C.jsxs(qd,{children:["You can find more contributors to the entire topic complex in the other GitHub repositories at"," ",C.jsx(Rt,{to:"https://github.com/orgs/toniebox-reverse-engineering/repositories",target:"_blank",children:"https://github.com/orgs/toniebox-reverse-engineering/repositories"})]})]}),C.jsx(Mo,{}),C.jsxs(qd,{children:[C.jsx("div",{style:{marginBottom:24},children:"A big round of applause for them!"}),C.jsx(XO,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!1,height:150})]})]})]})]})},{Paragraph:A5,Text:s2}=Bn,uje=()=>{const{t:e}=Ft(),t=[{version:"0.6.0",changes:["Stabilization backend","store last played time of last played tag","extend getTagIndex API, provide language in tonieInfos","PoC Toniebox api access (explicitly allow access to teddy cloud api on tonebox level)","Added enable/disable new Tonieboxes: prohibit registration of new tonieboxes if not enabled","Added removal of overlays (= removal of Tonieboxes from TeddyCloud)","add hide tonie/tag functionality (hide using new /web gui, present to box to unhide)","fixed locking bug, reworked locking.","fixed bug not storing cloud auth in some circumstances","fixed bug not storing source in json file: https://github.com/toniebox-reverse-engineering/teddycloud/issues/165","added limit to tempfile creation for radiostreams, default: 240mb (~6h) (configurable if expert mode is activated) https://github.com/toniebox-reverse-engineering/teddycloud/issues/180","added possibility to set WiFi Credentials on ESP32 Firmware patching","introduced second HTTPS port for WebFrontend only, which allows using https for webfrontend (Default: 8443)","tonie images from boxine can now be cached locally (PoC)","new /web gui is now default web gui: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/47","new /web gui: enhanced Toniecard, added search for Radiostream in Edit Modal","new /web gui: Tonies - Content section - added Migrate Content to Lib button on TAF files","new /web gui: added RTNL Log Page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/48","new /web gui: added show Json File when double click on json file (File browser view)","new /web gui: added show TAP File when double click on tap file (File browser view)","new /web gui: added show TAF Header (including AudioID + Hash) when double click on a taf file (File browser view)","new /web gui: show date time of last played tag (toniecard + toniboxcard)","new /web gui: added Tonie Audio Playlist page (WIP - Implementation not yet finished), rearranged menu entries tonies section: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/52","new /web gui: added delete feature in content, library and audio playlist page","new /web gui: improved changelog page, parse links and open links in new tab; completed contributors page: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/27","new /web gui: added language flag to tonies card if it's not the same as the most owned language ones, added language filter","new /web gui: deletion of tonieboxes","new /web gui: info if add new boxes is enabled on homepage and tonieboxes page","new /web gui: enable/disable API access for toniebox added on tonieboxes page","new /web gui: add hide tonie/tag in tonies list (in info modal)","new /web gui: PoC Tonies Custom Json Editor (WiP, not working, but you get the json part to copy into the tonies.custom.json)","new /web gui: PoC Tonie Audio Playlist Editor (WiP, not working, but you get the json to copy and save as a TAP file) ","new /web gui: allow TAP files to be selected on Edit Tag Modal","new /web gui: new 404 page","new /web gui: hidden feature Tonie meeting. Search for it!","new /web gui: added link to Toniebox if the box is version cc3200, an ip is available and cfw is installed: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/28","new /web gui: hide audioplayer if no source is set, when clicking on play icon of a tonie/taf/... the player is shown: https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: added minimize/maximize audioplayer https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/40","new /web gui: show Tonie on tonie article search","new /web gui: improved audioplayer, added volume control to custom one, hide doubled audioplayer","new /web gui: added French translation. Feel free to check if chatGPT is a good translator. If something is wrong, give us a shout at telegram!","new /weg gui: overworked filebrowser to be responsive","new /web gui: overworked tonie information modal, now also available in file browser (library + content)","new /web gui: added Create Directory functionality in file browser","new /web gui: added better breadcrumb to filebrowser (clickable for easy directory switching) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/78","new /web gui: set nocloud to true if source of a tag is changed https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/77","new /web gui: show image and information from set source if different from model https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/80","new /web gui: tonie overview: filter now also considers information from set source","new /web gui: fixed bugs after updating tonies in tonies overview","new /web gui: added FAQ page in community section","new /web gui: support web streams in audioplayer","new /web gui: improved filebrowser, added filter field and made buttons sticky","new /web gui: integrated ESP32 Firmware Flashing https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/46","new /web gui: integrated setting of WiFi credentials in ESP32 Firmware Flashing","new /web gui: show hint on ESP32 Firmware Flashing page if browser does not support WebSerial","new /web gui: allow multiselection in file browser for file deletion","new /web gui: limit audio encoder to 99 files (as Toniebox only supports 99 chapters)","new /web gui: fixed image fetch loop when playing a tonie","new /web gui: fixed poor audio quality in some case when using audio encoder","new /web gui: migrated gui from create-react-app to vite","new /web gui: fixed some bugs and minor refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.2...tc_v0.6.0","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.2...tcw_v0.6.0"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-0/468",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.0"},{version:"0.5.2",changes:["Stabilization backend","Several fixes and changes regards backend crashes and emptied config files when changing any tonie setting","Fix for random directories in library (and everywhere)","Fixed bug storing last played tonie per box","Fixed bug clearing text settings (like paths or flex tonie)","API for searching models is now case insensitive","Save IP of Toniebox as prepartion for linking CFW Tonieboxes","Introduced Settings level - 1: Basic, 2: Detail, 3: Expert (1 Default - if you are missing settings, increase level!)","new /web gui: enhanced Tonies Card, added editable content source","new /web gui: enhanced Toniebox Card, improved UX","new /web gui: Dark theme (Last used Theme stored in localStorage in Browser)","new /web gui: Show All (Hide Pagination on Tonies List, stored in localStorage in Browser)","new /web gui: Support of overlayed content folder. More details can be found here: https://forum.revvox.de/t/teddycloud-supporting-multiple-tonieboxes/451/1","new /web gui: Text inputs in Settings must be saved explicitly. (only Textinputs, other types are still autosaved.) Expect changes in future releases.","new /web gui: fixed various state bugs","new /web gui: show last online date of offline tonieboxes","new /web gui: Messages on successful setting updates","new /web gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.1...tc_v0.5.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.1...tcw_v0.5.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-2/450",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.2"},{version:"0.5.1",changes:["Stabilization Backend (added locks to prevent crashes, removed memory leaks)","Creating dirs when uploading certificates to a not yet existing path","Moving Tafs from Content to Library on click (not yet available in (new?) frontend)","new /web gui: Pagination + Filtering on Tonies List ( Paging Tonies · Issue #24 · toniebox-reverse-engineering/teddycloud_web · GitHub 2 )","new /web gui: Extend Box Management: Certificate upload now box specific possible, overworked certificate upload ( Certificate upload box related · Issue #26 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: Show last played Tonie on Box Management, link to prefiltered Tonieslist, added marking of the Last played Tonies on each box in Tonieslist ( Make use of internal.last_ruid · Issue #30 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: adapted cursor on cards to default as cards not really clickable ( TonieCard Cursor · Issue #25 · toniebox-reverse-engineering/teddycloud_web · GitHub )","new /web gui: fixed navigation item marking","new /web gui: updated box models, added pseudomodels of the official tonies covers (sleepy bear, sheep and rabbit). They are now placed in a json in the config folder. Custom tonieboxes are now also possible. Add your customised one in tonieboxes.custom.json and choose it in the box mgmt.","new /web gui: added community section (WIP) ( Add Changelog and contribution page · Issue #27 · toniebox-reverse-engineering/teddycloud_web · GitHub 1 )","new /web gui: fixed warnings"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.5.0...tc_v0.5.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.5.0...tcw_v0.5.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-1/447",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.1"},{version:"0.5.0",changes:["security mitigations on public instances as it‘s definitely not recommended to host teddycloud in public accessible for all","prepared authentication for frontend (backend adaptions)","linked new /web gui on teddycloud administration gui","overworked header, reordered menu items, new icons, better readable status in new /web gui","fixed modals (still some display problems on small devices like mobiles exists)","added audio encoder to new /web gui, you are now able to select files and encode them to a taf","This lets you bring your own content easily on an existing tonie.","added toniebox management to new /web gui, improved backend functions for that","only at least once connected boxes are listed, model must be set manually","enriched homepage in new /web gui with 5 randomly selected tonies of yours","adapt tonie card list to different cover image sizes in new /web gui (all cards within one row have now the same height)","added no cloud and live icon (Toggle to enable/disable) on tonie card in new /web gui","fixed several bugs"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/pull/154","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/8","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/9","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/19","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/21","https://github.com/toniebox-reverse-engineering/teddycloud_web/pull/22"],discussionLink:"https://forum.revvox.de/t/release-notes-0-5-0/444",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.5.0"},{version:"0.4.5 and older",changes:["A lot more. See Github for details!"],commits:[]}],n=r=>{const a=/(https?:\/\/[^\s]+)/g;return r.split(a).map((i,s)=>a.test(i)?C.jsx(Rt,{to:i,target:"_blank",rel:"noopener noreferrer",children:i},s):i)};return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.changelog.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.changelog.title")}),C.jsx(A5,{children:C.jsx(Bs,{dataSource:t,renderItem:r=>C.jsxs(C.Fragment,{children:[C.jsxs("h2",{children:["Version ",r.version]}),C.jsxs(A5,{children:[C.jsx("h3",{children:"Changes"}),C.jsx("ul",{children:r.changes.map((a,o)=>C.jsx("li",{children:n(a)},o))})]}),r.commits&&r.commits.length>0&&C.jsxs(C.Fragment,{children:[C.jsx(s2,{strong:!0,children:"All contained commits can be found here (teddy cloud repo):"}),C.jsx("ul",{children:r.commits.map((a,o)=>C.jsx("li",{children:C.jsx(Rt,{to:a,target:"_blank",children:a})},o))})]}),r.discussionLink&&C.jsxs(C.Fragment,{children:[C.jsx(s2,{strong:!0,children:"Discussion:"}),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:r.discussionLink,target:"_blank",children:r.discussionLink})})})]}),r.githubReleaseLink&&C.jsxs(C.Fragment,{children:[C.jsx(s2,{strong:!0,children:"GitHub Release:"}),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:r.githubReleaseLink,target:"_blank",children:r.githubReleaseLink})})})]})]})})})]})]})]})};class sa extends Error{}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const dje=4,M5=0,D5=1,fje=2;function yd(e){let t=e.length;for(;--t>=0;)e[t]=0}const pje=0,JK=1,gje=2,mje=3,hje=258,sN=29,Mg=256,Lp=Mg+1+sN,wu=30,lN=19,eY=2*Lp+1,Tl=15,l2=16,vje=7,cN=256,tY=16,nY=17,rY=18,SR=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),Oh=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),bje=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),aY=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),yje=512,Ni=new Array((Lp+2)*2);yd(Ni);const Ff=new Array(wu*2);yd(Ff);const Fp=new Array(yje);yd(Fp);const jp=new Array(hje-mje+1);yd(jp);const uN=new Array(sN);yd(uN);const Hv=new Array(wu);yd(Hv);function c2(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}let oY,iY,sY;function u2(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const lY=e=>e<256?Fp[e]:Fp[256+(e>>>7)],Bp=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},Ea=(e,t,n)=>{e.bi_valid>l2-n?(e.bi_buf|=t<>l2-e.bi_valid,e.bi_valid+=n-l2):(e.bi_buf|=t<{Ea(e,n[t*2],n[t*2+1])},cY=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},Sje=e=>{e.bi_valid===16?(Bp(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},wje=(e,t)=>{const n=t.dyn_tree,r=t.max_code,a=t.stat_desc.static_tree,o=t.stat_desc.has_stree,i=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length;let u,d,f,p,g,v,m=0;for(p=0;p<=Tl;p++)e.bl_count[p]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;uc&&(p=c,m++),n[d*2+1]=p,!(d>r)&&(e.bl_count[p]++,g=0,d>=s&&(g=i[d-s]),v=n[d*2],e.opt_len+=v*(p+g),o&&(e.static_len+=v*(a[d*2+1]+g)));if(m!==0){do{for(p=c-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[c]--,m-=2}while(m>0);for(p=c;p!==0;p--)for(d=e.bl_count[p];d!==0;)f=e.heap[--u],!(f>r)&&(n[f*2+1]!==p&&(e.opt_len+=(p-n[f*2+1])*n[f*2],n[f*2+1]=p),d--)}},uY=(e,t,n)=>{const r=new Array(Tl+1);let a=0,o,i;for(o=1;o<=Tl;o++)a=a+n[o-1]<<1,r[o]=a;for(i=0;i<=t;i++){let s=e[i*2+1];s!==0&&(e[i*2]=cY(r[s]++,s))}},Cje=()=>{let e,t,n,r,a;const o=new Array(Tl+1);for(n=0,r=0;r>=7;r{let t;for(t=0;t{e.bi_valid>8?Bp(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},P5=(e,t,n,r)=>{const a=t*2,o=n*2;return e[a]{const r=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a{let r,a,o=0,i,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+o++]&255,r+=(e.pending_buf[e.sym_buf+o++]&255)<<8,a=e.pending_buf[e.sym_buf+o++],r===0?ri(e,a,t):(i=jp[a],ri(e,i+Mg+1,t),s=SR[i],s!==0&&(a-=uN[i],Ea(e,a,s)),r--,i=lY(r),ri(e,i,n),s=Oh[i],s!==0&&(r-=Hv[i],Ea(e,r,s)));while(o{const n=t.dyn_tree,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.elems;let i,s,c=-1,u;for(e.heap_len=0,e.heap_max=eY,i=0;i>1;i>=1;i--)d2(e,n,i);u=o;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],d2(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=s,n[u*2]=n[i*2]+n[s*2],e.depth[u]=(e.depth[i]>=e.depth[s]?e.depth[i]:e.depth[s])+1,n[i*2+1]=n[s*2+1]=u,e.heap[1]=u++,d2(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],wje(e,t),uY(n,c,e.bl_count)},F5=(e,t,n)=>{let r,a=-1,o,i=t[0*2+1],s=0,c=7,u=4;for(i===0&&(c=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)o=i,i=t[(r+1)*2+1],!(++s{let r,a=-1,o,i=t[0*2+1],s=0,c=7,u=4;for(i===0&&(c=138,u=3),r=0;r<=n;r++)if(o=i,i=t[(r+1)*2+1],!(++s{let t;for(F5(e,e.dyn_ltree,e.l_desc.max_code),F5(e,e.dyn_dtree,e.d_desc.max_code),wR(e,e.bl_desc),t=lN-1;t>=3&&e.bl_tree[aY[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},Eje=(e,t,n,r)=>{let a;for(Ea(e,t-257,5),Ea(e,n-1,5),Ea(e,r-4,4),a=0;a{let t=4093624447,n;for(n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return M5;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return D5;for(n=32;n{B5||(Cje(),B5=!0),e.l_desc=new u2(e.dyn_ltree,oY),e.d_desc=new u2(e.dyn_dtree,iY),e.bl_desc=new u2(e.bl_tree,sY),e.bi_buf=0,e.bi_valid=0,dY(e)},pY=(e,t,n,r)=>{Ea(e,(pje<<1)+(r?1:0),3),fY(e),Bp(e,n),Bp(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},Rje=e=>{Ea(e,JK<<1,3),ri(e,cN,Ni),Sje(e)},_je=(e,t,n,r)=>{let a,o,i=0;e.level>0?(e.strm.data_type===fje&&(e.strm.data_type=Ije(e)),wR(e,e.l_desc),wR(e,e.d_desc),i=xje(e),a=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=a&&(a=o)):a=o=n+5,n+4<=a&&t!==-1?pY(e,t,n,r):e.strategy===dje||o===a?(Ea(e,(JK<<1)+(r?1:0),3),L5(e,Ni,Ff)):(Ea(e,(gje<<1)+(r?1:0),3),Eje(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),L5(e,e.dyn_ltree,e.dyn_dtree)),dY(e),r&&fY(e)},$je=(e,t,n)=>(e.pending_buf[e.sym_buf+e.sym_next++]=t,e.pending_buf[e.sym_buf+e.sym_next++]=t>>8,e.pending_buf[e.sym_buf+e.sym_next++]=n,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(jp[n]+Mg+1)*2]++,e.dyn_dtree[lY(t)*2]++),e.sym_next===e.sym_end);var Oje=Tje,Nje=pY,kje=_je,Aje=$je,Mje=Rje,Dje={_tr_init:Oje,_tr_stored_block:Nje,_tr_flush_block:kje,_tr_tally:Aje,_tr_align:Mje};const Pje=(e,t,n,r)=>{let a=e&65535|0,o=e>>>16&65535|0,i=0;for(;n!==0;){i=n>2e3?2e3:n,n-=i;do a=a+t[r++]|0,o=o+a|0;while(--i);a%=65521,o%=65521}return a|o<<16|0};var zp=Pje;const Lje=()=>{let e,t=[];for(var n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t},Fje=new Uint32Array(Lje()),jje=(e,t,n,r)=>{const a=Fje,o=r+n;e^=-1;for(let i=r;i>>8^a[(e^t[i])&255];return e^-1};var Rr=jje,tc={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Sd={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Bje,_tr_stored_block:CR,_tr_flush_block:zje,_tr_tally:Ms,_tr_align:Hje}=Dje,{Z_NO_FLUSH:Ds,Z_PARTIAL_FLUSH:Uje,Z_FULL_FLUSH:Vje,Z_FINISH:uo,Z_BLOCK:z5,Z_OK:jr,Z_STREAM_END:H5,Z_STREAM_ERROR:si,Z_DATA_ERROR:Wje,Z_BUF_ERROR:f2,Z_DEFAULT_COMPRESSION:Gje,Z_FILTERED:qje,Z_HUFFMAN_ONLY:Km,Z_RLE:Kje,Z_FIXED:Yje,Z_DEFAULT_STRATEGY:Xje,Z_UNKNOWN:Zje,Z_DEFLATED:Y0}=Sd,Qje=9,Jje=15,eBe=8,tBe=29,nBe=256,xR=nBe+1+tBe,rBe=30,aBe=19,oBe=2*xR+1,iBe=15,ln=3,Cs=258,li=Cs+ln+1,sBe=32,Gu=42,dN=57,ER=69,IR=73,TR=91,RR=103,Rl=113,uf=666,ca=1,wd=2,nc=3,Cd=4,lBe=3,_l=(e,t)=>(e.msg=tc[t],t),U5=e=>e*2-(e>4?9:0),ms=e=>{let t=e.length;for(;--t>=0;)e[t]=0},cBe=e=>{let t,n,r,a=e.w_size;t=e.hash_size,r=t;do n=e.head[--r],e.head[r]=n>=a?n-a:0;while(--t);t=a,r=t;do n=e.prev[--r],e.prev[r]=n>=a?n-a:0;while(--t)};let uBe=(e,t,n)=>(t<{const t=e.state;let n=t.pending;n>e.avail_out&&(n=e.avail_out),n!==0&&(e.output.set(t.pending_buf.subarray(t.pending_out,t.pending_out+n),e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,t.pending===0&&(t.pending_out=0))},Wa=(e,t)=>{zje(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Fa(e.strm)},pn=(e,t)=>{e.pending_buf[e.pending++]=t},Kd=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},_R=(e,t,n,r)=>{let a=e.avail_in;return a>r&&(a=r),a===0?0:(e.avail_in-=a,t.set(e.input.subarray(e.next_in,e.next_in+a),n),e.state.wrap===1?e.adler=zp(e.adler,t,a,n):e.state.wrap===2&&(e.adler=Rr(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},gY=(e,t)=>{let n=e.max_chain_length,r=e.strstart,a,o,i=e.prev_length,s=e.nice_match;const c=e.strstart>e.w_size-li?e.strstart-(e.w_size-li):0,u=e.window,d=e.w_mask,f=e.prev,p=e.strstart+Cs;let g=u[r+i-1],v=u[r+i];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+i]!==v||u[a+i-1]!==g||u[a]!==u[r]||u[++a]!==u[r+1])){r+=2,a++;do;while(u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&u[++r]===u[++a]&&ri){if(e.match_start=t,i=o,o>=s)break;g=u[r+i-1],v=u[r+i]}}while((t=f[t&d])>c&&--n!==0);return i<=e.lookahead?i:e.lookahead},qu=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-li)&&(e.window.set(e.window.subarray(t,t+t-r),0),e.match_start-=t,e.strstart-=t,e.block_start-=t,e.insert>e.strstart&&(e.insert=e.strstart),cBe(e),r+=t),e.strm.avail_in===0)break;if(n=_R(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=ln)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=Ps(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=Ps(e,e.ins_h,e.window[a+ln-1]),e.prev[a&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=a,a++,e.insert--,!(e.lookahead+e.insert{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,a,o,i=0,s=e.strm.avail_in;do{if(r=65535,o=e.bi_valid+42>>3,e.strm.avail_outa+e.strm.avail_in&&(r=a+e.strm.avail_in),r>o&&(r=o),r>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,Fa(e.strm),a&&(a>r&&(a=r),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+a),e.strm.next_out),e.strm.next_out+=a,e.strm.avail_out-=a,e.strm.total_out+=a,e.block_start+=a,r-=a),r&&(_R(e.strm,e.strm.output,e.strm.next_out,r),e.strm.next_out+=r,e.strm.avail_out-=r,e.strm.total_out+=r)}while(i===0);return s-=e.strm.avail_in,s&&(s>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=s&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-s,e.strm.next_in),e.strstart),e.strstart+=s,e.insert+=s>e.w_size-e.insert?e.w_size-e.insert:s),e.block_start=e.strstart),e.high_watero&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,o+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),o>e.strm.avail_in&&(o=e.strm.avail_in),o&&(_R(e.strm,e.window,e.strstart,o),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.high_water>3,o=e.pending_buf_size-o>65535?65535:e.pending_buf_size-o,n=o>e.w_size?e.w_size:o,a=e.strstart-e.block_start,(a>=n||(a||t===uo)&&t!==Ds&&e.strm.avail_in===0&&a<=o)&&(r=a>o?o:a,i=t===uo&&e.strm.avail_in===0&&r===a?1:0,CR(e,e.block_start,r,i),e.block_start+=r,Fa(e.strm)),i?nc:ca)},p2=(e,t)=>{let n,r;for(;;){if(e.lookahead=ln&&(e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+ln-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),n!==0&&e.strstart-n<=e.w_size-li&&(e.match_length=gY(e,n)),e.match_length>=ln)if(r=Ms(e,e.strstart-e.match_start,e.match_length-ln),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=ln){e.match_length--;do e.strstart++,e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+ln-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+1]);else r=Ms(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(Wa(e,!1),e.strm.avail_out===0))return ca}return e.insert=e.strstart{let n,r,a;for(;;){if(e.lookahead=ln&&(e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+ln-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=ln-1,n!==0&&e.prev_length4096)&&(e.match_length=ln-1)),e.prev_length>=ln&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-ln,r=Ms(e,e.strstart-1-e.prev_match,e.prev_length-ln),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=Ps(e,e.ins_h,e.window[e.strstart+ln-1]),n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=ln-1,e.strstart++,r&&(Wa(e,!1),e.strm.avail_out===0))return ca}else if(e.match_available){if(r=Ms(e,0,e.window[e.strstart-1]),r&&Wa(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return ca}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=Ms(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart{let n,r,a,o;const i=e.window;for(;;){if(e.lookahead<=Cs){if(qu(e),e.lookahead<=Cs&&t===Ds)return ca;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=ln&&e.strstart>0&&(a=e.strstart-1,r=i[a],r===i[++a]&&r===i[++a]&&r===i[++a])){o=e.strstart+Cs;do;while(r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&r===i[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=ln?(n=Ms(e,1,e.match_length-ln),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Ms(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Wa(e,!1),e.strm.avail_out===0))return ca}return e.insert=0,t===uo?(Wa(e,!0),e.strm.avail_out===0?nc:Cd):e.sym_next&&(Wa(e,!1),e.strm.avail_out===0)?ca:wd},fBe=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(qu(e),e.lookahead===0)){if(t===Ds)return ca;break}if(e.match_length=0,n=Ms(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Wa(e,!1),e.strm.avail_out===0))return ca}return e.insert=0,t===uo?(Wa(e,!0),e.strm.avail_out===0?nc:Cd):e.sym_next&&(Wa(e,!1),e.strm.avail_out===0)?ca:wd};function Zo(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}const df=[new Zo(0,0,0,0,mY),new Zo(4,4,8,4,p2),new Zo(4,5,16,8,p2),new Zo(4,6,32,32,p2),new Zo(4,4,16,16,Bc),new Zo(8,16,32,32,Bc),new Zo(8,16,128,128,Bc),new Zo(8,32,128,256,Bc),new Zo(32,128,258,1024,Bc),new Zo(32,258,258,4096,Bc)],pBe=e=>{e.window_size=2*e.w_size,ms(e.head),e.max_lazy_match=df[e.level].max_lazy,e.good_match=df[e.level].good_length,e.nice_match=df[e.level].nice_length,e.max_chain_length=df[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=ln-1,e.match_available=0,e.ins_h=0};function gBe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Y0,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(oBe*2),this.dyn_dtree=new Uint16Array((2*rBe+1)*2),this.bl_tree=new Uint16Array((2*aBe+1)*2),ms(this.dyn_ltree),ms(this.dyn_dtree),ms(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(iBe+1),this.heap=new Uint16Array(2*xR+1),ms(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*xR+1),ms(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Dg=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==Gu&&t.status!==dN&&t.status!==ER&&t.status!==IR&&t.status!==TR&&t.status!==RR&&t.status!==Rl&&t.status!==uf?1:0},hY=e=>{if(Dg(e))return _l(e,si);e.total_in=e.total_out=0,e.data_type=Zje;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?dN:t.wrap?Gu:Rl,e.adler=t.wrap===2?0:1,t.last_flush=-2,Bje(t),jr},vY=e=>{const t=hY(e);return t===jr&&pBe(e.state),t},mBe=(e,t)=>Dg(e)||e.state.wrap!==2?si:(e.state.gzhead=t,jr),bY=(e,t,n,r,a,o)=>{if(!e)return si;let i=1;if(t===Gje&&(t=6),r<0?(i=0,r=-r):r>15&&(i=2,r-=16),a<1||a>Qje||n!==Y0||r<8||r>15||t<0||t>9||o<0||o>Yje||r===8&&i!==1)return _l(e,si);r===8&&(r=9);const s=new gBe;return e.state=s,s.strm=e,s.status=Gu,s.wrap=i,s.gzhead=null,s.w_bits=r,s.w_size=1<bY(e,t,Y0,Jje,eBe,Xje),vBe=(e,t)=>{if(Dg(e)||t>z5||t<0)return e?_l(e,si):si;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===uf&&t!==uo)return _l(e,e.avail_out===0?f2:si);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(Fa(e),e.avail_out===0)return n.last_flush=-1,jr}else if(e.avail_in===0&&U5(t)<=U5(r)&&t!==uo)return _l(e,f2);if(n.status===uf&&e.avail_in!==0)return _l(e,f2);if(n.status===Gu&&n.wrap===0&&(n.status=Rl),n.status===Gu){let a=Y0+(n.w_bits-8<<4)<<8,o=-1;if(n.strategy>=Km||n.level<2?o=0:n.level<6?o=1:n.level===6?o=2:o=3,a|=o<<6,n.strstart!==0&&(a|=sBe),a+=31-a%31,Kd(n,a),n.strstart!==0&&(Kd(n,e.adler>>>16),Kd(n,e.adler&65535)),e.adler=1,n.status=Rl,Fa(e),n.pending!==0)return n.last_flush=-1,jr}if(n.status===dN){if(e.adler=0,pn(n,31),pn(n,139),pn(n,8),n.gzhead)pn(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),pn(n,n.gzhead.time&255),pn(n,n.gzhead.time>>8&255),pn(n,n.gzhead.time>>16&255),pn(n,n.gzhead.time>>24&255),pn(n,n.level===9?2:n.strategy>=Km||n.level<2?4:0),pn(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(pn(n,n.gzhead.extra.length&255),pn(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Rr(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=ER;else if(pn(n,0),pn(n,0),pn(n,0),pn(n,0),pn(n,0),pn(n,n.level===9?2:n.strategy>=Km||n.level<2?4:0),pn(n,lBe),n.status=Rl,Fa(e),n.pending!==0)return n.last_flush=-1,jr}if(n.status===ER){if(n.gzhead.extra){let a=n.pending,o=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+o>n.pending_buf_size;){let s=n.pending_buf_size-n.pending;if(n.pending_buf.set(n.gzhead.extra.subarray(n.gzindex,n.gzindex+s),n.pending),n.pending=n.pending_buf_size,n.gzhead.hcrc&&n.pending>a&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex+=s,Fa(e),n.pending!==0)return n.last_flush=-1,jr;a=0,o-=s}let i=new Uint8Array(n.gzhead.extra);n.pending_buf.set(i.subarray(n.gzindex,n.gzindex+o),n.pending),n.pending+=o,n.gzhead.hcrc&&n.pending>a&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=IR}if(n.status===IR){if(n.gzhead.name){let a=n.pending,o;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),Fa(e),n.pending!==0)return n.last_flush=-1,jr;a=0}n.gzindexa&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=TR}if(n.status===TR){if(n.gzhead.comment){let a=n.pending,o;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a)),Fa(e),n.pending!==0)return n.last_flush=-1,jr;a=0}n.gzindexa&&(e.adler=Rr(e.adler,n.pending_buf,n.pending-a,a))}n.status=RR}if(n.status===RR){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(Fa(e),n.pending!==0))return n.last_flush=-1,jr;pn(n,e.adler&255),pn(n,e.adler>>8&255),e.adler=0}if(n.status=Rl,Fa(e),n.pending!==0)return n.last_flush=-1,jr}if(e.avail_in!==0||n.lookahead!==0||t!==Ds&&n.status!==uf){let a=n.level===0?mY(n,t):n.strategy===Km?fBe(n,t):n.strategy===Kje?dBe(n,t):df[n.level].func(n,t);if((a===nc||a===Cd)&&(n.status=uf),a===ca||a===nc)return e.avail_out===0&&(n.last_flush=-1),jr;if(a===wd&&(t===Uje?Hje(n):t!==z5&&(CR(n,0,0,!1),t===Vje&&(ms(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),Fa(e),e.avail_out===0))return n.last_flush=-1,jr}return t!==uo?jr:n.wrap<=0?H5:(n.wrap===2?(pn(n,e.adler&255),pn(n,e.adler>>8&255),pn(n,e.adler>>16&255),pn(n,e.adler>>24&255),pn(n,e.total_in&255),pn(n,e.total_in>>8&255),pn(n,e.total_in>>16&255),pn(n,e.total_in>>24&255)):(Kd(n,e.adler>>>16),Kd(n,e.adler&65535)),Fa(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?jr:H5)},bBe=e=>{if(Dg(e))return si;const t=e.state.status;return e.state=null,t===Rl?_l(e,Wje):jr},yBe=(e,t)=>{let n=t.length;if(Dg(e))return si;const r=e.state,a=r.wrap;if(a===2||a===1&&r.status!==Gu||r.lookahead)return si;if(a===1&&(e.adler=zp(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){a===0&&(ms(r.head),r.strstart=0,r.block_start=0,r.insert=0);let c=new Uint8Array(r.w_size);c.set(t.subarray(n-r.w_size,n),0),t=c,n=r.w_size}const o=e.avail_in,i=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,qu(r);r.lookahead>=ln;){let c=r.strstart,u=r.lookahead-(ln-1);do r.ins_h=Ps(r,r.ins_h,r.window[c+ln-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++;while(--u);r.strstart=c,r.lookahead=ln-1,qu(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=ln-1,r.match_available=0,e.next_in=i,e.input=s,e.avail_in=o,r.wrap=a,jr};var SBe=hBe,wBe=bY,CBe=vY,xBe=hY,EBe=mBe,IBe=vBe,TBe=bBe,RBe=yBe,_Be="pako deflate (from Nodeca project)",jf={deflateInit:SBe,deflateInit2:wBe,deflateReset:CBe,deflateResetKeep:xBe,deflateSetHeader:EBe,deflate:IBe,deflateEnd:TBe,deflateSetDictionary:RBe,deflateInfo:_Be};const $Be=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var OBe=function(e){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const n=t.shift();if(n){if(typeof n!="object")throw new TypeError(n+"must be non-object");for(const r in n)$Be(n,r)&&(e[r]=n[r])}}return e},NBe=e=>{let t=0;for(let r=0,a=e.length;r=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;Hp[254]=Hp[254]=1;var kBe=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,a,o,i=e.length,s=0;for(a=0;a>>6,t[o++]=128|n&63):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|n&63):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|n&63);return t};const ABe=(e,t)=>{if(t<65534&&e.subarray&&yY)return String.fromCharCode.apply(null,e.length===t?e:e.subarray(0,t));let n="";for(let r=0;r{const n=t||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,t));let r,a;const o=new Array(n*2);for(a=0,r=0;r4){o[a++]=65533,r+=s-1;continue}for(i&=s===2?31:s===3?15:7;s>1&&r1){o[a++]=65533;continue}i<65536?o[a++]=i:(i-=65536,o[a++]=55296|i>>10&1023,o[a++]=56320|i&1023)}return ABe(o,a)},DBe=(e,t)=>{t=t||e.length,t>e.length&&(t=e.length);let n=t-1;for(;n>=0&&(e[n]&192)===128;)n--;return n<0||n===0?t:n+Hp[e[n]]>t?n:t},Up={string2buf:kBe,buf2string:MBe,utf8border:DBe};function PBe(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var SY=PBe;const wY=Object.prototype.toString,{Z_NO_FLUSH:LBe,Z_SYNC_FLUSH:FBe,Z_FULL_FLUSH:jBe,Z_FINISH:BBe,Z_OK:Uv,Z_STREAM_END:zBe,Z_DEFAULT_COMPRESSION:HBe,Z_DEFAULT_STRATEGY:UBe,Z_DEFLATED:VBe}=Sd;function Pg(e){this.options=X0.assign({level:HBe,method:VBe,chunkSize:16384,windowBits:15,memLevel:8,strategy:UBe},e||{});let t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new SY,this.strm.avail_out=0;let n=jf.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==Uv)throw new Error(tc[n]);if(t.header&&jf.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=Up.string2buf(t.dictionary):wY.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=jf.deflateSetDictionary(this.strm,r),n!==Uv)throw new Error(tc[n]);this._dict_set=!0}}Pg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let a,o;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?BBe:LBe,typeof e=="string"?n.input=Up.string2buf(e):wY.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){if(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),(o===FBe||o===jBe)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(a=jf.deflate(n,o),a===zBe)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=jf.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Uv;if(n.avail_out===0){this.onData(n.output);continue}if(o>0&&n.next_out>0){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(n.avail_in===0)break}return!0};Pg.prototype.onData=function(e){this.chunks.push(e)};Pg.prototype.onEnd=function(e){e===Uv&&(this.result=X0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function fN(e,t){const n=new Pg(t);if(n.push(e,!0),n.err)throw n.msg||tc[n.err];return n.result}function WBe(e,t){return t=t||{},t.raw=!0,fN(e,t)}function GBe(e,t){return t=t||{},t.gzip=!0,fN(e,t)}var qBe=Pg,KBe=fN,YBe=WBe,XBe=GBe,ZBe=Sd,QBe={Deflate:qBe,deflate:KBe,deflateRaw:YBe,gzip:XBe,constants:ZBe};const Ym=16209,JBe=16191;var eze=function(t,n){let r,a,o,i,s,c,u,d,f,p,g,v,m,h,y,b,S,w,x,E,I,R,T,_;const $=t.state;r=t.next_in,T=t.input,a=r+(t.avail_in-5),o=t.next_out,_=t.output,i=o-(n-t.avail_out),s=o+(t.avail_out-257),c=$.dmax,u=$.wsize,d=$.whave,f=$.wnext,p=$.window,g=$.hold,v=$.bits,m=$.lencode,h=$.distcode,y=(1<<$.lenbits)-1,b=(1<<$.distbits)-1;e:do{v<15&&(g+=T[r++]<>>24,g>>>=w,v-=w,w=S>>>16&255,w===0)_[o++]=S&65535;else if(w&16){x=S&65535,w&=15,w&&(v>>=w,v-=w),v<15&&(g+=T[r++]<>>24,g>>>=w,v-=w,w=S>>>16&255,w&16){if(E=S&65535,w&=15,vc){t.msg="invalid distance too far back",$.mode=Ym;break e}if(g>>>=w,v-=w,w=o-i,E>w){if(w=E-w,w>d&&$.sane){t.msg="invalid distance too far back",$.mode=Ym;break e}if(I=0,R=p,f===0){if(I+=u-w,w2;)_[o++]=R[I++],_[o++]=R[I++],_[o++]=R[I++],x-=3;x&&(_[o++]=R[I++],x>1&&(_[o++]=R[I++]))}else{I=o-E;do _[o++]=_[I++],_[o++]=_[I++],_[o++]=_[I++],x-=3;while(x>2);x&&(_[o++]=_[I++],x>1&&(_[o++]=_[I++]))}}else if(w&64){t.msg="invalid distance code",$.mode=Ym;break e}else{S=h[(S&65535)+(g&(1<>3,r-=x,v-=x<<3,g&=(1<{const c=s.bits;let u=0,d=0,f=0,p=0,g=0,v=0,m=0,h=0,y=0,b=0,S,w,x,E,I,R=null,T;const _=new Uint16Array(zc+1),$=new Uint16Array(zc+1);let D=null,P,A,O;for(u=0;u<=zc;u++)_[u]=0;for(d=0;d=1&&_[p]===0;p--);if(g>p&&(g=p),p===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,s.bits=1,0;for(f=1;f0&&(e===G5||p!==1))return-1;for($[1]=0,u=1;uV5||e===q5&&y>W5)return 1;for(;;){P=u-m,i[d]+1=T?(A=D[i[d]-T],O=R[i[d]-T]):(A=96,O=0),S=1<>m)+w]=P<<24|A<<16|O|0;while(w!==0);for(S=1<>=1;if(S!==0?(b&=S-1,b+=S):b=0,d++,--_[u]===0){if(u===p)break;u=t[n+i[d]]}if(u>g&&(b&E)!==x){for(m===0&&(m=g),I+=f,v=u-m,h=1<V5||e===q5&&y>W5)return 1;x=b&E,a[x]=g<<24|v<<16|I-o|0}}return b!==0&&(a[I+b]=u-m<<24|64<<16|0),s.bits=g,0};var Bf=oze;const ize=0,CY=1,xY=2,{Z_FINISH:K5,Z_BLOCK:sze,Z_TREES:Xm,Z_OK:rc,Z_STREAM_END:lze,Z_NEED_DICT:cze,Z_STREAM_ERROR:wo,Z_DATA_ERROR:EY,Z_MEM_ERROR:IY,Z_BUF_ERROR:uze,Z_DEFLATED:Y5}=Sd,Z0=16180,X5=16181,Z5=16182,Q5=16183,J5=16184,ej=16185,tj=16186,nj=16187,rj=16188,aj=16189,Vv=16190,Ei=16191,m2=16192,oj=16193,h2=16194,ij=16195,sj=16196,lj=16197,cj=16198,Zm=16199,Qm=16200,uj=16201,dj=16202,fj=16203,pj=16204,gj=16205,v2=16206,mj=16207,hj=16208,Hn=16209,TY=16210,RY=16211,dze=852,fze=592,pze=15,gze=pze,vj=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function mze(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const wc=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.modeRY?1:0},_Y=e=>{if(wc(e))return wo;const t=e.state;return e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=t.wrap&1),t.mode=Z0,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(dze),t.distcode=t.distdyn=new Int32Array(fze),t.sane=1,t.back=-1,rc},$Y=e=>{if(wc(e))return wo;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,_Y(e)},OY=(e,t)=>{let n;if(wc(e))return wo;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?wo:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,$Y(e))},NY=(e,t)=>{if(!e)return wo;const n=new mze;e.state=n,n.strm=e,n.window=null,n.mode=Z0;const r=OY(e,t);return r!==rc&&(e.state=null),r},hze=e=>NY(e,gze);let bj=!0,b2,y2;const vze=e=>{if(bj){b2=new Int32Array(512),y2=new Int32Array(32);let t=0;for(;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(Bf(CY,e.lens,0,288,b2,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Bf(xY,e.lens,0,32,y2,0,e.work,{bits:5}),bj=!1}e.lencode=b2,e.lenbits=9,e.distcode=y2,e.distbits=5},kY=(e,t,n,r)=>{let a;const o=e.state;return o.window===null&&(o.wsize=1<=o.wsize?(o.window.set(t.subarray(n-o.wsize,n),0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>r&&(a=r),o.window.set(t.subarray(n-r,n-r+a),o.wnext),r-=a,r?(o.window.set(t.subarray(n-r,n),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave{let n,r,a,o,i,s,c,u,d,f,p,g,v,m,h=0,y,b,S,w,x,E,I,R;const T=new Uint8Array(4);let _,$;const D=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(wc(e)||!e.output||!e.input&&e.avail_in!==0)return wo;n=e.state,n.mode===Ei&&(n.mode=m2),i=e.next_out,a=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,f=s,p=c,R=rc;e:for(;;)switch(n.mode){case Z0:if(n.wrap===0){n.mode=m2;break}for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Rr(n.check,T,2,0),u=0,d=0,n.mode=X5;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=Hn;break}if((u&15)!==Y5){e.msg="unknown compression method",n.mode=Hn;break}if(u>>>=4,d-=4,I=(u&15)+8,n.wbits===0&&(n.wbits=I),I>15||I>n.wbits){e.msg="invalid window size",n.mode=Hn;break}n.dmax=1<>8&1),n.flags&512&&n.wrap&4&&(T[0]=u&255,T[1]=u>>>8&255,n.check=Rr(n.check,T,2,0)),u=0,d=0,n.mode=Z5;case Z5:for(;d<32;){if(s===0)break e;s--,u+=r[o++]<>>8&255,T[2]=u>>>16&255,T[3]=u>>>24&255,n.check=Rr(n.check,T,4,0)),u=0,d=0,n.mode=Q5;case Q5:for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>8),n.flags&512&&n.wrap&4&&(T[0]=u&255,T[1]=u>>>8&255,n.check=Rr(n.check,T,2,0)),u=0,d=0,n.mode=J5;case J5:if(n.flags&1024){for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Rr(n.check,T,2,0)),u=0,d=0}else n.head&&(n.head.extra=null);n.mode=ej;case ej:if(n.flags&1024&&(g=n.length,g>s&&(g=s),g&&(n.head&&(I=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(o,o+g),I)),n.flags&512&&n.wrap&4&&(n.check=Rr(n.check,r,g,o)),s-=g,o+=g,n.length-=g),n.length))break e;n.length=0,n.mode=tj;case tj:if(n.flags&2048){if(s===0)break e;g=0;do I=r[o+g++],n.head&&I&&n.length<65536&&(n.head.name+=String.fromCharCode(I));while(I&&g>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Ei;break;case aj:for(;d<32;){if(s===0)break e;s--,u+=r[o++]<>>=d&7,d-=d&7,n.mode=v2;break}for(;d<3;){if(s===0)break e;s--,u+=r[o++]<>>=1,d-=1,u&3){case 0:n.mode=oj;break;case 1:if(vze(n),n.mode=Zm,t===Xm){u>>>=2,d-=2;break e}break;case 2:n.mode=sj;break;case 3:e.msg="invalid block type",n.mode=Hn}u>>>=2,d-=2;break;case oj:for(u>>>=d&7,d-=d&7;d<32;){if(s===0)break e;s--,u+=r[o++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=Hn;break}if(n.length=u&65535,u=0,d=0,n.mode=h2,t===Xm)break e;case h2:n.mode=ij;case ij:if(g=n.length,g){if(g>s&&(g=s),g>c&&(g=c),g===0)break e;a.set(r.subarray(o,o+g),i),s-=g,o+=g,c-=g,i+=g,n.length-=g;break}n.mode=Ei;break;case sj:for(;d<14;){if(s===0)break e;s--,u+=r[o++]<>>=5,d-=5,n.ndist=(u&31)+1,u>>>=5,d-=5,n.ncode=(u&15)+4,u>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=Hn;break}n.have=0,n.mode=lj;case lj:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[D[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,_={bits:n.lenbits},R=Bf(ize,n.lens,0,19,n.lencode,0,n.work,_),n.lenbits=_.bits,R){e.msg="invalid code lengths set",n.mode=Hn;break}n.have=0,n.mode=cj;case cj:for(;n.have>>24,b=h>>>16&255,S=h&65535,!(y<=d);){if(s===0)break e;s--,u+=r[o++]<>>=y,d-=y,n.lens[n.have++]=S;else{if(S===16){for($=y+2;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=y,d-=y,n.have===0){e.msg="invalid bit length repeat",n.mode=Hn;break}I=n.lens[n.have-1],g=3+(u&3),u>>>=2,d-=2}else if(S===17){for($=y+3;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=y,d-=y,I=0,g=3+(u&7),u>>>=3,d-=3}else{for($=y+7;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=y,d-=y,I=0,g=11+(u&127),u>>>=7,d-=7}if(n.have+g>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=Hn;break}for(;g--;)n.lens[n.have++]=I}}if(n.mode===Hn)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=Hn;break}if(n.lenbits=9,_={bits:n.lenbits},R=Bf(CY,n.lens,0,n.nlen,n.lencode,0,n.work,_),n.lenbits=_.bits,R){e.msg="invalid literal/lengths set",n.mode=Hn;break}if(n.distbits=6,n.distcode=n.distdyn,_={bits:n.distbits},R=Bf(xY,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,_),n.distbits=_.bits,R){e.msg="invalid distances set",n.mode=Hn;break}if(n.mode=Zm,t===Xm)break e;case Zm:n.mode=Qm;case Qm:if(s>=6&&c>=258){e.next_out=i,e.avail_out=c,e.next_in=o,e.avail_in=s,n.hold=u,n.bits=d,eze(e,p),i=e.next_out,a=e.output,c=e.avail_out,o=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,n.mode===Ei&&(n.back=-1);break}for(n.back=0;h=n.lencode[u&(1<>>24,b=h>>>16&255,S=h&65535,!(y<=d);){if(s===0)break e;s--,u+=r[o++]<>w)],y=h>>>24,b=h>>>16&255,S=h&65535,!(w+y<=d);){if(s===0)break e;s--,u+=r[o++]<>>=w,d-=w,n.back+=w}if(u>>>=y,d-=y,n.back+=y,n.length=S,b===0){n.mode=gj;break}if(b&32){n.back=-1,n.mode=Ei;break}if(b&64){e.msg="invalid literal/length code",n.mode=Hn;break}n.extra=b&15,n.mode=uj;case uj:if(n.extra){for($=n.extra;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=dj;case dj:for(;h=n.distcode[u&(1<>>24,b=h>>>16&255,S=h&65535,!(y<=d);){if(s===0)break e;s--,u+=r[o++]<>w)],y=h>>>24,b=h>>>16&255,S=h&65535,!(w+y<=d);){if(s===0)break e;s--,u+=r[o++]<>>=w,d-=w,n.back+=w}if(u>>>=y,d-=y,n.back+=y,b&64){e.msg="invalid distance code",n.mode=Hn;break}n.offset=S,n.extra=b&15,n.mode=fj;case fj:if(n.extra){for($=n.extra;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=Hn;break}n.mode=pj;case pj:if(c===0)break e;if(g=p-c,n.offset>g){if(g=n.offset-g,g>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=Hn;break}g>n.wnext?(g-=n.wnext,v=n.wsize-g):v=n.wnext-g,g>n.length&&(g=n.length),m=n.window}else m=a,v=i-n.offset,g=n.length;g>c&&(g=c),c-=g,n.length-=g;do a[i++]=m[v++];while(--g);n.length===0&&(n.mode=Qm);break;case gj:if(c===0)break e;a[i++]=n.length,c--,n.mode=Qm;break;case v2:if(n.wrap){for(;d<32;){if(s===0)break e;s--,u|=r[o++]<{if(wc(e))return wo;let t=e.state;return t.window&&(t.window=null),e.state=null,rc},Sze=(e,t)=>{if(wc(e))return wo;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,rc):wo},wze=(e,t)=>{const n=t.length;let r,a,o;return wc(e)||(r=e.state,r.wrap!==0&&r.mode!==Vv)?wo:r.mode===Vv&&(a=1,a=zp(a,t,n,0),a!==r.check)?EY:(o=kY(e,t,n,n),o?(r.mode=TY,IY):(r.havedict=1,rc))};var Cze=$Y,xze=OY,Eze=_Y,Ize=hze,Tze=NY,Rze=bze,_ze=yze,$ze=Sze,Oze=wze,Nze="pako inflate (from Nodeca project)",ki={inflateReset:Cze,inflateReset2:xze,inflateResetKeep:Eze,inflateInit:Ize,inflateInit2:Tze,inflate:Rze,inflateEnd:_ze,inflateGetHeader:$ze,inflateSetDictionary:Oze,inflateInfo:Nze};function kze(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var Aze=kze;const AY=Object.prototype.toString,{Z_NO_FLUSH:Mze,Z_FINISH:Dze,Z_OK:Vp,Z_STREAM_END:S2,Z_NEED_DICT:w2,Z_STREAM_ERROR:Pze,Z_DATA_ERROR:yj,Z_MEM_ERROR:Lze}=Sd;function Lg(e){this.options=X0.assign({chunkSize:1024*64,windowBits:15,to:""},e||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(e&&e.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new SY,this.strm.avail_out=0;let n=ki.inflateInit2(this.strm,t.windowBits);if(n!==Vp)throw new Error(tc[n]);if(this.header=new Aze,ki.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Up.string2buf(t.dictionary):AY.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=ki.inflateSetDictionary(this.strm,t.dictionary),n!==Vp)))throw new Error(tc[n])}Lg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,a=this.options.dictionary;let o,i,s;if(this.ended)return!1;for(t===~~t?i=t:i=t===!0?Dze:Mze,AY.call(e)==="[object ArrayBuffer]"?n.input=new Uint8Array(e):n.input=e,n.next_in=0,n.avail_in=n.input.length;;){for(n.avail_out===0&&(n.output=new Uint8Array(r),n.next_out=0,n.avail_out=r),o=ki.inflate(n,i),o===w2&&a&&(o=ki.inflateSetDictionary(n,a),o===Vp?o=ki.inflate(n,i):o===yj&&(o=w2));n.avail_in>0&&o===S2&&n.state.wrap>0&&e[n.next_in]!==0;)ki.inflateReset(n),o=ki.inflate(n,i);switch(o){case Pze:case yj:case w2:case Lze:return this.onEnd(o),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||o===S2))if(this.options.to==="string"){let c=Up.utf8border(n.output,n.next_out),u=n.next_out-c,d=Up.buf2string(n.output,c);n.next_out=u,n.avail_out=r-u,u&&n.output.set(n.output.subarray(c,c+u),0),this.onData(d)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(o===Vp&&s===0)){if(o===S2)return o=ki.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};Lg.prototype.onData=function(e){this.chunks.push(e)};Lg.prototype.onEnd=function(e){e===Vp&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=X0.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function pN(e,t){const n=new Lg(t);if(n.push(e),n.err)throw n.msg||tc[n.err];return n.result}function Fze(e,t){return t=t||{},t.raw=!0,pN(e,t)}var jze=Lg,Bze=pN,zze=Fze,Hze=pN,Uze=Sd,Vze={Inflate:jze,inflate:Bze,inflateRaw:zze,ungzip:Hze,constants:Uze};const{Deflate:m7e,deflate:Wze,deflateRaw:h7e,gzip:v7e}=QBe,{Inflate:Gze,inflate:b7e,inflateRaw:y7e,ungzip:S7e}=Vze;var qze=Wze,Kze=Gze;class Nh{constructor(t,n=!1,r=!0){this.device=t,this.tracing=n,this.slipReaderEnabled=!1,this.leftOver=new Uint8Array(0),this.baudrate=0,this.traceLog="",this.lastTraceTime=Date.now(),this._DTR_state=!1,this.slipReaderEnabled=r}getInfo(){const t=this.device.getInfo();return t.usbVendorId&&t.usbProductId?`WebSerial VendorID 0x${t.usbVendorId.toString(16)} ProductID 0x${t.usbProductId.toString(16)}`:""}getPid(){return this.device.getInfo().usbProductId}trace(t){const a=`${`TRACE ${(Date.now()-this.lastTraceTime).toFixed(3)}`} ${t}`;console.log(a),this.traceLog+=a+` `}async returnTrace(){try{await navigator.clipboard.writeText(this.traceLog),console.log("Text copied to clipboard!")}catch(t){console.error("Failed to copy text:",t)}}hexify(t){return Array.from(t).map(n=>n.toString(16).padStart(2,"0")).join("").padEnd(16," ")}hexConvert(t,n=!0){if(n&&t.length>16){let r="",a=t;for(;a.length>0;){const o=a.slice(0,16),i=String.fromCharCode(...o).split("").map(s=>s===" "||s>=" "&&s<="~"&&s!==" "?s:".").join("");a=a.slice(16),r+=` ${this.hexify(o.slice(0,8))} ${this.hexify(o.slice(8))} | ${i}`}return r}else return this.hexify(t)}slipWriter(t){const n=[];n.push(192);for(let r=0;r0)return o;a=this.leftOver,this.leftOver=new Uint8Array(0)}if(this.device.readable==null)return this.leftOver;this.reader=this.device.readable.getReader();try{t>0&&(r=setTimeout(()=>{this.reader&&this.reader.cancel()},t));do{const{value:o,done:i}=await this.reader.read();if(i)throw this.leftOver=a,new Error("Timeout");a=new Uint8Array(this._appendBuffer(a.buffer,o.buffer))}while(a.length0&&clearTimeout(r),this.reader.releaseLock()}if(this.tracing&&(console.log("Read bytes"),this.trace(`Read ${a.length} bytes: ${this.hexConvert(a)}`)),this.slipReaderEnabled){const o=this.slipReader(a);return this.tracing&&(console.log("Slip reader results"),this.trace(`Read ${o.length} bytes: ${this.hexConvert(o)}`)),o}return a}async rawRead(t=0){if(this.leftOver.length!=0){const r=this.leftOver;return this.leftOver=new Uint8Array(0),r}if(!this.device.readable)return this.leftOver;this.reader=this.device.readable.getReader();let n;try{t>0&&(n=setTimeout(()=>{this.reader&&this.reader.cancel()},t));const{value:r,done:a}=await this.reader.read();return a||this.tracing&&(console.log("Raw Read bytes"),this.trace(`Read ${r.length} bytes: ${this.hexConvert(r)}`)),r}finally{t>0&&clearTimeout(n),this.reader.releaseLock()}}async setRTS(t){await this.device.setSignals({requestToSend:t}),await this.setDTR(this._DTR_state)}async setDTR(t){this._DTR_state=t,await this.device.setSignals({dataTerminalReady:t})}async connect(t=115200,n={}){await this.device.open({baudRate:t,dataBits:n==null?void 0:n.dataBits,stopBits:n==null?void 0:n.stopBits,bufferSize:n==null?void 0:n.bufferSize,parity:n==null?void 0:n.parity,flowControl:n==null?void 0:n.flowControl}),this.baudrate=t,this.leftOver=new Uint8Array(0)}async sleep(t){return new Promise(n=>setTimeout(n,t))}async waitForUnlock(t){for(;this.device.readable&&this.device.readable.locked||this.device.writable&&this.device.writable.locked;)await this.sleep(t)}async disconnect(){var t,n;!((t=this.device.readable)===null||t===void 0)&&t.locked&&await((n=this.reader)===null||n===void 0?void 0:n.cancel()),await this.waitForUnlock(400),this.reader=void 0,await this.device.close()}}function kh(e){return new Promise(t=>setTimeout(t,e))}async function Yze(e){await e.setRTS(!1),await e.setDTR(!1),await kh(100),await e.setDTR(!0),await e.setRTS(!1),await kh(100),await e.setRTS(!0),await e.setDTR(!1),await e.setRTS(!0),await kh(100),await e.setRTS(!1),await e.setDTR(!1)}function Xze(e){const t=["D","R","W"],n=e.split("|");for(const r of n){const a=r[0],o=r.slice(1);if(!t.includes(a))return!1;if(a==="D"||a==="R"){if(o!=="0"&&o!=="1")return!1}else if(a==="W"){const i=parseInt(o);if(isNaN(i)||i<=0)return!1}}return!0}async function Zze(e,t){const n={D:async r=>await e.setDTR(r),R:async r=>await e.setRTS(r),W:async r=>await kh(r)};try{if(!Xze(t))return;const a=t.split("|");for(const o of a){const i=o[0],s=o.slice(1);i==="W"?await n.W(Number(s)):(i==="D"||i==="R")&&await n[i](s==="1")}}catch{throw new Error("Invalid custom reset sequence")}}var Qze=function(t){return atob(t)};const Sj=fa(Qze);async function Jze(e){switch(e){case 15736195:{const{ESP32ROM:t}=await xi(async()=>{const{ESP32ROM:n}=await import("./esp32-BPYaDt9v.js");return{ESP32ROM:n}},__vite__mapDeps([0,1]));return new t}case 1867591791:case 2084675695:{const{ESP32C2ROM:t}=await xi(async()=>{const{ESP32C2ROM:n}=await import("./esp32c2-CtjOOsCE.js");return{ESP32C2ROM:n}},__vite__mapDeps([2,3,1]));return new t}case 1763790959:case 456216687:case 1216438383:case 1130455151:{const{ESP32C3ROM:t}=await xi(async()=>{const{ESP32C3ROM:n}=await import("./esp32c3-DDsZSfEd.js");return{ESP32C3ROM:n}},__vite__mapDeps([3,1]));return new t}case 752910447:{const{ESP32C6ROM:t}=await xi(async()=>{const{ESP32C6ROM:n}=await import("./esp32c6-BRG5ZpJ8.js");return{ESP32C6ROM:n}},__vite__mapDeps([4,1]));return new t}case 3619110528:{const{ESP32H2ROM:t}=await xi(async()=>{const{ESP32H2ROM:n}=await import("./esp32h2-Cf8JbGZQ.js");return{ESP32H2ROM:n}},__vite__mapDeps([5,1]));return new t}case 9:{const{ESP32S3ROM:t}=await xi(async()=>{const{ESP32S3ROM:n}=await import("./esp32s3-DkgZlzv1.js");return{ESP32S3ROM:n}},__vite__mapDeps([6,1]));return new t}case 1990:{const{ESP32S2ROM:t}=await xi(async()=>{const{ESP32S2ROM:n}=await import("./esp32s2-BOsRKhcm.js");return{ESP32S2ROM:n}},__vite__mapDeps([7,1]));return new t}case 4293968129:{const{ESP8266ROM:t}=await xi(async()=>{const{ESP8266ROM:n}=await import("./esp8266-8VKmCx7J.js");return{ESP8266ROM:n}},__vite__mapDeps([8,1]));return new t}case 0:case 182303440:case 117676761:{const{ESP32P4ROM:t}=await xi(async()=>{const{ESP32P4ROM:n}=await import("./esp32p4-DfBdIAkh.js");return{ESP32P4ROM:n}},__vite__mapDeps([9,0,1]));return new t}default:return null}}class C2{constructor(t){this.ESP_RAM_BLOCK=6144,this.ESP_FLASH_BEGIN=2,this.ESP_FLASH_DATA=3,this.ESP_FLASH_END=4,this.ESP_MEM_BEGIN=5,this.ESP_MEM_END=6,this.ESP_MEM_DATA=7,this.ESP_WRITE_REG=9,this.ESP_READ_REG=10,this.ESP_SPI_ATTACH=13,this.ESP_CHANGE_BAUDRATE=15,this.ESP_FLASH_DEFL_BEGIN=16,this.ESP_FLASH_DEFL_DATA=17,this.ESP_FLASH_DEFL_END=18,this.ESP_SPI_FLASH_MD5=19,this.ESP_ERASE_FLASH=208,this.ESP_ERASE_REGION=209,this.ESP_READ_FLASH=210,this.ESP_RUN_USER_CODE=211,this.ESP_IMAGE_MAGIC=233,this.ESP_CHECKSUM_MAGIC=239,this.ROM_INVALID_RECV_MSG=5,this.ERASE_REGION_TIMEOUT_PER_MB=3e4,this.ERASE_WRITE_TIMEOUT_PER_MB=4e4,this.MD5_TIMEOUT_PER_MB=8e3,this.CHIP_ERASE_TIMEOUT=12e4,this.FLASH_READ_TIMEOUT=1e5,this.MAX_TIMEOUT=this.CHIP_ERASE_TIMEOUT*2,this.CHIP_DETECT_MAGIC_REG_ADDR=1073745920,this.DETECTED_FLASH_SIZES={18:"256KB",19:"512KB",20:"1MB",21:"2MB",22:"4MB",23:"8MB",24:"16MB"},this.DETECTED_FLASH_SIZES_NUM={18:256,19:512,20:1024,21:2048,22:4096,23:8192,24:16384},this.USB_JTAG_SERIAL_PID=4097,this.romBaudrate=115200,this.debugLogging=!1,this.syncStubDetected=!1,this.checksum=function(n){let r,a=239;for(r=0;rsetTimeout(n,t))}write(t,n=!0){this.terminal?n?this.terminal.writeLine(t):this.terminal.write(t):console.log(t)}error(t,n=!0){this.write(`Error: ${t}`,n)}info(t,n=!0){this.write(t,n)}debug(t,n=!0){this.debugLogging&&this.write(`Debug: ${t}`,n)}_shortToBytearray(t){return new Uint8Array([t&255,t>>8&255])}_intToByteArray(t){return new Uint8Array([t&255,t>>8&255,t>>16&255,t>>24&255])}_byteArrayToShort(t,n){return t|n>>8}_byteArrayToInt(t,n,r,a){return t|n<<8|r<<16|a<<24}_appendBuffer(t,n){const r=new Uint8Array(t.byteLength+n.byteLength);return r.set(new Uint8Array(t),0),r.set(new Uint8Array(n),t.byteLength),r.buffer}_appendArray(t,n){const r=new Uint8Array(t.length+n.length);return r.set(t,0),r.set(n,t.length),r}ui8ToBstr(t){let n="";for(let r=0;r0&&(i=this._appendArray(i,this._intToByteArray(this.chip.UART_DATE_REG_ADDR)),i=this._appendArray(i,this._intToByteArray(0)),i=this._appendArray(i,this._intToByteArray(0)),i=this._appendArray(i,this._intToByteArray(o))),await this.checkCommand("write target memory",this.ESP_WRITE_REG,i)}async sync(){this.debug("Sync");const t=new Uint8Array(36);let n;for(t[0]=7,t[1]=7,t[2]=18,t[3]=32,n=0;n<32;n++)t[4+n]=85;try{const r=await this.command(8,t,void 0,void 0,100);return this.syncStubDetected=this.syncStubDetected&&r[0]===0,r}catch(r){throw this.debug("Sync err "+r),r}}async _connectAttempt(t="default_reset",n=!1){if(this.debug("_connect_attempt "+t+" "+n),t!=="no_reset")if(this.transport.getPid()===this.USB_JTAG_SERIAL_PID)await Yze(this.transport);else{const o=n?"D0|R1|W100|W2000|D1|R0|W50|D0":"D0|R1|W100|D1|R0|W50|D0";await Zze(this.transport,o)}let r=0,a=!0;for(;a;){try{const o=await this.transport.read(1e3);r+=o.length}catch(o){if(this.debug(o.message),o instanceof Error){a=!1;break}}await this._sleep(50)}for(this.transport.slipReaderEnabled=!0,this.syncStubDetected=!0,r=7;r--;){try{const o=await this.sync();return this.debug(o[0].toString()),"success"}catch(o){o instanceof Error&&(n?this.info("_",!1):this.info(".",!1))}await this._sleep(50)}return"error"}async connect(t="default_reset",n=7,r=!1){let a,o;for(this.info("Connecting...",!1),await this.transport.connect(this.romBaudrate,this.serialOptions),a=0;a>>0;this.debug("Chip Magic "+i.toString(16));const s=await Jze(i);if(this.chip===null)throw new sa(`Unexpected CHIP magic value ${i}. Failed to autodetect chip type.`);this.chip=s}}async detectChip(t="default_reset"){await this.connect(t),this.info("Detecting chip type... ",!1),this.chip!=null?this.info(this.chip.CHIP_NAME):this.info("unknown!")}async checkCommand(t="",n=null,r=new Uint8Array(0),a=0,o=3e3){this.debug("check_command "+t);const i=await this.command(n,r,a,void 0,o);return i[1].length>4?i[1]:i[0]}async memBegin(t,n,r,a){this.debug("mem_begin "+t+" "+n+" "+r+" "+a.toString(16));let o=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));o=this._appendArray(o,this._intToByteArray(r)),o=this._appendArray(o,this._intToByteArray(a)),await this.checkCommand("enter RAM download mode",this.ESP_MEM_BEGIN,o)}async memBlock(t,n){let r=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,t);const a=this.checksum(t);await this.checkCommand("write to target RAM",this.ESP_MEM_DATA,r,a)}async memFinish(t){const n=t===0?1:0,r=this._appendArray(this._intToByteArray(n),this._intToByteArray(t));await this.checkCommand("leave RAM download mode",this.ESP_MEM_END,r,void 0,50)}async flashSpiAttach(t){const n=this._intToByteArray(t);await this.checkCommand("configure SPI flash pins",this.ESP_SPI_ATTACH,n)}async flashBegin(t,n){const r=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),a=this.chip.getEraseSize(n,t),o=new Date,i=o.getTime();let s=3e3;this.IS_STUB==!1&&(s=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,t)),this.debug("flash begin "+a+" "+r+" "+this.FLASH_WRITE_SIZE+" "+n+" "+t);let c=this._appendArray(this._intToByteArray(a),this._intToByteArray(r));c=this._appendArray(c,this._intToByteArray(this.FLASH_WRITE_SIZE)),c=this._appendArray(c,this._intToByteArray(n)),this.IS_STUB==!1&&(c=this._appendArray(c,this._intToByteArray(0))),await this.checkCommand("enter Flash download mode",this.ESP_FLASH_BEGIN,c,void 0,s);const u=o.getTime();return t!=0&&this.IS_STUB==!1&&this.info("Took "+(u-i)/1e3+"."+(u-i)%1e3+"s to erase flash block"),r}async flashDeflBegin(t,n,r){const a=Math.floor((n+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),o=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),i=new Date,s=i.getTime();let c,u;this.IS_STUB?(c=t,u=3e3):(c=o*this.FLASH_WRITE_SIZE,u=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,c)),this.info("Compressed "+t+" bytes to "+n+"...");let d=this._appendArray(this._intToByteArray(c),this._intToByteArray(a));d=this._appendArray(d,this._intToByteArray(this.FLASH_WRITE_SIZE)),d=this._appendArray(d,this._intToByteArray(r)),(this.chip.CHIP_NAME==="ESP32-S2"||this.chip.CHIP_NAME==="ESP32-S3"||this.chip.CHIP_NAME==="ESP32-C3"||this.chip.CHIP_NAME==="ESP32-C2")&&this.IS_STUB===!1&&(d=this._appendArray(d,this._intToByteArray(0))),await this.checkCommand("enter compressed flash mode",this.ESP_FLASH_DEFL_BEGIN,d,void 0,u);const f=i.getTime();return t!=0&&this.IS_STUB===!1&&this.info("Took "+(f-s)/1e3+"."+(f-s)%1e3+"s to erase flash block"),a}async flashBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const o=this.checksum(t);await this.checkCommand("write to target Flash after seq "+n,this.ESP_FLASH_DATA,a,o,r)}async flashDeflBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const o=this.checksum(t);this.debug("flash_defl_block "+t[0].toString(16)+" "+t[1].toString(16)),await this.checkCommand("write compressed data to flash after seq "+n,this.ESP_FLASH_DEFL_DATA,a,o,r)}async flashFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave Flash mode",this.ESP_FLASH_END,r)}async flashDeflFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave compressed flash mode",this.ESP_FLASH_DEFL_END,r)}async runSpiflashCommand(t,n,r){const s=this.chip.SPI_REG_BASE,c=s+0,u=s+this.chip.SPI_USR_OFFS,d=s+this.chip.SPI_USR1_OFFS,f=s+this.chip.SPI_USR2_OFFS,p=s+this.chip.SPI_W0_OFFS;let g;this.chip.SPI_MOSI_DLEN_OFFS!=null?g=async(I,R)=>{const T=s+this.chip.SPI_MOSI_DLEN_OFFS,_=s+this.chip.SPI_MISO_DLEN_OFFS;I>0&&await this.writeReg(T,I-1),R>0&&await this.writeReg(_,R-1)}:g=async(I,R)=>{const T=d,_=17,$=8,D=I===0?0:I-1,A=(R===0?0:R-1)<<$|D<<_;await this.writeReg(T,A)};const b=1<<18,m=28;if(r>32)throw new sa("Reading more than 32 bits back from a SPI flash operation is unsupported");if(n.length>64)throw new sa("Writing more than 64 bytes of data with one SPI command is unsupported");const h=n.length*8,y=await this.readReg(u),v=await this.readReg(f);let S=-2147483648,w;r>0&&(S|=268435456),h>0&&(S|=134217728),await g(h,r),await this.writeReg(u,S);let x=7<("00"+n.toString(16)).slice(-2)).join("")}async flashMd5sum(t,n){const r=this.timeoutPerMb(this.MD5_TIMEOUT_PER_MB,n);let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0));let o=await this.checkCommand("calculate md5sum",this.ESP_SPI_FLASH_MD5,a,void 0,r);return o instanceof Uint8Array&&o.length>16&&(o=o.slice(0,16)),this.toHex(o)}async readFlash(t,n,r=null){let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(4096)),a=this._appendArray(a,this._intToByteArray(1024));const o=await this.checkCommand("read flash",this.ESP_READ_FLASH,a);if(o!=0)throw new sa("Failed to read memory: "+o);let i=new Uint8Array(0);for(;i.length0&&(i=this._appendArray(i,s),await this.transport.write(this._intToByteArray(i.length)),r&&r(s,i.length,n));else throw new sa("Failed to read memory: "+s)}return i}async runStub(){if(this.syncStubDetected)return this.info("Stub is already running. No upload is necessary."),this.chip;this.info("Uploading stub...");let t=Sj(this.chip.ROM_TEXT),n=t.split("").map(function(s){return s.charCodeAt(0)});const r=new Uint8Array(n);t=Sj(this.chip.ROM_DATA),n=t.split("").map(function(s){return s.charCodeAt(0)});const a=new Uint8Array(n);let o=Math.floor((r.length+this.ESP_RAM_BLOCK-1)/this.ESP_RAM_BLOCK),i;for(await this.memBegin(r.length,o,this.ESP_RAM_BLOCK,this.chip.TEXT_START),i=0;i"u")throw new sa("Flash size "+t+" is not supported by this chip type. Supported sizes: "+this.chip.FLASH_SIZES);return this.chip.FLASH_SIZES[t]}_updateImageFlashParams(t,n,r,a,o){if(this.debug("_update_image_flash_params "+r+" "+a+" "+o),t.length<8||n!=this.chip.BOOTLOADER_FLASH_OFFSET)return t;if(r==="keep"&&a==="keep"&&o==="keep")return this.info("Not changing the image"),t;const i=parseInt(t[0]);let s=parseInt(t[2]);const c=parseInt(t[3]);if(i!==this.ESP_IMAGE_MAGIC)return this.info("Warning: Image file at 0x"+n.toString(16)+" doesn't look like an image file, so not changing any flash settings."),t;a!=="keep"&&(s={qio:0,qout:1,dio:2,dout:3}[a]);let u=c&15;o!=="keep"&&(u={"40m":0,"26m":1,"20m":2,"80m":15}[o]);let d=c&240;r!=="keep"&&(d=this.parseFlashSizeArg(r));const f=s<<8|u+d;return this.info("Flash params set to "+f.toString(16)),parseInt(t[2])!==s<<8&&(t=t.substring(0,2)+(s<<8).toString()+t.substring(3)),parseInt(t[3])!==u+d&&(t=t.substring(0,3)+(u+d).toString()+t.substring(4)),t}async writeFlash(t){if(this.debug("EspLoader program"),t.flashSize!=="keep"){const a=this.flashSizeBytes(t.flashSize);for(let o=0;oa)throw new sa(`File ${o+1} doesn't fit in the available flash`)}this.IS_STUB===!0&&t.eraseAll===!0&&await this.eraseFlash();let n,r;for(let a=0;a0&&(n+="ÿÿÿÿ".substring(4-o)),r=t.fileArray[a].address,this.debug("Image Length "+n.length),n.length===0){this.debug("Warning: File is empty");continue}n=this._updateImageFlashParams(n,r,t.flashSize,t.flashMode,t.flashFreq);let i=null;t.calculateMD5Hash&&(i=t.calculateMD5Hash(n),this.debug("Image MD5 "+i));const s=n.length;let c;if(t.compress){const v=this.bstrToUi8(n);n=this.ui8ToBstr(qze(v,{level:9})),c=await this.flashDeflBegin(s,n.length,r)}else c=await this.flashBegin(s,r);let u=0,d=0;const f=n.length;t.reportProgress&&t.reportProgress(a,0,f);let p=new Date;const g=p.getTime();let b=5e3;const m=new Kze({chunkSize:1});let h=0;for(m.onData=function(v){h+=v.byteLength};n.length>0;){this.debug("Write loop "+r+" "+u+" "+c),this.info("Writing at 0x"+(r+h).toString(16)+"... ("+Math.floor(100*(u+1)/c)+"%)");const v=this.bstrToUi8(n.slice(0,this.FLASH_WRITE_SIZE));if(t.compress){const S=h;m.push(v,!1);const w=h-S;let x=3e3;this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,w)>3e3&&(x=this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,w)),this.IS_STUB===!1&&(b=x),await this.flashDeflBlock(v,u,b),this.IS_STUB&&(b=x)}else throw new sa("Yet to handle Non Compressed writes");d+=v.length,n=n.slice(this.FLASH_WRITE_SIZE,n.length),u++,t.reportProgress&&t.reportProgress(a,d,f)}this.IS_STUB&&await this.readReg(this.CHIP_DETECT_MAGIC_REG_ADDR,b),p=new Date;const y=p.getTime()-g;if(t.compress&&this.info("Wrote "+s+" bytes ("+d+" compressed) at 0x"+r.toString(16)+" in "+y/1e3+" seconds."),i){const v=await this.flashMd5sum(r,s);if(new String(v).valueOf()!=new String(i).valueOf())throw this.info("File md5: "+i),this.info("Flash md5: "+v),new sa("MD5 of file does not match data in flash!");this.info("Hash of data verified.")}}this.info("Leaving..."),this.IS_STUB&&(await this.flashBegin(0,0),t.compress?await this.flashDeflFinish():await this.flashFinish())}async flashId(){this.debug("flash_id");const t=await this.readFlashId();this.info("Manufacturer: "+(t&255).toString(16));const n=t>>16&255;this.info("Device: "+(t>>8&255).toString(16)+n.toString(16)),this.info("Detected flash size: "+this.DETECTED_FLASH_SIZES[n])}async getFlashSize(){this.debug("flash_id");const n=await this.readFlashId()>>16&255;return this.DETECTED_FLASH_SIZES_NUM[n]}async hardReset(){await this.transport.setRTS(!0),await this._sleep(100),await this.transport.setRTS(!1)}async softReset(){if(!this.IS_STUB)await this.flashBegin(0,0),await this.flashFinish(!1);else{if(this.chip.CHIP_NAME!="ESP8266")throw new sa("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}}}const e7e=()=>{const[e,t]=l.useState(0),n=["",".","..","...","....","....."];return l.useEffect(()=>{const r=setInterval(()=>{t(a=>(a+1)%n.length)},666);return()=>clearInterval(r)},[]),C.jsx(C.Fragment,{children:n[e]})},t7e=()=>"serial"in navigator,Jm=new wn(fn()),{Paragraph:Zr,Text:n7e}=Bn,{Step:r7e}=q$,a7e=()=>{const{t:e}=Ft(),t=qr.language,n=l.useRef(null),[r,a]=l.useState(!1),[o,i]=l.useState(""),[s,c]=l.useState(!1),[u,d]=l.useState(!1),[f,p]=l.useState(0),[g,b]=l.useState([C.jsx(C.Fragment,{}),C.jsx(C.Fragment,{}),C.jsx(C.Fragment,{}),C.jsx(C.Fragment,{})]),[m,h]=l.useState({progress:0,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",state:"",filename:"",flashName:"",port:null,originalFlash:null,patchedFlash:null,showStatus:!1,showProgress:!1,showDownload:!1,showFlash:!1,connected:!1,hostname:window.location.hostname,wifi_ssid:"",wifi_pass:"",proceed:!1,actionInProgress:!1,warningTextHostname:"",warningTextWifi:"",downloadLink:"",downloadLinkPatched:"",error:!1}),[y,v]=l.useState(!1),S=921600,w=115200;function x(G){const Q=new Uint8Array(G);let ae="";for(let oe=0;oe{v(t7e())},[]),l.useEffect(()=>{if(window.location.protocol!=="https:"){a(!1);const G=async()=>{try{return await(await Jm.apiGetTeddyCloudSettingRaw("core.server.https_web_port")).text()}catch(oe){console.error("Error fetching https port: ",oe)}},Q=async()=>{try{return await(await Jm.apiGetTeddyCloudSettingRaw("core.server.http_port")).text()}catch(oe){console.error("Error fetching http port: ",oe)}};(async()=>{const oe=await G()||"",de=await Q()||"",ve=new URL(window.location.href);ve.protocol="https:",ve.port?ve.port=ve.port===de?oe:ve.port:ve.port=oe,i(ve.toString())})()}else a(!0)},[]),l.useEffect(()=>{P(f,(()=>{switch(f){case 0:return F;case 1:return j;case 2:return B;case 3:return z;default:return C.jsx("div",{})}})())},[m,t]),l.useEffect(()=>{m.proceed&&Y()},[m.proceed]),l.useEffect(()=>{c(m.actionInProgress)},[m.actionInProgress]);const E=()=>{o&&(window.location.href=o)},I=async G=>{if(m.port)return console.log(m.port.getInfo),m.port;h(ae=>({...ae,showStatus:!0,showProgress:!1,progress:0,state:G||"Open serial port"}));let Q=null;try{Q=await navigator.serial.requestPort(),await Q.open({baudRate:115200}),await Q.close()}catch(ae){return ae==="NetworkError"?(h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"),error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"))):ae==="NotFoundError"?h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.noPortAvailable"),error:!0})):(h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+ae,error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+` ${ae}`)),null}return Q?(console.log("port done"),h(ae=>({...ae,port:Q})),Q):(h(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.invalidSerialPort"),error:!0})),null)},R=async G=>{if(console.log("loadFlashFile"),!G.target.files)return;const Q=G.target.files[0];if(!Q)return;h(oe=>({...oe,state:"",chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",error:!1,actionInProgress:!0})),console.log("Read file '"+Q+"'");const ae=new FileReader;ae.onload=async oe=>{var ye;console.log("Connecting to ESP32");const de=await I(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadMac"));if(de===null||m.connected){h(ge=>({...ge,actionInProgress:!1}));return}h(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${m.port}`,showFlash:!1,connected:!0}));let ve=null;try{const ge=new Nh(de);ve=new C2({transport:ge,baudrate:S,romBaudrate:w})}catch(ge){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${ge}`,connected:!1,actionInProgress:!1,error:!0})),alert(ge),await de.close();return}try{h(xe=>({...xe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.retrievingMac"),actionInProgress:!0})),await ve.main();let ge=await ve.chip.readMac(ve);h(xe=>({...xe,chipMac:ge})),console.log("Chip MAC: "+ge),await de.close();const J=(ye=oe.target)==null?void 0:ye.result,ce=new Uint8Array(J),ue=`ESP32_${ge.replace(/:/g,"")}`,fe=new Blob([ce],{type:"application/octet-stream"}),pe=URL.createObjectURL(fe);await _(ce,ue),oe.target&&h(xe=>{var Te;return{...xe,patchedFlash:(Te=oe.target)==null?void 0:Te.result,showFlash:!0,connected:!1,flashName:"from file",downloadLink:pe}}),console.log("Done")}catch(ge){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${ge}`,connected:!1,actionInProgress:!1,error:!0})),console.error(ge),alert(ge),await de.close();return}},ae.readAsArrayBuffer(Q),h(oe=>({...oe,actionInProgress:!1})),G.target.value=""},T=async()=>{let G=null,Q=null,ae="";Q=new Uint8Array(1024);const oe=await I(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadFlash"));if(oe===null||m.connected)return;h(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${oe.getInfo()}`,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",showFlash:!1,connected:!0,actionInProgress:!0,error:!1}));try{const ge=new Nh(oe);G=new C2({transport:ge,baudrate:S,romBaudrate:w})}catch(ge){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${ge}`,connected:!1,actionInProgress:!1,error:!0})),alert(ge),await oe.close();return}try{h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await G.main(),h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected")})),ae=await G.chip.readMac(G),h(ue=>({...ue,chipMac:ae})),console.log("Chip MAC: "+ae);const ge=await G.chip.getChipDescription(G);h(ue=>({...ue,chipType:ge}));let J=await G.readFlashId();h(ue=>({...ue,flashId:""+J,flashManuf:""+(J&255),flashDevice:""+(J>>8&255)}));let ce=await G.getFlashSize();if(h(ue=>({...ue,flashSize:""+ce})),ce<0||ce>16384){h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await oe.close();return}h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFlash"),showProgress:!0,progress:0})),Q=await G.readFlash(0,ce*1024,(ue,fe,pe)=>{const xe=100*fe/pe;h(Te=>({...Te,progress:xe}))}),await oe.close(),h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFinished"),progress:100,originalFlash:Q,connected:!1}))}catch(ge){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${ge}`,connected:!1,actionInProgress:!1,error:!0})),console.error(ge),alert(ge),await oe.close();return}const de=`ESP32_${ae.replace(/:/g,"")}`,ve=new Blob([Q],{type:"application/octet-stream"}),ye=URL.createObjectURL(ve);h(ge=>({...ge,downloadLink:ye,showProgress:!1})),await _(Q,de),console.log("Done")},_=async(G,Q)=>{try{h(de=>({...de,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploading"),error:!1}));const ae=new FormData;ae.append(Q,new Blob([G.buffer]),Q);const oe=await Jm.apiPostTeddyCloudFormDataRaw("/api/uploadFirmware",ae);if(oe.ok&&oe.status===200){const de=await oe.text();h(ve=>({...ve,showDownload:!0,filename:de,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadSuccessful")+` ${de}`+e("tonieboxes.esp32BoxFlashing.esp32flasher.readyToProceed"),proceed:!0,actionInProgress:!1}))}else h(de=>({...de,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}catch(ae){console.error("There was an error when uploading!",ae),h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}},$=async()=>{if(m.wifi_ssid&&!m.wifi_pass||!m.wifi_ssid&&m.wifi_pass){h(Q=>({...Q,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),showStatus:!0,warningTextWifi:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),error:!0}));return}h(Q=>({...Q,actionInProgress:!0})),h(Q=>({...Q,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage"),error:!1}));const G=await Jm.apiGetTeddyCloudApiRaw(`/api/patchFirmware?filename=${m.filename}&hostname=${m.hostname}`+(m.wifi_ssid&&m.wifi_pass?`&wifi_ssid=${m.wifi_ssid}&wifi_pass=${m.wifi_pass}`:""));if(h(Q=>({...Q,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage")})),G.ok&&G.status===200){const Q=await G.arrayBuffer();h(de=>({...de,patchedFlash:Q,showFlash:!0,flashName:"patched"}));const ae=new Blob([Q],{type:"application/octet-stream"}),oe=URL.createObjectURL(ae);h(de=>({...de,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingSuccessful",{size:(Q.byteLength/1024/1024).toFixed(0)}),downloadLinkPatched:oe})),Y()}else h(Q=>({...Q,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFailed"),error:!0}));h(Q=>({...Q,actionInProgress:!1}))},D=async()=>{const G=await I(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(G===null||m.connected)return;h(ae=>({...ae,actionInProgress:!0,error:!1})),h(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${G.getInfo()}`,connected:!0}));let Q=null;try{const ae=new Nh(G);Q=new C2({transport:ae,baudrate:S,romBaudrate:w})}catch(ae){h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${ae}`,connected:!1,actionInProgress:!1,error:!0})),alert(ae),await G.close();return}try{h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await Q.main(),h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let ae=await Q.chip.readMac(Q);h(J=>({...J,chipMac:ae})),console.log("Chip MAC: "+ae);const oe=await Q.chip.getChipDescription(Q);h(J=>({...J,chipType:oe}));let de=await Q.readFlashId();h(J=>({...J,flashId:""+de,flashManuf:""+(de&255),flashDevice:""+(de>>8&255)}));let ve=await Q.getFlashSize();if(h(J=>({...J,flashSize:""+ve})),ve<0||ve>16384){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await G.close();return}h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:(m.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let ye=[];ye.push({data:x(m.patchedFlash),address:0});let ge={fileArray:ye,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(J,ce,ue)=>{const fe=100*ce/ue;h(pe=>({...pe,progress:fe}))}};h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:(m.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await Q.writeFlash(ge),await G.close(),h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1,proceed:!0}))}catch(ae){h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${ae}`,connected:!1,actionInProgress:!1,error:!0})),console.error(ae),alert(ae),await G.close();return}},P=(G,Q)=>{b(ae=>{const oe=[...ae];return oe[G]=Q,oe})},A=[{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}],O=C.jsx(C.Fragment,{children:m.showProgress&&C.jsx("div",{children:C.jsx("div",{children:C.jsx(g0,{percent:m.progress||0,format:G=>`${(G??0).toFixed(2)}%`})})})}),N=C.jsx(C.Fragment,{children:(m.chipType||m.chipMac)&&C.jsxs("div",{children:[C.jsx(Ca,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.infoTable")}),C.jsx("table",{className:"info-table",children:C.jsxs("tbody",{children:[m.chipType&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipType")}),C.jsx("td",{children:m.chipType})]}),m.chipMac&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipMAC")}),C.jsx("td",{children:m.chipMac})]}),m.flashId&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashId")}),C.jsxs("td",{children:["0x",m.flashId.toString()]})]}),m.flashManuf&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashManuf")}),C.jsxs("td",{children:["0x",m.flashManuf.toString()]})]}),m.flashDevice&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashDevice")}),C.jsxs("td",{children:["0x",m.flashDevice.toString()]})]}),m.flashSize&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSize")}),C.jsxs("td",{children:[m.flashSize," KiB"]})]})]})})]})}),k=G=>G.replace(/[^a-zA-Z0-9-.]/g,"").trim(),M=G=>{if(G.endsWith("...")){const Q=G.slice(0,-3);return C.jsxs("div",{style:{display:"flex"},children:[Q,C.jsx(e7e,{})]})}return G},L=m.showStatus&&C.jsx("div",{className:"status",style:{marginBottom:16,color:m.error?"#CC3010":"unset"},children:C.jsx("i",{children:M(m.state)})}),F=C.jsxs(C.Fragment,{children:[C.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")}),!m.actionInProgress&&C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintReadESP32ImportFlash")}),L,C.jsx("input",{type:"file",style:{display:"none"},ref:n,onChange:R}),O]}),j=C.jsxs(C.Fragment,{children:[C.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")}),C.jsxs("div",{children:[!m.actionInProgress&&C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchFlash")}),L,!m.actionInProgress&&m.downloadLink?C.jsxs("div",{style:{marginBottom:16},children:[" ",C.jsx("a",{href:m.downloadLink,download:m.filename,title:m.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})]}):"",C.jsxs(qt,{children:[C.jsx(Ca,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameSettings")}),C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchHost")}),C.jsxs(qt.Item,{children:[C.jsxs(Ba,{align:"middle",style:{display:"flex",alignItems:"center"},children:[C.jsx(En,{style:{flex:"0 0 200px",color:m.warningTextHostname?"#CC3010":"unset"},children:C.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostname")})}),C.jsx(En,{style:{flex:"1 1 auto"},children:C.jsx(Zt,{type:"text",value:m.hostname,onChange:G=>{let Q=k(G.target.value),ae="";Q.length>12?ae=e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameToLong"):ae="",h(oe=>({...oe,hostname:Q,warningTextHostname:ae}))}})})]}),m.warningTextHostname&&C.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameToLong")})]}),C.jsx(Ca,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSettings")}),C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchWifi")}),C.jsx(qt.Item,{children:C.jsxs(Ba,{align:"middle",style:{display:"flex",alignItems:"center"},children:[C.jsx(En,{style:{flex:"0 0 200px",color:m.warningTextWifi?"#CC3010":"unset"},children:C.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSSID")})}),C.jsx(En,{style:{flex:"1 1 auto"},children:C.jsx(Zt,{type:"text",defaultValue:m.wifi_ssid,onChange:G=>{let Q=G.target.value;h(ae=>({...ae,wifi_ssid:Q,warningTextWifi:G.target.value&&m.wifi_pass||!G.target.value&&!m.wifi_pass?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]})}),C.jsxs(qt.Item,{children:[C.jsxs(Ba,{align:"middle",style:{display:"flex",alignItems:"center"},children:[C.jsx(En,{style:{flex:"0 0 200px",color:m.warningTextWifi?"#CC3010":"unset"},children:C.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiPassword")})}),C.jsx(En,{style:{flex:"1 1 auto"},children:C.jsx(Zt.Password,{defaultValue:m.wifi_pass,onChange:G=>{let Q=G.target.value;h(ae=>({...ae,wifi_pass:Q,warningTextWifi:G.target.value&&m.wifi_ssid||!G.target.value&&!m.wifi_ssid?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]}),m.warningTextWifi&&C.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")})]})]})]}),O]}),B=C.jsxs(C.Fragment,{children:[C.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")}),!m.actionInProgress&&C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintFlashESP32")}),L,!m.actionInProgress&&m.downloadLinkPatched?C.jsxs("div",{style:{marginBottom:16},children:[" ",C.jsx("a",{href:m.downloadLinkPatched,download:"patched_"+m.filename,title:"patched_"+m.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})]}):"",O]}),z=C.jsxs(C.Fragment,{children:[C.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareFlashed")}),L,O,(m.downloadLink||m.downloadLinkPatched)&&C.jsxs(C.Fragment,{children:[C.jsx(na,{type:"info",style:{marginTop:16},showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates"),description:C.jsx("div",{children:C.jsxs(Bn,{children:[C.jsxs(Zr,{children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHintP1")," ",C.jsx(n7e,{code:!0,children:"docker exec -it bash"}),"."]}),C.jsx(Zr,{children:C.jsx("pre",{style:{fontSize:12},children:`# Please check the filename of your backup +\r`,!1),!r){const i=await this.readReg(1073745920)>>>0;this.debug("Chip Magic "+i.toString(16));const s=await Jze(i);if(this.chip===null)throw new sa(`Unexpected CHIP magic value ${i}. Failed to autodetect chip type.`);this.chip=s}}async detectChip(t="default_reset"){await this.connect(t),this.info("Detecting chip type... ",!1),this.chip!=null?this.info(this.chip.CHIP_NAME):this.info("unknown!")}async checkCommand(t="",n=null,r=new Uint8Array(0),a=0,o=3e3){this.debug("check_command "+t);const i=await this.command(n,r,a,void 0,o);return i[1].length>4?i[1]:i[0]}async memBegin(t,n,r,a){this.debug("mem_begin "+t+" "+n+" "+r+" "+a.toString(16));let o=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));o=this._appendArray(o,this._intToByteArray(r)),o=this._appendArray(o,this._intToByteArray(a)),await this.checkCommand("enter RAM download mode",this.ESP_MEM_BEGIN,o)}async memBlock(t,n){let r=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,this._intToByteArray(0)),r=this._appendArray(r,t);const a=this.checksum(t);await this.checkCommand("write to target RAM",this.ESP_MEM_DATA,r,a)}async memFinish(t){const n=t===0?1:0,r=this._appendArray(this._intToByteArray(n),this._intToByteArray(t));await this.checkCommand("leave RAM download mode",this.ESP_MEM_END,r,void 0,50)}async flashSpiAttach(t){const n=this._intToByteArray(t);await this.checkCommand("configure SPI flash pins",this.ESP_SPI_ATTACH,n)}async flashBegin(t,n){const r=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),a=this.chip.getEraseSize(n,t),o=new Date,i=o.getTime();let s=3e3;this.IS_STUB==!1&&(s=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,t)),this.debug("flash begin "+a+" "+r+" "+this.FLASH_WRITE_SIZE+" "+n+" "+t);let c=this._appendArray(this._intToByteArray(a),this._intToByteArray(r));c=this._appendArray(c,this._intToByteArray(this.FLASH_WRITE_SIZE)),c=this._appendArray(c,this._intToByteArray(n)),this.IS_STUB==!1&&(c=this._appendArray(c,this._intToByteArray(0))),await this.checkCommand("enter Flash download mode",this.ESP_FLASH_BEGIN,c,void 0,s);const u=o.getTime();return t!=0&&this.IS_STUB==!1&&this.info("Took "+(u-i)/1e3+"."+(u-i)%1e3+"s to erase flash block"),r}async flashDeflBegin(t,n,r){const a=Math.floor((n+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),o=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),i=new Date,s=i.getTime();let c,u;this.IS_STUB?(c=t,u=3e3):(c=o*this.FLASH_WRITE_SIZE,u=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,c)),this.info("Compressed "+t+" bytes to "+n+"...");let d=this._appendArray(this._intToByteArray(c),this._intToByteArray(a));d=this._appendArray(d,this._intToByteArray(this.FLASH_WRITE_SIZE)),d=this._appendArray(d,this._intToByteArray(r)),(this.chip.CHIP_NAME==="ESP32-S2"||this.chip.CHIP_NAME==="ESP32-S3"||this.chip.CHIP_NAME==="ESP32-C3"||this.chip.CHIP_NAME==="ESP32-C2")&&this.IS_STUB===!1&&(d=this._appendArray(d,this._intToByteArray(0))),await this.checkCommand("enter compressed flash mode",this.ESP_FLASH_DEFL_BEGIN,d,void 0,u);const f=i.getTime();return t!=0&&this.IS_STUB===!1&&this.info("Took "+(f-s)/1e3+"."+(f-s)%1e3+"s to erase flash block"),a}async flashBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const o=this.checksum(t);await this.checkCommand("write to target Flash after seq "+n,this.ESP_FLASH_DATA,a,o,r)}async flashDeflBlock(t,n,r){let a=this._appendArray(this._intToByteArray(t.length),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,t);const o=this.checksum(t);this.debug("flash_defl_block "+t[0].toString(16)+" "+t[1].toString(16)),await this.checkCommand("write compressed data to flash after seq "+n,this.ESP_FLASH_DEFL_DATA,a,o,r)}async flashFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave Flash mode",this.ESP_FLASH_END,r)}async flashDeflFinish(t=!1){const n=t?0:1,r=this._intToByteArray(n);await this.checkCommand("leave compressed flash mode",this.ESP_FLASH_DEFL_END,r)}async runSpiflashCommand(t,n,r){const s=this.chip.SPI_REG_BASE,c=s+0,u=s+this.chip.SPI_USR_OFFS,d=s+this.chip.SPI_USR1_OFFS,f=s+this.chip.SPI_USR2_OFFS,p=s+this.chip.SPI_W0_OFFS;let g;this.chip.SPI_MOSI_DLEN_OFFS!=null?g=async(I,R)=>{const T=s+this.chip.SPI_MOSI_DLEN_OFFS,_=s+this.chip.SPI_MISO_DLEN_OFFS;I>0&&await this.writeReg(T,I-1),R>0&&await this.writeReg(_,R-1)}:g=async(I,R)=>{const T=d,_=17,$=8,D=I===0?0:I-1,A=(R===0?0:R-1)<<$|D<<_;await this.writeReg(T,A)};const v=1<<18,m=28;if(r>32)throw new sa("Reading more than 32 bits back from a SPI flash operation is unsupported");if(n.length>64)throw new sa("Writing more than 64 bytes of data with one SPI command is unsupported");const h=n.length*8,y=await this.readReg(u),b=await this.readReg(f);let S=-2147483648,w;r>0&&(S|=268435456),h>0&&(S|=134217728),await g(h,r),await this.writeReg(u,S);let x=7<("00"+n.toString(16)).slice(-2)).join("")}async flashMd5sum(t,n){const r=this.timeoutPerMb(this.MD5_TIMEOUT_PER_MB,n);let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(0)),a=this._appendArray(a,this._intToByteArray(0));let o=await this.checkCommand("calculate md5sum",this.ESP_SPI_FLASH_MD5,a,void 0,r);return o instanceof Uint8Array&&o.length>16&&(o=o.slice(0,16)),this.toHex(o)}async readFlash(t,n,r=null){let a=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));a=this._appendArray(a,this._intToByteArray(4096)),a=this._appendArray(a,this._intToByteArray(1024));const o=await this.checkCommand("read flash",this.ESP_READ_FLASH,a);if(o!=0)throw new sa("Failed to read memory: "+o);let i=new Uint8Array(0);for(;i.length0&&(i=this._appendArray(i,s),await this.transport.write(this._intToByteArray(i.length)),r&&r(s,i.length,n));else throw new sa("Failed to read memory: "+s)}return i}async runStub(){if(this.syncStubDetected)return this.info("Stub is already running. No upload is necessary."),this.chip;this.info("Uploading stub...");let t=Sj(this.chip.ROM_TEXT),n=t.split("").map(function(s){return s.charCodeAt(0)});const r=new Uint8Array(n);t=Sj(this.chip.ROM_DATA),n=t.split("").map(function(s){return s.charCodeAt(0)});const a=new Uint8Array(n);let o=Math.floor((r.length+this.ESP_RAM_BLOCK-1)/this.ESP_RAM_BLOCK),i;for(await this.memBegin(r.length,o,this.ESP_RAM_BLOCK,this.chip.TEXT_START),i=0;i"u")throw new sa("Flash size "+t+" is not supported by this chip type. Supported sizes: "+this.chip.FLASH_SIZES);return this.chip.FLASH_SIZES[t]}_updateImageFlashParams(t,n,r,a,o){if(this.debug("_update_image_flash_params "+r+" "+a+" "+o),t.length<8||n!=this.chip.BOOTLOADER_FLASH_OFFSET)return t;if(r==="keep"&&a==="keep"&&o==="keep")return this.info("Not changing the image"),t;const i=parseInt(t[0]);let s=parseInt(t[2]);const c=parseInt(t[3]);if(i!==this.ESP_IMAGE_MAGIC)return this.info("Warning: Image file at 0x"+n.toString(16)+" doesn't look like an image file, so not changing any flash settings."),t;a!=="keep"&&(s={qio:0,qout:1,dio:2,dout:3}[a]);let u=c&15;o!=="keep"&&(u={"40m":0,"26m":1,"20m":2,"80m":15}[o]);let d=c&240;r!=="keep"&&(d=this.parseFlashSizeArg(r));const f=s<<8|u+d;return this.info("Flash params set to "+f.toString(16)),parseInt(t[2])!==s<<8&&(t=t.substring(0,2)+(s<<8).toString()+t.substring(3)),parseInt(t[3])!==u+d&&(t=t.substring(0,3)+(u+d).toString()+t.substring(4)),t}async writeFlash(t){if(this.debug("EspLoader program"),t.flashSize!=="keep"){const a=this.flashSizeBytes(t.flashSize);for(let o=0;oa)throw new sa(`File ${o+1} doesn't fit in the available flash`)}this.IS_STUB===!0&&t.eraseAll===!0&&await this.eraseFlash();let n,r;for(let a=0;a0&&(n+="ÿÿÿÿ".substring(4-o)),r=t.fileArray[a].address,this.debug("Image Length "+n.length),n.length===0){this.debug("Warning: File is empty");continue}n=this._updateImageFlashParams(n,r,t.flashSize,t.flashMode,t.flashFreq);let i=null;t.calculateMD5Hash&&(i=t.calculateMD5Hash(n),this.debug("Image MD5 "+i));const s=n.length;let c;if(t.compress){const b=this.bstrToUi8(n);n=this.ui8ToBstr(qze(b,{level:9})),c=await this.flashDeflBegin(s,n.length,r)}else c=await this.flashBegin(s,r);let u=0,d=0;const f=n.length;t.reportProgress&&t.reportProgress(a,0,f);let p=new Date;const g=p.getTime();let v=5e3;const m=new Kze({chunkSize:1});let h=0;for(m.onData=function(b){h+=b.byteLength};n.length>0;){this.debug("Write loop "+r+" "+u+" "+c),this.info("Writing at 0x"+(r+h).toString(16)+"... ("+Math.floor(100*(u+1)/c)+"%)");const b=this.bstrToUi8(n.slice(0,this.FLASH_WRITE_SIZE));if(t.compress){const S=h;m.push(b,!1);const w=h-S;let x=3e3;this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,w)>3e3&&(x=this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,w)),this.IS_STUB===!1&&(v=x),await this.flashDeflBlock(b,u,v),this.IS_STUB&&(v=x)}else throw new sa("Yet to handle Non Compressed writes");d+=b.length,n=n.slice(this.FLASH_WRITE_SIZE,n.length),u++,t.reportProgress&&t.reportProgress(a,d,f)}this.IS_STUB&&await this.readReg(this.CHIP_DETECT_MAGIC_REG_ADDR,v),p=new Date;const y=p.getTime()-g;if(t.compress&&this.info("Wrote "+s+" bytes ("+d+" compressed) at 0x"+r.toString(16)+" in "+y/1e3+" seconds."),i){const b=await this.flashMd5sum(r,s);if(new String(b).valueOf()!=new String(i).valueOf())throw this.info("File md5: "+i),this.info("Flash md5: "+b),new sa("MD5 of file does not match data in flash!");this.info("Hash of data verified.")}}this.info("Leaving..."),this.IS_STUB&&(await this.flashBegin(0,0),t.compress?await this.flashDeflFinish():await this.flashFinish())}async flashId(){this.debug("flash_id");const t=await this.readFlashId();this.info("Manufacturer: "+(t&255).toString(16));const n=t>>16&255;this.info("Device: "+(t>>8&255).toString(16)+n.toString(16)),this.info("Detected flash size: "+this.DETECTED_FLASH_SIZES[n])}async getFlashSize(){this.debug("flash_id");const n=await this.readFlashId()>>16&255;return this.DETECTED_FLASH_SIZES_NUM[n]}async hardReset(){await this.transport.setRTS(!0),await this._sleep(100),await this.transport.setRTS(!1)}async softReset(){if(!this.IS_STUB)await this.flashBegin(0,0),await this.flashFinish(!1);else{if(this.chip.CHIP_NAME!="ESP8266")throw new sa("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}}}const e7e=()=>{const[e,t]=l.useState(0),n=["",".","..","...","....","....."];return l.useEffect(()=>{const r=setInterval(()=>{t(a=>(a+1)%n.length)},666);return()=>clearInterval(r)},[]),C.jsx(C.Fragment,{children:n[e]})},t7e=()=>"serial"in navigator,Jm=new wn(fn()),{Paragraph:Zr,Text:n7e}=Bn,{Step:r7e}=q$,a7e=()=>{const{t:e}=Ft(),t=qr.language,n=l.useRef(null),[r,a]=l.useState(!1),[o,i]=l.useState(""),[s,c]=l.useState(!1),[u,d]=l.useState(!1),[f,p]=l.useState(0),[g,v]=l.useState([C.jsx(C.Fragment,{}),C.jsx(C.Fragment,{}),C.jsx(C.Fragment,{}),C.jsx(C.Fragment,{})]),[m,h]=l.useState({progress:0,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",state:"",filename:"",flashName:"",port:null,originalFlash:null,patchedFlash:null,showStatus:!1,showProgress:!1,showDownload:!1,showFlash:!1,connected:!1,hostname:window.location.hostname,wifi_ssid:"",wifi_pass:"",proceed:!1,actionInProgress:!1,warningTextHostname:"",warningTextWifi:"",downloadLink:"",downloadLinkPatched:"",error:!1}),[y,b]=l.useState(!1),S=921600,w=115200;function x(G){const Q=new Uint8Array(G);let ae="";for(let oe=0;oe{b(t7e())},[]),l.useEffect(()=>{if(window.location.protocol!=="https:"){a(!1);const G=async()=>{try{return await(await Jm.apiGetTeddyCloudSettingRaw("core.server.https_web_port")).text()}catch(oe){console.error("Error fetching https port: ",oe)}},Q=async()=>{try{return await(await Jm.apiGetTeddyCloudSettingRaw("core.server.http_port")).text()}catch(oe){console.error("Error fetching http port: ",oe)}};(async()=>{const oe=await G()||"",de=await Q()||"",ve=new URL(window.location.href);ve.protocol="https:",ve.port?ve.port=ve.port===de?oe:ve.port:ve.port=oe,i(ve.toString())})()}else a(!0)},[]),l.useEffect(()=>{P(f,(()=>{switch(f){case 0:return F;case 1:return j;case 2:return B;case 3:return z;default:return C.jsx("div",{})}})())},[m,t]),l.useEffect(()=>{m.proceed&&Y()},[m.proceed]),l.useEffect(()=>{c(m.actionInProgress)},[m.actionInProgress]);const E=()=>{o&&(window.location.href=o)},I=async G=>{if(m.port)return console.log(m.port.getInfo),m.port;h(ae=>({...ae,showStatus:!0,showProgress:!1,progress:0,state:G||"Open serial port"}));let Q=null;try{Q=await navigator.serial.requestPort(),await Q.open({baudRate:115200}),await Q.close()}catch(ae){return ae==="NetworkError"?(h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"),error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"))):ae==="NotFoundError"?h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.noPortAvailable"),error:!0})):(h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+ae,error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+` ${ae}`)),null}return Q?(console.log("port done"),h(ae=>({...ae,port:Q})),Q):(h(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.invalidSerialPort"),error:!0})),null)},R=async G=>{if(console.log("loadFlashFile"),!G.target.files)return;const Q=G.target.files[0];if(!Q)return;h(oe=>({...oe,state:"",chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",error:!1,actionInProgress:!0})),console.log("Read file '"+Q+"'");const ae=new FileReader;ae.onload=async oe=>{var ye;console.log("Connecting to ESP32");const de=await I(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadMac"));if(de===null||m.connected){h(ge=>({...ge,actionInProgress:!1}));return}h(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${m.port}`,showFlash:!1,connected:!0}));let ve=null;try{const ge=new Nh(de);ve=new C2({transport:ge,baudrate:S,romBaudrate:w})}catch(ge){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${ge}`,connected:!1,actionInProgress:!1,error:!0})),alert(ge),await de.close();return}try{h(xe=>({...xe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.retrievingMac"),actionInProgress:!0})),await ve.main();let ge=await ve.chip.readMac(ve);h(xe=>({...xe,chipMac:ge})),console.log("Chip MAC: "+ge),await de.close();const J=(ye=oe.target)==null?void 0:ye.result,ce=new Uint8Array(J),ue=`ESP32_${ge.replace(/:/g,"")}`,fe=new Blob([ce],{type:"application/octet-stream"}),pe=URL.createObjectURL(fe);await _(ce,ue),oe.target&&h(xe=>{var Te;return{...xe,patchedFlash:(Te=oe.target)==null?void 0:Te.result,showFlash:!0,connected:!1,flashName:"from file",downloadLink:pe}}),console.log("Done")}catch(ge){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${ge}`,connected:!1,actionInProgress:!1,error:!0})),console.error(ge),alert(ge),await de.close();return}},ae.readAsArrayBuffer(Q),h(oe=>({...oe,actionInProgress:!1})),G.target.value=""},T=async()=>{let G=null,Q=null,ae="";Q=new Uint8Array(1024);const oe=await I(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadFlash"));if(oe===null||m.connected)return;h(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${oe.getInfo()}`,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",showFlash:!1,connected:!0,actionInProgress:!0,error:!1}));try{const ge=new Nh(oe);G=new C2({transport:ge,baudrate:S,romBaudrate:w})}catch(ge){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${ge}`,connected:!1,actionInProgress:!1,error:!0})),alert(ge),await oe.close();return}try{h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await G.main(),h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected")})),ae=await G.chip.readMac(G),h(ue=>({...ue,chipMac:ae})),console.log("Chip MAC: "+ae);const ge=await G.chip.getChipDescription(G);h(ue=>({...ue,chipType:ge}));let J=await G.readFlashId();h(ue=>({...ue,flashId:""+J,flashManuf:""+(J&255),flashDevice:""+(J>>8&255)}));let ce=await G.getFlashSize();if(h(ue=>({...ue,flashSize:""+ce})),ce<0||ce>16384){h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await oe.close();return}h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFlash"),showProgress:!0,progress:0})),Q=await G.readFlash(0,ce*1024,(ue,fe,pe)=>{const xe=100*fe/pe;h(Te=>({...Te,progress:xe}))}),await oe.close(),h(ue=>({...ue,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFinished"),progress:100,originalFlash:Q,connected:!1}))}catch(ge){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${ge}`,connected:!1,actionInProgress:!1,error:!0})),console.error(ge),alert(ge),await oe.close();return}const de=`ESP32_${ae.replace(/:/g,"")}`,ve=new Blob([Q],{type:"application/octet-stream"}),ye=URL.createObjectURL(ve);h(ge=>({...ge,downloadLink:ye,showProgress:!1})),await _(Q,de),console.log("Done")},_=async(G,Q)=>{try{h(de=>({...de,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploading"),error:!1}));const ae=new FormData;ae.append(Q,new Blob([G.buffer]),Q);const oe=await Jm.apiPostTeddyCloudFormDataRaw("/api/uploadFirmware",ae);if(oe.ok&&oe.status===200){const de=await oe.text();h(ve=>({...ve,showDownload:!0,filename:de,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadSuccessful")+` ${de}`+e("tonieboxes.esp32BoxFlashing.esp32flasher.readyToProceed"),proceed:!0,actionInProgress:!1}))}else h(de=>({...de,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}catch(ae){console.error("There was an error when uploading!",ae),h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}},$=async()=>{if(m.wifi_ssid&&!m.wifi_pass||!m.wifi_ssid&&m.wifi_pass){h(Q=>({...Q,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),showStatus:!0,warningTextWifi:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),error:!0}));return}h(Q=>({...Q,actionInProgress:!0})),h(Q=>({...Q,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage"),error:!1}));const G=await Jm.apiGetTeddyCloudApiRaw(`/api/patchFirmware?filename=${m.filename}&hostname=${m.hostname}`+(m.wifi_ssid&&m.wifi_pass?`&wifi_ssid=${m.wifi_ssid}&wifi_pass=${m.wifi_pass}`:""));if(h(Q=>({...Q,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage")})),G.ok&&G.status===200){const Q=await G.arrayBuffer();h(de=>({...de,patchedFlash:Q,showFlash:!0,flashName:"patched"}));const ae=new Blob([Q],{type:"application/octet-stream"}),oe=URL.createObjectURL(ae);h(de=>({...de,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingSuccessful",{size:(Q.byteLength/1024/1024).toFixed(0)}),downloadLinkPatched:oe})),Y()}else h(Q=>({...Q,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFailed"),error:!0}));h(Q=>({...Q,actionInProgress:!1}))},D=async()=>{const G=await I(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(G===null||m.connected)return;h(ae=>({...ae,actionInProgress:!0,error:!1})),h(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${G.getInfo()}`,connected:!0}));let Q=null;try{const ae=new Nh(G);Q=new C2({transport:ae,baudrate:S,romBaudrate:w})}catch(ae){h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${ae}`,connected:!1,actionInProgress:!1,error:!0})),alert(ae),await G.close();return}try{h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await Q.main(),h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let ae=await Q.chip.readMac(Q);h(J=>({...J,chipMac:ae})),console.log("Chip MAC: "+ae);const oe=await Q.chip.getChipDescription(Q);h(J=>({...J,chipType:oe}));let de=await Q.readFlashId();h(J=>({...J,flashId:""+de,flashManuf:""+(de&255),flashDevice:""+(de>>8&255)}));let ve=await Q.getFlashSize();if(h(J=>({...J,flashSize:""+ve})),ve<0||ve>16384){h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await G.close();return}h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:(m.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let ye=[];ye.push({data:x(m.patchedFlash),address:0});let ge={fileArray:ye,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(J,ce,ue)=>{const fe=100*ce/ue;h(pe=>({...pe,progress:fe}))}};h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:(m.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await Q.writeFlash(ge),await G.close(),h(J=>({...J,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1,proceed:!0}))}catch(ae){h(oe=>({...oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${ae}`,connected:!1,actionInProgress:!1,error:!0})),console.error(ae),alert(ae),await G.close();return}},P=(G,Q)=>{v(ae=>{const oe=[...ae];return oe[G]=Q,oe})},A=[{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}],O=C.jsx(C.Fragment,{children:m.showProgress&&C.jsx("div",{children:C.jsx("div",{children:C.jsx(g0,{percent:m.progress||0,format:G=>`${(G??0).toFixed(2)}%`})})})}),N=C.jsx(C.Fragment,{children:(m.chipType||m.chipMac)&&C.jsxs("div",{children:[C.jsx(Ca,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.infoTable")}),C.jsx("table",{className:"info-table",children:C.jsxs("tbody",{children:[m.chipType&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipType")}),C.jsx("td",{children:m.chipType})]}),m.chipMac&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipMAC")}),C.jsx("td",{children:m.chipMac})]}),m.flashId&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashId")}),C.jsxs("td",{children:["0x",m.flashId.toString()]})]}),m.flashManuf&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashManuf")}),C.jsxs("td",{children:["0x",m.flashManuf.toString()]})]}),m.flashDevice&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashDevice")}),C.jsxs("td",{children:["0x",m.flashDevice.toString()]})]}),m.flashSize&&C.jsxs("tr",{children:[C.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSize")}),C.jsxs("td",{children:[m.flashSize," KiB"]})]})]})})]})}),k=G=>G.replace(/[^a-zA-Z0-9-.]/g,"").trim(),M=G=>{if(G.endsWith("...")){const Q=G.slice(0,-3);return C.jsxs("div",{style:{display:"flex"},children:[Q,C.jsx(e7e,{})]})}return G},L=m.showStatus&&C.jsx("div",{className:"status",style:{marginBottom:16,color:m.error?"#CC3010":"unset"},children:C.jsx("i",{children:M(m.state)})}),F=C.jsxs(C.Fragment,{children:[C.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")}),!m.actionInProgress&&C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintReadESP32ImportFlash")}),L,C.jsx("input",{type:"file",style:{display:"none"},ref:n,onChange:R}),O]}),j=C.jsxs(C.Fragment,{children:[C.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")}),C.jsxs("div",{children:[!m.actionInProgress&&C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchFlash")}),L,!m.actionInProgress&&m.downloadLink?C.jsxs("div",{style:{marginBottom:16},children:[" ",C.jsx("a",{href:m.downloadLink,download:m.filename,title:m.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})]}):"",C.jsxs(qt,{children:[C.jsx(Ca,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameSettings")}),C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchHost")}),C.jsxs(qt.Item,{children:[C.jsxs(Ba,{align:"middle",style:{display:"flex",alignItems:"center"},children:[C.jsx(En,{style:{flex:"0 0 200px",color:m.warningTextHostname?"#CC3010":"unset"},children:C.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostname")})}),C.jsx(En,{style:{flex:"1 1 auto"},children:C.jsx(Zt,{type:"text",value:m.hostname,onChange:G=>{let Q=k(G.target.value),ae="";Q.length>12?ae=e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameToLong"):ae="",h(oe=>({...oe,hostname:Q,warningTextHostname:ae}))}})})]}),m.warningTextHostname&&C.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameToLong")})]}),C.jsx(Ca,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSettings")}),C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchWifi")}),C.jsx(qt.Item,{children:C.jsxs(Ba,{align:"middle",style:{display:"flex",alignItems:"center"},children:[C.jsx(En,{style:{flex:"0 0 200px",color:m.warningTextWifi?"#CC3010":"unset"},children:C.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSSID")})}),C.jsx(En,{style:{flex:"1 1 auto"},children:C.jsx(Zt,{type:"text",defaultValue:m.wifi_ssid,onChange:G=>{let Q=G.target.value;h(ae=>({...ae,wifi_ssid:Q,warningTextWifi:G.target.value&&m.wifi_pass||!G.target.value&&!m.wifi_pass?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]})}),C.jsxs(qt.Item,{children:[C.jsxs(Ba,{align:"middle",style:{display:"flex",alignItems:"center"},children:[C.jsx(En,{style:{flex:"0 0 200px",color:m.warningTextWifi?"#CC3010":"unset"},children:C.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiPassword")})}),C.jsx(En,{style:{flex:"1 1 auto"},children:C.jsx(Zt.Password,{defaultValue:m.wifi_pass,onChange:G=>{let Q=G.target.value;h(ae=>({...ae,wifi_pass:Q,warningTextWifi:G.target.value&&m.wifi_ssid||!G.target.value&&!m.wifi_ssid?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]}),m.warningTextWifi&&C.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")})]})]})]}),O]}),B=C.jsxs(C.Fragment,{children:[C.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")}),!m.actionInProgress&&C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintFlashESP32")}),L,!m.actionInProgress&&m.downloadLinkPatched?C.jsxs("div",{style:{marginBottom:16},children:[" ",C.jsx("a",{href:m.downloadLinkPatched,download:"patched_"+m.filename,title:"patched_"+m.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})]}):"",O]}),z=C.jsxs(C.Fragment,{children:[C.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareFlashed")}),L,O,(m.downloadLink||m.downloadLinkPatched)&&C.jsxs(C.Fragment,{children:[C.jsx(na,{type:"info",style:{marginTop:16},showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates"),description:C.jsx("div",{children:C.jsxs(Bn,{children:[C.jsxs(Zr,{children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHintP1")," ",C.jsx(n7e,{code:!0,children:"docker exec -it bash"}),"."]}),C.jsx(Zr,{children:C.jsx("pre",{style:{fontSize:12},children:`# Please check the filename of your backup # Be sure you are in the teddycloud directory # cd /teddycloud/ # just for docker teddycloud --esp32-extract data/firmware/`+(m.filename?m.filename:"ESP32_.bin")+" --destination certs/client"})}),C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHintP2")}),C.jsx(Zr,{children:C.jsx("pre",{style:{fontSize:12},children:`mv certs/client/CLIENT.DER certs/client/client.der mv certs/client/PRIVATE.DER certs/client/private.der -mv certs/client/CA.DER certs/client/ca.der`})})]})})}),C.jsxs(Zr,{style:{marginTop:16},children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHint"),C.jsxs("ul",{style:{marginTop:8},children:[m.downloadLink&&C.jsx("li",{children:C.jsx("a",{href:m.downloadLink,download:m.filename,title:m.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})}),m.downloadLinkPatched&&C.jsx("li",{children:C.jsx("a",{href:m.downloadLinkPatched,download:"patched_"+m.filename,title:"patched_"+m.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})})]})]})]})]}),H=()=>{T()},U=()=>{n.current&&n.current.click()},Z=()=>{$()},q=()=>{D()},Y=()=>{h(G=>({...G,proceed:!1})),p(f+1)},te=()=>{h(G=>({...G,state:"",showProgress:!1,error:!1})),p(f-1)},ee=()=>{d(!1),q()},X=()=>{d(!1)},ie=C.jsx($t,{icon:C.jsx(wp,{}),disabled:s,onClick:()=>te(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previous")}),re=y?C.jsxs(C.Fragment,{children:[C.jsx(Ca,{children:e("tonieboxes.esp32BoxFlashing.title")}),C.jsx(Ap,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashModal"),open:u,okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.flash"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialog"),contentHint:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialogHint"),handleOk:ee,handleCancel:X}),C.jsx(q$,{current:f,children:A.map((G,Q)=>C.jsx(r7e,{title:G.title,status:Q===f&&Q===A.length-1?"finish":Q===f?m.error?"error":"process":QU(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.loadFile")}),C.jsx($t,{icon:C.jsx(U$,{}),disabled:s,type:"primary",onClick:()=>H(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.readFlash")})]}),C.jsx($t,{icon:C.jsx(js,{}),iconPosition:"end",disabled:!m.proceed&&!m.filename||s,onClick:()=>Y(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),f===1&&C.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ie,C.jsx("div",{style:{display:"flex",gap:8},children:C.jsx($t,{icon:C.jsx(uye,{}),disabled:s,type:"primary",onClick:()=>Z(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchImage")})}),C.jsx($t,{icon:C.jsx(js,{}),iconPosition:"end",disabled:s||!m.showFlash,onClick:()=>Y(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),f===2&&C.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ie,C.jsx("div",{style:{display:"flex",gap:8},children:C.jsx($t,{icon:C.jsx(V1e,{}),disabled:s,type:"primary",onClick:()=>d(!0),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashEsp32")})}),C.jsx("div",{})]}),f===3&&C.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ie,C.jsx("div",{}),C.jsx("div",{})]}),N]})]}):C.jsxs(C.Fragment,{children:[C.jsx(Zr,{children:C.jsx(na,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:e("tonieboxes.esp32BoxFlashing.browserNotSupported"),type:"warning",showIcon:!0})}),C.jsxs(Zr,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiGeneral")})})})]}),C.jsxs(Zr,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki2"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/esp32/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiSpecific")})})})]})]});return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Ws,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Ws,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.title")}),r?re:C.jsx(na,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:C.jsxs(C.Fragment,{children:[C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.hint")}),C.jsx(Zr,{children:C.jsx($t,{icon:C.jsx(jW,{}),onClick:E,children:e("tonieboxes.esp32BoxFlashing.redirect")})})]}),type:"warning",showIcon:!0})]})]})]})},{Paragraph:o7e}=Bn,i7e=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vs,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vs,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("home.tonieMeeting.navigationTitle")}]}),C.jsx(Wn,{children:C.jsx(o7e,{children:C.jsx(XO,{maxNoOfGuests:500,toniesSize:150,showQuestionMark:!1})})})]})]})},{Paragraph:wj}=Bn,s7e=()=>{const{t:e}=Ft(),t=e("faq",{returnObjects:!0});return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.faq.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.faq.title")}),C.jsx(wj,{children:e("community.faq.intro")}),C.jsx(wj,{children:t.map((n,r)=>C.jsxs("div",{style:{marginBottom:"20px"},children:[C.jsx("h3",{children:n.question}),C.jsx("p",{children:n.answer})]},r))})]})]})]})},x2=new wn(fn()),l7e=()=>{const{t:e}=Ft(),[t,n]=l.useState(""),[r,a]=l.useState(""),[o,i]=l.useState("");l.useEffect(()=>{x2.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(d=>d.text()).then(d=>n(d)).catch(d=>console.error("Error fetching data:",d)),x2.apiGetTeddyCloudSettingRaw("internal.version.id").then(d=>d.text()).then(d=>a(d)).catch(d=>console.error("Error fetching data:",d)),x2.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(d=>d.text()).then(d=>i(d)).catch(d=>console.error("Error fetching data:",d))},[]);const s=(d,f)=>C.jsx("ul",{children:Object.keys(d).map(p=>{const g=d[p],b=`${f}.${p}`;return typeof g=="object"&&g.items?C.jsxs("li",{children:[e(`${b}.title`),s(g.items,b+".items")]},p):C.jsx("li",{children:e(b)},p)})}),c=e("home.features.features",{returnObjects:!0}),u=e("home.features.futureFeatures",{returnObjects:!0});return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vs,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vs,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("home.features.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("home.features.title")+" "+r}),C.jsx("p",{children:e("home.features.description")}),C.jsxs("p",{children:["Build:"," ",C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/tree/"+o,target:"_blank",children:t.replace(r,"")})]}),C.jsx("h2",{children:e("home.features.currentlyImplementedFeatures")}),s(c,"home.features.features"),C.jsx("h2",{children:e("home.features.yetToCome")}),s(u,"home.features.futureFeatures")]})]})]})},{Paragraph:Cj}=Bn,c7e=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Ws,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Ws,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonieboxes.cc3235BoxFlashing.title")}),C.jsxs(Cj,{children:[e("tonieboxes.cc3235BoxFlashing.hint"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"Patching your Toniebox for using with TeddyCloud"})})})]}),C.jsxs(Cj,{children:[e("tonieboxes.cc3235BoxFlashing.hint2"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3235/",target:"_blank",children:"CC3235 specific setup"})})})]})]})]})]})},{Paragraph:xj}=Bn,u7e=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Ws,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Ws,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonieboxes.cc3200BoxFlashing.title")}),C.jsxs(xj,{children:[e("tonieboxes.cc3200BoxFlashing.hint"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.linkGeneral")})})})]}),C.jsxs(xj,{children:[e("tonieboxes.cc3200BoxFlashing.hint2"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.linkSpecific")})})})]})]})]})]})};function E2(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}function d7e(){const{defaultAlgorithm:e,darkAlgorithm:t}=hi,n=u=>{const d=document.querySelector('meta[name="theme-color"]');d&&d.setAttribute("content",u),document.body.style.backgroundColor=u},[r,a]=l.useState(()=>localStorage.getItem("theme")||"auto"),[o,i]=l.useState(E2()==="dark"),s=()=>{a(u=>u==="dark"?"light":u==="light"?"auto":"dark")};l.useEffect(()=>{localStorage.setItem("theme",r),i(E2()==="dark"),E2()==="dark"?n("#000000"):n("#f5f5f5")},[r]);let c;return r==="dark"?c=C.jsx(USe,{onClick:s}):r==="light"?c=C.jsx(A1e,{onClick:s}):c=C.jsx(B0e,{onClick:s}),C.jsx(Ko,{theme:{algorithm:o?t:e,components:{Slider:{dotSize:3,handleSize:6,handleSizeHover:8,railSize:4},Popover:{titleMinWidth:0}}},children:C.jsx("div",{className:"App",children:C.jsx(gi,{style:{minHeight:"100vh"},children:C.jsx(JIe,{basename:"/web",children:C.jsxs(aTe,{children:[C.jsx(W8e,{themeSwitch:c}),C.jsx(gi,{children:C.jsxs(GIe,{children:[C.jsx(Rn,{path:"/",element:C.jsx(T8e,{})}),C.jsx(Rn,{path:"/home/stats",element:C.jsx(M8e,{})}),C.jsx(Rn,{path:"/home/features",element:C.jsx(l7e,{})}),C.jsx(Rn,{path:"/home/toniemeeting",element:C.jsx(i7e,{})}),C.jsx(Rn,{path:"/tonies",element:C.jsx(J8e,{})}),C.jsx(Rn,{path:"/tonies/system-sounds",element:C.jsx(nFe,{})}),C.jsx(Rn,{path:"/tonies/content",element:C.jsx(aFe,{})}),C.jsx(Rn,{path:"/tonies/library",element:C.jsx(oFe,{})}),C.jsx(Rn,{path:"/tonies/encoder",element:C.jsx(q5e,{})}),C.jsx(Rn,{path:"/tonies/tap",element:C.jsx(Y5e,{})}),C.jsx(Rn,{path:"/tonieboxes",element:C.jsx(rje,{})}),C.jsx(Rn,{path:"/tonieboxes/esp32boxflashing",element:C.jsx(a7e,{})}),C.jsx(Rn,{path:"/tonieboxes/cc3200boxflashing",element:C.jsx(u7e,{})}),C.jsx(Rn,{path:"/tonieboxes/cc3235boxflashing",element:C.jsx(c7e,{})}),C.jsx(Rn,{path:"/settings",element:C.jsx(zNe,{})}),C.jsx(Rn,{path:"/settings/certificates",element:C.jsx(d8e,{})}),C.jsx(Rn,{path:"/settings/rtnl",element:C.jsx(u8e,{})}),C.jsx(Rn,{path:"/community",element:C.jsx(aje,{})}),C.jsx(Rn,{path:"/community/faq",element:C.jsx(s7e,{})}),C.jsx(Rn,{path:"/community/contribution",element:C.jsx(oje,{})}),C.jsx(Rn,{path:"/community/contribution/tonies-json",element:C.jsx(lje,{})}),C.jsx(Rn,{path:"/community/contributors",element:C.jsx(cje,{})}),C.jsx(Rn,{path:"/community/changelog",element:C.jsx(uje,{})}),C.jsx(Rn,{path:"/uitest",element:C.jsx(iTe,{})}),C.jsx(Rn,{path:"/*",element:C.jsx(k8e,{})})]})}),C.jsx(X8e,{})]})})})})})}const f7e=I2.createRoot(document.getElementById("root"));f7e.render(C.jsx(le.StrictMode,{children:C.jsx(d7e,{})}))});export default p7e(); +mv certs/client/CA.DER certs/client/ca.der`})})]})})}),C.jsxs(Zr,{style:{marginTop:16},children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHint"),C.jsxs("ul",{style:{marginTop:8},children:[m.downloadLink&&C.jsx("li",{children:C.jsx("a",{href:m.downloadLink,download:m.filename,title:m.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})}),m.downloadLinkPatched&&C.jsx("li",{children:C.jsx("a",{href:m.downloadLinkPatched,download:"patched_"+m.filename,title:"patched_"+m.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})})]})]})]})]}),H=()=>{T()},U=()=>{n.current&&n.current.click()},Z=()=>{$()},q=()=>{D()},Y=()=>{h(G=>({...G,proceed:!1})),p(f+1)},ee=()=>{h(G=>({...G,state:"",showProgress:!1,error:!1})),p(f-1)},te=()=>{d(!1),q()},X=()=>{d(!1)},ie=C.jsx($t,{icon:C.jsx(wp,{}),disabled:s,onClick:()=>ee(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previous")}),re=y?C.jsxs(C.Fragment,{children:[C.jsx(Ca,{children:e("tonieboxes.esp32BoxFlashing.title")}),C.jsx(Ap,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashModal"),open:u,okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.flash"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialog"),contentHint:e("tonieboxes.esp32BoxFlashing.esp32flasher.confirmFlashDialogHint"),handleOk:te,handleCancel:X}),C.jsx(q$,{current:f,children:A.map((G,Q)=>C.jsx(r7e,{title:G.title,status:Q===f&&Q===A.length-1?"finish":Q===f?m.error?"error":"process":QU(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.loadFile")}),C.jsx($t,{icon:C.jsx(U$,{}),disabled:s,type:"primary",onClick:()=>H(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.readFlash")})]}),C.jsx($t,{icon:C.jsx(js,{}),iconPosition:"end",disabled:!m.proceed&&!m.filename||s,onClick:()=>Y(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),f===1&&C.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ie,C.jsx("div",{style:{display:"flex",gap:8},children:C.jsx($t,{icon:C.jsx(uye,{}),disabled:s,type:"primary",onClick:()=>Z(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchImage")})}),C.jsx($t,{icon:C.jsx(js,{}),iconPosition:"end",disabled:s||!m.showFlash,onClick:()=>Y(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),f===2&&C.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ie,C.jsx("div",{style:{display:"flex",gap:8},children:C.jsx($t,{icon:C.jsx(V1e,{}),disabled:s,type:"primary",onClick:()=>d(!0),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashEsp32")})}),C.jsx("div",{})]}),f===3&&C.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ie,C.jsx("div",{}),C.jsx("div",{})]}),N]})]}):C.jsxs(C.Fragment,{children:[C.jsx(Zr,{children:C.jsx(na,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:e("tonieboxes.esp32BoxFlashing.browserNotSupported"),type:"warning",showIcon:!0})}),C.jsxs(Zr,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiGeneral")})})})]}),C.jsxs(Zr,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki2"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/esp32/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiSpecific")})})})]})]});return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Ws,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Ws,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.title")}),r?re:C.jsx(na,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:C.jsxs(C.Fragment,{children:[C.jsx(Zr,{children:e("tonieboxes.esp32BoxFlashing.hint")}),C.jsx(Zr,{children:C.jsx($t,{icon:C.jsx(jW,{}),onClick:E,children:e("tonieboxes.esp32BoxFlashing.redirect")})})]}),type:"warning",showIcon:!0})]})]})]})},{Paragraph:o7e}=Bn,i7e=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vs,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vs,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("home.tonieMeeting.navigationTitle")}]}),C.jsx(Wn,{children:C.jsx(o7e,{children:C.jsx(XO,{maxNoOfGuests:500,toniesSize:150,showQuestionMark:!1})})})]})]})},{Paragraph:wj}=Bn,s7e=()=>{const{t:e}=Ft(),t=e("faq",{returnObjects:!0});return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(So,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(So,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.faq.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("community.faq.title")}),C.jsx(wj,{children:e("community.faq.intro")}),C.jsx(wj,{children:t.map((n,r)=>C.jsxs("div",{style:{marginBottom:"20px"},children:[C.jsx("h3",{children:n.question}),C.jsx("p",{children:n.answer})]},r))})]})]})]})},x2=new wn(fn()),l7e=()=>{const{t:e}=Ft(),[t,n]=l.useState(""),[r,a]=l.useState(""),[o,i]=l.useState("");l.useEffect(()=>{x2.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(d=>d.text()).then(d=>n(d)).catch(d=>console.error("Error fetching data:",d)),x2.apiGetTeddyCloudSettingRaw("internal.version.id").then(d=>d.text()).then(d=>a(d)).catch(d=>console.error("Error fetching data:",d)),x2.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(d=>d.text()).then(d=>i(d)).catch(d=>console.error("Error fetching data:",d))},[]);const s=(d,f)=>C.jsx("ul",{children:Object.keys(d).map(p=>{const g=d[p],v=`${f}.${p}`;return typeof g=="object"&&g.items?C.jsxs("li",{children:[e(`${v}.title`),s(g.items,v+".items")]},p):C.jsx("li",{children:e(v)},p)})}),c=e("home.features.features",{returnObjects:!0}),u=e("home.features.futureFeatures",{returnObjects:!0});return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Vs,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Vs,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("home.features.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("home.features.title")+" "+r}),C.jsx("p",{children:e("home.features.description")}),C.jsxs("p",{children:["Build:"," ",C.jsx(Rt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/tree/"+o,target:"_blank",children:t.replace(r,"")})]}),C.jsx("h2",{children:e("home.features.currentlyImplementedFeatures")}),s(c,"home.features.features"),C.jsx("h2",{children:e("home.features.yetToCome")}),s(u,"home.features.futureFeatures")]})]})]})},{Paragraph:Cj}=Bn,c7e=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Ws,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Ws,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonieboxes.cc3235BoxFlashing.title")}),C.jsxs(Cj,{children:[e("tonieboxes.cc3235BoxFlashing.hint"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"Patching your Toniebox for using with TeddyCloud"})})})]}),C.jsxs(Cj,{children:[e("tonieboxes.cc3235BoxFlashing.hint2"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3235/",target:"_blank",children:"CC3235 specific setup"})})})]})]})]})]})},{Paragraph:xj}=Bn,u7e=()=>{const{t:e}=Ft();return C.jsxs(C.Fragment,{children:[C.jsx(Zn,{children:C.jsx(Ws,{})}),C.jsxs(Qn,{children:[C.jsx(In,{children:C.jsx(Ws,{})}),C.jsx(Jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}]}),C.jsxs(Wn,{children:[C.jsx("h1",{children:e("tonieboxes.cc3200BoxFlashing.title")}),C.jsxs(xj,{children:[e("tonieboxes.cc3200BoxFlashing.hint"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.linkGeneral")})})})]}),C.jsxs(xj,{children:[e("tonieboxes.cc3200BoxFlashing.hint2"),C.jsx("ul",{children:C.jsx("li",{children:C.jsx(Rt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.linkSpecific")})})})]})]})]})]})};function E2(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}function d7e(){const{defaultAlgorithm:e,darkAlgorithm:t}=hi,n=u=>{const d=document.querySelector('meta[name="theme-color"]');d&&d.setAttribute("content",u),document.body.style.backgroundColor=u},[r,a]=l.useState(()=>localStorage.getItem("theme")||"auto"),[o,i]=l.useState(E2()==="dark"),s=()=>{a(u=>u==="dark"?"light":u==="light"?"auto":"dark")};l.useEffect(()=>{localStorage.setItem("theme",r),i(E2()==="dark"),E2()==="dark"?n("#000000"):n("#f5f5f5")},[r]);let c;return r==="dark"?c=C.jsx(USe,{onClick:s}):r==="light"?c=C.jsx(A1e,{onClick:s}):c=C.jsx(B0e,{onClick:s}),C.jsx(Ko,{theme:{algorithm:o?t:e,components:{Slider:{dotSize:3,handleSize:6,handleSizeHover:8,railSize:4},Popover:{titleMinWidth:0}}},children:C.jsx("div",{className:"App",children:C.jsx(gi,{style:{minHeight:"100vh"},children:C.jsx(JIe,{basename:"/web",children:C.jsxs(aTe,{children:[C.jsx(W8e,{themeSwitch:c}),C.jsx(gi,{children:C.jsxs(GIe,{children:[C.jsx(Rn,{path:"/",element:C.jsx(T8e,{})}),C.jsx(Rn,{path:"/home/stats",element:C.jsx(M8e,{})}),C.jsx(Rn,{path:"/home/features",element:C.jsx(l7e,{})}),C.jsx(Rn,{path:"/home/toniemeeting",element:C.jsx(i7e,{})}),C.jsx(Rn,{path:"/tonies",element:C.jsx(J8e,{})}),C.jsx(Rn,{path:"/tonies/system-sounds",element:C.jsx(nFe,{})}),C.jsx(Rn,{path:"/tonies/content",element:C.jsx(aFe,{})}),C.jsx(Rn,{path:"/tonies/library",element:C.jsx(oFe,{})}),C.jsx(Rn,{path:"/tonies/encoder",element:C.jsx(q5e,{})}),C.jsx(Rn,{path:"/tonies/tap",element:C.jsx(Y5e,{})}),C.jsx(Rn,{path:"/tonieboxes",element:C.jsx(rje,{})}),C.jsx(Rn,{path:"/tonieboxes/esp32boxflashing",element:C.jsx(a7e,{})}),C.jsx(Rn,{path:"/tonieboxes/cc3200boxflashing",element:C.jsx(u7e,{})}),C.jsx(Rn,{path:"/tonieboxes/cc3235boxflashing",element:C.jsx(c7e,{})}),C.jsx(Rn,{path:"/settings",element:C.jsx(zNe,{})}),C.jsx(Rn,{path:"/settings/certificates",element:C.jsx(d8e,{})}),C.jsx(Rn,{path:"/settings/rtnl",element:C.jsx(u8e,{})}),C.jsx(Rn,{path:"/community",element:C.jsx(aje,{})}),C.jsx(Rn,{path:"/community/faq",element:C.jsx(s7e,{})}),C.jsx(Rn,{path:"/community/contribution",element:C.jsx(oje,{})}),C.jsx(Rn,{path:"/community/contribution/tonies-json",element:C.jsx(lje,{})}),C.jsx(Rn,{path:"/community/contributors",element:C.jsx(cje,{})}),C.jsx(Rn,{path:"/community/changelog",element:C.jsx(uje,{})}),C.jsx(Rn,{path:"/uitest",element:C.jsx(iTe,{})}),C.jsx(Rn,{path:"/*",element:C.jsx(k8e,{})})]})}),C.jsx(X8e,{})]})})})})})}const f7e=I2.createRoot(document.getElementById("root"));f7e.render(C.jsx(le.StrictMode,{children:C.jsx(d7e,{})}))});export default p7e(); diff --git a/contrib/data/www/web/index.html b/contrib/data/www/web/index.html index 250f49fd..2790fd7e 100644 --- a/contrib/data/www/web/index.html +++ b/contrib/data/www/web/index.html @@ -12,7 +12,7 @@ --> TeddyCloud - + diff --git a/contrib/data/www/web/translations/de.json b/contrib/data/www/web/translations/de.json index 4e5f46af..b799d7c1 100644 --- a/contrib/data/www/web/translations/de.json +++ b/contrib/data/www/web/translations/de.json @@ -503,6 +503,7 @@ }, "encoder": { "clearList": "Liste leeren", + "errorFileProcessing": "Fehler beim Verarbeiten der Audiodatei:", "filename": "Dateiname", "maxFiles": "Du kannst nur maximal {{maxFiles}} Dateien hinzufügen.", "navigationTitle": "Audio Encoder", diff --git a/contrib/data/www/web/translations/en.json b/contrib/data/www/web/translations/en.json index ff889150..2af0e9be 100644 --- a/contrib/data/www/web/translations/en.json +++ b/contrib/data/www/web/translations/en.json @@ -502,6 +502,7 @@ }, "encoder": { "clearList": "Clear list", + "errorFileProcessing": "Failed to process the audio file:", "filename": "Filename", "maxFiles": "You can only add up to {{maxFiles}} files.", "navigationTitle": "Audio Encoder", diff --git a/contrib/data/www/web/translations/fr.json b/contrib/data/www/web/translations/fr.json index db4800c3..0e930b6b 100644 --- a/contrib/data/www/web/translations/fr.json +++ b/contrib/data/www/web/translations/fr.json @@ -503,6 +503,7 @@ }, "encoder": { "clearList": "Vider la liste", + "errorFileProcessing": "Échec du traitement du fichier audio :", "filename": "Nom du fichier", "maxFiles": "Vous ne pouvez ajouter que jusqu'à {{maxFiles}} fichiers.", "navigationTitle": "Encodeur audio", diff --git a/teddycloud_web b/teddycloud_web index c66b3b62..fcfedafd 160000 --- a/teddycloud_web +++ b/teddycloud_web @@ -1 +1 @@ -Subproject commit c66b3b62e41cb08ec9ff6437bb85296caab33b35 +Subproject commit fcfedafd8dcfcc61a5628a4541db975c4aa2de10 From add2ed3f96d88e386d30718e9283b5e7bf510555 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Mon, 2 Sep 2024 21:58:38 +0200 Subject: [PATCH 2/2] Dockerfile: Use ubuntu 24.04, expose 8443 --- DockerfileAlpine | 2 +- DockerfileDebian | 2 +- DockerfileUbuntu | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DockerfileAlpine b/DockerfileAlpine index 346acade..9f524375 100644 --- a/DockerfileAlpine +++ b/DockerfileAlpine @@ -16,7 +16,7 @@ RUN make zip NO_SANITIZERS=1 # Use Alpine Linux as base image for the final image FROM alpine:latest -EXPOSE 80 443 +EXPOSE 80 443 8443 # Install necessary runtime dependencies RUN apk --no-cache add ffmpeg curl ca-certificates bash diff --git a/DockerfileDebian b/DockerfileDebian index 3dfa336b..4c485b37 100644 --- a/DockerfileDebian +++ b/DockerfileDebian @@ -11,7 +11,7 @@ RUN curl -f https://raw.githubusercontent.com/toniebox-reverse-engineering/tonie RUN make zip FROM debian:latest -EXPOSE 80 443 +EXPOSE 80 443 8443 RUN apt-get update \ && apt-get install -y --no-install-recommends libubsan1 ffmpeg curl ca-certificates \ diff --git a/DockerfileUbuntu b/DockerfileUbuntu index 74b6705c..f6a60993 100644 --- a/DockerfileUbuntu +++ b/DockerfileUbuntu @@ -1,4 +1,4 @@ -FROM ubuntu:22.04 as buildenv +FROM ubuntu:24.04 as buildenv RUN apt-get update \ && apt-get install -y --no-install-recommends gcc protobuf-c-compiler build-essential git zip curl @@ -10,8 +10,8 @@ RUN curl -f https://raw.githubusercontent.com/toniebox-reverse-engineering/tonie RUN curl -f https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/release/tonieboxes.json -o /buildenv/contrib/config/tonieboxes.json || true RUN make zip -FROM ubuntu:22.04 -EXPOSE 80 443 +FROM ubuntu:24.04 +EXPOSE 80 443 8443 RUN apt-get update \ && apt-get install -y --no-install-recommends libubsan1 ffmpeg curl ca-certificates \