diff --git a/contrib/data/www/web/assets/3200_pcb-Czbc8CMj.png b/contrib/data/www/web/assets/3200_pcb-Czbc8CMj.png deleted file mode 100644 index 11971bd2..00000000 Binary files a/contrib/data/www/web/assets/3200_pcb-Czbc8CMj.png and /dev/null differ diff --git a/contrib/data/www/web/assets/3200_pcb-Dxz0Vi-z.png b/contrib/data/www/web/assets/3200_pcb-Dxz0Vi-z.png new file mode 100644 index 00000000..683fbc18 Binary files /dev/null and b/contrib/data/www/web/assets/3200_pcb-Dxz0Vi-z.png differ diff --git a/contrib/data/www/web/assets/3235_pcb-B8suHx9F.png b/contrib/data/www/web/assets/3235_pcb-B8suHx9F.png deleted file mode 100644 index 6dc25a41..00000000 Binary files a/contrib/data/www/web/assets/3235_pcb-B8suHx9F.png and /dev/null differ diff --git a/contrib/data/www/web/assets/3235_pcb-BE0vs2bl.png b/contrib/data/www/web/assets/3235_pcb-BE0vs2bl.png new file mode 100644 index 00000000..19867dde Binary files /dev/null and b/contrib/data/www/web/assets/3235_pcb-BE0vs2bl.png differ diff --git a/contrib/data/www/web/assets/cc3235_flash-D2YMWv70.jpg b/contrib/data/www/web/assets/cc3235_flash-D2YMWv70.jpg new file mode 100644 index 00000000..296e917b Binary files /dev/null and b/contrib/data/www/web/assets/cc3235_flash-D2YMWv70.jpg differ diff --git a/contrib/data/www/web/assets/cc3235_smd_grippers-MdbEjaZo.jpg b/contrib/data/www/web/assets/cc3235_smd_grippers-MdbEjaZo.jpg new file mode 100644 index 00000000..4cd03b06 Binary files /dev/null and b/contrib/data/www/web/assets/cc3235_smd_grippers-MdbEjaZo.jpg differ diff --git a/contrib/data/www/web/assets/esp32_pcb-CWEYHEzm.png b/contrib/data/www/web/assets/esp32_pcb-CWEYHEzm.png new file mode 100644 index 00000000..2c877417 Binary files /dev/null and b/contrib/data/www/web/assets/esp32_pcb-CWEYHEzm.png differ diff --git a/contrib/data/www/web/assets/esp32_pcb-Df7OjtFN.png b/contrib/data/www/web/assets/esp32_pcb-Df7OjtFN.png deleted file mode 100644 index 5ff8d105..00000000 Binary files a/contrib/data/www/web/assets/esp32_pcb-Df7OjtFN.png and /dev/null differ diff --git a/contrib/data/www/web/assets/esp32_pcb_clamp-Cw2o3uco.png b/contrib/data/www/web/assets/esp32_pcb_clamp-Cw2o3uco.png new file mode 100644 index 00000000..87d9a321 Binary files /dev/null and b/contrib/data/www/web/assets/esp32_pcb_clamp-Cw2o3uco.png differ diff --git a/contrib/data/www/web/assets/esp32_write_patched_image_with_esptools-DmsBlrjp.png b/contrib/data/www/web/assets/esp32_write_patched_image_with_esptools-DmsBlrjp.png new file mode 100644 index 00000000..01409742 Binary files /dev/null and b/contrib/data/www/web/assets/esp32_write_patched_image_with_esptools-DmsBlrjp.png differ diff --git a/contrib/data/www/web/assets/index-CZeCp9g2.js b/contrib/data/www/web/assets/index-CZeCp9g2.js new file mode 100644 index 00000000..0d07786a --- /dev/null +++ b/contrib/data/www/web/assets/index-CZeCp9g2.js @@ -0,0 +1,696 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/esp32-BPYaDt9v.js","assets/rom-Caghk6Eh.js","assets/esp32c2-CtjOOsCE.js","assets/esp32c3-DDsZSfEd.js","assets/esp32c6-BRG5ZpJ8.js","assets/esp32h2-Cf8JbGZQ.js","assets/esp32s3-DkgZlzv1.js","assets/esp32s2-BOsRKhcm.js","assets/esp8266-8VKmCx7J.js","assets/esp32p4-DfBdIAkh.js"])))=>i.map(i=>d[i]); +var JZ=Object.defineProperty;var eQ=(e,t,n)=>t in e?JZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var tQ=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ll=(e,t,n)=>eQ(e,typeof t!="symbol"?t+"":t,n);var IVe=tQ((vo,bo)=>{function A_(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(a){if(a.ep)return;a.ep=!0;const o=n(a);fetch(a.href,o)}})();var ya=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ma(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var JB={exports:{}},Hb={},e7={exports:{}},fn={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Dg=Symbol.for("react.element"),nQ=Symbol.for("react.portal"),rQ=Symbol.for("react.fragment"),aQ=Symbol.for("react.strict_mode"),oQ=Symbol.for("react.profiler"),iQ=Symbol.for("react.provider"),sQ=Symbol.for("react.context"),lQ=Symbol.for("react.forward_ref"),cQ=Symbol.for("react.suspense"),uQ=Symbol.for("react.memo"),dQ=Symbol.for("react.lazy"),Lk=Symbol.iterator;function fQ(e){return e===null||typeof e!="object"?null:(e=Lk&&e[Lk]||e["@@iterator"],typeof e=="function"?e:null)}var t7={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},n7=Object.assign,r7={};function Ld(e,t,n){this.props=e,this.context=t,this.refs=r7,this.updater=n||t7}Ld.prototype.isReactComponent={};Ld.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ld.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function a7(){}a7.prototype=Ld.prototype;function M_(e,t,n){this.props=e,this.context=t,this.refs=r7,this.updater=n||t7}var P_=M_.prototype=new a7;P_.constructor=M_;n7(P_,Ld.prototype);P_.isPureReactComponent=!0;var Fk=Array.isArray,o7=Object.prototype.hasOwnProperty,D_={current:null},i7={key:!0,ref:!0,__self:!0,__source:!0};function s7(e,t,n){var r,a={},o=null,i=null;if(t!=null)for(r in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)o7.call(t,r)&&!i7.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(s===1)a.children=n;else if(1>>1,B=M[j];if(0>>1;ja(V,F))tea(Y,V)?(M[j]=Y,M[te]=F,j=te):(M[j]=V,M[H]=F,j=H);else if(tea(Y,F))M[j]=Y,M[te]=F,j=te;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,h=!1,b=!1,y=typeof setTimeout=="function"?setTimeout:null,S=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 x(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 C(M){if(b=!1,x(M),!h)if(n(c)!==null)h=!0,N(w);else{var L=n(u);L!==null&&k(C,L.startTime-M)}}function w(M,L){h=!1,b&&(b=!1,S(T),T=-1),g=!0;var F=p;try{for(x(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),x(L)}else r(c);f=n(c)}if(f!==null)var z=!0;else{var H=n(u);H!==null&&k(C,H.startTime-L),z=!1}return z}finally{f=null,p=F,g=!1}}var E=!1,I=null,T=-1,R=5,_=-1;function $(){return!(e.unstable_now()-_M||125j?(M.sortIndex=F,t(u,M),n(c)===null&&M===n(u)&&(b?(S(T),T=-1):b=!0,k(C,F-j))):(M.sortIndex=B,t(c,M),h||g||(h=!0,N(w))),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}}}})(f7);d7.exports=f7;var CQ=d7.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var EQ=l,So=CQ;function dt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),xI=Object.prototype.hasOwnProperty,IQ=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Bk={},zk={};function TQ(e){return xI.call(zk,e)?!0:xI.call(Bk,e)?!1:IQ.test(e)?zk[e]=!0:(Bk[e]=!0,!1)}function RQ(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function _Q(e,t,n,r){if(t===null||typeof t>"u"||RQ(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Da(e,t,n,r,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ca={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ca[e]=new Da(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ca[t]=new Da(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ca[e]=new Da(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ca[e]=new Da(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ca[e]=new Da(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ca[e]=new Da(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ca[e]=new Da(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ca[e]=new Da(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ca[e]=new Da(e,5,!1,e.toLowerCase(),null,!1,!1)});var F_=/[\-:]([a-z])/g;function j_(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(F_,j_);ca[t]=new Da(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(F_,j_);ca[t]=new Da(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(F_,j_);ca[t]=new Da(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ca[e]=new Da(e,1,!1,e.toLowerCase(),null,!1,!1)});ca.xlinkHref=new Da("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ca[e]=new Da(e,1,!1,e.toLowerCase(),null,!0,!0)});function B_(e,t,n,r){var a=ca.hasOwnProperty(t)?ca[t]:null;(a!==null?a.type!==0:r||!(2s||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{Qy=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hf(e):""}function $Q(e){switch(e.tag){case 5:return Hf(e.type);case 16:return Hf("Lazy");case 13:return Hf("Suspense");case 19:return Hf("SuspenseList");case 0:case 2:case 15:return e=Jy(e.type,!1),e;case 11:return e=Jy(e.type.render,!1),e;case 1:return e=Jy(e.type,!0),e;default:return""}}function II(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 Tu:return"Fragment";case Iu:return"Portal";case wI:return"Profiler";case z_:return"StrictMode";case CI:return"Suspense";case EI:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case m7:return(e.displayName||"Context")+".Consumer";case g7:return(e._context.displayName||"Context")+".Provider";case H_:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case U_:return t=e.displayName||null,t!==null?t:II(e.type)||"Memo";case Hs:t=e._payload,e=e._init;try{return II(e(t))}catch{}}return null}function OQ(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 II(t);case 8:return t===z_?"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 vl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function v7(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function NQ(e){var t=v7(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 Am(e){e._valueTracker||(e._valueTracker=NQ(e))}function b7(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=v7(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Rv(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 TI(e,t){var n=t.checked;return hr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Uk(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=vl(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 y7(e,t){t=t.checked,t!=null&&B_(e,"checked",t,!1)}function RI(e,t){y7(e,t);var n=vl(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")?_I(e,t.type,n):t.hasOwnProperty("defaultValue")&&_I(e,t.type,vl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Vk(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 _I(e,t,n){(t!=="number"||Rv(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Uf=Array.isArray;function qu(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Mm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Pp(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ap={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},kQ=["Webkit","ms","Moz","O"];Object.keys(ap).forEach(function(e){kQ.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ap[t]=ap[e]})});function C7(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ap.hasOwnProperty(e)&&ap[e]?(""+t).trim():t+"px"}function E7(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=C7(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var AQ=hr({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 NI(e,t){if(t){if(AQ[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(dt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(dt(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(dt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(dt(62))}}function kI(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 AI=null;function V_(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var MI=null,Ku=null,Yu=null;function qk(e){if(e=Bg(e)){if(typeof MI!="function")throw Error(dt(280));var t=e.stateNode;t&&(t=qb(t),MI(e.stateNode,e.type,t))}}function I7(e){Ku?Yu?Yu.push(e):Yu=[e]:Ku=e}function T7(){if(Ku){var e=Ku,t=Yu;if(Yu=Ku=null,qk(e),t)for(e=0;e>>=0,e===0?32:31-(VQ(e)/WQ|0)|0}var Pm=64,Dm=4194304;function Vf(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 Nv(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=Vf(s):(o&=i,o!==0&&(r=Vf(o)))}else i=n&~a,i!==0?r=Vf(i):o!==0&&(r=Vf(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 Fg(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-si(t),e[t]=n}function YQ(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=ip),nA=" ",rA=!1;function G7(e,t){switch(e){case"keyup":return CJ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function q7(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ru=!1;function IJ(e,t){switch(e){case"compositionend":return q7(t);case"keypress":return t.which!==32?null:(rA=!0,nA);case"textInput":return e=t.data,e===nA&&rA?null:e;default:return null}}function TJ(e,t){if(Ru)return e==="compositionend"||!Q_&&G7(e,t)?(e=V7(),Kh=Y_=Ys=null,Ru=!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=sA(n)}}function Z7(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Z7(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Q7(){for(var e=window,t=Rv();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Rv(e.document)}return t}function J_(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 PJ(e){var t=Q7(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Z7(n.ownerDocument.documentElement,n)){if(r!==null&&J_(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=lA(n,o);var i=lA(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,_u=null,BI=null,lp=null,zI=!1;function cA(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zI||_u==null||_u!==Rv(r)||(r=_u,"selectionStart"in r&&J_(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}),lp&&zp(lp,r)||(lp=r,r=Mv(BI,"onSelect"),0Nu||(e.current=qI[Nu],qI[Nu]=null,Nu--)}function Kn(e,t){Nu++,qI[Nu]=e.current,e.current=t}var bl={},Sa=Tl(bl),Ka=Tl(!1),mc=bl;function sd(e,t){var n=e.type.contextTypes;if(!n)return bl;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 Ya(e){return e=e.childContextTypes,e!=null}function Dv(){or(Ka),or(Sa)}function hA(e,t,n){if(Sa.current!==bl)throw Error(dt(168));Kn(Sa,t),Kn(Ka,n)}function sz(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(dt(108,OQ(e)||"Unknown",a));return hr({},n,r)}function Lv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bl,mc=Sa.current,Kn(Sa,e),Kn(Ka,Ka.current),!0}function vA(e,t,n){var r=e.stateNode;if(!r)throw Error(dt(169));n?(e=sz(e,t,mc),r.__reactInternalMemoizedMergedChildContext=e,or(Ka),or(Sa),Kn(Sa,e)):or(Ka),Kn(Ka,n)}var is=null,Kb=!1,pS=!1;function lz(e){is===null?is=[e]:is.push(e)}function qJ(e){Kb=!0,lz(e)}function Rl(){if(!pS&&is!==null){pS=!0;var e=0,t=Mn;try{var n=is;for(Mn=1;e>=i,a-=i,ds=1<<32-si(t)+a|n<T?(R=I,I=null):R=I.sibling;var _=p(S,I,x[T],C);if(_===null){I===null&&(I=R);break}e&&I&&_.alternate===null&&t(S,I),v=o(_,v,T),E===null?w=_:E.sibling=_,E=_,I=R}if(T===x.length)return n(S,I),lr&&Ul(S,T),w;if(I===null){for(;TT?(R=I,I=null):R=I.sibling;var $=p(S,I,_.value,C);if($===null){I===null&&(I=R);break}e&&I&&$.alternate===null&&t(S,I),v=o($,v,T),E===null?w=$:E.sibling=$,E=$,I=R}if(_.done)return n(S,I),lr&&Ul(S,T),w;if(I===null){for(;!_.done;T++,_=x.next())_=f(S,_.value,C),_!==null&&(v=o(_,v,T),E===null?w=_:E.sibling=_,E=_);return lr&&Ul(S,T),w}for(I=r(S,I);!_.done;T++,_=x.next())_=g(I,S,T,_.value,C),_!==null&&(e&&_.alternate!==null&&I.delete(_.key===null?T:_.key),v=o(_,v,T),E===null?w=_:E.sibling=_,E=_);return e&&I.forEach(function(P){return t(S,P)}),lr&&Ul(S,T),w}function y(S,v,x,C){if(typeof x=="object"&&x!==null&&x.type===Tu&&x.key===null&&(x=x.props.children),typeof x=="object"&&x!==null){switch(x.$$typeof){case km:e:{for(var w=x.key,E=v;E!==null;){if(E.key===w){if(w=x.type,w===Tu){if(E.tag===7){n(S,E.sibling),v=a(E,x.props.children),v.return=S,S=v;break e}}else if(E.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===Hs&&SA(w)===E.type){n(S,E.sibling),v=a(E,x.props),v.ref=wf(S,E,x),v.return=S,S=v;break e}n(S,E);break}else t(S,E);E=E.sibling}x.type===Tu?(v=sc(x.props.children,S.mode,C,x.key),v.return=S,S=v):(C=nv(x.type,x.key,x.props,null,S.mode,C),C.ref=wf(S,v,x),C.return=S,S=C)}return i(S);case Iu:e:{for(E=x.key;v!==null;){if(v.key===E)if(v.tag===4&&v.stateNode.containerInfo===x.containerInfo&&v.stateNode.implementation===x.implementation){n(S,v.sibling),v=a(v,x.children||[]),v.return=S,S=v;break e}else{n(S,v);break}else t(S,v);v=v.sibling}v=xS(x,S.mode,C),v.return=S,S=v}return i(S);case Hs:return E=x._init,y(S,v,E(x._payload),C)}if(Uf(x))return h(S,v,x,C);if(vf(x))return b(S,v,x,C);Um(S,x)}return typeof x=="string"&&x!==""||typeof x=="number"?(x=""+x,v!==null&&v.tag===6?(n(S,v.sibling),v=a(v,x),v.return=S,S=v):(n(S,v),v=SS(x,S.mode,C),v.return=S,S=v),i(S)):n(S,v)}return y}var cd=fz(!0),pz=fz(!1),Bv=Tl(null),zv=null,Mu=null,r$=null;function a$(){r$=Mu=zv=null}function o$(e){var t=Bv.current;or(Bv),e._currentValue=t}function XI(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 Zu(e,t){zv=e,r$=Mu=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Wa=!0),e.firstContext=null)}function jo(e){var t=e._currentValue;if(r$!==e)if(e={context:e,memoizedValue:t,next:null},Mu===null){if(zv===null)throw Error(dt(308));Mu=e,zv.dependencies={lanes:0,firstContext:e}}else Mu=Mu.next=e;return t}var Yl=null;function i$(e){Yl===null?Yl=[e]:Yl.push(e)}function gz(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,i$(t)):(n.next=a.next,a.next=n),t.interleaved=n,Ss(e,r)}function Ss(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 s$(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function mz(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 ps(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function sl(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Cn&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Ss(e,n)}return a=r.interleaved,a===null?(t.next=t,i$(r)):(t.next=a.next,a.next=t),r.interleaved=t,Ss(e,n)}function Xh(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,G_(e,n)}}function xA(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 Hv(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 h=e,b=s;switch(p=t,g=n,b.tag){case 1:if(h=b.payload,typeof h=="function"){f=h.call(g,f,p);break e}f=h;break e;case 3:h.flags=h.flags&-65537|128;case 0:if(h=b.payload,p=typeof h=="function"?h.call(g,f,p):h,p==null)break e;f=hr({},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);bc|=i,e.lanes=i,e.memoizedState=f}}function wA(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=mS.transition;mS.transition={};try{e(!1),t()}finally{Mn=n,mS.transition=r}}function kz(){return Bo().memoizedState}function ZJ(e,t,n){var r=cl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Az(e))Mz(t,n);else if(n=gz(e,t,n,r),n!==null){var a=Aa();li(n,e,r,a),Pz(n,t,r)}}function QJ(e,t,n){var r=cl(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Az(e))Mz(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,pi(s,i)){var c=t.interleaved;c===null?(a.next=a,i$(t)):(a.next=c.next,c.next=a),t.interleaved=a;return}}catch{}finally{}n=gz(e,t,a,r),n!==null&&(a=Aa(),li(n,e,r,a),Pz(n,t,r))}}function Az(e){var t=e.alternate;return e===mr||t!==null&&t===mr}function Mz(e,t){cp=Vv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Pz(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,G_(e,n)}}var Wv={readContext:jo,useCallback:da,useContext:da,useEffect:da,useImperativeHandle:da,useInsertionEffect:da,useLayoutEffect:da,useMemo:da,useReducer:da,useRef:da,useState:da,useDebugValue:da,useDeferredValue:da,useTransition:da,useMutableSource:da,useSyncExternalStore:da,useId:da,unstable_isNewReconciler:!1},JJ={readContext:jo,useCallback:function(e,t){return _i().memoizedState=[e,t===void 0?null:t],e},useContext:jo,useEffect:EA,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Qh(4194308,4,Rz.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Qh(4194308,4,e,t)},useInsertionEffect:function(e,t){return Qh(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();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=ZJ.bind(null,mr,e),[r.memoizedState,e]},useRef:function(e){var t=_i();return e={current:e},t.memoizedState=e},useState:CA,useDebugValue:m$,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=CA(!1),t=e[0];return e=XJ.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=mr,a=_i();if(lr){if(n===void 0)throw Error(dt(407));n=n()}else{if(n=t(),Yr===null)throw Error(dt(349));vc&30||yz(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,EA(xz.bind(null,r,o,e),[e]),r.flags|=2048,Yp(9,Sz.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=_i(),t=Yr.identifierPrefix;if(lr){var n=fs,r=ds;n=(r&~(1<<32-si(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qp++,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[ki]=t,e[Vp]=r,Wz(e,t,!1,!1),t.stateNode=e;e:{switch(i=kI(n,r),n){case"dialog":nr("cancel",e),nr("close",e),a=r;break;case"iframe":case"object":case"embed":nr("load",e),a=r;break;case"video":case"audio":for(a=0;afd&&(t.flags|=128,r=!0,Cf(o,!1),t.lanes=4194304)}else{if(!r)if(e=Uv(i),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Cf(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!lr)return fa(t),null}else 2*wr()-o.renderingStartTime>fd&&n!==1073741824&&(t.flags|=128,r=!0,Cf(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=wr(),t.sibling=null,n=gr.current,Kn(gr,r?n&1|2:n&1),t):(fa(t),null);case 22:case 23:return x$(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?co&1073741824&&(fa(t),t.subtreeFlags&6&&(t.flags|=8192)):fa(t),null;case 24:return null;case 25:return null}throw Error(dt(156,t.tag))}function see(e,t){switch(t$(t),t.tag){case 1:return Ya(t.type)&&Dv(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ud(),or(Ka),or(Sa),u$(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return c$(t),null;case 13:if(or(gr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(dt(340));ld()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return or(gr),null;case 4:return ud(),null;case 10:return o$(t.type._context),null;case 22:case 23:return x$(),null;case 24:return null;default:return null}}var Wm=!1,ha=!1,lee=typeof WeakSet=="function"?WeakSet:Set,Mt=null;function Pu(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){br(e,t,r)}else n.current=null}function oT(e,t,n){try{n()}catch(r){br(e,t,r)}}var PA=!1;function cee(e,t){if(HI=kv,e=Q7(),J_(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(UI={focusedElem:e,selectionRange:n},kv=!1,Mt=t;Mt!==null;)if(t=Mt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Mt=e;else for(;Mt!==null;){t=Mt;try{var h=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var b=h.memoizedProps,y=h.memoizedState,S=t.stateNode,v=S.getSnapshotBeforeUpdate(t.elementType===t.type?b:ti(t.type,b),y);S.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var x=t.stateNode.containerInfo;x.nodeType===1?x.textContent="":x.nodeType===9&&x.documentElement&&x.removeChild(x.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(dt(163))}}catch(C){br(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,Mt=e;break}Mt=t.return}return h=PA,PA=!1,h}function up(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&&oT(t,n,o)}a=a.next}while(a!==r)}}function Zb(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 iT(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 Kz(e){var t=e.alternate;t!==null&&(e.alternate=null,Kz(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ki],delete t[Vp],delete t[GI],delete t[WJ],delete t[GJ])),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 Yz(e){return e.tag===5||e.tag===3||e.tag===4}function DA(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yz(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 sT(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=Pv));else if(r!==4&&(e=e.child,e!==null))for(sT(e,t,n),e=e.sibling;e!==null;)sT(e,t,n),e=e.sibling}function lT(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(lT(e,t,n),e=e.sibling;e!==null;)lT(e,t,n),e=e.sibling}var aa=null,ni=!1;function Ms(e,t,n){for(n=n.child;n!==null;)Xz(e,t,n),n=n.sibling}function Xz(e,t,n){if(Li&&typeof Li.onCommitFiberUnmount=="function")try{Li.onCommitFiberUnmount(Ub,n)}catch{}switch(n.tag){case 5:ha||Pu(n,t);case 6:var r=aa,a=ni;aa=null,Ms(e,t,n),aa=r,ni=a,aa!==null&&(ni?(e=aa,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):aa.removeChild(n.stateNode));break;case 18:aa!==null&&(ni?(e=aa,n=n.stateNode,e.nodeType===8?fS(e.parentNode,n):e.nodeType===1&&fS(e,n),jp(e)):fS(aa,n.stateNode));break;case 4:r=aa,a=ni,aa=n.stateNode.containerInfo,ni=!0,Ms(e,t,n),aa=r,ni=a;break;case 0:case 11:case 14:case 15:if(!ha&&(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)&&oT(n,t,i),a=a.next}while(a!==r)}Ms(e,t,n);break;case 1:if(!ha&&(Pu(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){br(n,t,s)}Ms(e,t,n);break;case 21:Ms(e,t,n);break;case 22:n.mode&1?(ha=(r=ha)||n.memoizedState!==null,Ms(e,t,n),ha=r):Ms(e,t,n);break;default:Ms(e,t,n)}}function LA(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new lee),t.forEach(function(r){var a=bee.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function Xo(e,t){var n=t.deletions;if(n!==null)for(var r=0;ra&&(a=i),r&=~o}if(r=a,r=wr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dee(r/1960))-r,10e?16:e,Xs===null)var r=!1;else{if(e=Xs,Xs=null,Kv=0,Cn&6)throw Error(dt(331));var a=Cn;for(Cn|=4,Mt=e.current;Mt!==null;){var o=Mt,i=o.child;if(Mt.flags&16){var s=o.deletions;if(s!==null){for(var c=0;cwr()-y$?ic(e,0):b$|=n),Xa(e,t)}function a9(e,t){t===0&&(e.mode&1?(t=Dm,Dm<<=1,!(Dm&130023424)&&(Dm=4194304)):t=1);var n=Aa();e=Ss(e,t),e!==null&&(Fg(e,t,n),Xa(e,n))}function vee(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),a9(e,n)}function bee(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(dt(314))}r!==null&&r.delete(t),a9(e,n)}var o9;o9=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ka.current)Wa=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Wa=!1,oee(e,t,n);Wa=!!(e.flags&131072)}else Wa=!1,lr&&t.flags&1048576&&cz(t,jv,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Jh(e,t),e=t.pendingProps;var a=sd(t,Sa.current);Zu(t,n),a=f$(null,t,r,e,a,n);var o=p$();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,Ya(r)?(o=!0,Lv(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,s$(t),a.updater=Xb,t.stateNode=a,a._reactInternals=t,QI(t,r,e,n),t=tT(null,t,r,!0,o,n)):(t.tag=0,lr&&o&&e$(t),_a(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Jh(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=See(r),e=ti(r,e),a){case 0:t=eT(null,t,r,e,n);break e;case 1:t=kA(null,t,r,e,n);break e;case 11:t=OA(null,t,r,e,n);break e;case 14:t=NA(null,t,r,ti(r.type,e),n);break e}throw Error(dt(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ti(r,a),eT(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ti(r,a),kA(e,t,r,a,n);case 3:e:{if(Hz(t),e===null)throw Error(dt(387));r=t.pendingProps,o=t.memoizedState,a=o.element,mz(e,t),Hv(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=dd(Error(dt(423)),t),t=AA(e,t,r,n,a);break e}else if(r!==a){a=dd(Error(dt(424)),t),t=AA(e,t,r,n,a);break e}else for(uo=il(t.stateNode.containerInfo.firstChild),yo=t,lr=!0,oi=null,n=pz(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ld(),r===a){t=xs(e,t,n);break e}_a(e,t,r,n)}t=t.child}return t;case 5:return hz(t),e===null&&YI(t),r=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,VI(r,a)?i=null:o!==null&&VI(r,o)&&(t.flags|=32),zz(e,t),_a(e,t,i,n),t.child;case 6:return e===null&&YI(t),null;case 13:return Uz(e,t,n);case 4:return l$(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=cd(t,null,r,n):_a(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ti(r,a),OA(e,t,r,a,n);case 7:return _a(e,t,t.pendingProps,n),t.child;case 8:return _a(e,t,t.pendingProps.children,n),t.child;case 12:return _a(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,Kn(Bv,r._currentValue),r._currentValue=i,o!==null)if(pi(o.value,i)){if(o.children===a.children&&!Ka.current){t=xs(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=ps(-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),XI(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(dt(341));i.lanes|=n,s=i.alternate,s!==null&&(s.lanes|=n),XI(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}_a(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Zu(t,n),a=jo(a),r=r(a),t.flags|=1,_a(e,t,r,n),t.child;case 14:return r=t.type,a=ti(r,t.pendingProps),a=ti(r.type,a),NA(e,t,r,a,n);case 15:return jz(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:ti(r,a),Jh(e,t),t.tag=1,Ya(r)?(e=!0,Lv(t)):e=!1,Zu(t,n),Dz(t,r,a),QI(t,r,a,n),tT(null,t,r,!0,e,n);case 19:return Vz(e,t,n);case 22:return Bz(e,t,n)}throw Error(dt(156,t.tag))};function i9(e,t){return A7(e,t)}function yee(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 Lo(e,t,n,r){return new yee(e,t,n,r)}function C$(e){return e=e.prototype,!(!e||!e.isReactComponent)}function See(e){if(typeof e=="function")return C$(e)?1:0;if(e!=null){if(e=e.$$typeof,e===H_)return 11;if(e===U_)return 14}return 2}function ul(e,t){var n=e.alternate;return n===null?(n=Lo(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 nv(e,t,n,r,a,o){var i=2;if(r=e,typeof e=="function")C$(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Tu:return sc(n.children,a,o,t);case z_:i=8,a|=8;break;case wI:return e=Lo(12,n,t,a|2),e.elementType=wI,e.lanes=o,e;case CI:return e=Lo(13,n,t,a),e.elementType=CI,e.lanes=o,e;case EI:return e=Lo(19,n,t,a),e.elementType=EI,e.lanes=o,e;case h7:return Jb(n,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case g7:i=10;break e;case m7:i=9;break e;case H_:i=11;break e;case U_:i=14;break e;case Hs:i=16,r=null;break e}throw Error(dt(130,e==null?e:typeof e,""))}return t=Lo(i,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function sc(e,t,n,r){return e=Lo(7,e,r,t),e.lanes=n,e}function Jb(e,t,n,r){return e=Lo(22,e,r,t),e.elementType=h7,e.lanes=n,e.stateNode={isHidden:!1},e}function SS(e,t,n){return e=Lo(6,e,null,t),e.lanes=n,e}function xS(e,t,n){return t=Lo(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function xee(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=tS(0),this.expirationTimes=tS(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=tS(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function E$(e,t,n,r,a,o,i,s,c){return e=new xee(e,t,n,s,c),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Lo(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},s$(o),e}function wee(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u9)}catch(e){console.error(e)}}u9(),u7.exports=wo;var Lr=u7.exports;const Zp=Ma(Lr),Ree=A_({__proto__:null,default:Zp},[Lr]);var WA=Lr;SI.createRoot=WA.createRoot,SI.hydrateRoot=WA.hydrateRoot;const _ee={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 Zv{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||_ee,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},GA=e=>e==null?"":""+e,$ee=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},Oee=/###/g,qA=e=>e&&e.indexOf("###")>-1?e.replace(Oee,"."):e,KA=e=>!e||typeof e=="string",pp=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a{const{obj:r,k:a}=pp(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=pp(e,i,Object);for(;s.obj===void 0&&i.length;)o=`${i[i.length-1]}.${o}`,i=i.slice(0,i.length-1),s=pp(e,i,Object),s&&s.obj&&typeof s.obj[`${s.k}.${o}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},Nee=(e,t,n,r)=>{const{obj:a,k:o}=pp(e,t,Object);a[o]=a[o]||[],a[o].push(n)},Qv=(e,t)=>{const{obj:n,k:r}=pp(e,t);if(n)return n[r]},kee=(e,t,n)=>{const r=Qv(e,n);return r!==void 0?r:Qv(t,n)},d9=(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]):d9(e[r],t[r],n):e[r]=t[r]);return e},eu=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Aee={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Mee=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>Aee[t]):e;class Pee{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 Dee=[" ",",","?","!",";"],Lee=new Pee(20),Fee=(e,t,n)=>{t=t||"",n=n||"";const r=Dee.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=Lee.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},pT=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 XA extends a0{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=Qv(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:pT(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),YA(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=Qv(this.data,s)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?d9(c,r,o):c={...c,...r},YA(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 f9={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 ZA={};class eb extends a0{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),$ee(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Mi.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&&!Fee(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 C=n.nsSeparator||this.options.nsSeparator;return a?{res:`${c}${C}${i}`,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${C}${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,h=f&&f.exactUsedKey||i,b=Object.prototype.toString.apply(p),y=["[object Number]","[object Function]","[object RegExp]"],S=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")&&y.indexOf(b)<0&&!(typeof S=="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 C=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=C,f.usedParams=this.getUsedParamsDetails(n),f):C}if(o){const C=Array.isArray(p),w=C?[]:{},E=C?h:g;for(const I in p)if(Object.prototype.hasOwnProperty.call(p,I)){const T=`${E}${o}${I}`;w[I]=this.translate(T,{...n,joinArrays:!1,ns:s}),w[I]===T&&(w[I]=p[I])}p=w}}else if(v&&typeof S=="string"&&Array.isArray(p))p=p.join(S),p&&(p=this.extendTranslation(p,t,n,r));else{let C=!1,w=!1;const E=n.count!==void 0&&typeof n.count!="string",I=eb.hasDefaultValue(n),T=E?this.pluralResolver.getSuffix(u,n.count,n):"",R=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${T}`]||n[`defaultValue${R}`]||n.defaultValue;!this.isValidLookup(p)&&I&&(C=!0,p=$),this.isValidLookup(p)||(w=!0,p=i);const D=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&w?void 0:p,A=I&&$!==p&&this.options.updateMissing;if(w||C||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:D;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),w&&p===i&&this.options.appendNamespaceToMissingKey&&(p=`${c}:${i}`),(w||C)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${i}`:i,C?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(),h=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",b=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(y=>{this.isValidLookup(r)||(s=y,!ZA[`${b[0]}-${y}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(ZA[`${b[0]}-${y}`]=!0,this.logger.warn(`key "${a}" for languages "${b.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!!!")),b.forEach(S=>{if(this.isValidLookup(r))return;i=S;const v=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(v,d,S,y,n);else{let C;p&&(C=this.pluralResolver.getSuffix(S,n.count,n));const w=`${this.options.pluralSeparator}zero`,E=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(v.push(d+C),n.ordinal&&C.indexOf(E)===0&&v.push(d+C.replace(E,this.options.pluralSeparator)),g&&v.push(d+w)),h){const I=`${d}${this.options.contextSeparator}${n.context}`;v.push(I),p&&(v.push(I+C),n.ordinal&&C.indexOf(E)===0&&v.push(I+C.replace(E,this.options.pluralSeparator)),g&&v.push(I+w))}}let x;for(;x=v.pop();)this.isValidLookup(r)||(o=x,r=this.getResource(S,y,x,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 wS=e=>e.charAt(0).toUpperCase()+e.slice(1);class QA{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Mi.create("languageUtils")}getScriptPartFromCode(t){if(t=Jv(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=Jv(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]=wS(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]=wS(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=wS(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 jee=[{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}],Bee={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 zee=["v1","v2","v3"],Hee=["v4"],JA={zero:0,one:1,two:2,few:3,many:4,other:5},Uee=()=>{const e={};return jee.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Bee[t.fc]}})}),e};class Vee{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Mi.create("pluralResolver"),(!this.options.compatibilityJSON||Hee.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=Uee(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const r=Jv(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:a});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];const i=new Intl.PluralRules(r,{type:a});return this.pluralRulesCache[o]=i,i}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)=>JA[a]-JA[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!zee.includes(this.options.compatibilityJSON)}}const e3=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=kee(e,t,n);return!o&&a&&typeof n=="string"&&(o=pT(e,n,r),o===void 0&&(o=pT(t,n,r))),o},CS=e=>e.replace(/\$/g,"$$$$");class Wee{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Mi.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:h,nestingSuffixEscaped:b,nestingOptionsSeparator:y,maxReplaces:S,alwaysFormat:v}=t.interpolation;this.escape=n!==void 0?n:Mee,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=o?eu(o):i||"{{",this.suffix=s?eu(s):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=p?eu(p):g||eu("$t("),this.nestingSuffix=h?eu(h):b||eu(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=S||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 S=e3(n,c,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,r,{...a,...n,interpolationkey:g}):S}const h=g.split(this.formatSeparator),b=h.shift().trim(),y=h.join(this.formatSeparator).trim();return this.format(e3(n,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),y,r,{...a,...n,interpolationkey:b})};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=>CS(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?CS(this.escape(g)):CS(g)}].forEach(g=>{for(s=0;o=g.regex.exec(t);){const h=o[1].trim();if(i=u(h),i===void 0)if(typeof d=="function"){const y=d(t,o,a);i=typeof y=="string"?y:""}else if(a&&Object.prototype.hasOwnProperty.call(a,h))i="";else if(f){i=o[0];continue}else this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=GA(i));const b=g.safeValue(i);if(t=t.replace(o[0],b),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),h=p.match(/"/g);(g&&g.length%2===0&&!h||h.length%2!==0)&&(p=p.replace(/'/g,'"'));try{i=JSON.parse(p),u&&(i={...u,...i})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,b),`${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=GA(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 Gee=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}},tu=e=>{const t={};return(n,r,a)=>{let o=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(o={...o,[a.interpolationkey]:void 0});const i=r+JSON.stringify(o);let s=t[i];return s||(s=e(Jv(r),a),t[i]=s),s(n)}};class qee{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Mi.create("formatter"),this.options=t,this.formats={number:tu((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:tu((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:tu((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:tu((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:tu((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()]=tu(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}=Gee(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 Kee=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class Yee extends a0{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=Mi.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),!n&&r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(c=>{Nee(c.loaded,[o],i),Kee(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 t3=()=>({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}}),n3=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),Km=()=>{},Xee=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class Qp extends a0{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=n3(t),this.services={},this.logger=Mi,this.modules={external:[]},Xee(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=t3();this.options={...a,...this.options,...n3(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?Mi.init(o(this.modules.logger),this.options):Mi.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=qee);const f=new QA(this.options);this.store=new XA(this.options.resources,this.options);const p=this.services;p.logger=Mi,p.resourceStore=this.store,p.languageUtils=f,p.pluralResolver=new Vee(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 Wee(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new Yee(o(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",function(g){for(var h=arguments.length,b=new Array(h>1?h-1:0),y=1;y1?h-1:0),y=1;y{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Km),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=If(),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]:Km;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=If();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Km),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"&&f9.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=If();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}${h}`):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===0||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=If();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=If();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 QA(t3());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 Qp(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Km;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},o=new Qp(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 XA(this.store.data,a),o.services.resourceStore=o.store),o.translator=new eb(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&&(lc(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},r3={},gT=(...e)=>{lc(e[0])&&r3[e[0]]||(lc(e[0])&&(r3[e[0]]=new Date),Zee(...e))},p9=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},a3=(e,t,n)=>{e.loadNamespaces(t,p9(e,n))},o3=(e,t,n,r)=>{lc(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,p9(e,r))},Qee=(e,t,n={})=>!t.languages||!t.languages.length?(gT("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}}),lc=e=>typeof e=="string",Jee=e=>typeof e=="object"&&e!==null,ete=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,tte={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},nte=e=>tte[e],rte=e=>e.replace(ete,nte);let mT={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:rte};const ate=(e={})=>{mT={...mT,...e}},ote=()=>mT;let g9;const ite=e=>{g9=e},ste=()=>g9,lte={type:"3rdParty",init(e){ate(e.options.react),ite(e)}},cte=l.createContext();class ute{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var r;(r=this.usedNamespaces)[n]??(r[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const dte=(e,t)=>{const n=l.useRef();return l.useEffect(()=>{n.current=e},[e,t]),n.current},m9=(e,t,n,r)=>e.getFixedT(t,n,r),fte=(e,t,n,r)=>l.useCallback(m9(e,t,n,r),[e,t,n,r]),Nt=(e,t={})=>{var C,w,E,I;const{i18n:n}=t,{i18n:r,defaultNS:a}=l.useContext(cte)||{},o=n||r||ste();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new ute),!o){gT("You will need to pass in an i18next instance by using initReactI18next");const T=(_,$)=>lc($)?$:Jee($)&&lc($.defaultValue)?$.defaultValue:Array.isArray(_)?_[_.length-1]:_,R=[T,{},!1];return R.t=T,R.i18n={},R.ready=!1,R}(C=o.options.react)!=null&&C.wait&&gT("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...ote(),...o.options.react,...t},{useSuspense:s,keyPrefix:c}=i;let u=a||((w=o.options)==null?void 0:w.defaultNS);u=lc(u)?[u]:u||["translation"],(I=(E=o.reportNamespaces).addUsedNamespaces)==null||I.call(E,u);const d=(o.isInitialized||o.initializedStoreOnce)&&u.every(T=>Qee(T,o,i)),f=fte(o,t.lng||null,i.nsMode==="fallback"?u:u[0],c),p=()=>f,g=()=>m9(o,t.lng||null,i.nsMode==="fallback"?u:u[0],c),[h,b]=l.useState(p);let y=u.join();t.lng&&(y=`${t.lng}${y}`);const S=dte(y),v=l.useRef(!0);l.useEffect(()=>{const{bindI18n:T,bindI18nStore:R}=i;v.current=!0,!d&&!s&&(t.lng?o3(o,t.lng,u,()=>{v.current&&b(g)}):a3(o,u,()=>{v.current&&b(g)})),d&&S&&S!==y&&v.current&&b(g);const _=()=>{v.current&&b(g)};return T&&(o==null||o.on(T,_)),R&&(o==null||o.store.on(R,_)),()=>{v.current=!1,o&&(T==null||T.split(" ").forEach($=>o.off($,_))),R&&o&&R.split(" ").forEach($=>o.store.off($,_))}},[o,y]),l.useEffect(()=>{v.current&&d&&b(p)},[o,c,d]);const x=[h,o,d];if(x.t=h,x.i18n=o,x.ready=d,d||!d&&!s)return x;throw new Promise(T=>{t.lng?o3(o,t.lng,u,()=>T()):a3(o,u,()=>T())})};function hT(e){"@babel/helpers - typeof";return hT=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},hT(e)}function h9(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":hT(XMLHttpRequest))==="object"}function pte(e){return!!e&&typeof e.then=="function"}function gte(e){return pte(e)?e:Promise.resolve(e)}function mte(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 vT={exports:{}},Ym={exports:{}},i3;function hte(){return i3||(i3=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof ya<"u"&&ya,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 h(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 b(O){this.map={},O instanceof b?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)}b.prototype.append=function(O,N){O=p(O),N=g(N);var k=this.map[O];this.map[O]=k?k+", "+N:N},b.prototype.delete=function(O){delete this.map[p(O)]},b.prototype.get=function(O){return O=p(O),this.has(O)?this.map[O]:null},b.prototype.has=function(O){return this.map.hasOwnProperty(p(O))},b.prototype.set=function(O,N){this.map[p(O)]=g(N)},b.prototype.forEach=function(O,N){for(var k in this.map)this.map.hasOwnProperty(k)&&O.call(N,this.map[k],k,this)},b.prototype.keys=function(){var O=[];return this.forEach(function(N,k){O.push(k)}),h(O)},b.prototype.values=function(){var O=[];return this.forEach(function(N){O.push(N)}),h(O)},b.prototype.entries=function(){var O=[];return this.forEach(function(N,k){O.push([k,N])}),h(O)},c.iterable&&(b.prototype[Symbol.iterator]=b.prototype.entries);function y(O){if(O.bodyUsed)return Promise.reject(new TypeError("Already read"));O.bodyUsed=!0}function S(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=S(N);return N.readAsArrayBuffer(O),k}function x(O){var N=new FileReader,k=S(N);return N.readAsText(O),k}function C(O){for(var N=new Uint8Array(O),k=new Array(N.length),M=0;M-1?N:O}function R(O,N){if(!(this instanceof R))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 R){if(O.bodyUsed)throw new TypeError("Already read");this.url=O.url,this.credentials=O.credentials,N.headers||(this.headers=new b(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 b(N.headers)),this.method=T(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()}}}R.prototype.clone=function(){return new R(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 b,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(R.prototype);function P(O,N){if(!(this instanceof P))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 b(N.headers),this.url=N.url||"",this._initBody(O)}E.call(P.prototype),P.prototype.clone=function(){return new P(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new b(this.headers),url:this.url})},P.error=function(){var O=new P(null,{status:0,statusText:""});return O.type="error",O};var D=[301,302,303,307,308];P.redirect=function(O,N){if(D.indexOf(N)===-1)throw new RangeError("Invalid status code");return new P(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 R(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 P(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 b)?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=b,s.Request=R,s.Response=P),i.Headers=b,i.Request=R,i.Response=P,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}(Ym,Ym.exports)),Ym.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof ya<"u"&&ya.fetch?n=ya.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof mte<"u"&&typeof window>"u"){var r=n||hte();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(vT,vT.exports);var v9=vT.exports;const b9=Ma(v9),s3=A_({__proto__:null,default:b9},[v9]);function l3(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 c3(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=c3({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:o},d3?{}:i),c=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{u3(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]}),u3(n,s,a,c),d3=!0}catch(d){a(d)}}},xte=function(t,n,r,a){r&&Sc(r)==="object"&&(r=bT("",r).slice(1)),t.queryStringParams&&(n=bT(n,t.queryStringParams));try{var o;Jp?o=new Jp:o=new tb("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)}},wte=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},gs&&n.indexOf("file:")!==0)return Ste(t,n,r,a);if(h9()||typeof ActiveXObject=="function")return xte(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function pd(e){"@babel/helpers - typeof";return pd=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},pd(e)}function f3(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 ES(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Cte(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return Ite(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=ES(ES(ES({},Rte()),this.options||{}),a),this.allOptions=o,this.services&&this.options.reloadInterval){var i=setInterval(function(){return r.reload()},this.options.reloadInterval);pd(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=gte(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.toLowerCase().indexOf("failed")>-1&&(d.message.indexOf("fetch")>-1||d.message.toLowerCase().indexOf("network")>-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 h=s.services.interpolator.interpolate(g,{lng:p,ns:r});s.options.request(s.options,h,c,function(b,y){u+=1,d.push(b),f.push(y),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)})})})}}}])}();x9.type="backend";const{slice:_te,forEach:$te}=[];function Ote(e){return $te.call(_te.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const p3=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Nte=(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(!p3.test(r.domain))throw new TypeError("option domain is invalid");o+=`; Domain=${r.domain}`}if(r.path){if(!p3.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},g3={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=Nte(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 Rf=null;const m3=()=>{if(Rf!==null)return Rf;try{Rf=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Rf=!1}return Rf};var Mte={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&m3())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&m3()&&window.localStorage.setItem(n,e)}};let _f=null;const h3=()=>{if(_f!==null)return _f;try{_f=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{_f=!1}return _f};var Pte={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&h3())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&h3()&&window.sessionStorage.setItem(n,e)}},Dte={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}},Lte={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}},Fte={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}},jte={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 Bte(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class w9{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=Ote(n,this.options||{},Bte()),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(kte),this.addDetector(Ate),this.addDetector(Mte),this.addDetector(Pte),this.addDetector(Dte),this.addDetector(Lte),this.addDetector(Fte),this.addDetector(jte)}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)}))}}w9.type="languageDetector";kr.use(x9).use(w9).use(lte).init({supportedLngs:["en","de","fr","es"],fallbackLng:"en",ns:["teddycloud"],defaultNS:"teddycloud",debug:!1,backend:{queryStringParams:{v:"2023072701"},loadPath:"/web/translations/{{lng}}.json"},interpolation:{escapeValue:!1}});var C9={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",i=0;i1&&arguments[1]!==void 0?arguments[1]:{},n=[];return se.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(vr(r)):gp.isFragment(r)&&r.props?n=n.concat(vr(r.props.children,t)):n.push(r))}),n}var yT={},Vte=function(t){};function Wte(e,t){}function Gte(e,t){}function qte(){yT={}}function T9(e,t,n){!t&&!yT[n]&&(e(!1,n),yT[n]=!0)}function vn(e,t){T9(Wte,e,t)}function R9(e,t){T9(Gte,e,t)}vn.preMessage=Vte;vn.resetWarned=qte;vn.noteOnce=R9;function ht(e){"@babel/helpers - typeof";return ht=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},ht(e)}function Kte(e,t){if(ht(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ht(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function _9(e){var t=Kte(e,"string");return ht(t)=="symbol"?t:t+""}function W(e,t,n){return(t=_9(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v3(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 Z(e){for(var t=1;t=19;var xT=l.createContext(null);function Xte(e){var t=e.children,n=e.onBatchResize,r=l.useRef(0),a=l.useRef([]),o=l.useContext(xT),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(xT.Provider,{value:i},t)}var O9=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(){!wT||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),nne?(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(){!wT||!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=tne.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}(),N9=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof gd(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new dne(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 gd(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 fne(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}(),A9=typeof WeakMap<"u"?new WeakMap:new O9,M9=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=rne.getInstance(),r=new pne(t,n,this);A9.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){M9.prototype[e]=function(){var t;return(t=A9.get(this))[e].apply(t,arguments)}});var gne=function(){return typeof nb.ResizeObserver<"u"?nb.ResizeObserver:M9}(),Zs=new Map;function mne(e){e.forEach(function(t){var n,r=t.target;(n=Zs.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var P9=new gne(mne);function hne(e,t){Zs.has(e)||(Zs.set(e,new Set),P9.observe(e)),Zs.get(e).add(t)}function vne(e,t){Zs.has(e)&&(Zs.get(e).delete(t),Zs.get(e).size||(P9.unobserve(e),Zs.delete(e)))}function Xn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y3(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;S3+=1;var r=S3;function a(o){if(o===0)B9(r),t();else{var i=F9(function(){a(o-1)});N$.set(r,i)}}return a(n),r};Ut.cancel=function(e){var t=N$.get(e);return B9(e),j9(t)};function z9(e){if(Array.isArray(e))return e}function Ine(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 H9(){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 re(e,t){return z9(e)||Ine(e,t)||O$(e,t)||H9()}function rg(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 Xr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ET(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 x3="data-rc-order",w3="data-rc-priority",Tne="rc-util-key",IT=new Map;function U9(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Tne}function v0(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Rne(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function k$(e){return Array.from((IT.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function V9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Xr())return null;var n=t.csp,r=t.prepend,a=t.priority,o=a===void 0?0:a,i=Rne(r),s=i==="prependQueue",c=document.createElement("style");c.setAttribute(x3,i),s&&o&&c.setAttribute(w3,"".concat(o)),n!=null&&n.nonce&&(c.nonce=n==null?void 0:n.nonce),c.innerHTML=e;var u=v0(t),d=u.firstChild;if(r){if(s){var f=(t.styles||k$(u)).filter(function(p){if(!["prepend","prependQueue"].includes(p.getAttribute(x3)))return!1;var g=Number(p.getAttribute(w3)||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 W9(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=v0(t);return(t.styles||k$(n)).find(function(r){return r.getAttribute(U9(t))===e})}function ag(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=W9(e,t);if(n){var r=v0(t);r.removeChild(n)}}function _ne(e,t){var n=IT.get(e);if(!n||!ET(document,n)){var r=V9("",t),a=r.parentNode;IT.set(e,a),e.removeChild(r)}}function ms(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=v0(n),a=k$(r),o=Z(Z({},n),{},{styles:a});_ne(r,o);var i=W9(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=V9(e,o);return d.setAttribute(U9(o),t),d}function $ne(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 xt(e,t){if(e==null)return{};var n,r,a=$ne(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(vn(!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=re(u,2),p=f[1];return a.internalGet(d)[1]0,void 0),C3+=1}return Zn(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),IS=new A$;function og(e){var t=Array.isArray(e)?e:[e];return IS.has(t)||IS.set(t,new G9(t)),IS.get(t)}var Mne=new WeakMap,TS={};function Pne(e,t){for(var n=Mne,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n=E3.get(e)||"";return n||(Object.keys(e).forEach(function(r){var a=e[r];n+=r,a instanceof G9?n+=a.id:a&&ht(a)==="object"?n+=hp(a,t):n+=a}),t&&(n=rg(n)),E3.set(e,n)),n}function I3(e,t){return rg("".concat(t,"_").concat(hp(e,!0)))}var RT=Xr();function K(e){return typeof e=="number"?"".concat(e,"px"):e}function ab(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=Z(Z({},r),{},W(W({},md,t),ci,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 rv=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()},Dne=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=re(a,2),i=o[0],s=o[1];return"".concat(i,":").concat(s,";")}).join(""),"}"):""},q9=function(t,n,r){var a={},o={};return Object.entries(t).forEach(function(i){var s,c,u=re(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=rv(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,Dne(a,n,{scope:r==null?void 0:r.scope})]},T3=Xr()?l.useLayoutEffect:l.useEffect,Xt=function(t,n){var r=l.useRef(!0);T3(function(){return t(r.current)},n),T3(function(){return r.current=!1,function(){r.current=!0}},[])},cc=function(t,n){Xt(function(r){if(!r)return t()},n)},Lne=Z({},Lg),R3=Lne.useInsertionEffect,Fne=function(t,n,r){l.useMemo(t,r),Xt(function(){return n(!0)},r)},jne=R3?function(e,t,n){return R3(function(){return e(),t()},n)}:Fne,Bne=Z({},Lg),zne=Bne.useInsertionEffect,Hne=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},Une=function(){return function(t){t()}},Vne=typeof zne<"u"?Hne:Une;function M$(e,t,n,r,a){var o=l.useContext(b0),i=o.cache,s=[e].concat(De(t)),c=TT(s),u=Vne([c]),d=function(h){i.opUpdate(c,function(b){var y=b||[void 0,void 0],S=re(y,2),v=S[0],x=v===void 0?0:v,C=S[1],w=C,E=w||n(),I=[x,E];return h?h(I):I})};l.useMemo(function(){d()},[c]);var f=i.opGet(c),p=f[1];return jne(function(){a==null||a(p)},function(g){return d(function(h){var b=re(h,2),y=b[0],S=b[1];return g&&y===0&&(a==null||a(p)),[y+1,S]}),function(){i.opUpdate(c,function(h){var b=h||[],y=re(b,2),S=y[0],v=S===void 0?0:S,x=y[1],C=v-1;return C===0?(u(function(){(g||!i.opGet(c))&&(r==null||r(x,!1))}),null):[v-1,x]})}},[c]),p}var Wne={},Gne="css",ql=new Map;function qne(e){ql.set(e,(ql.get(e)||0)+1)}function Kne(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(md,'="').concat(e,'"]'));n.forEach(function(r){if(r[Qs]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var Yne=0;function Xne(e,t){ql.set(e,(ql.get(e)||0)-1);var n=Array.from(ql.keys()),r=n.filter(function(a){var o=ql.get(a)||0;return o<=0});n.length-r.length>Yne&&r.forEach(function(a){Kne(a,t),ql.delete(a)})}var K9=function(t,n,r,a){var o=r.getDerivativeToken(t),i=Z(Z({},o),n);return a&&(i=a(i)),i},Y9="token";function Zne(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=l.useContext(b0),a=r.cache.instanceId,o=r.container,i=n.salt,s=i===void 0?"":i,c=n.override,u=c===void 0?Wne:c,d=n.formatToken,f=n.getComputedToken,p=n.cssVar,g=Pne(function(){return Object.assign.apply(Object,[{}].concat(De(t)))},t),h=hp(g),b=hp(u),y=p?hp(p):"",S=M$(Y9,[s,e.id,h,b,y],function(){var v,x=f?f(g,u,e):K9(g,u,e,d),C=Z({},x),w="";if(p){var E=q9(x,p.key,{prefix:p.prefix,ignore:p.ignore,unitless:p.unitless,preserve:p.preserve}),I=re(E,2);x=I[0],w=I[1]}var T=I3(x,s);x._tokenKey=T,C._tokenKey=I3(C,s);var R=(v=p==null?void 0:p.key)!==null&&v!==void 0?v:T;x._themeKey=R,qne(R);var _="".concat(Gne,"-").concat(rg(T));return x._hashId=_,[x,_,C,w,(p==null?void 0:p.key)||""]},function(v){Xne(v[0]._themeKey,a)},function(v){var x=re(v,4),C=x[0],w=x[3];if(p&&w){var E=ms(w,rg("css-variables-".concat(C._themeKey)),{mark:ci,prepend:"queue",attachTo:o,priority:-999});E[Qs]=a,E.setAttribute(md,C._themeKey)}});return S}var Qne=function(t,n,r){var a=re(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=ab(i,s,d,p,u);return[f,d,g]},Jne={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},X9="comm",Z9="rule",Q9="decl",ere="@import",tre="@keyframes",nre="@layer",J9=Math.abs,P$=String.fromCharCode;function eH(e){return e.trim()}function av(e,t,n){return e.replace(t,n)}function rre(e,t,n){return e.indexOf(t,n)}function ig(e,t){return e.charCodeAt(t)|0}function hd(e,t,n){return e.slice(t,n)}function $i(e){return e.length}function are(e){return e.length}function Xm(e,t){return t.push(e),e}var y0=1,vd=1,tH=0,Ho=0,Tr=0,Bd="";function D$(e,t,n,r,a,o,i,s){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:y0,column:vd,length:i,return:"",siblings:s}}function ore(){return Tr}function ire(){return Tr=Ho>0?ig(Bd,--Ho):0,vd--,Tr===10&&(vd=1,y0--),Tr}function ui(){return Tr=Ho2||sg(Tr)>3?"":" "}function ure(e,t){for(;--t&&ui()&&!(Tr<48||Tr>102||Tr>57&&Tr<65||Tr>70&&Tr<97););return S0(e,ov()+(t<6&&Js()==32&&ui()==32))}function _T(e){for(;ui();)switch(Tr){case e:return Ho;case 34:case 39:e!==34&&e!==39&&_T(Tr);break;case 40:e===41&&_T(e);break;case 92:ui();break}return Ho}function dre(e,t){for(;ui()&&e+Tr!==57;)if(e+Tr===84&&Js()===47)break;return"/*"+S0(t,Ho-1)+"*"+P$(e===47?e:ui())}function fre(e){for(;!sg(Js());)ui();return S0(e,Ho)}function pre(e){return lre(iv("",null,null,null,[""],e=sre(e),0,[0],e))}function iv(e,t,n,r,a,o,i,s,c){for(var u=0,d=0,f=i,p=0,g=0,h=0,b=1,y=1,S=1,v=0,x="",C=a,w=o,E=r,I=x;y;)switch(h=v,v=ui()){case 40:if(h!=108&&ig(I,f-1)==58){rre(I+=av(RS(v),"&","&\f"),"&\f",J9(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:I+=RS(v);break;case 9:case 10:case 13:case 32:I+=cre(h);break;case 92:I+=ure(ov()-1,7);continue;case 47:switch(Js()){case 42:case 47:Xm(gre(dre(ui(),ov()),t,n,c),c),(sg(h||1)==5||sg(Js()||1)==5)&&$i(I)&&hd(I,-1,void 0)!==" "&&(I+=" ");break;default:I+="/"}break;case 123*b:s[u++]=$i(I)*S;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+d:S==-1&&(I=av(I,/\f/g,"")),g>0&&($i(I)-f||b===0&&h===47)&&Xm(g>32?$3(I+";",r,n,f-1,c):$3(av(I," ","")+";",r,n,f-2,c),c);break;case 59:I+=";";default:if(Xm(E=_3(I,t,n,u,d,a,s,x,C=[],w=[],f,o),o),v===123)if(d===0)iv(I,t,E,E,C,o,f,s,w);else switch(p===99&&ig(I,3)===110?100:p){case 100:case 108:case 109:case 115:iv(e,E,E,r&&Xm(_3(e,E,E,0,0,a,s,x,a,C=[],f,w),w),a,w,f,s,r?C:w);break;default:iv(I,E,E,E,[""],w,0,s,w)}}u=d=g=0,b=S=1,x=I="",f=i;break;case 58:f=1+$i(I),g=h;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&ire()==125)continue}switch(I+=P$(v),v*b){case 38:S=d>0?1:(I+="\f",-1);break;case 44:s[u++]=($i(I)-1)*S,S=1;break;case 64:Js()===45&&(I+=RS(ui())),p=Js(),d=f=$i(x=I+=fre(ov())),v++;break;case 45:h===45&&$i(I)==2&&(b=0)}}return o}function _3(e,t,n,r,a,o,i,s,c,u,d,f){for(var p=a-1,g=a===0?o:[""],h=are(g),b=0,y=0,S=0;b0?g[v]+" "+x:av(x,/&\f/g,g[v])))&&(c[S++]=C);return D$(e,t,n,a===0?Z9:s,c,u,d,f)}function gre(e,t,n,r){return D$(e,t,n,X9,P$(ore()),hd(e,2,-2),0,r)}function $3(e,t,n,r,a){return D$(e,t,n,Q9,hd(e,0,r),hd(e,r+1,-1),r,a)}function $T(e,t){for(var n="",r=0;r1&&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 h(S){var v=S.getName(s);if(!g[v]){var x=e(S.style,n,{root:!1,parentSelectors:i}),C=re(x,1),w=C[0];g[v]="@keyframes ".concat(S.getName(s)).concat(w)}}function b(S){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return S.forEach(function(x){Array.isArray(x)?b(x,v):x&&v.push(x)}),v}var y=b(Array.isArray(t)?t:[t]);return y.forEach(function(S){var v=typeof S=="string"&&!a?{}:S;if(typeof v=="string")p+="".concat(v,` +`);else if(v._keyframe)h(v);else{var x=f.reduce(function(C,w){var E;return(w==null||(E=w.visit)===null||E===void 0?void 0:E.call(w,C))||C},v);Object.keys(x).forEach(function(C){var w=x[C];if(ht(w)==="object"&&w&&(C!=="animationName"||!w._keyframe)&&!Sre(w)){var E=!1,I=C.trim(),T=!1;(a||o)&&s?I.startsWith("@")?E=!0:I==="&"?I=N3("",s,u):I=N3(C,s,u):a&&!s&&(I==="&"||I==="")&&(I="",T=!0);var R=e(w,n,{root:T,injectHash:E,parentSelectors:[].concat(De(i),[I])}),_=re(R,2),$=_[0],P=_[1];g=Z(Z({},g),P),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;!Jne[N]&&typeof L=="number"&&L!==0&&(L="".concat(L,"px")),N==="animationName"&&k!==null&&k!==void 0&&k._keyframe&&(h(k),L=k.getName(s)),p+="".concat(M,":").concat(L,";")};var D,A=(D=w==null?void 0:w.value)!==null&&D!==void 0?D:w;ht(w)==="object"&&w!==null&&w!==void 0&&w[aH]&&Array.isArray(A)?A.forEach(function(N){O(C,N)}):O(C,A)}})}}),a?c&&(p="@layer ".concat(c.name," {").concat(p,"}"),c.dependencies&&(g["@layer ".concat(c.name)]=c.dependencies.map(function(S){return"@layer ".concat(S,", ").concat(c.name,";")}).join(` +`))):p="{".concat(p,"}"),[p,g]};function oH(e,t){return rg("".concat(e.join("%")).concat(t))}function wre(){return null}var iH="style";function OT(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(b0),f=d.autoClear;d.mock;var p=d.defaultCache,g=d.hashPriority,h=d.container,b=d.ssrInline,y=d.transformers,S=d.linters,v=d.cache,x=d.layer,C=n._tokenKey,w=[C];x&&w.push("layer"),w.push.apply(w,De(r));var E=RT,I=M$(iH,w,function(){var P=w.join("|");if(vre(P)){var D=bre(P),A=re(D,2),O=A[0],N=A[1];if(O)return[O,C,N,{},s,u]}var k=t(),M=xre(k,{hashId:a,hashPriority:g,layer:x?o:void 0,path:r.join("-"),transformers:y,linters:S}),L=re(M,2),F=L[0],j=L[1],B=sv(F),z=oH(w,B);return[B,C,z,j,s,u]},function(P,D){var A=re(P,3),O=A[2];(D||f)&&RT&&ag(O,{mark:ci})},function(P){var D=re(P,4),A=D[0];D[1];var O=D[2],N=D[3];if(E&&A!==nH){var k={mark:ci,prepend:x?!1:"queue",attachTo:h,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){ms(sv(N[B]),"_layer-".concat(B),Z(Z({},k),{},{prepend:!0}))});var j=ms(A,O,k);j[Qs]=v.instanceId,j.setAttribute(md,C),F.forEach(function(B){ms(sv(N[B]),"_effect-".concat(B),k)})}}),T=re(I,3),R=T[0],_=T[1],$=T[2];return function(P){var D;return!b||E||!p?D=l.createElement(wre,null):D=l.createElement("style",pe({},W(W({},md,_),ci,$),{dangerouslySetInnerHTML:{__html:R}})),l.createElement(l.Fragment,null,D,P)}}var Cre=function(t,n,r){var a=re(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,h={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return g=ab(o,i,s,h,p),c&&Object.keys(c).forEach(function(b){if(!n[b]){n[b]=!0;var y=sv(c[b]),S=ab(y,i,"_effect-".concat(b),h,p);b.startsWith("@layer")?g=S+g:g+=S}}),[d,s,g]},sH="cssVar",Ere=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(b0),f=d.cache.instanceId,p=d.container,g=s._tokenKey,h=[].concat(De(t.path),[r,u,g]),b=M$(sH,h,function(){var y=n(),S=q9(y,r,{prefix:a,unitless:o,ignore:i,scope:u}),v=re(S,2),x=v[0],C=v[1],w=oH(h,C);return[x,C,w,r]},function(y){var S=re(y,3),v=S[2];RT&&ag(v,{mark:ci})},function(y){var S=re(y,3),v=S[1],x=S[2];if(v){var C=ms(v,x,{mark:ci,prepend:"queue",attachTo:p,priority:-999});C[Qs]=f,C.setAttribute(md,r)}});return b},Ire=function(t,n,r){var a=re(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=ab(o,s,i,f,u);return[d,i,p]};W(W(W({},iH,Cre),Y9,Qne),sH,Ire);var un=function(){function e(t,n){Xn(this,e),W(this,"name",void 0),W(this,"style",void 0),W(this,"_keyframe",!0),this.name=t,this.style=n}return Zn(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 nu(e){return e.notSplit=!0,e}nu(["borderTop","borderBottom"]),nu(["borderTop"]),nu(["borderBottom"]),nu(["borderLeft","borderRight"]),nu(["borderLeft"]),nu(["borderRight"]);var L$=l.createContext({});function lH(e){return z9(e)||L9(e)||O$(e)||H9()}function fo(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!fo(e,t.slice(0,-1))?e:cH(e,t,n,r)}function Tre(e){return ht(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function k3(e){return Array.isArray(e)?[]:{}}var Rre=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function Lu(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=_re,e},uH=l.createContext(void 0);var dH={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"},Ore={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},Nre=Z(Z({},Ore),{},{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 fH={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},ob={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"]},Nre),timePickerLocale:Object.assign({},fH)},ro="${label} is not a valid ${type}",Uo={locale:"en",Pagination:dH,DatePicker:ob,TimePicker:fH,Calendar:ob,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:ro,method:ro,array:ro,object:ro,number:ro,date:ro,boolean:ro,integer:ro,float:ro,regexp:ro,email:ro,url:ro,hex:ro},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 lv=Object.assign({},Uo.Modal),cv=[];const A3=()=>cv.reduce((e,t)=>Object.assign(Object.assign({},e),t),Uo.Modal);function kre(e){if(e){const t=Object.assign({},e);return cv.push(t),lv=A3(),()=>{cv=cv.filter(n=>n!==t),lv=A3()}}lv=Object.assign({},Uo.Modal)}function pH(){return lv}const F$=l.createContext(void 0),qi=(e,t)=>{const n=l.useContext(F$),r=l.useMemo(()=>{var o;const i=t||Uo[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?Uo.locale:o},[n]);return[r,a]},Are="internalMark",Mre=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;l.useEffect(()=>kre(t==null?void 0:t.Modal),[t]);const a=l.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return l.createElement(F$.Provider,{value:a},n)};function la(e,t){Pre(e)&&(e="100%");var n=Dre(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 Zm(e){return Math.min(1,Math.max(0,e))}function Pre(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Dre(e){return typeof e=="string"&&e.indexOf("%")!==-1}function gH(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Qm(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Zl(e){return e.length===1?"0"+e:String(e)}function Lre(e,t,n){return{r:la(e,255)*255,g:la(t,255)*255,b:la(n,255)*255}}function M3(e,t,n){e=la(e,255),t=la(t,255),n=la(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 Fre(e,t,n){var r,a,o;if(e=la(e,360),t=la(t,100),n=la(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=_S(s,i,e+1/3),a=_S(s,i,e),o=_S(s,i,e-1/3)}return{r:r*255,g:a*255,b:o*255}}function NT(e,t,n){e=la(e,255),t=la(t,255),n=la(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 AT={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 Cu(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=Wre(e)),typeof e=="object"&&(Zi(e.r)&&Zi(e.g)&&Zi(e.b)?(t=Lre(e.r,e.g,e.b),i=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Zi(e.h)&&Zi(e.s)&&Zi(e.v)?(r=Qm(e.s),a=Qm(e.v),t=jre(e.h,r,a),i=!0,s="hsv"):Zi(e.h)&&Zi(e.s)&&Zi(e.l)&&(r=Qm(e.s),o=Qm(e.l),t=Fre(e.h,r,o),i=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=gH(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 Ure="[-\\+]?\\d+%?",Vre="[-\\+]?\\d*\\.\\d+%?",el="(?:".concat(Vre,")|(?:").concat(Ure,")"),$S="[\\s|\\(]+(".concat(el,")[,|\\s]+(").concat(el,")[,|\\s]+(").concat(el,")\\s*\\)?"),OS="[\\s|\\(]+(".concat(el,")[,|\\s]+(").concat(el,")[,|\\s]+(").concat(el,")[,|\\s]+(").concat(el,")\\s*\\)?"),Jo={CSS_UNIT:new RegExp(el),rgb:new RegExp("rgb"+$S),rgba:new RegExp("rgba"+OS),hsl:new RegExp("hsl"+$S),hsla:new RegExp("hsla"+OS),hsv:new RegExp("hsv"+$S),hsva:new RegExp("hsva"+OS),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 Wre(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(AT[e])e=AT[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Jo.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Jo.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Jo.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Jo.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Jo.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Jo.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Jo.hex8.exec(e),n?{r:oo(n[1]),g:oo(n[2]),b:oo(n[3]),a:P3(n[4]),format:t?"name":"hex8"}:(n=Jo.hex6.exec(e),n?{r:oo(n[1]),g:oo(n[2]),b:oo(n[3]),format:t?"name":"hex"}:(n=Jo.hex4.exec(e),n?{r:oo(n[1]+n[1]),g:oo(n[2]+n[2]),b:oo(n[3]+n[3]),a:P3(n[4]+n[4]),format:t?"name":"hex8"}:(n=Jo.hex3.exec(e),n?{r:oo(n[1]+n[1]),g:oo(n[2]+n[2]),b:oo(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Zi(e){return!!Jo.CSS_UNIT.exec(String(e))}var an=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=Hre(t)),this.originalInput=t;var a=Cu(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=gH(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=NT(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=NT(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=M3(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=M3(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),kT(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),Bre(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(la(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(la(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="#"+kT(this.r,this.g,this.b,!1),n=0,r=Object.entries(AT);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=Zm(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=Zm(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=Zm(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=Zm(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)-Jm*t:Math.round(e.h)+Jm*t:r=n?Math.round(e.h)+Jm*t:Math.round(e.h)-Jm*t,r<0?r+=360:r>=360&&(r-=360),r}function j3(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-D3*t:t===hH?r=e.s+D3:r=e.s+Gre*t,r>1&&(r=1),n&&t===mH&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function B3(e,t,n){var r;return n?r=e.v+qre*t:r=e.v-Kre*t,r>1&&(r=1),Number(r.toFixed(2))}function wc(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Cu(e),a=mH;a>0;a-=1){var o=L3(r),i=eh(Cu({h:F3(o,a,!0),s:j3(o,a,!0),v:B3(o,a,!0)}));n.push(i)}n.push(eh(r));for(var s=1;s<=hH;s+=1){var c=L3(r),u=eh(Cu({h:F3(c,s),s:j3(c,s),v:B3(c,s)}));n.push(u)}return t.theme==="dark"?Yre.map(function(d){var f=d.index,p=d.opacity,g=eh(Xre(Cu(t.backgroundColor||"#141414"),Cu(n[f]),p*100));return g}):n}var Ju={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"},MT=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];MT.primary=MT[5];var PT=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];PT.primary=PT[5];var DT=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];DT.primary=DT[5];var ib=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];ib.primary=ib[5];var LT=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];LT.primary=LT[5];var FT=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];FT.primary=FT[5];var jT=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];jT.primary=jT[5];var BT=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];BT.primary=BT[5];var bd=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];bd.primary=bd[5];var zT=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];zT.primary=zT[5];var HT=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];HT.primary=HT[5];var UT=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];UT.primary=UT[5];var VT=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];VT.primary=VT[5];var NS={red:MT,volcano:PT,orange:DT,gold:ib,yellow:LT,lime:FT,green:jT,cyan:BT,blue:bd,geekblue:zT,purple:HT,magenta:UT,grey:VT};const j$={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"},yd=Object.assign(Object.assign({},j$),{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 vH(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),h=n(i),b=n(s),y=r(u,d),S=e.colorLink||e.colorInfo,v=n(S);return Object.assign(Object.assign({},y),{colorPrimaryBg:f[1],colorPrimaryBgHover:f[2],colorPrimaryBorder:f[3],colorPrimaryBorderHover:f[4],colorPrimaryHover:f[5],colorPrimary:f[6],colorPrimaryActive:f[7],colorPrimaryTextHover:f[8],colorPrimaryText:f[9],colorPrimaryTextActive:f[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:h[1],colorErrorBgHover:h[2],colorErrorBgActive:h[3],colorErrorBorder:h[3],colorErrorBorderHover:h[4],colorErrorHover:h[5],colorError:h[6],colorErrorActive:h[7],colorErrorTextHover:h[8],colorErrorText:h[9],colorErrorTextActive:h[10],colorWarningBg: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:b[1],colorInfoBgHover:b[2],colorInfoBorder:b[3],colorInfoBorderHover:b[4],colorInfoHover:b[4],colorInfo:b[6],colorInfoActive:b[7],colorInfoTextHover:b[8],colorInfoText:b[9],colorInfoTextActive:b[10],colorLinkHover:v[4],colorLink:v[6],colorLinkActive:v[7],colorBgMask:new an("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Zre=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 Qre(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},Zre(r))}const bH=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function uv(e){return(e+8)/e}function Jre(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:uv(n)}))}const yH=e=>{const t=Jre(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 eae(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 Qi=(e,t)=>new an(e).setAlpha(t).toRgbString(),$f=(e,t)=>new an(e).darken(t).toHexString(),tae=e=>{const t=wc(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]}},nae=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Qi(r,.88),colorTextSecondary:Qi(r,.65),colorTextTertiary:Qi(r,.45),colorTextQuaternary:Qi(r,.25),colorFill:Qi(r,.15),colorFillSecondary:Qi(r,.06),colorFillTertiary:Qi(r,.04),colorFillQuaternary:Qi(r,.02),colorBgLayout:$f(n,4),colorBgContainer:$f(n,0),colorBgElevated:$f(n,0),colorBgSpotlight:Qi(r,.85),colorBgBlur:"transparent",colorBorder:$f(n,15),colorBorderSecondary:$f(n,6)}};function Hg(e){Ju.pink=Ju.magenta,NS.pink=NS.magenta;const t=Object.keys(j$).map(n=>{const r=e[n]===Ju[n]?NS[n]:wc(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),vH(e,{generateColorPalettes:tae,generateNeutralColorPalettes:nae})),yH(e.fontSize)),eae(e)),bH(e)),Qre(e))}const SH=og(Hg),lg={token:yd,override:{override:yd},hashed:!0},B$=se.createContext(lg),cg="ant",z$="anticon",rae=["outlined","borderless","filled"],aae=(e,t)=>t||(e?`${cg}-${e}`:cg),st=l.createContext({getPrefixCls:aae,iconPrefixCls:z$}),oae=`-ant-${Date.now()}-${Math.random()}`;function iae(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 an(i),u=wc(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 an(t.primaryColor),s=wc(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 an(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 sae(e,t){const n=iae(e,t);Xr()&&ms(n,`${oae}-dynamic-theme`)}const Zr=l.createContext(!1),H$=e=>{let{children:t,disabled:n}=e;const r=l.useContext(Zr);return l.createElement(Zr.Provider,{value:n??r},t)},Cc=l.createContext(void 0),lae=e=>{let{children:t,size:n}=e;const r=l.useContext(Cc);return l.createElement(Cc.Provider,{value:n||r},t)};function cae(){const e=l.useContext(Zr),t=l.useContext(Cc);return{componentDisabled:e,componentSize:t}}var xH=Zn(function e(){Xn(this,e)}),wH="CALC_UNIT",uae=new RegExp(wH,"g");function kS(e){return typeof e=="number"?"".concat(e).concat(wH):e}var dae=function(e){Eo(n,e);var t=Ko(n);function n(r,a){var o;Xn(this,n),o=t.call(this),W(Ue(o),"result",""),W(Ue(o),"unitlessCssVar",void 0),W(Ue(o),"lowPriority",void 0);var i=ht(r);return o.unitlessCssVar=a,r instanceof n?o.result="(".concat(r.result,")"):i==="number"?o.result=kS(r):i==="string"&&(o.result=r),o}return Zn(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(kS(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(kS(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(uae,c?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(xH),fae=function(e){Eo(n,e);var t=Ko(n);function n(r){var a;return Xn(this,n),a=t.call(this),W(Ue(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return Zn(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}(xH),pae=function(t,n){var r=t==="css"?dae:fae;return function(a){return new r(a,n)}},z3=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 Wt(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>vae&&(n.map.delete(o),n.lastAccessBeat.delete(o))}),this.accessBeat=0}}}]),e}(),W3=new bae;function yae(e,t){return se.useMemo(function(){var n=W3.get(t);if(n)return n;var r=e();return W3.set(t,r),r},t)}var Sae=function(){return{}};function xae(e){var t=e.useCSP,n=t===void 0?Sae:t,r=e.useToken,a=e.usePrefix,o=e.getResetStyles,i=e.getCommonStyle,s=e.getCompUnitless;function c(p,g,h,b){var y=Array.isArray(p)?p[0]:p;function S(T){return"".concat(String(y)).concat(T.slice(0,1).toUpperCase()).concat(T.slice(1))}var v=(b==null?void 0:b.unitless)||{},x=typeof s=="function"?s(p):{},C=Z(Z({},x),{},W({},S("zIndexPopup"),!0));Object.keys(v).forEach(function(T){C[S(T)]=v[T]});var w=Z(Z({},b),{},{unitless:C,prefixToken:S}),E=d(p,g,h,w),I=u(y,h,w);return function(T){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T,_=E(T,R),$=re(_,2),P=$[1],D=I(R),A=re(D,2),O=A[0],N=A[1];return[O,P,N]}}function u(p,g,h){var b=h.unitless,y=h.injectStyle,S=y===void 0?!0:y,v=h.prefixToken,x=h.ignore,C=function(I){var T=I.rootCls,R=I.cssVar,_=R===void 0?{}:R,$=r(),P=$.realToken;return Ere({path:[p],prefix:_.prefix,key:_.key,unitless:b,ignore:x,token:P,scope:T},function(){var D=V3(p,P,g),A=H3(p,P,D,{deprecatedTokens:h==null?void 0:h.deprecatedTokens});return Object.keys(D).forEach(function(O){A[v(O)]=A[O],delete A[O]}),A}),null},w=function(I){var T=r(),R=T.cssVar;return[function(_){return S&&R?se.createElement(se.Fragment,null,se.createElement(C,{rootCls:I,cssVar:R,component:p}),_):_},R==null?void 0:R.key]};return w}function d(p,g,h){var b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},y=Array.isArray(p)?p:[p,p],S=re(y,1),v=S[0],x=y.join("-");return function(C){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C,E=r(),I=E.theme,T=E.realToken,R=E.hashId,_=E.token,$=E.cssVar,P=a(),D=P.rootPrefixCls,A=P.iconPrefixCls,O=n(),N=$?"css":"js",k=yae(function(){var z=new Set;return $&&Object.keys(b.unitless||{}).forEach(function(H){z.add(rv(H,$.prefix)),z.add(rv(H,z3(v,$.prefix)))}),pae(N,z)},[N,v,$==null?void 0:$.prefix]),M=hae(N),L=M.max,F=M.min,j={theme:I,token:_,hashId:R,nonce:function(){return O.nonce},clientOnly:b.clientOnly,layer:{name:"antd"},order:b.order||-999};OT(Z(Z({},j),{},{clientOnly:!1,path:["Shared",D]}),function(){return typeof o=="function"?o(_):[]});var B=OT(Z(Z({},j),{},{path:[x,C,A]}),function(){if(b.injectStyle===!1)return[];var z=mae(_),H=z.token,V=z.flush,te=V3(v,T,h),Y=".".concat(C),J=H3(v,T,te,{deprecatedTokens:b.deprecatedTokens});$&&ht(te)==="object"&&Object.keys(te).forEach(function(X){te[X]="var(".concat(rv(X,z3(v,$.prefix)),")")});var G=zt(H,{componentCls:Y,prefixCls:C,iconCls:".".concat(A),antCls:".".concat(D),calc:k,max:L,min:F},$?te:J),U=g(G,{hashId:R,prefixCls:C,rootPrefixCls:D,iconPrefixCls:A});V(v,J);var q=typeof i=="function"?i(G,C,w,b.resetFont):null;return[b.resetStyle===!1?null:q,U]});return[B,R]}}function f(p,g,h){var b=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},y=d(p,g,h,Z({resetStyle:!1,order:-998},b)),S=function(x){var C=x.prefixCls,w=x.rootCls,E=w===void 0?C:w;return y(C,E),null};return S}return{genStyleHooks:c,genSubStyleComponent:f,genComponentStyleHook:d}}const ug=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],wae="5.20.6";function MS(e){return e>=0&&e<=255}function th(e,t){const{r:n,g:r,b:a,a:o}=new an(e).toRgb();if(o<1)return e;const{r:i,g:s,b:c}=new an(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(MS(d)&&MS(f)&&MS(p))return new an({r:d,g:f,b:p,a:Math.round(u*100)/100}).toRgbString()}return new an({r:n,g:r,b:a,a:1}).toRgbString()}var Cae=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:th(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:th(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:th(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:th(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) + `,boxShadowSecondary:` + 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) + `,boxShadowTertiary:` + 0 1px 2px 0 rgba(0, 0, 0, 0.03), + 0 1px 6px -1px rgba(0, 0, 0, 0.02), + 0 2px 4px 0 rgba(0, 0, 0, 0.02) + `,screenXS:o,screenXSMin:o,screenXSMax:i-1,screenSM:i,screenSMMin:i,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:c-1,screenLG:c,screenLGMin:c,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` + 0 1px 2px -2px ${new an("rgba(0, 0, 0, 0.16)").toRgbString()}, + 0 3px 6px 0 ${new an("rgba(0, 0, 0, 0.12)").toRgbString()}, + 0 5px 12px 4px ${new an("rgba(0, 0, 0, 0.09)").toRgbString()} + `,boxShadowDrawerRight:` + -6px 0 16px 0 rgba(0, 0, 0, 0.08), + -3px 0 6px -4px rgba(0, 0, 0, 0.12), + -9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerLeft:` + 6px 0 16px 0 rgba(0, 0, 0, 0.08), + 3px 0 6px -4px rgba(0, 0, 0, 0.12), + 9px 0 28px 8px rgba(0, 0, 0, 0.05) + `,boxShadowDrawerUp:` + 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) + `,boxShadowDrawerDown:` + 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 G3=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=G3(t,["override"]);let i=Object.assign(Object.assign({},r),{override:a});return i=U$(i),o&&Object.entries(o).forEach(s=>{let[c,u]=s;const{theme:d}=u,f=G3(u,["theme"]);let p=f;d&&(p=IH(Object.assign(Object.assign({},i),f),{override:f},d)),i[c]=p}),i};function ta(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=se.useContext(B$),o=`${wae}-${t||""}`,i=n||SH,[s,c,u]=Zne(i,[yd,e],{salt:o,override:r,getComputedToken:IH,formatToken:U$,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:EH,ignore:Eae,preserve:Iae}});return[i,u,t?c:"",s,a]}const V$=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),xo={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},nn=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}},zd=()=>({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"}}),mi=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),Tae=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"}}}),Rae=(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})}},ws=e=>({outline:`${K(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),zi=e=>({"&:focus-visible":Object.assign({},ws(e))}),TH=(e,t)=>{const[n,r]=ta();return OT({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({},zd()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},{genStyleHooks:on,genComponentStyleHook:_ae,genSubStyleComponent:Hd}=xae({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=l.useContext(st);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,a]=ta();return{theme:e,realToken:t,hashId:n,token:r,cssVar:a}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=l.useContext(st);return TH(t,e),e??{}},getResetStyles:e=>[{"&":Tae(e)}],getCommonStyle:Rae,getCompUnitless:()=>EH});function RH(e,t){return ug.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 $ae=Object.assign({},Lg),{useId:q3}=$ae,Oae=()=>"",Nae=typeof q3>"u"?Oae:q3;function kae(e,t,n){var r;$l();const a=e||{},o=a.inherit===!1||!t?Object.assign(Object.assign({},lg),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:lg.hashed,cssVar:t==null?void 0:t.cssVar}):t,i=Nae();return _l(()=>{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!zo(u,f,!0)}))}var Aae=["children"],_H=l.createContext({});function Mae(e){var t=e.children,n=xt(e,Aae);return l.createElement(_H.Provider,{value:n},t)}var Pae=function(e){Eo(n,e);var t=Ko(n);function n(){return Xn(this,n),t.apply(this,arguments)}return Zn(n,[{key:"render",value:function(){return this.props.children}}]),n}(l.Component);function Dae(e){var t=l.useReducer(function(s){return s+1},0),n=re(t,2),r=n[1],a=l.useRef(e),o=Wt(function(){return a.current}),i=Wt(function(s){a.current=typeof s=="function"?s(a.current):s,r()});return[o,i]}var js="none",nh="appear",rh="enter",ah="leave",K3="none",ai="prepare",Fu="start",ju="active",W$="end",$H="prepared";function Y3(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 Lae(e,t){var n={animationend:Y3("Animation","AnimationEnd"),transitionend:Y3("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var Fae=Lae(Xr(),typeof window<"u"?window:{}),OH={};if(Xr()){var jae=document.createElement("div");OH=jae.style}var oh={};function NH(e){if(oh[e])return oh[e];var t=Fae[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=Ut(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 Hae=[ai,Fu,ju,W$],Uae=[ai,$H],DH=!1,Vae=!0;function LH(e){return e===ju||e===W$}const Wae=function(e,t,n){var r=Ec(K3),a=re(r,2),o=a[0],i=a[1],s=zae(),c=re(s,2),u=c[0],d=c[1];function f(){i(ai,!0)}var p=t?Uae:Hae;return PH(function(){if(o!==K3&&o!==W$){var g=p.indexOf(o),h=p[g+1],b=n(o);b===DH?i(h,!0):h&&u(function(y){function S(){y.isCanceled()||i(h,!0)}b===!0?S():Promise.resolve(b).then(S)})}},[e,o]),l.useEffect(function(){return function(){d()}},[]),[f,o]};function Gae(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,h=r.onLeavePrepare,b=r.onAppearStart,y=r.onEnterStart,S=r.onLeaveStart,v=r.onAppearActive,x=r.onEnterActive,C=r.onLeaveActive,w=r.onAppearEnd,E=r.onEnterEnd,I=r.onLeaveEnd,T=r.onVisibleChanged,R=Ec(),_=re(R,2),$=_[0],P=_[1],D=Dae(js),A=re(D,2),O=A[0],N=A[1],k=Ec(null),M=re(k,2),L=M[0],F=M[1],j=O(),B=l.useRef(!1),z=l.useRef(null);function H(){return n()}var V=l.useRef(!1);function te(){N(js),F(null,!0)}var Y=Wt(function(Se){var ve=O();if(ve!==js){var ae=H();if(!(Se&&!Se.deadline&&Se.target!==ae)){var ie=V.current,ue;ve===nh&&ie?ue=w==null?void 0:w(ae,Se):ve===rh&&ie?ue=E==null?void 0:E(ae,Se):ve===ah&&ie&&(ue=I==null?void 0:I(ae,Se)),ie&&ue!==!1&&te()}}}),J=Bae(Y),G=re(J,1),U=G[0],q=function(ve){switch(ve){case nh:return W(W(W({},ai,p),Fu,b),ju,v);case rh:return W(W(W({},ai,g),Fu,y),ju,x);case ah:return W(W(W({},ai,h),Fu,S),ju,C);default:return{}}},X=l.useMemo(function(){return q(j)},[j]),Q=Wae(j,!e,function(Se){if(Se===ai){var ve=X[ai];return ve?ve(H()):DH}if(le in X){var ae;F(((ae=X[le])===null||ae===void 0?void 0:ae.call(X,H(),null))||null)}return le===ju&&j!==js&&(U(H()),d>0&&(clearTimeout(z.current),z.current=setTimeout(function(){Y({deadline:!0})},d))),le===$H&&te(),Vae}),ee=re(Q,2),oe=ee[0],le=ee[1],fe=LH(le);V.current=fe,PH(function(){P(t);var Se=B.current;B.current=!0;var ve;!Se&&t&&s&&(ve=nh),Se&&t&&o&&(ve=rh),(Se&&!t&&u||!Se&&f&&!t&&u)&&(ve=ah);var ae=q(ve);ve&&(e||ae[ai])?(N(ve),oe()):N(js)},[t]),l.useEffect(function(){(j===nh&&!s||j===rh&&!o||j===ah&&!u)&&N(js)},[s,o,u]),l.useEffect(function(){return function(){B.current=!1,clearTimeout(z.current)}},[]);var ce=l.useRef(!1);l.useEffect(function(){$&&(ce.current=!0),$!==void 0&&j===js&&((ce.current||$)&&(T==null||T($)),ce.current=!0)},[$,j]);var Te=L;return X[ai]&&le===Fu&&(Te=Z({transition:"none"},Te)),[j,le,Te,$??t]}function qae(e){var t=e;ht(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,h=a.eventProps,b=l.useContext(_H),y=b.motion,S=n(a,y),v=l.useRef(),x=l.useRef();function C(){try{return v.current instanceof HTMLElement?v.current:mp(x.current)}catch{return null}}var w=Gae(S,s,C,a),E=re(w,4),I=E[0],T=E[1],R=E[2],_=E[3],$=l.useRef(_);_&&($.current=!0);var P=l.useCallback(function(L){v.current=L,tg(o,L)},[o]),D,A=Z(Z({},h),{},{visible:s});if(!f)D=null;else if(I===js)_?D=f(Z({},A),P):!u&&$.current&&g?D=f(Z(Z({},A),{},{className:g}),P):d||!u&&!g?D=f(Z(Z({},A),{},{style:{display:"none"}}),P):D=null;else{var O;T===ai?O="prepare":LH(T)?O="active":T===Fu&&(O="start");var N=Q3(p,"".concat(I,"-").concat(O));D=f(Z(Z({},A),{},{className:ne(Q3(p,I),W(W({},N,N&&O),p,typeof p=="string")),style:R}),P)}if(l.isValidElement(D)&&gi(D)){var k=D,M=k.ref;M||(D=l.cloneElement(D,{ref:P}))}return l.createElement(Pae,{ref:x},D)});return r.displayName="CSSMotion",r}const Qr=qae(MH);var GT="add",qT="keep",KT="remove",PS="removed";function Kae(e){var t;return e&&ht(e)==="object"&&"key"in e?t=e:t={key:e},Z(Z({},t),{},{key:String(t.key)})}function YT(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Kae)}function Yae(){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=YT(e),i=YT(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!==KT}),n.forEach(function(d){d.key===u&&(d.status=qT)})}),n}var Xae=["component","children","onVisibleChanged","onAllRemoved"],Zae=["status"],Qae=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Jae(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Qr,n=function(r){Eo(o,r);var a=Ko(o);function o(){var i;Xn(this,o);for(var s=arguments.length,c=new Array(s),u=0;unull;var noe=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 ioe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:a}=e;t!==void 0&&(sb=t),n!==void 0&&(FH=n),"holderRender"in e&&(BH=a),r&&(ooe(r)?sae(dv(),r):jH=r)},zH=()=>({getPrefixCls:(e,t)=>t||(e?`${dv()}-${e}`:dv()),getIconPrefixCls:aoe,getRootPrefixCls:()=>sb||dv(),getTheme:()=>jH,holderRender:BH}),soe=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:h,legacyLocale:b,parentContext:y,iconPrefixCls:S,theme:v,componentDisabled:x,segmented:C,statistic:w,spin:E,calendar:I,carousel:T,cascader:R,collapse:_,typography:$,checkbox:P,descriptions:D,divider:A,drawer:O,skeleton:N,steps:k,image:M,layout:L,list:F,mentions:j,modal:B,progress:z,result:H,slider:V,breadcrumb:te,menu:Y,pagination:J,input:G,textArea:U,empty:q,badge:X,radio:Q,rate:ee,switch:oe,transfer:le,avatar:fe,message:ce,tag:Te,table:Se,card:ve,tabs:ae,timeline:ie,timePicker:ue,upload:ye,notification:Ee,tree:Me,colorPicker:Ie,datePicker:Ce,rangePicker:me,flex:we,wave:_e,dropdown:Ne,warning:he,tour:ke,floatButtonGroup:xe,variant:ge,inputNumber:Pe,treeSelect:Ve}=e,Ae=l.useCallback((ft,qe)=>{const{prefixCls:We}=e;if(qe)return qe;const Qe=We||y.getPrefixCls("");return ft?`${Qe}-${ft}`:Qe},[y.getPrefixCls,e.prefixCls]),be=S||y.iconPrefixCls||z$,Oe=n||y.csp;TH(be,Oe);const Fe=kae(v,y.theme,{prefixCls:Ae("")}),Ke={csp:Oe,autoInsertSpaceInButton:r,alert:a,anchor:o,locale:s||b,direction:u,space:d,virtual:f,popupMatchSelectWidth:g??p,popupOverflow:h,getPrefixCls:Ae,iconPrefixCls:be,theme:Fe,segmented:C,statistic:w,spin:E,calendar:I,carousel:T,cascader:R,collapse:_,typography:$,checkbox:P,descriptions:D,divider:A,drawer:O,skeleton:N,steps:k,image:M,input:G,textArea:U,layout:L,list:F,mentions:j,modal:B,progress:z,result:H,slider:V,breadcrumb:te,menu:Y,pagination:J,empty:q,badge:X,radio:Q,rate:ee,switch:oe,transfer:le,avatar:fe,message:ce,tag:Te,table:Se,card:ve,tabs:ae,timeline:ie,timePicker:ue,upload:ye,notification:Ee,tree:Me,colorPicker:Ie,datePicker:Ce,rangePicker:me,flex:we,wave:_e,dropdown:Ne,warning:he,tour:ke,floatButtonGroup:xe,variant:ge,inputNumber:Pe,treeSelect:Ve},He=Object.assign({},y);Object.keys(Ke).forEach(ft=>{Ke[ft]!==void 0&&(He[ft]=Ke[ft])}),roe.forEach(ft=>{const qe=e[ft];qe&&(He[ft]=qe)}),typeof r<"u"&&(He.button=Object.assign({autoInsertSpace:r},He.button));const ze=_l(()=>He,He,(ft,qe)=>{const We=Object.keys(ft),Qe=Object.keys(qe);return We.length!==Qe.length||We.some(ct=>ft[ct]!==qe[ct])}),Ze=l.useMemo(()=>({prefixCls:be,csp:Oe}),[be,Oe]);let je=l.createElement(l.Fragment,null,l.createElement(toe,{dropdownMatchSelectWidth:p}),t);const Je=l.useMemo(()=>{var ft,qe,We,Qe;return Lu(((ft=Uo.Form)===null||ft===void 0?void 0:ft.defaultValidateMessages)||{},((We=(qe=ze.locale)===null||qe===void 0?void 0:qe.Form)===null||We===void 0?void 0:We.defaultValidateMessages)||{},((Qe=ze.form)===null||Qe===void 0?void 0:Qe.validateMessages)||{},(i==null?void 0:i.validateMessages)||{})},[ze,i==null?void 0:i.validateMessages]);Object.keys(Je).length>0&&(je=l.createElement(uH.Provider,{value:Je},je)),s&&(je=l.createElement(Mre,{locale:s,_ANT_MARK__:Are},je)),(be||Oe)&&(je=l.createElement(L$.Provider,{value:Ze},je)),c&&(je=l.createElement(lae,{size:c},je)),je=l.createElement(eoe,null,je);const mt=l.useMemo(()=>{const ft=Fe||{},{algorithm:qe,token:We,components:Qe,cssVar:ct}=ft,Rt=noe(ft,["algorithm","token","components","cssVar"]),$t=qe&&(!Array.isArray(qe)||qe.length>0)?og(qe):SH,vt={};Object.entries(Qe||{}).forEach(ot=>{let[et,bt]=ot;const rt=Object.assign({},bt);"algorithm"in rt&&(rt.algorithm===!0?rt.theme=$t:(Array.isArray(rt.algorithm)||typeof rt.algorithm=="function")&&(rt.theme=og(rt.algorithm)),delete rt.algorithm),vt[et]=rt});const lt=Object.assign(Object.assign({},yd),We);return Object.assign(Object.assign({},Rt),{theme:$t,token:lt,components:vt,override:Object.assign({override:lt},vt),cssVar:ct})},[Fe]);return v&&(je=l.createElement(B$.Provider,{value:mt},je)),ze.warning&&(je=l.createElement($re.Provider,{value:ze.warning},je)),x!==void 0&&(je=l.createElement(H$,{disabled:x},je)),l.createElement(st.Provider,{value:ze},je)},yi=e=>{const t=l.useContext(st),n=l.useContext(F$);return l.createElement(soe,Object.assign({parentContext:t,legacyLocale:n},e))};yi.ConfigContext=st;yi.SizeContext=Cc;yi.config=ioe;yi.useConfig=cae;Object.defineProperty(yi,"SizeContext",{get:()=>Cc});var loe={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 HH(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function coe(e){return HH(e)instanceof ShadowRoot}function lb(e){return coe(e)?HH(e):null}function uoe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function doe(e,t){vn(e,"[@ant-design/icons] ".concat(t))}function J3(e){return ht(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(ht(e.icon)==="object"||typeof e.icon=="function")}function eM(){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[uoe(n)]=r}return t},{})}function XT(e,t,n){return n?se.createElement(e.tag,Z(Z({key:t},eM(e.attrs)),n),(e.children||[]).map(function(r,a){return XT(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):se.createElement(e.tag,Z({key:t},eM(e.attrs)),(e.children||[]).map(function(r,a){return XT(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function UH(e){return wc(e)[0]}function VH(e){return e?Array.isArray(e)?e:[e]:[]}var foe=` +.anticon { + display: inline-flex; + align-items: center; + color: inherit; + font-style: normal; + line-height: 0; + text-align: center; + text-transform: none; + vertical-align: -0.125em; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.anticon > * { + line-height: 1; +} + +.anticon svg { + display: inline-block; +} + +.anticon::before { + display: none; +} + +.anticon .anticon-icon { + display: block; +} + +.anticon[tabindex] { + cursor: pointer; +} + +.anticon-spin::before, +.anticon-spin { + display: inline-block; + -webkit-animation: loadingCircle 1s infinite linear; + animation: loadingCircle 1s infinite linear; +} + +@-webkit-keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} + +@keyframes loadingCircle { + 100% { + -webkit-transform: rotate(360deg); + transform: rotate(360deg); + } +} +`,poe=function(t){var n=l.useContext(L$),r=n.csp,a=n.prefixCls,o=foe;a&&(o=o.replace(/anticon/g,a)),l.useEffect(function(){var i=t.current,s=lb(i);ms(o,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},goe=["icon","className","onClick","style","primaryColor","secondaryColor"],vp={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function moe(e){var t=e.primaryColor,n=e.secondaryColor;vp.primaryColor=t,vp.secondaryColor=n||UH(t),vp.calculated=!!n}function hoe(){return Z({},vp)}var Ud=function(t){var n=t.icon,r=t.className,a=t.onClick,o=t.style,i=t.primaryColor,s=t.secondaryColor,c=xt(t,goe),u=l.useRef(),d=vp;if(i&&(d={primaryColor:i,secondaryColor:s||UH(i)}),poe(u),doe(J3(n),"icon should be icon definiton, but got ".concat(n)),!J3(n))return null;var f=n;return f&&typeof f.icon=="function"&&(f=Z(Z({},f),{},{icon:f.icon(d.primaryColor,d.secondaryColor)})),XT(f.icon,"svg-".concat(f.name),Z(Z({className:r,onClick:a,style:o,"data-icon":f.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};Ud.displayName="IconReact";Ud.getTwoToneColors=hoe;Ud.setTwoToneColors=moe;function WH(e){var t=VH(e),n=re(t,2),r=n[0],a=n[1];return Ud.setTwoToneColors({primaryColor:r,secondaryColor:a})}function voe(){var e=Ud.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var boe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];WH(bd.primary);var nt=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=xt(e,boe),d=l.useContext(L$),f=d.prefixCls,p=f===void 0?"anticon":f,g=d.rootClassName,h=ne(g,p,W(W({},"".concat(p,"-").concat(r.name),!!r.name),"".concat(p,"-spin"),!!a||r.name==="loading"),n),b=i;b===void 0&&s&&(b=-1);var y=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,S=VH(c),v=re(S,2),x=v[0],C=v[1];return l.createElement("span",pe({role:"img","aria-label":r.name},u,{ref:t,tabIndex:b,onClick:s,className:h}),l.createElement(Ud,{icon:r,primaryColor:x,secondaryColor:C,style:y}))});nt.displayName="AntdIcon";nt.getTwoToneColor=voe;nt.setTwoToneColor=WH;var yoe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:loe}))},Ug=l.forwardRef(yoe),Soe={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"},xoe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Soe}))},Pc=l.forwardRef(xoe),woe={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"},Coe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:woe}))},Jr=l.forwardRef(Coe),Eoe={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"},Ioe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Eoe}))},x0=l.forwardRef(Ioe),Toe={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"},Roe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Toe}))},q$=l.forwardRef(Roe),_oe=`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 + encType form formAction formEncType formMethod formNoValidate formTarget frameBorder + headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity + is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media + mediaGroup method min minLength multiple muted name noValidate nonce open + optimum pattern placeholder poster preload radioGroup readOnly rel required + reversed role rowSpan rows sandbox scope scoped scrolling seamless selected + shape size sizes span spellCheck src srcDoc srcLang srcSet start step style + summary tabIndex target title type useMap value width wmode wrap`,$oe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown + onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick + onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown + 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`,Ooe="".concat(_oe," ").concat($oe).split(/[\s\n]+/),Noe="aria-",koe="data-";function tM(e,t){return e.indexOf(t)===0}function Yn(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=Z({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||tM(a,Noe))||n.data&&tM(a,koe)||n.attr&&Ooe.includes(a))&&(r[a]=e[a])}),r}function GH(e){return e&&se.isValidElement(e)&&e.type===se.Fragment}const K$=(e,t,n)=>se.isValidElement(e)?se.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function Cr(e,t){return K$(e,e,t)}const ih=(e,t,n,r,a)=>({background:e,border:`${K(r.lineWidth)} ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),Aoe=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:h}=e;return{[t]:Object.assign(Object.assign({},nn(e)),{position:"relative",display:"flex",alignItems:"center",padding:h,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}}},Moe=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":ih(a,r,n,e,t),"&-info":ih(g,p,f,e,t),"&-warning":ih(s,i,o,e,t),"&-error":Object.assign(Object.assign({},ih(d,u,c,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},Poe=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:K(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}}}}},Doe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),Loe=on("Alert",e=>[Aoe(e),Moe(e),Poe(e)],Doe);var nM=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=Foe[r]||null;return t?K$(t,l.createElement("span",{className:`${n}-icon`},t),()=>({className:ne(`${n}-icon`,{[t.props.className]:t.props.className})})):l.createElement(a,{className:`${n}-icon`})},Boe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:a,ariaProps:o}=e,i=r===!0||r===void 0?l.createElement(Jr,null):r;return t?l.createElement("button",Object.assign({type:"button",onClick:a,className:`${n}-close-icon`,tabIndex:0},o),i):null},qH=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:h,closeText:b,closeIcon:y,action:S,id:v}=e,x=nM(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[C,w]=l.useState(!1),E=l.useRef(null);l.useImperativeHandle(t,()=>({nativeElement:E.current}));const{getPrefixCls:I,direction:T,alert:R}=l.useContext(st),_=I("alert",r),[$,P,D]=Loe(_),A=B=>{var z;w(!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 h=="object"&&h.closeIcon||b?!0:typeof h=="boolean"?h:y!==!1&&y!==null&&y!==void 0?!0:!!(R!=null&&R.closable),[b,y,h,R==null?void 0:R.closable]),k=o&&g===void 0?!0:g,M=ne(_,`${_}-${O}`,{[`${_}-with-description`]:!!n,[`${_}-no-icon`]:!k,[`${_}-banner`]:!!o,[`${_}-rtl`]:T==="rtl"},R==null?void 0:R.className,i,s,D,P),L=Yn(x,{aria:!0,data:!0}),F=l.useMemo(()=>{var B,z;return typeof h=="object"&&h.closeIcon?h.closeIcon:b||(y!==void 0?y:typeof(R==null?void 0:R.closable)=="object"&&(!((B=R==null?void 0:R.closable)===null||B===void 0)&&B.closeIcon)?(z=R==null?void 0:R.closable)===null||z===void 0?void 0:z.closeIcon:R==null?void 0:R.closeIcon)},[y,h,b,R==null?void 0:R.closeIcon]),j=l.useMemo(()=>{const B=h??(R==null?void 0:R.closable);return typeof B=="object"?nM(B,["closeIcon"]):{}},[h,R==null?void 0:R.closable]);return $(l.createElement(Qr,{visible:!C,motionName:`${_}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:B=>({maxHeight:B.offsetHeight}),onLeaveEnd:p},(B,z)=>{let{className:H,style:V}=B;return l.createElement("div",Object.assign({id:v,ref:ea(E,z),"data-show":!C,className:ne(M,H),style:Object.assign(Object.assign(Object.assign({},R==null?void 0:R.style),c),V),onMouseEnter:u,onMouseLeave:d,onClick:f,role:"alert"},L),k?l.createElement(joe,{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),S?l.createElement("div",{className:`${_}-action`},S):null,l.createElement(Boe,{isClosable:N,prefixCls:_,closeIcon:F,handleClose:A,ariaProps:j}))}))});function zoe(e,t,n){return t=xc(t),D9(e,h0()?Reflect.construct(t,n||[],xc(e).constructor):t.apply(e,n))}let Hoe=function(e){function t(){var n;return Xn(this,t),n=zoe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Eo(t,e),Zn(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(qH,{id:o,type:"error",message:d,description:l.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},f)}):i}}])}(l.Component);const An=qH;An.ErrorBoundary=Hoe;const rM=e=>typeof e=="object"&&e!=null&&e.nodeType===1,aM=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",DS=(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,Uoe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},oM=(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(!rM(e))throw new TypeError("Invalid target");const p=document.scrollingElement||document.documentElement,g=[];let h=e;for(;rM(h)&&f(h);){if(h=Uoe(h),h===p){g.push(h);break}h!=null&&h===document.body&&DS(h)&&!DS(document.documentElement)||h!=null&&DS(h,d)&&g.push(h)}const b=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,y=(o=(a=window.visualViewport)==null?void 0:a.height)!=null?o:innerHeight,{scrollX:S,scrollY:v}=window,{height:x,width:C,top:w,right:E,bottom:I,left:T}=e.getBoundingClientRect(),{top:R,right:_,bottom:$,left:P}=(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 D=s==="start"||s==="nearest"?w-R:s==="end"?I+$:w+x/2-R+$,A=c==="center"?T+C/2-P+_:c==="end"?E+_:T-P;const O=[];for(let N=0;N=0&&T>=0&&I<=y&&E<=b&&w>=F&&I<=B&&T>=z&&E<=j)return O;const H=getComputedStyle(k),V=parseInt(H.borderLeftWidth,10),te=parseInt(H.borderTopWidth,10),Y=parseInt(H.borderRightWidth,10),J=parseInt(H.borderBottomWidth,10);let G=0,U=0;const q="offsetWidth"in k?k.offsetWidth-k.clientWidth-V-Y:0,X="offsetHeight"in k?k.offsetHeight-k.clientHeight-te-J:0,Q="offsetWidth"in k?k.offsetWidth===0?0:L/k.offsetWidth:0,ee="offsetHeight"in k?k.offsetHeight===0?0:M/k.offsetHeight:0;if(p===k)G=s==="start"?D:s==="end"?D-y:s==="nearest"?sh(v,v+y,y,te,J,v+D,v+D+x,x):D-y/2,U=c==="start"?A:c==="center"?A-b/2:c==="end"?A-b:sh(S,S+b,b,V,Y,S+A,S+A+C,C),G=Math.max(0,G+v),U=Math.max(0,U+S);else{G=s==="start"?D-F-te:s==="end"?D-B+J+X:s==="nearest"?sh(F,B,M,te,J+X,D,D+x,x):D-(F+M/2)+X/2,U=c==="start"?A-z-V:c==="center"?A-(z+L/2)+q/2:c==="end"?A-j+Y+q:sh(z,j,L,V,Y+q,A,A+C,C);const{scrollLeft:oe,scrollTop:le}=k;G=ee===0?0:Math.max(0,Math.min(le+G/ee,k.scrollHeight-M/ee+X)),U=Q===0?0:Math.max(0,Math.min(oe+U/Q,k.scrollWidth-L/Q+q)),D+=le-G,A+=oe-U}O.push({el:k,top:G,left:U})}return O},Voe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Woe(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(oM(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:a,top:o,left:i}of oM(e,Voe(t))){const s=o-n.top+n.bottom,c=i-n.left+n.right;a.scroll({top:s,left:c,behavior:r})}}function ZT(e){return e!=null&&e===e.window}const Goe=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return ZT(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!ZT(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 qoe(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 Koe(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=Goe(o),s=Date.now(),c=()=>{const d=Date.now()-s,f=qoe(d>a?a:d,i,e,a);ZT(o)?o.scrollTo(window.pageXOffset,f):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=f:o.scrollTop=f,d{const[,,,,t]=ta();return t?`${e}-css-var`:""};var Le={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>=Le.F1&&n<=Le.F12)return!1;switch(n){case Le.ALT:case Le.CAPS_LOCK:case Le.CONTEXT_MENU:case Le.CTRL:case Le.DOWN:case Le.END:case Le.ESC:case Le.HOME:case Le.INSERT:case Le.LEFT:case Le.MAC_FF_META:case Le.META:case Le.NUMLOCK:case Le.NUM_CENTER:case Le.PAGE_DOWN:case Le.PAGE_UP:case Le.PAUSE:case Le.PRINT_SCREEN:case Le.RIGHT:case Le.SHIFT:case Le.UP:case Le.WIN_KEY:case Le.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Le.ZERO&&t<=Le.NINE||t>=Le.NUM_ZERO&&t<=Le.NUM_MULTIPLY||t>=Le.A&&t<=Le.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Le.SPACE:case Le.QUESTION_MARK:case Le.NUM_PLUS:case Le.NUM_MINUS:case Le.NUM_PERIOD:case Le.NUM_DIVISION:case Le.SEMICOLON:case Le.DASH:case Le.EQUALS:case Le.COMMA:case Le.PERIOD:case Le.SLASH:case Le.APOSTROPHE:case Le.SINGLE_QUOTE:case Le.OPEN_SQUARE_BRACKET:case Le.BACKSLASH:case Le.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},KH=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,h=g===void 0?"x":g,b=e.props,y=e.onClick,S=e.onNoticeClose,v=e.times,x=e.hovering,C=l.useState(!1),w=re(C,2),E=w[0],I=w[1],T=l.useState(0),R=re(T,2),_=R[0],$=R[1],P=l.useState(0),D=re(P,2),A=D[0],O=D[1],N=x||E,k=i>0&&s,M=function(){S(d)},L=function(V){(V.key==="Enter"||V.code==="Enter"||V.keyCode===Le.ENTER)&&M()};l.useEffect(function(){if(!N&&i>0){var H=Date.now()-A,V=setTimeout(function(){M()},i*1e3-A);return function(){u&&clearTimeout(V),O(Date.now()-H)}}},[i,N,v]),l.useEffect(function(){if(!N&&k&&(u||A===0)){var H=performance.now(),V,te=function Y(){cancelAnimationFrame(V),V=requestAnimationFrame(function(J){var G=J+A-H,U=Math.min(G/(i*1e3),1);$(U*100),U<1&&Y()})};return te(),function(){u&&cancelAnimationFrame(V)}}},[i,A,N,k,v]);var F=l.useMemo(function(){return ht(p)==="object"&&p!==null?p:p?{closeIcon:h}:{}},[p,h]),j=Yn(F,!0),B=100-(!_||_<0?0:_>100?100:_),z="".concat(n,"-notice");return l.createElement("div",pe({},b,{ref:t,className:ne(z,a,W({},"".concat(z,"-closable"),p)),style:r,onMouseEnter:function(V){var te;I(!0),b==null||(te=b.onMouseEnter)===null||te===void 0||te.call(b,V)},onMouseLeave:function(V){var te;I(!1),b==null||(te=b.onMouseLeave)===null||te===void 0||te.call(b,V)},onClick:y}),l.createElement("div",{className:"".concat(z,"-content")},f),p&&l.createElement("a",pe({tabIndex:0,className:"".concat(z,"-close"),onKeyDown:L,"aria-label":"Close"},j,{onClick:function(V){V.preventDefault(),V.stopPropagation(),M()}}),F.closeIcon),k&&l.createElement("progress",{className:"".concat(z,"-progress"),max:"100",value:B},B+"%"))}),YH=se.createContext({}),Yoe=function(t){var n=t.children,r=t.classNames;return se.createElement(YH.Provider,{value:{classNames:r}},n)},iM=8,sM=3,lM=16,Xoe=function(t){var n={offset:iM,threshold:sM,gap:lM};if(t&&ht(t)==="object"){var r,a,o;n.offset=(r=t.offset)!==null&&r!==void 0?r:iM,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:sM,n.gap=(o=t.gap)!==null&&o!==void 0?o:lM}return[!!t,n]},Zoe=["className","style","classNames","styles"],Qoe=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(YH),p=f.classNames,g=l.useRef({}),h=l.useState(null),b=re(h,2),y=b[0],S=b[1],v=l.useState([]),x=re(v,2),C=x[0],w=x[1],E=n.map(function(N){return{config:N,key:String(N.key)}}),I=Xoe(d),T=re(I,2),R=T[0],_=T[1],$=_.offset,P=_.threshold,D=_.gap,A=R&&(C.length>0||E.length<=P),O=typeof s=="function"?s(r):s;return l.useEffect(function(){R&&C.length>1&&w(function(N){return N.filter(function(k){return E.some(function(M){var L=M.key;return k===L})})})},[C,E,R]),l.useEffect(function(){var N;if(R&&g.current[(N=E[E.length-1])===null||N===void 0?void 0:N.key]){var k;S(g.current[(k=E[E.length-1])===null||k===void 0?void 0:k.key])}},[E,R]),se.createElement(G$,pe({key:r,className:ne(a,"".concat(a,"-").concat(r),p==null?void 0:p.list,o,W(W({},"".concat(a,"-stack"),!!R),"".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,V=String(z),te=M,Y=te.className,J=te.style,G=te.classNames,U=te.styles,q=xt(te,Zoe),X=E.findIndex(function(ue){return ue.key===V}),Q={};if(R){var ee=E.length-1-(X>-1?X:j-1),oe=r==="top"||r==="bottom"?"-50%":"0";if(ee>0){var le,fe,ce;Q.height=A?(le=g.current[V])===null||le===void 0?void 0:le.offsetHeight:y==null?void 0:y.offsetHeight;for(var Te=0,Se=0;Se-1?g.current[V]=ye:delete g.current[V]},prefixCls:a,classNames:G,styles:U,className:ne(Y,p==null?void 0:p.notice),style:J,times:H,key:z,eventKey:z,onNoticeClose:u,hovering:R&&C.length>0})))})},Joe=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=re(p,2),h=g[0],b=g[1],y=function(R){var _,$=h.find(function(P){return P.key===R});$==null||(_=$.onClose)===null||_===void 0||_.call($),b(function(P){return P.filter(function(D){return D.key!==R})})};l.useImperativeHandle(t,function(){return{open:function(R){b(function(_){var $=De(_),P=$.findIndex(function(O){return O.key===R.key}),D=Z({},R);if(P>=0){var A;D.times=(((A=_[P])===null||A===void 0?void 0:A.times)||0)+1,$[P]=D}else D.times=0,$.push(D);return i>0&&$.length>i&&($=$.slice(-i)),$})},close:function(R){y(R)},destroy:function(){b([])}}});var S=l.useState({}),v=re(S,2),x=v[0],C=v[1];l.useEffect(function(){var T={};h.forEach(function(R){var _=R.placement,$=_===void 0?"topRight":_;$&&(T[$]=T[$]||[],T[$].push(R))}),Object.keys(x).forEach(function(R){T[R]=T[R]||[]}),C(T)},[h]);var w=function(R){C(function(_){var $=Z({},_),P=$[R]||[];return P.length||delete $[R],$})},E=l.useRef(!1);if(l.useEffect(function(){Object.keys(x).length>0?E.current=!0:E.current&&(u==null||u(),E.current=!1)},[x]),!a)return null;var I=Object.keys(x);return Lr.createPortal(l.createElement(l.Fragment,null,I.map(function(T){var R=x[T],_=l.createElement(Qoe,{key:T,configList:R,placement:T,prefixCls:r,className:s==null?void 0:s(T),style:c==null?void 0:c(T),motion:o,onNoticeClose:y,onAllNoticeRemoved:w,stack:d});return f?f(_,{prefixCls:r,key:T}):_})),a)}),eie=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],tie=function(){return document.body},cM=0;function nie(){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?tie: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=xt(e,eie),p=l.useState(),g=re(p,2),h=g[0],b=g[1],y=l.useRef(),S=l.createElement(Joe,{container:h,ref:y,prefixCls:a,motion:r,maxCount:o,className:i,style:s,onAllRemoved:c,stack:u,renderNotifications:d}),v=l.useState([]),x=re(v,2),C=x[0],w=x[1],E=l.useMemo(function(){return{open:function(T){var R=nie(f,T);(R.key===null||R.key===void 0)&&(R.key="rc-notification-".concat(cM),cM+=1),w(function(_){return[].concat(De(_),[{type:"open",config:R}])})},close:function(T){w(function(R){return[].concat(De(R),[{type:"close",key:T}])})},destroy:function(){w(function(T){return[].concat(De(T),[{type:"destroy"}])})}}},[]);return l.useEffect(function(){b(n())}),l.useEffect(function(){y.current&&C.length&&(C.forEach(function(I){switch(I.type){case"open":y.current.open(I.config);break;case"close":y.current.close(I.key);break;case"destroy":y.current.destroy();break}}),w(function(I){return I.filter(function(T){return!C.includes(T)})}))},[C]),[E,S]}var aie={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"},oie=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:aie}))},Hi=l.forwardRef(oie);const Vg=se.createContext(void 0),Wl=100,iie=10,XH=Wl*iie,ZH={Modal:Wl,Drawer:Wl,Popover:Wl,Popconfirm:Wl,Tooltip:Wl,Tour:Wl},sie={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function lie(e){return e in ZH}function Si(e,t){const[,n]=ta(),r=se.useContext(Vg),a=lie(e);let o;if(t!==void 0)o=[t,t];else{let i=r??0;a?i+=(r?0:n.zIndexPopupBase)+ZH[e]:i+=sie[e],o=[r===void 0?t:i,i]}return o}const cie=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:h,zIndexPopup:b,contentPadding:y,contentBg:S}=e,v=`${t}-notice`,x=new un("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:g,transform:"translateY(0)",opacity:1}}),C=new un("MessageMoveOut",{"0%":{maxHeight:e.height,padding:g,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),w={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:y,background:S,borderRadius:h,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({},nn(e)),{color:a,position:"fixed",top:p,width:"100%",pointerEvents:"none",zIndex:b,[`${t}-move-up`]:{animationFillMode:"forwards"},[` + ${t}-move-up-appear, + ${t}-move-up-enter + `]:{animationName:x,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:C,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({},w)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},w),{padding:0,textAlign:"start"})}]},uie=e=>({zIndexPopup:e.zIndexPopupBase+XH+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),QH=on("Message",e=>{const t=zt(e,{height:150});return[cie(t)]},uie);var die=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||fie[n],l.createElement("span",null,a))},pie=e=>{const{prefixCls:t,className:n,type:r,icon:a,content:o}=e,i=die(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=l.useContext(st),c=t||s("message"),u=Un(c),[d,f,p]=QH(c,u);return d(l.createElement(KH,Object.assign({},i,{prefixCls:c,className:ne(n,f,`${c}-notice-pure-panel`,p,u),eventKey:"pure",duration:null,content:l.createElement(JH,{prefixCls:c,type:r,icon:a},o)})))};function gie(e,t){return{motionName:t??`${e}-move-up`}}function Y$(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 mie=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=Un(n),[a,o,i]=QH(n,r);return a(l.createElement(Yoe,{classNames:{list:ne(o,i,r)}},t))},yie=(e,t)=>{let{prefixCls:n,key:r}=t;return l.createElement(bie,{prefixCls:n,key:r},e)},Sie=l.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:a,maxCount:o,duration:i=vie,rtl:s,transitionName:c,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:f,message:p,direction:g}=l.useContext(st),h=r||d("message"),b=()=>({left:"50%",transform:"translateX(-50%)",top:n??hie}),y=()=>ne({[`${h}-rtl`]:s??g==="rtl"}),S=()=>gie(h,c),v=l.createElement("span",{className:`${h}-close-x`},l.createElement(Jr,{className:`${h}-close-icon`})),[x,C]=rie({prefixCls:h,style:b,className:y,motion:S,closable:!1,closeIcon:v,duration:i,getContainer:()=>(a==null?void 0:a())||(f==null?void 0:f())||document.body,maxCount:o,onAllRemoved:u,renderNotifications:yie});return l.useImperativeHandle(t,()=>Object.assign(Object.assign({},x),{prefixCls:h,message:p})),C});let uM=0;function eU(e){const t=l.useRef(null);return $l(),[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:h,type:b,key:y,className:S,style:v,onClose:x}=c,C=mie(c,["content","icon","type","key","className","style","onClose"]);let w=y;return w==null&&(uM+=1,w=`antd-message-${uM}`),Y$(E=>(u(Object.assign(Object.assign({},C),{key:w,content:l.createElement(JH,{prefixCls:d,type:b,icon:h},g),placement:"top",className:ne(b&&`${p}-${b}`,S,f==null?void 0:f.className),style:Object.assign(Object.assign({},f==null?void 0:f.style),v),onClose:()=>{x==null||x(),E()}})),()=>{r(w)}))},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 h,b;typeof f=="function"?b=f:(h=f,b=p);const y=Object.assign(Object.assign({onClose:b,duration:h},g),{type:c});return a(y)};i[c]=u}),i},[]),l.createElement(Sie,Object.assign({key:"message-holder"},e,{ref:t}))]}function xie(e){return eU(e)}function wie(){const[e,t]=l.useState([]),n=l.useCallback(r=>(t(a=>[].concat(De(a),[r])),()=>{t(a=>a.filter(o=>o!==r))}),[]);return[e,n]}function Hn(){Hn=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 S?k:S,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",h="executing",b="completed",y={};function S(){}function v(){}function x(){}var C={};u(C,i,function(){return this});var w=Object.getPrototypeOf,E=w&&w(w(O([])));E&&E!==n&&r.call(E,i)&&(C=E);var I=x.prototype=S.prototype=Object.create(C);function T(N){["next","throw","return"].forEach(function(k){u(N,k,function(M){return this._invoke(k,M)})})}function R(N,k){function M(F,j,B,z){var H=f(N[F],N,j);if(H.type!=="throw"){var V=H.arg,te=V.value;return te&&ht(te)=="object"&&r.call(te,"__await")?k.resolve(te.__await).then(function(Y){M("next",Y,B,z)},function(Y){M("throw",Y,B,z)}):k.resolve(te).then(function(Y){V.value=Y,B(V)},function(Y){return M("throw",Y,B,z)})}z(H.arg)}var L;a(this,"_invoke",{value:function(j,B){function z(){return new k(function(H,V){M(j,B,H,V)})}return L=L?L.then(z,z):z()}})}function _(N,k,M){var L=p;return function(F,j){if(L===h)throw Error("Generator is already running");if(L===b){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===y)continue;return z}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(L===p)throw L=b,M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);L=h;var H=f(N,k,M);if(H.type==="normal"){if(L=M.done?b:g,H.arg===y)continue;return{value:H.arg,done:M.done}}H.type==="throw"&&(L=b,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")),y;var F=f(L,N.iterator,k.arg);if(F.type==="throw")return k.method="throw",k.arg=F.arg,k.delegate=null,y;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,y):j:(k.method="throw",k.arg=new TypeError("iterator result is not an object"),k.delegate=null,y)}function P(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 D(N){var k=N.completion||{};k.type="normal",delete k.arg,N.completion=k}function A(N){this.tryEntries=[{tryLoc:"root"}],N.forEach(P,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),D(L),y}},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;D(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),y}},t}function dM(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 po(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(c){dM(o,r,a,i,s,"next",c)}function s(c){dM(o,r,a,i,s,"throw",c)}i(void 0)})}}var Wg=Z({},Ree),Cie=Wg.version,Eie=Wg.render,Iie=Wg.unmountComponentAtNode,w0;try{var Tie=Number((Cie||"").split(".")[0]);Tie>=18&&(w0=Wg.createRoot)}catch{}function fM(e){var t=Wg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&ht(t)==="object"&&(t.usingClientEntryPoint=e)}var cb="__rc_react_root__";function Rie(e,t){fM(!0);var n=t[cb]||w0(t);fM(!1),n.render(e),t[cb]=n}function _ie(e,t){Eie(e,t)}function X$(e,t){if(w0){Rie(e,t);return}_ie(e,t)}function $ie(e){return QT.apply(this,arguments)}function QT(){return QT=po(Hn().mark(function e(t){return Hn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var a;(a=t[cb])===null||a===void 0||a.unmount(),delete t[cb]}));case 1:case"end":return r.stop()}},e)})),QT.apply(this,arguments)}function Oie(e){Iie(e)}function tU(e){return JT.apply(this,arguments)}function JT(){return JT=po(Hn().mark(function e(t){return Hn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(w0===void 0){r.next=2;break}return r.abrupt("return",$ie(t));case 2:Oie(t);case 3:case"end":return r.stop()}},e)})),JT.apply(this,arguments)}const LS=()=>({height:0,opacity:0}),pM=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},Nie=e=>({height:e?e.offsetHeight:0}),FS=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Sd=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:cg}-motion-collapse`,onAppearStart:LS,onEnterStart:LS,onAppearActive:pM,onEnterActive:pM,onLeaveStart:Nie,onLeaveActive:LS,onAppearEnd:FS,onEnterEnd:FS,onLeaveEnd:FS,motionDeadline:500}},xa=(e,t,n)=>n!==void 0?n:`${e}-${t}`,Vd=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},kie=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(",")}}}}},Aie=_ae("Wave",e=>[kie(e)]),C0=`${cg}-wave-target`;function Mie(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 jS(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&Mie(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function Pie(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return jS(t)?t:jS(n)?n:jS(r)?r:null}function BS(e){return Number.isNaN(e)?0:e}const Die=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,h]=l.useState(0),[b,y]=l.useState(0),[S,v]=l.useState(!1),x={left:u,top:f,width:g,height:b,borderRadius:s.map(E=>`${E}px`).join(" ")};o&&(x["--wave-color"]=o);function C(){const E=getComputedStyle(n);i(Pie(n));const I=E.position==="static",{borderLeftWidth:T,borderTopWidth:R}=E;d(I?n.offsetLeft:BS(-parseFloat(T))),p(I?n.offsetTop:BS(-parseFloat(R))),h(n.offsetWidth),y(n.offsetHeight);const{borderTopLeftRadius:_,borderTopRightRadius:$,borderBottomLeftRadius:P,borderBottomRightRadius:D}=E;c([_,$,D,P].map(A=>BS(parseFloat(A))))}if(l.useEffect(()=>{if(n){const E=Ut(()=>{C(),v(!0)});let I;return typeof ResizeObserver<"u"&&(I=new ResizeObserver(C),I.observe(n)),()=>{Ut.cancel(E),I==null||I.disconnect()}}},[]),!S)return null;const w=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(C0));return l.createElement(Qr,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(E,I)=>{var T;if(I.deadline||I.propertyName==="opacity"){const R=(T=a.current)===null||T===void 0?void 0:T.parentElement;tU(R).then(()=>{R==null||R.remove()})}return!1}},(E,I)=>{let{className:T}=E;return l.createElement("div",{ref:ea(a,I),className:ne(t,T,{"wave-quick":w}),style:x})})},Lie=(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),X$(l.createElement(Die,Object.assign({},t,{target:e})),a)},Fie=(e,t,n)=>{const{wave:r}=l.useContext(st),[,a,o]=ta(),i=Wt(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const f=d.querySelector(`.${C0}`)||d,{showEffect:p}=r||{};(p||Lie)(f,{className:t,token:a,component:n,event:u,hashId:o})}),s=l.useRef();return u=>{Ut.cancel(s.current),s.current=Ut(()=>{i(u)})}},Gg=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:a}=l.useContext(st),o=l.useRef(null),i=a("wave"),[,s]=Aie(i),c=Fie(o,ne(i,s),r);if(se.useEffect(()=>{const d=o.current;if(!d||d.nodeType!==1||n)return;const f=p=>{!Vd(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]),!se.isValidElement(t))return t??null;const u=gi(t)?ea(t.ref,o):o;return Cr(t,{ref:u})},Er=e=>{const t=se.useContext(Cc);return se.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},jie=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Bie=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"}}}},zie=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}}}},nU=on("Space",e=>{const t=zt(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Bie(t),zie(t),jie(t)]},()=>({}),{resetStyle:!1});var rU=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(E0),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}},Hie=e=>{let{children:t}=e;return l.createElement(E0.Provider,{value:null},t)},Uie=e=>{var{children:t}=e,n=rU(e,["children"]);return l.createElement(E0.Provider,{value:n},t)},Vie=e=>{const{getPrefixCls:t,direction:n}=l.useContext(st),{size:r,direction:a,block:o,prefixCls:i,className:s,rootClassName:c,children:u}=e,d=rU(e,["size","direction","block","prefixCls","className","rootClassName","children"]),f=Er(x=>r??x),p=t("space-compact",i),[g,h]=nU(p),b=ne(p,h,{[`${p}-rtl`]:n==="rtl",[`${p}-block`]:o,[`${p}-vertical`]:a==="vertical"},s,c),y=l.useContext(E0),S=vr(u),v=l.useMemo(()=>S.map((x,C)=>{const w=(x==null?void 0:x.key)||`${p}-item-${C}`;return l.createElement(Uie,{key:w,compactSize:f,compactDirection:a,isFirstItem:C===0&&(!y||(y==null?void 0:y.isFirstItem)),isLastItem:C===S.length-1&&(!y||(y==null?void 0:y.isLastItem))},x)}),[r,S,y]);return S.length===0?null:g(l.createElement("div",Object.assign({className:b},d),v))};var Wie=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(st),{prefixCls:r,size:a,className:o}=e,i=Wie(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,c]=ta();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(aU.Provider,{value:a},l.createElement("div",Object.assign({},i,{className:d})))},gM=/^[\u4e00-\u9fa5]{2}$/,eR=gM.test.bind(gM);function oU(e){return e==="danger"?{danger:!0}:{type:e}}function mM(e){return typeof e=="string"}function zS(e){return e==="text"||e==="link"}function qie(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&mM(e.type)&&eR(e.props.children)?Cr(e,{children:e.props.children.split("").join(n)}):mM(e)?eR(e)?se.createElement("span",null,e.split("").join(n)):se.createElement("span",null,e):GH(e)?se.createElement("span",null,e):e}function Kie(e,t){let n=!1;const r=[];return se.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}),se.Children.map(r,a=>qie(a,t))}const iU=l.forwardRef((e,t)=>{const{className:n,style:r,children:a,prefixCls:o}=e,i=ne(`${o}-icon`,n);return se.createElement("span",{ref:t,className:i,style:r},a)}),hM=l.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:a,iconClassName:o}=e,i=ne(`${n}-loading-icon`,r);return se.createElement(iU,{prefixCls:n,className:i,style:a,ref:t},se.createElement(Hi,{className:o}))}),HS=()=>({width:0,opacity:0,transform:"scale(0)"}),US=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Yie=e=>{const{prefixCls:t,loading:n,existIcon:r,className:a,style:o}=e,i=!!n;return r?se.createElement(hM,{prefixCls:t,className:a,style:o}):se.createElement(Qr,{visible:i,motionName:`${t}-loading-icon-motion`,motionLeave:i,removeOnLeave:!0,onAppearStart:HS,onAppearActive:US,onEnterStart:HS,onEnterActive:US,onLeaveStart:US,onLeaveActive:HS},(s,c)=>{let{className:u,style:d}=s;return se.createElement(hM,{prefixCls:t,className:a,style:Object.assign(Object.assign({},o),d),ref:c,iconClassName:u})})},vM=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Xie=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}},vM(`${t}-primary`,a),vM(`${t}-danger`,o)]}},sU=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return zt(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},lU=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:uv(s),f=(o=e.contentLineHeightSM)!==null&&o!==void 0?o:uv(c),p=(i=e.contentLineHeightLG)!==null&&i!==void 0?i:uv(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)}},Zie=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:`${K(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({},zi(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"}}}},Cs=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Qie=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Jie=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),ese=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),dg=(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"},Cs(e,Object.assign({background:t},i),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:a||void 0,borderColor:o||void 0}})}),Z$=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},ese(e))}),cU=e=>Object.assign({},Z$(e)),ub=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),uU=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},cU(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Cs(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),dg(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},Cs(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),dg(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),Z$(e))}),tse=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},cU(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),Cs(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),dg(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},Cs(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),dg(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Z$(e))}),nse=e=>Object.assign(Object.assign({},uU(e)),{borderStyle:"dashed"}),rse=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Cs(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),ub(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Cs(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),ub(e))}),ase=e=>Object.assign(Object.assign(Object.assign({},Cs(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),ub(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},ub(e)),Cs(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),ose=e=>{const{componentCls:t}=e;return{[`${t}-default`]:uU(e),[`${t}-primary`]:tse(e),[`${t}-dashed`]:nse(e),[`${t}-link`]:rse(e),[`${t}-text`]:ase(e),[`${t}-ghost`]:dg(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:`${K(u)} ${K(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}`]:Qie(e)},{[`${n}${n}-round${t}`]:Jie(e)}]},ise=e=>{const t=zt(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return Q$(t,e.componentCls)},sse=e=>{const t=zt(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`)},lse=e=>{const t=zt(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`)},cse=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},use=on("Button",e=>{const t=sU(e);return[Zie(t),ise(t),sse(t),lse(t),cse(t),ose(t),Xie(t)]},lU,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function dse(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 fse(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 qg(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({},dse(e,r,t)),fse(n,r,t))}}function pse(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 gse(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 mse(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},pse(e,t)),gse(e.componentCls,t))}}const hse=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% + ${K(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% + ${K(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},vse=Hd(["Button","compact"],e=>{const t=sU(e);return[qg(t),mse(t),hse(t)]},lU);var bse=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:h,children:b,icon:y,iconPosition:S="start",ghost:v=!1,block:x=!1,htmlType:C="button",classNames:w,style:E={},autoInsertSpace:I}=e,T=bse(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),R=s||"default",{getPrefixCls:_,direction:$,button:P}=l.useContext(st),D=(n=I??(P==null?void 0:P.autoInsertSpace))!==null&&n!==void 0?n:!0,A=_("btn",i),[O,N,k]=use(A),M=l.useContext(Zr),L=p??M,F=l.useContext(aU),j=l.useMemo(()=>yse(o),[o]),[B,z]=l.useState(j.loading),[H,V]=l.useState(!1),Y=ea(t,l.createRef()),J=l.Children.count(b)===1&&!y&&!zS(R);l.useEffect(()=>{let ue=null;j.delay>0?ue=setTimeout(()=>{ue=null,z(!0)},j.delay):z(j.loading);function ye(){ue&&(clearTimeout(ue),ue=null)}return ye},[j]),l.useEffect(()=>{if(!Y||!Y.current||!D)return;const ue=Y.current.textContent;J&&eR(ue)?H||V(!0):H&&V(!1)},[Y]);const G=ue=>{const{onClick:ye}=e;if(B||L){ue.preventDefault();return}ye==null||ye(ue)},{compactSize:U,compactItemClassnames:q}=Os(A,$),X={large:"lg",small:"sm",middle:void 0},Q=Er(ue=>{var ye,Ee;return(Ee=(ye=d??U)!==null&&ye!==void 0?ye:F)!==null&&Ee!==void 0?Ee:ue}),ee=Q&&X[Q]||"",oe=B?"loading":y,le=On(T,["navigate"]),fe=ne(A,N,k,{[`${A}-${u}`]:u!=="default"&&u,[`${A}-${R}`]:R,[`${A}-${ee}`]:ee,[`${A}-icon-only`]:!b&&b!==0&&!!oe,[`${A}-background-ghost`]:v&&!zS(R),[`${A}-loading`]:B,[`${A}-two-chinese-chars`]:H&&D&&!B,[`${A}-block`]:x,[`${A}-dangerous`]:c,[`${A}-rtl`]:$==="rtl",[`${A}-icon-end`]:S==="end"},q,g,h,P==null?void 0:P.className),ce=Object.assign(Object.assign({},P==null?void 0:P.style),E),Te=ne(w==null?void 0:w.icon,(r=P==null?void 0:P.classNames)===null||r===void 0?void 0:r.icon),Se=Object.assign(Object.assign({},(f==null?void 0:f.icon)||{}),((a=P==null?void 0:P.styles)===null||a===void 0?void 0:a.icon)||{}),ve=y&&!B?se.createElement(iU,{prefixCls:A,className:Te,style:Se},y):se.createElement(Yie,{existIcon:!!y,prefixCls:A,loading:B}),ae=b||b===0?Kie(b,J&&D):null;if(le.href!==void 0)return O(se.createElement("a",Object.assign({},le,{className:ne(fe,{[`${A}-disabled`]:L}),href:L?void 0:le.href,style:ce,onClick:G,ref:Y,tabIndex:L?-1:0}),ve,ae));let ie=se.createElement("button",Object.assign({},T,{type:C,className:fe,style:ce,onClick:G,disabled:L,ref:Y}),ve,ae,!!q&&se.createElement(vse,{key:"compact",prefixCls:A}));return zS(R)||(ie=se.createElement(Gg,{component:"Button",disabled:B},ie)),O(ie)}),ut=Sse;ut.Group=Gie;ut.__ANT_BUTTON=!0;function VS(e){return!!(e!=null&&e.then)}const dU=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,h]=Ec(!1),b=function(){o==null||o.apply(void 0,arguments)};l.useEffect(()=>{let v=null;return i&&(v=setTimeout(()=>{var x;(x=p.current)===null||x===void 0||x.focus()})),()=>{v&&clearTimeout(v)}},[]);const y=v=>{VS(v)&&(h(!0),v.then(function(){h(!1,!0),b.apply(void 0,arguments),f.current=!1},x=>{if(h(!1,!0),f.current=!1,!(c!=null&&c()))return Promise.reject(x)}))},S=v=>{if(f.current)return;if(f.current=!0,!d){b();return}let x;if(s){if(x=d(v),u&&!VS(x)){f.current=!1,b(v);return}}else if(d.length)x=d(o),f.current=!1;else if(x=d(),!VS(x)){b();return}y(x)};return l.createElement(ut,Object.assign({},oU(t),{onClick:S,loading:g,prefixCls:r},a,{ref:p}),n)},Kg=se.createContext({}),{Provider:fU}=Kg,bM=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:a,rootPrefixCls:o,close:i,onCancel:s,onConfirm:c}=l.useContext(Kg);return a?se.createElement(dU,{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},yM=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:a,okTextLocale:o,okType:i,onConfirm:s,onOk:c}=l.useContext(Kg);return se.createElement(dU,{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 pU=l.createContext(null),SM=[];function xse(e,t){var n=l.useState(function(){if(!Xr())return null;var h=document.createElement("div");return h}),r=re(n,1),a=r[0],o=l.useRef(!1),i=l.useContext(pU),s=l.useState(SM),c=re(s,2),u=c[0],d=c[1],f=i||(o.current?void 0:function(h){d(function(b){var y=[h].concat(De(b));return y})});function p(){a.parentElement||document.body.appendChild(a),o.current=!0}function g(){var h;(h=a.parentElement)===null||h===void 0||h.removeChild(a),o.current=!1}return Xt(function(){return e?i?i(p):p():g(),g},[e]),Xt(function(){u.length&&(u.forEach(function(h){return h()}),d(SM))},[u]),[a,f]}var WS;function gU(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,";"):"";ms(` +#`.concat(t,`::-webkit-scrollbar { +`).concat(d,` +`).concat(f,` +}`),t)}catch(h){console.error(h),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),ag(t),{width:p,height:g}}function xM(e){return typeof document>"u"?0:(WS===void 0&&(WS=gU()),WS.width)}function tR(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:gU(e)}function wse(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Cse="rc-util-locker-".concat(Date.now()),wM=0;function Ese(e){var t=!!e,n=l.useState(function(){return wM+=1,"".concat(Cse,"_").concat(wM)}),r=re(n,1),a=r[0];Xt(function(){if(t){var o=tR(document.body).width,i=wse();ms(` +html body { + overflow-y: hidden; + `.concat(i?"width: calc(100% - ".concat(o,"px);"):"",` +}`),a)}else ag(a);return function(){ag(a)}},[t,a])}var Ise=!1;function Tse(e){return Ise}var CM=function(t){return t===!1?!1:!Xr()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},Yg=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=re(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 CM(a)}),h=re(g,2),b=h[0],y=h[1];l.useEffect(function(){var $=CM(a);y($??null)});var S=xse(p&&!b),v=re(S,2),x=v[0],C=v[1],w=b??x;Ese(r&&n&&Xr()&&(w===x||w===document.body));var E=null;if(s&&gi(s)&&t){var I=s;E=I.ref}var T=$s(E,t);if(!p||!Xr()||b===void 0)return null;var R=w===!1||Tse(),_=s;return t&&(_=l.cloneElement(s,{ref:T})),l.createElement(pU.Provider,{value:C},R?_:Lr.createPortal(_,w))}),mU=l.createContext({});function Rse(){var e=Z({},Lg);return e.useId}var EM=0,IM=Rse();const hU=IM?function(t){var n=IM();return t||n}:function(t){var n=l.useState("ssr-id"),r=re(n,2),a=r[0],o=r[1];return l.useEffect(function(){var i=EM;EM+=1,o("rc_unique_".concat(i))},[]),t||a};function TM(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function RM(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 _se(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=RM(a),n.top+=RM(a,!0),n}const $se=l.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var _M={width:0,height:0,overflow:"hidden",outline:"none"},Ose={outline:"none"},vU=se.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,h=e.modalRender,b=e.onMouseDown,y=e.onMouseUp,S=e.holderRef,v=e.visible,x=e.forceRender,C=e.width,w=e.height,E=e.classNames,I=e.styles,T=se.useContext(mU),R=T.panel,_=$s(S,R),$=l.useRef(),P=l.useRef(),D=l.useRef();se.useImperativeHandle(t,function(){return{focus:function(){var z;(z=D.current)===null||z===void 0||z.focus({preventScroll:!0})},changeActive:function(z){var H=document,V=H.activeElement;z&&V===P.current?$.current.focus({preventScroll:!0}):!z&&V===$.current&&P.current.focus({preventScroll:!0})}}});var A={};C!==void 0&&(A.width=C),w!==void 0&&(A.height=w);var O=s?se.createElement("div",{className:ne("".concat(n,"-footer"),E==null?void 0:E.footer),style:Z({},I==null?void 0:I.footer)},s):null,N=o?se.createElement("div",{className:ne("".concat(n,"-header"),E==null?void 0:E.header),style:Z({},I==null?void 0:I.header)},se.createElement("div",{className:"".concat(n,"-title"),id:i},o)):null,k=l.useMemo(function(){return ht(c)==="object"&&c!==null?c:c?{closeIcon:u??se.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[c,u,n]),M=Yn(k,!0),L=ht(c)==="object"&&c.disabled,F=c?se.createElement("button",pe({type:"button",onClick:d,"aria-label":"Close"},M,{className:"".concat(n,"-close"),disabled:L}),k.closeIcon):null,j=se.createElement("div",{className:ne("".concat(n,"-content"),E==null?void 0:E.content),style:I==null?void 0:I.content},F,N,se.createElement("div",pe({className:ne("".concat(n,"-body"),E==null?void 0:E.body),style:Z(Z({},p),I==null?void 0:I.body)},g),f),O);return se.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":o?i:null,"aria-modal":"true",ref:_,style:Z(Z({},a),A),className:ne(n,r),onMouseDown:b,onMouseUp:y},se.createElement("div",{tabIndex:0,ref:$,style:_M,"aria-hidden":"true"}),se.createElement("div",{ref:D,tabIndex:-1,style:Ose},se.createElement($se,{shouldUpdate:v||x},h?h(j):j)),se.createElement("div",{tabIndex:0,ref:P,style:_M,"aria-hidden":"true"}))}),bU=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(),h=l.useState(),b=re(h,2),y=b[0],S=b[1],v={};y&&(v.transformOrigin=y);function x(){var C=_se(g.current);S(p&&(p.x||p.y)?"".concat(p.x-C.left,"px ").concat(p.y-C.top,"px"):"")}return l.createElement(Qr,{visible:i,onVisibleChanged:f,onAppearPrepare:x,onEnterPrepare:x,forceRender:s,motionName:u,removeOnLeave:c,ref:g},function(C,w){var E=C.className,I=C.style;return l.createElement(vU,pe({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:w,style:Z(Z(Z({},I),a),v),className:ne(o,E)}))})});bU.displayName="Content";var Nse=function(t){var n=t.prefixCls,r=t.style,a=t.visible,o=t.maskProps,i=t.motionName,s=t.className;return l.createElement(Qr,{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",pe({ref:u,style:Z(Z({},f),r),className:ne("".concat(n,"-mask"),d,s)},o))})},kse=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,h=t.onClose,b=t.afterOpenChange,y=t.afterClose,S=t.transitionName,v=t.animation,x=t.closable,C=x===void 0?!0:x,w=t.mask,E=w===void 0?!0:w,I=t.maskTransitionName,T=t.maskAnimation,R=t.maskClosable,_=R===void 0?!0:R,$=t.maskStyle,P=t.maskProps,D=t.rootClassName,A=t.classNames,O=t.styles,N=l.useRef(),k=l.useRef(),M=l.useRef(),L=l.useState(i),F=re(L,2),j=F[0],B=F[1],z=hU();function H(){ET(k.current,document.activeElement)||(N.current=document.activeElement)}function V(){if(!ET(k.current,document.activeElement)){var oe;(oe=M.current)===null||oe===void 0||oe.focus()}}function te(oe){if(oe)V();else{if(B(!1),E&&N.current&&d){try{N.current.focus({preventScroll:!0})}catch{}N.current=null}j&&(y==null||y())}b==null||b(oe)}function Y(oe){h==null||h(oe)}var J=l.useRef(!1),G=l.useRef(),U=function(){clearTimeout(G.current),J.current=!0},q=function(){G.current=setTimeout(function(){J.current=!1})},X=null;_&&(X=function(le){J.current?J.current=!1:k.current===le.target&&Y(le)});function Q(oe){if(c&&oe.keyCode===Le.ESC){oe.stopPropagation(),Y(oe);return}i&&oe.keyCode===Le.TAB&&M.current.changeActive(!oe.shiftKey)}l.useEffect(function(){i&&(B(!0),H())},[i]),l.useEffect(function(){return function(){clearTimeout(G.current)}},[]);var ee=Z(Z(Z({zIndex:a},f),O==null?void 0:O.wrapper),{},{display:j?null:"none"});return l.createElement("div",pe({className:ne("".concat(r,"-root"),D)},Yn(t,{data:!0})),l.createElement(Nse,{prefixCls:r,visible:E&&i,motionName:TM(r,I,T),style:Z(Z({zIndex:a},$),O==null?void 0:O.mask),maskProps:P,className:A==null?void 0:A.mask}),l.createElement("div",pe({tabIndex:-1,onKeyDown:Q,className:ne("".concat(r,"-wrap"),p,A==null?void 0:A.wrapper),ref:k,onClick:X,style:ee},g),l.createElement(bU,pe({},t,{onMouseDown:U,onMouseUp:q,ref:M,closable:C,ariaId:z,prefixCls:r,visible:i&&j,onClose:Y,onVisibleChanged:te,motionName:TM(r,S,v)}))))},J$=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=re(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(mU.Provider,{value:g},l.createElement(Yg,{open:n||a||f,autoDestroy:!1,getContainer:r,autoLock:n||f},l.createElement(kse,pe({},t,{destroyOnClose:i,afterClose:function(){s==null||s(),p(!1)}}))))};J$.displayName="Dialog";var Ql="RC_FORM_INTERNAL_HOOKS",Fn=function(){vn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Ic=l.createContext({getFieldValue:Fn,getFieldsValue:Fn,getFieldError:Fn,getFieldWarning:Fn,getFieldsError:Fn,isFieldsTouched:Fn,isFieldTouched:Fn,isFieldValidating:Fn,isFieldsValidating:Fn,resetFields:Fn,setFields:Fn,setFieldValue:Fn,setFieldsValue:Fn,validateFields:Fn,submit:Fn,getInternalHooks:function(){return Fn(),{dispatch:Fn,initEntityValue:Fn,registerField:Fn,useSubscribe:Fn,setInitialValues:Fn,destroyForm:Fn,setCallbacks:Fn,registerWatch:Fn,getFields:Fn,setValidateMessages:Fn,setPreserve:Fn,getInitialValue:Fn}}}),fg=l.createContext(null);function nR(e){return e==null?[]:Array.isArray(e)?e:[e]}function Ase(e){return e&&!!e._init}function rR(){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 aR=rR();function Mse(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Pse(e,t,n){if(h0())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&ng(a,n.prototype),a}function oR(e){var t=typeof Map=="function"?new Map:void 0;return oR=function(r){if(r===null||!Mse(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 Pse(r,arguments,xc(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ng(a,r)},oR(e)}var Dse=/%[sdj%]/g,Lse=function(){};function iR(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 go(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 Fse(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Br(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Fse(t)&&typeof e=="string"&&!e)}function jse(e,t,n){var r=[],a=0,o=e.length;function i(s){r.push.apply(r,De(s||[])),a++,a===o&&n(r)}e.forEach(function(s){t(s,i)})}function $M(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(go(o.messages[f].max,t.fullField,t.max)):s&&c&&(dt.max)&&a.push(go(o.messages[f].range,t.fullField,t.min,t.max))},yU=function(t,n,r,a,o,i){t.required&&(!r.hasOwnProperty(t.field)||Br(n,i||t.type))&&a.push(go(o.messages.required,t.fullField))},lh;const qse=function(){if(lh)return lh;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(w){return w&&w.exact?c:new RegExp("".concat(t(w)).concat(n).concat(t(w)),"g")},d.v6=function(w){return w&&w.exact?u:new RegExp("".concat(t(w)).concat(i).concat(t(w)),"g")};var f="(?:(?:[a-z]+:)?//)",p="(?:\\S+(?::\\S*)?@)?",g=d.v4().source,h=d.v6().source,b="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",y="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",S="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",v="(?::\\d{2,5})?",x='(?:[/?#][^\\s"]*)?',C="(?:".concat(f,"|www\\.)").concat(p,"(?:localhost|").concat(g,"|").concat(h,"|").concat(b).concat(y).concat(S,")").concat(v).concat(x);return lh=new RegExp("(?:^".concat(C,"$)"),"i"),lh};var AM={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},Gf={integer:function(t){return Gf.number(t)&&parseInt(t,10)===t},float:function(t){return Gf.number(t)&&!Gf.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 ht(t)==="object"&&!Gf.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(AM.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(qse())},hex:function(t){return typeof t=="string"&&!!t.match(AM.hex)}},Kse=function(t,n,r,a,o){if(t.required&&n===void 0){yU(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?Gf[s](n)||a.push(go(o.messages.types[s],t.fullField,t.type)):s&&ht(n)!==t.type&&a.push(go(o.messages.types[s],t.fullField,t.type))},Yse=function(t,n,r,a,o){(/^\s+$/.test(n)||n==="")&&a.push(go(o.messages.whitespace,t.fullField))};const gn={required:yU,whitespace:Yse,type:Kse,range:Gse,enum:Vse,pattern:Wse};var Xse=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n)&&!t.required)return r();gn.required(t,n,a,i,o)}r(i)},Zse=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();gn.required(t,n,a,i,o,"array"),n!=null&&(gn.type(t,n,a,i,o),gn.range(t,n,a,i,o))}r(i)},Qse=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n)&&!t.required)return r();gn.required(t,n,a,i,o),n!==void 0&&gn.type(t,n,a,i,o)}r(i)},Jse=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n,"date")&&!t.required)return r();if(gn.required(t,n,a,i,o),!Br(n,"date")){var c;n instanceof Date?c=n:c=new Date(n),gn.type(t,c,a,i,o),c&&gn.range(t,c.getTime(),a,i,o)}}r(i)},ele="enum",tle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n)&&!t.required)return r();gn.required(t,n,a,i,o),n!==void 0&&gn[ele](t,n,a,i,o)}r(i)},nle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n)&&!t.required)return r();gn.required(t,n,a,i,o),n!==void 0&&(gn.type(t,n,a,i,o),gn.range(t,n,a,i,o))}r(i)},rle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n)&&!t.required)return r();gn.required(t,n,a,i,o),n!==void 0&&(gn.type(t,n,a,i,o),gn.range(t,n,a,i,o))}r(i)},ale=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n)&&!t.required)return r();gn.required(t,n,a,i,o),n!==void 0&&gn.type(t,n,a,i,o)}r(i)},ole=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Br(n)&&!t.required)return r();gn.required(t,n,a,i,o),n!==void 0&&(gn.type(t,n,a,i,o),gn.range(t,n,a,i,o))}r(i)},ile=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n)&&!t.required)return r();gn.required(t,n,a,i,o),n!==void 0&&gn.type(t,n,a,i,o)}r(i)},sle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n,"string")&&!t.required)return r();gn.required(t,n,a,i,o),Br(n,"string")||gn.pattern(t,n,a,i,o)}r(i)},lle=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n)&&!t.required)return r();gn.required(t,n,a,i,o),Br(n)||gn.type(t,n,a,i,o)}r(i)},cle=function(t,n,r,a,o){var i=[],s=Array.isArray(n)?"array":ht(n);gn.required(t,n,a,i,o,s),r(i)},ule=function(t,n,r,a,o){var i=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Br(n,"string")&&!t.required)return r();gn.required(t,n,a,i,o,"string"),Br(n,"string")||(gn.type(t,n,a,i,o),gn.range(t,n,a,i,o),gn.pattern(t,n,a,i,o),t.whitespace===!0&&gn.whitespace(t,n,a,i,o))}r(i)},GS=function(t,n,r,a,o){var i=t.type,s=[],c=t.required||!t.required&&a.hasOwnProperty(t.field);if(c){if(Br(n,i)&&!t.required)return r();gn.required(t,n,a,s,o,i),Br(n,i)||gn.type(t,n,a,s,o)}r(s)};const bp={string:ule,method:ale,number:ole,boolean:Qse,regexp:lle,integer:rle,float:nle,array:Zse,object:ile,enum:tle,pattern:sle,date:Jse,url:GS,hex:GS,email:GS,required:cle,any:Xse};var Xg=function(){function e(t){Xn(this,e),W(this,"rules",null),W(this,"_messages",aR),this.define(t)}return Zn(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(ht(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=kM(rR(),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(h){var b=[],y={};function S(x){if(Array.isArray(x)){var C;b=(C=b).concat.apply(C,De(x))}else b.push(x)}for(var v=0;v0&&arguments[0]!==void 0?arguments[0]:[],T=Array.isArray(I)?I:[I];!s.suppressWarning&&T.length&&e.warning("async-validator:",T),T.length&&y.message!==void 0&&(T=[].concat(y.message));var R=T.map(NM(y,i));if(s.first&&R.length)return g[y.field]=1,b(R);if(!S)b(R);else{if(y.required&&!h.value)return y.message!==void 0?R=[].concat(y.message).map(NM(y,i)):s.error&&(R=[s.error(y,go(s.messages.required,y.field))]),b(R);var _={};y.defaultField&&Object.keys(h.value).map(function(D){_[D]=y.defaultField}),_=Z(Z({},_),h.rule.fields);var $={};Object.keys(_).forEach(function(D){var A=_[D],O=Array.isArray(A)?A:[A];$[D]=O.map(v.bind(null,D))});var P=new e($);P.messages(s.messages),h.rule.options&&(h.rule.options.messages=s.messages,h.rule.options.error=s.error),P.validate(h.value,h.rule.options||s,function(D){var A=[];R&&R.length&&A.push.apply(A,De(R)),D&&D.length&&A.push.apply(A,De(D)),b(A.length?A:null)})}}var C;if(y.asyncValidator)C=y.asyncValidator(y,h.value,x,h.source,s);else if(y.validator){try{C=y.validator(y,h.value,x,h.source,s)}catch(I){var w,E;(w=(E=console).error)===null||w===void 0||w.call(E,I),s.suppressValidatorError||setTimeout(function(){throw I},0),x(I.message)}C===!0?x():C===!1?x(typeof y.message=="function"?y.message(y.fullField||y.field):y.message||"".concat(y.fullField||y.field," fails")):C instanceof Array?x(C):C instanceof Error&&x(C.message)}C&&C.then&&C.then(function(){return x()},function(I){return x(I)})},function(h){u(h)},i)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!bp.hasOwnProperty(n.type))throw new Error(go("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"?bp.required:bp[this.getType(n)]||void 0}}]),e}();W(Xg,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");bp[t]=n});W(Xg,"warning",Lse);W(Xg,"messages",aR);W(Xg,"validators",bp);var ao="'${name}' is not a valid ${type}",SU={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:ao,method:ao,array:ao,object:ao,number:ao,date:ao,boolean:ao,integer:ao,float:ao,regexp:ao,email:ao,url:ao,hex:ao},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}"}},MM=Xg;function dle(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var PM="CODE_LOGIC_ERROR";function sR(e,t,n,r,a){return lR.apply(this,arguments)}function lR(){return lR=po(Hn().mark(function e(t,n,r,a,o){var i,s,c,u,d,f,p,g,h;return Hn().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return i=Z({},r),delete i.ruleIndex,MM.warning=function(){},i.validator&&(s=i.validator,i.validator=function(){try{return s.apply(void 0,arguments)}catch(S){return console.error(S),Promise.reject(PM)}}),c=null,i&&i.type==="array"&&i.defaultField&&(c=i.defaultField,delete i.defaultField),u=new MM(W({},t,[i])),d=Lu(SU,a.validateMessages),u.messages(d),f=[],y.prev=10,y.next=13,Promise.resolve(u.validate(W({},t,n),Z({},a)));case 13:y.next=18;break;case 15:y.prev=15,y.t0=y.catch(10),y.t0.errors&&(f=y.t0.errors.map(function(S,v){var x=S.message,C=x===PM?d.default:x;return l.isValidElement(C)?l.cloneElement(C,{key:"error_".concat(v)}):C}));case 18:if(!(!f.length&&c)){y.next=23;break}return y.next=21,Promise.all(n.map(function(S,v){return sR("".concat(t,".").concat(v),S,c,a,o)}));case 21:return p=y.sent,y.abrupt("return",p.reduce(function(S,v){return[].concat(De(S),De(v))},[]));case 23:return g=Z(Z({},r),{},{name:t,enum:(r.enum||[]).join(", ")},o),h=f.map(function(S){return typeof S=="string"?dle(S,g):S}),y.abrupt("return",h);case 26:case"end":return y.stop()}},e,null,[[10,15]])})),lR.apply(this,arguments)}function fle(e,t,n,r,a,o){var i=e.join("."),s=n.map(function(d,f){var p=d.validator,g=Z(Z({},d),{},{ruleIndex:f});return p&&(g.validator=function(h,b,y){var S=!1,v=function(){for(var w=arguments.length,E=new Array(w),I=0;I2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return xU(t,r,n)})}function xU(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 mle(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||ht(e)!=="object"||ht(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),a=new Set([].concat(n,r));return De(a).every(function(o){var i=e[o],s=t[o];return typeof i=="function"&&typeof s=="function"?!0:i===s})}function hle(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&ht(t.target)==="object"&&e in t.target?t.target[e]:t}function LM(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(De(e.slice(0,n)),[a],De(e.slice(n,t)),De(e.slice(t+1,r))):o<0?[].concat(De(e.slice(0,t)),De(e.slice(t+1,n+1)),[a],De(e.slice(n+1,r))):e}var vle=["name"],To=[];function qS(e,t,n,r,a,o){return typeof e=="function"?e(t,n,"source"in o?{source:o.source}:{}):r!==a}var eO=function(e){Eo(n,e);var t=Ko(n);function n(r){var a;if(Xn(this,n),a=t.call(this,r),W(Ue(a),"state",{resetCount:0}),W(Ue(a),"cancelRegisterFunc",null),W(Ue(a),"mounted",!1),W(Ue(a),"touched",!1),W(Ue(a),"dirty",!1),W(Ue(a),"validatePromise",void 0),W(Ue(a),"prevValidating",void 0),W(Ue(a),"errors",To),W(Ue(a),"warnings",To),W(Ue(a),"cancelRegister",function(){var c=a.props,u=c.preserve,d=c.isListField,f=c.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(d,u,xr(f)),a.cancelRegisterFunc=null}),W(Ue(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(De(p),De(u)):[]}),W(Ue(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})}),W(Ue(a),"refresh",function(){a.mounted&&a.setState(function(c){var u=c.resetCount;return{resetCount:u+1}})}),W(Ue(a),"metaCache",null),W(Ue(a),"triggerMetaEvent",function(c){var u=a.props.onMetaChange;if(u){var d=Z(Z({},a.getMeta()),{},{destroy:c});zo(a.metaCache,d)||u(d),a.metaCache=d}else a.metaCache=null}),W(Ue(a),"onStoreChange",function(c,u,d){var f=a.props,p=f.shouldUpdate,g=f.dependencies,h=g===void 0?[]:g,b=f.onReset,y=d.store,S=a.getNamePath(),v=a.getValue(c),x=a.getValue(y),C=u&&ed(u,S);switch(d.type==="valueUpdate"&&d.source==="external"&&!zo(v,x)&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=To,a.warnings=To,a.triggerMetaEvent()),d.type){case"reset":if(!u||C){a.touched=!1,a.dirty=!1,a.validatePromise=void 0,a.errors=To,a.warnings=To,a.triggerMetaEvent(),b==null||b(),a.refresh();return}break;case"remove":{if(p&&qS(p,c,y,v,x,d)){a.reRender();return}break}case"setField":{var w=d.data;if(C){"touched"in w&&(a.touched=w.touched),"validating"in w&&!("originRCField"in w)&&(a.validatePromise=w.validating?Promise.resolve([]):null),"errors"in w&&(a.errors=w.errors||To),"warnings"in w&&(a.warnings=w.warnings||To),a.dirty=!0,a.triggerMetaEvent(),a.reRender();return}else if("value"in w&&ed(u,S,!0)){a.reRender();return}if(p&&!S.length&&qS(p,c,y,v,x,d)){a.reRender();return}break}case"dependenciesUpdate":{var E=h.map(xr);if(E.some(function(I){return ed(d.relatedFields,I)})){a.reRender();return}break}default:if(C||(!h.length||S.length||p)&&qS(p,c,y,v,x,d)){a.reRender();return}break}p===!0&&a.reRender()}),W(Ue(a),"validateRules",function(c){var u=a.getNamePath(),d=a.getValue(),f=c||{},p=f.triggerName,g=f.validateOnly,h=g===void 0?!1:g,b=Promise.resolve().then(po(Hn().mark(function y(){var S,v,x,C,w,E,I;return Hn().wrap(function(R){for(;;)switch(R.prev=R.next){case 0:if(a.mounted){R.next=2;break}return R.abrupt("return",[]);case 2:if(S=a.props,v=S.validateFirst,x=v===void 0?!1:v,C=S.messageVariables,w=S.validateDebounce,E=a.getRules(),p&&(E=E.filter(function(_){return _}).filter(function(_){var $=_.validateTrigger;if(!$)return!0;var P=nR($);return P.includes(p)})),!(w&&p)){R.next=10;break}return R.next=8,new Promise(function(_){setTimeout(_,w)});case 8:if(a.validatePromise===b){R.next=10;break}return R.abrupt("return",[]);case 10:return I=fle(u,d,E,c,x,C),I.catch(function(_){return _}).then(function(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:To;if(a.validatePromise===b){var $;a.validatePromise=null;var P=[],D=[];($=_.forEach)===null||$===void 0||$.call(_,function(A){var O=A.rule.warningOnly,N=A.errors,k=N===void 0?To:N;O?D.push.apply(D,De(k)):P.push.apply(P,De(k))}),a.errors=P,a.warnings=D,a.triggerMetaEvent(),a.reRender()}}),R.abrupt("return",I);case 13:case"end":return R.stop()}},y)})));return h||(a.validatePromise=b,a.dirty=!0,a.errors=To,a.warnings=To,a.triggerMetaEvent(),a.reRender()),b}),W(Ue(a),"isFieldValidating",function(){return!!a.validatePromise}),W(Ue(a),"isFieldTouched",function(){return a.touched}),W(Ue(a),"isFieldDirty",function(){if(a.dirty||a.props.initialValue!==void 0)return!0;var c=a.props.fieldContext,u=c.getInternalHooks(Ql),d=u.getInitialValue;return d(a.getNamePath())!==void 0}),W(Ue(a),"getErrors",function(){return a.errors}),W(Ue(a),"getWarnings",function(){return a.warnings}),W(Ue(a),"isListField",function(){return a.props.isListField}),W(Ue(a),"isList",function(){return a.props.isList}),W(Ue(a),"isPreserve",function(){return a.props.preserve}),W(Ue(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}),W(Ue(a),"getOnlyChild",function(c){if(typeof c=="function"){var u=a.getMeta();return Z(Z({},a.getOnlyChild(c(a.getControlled(),u,a.props.fieldContext))),{},{isFunction:!0})}var d=vr(c);return d.length!==1||!l.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),W(Ue(a),"getValue",function(c){var u=a.props.fieldContext.getFieldsValue,d=a.getNamePath();return fo(c||u(!0),d)}),W(Ue(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,h=u.normalize,b=u.valuePropName,y=u.getValueProps,S=u.fieldContext,v=p!==void 0?p:S.validateTrigger,x=a.getNamePath(),C=S.getInternalHooks,w=S.getFieldsValue,E=C(Ql),I=E.dispatch,T=a.getValue(),R=y||function(A){return W({},b,A)},_=c[f],$=d!==void 0?R(T):{},P=Z(Z({},c),$);P[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(De(d.keys.slice(0,_)),[d.id],De(d.keys.slice(_))),x([].concat(De($.slice(0,_)),[R],De($.slice(_))))):(d.keys=[].concat(De(d.keys),[d.id]),x([].concat(De($),[R]))),d.id+=1},remove:function(R){var _=w(),$=new Set(Array.isArray(R)?R:[R]);$.size<=0||(d.keys=d.keys.filter(function(P,D){return!$.has(D)}),x(_.filter(function(P,D){return!$.has(D)})))},move:function(R,_){if(R!==_){var $=w();R<0||R>=$.length||_<0||_>=$.length||(d.keys=LM(d.keys,R,_),x(LM($,R,_)))}}},I=v||[];return Array.isArray(I)||(I=[]),r(I.map(function(T,R){var _=d.keys[R];return _===void 0&&(d.keys[R]=d.id,_=d.keys[R],d.id+=1),{name:R,key:_,isListField:!0}}),E,y)})))}function ble(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 CU="__@field_split__";function KS(e){return e.map(function(t){return"".concat(ht(t),":").concat(t)}).join(CU)}var au=function(){function e(){Xn(this,e),W(this,"kvs",new Map)}return Zn(e,[{key:"set",value:function(n,r){this.kvs.set(KS(n),r)}},{key:"get",value:function(n){return this.kvs.get(KS(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(KS(n))}},{key:"map",value:function(n){return De(this.kvs.entries()).map(function(r){var a=re(r,2),o=a[0],i=a[1],s=o.split(CU);return n({key:s.map(function(c){var u=c.match(/^([^:]*):(.*)$/),d=re(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}(),yle=["name"],Sle=Zn(function e(t){var n=this;Xn(this,e),W(this,"formHooked",!1),W(this,"forceRootUpdate",void 0),W(this,"subscribable",!0),W(this,"store",{}),W(this,"fieldEntities",[]),W(this,"initialValues",{}),W(this,"callbacks",{}),W(this,"validateMessages",null),W(this,"preserve",null),W(this,"lastValidatePromise",null),W(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}}),W(this,"getInternalHooks",function(r){return r===Ql?(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}):(vn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),W(this,"useSubscribe",function(r){n.subscribable=r}),W(this,"prevWithoutPreserves",null),W(this,"setInitialValues",function(r,a){if(n.initialValues=r||{},a){var o,i=Lu(r,n.store);(o=n.prevWithoutPreserves)===null||o===void 0||o.map(function(s){var c=s.key;i=ri(i,c,fo(r,c))}),n.prevWithoutPreserves=null,n.updateStore(i)}}),W(this,"destroyForm",function(r){if(r)n.updateStore({});else{var a=new au;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||a.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=a}}),W(this,"getInitialValue",function(r){var a=fo(n.initialValues,r);return r.length?Lu(a):a}),W(this,"setCallbacks",function(r){n.callbacks=r}),W(this,"setValidateMessages",function(r){n.validateMessages=r}),W(this,"setPreserve",function(r){n.preserve=r}),W(this,"watchList",[]),W(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(a){return a!==r})}}),W(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)})}}),W(this,"timeoutId",null),W(this,"warningUnhooked",function(){}),W(this,"updateStore",function(r){n.store=r}),W(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}),W(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=new au;return n.getFieldEntities(r).forEach(function(o){var i=o.getNamePath();a.set(i,o)}),a}),W(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var a=n.getFieldsMap(!0);return r.map(function(o){var i=xr(o);return a.get(i)||{INVALIDATE_NAME_PATH:xr(o)}})}),W(this,"getFieldsValue",function(r,a){n.warningUnhooked();var o,i,s;if(r===!0||Array.isArray(r)?(o=r,i=a):r&&ht(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 h,b;if((h=(b=d).isList)!==null&&h!==void 0&&h.call(b))return}else if(!o&&(f=(p=d).isListField)!==null&&f!==void 0&&f.call(p))return;if(!i)u.push(g);else{var y="getMeta"in d?d.getMeta():null;i(y)&&u.push(g)}}),DM(n.store,u.map(xr))}),W(this,"getFieldValue",function(r){n.warningUnhooked();var a=xr(r);return fo(n.store,a)}),W(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:xr(r[i]),errors:[],warnings:[]}})}),W(this,"getFieldError",function(r){n.warningUnhooked();var a=xr(r),o=n.getFieldsError([a])[0];return o.errors}),W(this,"getFieldWarning",function(r){n.warningUnhooked();var a=xr(r),o=n.getFieldsError([a])[0];return o.warnings}),W(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 au,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)vn(!1,"Form already set 'initialValues' with path '".concat(p.join("."),"'. Field can not overwrite it."));else{var h=a.get(p);if(h&&h.size>1)vn(!1,"Multiple Field with path '".concat(p.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(h){var b=n.getFieldValue(p),y=d.isListField();!y&&(!r.skipExist||b===void 0)&&n.updateStore(ri(n.store,p,De(h)[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,De(De(u).map(function(f){return f.entity})))}})):s=o,i(s)}),W(this,"resetFields",function(r){n.warningUnhooked();var a=n.store;if(!r){n.updateStore(Lu(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(a,null,{type:"reset"}),n.notifyWatch();return}var o=r.map(xr);o.forEach(function(i){var s=n.getInitialValue(i);n.updateStore(ri(n.store,i,s))}),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(a,o,{type:"reset"}),n.notifyWatch(o)}),W(this,"setFields",function(r){n.warningUnhooked();var a=n.store,o=[];r.forEach(function(i){var s=i.name,c=xt(i,yle),u=xr(s);o.push(u),"value"in c&&n.updateStore(ri(n.store,u,c.value)),n.notifyObservers(a,[u],{type:"setField",data:i})}),n.notifyWatch(o)}),W(this,"getFields",function(){var r=n.getFieldEntities(!0),a=r.map(function(o){var i=o.getNamePath(),s=o.getMeta(),c=Z(Z({},s),{},{name:i,value:n.getFieldValue(i)});return Object.defineProperty(c,"originRCField",{value:!0}),c});return a}),W(this,"initEntityValue",function(r){var a=r.props.initialValue;if(a!==void 0){var o=r.getNamePath(),i=fo(n.store,o);i===void 0&&n.updateStore(ri(n.store,o,a))}}),W(this,"isMergedPreserve",function(r){var a=r!==void 0?r:n.preserve;return a??!0}),W(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!xU(f.getNamePath(),a)})){var d=n.store;n.updateStore(ri(d,a,u,!0)),n.notifyObservers(d,[a],{type:"remove"}),n.triggerDependenciesUpdate(d,a)}}n.notifyWatch([a])}}),W(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}}}),W(this,"notifyObservers",function(r,a,o){if(n.subscribable){var i=Z(Z({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var c=s.onStoreChange;c(r,a,i)})}else n.forceRootUpdate()}),W(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(De(o))}),o}),W(this,"updateValue",function(r,a){var o=xr(r),i=n.store;n.updateStore(ri(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=DM(n.store,[o]);c(u,n.getFieldsValue())}n.triggerOnFieldsChange([o].concat(De(s)))}),W(this,"setFieldsValue",function(r){n.warningUnhooked();var a=n.store;if(r){var o=Lu(n.store,r);n.updateStore(o)}n.notifyObservers(a,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),W(this,"setFieldValue",function(r,a){n.setFields([{name:r,value:a}])}),W(this,"getDependencyChildrenFields",function(r){var a=new Set,o=[],i=new au;n.getFieldEntities().forEach(function(c){var u=c.props.dependencies;(u||[]).forEach(function(d){var f=xr(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}),W(this,"triggerOnFieldsChange",function(r,a){var o=n.callbacks.onFieldsChange;if(o){var i=n.getFields();if(a){var s=new au;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 ed(r,d)});c.length&&o(c,i)}}),W(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(xr):[],u=[],d=String(Date.now()),f=new Set,p=i||{},g=p.recursive,h=p.dirty;n.getFieldEntities(!0).forEach(function(v){if(s||c.push(v.getNamePath()),!(!v.props.rules||!v.props.rules.length)&&!(h&&!v.isFieldDirty())){var x=v.getNamePath();if(f.add(x.join(d)),!s||ed(c,x,g)){var C=v.validateRules(Z({validateMessages:Z(Z({},SU),n.validateMessages)},i));u.push(C.then(function(){return{name:x,errors:[],warnings:[]}}).catch(function(w){var E,I=[],T=[];return(E=w.forEach)===null||E===void 0||E.call(w,function(R){var _=R.rule.warningOnly,$=R.errors;_?T.push.apply(T,De($)):I.push.apply(I,De($))}),I.length?Promise.reject({name:x,errors:I,warnings:T}):{name:x,errors:I,warnings:T}}))}}});var b=ble(u);n.lastValidatePromise=b,b.catch(function(v){return v}).then(function(v){var x=v.map(function(C){var w=C.name;return w});n.notifyObservers(n.store,x,{type:"validateFinish"}),n.triggerOnFieldsChange(x,v)});var y=b.then(function(){return n.lastValidatePromise===b?Promise.resolve(n.getFieldsValue(c)):Promise.reject([])}).catch(function(v){var x=v.filter(function(C){return C&&C.errors.length});return Promise.reject({values:n.getFieldsValue(c),errorFields:x,outOfDate:n.lastValidatePromise!==b})});y.catch(function(v){return v});var S=c.filter(function(v){return f.has(v.join(d))});return n.triggerOnFieldsChange(S),y}),W(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 nO(e){var t=l.useRef(),n=l.useState({}),r=re(n,2),a=r[1];if(!t.current)if(e)t.current=e;else{var o=function(){a({})},i=new Sle(o);t.current=i.getForm()}return[t.current]}var dR=l.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),EU=function(t){var n=t.validateMessages,r=t.onFormChange,a=t.onFormFinish,o=t.children,i=l.useContext(dR),s=l.useRef({});return l.createElement(dR.Provider,{value:Z(Z({},i),{},{validateMessages:Z(Z({},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=Z(Z({},s.current),{},W({},u,d))),i.registerForm(u,d)},unregisterForm:function(u){var d=Z({},s.current);delete d[u],s.current=d,i.unregisterForm(u)}})},o)},xle=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],wle=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,h=t.onValuesChange,b=t.onFieldsChange,y=t.onFinish,S=t.onFinishFailed,v=t.clearOnDestroy,x=xt(t,xle),C=l.useRef(null),w=l.useContext(dR),E=nO(i),I=re(E,1),T=I[0],R=T.getInternalHooks(Ql),_=R.useSubscribe,$=R.setInitialValues,P=R.setCallbacks,D=R.setValidateMessages,A=R.setPreserve,O=R.destroyForm;l.useImperativeHandle(n,function(){return Z(Z({},T),{},{nativeElement:C.current})}),l.useEffect(function(){return w.registerForm(r,T),function(){w.unregisterForm(r)}},[w,T,r]),D(Z(Z({},w.validateMessages),f)),P({onValuesChange:h,onFieldsChange:function(H){if(w.triggerFormChange(r,H),b){for(var V=arguments.length,te=new Array(V>1?V-1:0),Y=1;Y{}}),TU=l.createContext(null),RU=e=>{const t=On(e,["prefixCls"]);return l.createElement(EU,Object.assign({},t))},rO=l.createContext({prefixCls:""}),zr=l.createContext({}),Ele=e=>{let{children:t,status:n,override:r}=e;const a=l.useContext(zr),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(zr.Provider,{value:o},t)},_U=l.createContext(void 0),Ui=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let a=r;return n&&(a=se.createElement(Ele,{override:!0,status:!0},a)),t&&(a=se.createElement(Hie,null,a)),a};function xd(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function jM(e){const{closable:t,closeIcon:n}=e||{};return se.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 BM(){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 Ile={};function aO(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ile;const r=jM(e),a=jM(t),o=se.useMemo(()=>Object.assign({closeIcon:se.createElement(Jr,null)},n),[n]),i=se.useMemo(()=>r===!1?!1:r?BM(o,a,r):a===!1?!1:a?BM(o,a):o.closable?o:!1,[r,a,o]);return se.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=Yn(i,!0);Object.keys(d).length&&(u=se.isValidElement(u)?se.cloneElement(u,d):se.createElement("span",Object.assign({},d),u))}return[!0,u]},[i,o])}var $U=function(t){if(Xr()&&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},Tle=function(t,n){if(!$U(t))return!1;var r=document.createElement("div"),a=r.style[t];return r.style[t]=n,r.style[t]!==a};function fR(e,t){return!Array.isArray(e)&&t!==void 0?Tle(e,t):$U(e)}const Rle=()=>Xr()&&window.document.documentElement,I0=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)})},_le=new un("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),T0=e=>({height:e,lineHeight:K(e)}),td=e=>Object.assign({width:e},T0(e)),$le=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:_le,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),YS=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},T0(e)),Ole=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:o}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},td(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},td(a)),[`${t}${t}-sm`]:Object.assign({},td(o))}},Nle=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},YS(t,s)),[`${r}-lg`]:Object.assign({},YS(a,s)),[`${r}-sm`]:Object.assign({},YS(o,s))}},zM=e=>Object.assign({width:e},T0(e)),kle=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},zM(o(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},zM(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%"}}},XS=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},ZS=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},T0(e)),Ale=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()},ZS(r,s))},XS(e,r,n)),{[`${n}-lg`]:Object.assign({},ZS(a,s))}),XS(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},ZS(o,s))}),XS(e,o,`${n}-sm`))},Mle=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:h,titleHeight:b,blockRadius:y,paragraphLiHeight:S,controlHeightXS:v,paragraphMarginTop:x}=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},td(c)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},td(u)),[`${n}-sm`]:Object.assign({},td(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:b,background:f,borderRadius:y,[`+ ${a}`]:{marginBlockStart:d}},[a]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:f,borderRadius:y,"+ li":{marginBlockStart:v}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:g,[`+ ${a}`]:{marginBlockStart:x}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Ale(e)),Ole(e)),Nle(e)),kle(e)),[`${t}${t}-block`]:{width:"100%",[o]:{width:"100%"},[i]:{width:"100%"}},[`${t}${t}-active`]:{[` + ${r}, + ${a} > li, + ${n}, + ${o}, + ${i}, + ${s} + `]:Object.assign({},$le(e))}}},Ple=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}},Gd=on("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=zt(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[Mle(r)]},Ple,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Dle=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:o="circle",size:i="default"}=e,{getPrefixCls:s}=l.useContext(st),c=s("skeleton",t),[u,d,f]=Gd(c),p=On(e,["prefixCls","className"]),g=ne(c,`${c}-element`,{[`${c}-active`]:a},n,r,d,f);return u(l.createElement("div",{className:g},l.createElement(I0,Object.assign({prefixCls:`${c}-avatar`,shape:o,size:i},p))))},Lle=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o=!1,size:i="default"}=e,{getPrefixCls:s}=l.useContext(st),c=s("skeleton",t),[u,d,f]=Gd(c),p=On(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(I0,Object.assign({prefixCls:`${c}-button`,size:i},p))))},Fle="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",jle=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o}=e,{getPrefixCls:i}=l.useContext(st),s=i("skeleton",t),[c,u,d]=Gd(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:Fle,className:`${s}-image-path`})))))},Ble=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:o,size:i="default"}=e,{getPrefixCls:s}=l.useContext(st),c=s("skeleton",t),[u,d,f]=Gd(c),p=On(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(I0,Object.assign({prefixCls:`${c}-input`,size:i},p))))};var zle={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"},Hle=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:zle}))},Ule=l.forwardRef(Hle);const Vle=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:o,children:i}=e,{getPrefixCls:s}=l.useContext(st),c=s("skeleton",t),[u,d,f]=Gd(c),p=ne(c,`${c}-element`,{[`${c}-active`]:o},d,n,r,f),g=i??l.createElement(Ule,null);return u(l.createElement("div",{className:p},l.createElement("div",{className:ne(`${c}-image`,n),style:a},g)))},Wle=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},Gle=e=>{const{prefixCls:t,className:n,style:r,rows:a}=e,o=De(Array(a)).map((i,s)=>l.createElement("li",{key:s,style:{width:Wle(s,e)}}));return l.createElement("ul",{className:ne(t,n),style:r},o)},qle=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 QS(e){return e&&typeof e=="object"?e:{}}function Kle(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Yle(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Xle(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Ol=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:h}=l.useContext(st),b=p("skeleton",t),[y,S,v]=Gd(b);if(n||!("loading"in e)){const x=!!s,C=!!c,w=!!u;let E;if(x){const R=Object.assign(Object.assign({prefixCls:`${b}-avatar`},Kle(C,w)),QS(s));E=l.createElement("div",{className:`${b}-header`},l.createElement(I0,Object.assign({},R)))}let I;if(C||w){let R;if(C){const $=Object.assign(Object.assign({prefixCls:`${b}-title`},Yle(x,w)),QS(c));R=l.createElement(qle,Object.assign({},$))}let _;if(w){const $=Object.assign(Object.assign({prefixCls:`${b}-paragraph`},Xle(x,C)),QS(u));_=l.createElement(Gle,Object.assign({},$))}I=l.createElement("div",{className:`${b}-content`},R,_)}const T=ne(b,{[`${b}-with-avatar`]:x,[`${b}-active`]:d,[`${b}-rtl`]:g==="rtl",[`${b}-round`]:f},h==null?void 0:h.className,r,a,S,v);return y(l.createElement("div",{className:T,style:Object.assign(Object.assign({},h==null?void 0:h.style),o)},E,I))}return i??null};Ol.Button=Lle;Ol.Avatar=Dle;Ol.Input=Ble;Ol.Image=jle;Ol.Node=Vle;function HM(){}const Zle=l.createContext({add:HM,remove:HM});function OU(e){const t=l.useContext(Zle),n=l.useRef();return Wt(a=>{if(a){const o=e?a.querySelector(e):a;t.add(o),n.current=o}else t.remove(n.current)})}const UM=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=l.useContext(Kg);return se.createElement(ut,Object.assign({onClick:n},e),t)},VM=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:a}=l.useContext(Kg);return se.createElement(ut,Object.assign({},oU(n),{loading:e,onClick:a},t),r)};function NU(e,t){return se.createElement("span",{className:`${e}-close-x`},t||se.createElement(Jr,{className:`${e}-close-icon`}))}const kU=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:o,onCancel:i,okButtonProps:s,cancelButtonProps:c,footer:u}=e,[d]=qi("Modal",pH()),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},h=se.useMemo(()=>g,De(Object.values(g)));let b;return typeof u=="function"||typeof u>"u"?(b=se.createElement(se.Fragment,null,se.createElement(UM,null),se.createElement(VM,null)),typeof u=="function"&&(b=u(b,{OkBtn:VM,CancelBtn:UM})),b=se.createElement(fU,{value:h},b)):b=u,se.createElement(H$,{disabled:!1},b)},Zg=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`}}}),Qle=e=>({animationDuration:e,animationFillMode:"both"}),Jle=e=>({animationDuration:e,animationFillMode:"both"}),R0=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + ${o}${e}-enter, + ${o}${e}-appear + `]:Object.assign(Object.assign({},Qle(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:Object.assign(Object.assign({},Jle(r)),{animationPlayState:"paused"}),[` + ${o}${e}-enter${e}-enter-active, + ${o}${e}-appear${e}-appear-active + `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},ece=new un("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),tce=new un("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),oO=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,a=t?"&":"";return[R0(r,ece,tce,e.motionDurationMid,t),{[` + ${a}${r}-enter, + ${a}${r}-appear + `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${r}-leave`]:{animationTimingFunction:"linear"}}]},nce=new un("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),rce=new un("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),ace=new un("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),oce=new un("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),ice=new un("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),sce=new un("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),lce=new un("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),cce=new un("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),uce={"move-up":{inKeyframes:lce,outKeyframes:cce},"move-down":{inKeyframes:nce,outKeyframes:rce},"move-left":{inKeyframes:ace,outKeyframes:oce},"move-right":{inKeyframes:ice,outKeyframes:sce}},wd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:o}=uce[t];return[R0(r,a,o,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},_0=new un("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),$0=new un("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),O0=new un("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),N0=new un("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),dce=new un("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),fce=new un("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),pce=new un("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),gce=new un("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),mce={"slide-up":{inKeyframes:_0,outKeyframes:$0},"slide-down":{inKeyframes:O0,outKeyframes:N0},"slide-left":{inKeyframes:dce,outKeyframes:fce},"slide-right":{inKeyframes:pce,outKeyframes:gce}},Vi=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:o}=mce[t];return[R0(r,a,o,e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},iO=new un("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),hce=new un("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),WM=new un("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),GM=new un("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),vce=new un("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),bce=new un("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),yce=new un("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),Sce=new un("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),xce=new un("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),wce=new un("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),Cce=new un("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),Ece=new un("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),Ice={zoom:{inKeyframes:iO,outKeyframes:hce},"zoom-big":{inKeyframes:WM,outKeyframes:GM},"zoom-big-fast":{inKeyframes:WM,outKeyframes:GM},"zoom-left":{inKeyframes:yce,outKeyframes:Sce},"zoom-right":{inKeyframes:xce,outKeyframes:wce},"zoom-up":{inKeyframes:vce,outKeyframes:bce},"zoom-down":{inKeyframes:Cce,outKeyframes:Ece}},qd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:o}=Ice[t];return[R0(r,a,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + ${r}-enter, + ${r}-appear + `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function qM(e){return{position:e,inset:0}}const AU=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({},qM("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},qM("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:oO(e)}]},Tce=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:`${K(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},nn(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${K(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:K(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},zi(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${K(e.borderRadiusLG)} ${K(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:`${K(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"}}}]},Rce=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},MU=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return zt(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()})},PU=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${K(e.paddingMD)} ${K(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${K(e.padding)} ${K(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${K(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${K(e.paddingXS)} ${K(e.padding)}`:0,footerBorderTop:e.wireframe?`${K(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${K(e.borderRadiusLG)} ${K(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${K(e.padding*2)} ${K(e.padding*2)} ${K(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),DU=on("Modal",e=>{const t=MU(e);return[Tce(t),Rce(t),AU(t),qd(t,"zoom")]},PU,{unitless:{titleLineHeight:!0}});var _ce=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{pR={x:e.pageX,y:e.pageY},setTimeout(()=>{pR=null},100)};Rle()&&document.documentElement.addEventListener("click",$ce,!0);const LU=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:a,modal:o}=l.useContext(st),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:h,focusTriggerAfterClose:b=!0,style:y,visible:S,width:v=520,footer:x,classNames:C,styles:w,children:E,loading:I}=e,T=_ce(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),R=r("modal",c),_=r(),$=Un(R),[P,D,A]=DU(R,$),O=ne(p,{[`${R}-centered`]:!!g,[`${R}-wrap-rtl`]:a==="rtl"}),N=x!==null&&!I?l.createElement(kU,Object.assign({},e,{onOk:s,onCancel:i})):null,[k,M]=aO(xd(e),xd(o),{closable:!0,closeIcon:l.createElement(Jr,{className:`${R}-close-icon`}),closeIconRender:B=>NU(R,B)}),L=OU(`.${R}-content`),[F,j]=Si("Modal",T.zIndex);return P(l.createElement(Ui,{form:!0,space:!0},l.createElement(Vg.Provider,{value:j},l.createElement(J$,Object.assign({width:v},T,{zIndex:F,getContainer:h===void 0?n:h,prefixCls:R,rootClassName:ne(D,d,A,$),footer:N,visible:f??S,mousePosition:(t=T.mousePosition)!==null&&t!==void 0?t:pR,onClose:i,closable:k,closeIcon:M,focusTriggerAfterClose:b,transitionName:xa(_,"zoom",e.transitionName),maskTransitionName:xa(_,"fade",e.maskTransitionName),className:ne(D,u,o==null?void 0:o.className),style:Object.assign(Object.assign({},o==null?void 0:o.style),y),classNames:Object.assign(Object.assign(Object.assign({},o==null?void 0:o.classNames),C),{wrapper:ne(O,C==null?void 0:C.wrapper)}),styles:Object.assign(Object.assign({},o==null?void 0:o.styles),w),panelRef:L}),I?l.createElement(Ol,{active:!0,title:!1,paragraph:{rows:4},className:`${R}-body-skeleton`}):E))))},Oce=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({},mi()),[`&${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% - ${K(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}}},Nce=Hd(["Modal","confirm"],e=>{const t=MU(e);return[Oce(t)]},PU,{order:-1e3});var kce=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,De(Object.values(v))),C=l.createElement(l.Fragment,null,l.createElement(bM,null),l.createElement(yM,null)),w=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`]:w})},f,l.createElement("div",{className:`${o}-paragraph`},w&&l.createElement("span",{className:`${o}-title`},e.title),l.createElement("div",{className:`${o}-content`},e.content))),c===void 0||typeof c=="function"?l.createElement(fU,{value:x},l.createElement("div",{className:`${o}-btns`},typeof c=="function"?c(C,{OkBtn:yM,CancelBtn:bM}):C)):c,l.createElement(Nce,{prefixCls:t}))}const Ace=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:h=!1,closeIcon:b,modalRender:y,focusTriggerAfterClose:S,onConfirm:v,styles:x}=e,C=`${d}-confirm`,w=e.width||416,E=e.style||{},I=e.mask===void 0?!0:e.mask,T=e.maskClosable===void 0?!1:e.maskClosable,R=ne(C,`${C}-${e.type}`,{[`${C}-rtl`]:u==="rtl"},e.className),[,_]=ta(),$=l.useMemo(()=>n!==void 0?n:_.zIndexPopupBase+XH,[n,_]);return l.createElement(LU,{prefixCls:d,className:R,wrapClassName:ne({[`${C}-centered`]:!!e.centered},f),onCancel:()=>{t==null||t({triggerCancel:!0}),v==null||v(!1)},open:a,title:"",footer:null,transitionName:xa(p||"","zoom",e.transitionName),maskTransitionName:xa(p||"","fade",e.maskTransitionName),mask:I,maskClosable:T,style:E,styles:Object.assign({body:g,mask:c},x),width:w,zIndex:$,afterClose:r,keyboard:o,centered:i,getContainer:s,closable:h,closeIcon:b,modalRender:y,focusTriggerAfterClose:S},l.createElement(FU,Object.assign({},e,{confirmPrefixCls:C})))},jU=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:a}=e;return l.createElement(yi,{prefixCls:t,iconPrefixCls:n,direction:r,theme:a},l.createElement(Ace,Object.assign({},e)))},Jl=[];let BU="";function zU(){return BU}const Mce=e=>{var t,n;const{prefixCls:r,getContainer:a,direction:o}=e,i=pH(),s=l.useContext(st),c=zU()||s.getPrefixCls(),u=r||`${c}-modal`;let d=a;return d===!1&&(d=void 0),se.createElement(jU,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 Qg(e){const t=zH(),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;pb==null?void 0:b.triggerCancel)){var h;(u=e.onCancel)===null||u===void 0||(h=u).call.apply(h,[e,()=>{}].concat(De(f.slice(1))))}for(let b=0;b{const d=t.getPrefixCls(void 0,zU()),f=t.getIconPrefixCls(),p=t.getTheme(),g=se.createElement(Mce,Object.assign({},u));X$(se.createElement(yi,{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),Jl.push(s),{destroy:s,update:c}}function HU(e){return Object.assign(Object.assign({},e),{type:"warning"})}function UU(e){return Object.assign(Object.assign({},e),{type:"info"})}function VU(e){return Object.assign(Object.assign({},e),{type:"success"})}function WU(e){return Object.assign(Object.assign({},e),{type:"error"})}function GU(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Pce(e){let{rootPrefixCls:t}=e;BU=t}var Dce=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=Dce(e,["afterClose","config"]);const[i,s]=l.useState(!0),[c,u]=l.useState(a),{direction:d,getPrefixCls:f}=l.useContext(st),p=f("modal"),g=f(),h=()=>{var v;r(),(v=c.afterClose)===null||v===void 0||v.call(c)},b=function(){var v;s(!1);for(var x=arguments.length,C=new Array(x),w=0;wT==null?void 0:T.triggerCancel)){var I;(v=c.onCancel)===null||v===void 0||(I=v).call.apply(I,[c,()=>{}].concat(De(C.slice(1))))}};l.useImperativeHandle(t,()=>({destroy:b,update:v=>{u(x=>Object.assign(Object.assign({},x),v))}}));const y=(n=c.okCancel)!==null&&n!==void 0?n:c.type==="confirm",[S]=qi("Modal",Uo.Modal);return l.createElement(jU,Object.assign({prefixCls:p,rootPrefixCls:g},c,{close:b,open:i,afterClose:h,okText:c.okText||(y?S==null?void 0:S.okText:S==null?void 0:S.justOkText),direction:c.direction||d,cancelText:c.cancelText||(S==null?void 0:S.cancelText)},o))},Fce=l.forwardRef(Lce);let KM=0;const jce=l.memo(l.forwardRef((e,t)=>{const[n,r]=wie();return l.useImperativeHandle(t,()=>({patchElement:r}),[]),l.createElement(l.Fragment,null,n)}));function Bce(){const e=l.useRef(null),[t,n]=l.useState([]);l.useEffect(()=>{t.length&&(De(t).forEach(i=>{i()}),n([]))},[t]);const r=l.useCallback(o=>function(s){var c;KM+=1;const u=l.createRef();let d;const f=new Promise(y=>{d=y});let p=!1,g;const h=l.createElement(Fce,{key:`modal-${KM}`,config:o(s),ref:u,afterClose:()=>{g==null||g()},isSilent:()=>p,onConfirm:y=>{d(y)}});return g=(c=e.current)===null||c===void 0?void 0:c.patchElement(h),g&&Jl.push(g),{destroy:()=>{function y(){var S;(S=u.current)===null||S===void 0||S.destroy()}u.current?y():n(S=>[].concat(De(S),[y]))},update:y=>{function S(){var v;(v=u.current)===null||v===void 0||v.update(y)}u.current?S():n(v=>[].concat(De(v),[S]))},then:y=>(p=!0,f.then(y))}},[]);return[l.useMemo(()=>({info:r(UU),success:r(VU),error:r(WU),warning:r(HU),confirm:r(GU)}),[]),l.createElement(jce,{key:"modal-holder",ref:e})]}const zce=se.createContext({});function qU(e){return t=>l.createElement(yi,{theme:{token:{motion:!1,zIndexPopupBase:0}}},l.createElement(e,Object.assign({},t)))}const Jg=(e,t,n,r)=>qU(o=>{const{prefixCls:i,style:s}=o,c=l.useRef(null),[u,d]=l.useState(0),[f,p]=l.useState(0),[g,h]=sn(!1,{value:o.open}),{getPrefixCls:b}=l.useContext(st),y=b(t||"select",i);l.useEffect(()=>{if(h(!0),typeof ResizeObserver<"u"){const x=new ResizeObserver(w=>{const E=w[0].target;d(E.offsetHeight+8),p(E.offsetWidth)}),C=setInterval(()=>{var w;const E=n?`.${n(y)}`:`.${y}-dropdown`,I=(w=c.current)===null||w===void 0?void 0:w.querySelector(E);I&&(clearInterval(C),x.observe(I))},10);return()=>{clearInterval(C),x.disconnect()}}},[]);let S=Object.assign(Object.assign({},o),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>c.current});r&&(S=r(S));const v={paddingBottom:u,position:"relative",minWidth:f};return l.createElement("div",{ref:c,style:v},l.createElement(e,Object.assign({},S)))}),k0=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 A0=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))},Hce=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=se.useMemo(function(){if(ht(a)==="object")return a.clearIcon;if(o)return o},[a,o]),d=se.useMemo(function(){return!!(!i&&a&&(r.length||s)&&!(c==="combobox"&&s===""))},[a,i,r.length,s,c]);return{allowClear:d,clearIcon:se.createElement(A0,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},KU=l.createContext(null);function YU(){return l.useContext(KU)}function Uce(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=l.useState(!1),n=re(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 XU(){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 Vce(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 Wce(e){return![Le.ESC,Le.SHIFT,Le.BACKSPACE,Le.TAB,Le.WIN_KEY,Le.ALT,Le.META,Le.WIN_KEY_RIGHT,Le.CTRL,Le.SEMICOLON,Le.EQUALS,Le.CAPS_LOCK,Le.CONTEXT_MENU,Le.F1,Le.F2,Le.F3,Le.F4,Le.F5,Le.F6,Le.F7,Le.F8,Le.F9,Le.F10,Le.F11,Le.F12].includes(e)}var Gce=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ou=void 0;function qce(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,h=e.order,b=e.component,y=b===void 0?"div":b,S=xt(e,Gce),v=i&&!g;function x(T){c(u,T)}l.useEffect(function(){return function(){x(null)}},[]);var C=o&&a!==ou?o(a):p,w;r||(w={opacity:v?0:1,height:v?0:ou,overflowY:v?"hidden":ou,order:i?h:ou,pointerEvents:v?"none":ou,position:v?"absolute":ou});var E={};v&&(E["aria-hidden"]=!0);var I=l.createElement(y,pe({className:ne(!r&&n,d),style:Z(Z({},w),f)},E,S,{ref:t}),C);return i&&(I=l.createElement(sa,{onResize:function(R){var _=R.offsetWidth;x(_)},disabled:s},I)),I}var yp=l.forwardRef(qce);yp.displayName="Item";function Kce(e){if(typeof MessageChannel>"u")Ut(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Yce(){var e=l.useRef(null),t=function(r){e.current||(e.current=[],Kce(function(){Lr.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function Of(e,t){var n=l.useState(t),r=re(n,2),a=r[0],o=r[1],i=Wt(function(s){e(function(){o(s)})});return[a,i]}var db=se.createContext(null),Xce=["component"],Zce=["className"],Qce=["className"],Jce=function(t,n){var r=l.useContext(db);if(!r){var a=t.component,o=a===void 0?"div":a,i=xt(t,Xce);return l.createElement(o,pe({},i,{ref:n}))}var s=r.className,c=xt(r,Zce),u=t.className,d=xt(t,Qce);return l.createElement(db.Provider,{value:null},l.createElement(yp,pe({ref:n,className:ne(s,u)},c,d)))},ZU=l.forwardRef(Jce);ZU.displayName="RawItem";var eue=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],QU="responsive",JU="invalidate";function tue(e){return"+ ".concat(e.length," ...")}function nue(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,h=e.maxCount,b=e.renderRest,y=e.renderRawRest,S=e.suffix,v=e.component,x=v===void 0?"div":v,C=e.itemComponent,w=e.onVisibleChange,E=xt(e,eue),I=f==="full",T=Yce(),R=Of(T,null),_=re(R,2),$=_[0],P=_[1],D=$||0,A=Of(T,new Map),O=re(A,2),N=O[0],k=O[1],M=Of(T,0),L=re(M,2),F=L[0],j=L[1],B=Of(T,0),z=re(B,2),H=z[0],V=z[1],te=Of(T,0),Y=re(te,2),J=Y[0],G=Y[1],U=l.useState(null),q=re(U,2),X=q[0],Q=q[1],ee=l.useState(null),oe=re(ee,2),le=oe[0],fe=oe[1],ce=l.useMemo(function(){return le===null&&I?Number.MAX_SAFE_INTEGER:le||0},[le,$]),Te=l.useState(!1),Se=re(Te,2),ve=Se[0],ae=Se[1],ie="".concat(r,"-item"),ue=Math.max(F,H),ye=h===QU,Ee=o.length&&ye,Me=h===JU,Ie=Ee||typeof h=="number"&&o.length>h,Ce=l.useMemo(function(){var Ze=o;return Ee?$===null&&I?Ze=o:Ze=o.slice(0,Math.min(o.length,D/d)):typeof h=="number"&&(Ze=o.slice(0,h)),Ze},[o,d,$,h,Ee]),me=l.useMemo(function(){return Ee?o.slice(ce+1):o.slice(Ce.length)},[o,Ce,Ee,ce]),we=l.useCallback(function(Ze,je){var Je;return typeof c=="function"?c(Ze):(Je=c&&(Ze==null?void 0:Ze[c]))!==null&&Je!==void 0?Je:je},[c]),_e=l.useCallback(i||function(Ze){return Ze},[i]);function Ne(Ze,je,Je){le===Ze&&(je===void 0||je===X)||(fe(Ze),Je||(ae(ZeD){Ne(mt-1,Ze-ft-J+H);break}}S&&Pe(0)+J>D&&Q(null)}},[D,N,H,J,we,Ce]);var Ve=ve&&!!me.length,Ae={};X!==null&&Ee&&(Ae={position:"absolute",left:X,top:0});var be={prefixCls:ie,responsive:Ee,component:C,invalidate:Me},Oe=s?function(Ze,je){var Je=we(Ze,je);return l.createElement(db.Provider,{key:Je,value:Z(Z({},be),{},{order:je,item:Ze,itemKey:Je,registerSize:ke,display:je<=ce})},s(Ze,je))}:function(Ze,je){var Je=we(Ze,je);return l.createElement(yp,pe({},be,{order:je,key:Je,item:Ze,renderItem:_e,itemKey:Je,registerSize:ke,display:je<=ce}))},Fe,Ke={order:Ve?ce:Number.MAX_SAFE_INTEGER,className:"".concat(ie,"-rest"),registerSize:xe,display:Ve};if(y)y&&(Fe=l.createElement(db.Provider,{value:Z(Z({},be),Ke)},y(me)));else{var He=b||tue;Fe=l.createElement(yp,pe({},be,Ke),typeof He=="function"?He(me):He)}var ze=l.createElement(x,pe({className:ne(!Me&&r,g),style:p,ref:t},E),Ce.map(Oe),Ie?Fe:null,S&&l.createElement(yp,pe({},be,{responsive:ye,responsiveDisabled:!Ee,order:ce,className:"".concat(ie,"-suffix"),registerSize:ge,display:!0,style:Ae}),S));return ye&&(ze=l.createElement(sa,{onResize:he,disabled:!Ee},ze)),ze}var di=l.forwardRef(nue);di.displayName="Overflow";di.Item=ZU;di.RESPONSIVE=QU;di.INVALIDATE=JU;var rue=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,h=t.maxLength,b=t.onKeyDown,y=t.onMouseDown,S=t.onChange,v=t.onPaste,x=t.onCompositionStart,C=t.onCompositionEnd,w=t.open,E=t.attrs,I=i||l.createElement("input",null),T=I,R=T.ref,_=T.props,$=_.onKeyDown,P=_.onChange,D=_.onMouseDown,A=_.onCompositionStart,O=_.onCompositionEnd,N=_.style;return"maxLength"in I.props,I=l.cloneElement(I,Z(Z(Z({type:"search"},_),{},{id:o,ref:ea(n,R),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":w||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":w?p:void 0},E),{},{value:f?g:"",maxLength:h,readOnly:!f,unselectable:f?null:"on",style:Z(Z({},N),{},{opacity:f?null:0}),onKeyDown:function(M){b(M),$&&$(M)},onMouseDown:function(M){y(M),D&&D(M)},onChange:function(M){S(M),P&&P(M)},onCompositionStart:function(M){x(M),A&&A(M)},onCompositionEnd:function(M){C(M),O&&O(M)},onPaste:v})),I},eV=l.forwardRef(rue);function tV(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var aue=typeof window<"u"&&window.document&&window.document.documentElement,oue=aue;function iue(e){return e!=null}function sue(e){return!e&&e!==0}function YM(e){return["string","number"].includes(ht(e))}function nV(e){var t=void 0;return e&&(YM(e.title)?t=e.title.toString():YM(e.label)&&(t=e.label.toString())),t}function lue(e,t){oue?l.useLayoutEffect(e,t):l.useEffect(e,t)}function cue(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var XM=function(t){t.preventDefault(),t.stopPropagation()},uue=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,h=t.autoComplete,b=t.activeDescendantId,y=t.tabIndex,S=t.removeIcon,v=t.maxTagCount,x=t.maxTagTextLength,C=t.maxTagPlaceholder,w=C===void 0?function(Q){return"+ ".concat(Q.length," ...")}:C,E=t.tagRender,I=t.onToggleOpen,T=t.onRemove,R=t.onInputChange,_=t.onInputPaste,$=t.onInputKeyDown,P=t.onInputMouseDown,D=t.onInputCompositionStart,A=t.onInputCompositionEnd,O=l.useRef(null),N=l.useState(0),k=re(N,2),M=k[0],L=k[1],F=l.useState(!1),j=re(F,2),B=j[0],z=j[1],H="".concat(r,"-selection"),V=o||f==="multiple"&&s===!1||f==="tags"?i:"",te=f==="tags"||f==="multiple"&&s===!1||p&&(o||B);lue(function(){L(O.current.scrollWidth)},[V]);var Y=function(ee,oe,le,fe,ce){return l.createElement("span",{title:nV(ee),className:ne("".concat(H,"-item"),W({},"".concat(H,"-item-disabled"),le))},l.createElement("span",{className:"".concat(H,"-item-content")},oe),fe&&l.createElement(A0,{className:"".concat(H,"-item-remove"),onMouseDown:XM,onClick:ce,customizeIcon:S},"×"))},J=function(ee,oe,le,fe,ce,Te){var Se=function(ae){XM(ae),I(!o)};return l.createElement("span",{onMouseDown:Se},E({label:oe,value:ee,disabled:le,closable:fe,onClose:ce,isMaxTag:!!Te}))},G=function(ee){var oe=ee.disabled,le=ee.label,fe=ee.value,ce=!d&&!oe,Te=le;if(typeof x=="number"&&(typeof le=="string"||typeof le=="number")){var Se=String(Te);Se.length>x&&(Te="".concat(Se.slice(0,x),"..."))}var ve=function(ie){ie&&ie.stopPropagation(),T(ee)};return typeof E=="function"?J(fe,Te,oe,ce,ve):Y(ee,Te,oe,ce,ve)},U=function(ee){var oe=typeof w=="function"?w(ee):w;return typeof E=="function"?J(void 0,oe,!1,!1,void 0,!0):Y({title:oe},oe,!1)},q=l.createElement("div",{className:"".concat(H,"-search"),style:{width:M},onFocus:function(){z(!0)},onBlur:function(){z(!1)}},l.createElement(eV,{ref:c,open:o,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:g,autoComplete:h,editable:te,activeDescendantId:b,value:V,onKeyDown:$,onMouseDown:P,onChange:R,onPaste:_,onCompositionStart:D,onCompositionEnd:A,tabIndex:y,attrs:Yn(t,!0)}),l.createElement("span",{ref:O,className:"".concat(H,"-search-mirror"),"aria-hidden":!0},V," ")),X=l.createElement(di,{prefixCls:"".concat(H,"-overflow"),data:a,renderItem:G,renderRest:U,suffix:q,itemKey:cue,maxCount:v});return l.createElement(l.Fragment,null,X,!a.length&&!V&&l.createElement("span",{className:"".concat(H,"-placeholder")},u))},due=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,h=t.tabIndex,b=t.showSearch,y=t.searchValue,S=t.activeValue,v=t.maxLength,x=t.onInputKeyDown,C=t.onInputMouseDown,w=t.onInputChange,E=t.onInputPaste,I=t.onInputCompositionStart,T=t.onInputCompositionEnd,R=t.title,_=l.useState(!1),$=re(_,2),P=$[0],D=$[1],A=d==="combobox",O=A||b,N=p[0],k=y||"";A&&S&&!P&&(k=S),l.useEffect(function(){A&&D(!1)},[A,S]);var M=d!=="combobox"&&!f&&!b?!1:!!k,L=R===void 0?nV(N):R,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(eV,{ref:o,prefixCls:r,id:a,open:f,inputElement:n,disabled:i,autoFocus:s,autoComplete:c,editable:O,activeDescendantId:u,value:k,onKeyDown:x,onMouseDown:C,onChange:function(B){D(!0),w(B)},onPaste:E,onCompositionStart:I,onCompositionEnd:T,tabIndex:h,attrs:Yn(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)},fue=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,h=t.onToggleOpen,b=t.onInputKeyDown,y=t.domRef;l.useImperativeHandle(n,function(){return{focus:function(M){r.current.focus(M)},blur:function(){r.current.blur()}}});var S=XU(0),v=re(S,2),x=v[0],C=v[1],w=function(M){var L=M.which;(L===Le.UP||L===Le.DOWN)&&M.preventDefault(),b&&b(M),L===Le.ENTER&&s==="tags"&&!a.current&&!i&&(g==null||g(M.target.value)),Wce(L)&&h(!0)},E=function(){C(!0)},I=l.useRef(null),T=function(M){p(M,!0,a.current)!==!1&&h(!0)},R=function(){a.current=!0},_=function(M){a.current=!1,s!=="combobox"&&T(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,T(L)},P=function(M){var L=M.clipboardData,F=L==null?void 0:L.getData("text");I.current=F||""},D=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=x();M.target!==r.current&&!L&&!(s==="combobox"&&d)&&M.preventDefault(),(s!=="combobox"&&(!c||!L)||!i)&&(i&&f!==!1&&p("",!0,!1),h())},O={inputRef:r,onInputKeyDown:w,onInputMouseDown:E,onInputChange:$,onInputPaste:P,onInputCompositionStart:R,onInputCompositionEnd:_},N=s==="multiple"||s==="tags"?l.createElement(uue,pe({},t,O)):l.createElement(due,pe({},t,O));return l.createElement("div",{ref:y,className:"".concat(o,"-selector"),onClick:D,onMouseDown:A},N)},pue=l.forwardRef(fue);function gue(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 h=n.points[0],b=n.points[1],y=h[0],S=h[1],v=b[0],x=b[1];y===v||!["t","b"].includes(y)?g.top=f:y==="t"?g.top=0:g.bottom=0,S===x||!["l","r"].includes(S)?g.left=u:S==="l"?g.left=0:g.right=0}return l.createElement("div",{ref:p,className:ne("".concat(t,"-arrow"),i),style:g},s)}function mue(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,o=e.motion;return a?l.createElement(Qr,pe({},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 hue=l.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),vue=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,h=e.arrowPos,b=e.align,y=e.motion,S=e.maskMotion,v=e.forceRender,x=e.getPopupContainer,C=e.autoDestroy,w=e.portal,E=e.zIndex,I=e.onMouseEnter,T=e.onMouseLeave,R=e.onPointerEnter,_=e.ready,$=e.offsetX,P=e.offsetY,D=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=(x==null?void 0:x.length)>0,z=l.useState(!x||!B),H=re(z,2),V=H[0],te=H[1];if(Xt(function(){!V&&B&&i&&te(!0)},[V,B,i]),!V)return null;var Y="auto",J={left:"-1000vw",top:"-1000vh",right:Y,bottom:Y};if(_||!c){var G,U=b.points,q=b.dynamicInset||((G=b._experimental)===null||G===void 0?void 0:G.dynamicInset),X=q&&U[0][1]==="r",Q=q&&U[0][0]==="b";X?(J.right=D,J.left=Y):(J.left=$,J.right=Y),Q?(J.bottom=A,J.top=Y):(J.top=P,J.bottom=Y)}var ee={};return k&&(k.includes("height")&&L?ee.height=L:k.includes("minHeight")&&L&&(ee.minHeight=L),k.includes("width")&&M?ee.width=M:k.includes("minWidth")&&M&&(ee.minWidth=M)),c||(ee.pointerEvents="none"),l.createElement(w,{open:v||j,getContainer:x&&function(){return x(i)},autoDestroy:C},l.createElement(mue,{prefixCls:a,open:c,zIndex:E,mask:p,motion:S}),l.createElement(sa,{onResize:O,disabled:!c},function(oe){return l.createElement(Qr,pe({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:v,leavedClassName:"".concat(a,"-hidden")},y,{onAppearPrepare:N,onEnterPrepare:N,visible:c,onVisibleChanged:function(fe){var ce;y==null||(ce=y.onVisibleChanged)===null||ce===void 0||ce.call(y,fe),s(fe)}}),function(le,fe){var ce=le.className,Te=le.style,Se=ne(a,ce,r);return l.createElement("div",{ref:ea(oe,t,fe),className:Se,style:Z(Z(Z(Z({"--arrow-x":"".concat(h.x||0,"px"),"--arrow-y":"".concat(h.y||0,"px")},J),ee),Te),{},{boxSizing:"border-box",zIndex:E},o),onMouseEnter:I,onMouseLeave:T,onPointerEnter:R,onClick:f},g&&l.createElement(gue,{prefixCls:a,arrow:g,arrowPos:h,align:b}),l.createElement(hue,{cache:!c&&!d},F))})}))}),bue=l.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=gi(n),o=l.useCallback(function(s){tg(t,r?r(s):s)},[r]),i=$s(o,n.ref);return a?l.cloneElement(n,{ref:i}):n}),ZM=l.createContext(null);function QM(e){return e?Array.isArray(e)?e:[e]:[]}function yue(e,t,n,r){return l.useMemo(function(){var a=QM(n??t),o=QM(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 Sue(){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 xue(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 Nf(e){return pg(parseFloat(e),0)}function e4(e,t){var n=Z({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=em(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,h=r.offsetWidth,b=r.clientWidth,y=Nf(s),S=Nf(c),v=Nf(u),x=Nf(d),C=pg(Math.round(f.width/h*1e3)/1e3),w=pg(Math.round(f.height/p*1e3)/1e3),E=(h-b-v-x)*C,I=(p-g-y-S)*w,T=y*w,R=S*w,_=v*C,$=x*C,P=0,D=0;if(o==="clip"){var A=Nf(i);P=A*C,D=A*w}var O=f.x+_-P,N=f.y+T-D,k=O+f.width+2*P-_-$-E,M=N+f.height+2*D-T-R-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 t4(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 n4(e,t){var n=t||[],r=re(n,2),a=r[0],o=r[1];return[t4(e.width,a),t4(e.height,o)]}function r4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function iu(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 Ps(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 wue(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=re(s,2),u=c[0],d=c[1],f=l.useRef(0),p=l.useMemo(function(){return t?gR(t):[]},[t]),g=l.useRef({}),h=function(){g.current={}};e||h();var b=Wt(function(){if(t&&n&&e){let mn=function(Ia,ra){var Fa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ue,wi=H.x+Ia,Xc=H.y+ra,At=wi+Q,Yt=Xc+X,Vn=Math.max(wi,Fa.left),pr=Math.max(Xc,Fa.top),Wn=Math.min(At,Fa.right),As=Math.min(Yt,Fa.bottom);return Math.max(0,(Wn-Vn)*(As-pr))},ua=function(){bt=H.y+Je,rt=bt+X,St=H.x+je,Et=St+Q};var yn=mn,fr=ua,v,x,C,w,E=t,I=E.ownerDocument,T=em(E),R=T.getComputedStyle(E),_=R.width,$=R.height,P=R.position,D=E.style.left,A=E.style.top,O=E.style.right,N=E.style.bottom,k=E.style.overflow,M=Z(Z({},a[r]),o),L=I.createElement("div");(v=E.parentElement)===null||v===void 0||v.appendChild(L),L.style.left="".concat(E.offsetLeft,"px"),L.style.top="".concat(E.offsetTop,"px"),L.style.position=P,L.style.height="".concat(E.offsetHeight,"px"),L.style.width="".concat(E.offsetWidth,"px"),E.style.left="0",E.style.top="0",E.style.right="auto",E.style.bottom="auto",E.style.overflow="hidden";var F;if(Array.isArray(n))F={x:n[0],y:n[1],width:0,height:0};else{var j,B,z=n.getBoundingClientRect();z.x=(j=z.x)!==null&&j!==void 0?j:z.left,z.y=(B=z.y)!==null&&B!==void 0?B:z.top,F={x:z.x,y:z.y,width:z.width,height:z.height}}var H=E.getBoundingClientRect();H.x=(x=H.x)!==null&&x!==void 0?x:H.left,H.y=(C=H.y)!==null&&C!==void 0?C:H.top;var V=I.documentElement,te=V.clientWidth,Y=V.clientHeight,J=V.scrollWidth,G=V.scrollHeight,U=V.scrollTop,q=V.scrollLeft,X=H.height,Q=H.width,ee=F.height,oe=F.width,le={left:0,top:0,right:te,bottom:Y},fe={left:-q,top:-U,right:J-q,bottom:G-U},ce=M.htmlRegion,Te="visible",Se="visibleFirst";ce!=="scroll"&&ce!==Se&&(ce=Te);var ve=ce===Se,ae=e4(fe,p),ie=e4(le,p),ue=ce===Te?ie:ae,ye=ve?ie:ue;E.style.left="auto",E.style.top="auto",E.style.right="0",E.style.bottom="0";var Ee=E.getBoundingClientRect();E.style.left=D,E.style.top=A,E.style.right=O,E.style.bottom=N,E.style.overflow=k,(w=E.parentElement)===null||w===void 0||w.removeChild(L);var Me=pg(Math.round(Q/parseFloat(_)*1e3)/1e3),Ie=pg(Math.round(X/parseFloat($)*1e3)/1e3);if(Me===0||Ie===0||eg(n)&&!Vd(n))return;var Ce=M.offset,me=M.targetOffset,we=n4(H,Ce),_e=re(we,2),Ne=_e[0],he=_e[1],ke=n4(F,me),xe=re(ke,2),ge=xe[0],Pe=xe[1];F.x-=ge,F.y-=Pe;var Ve=M.points||[],Ae=re(Ve,2),be=Ae[0],Oe=Ae[1],Fe=r4(Oe),Ke=r4(be),He=iu(F,Fe),ze=iu(H,Ke),Ze=Z({},M),je=He.x-ze.x+Ne,Je=He.y-ze.y+he,mt=mn(je,Je),ft=mn(je,Je,ie),qe=iu(F,["t","l"]),We=iu(H,["t","l"]),Qe=iu(F,["b","r"]),ct=iu(H,["b","r"]),Rt=M.overflow||{},$t=Rt.adjustX,vt=Rt.adjustY,lt=Rt.shiftX,ot=Rt.shiftY,et=function(ra){return typeof ra=="boolean"?ra:ra>=0},bt,rt,St,Et;ua();var tt=et(vt),at=Ke[0]===Fe[0];if(tt&&Ke[0]==="t"&&(rt>ye.bottom||g.current.bt)){var Ye=Je;at?Ye-=X-ee:Ye=qe.y-ct.y-he;var Ge=mn(je,Ye),yt=mn(je,Ye,ie);Ge>mt||Ge===mt&&(!ve||yt>=ft)?(g.current.bt=!0,Je=Ye,he=-he,Ze.points=[Ps(Ke,0),Ps(Fe,0)]):g.current.bt=!1}if(tt&&Ke[0]==="b"&&(btmt||Pt===mt&&(!ve||en>=ft)?(g.current.tb=!0,Je=Tt,he=-he,Ze.points=[Ps(Ke,0),Ps(Fe,0)]):g.current.tb=!1}var rn=et($t),Vt=Ke[1]===Fe[1];if(rn&&Ke[1]==="l"&&(Et>ye.right||g.current.rl)){var tn=je;Vt?tn-=Q-oe:tn=qe.x-ct.x-Ne;var It=mn(tn,Je),_t=mn(tn,Je,ie);It>mt||It===mt&&(!ve||_t>=ft)?(g.current.rl=!0,je=tn,Ne=-Ne,Ze.points=[Ps(Ke,1),Ps(Fe,1)]):g.current.rl=!1}if(rn&&Ke[1]==="r"&&(Stmt||Tn===mt&&(!ve||Qn>=ft)?(g.current.lr=!0,je=kt,Ne=-Ne,Ze.points=[Ps(Ke,1),Ps(Fe,1)]):g.current.lr=!1}ua();var cr=lt===!0?0:lt;typeof cr=="number"&&(Stie.right&&(je-=Et-ie.right-Ne,F.x>ie.right-cr&&(je+=F.x-ie.right+cr)));var Jn=ot===!0?0:ot;typeof Jn=="number"&&(btie.bottom&&(Je-=rt-ie.bottom-he,F.y>ie.bottom-Jn&&(Je+=F.y-ie.bottom+Jn)));var Hr=H.x+je,Mr=Hr+Q,er=H.y+Je,Kt=er+X,Ft=F.x,Gt=Ft+oe,jt=F.y,Bt=jt+ee,wt=Math.max(Hr,Ft),Ct=Math.min(Mr,Gt),cn=(wt+Ct)/2,Rn=cn-Hr,ur=Math.max(er,jt),dr=Math.min(Kt,Bt),yr=(ur+dr)/2,Ht=yr-er;i==null||i(t,Ze);var Lt=Ee.right-H.x-(je+H.width),pt=Ee.bottom-H.y-(Je+H.height);Me===1&&(je=Math.round(je),Lt=Math.round(Lt)),Ie===1&&(Je=Math.round(Je),pt=Math.round(pt));var Dt={ready:!0,offsetX:je/Me,offsetY:Je/Ie,offsetR:Lt/Me,offsetB:pt/Ie,arrowX:Rn/Me,arrowY:Ht/Ie,scaleX:Me,scaleY:Ie,align:Ze};d(Dt)}}),y=function(){f.current+=1;var x=f.current;Promise.resolve().then(function(){f.current===x&&b()})},S=function(){d(function(x){return Z(Z({},x),{},{ready:!1})})};return Xt(S,[r]),Xt(function(){e||S()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,y]}function Cue(e,t,n,r,a){Xt(function(){if(e&&t&&n){let p=function(){r(),a()};var f=p,o=t,i=n,s=gR(o),c=gR(i),u=em(i),d=new Set([u].concat(De(s),De(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 Eue(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 h;c.current&&!i(((h=g.composedPath)===null||h===void 0||(h=h.call(g))===null||h===void 0?void 0:h[0])||g.target)&&s(!1)},d=em(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var f=lb(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 Iue=["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 Tue(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Yg,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,h=n.afterPopupVisibleChange,b=n.mouseEnterDelay,y=n.mouseLeaveDelay,S=y===void 0?.1:y,v=n.focusDelay,x=n.blurDelay,C=n.mask,w=n.maskClosable,E=w===void 0?!0:w,I=n.getPopupContainer,T=n.forceRender,R=n.autoDestroy,_=n.destroyPopupOnHide,$=n.popup,P=n.popupClassName,D=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,V=n.arrow,te=n.popupMotion,Y=n.maskMotion,J=n.popupTransitionName,G=n.popupAnimation,U=n.maskTransitionName,q=n.maskAnimation,X=n.className,Q=n.getTriggerDOMNode,ee=xt(n,Iue),oe=R||_||!1,le=l.useState(!1),fe=re(le,2),ce=fe[0],Te=fe[1];Xt(function(){Te(k0())},[]);var Se=l.useRef({}),ve=l.useContext(ZM),ae=l.useMemo(function(){return{registerSubPopup:function(Yt,Vn){Se.current[Yt]=Vn,ve==null||ve.registerSubPopup(Yt,Vn)}}},[ve]),ie=hU(),ue=l.useState(null),ye=re(ue,2),Ee=ye[0],Me=ye[1],Ie=l.useRef(null),Ce=Wt(function(At){Ie.current=At,eg(At)&&Ee!==At&&Me(At),ve==null||ve.registerSubPopup(ie,At)}),me=l.useState(null),we=re(me,2),_e=we[0],Ne=we[1],he=l.useRef(null),ke=Wt(function(At){eg(At)&&_e!==At&&(Ne(At),he.current=At)}),xe=l.Children.only(i),ge=(xe==null?void 0:xe.props)||{},Pe={},Ve=Wt(function(At){var Yt,Vn,pr=_e;return(pr==null?void 0:pr.contains(At))||((Yt=lb(pr))===null||Yt===void 0?void 0:Yt.host)===At||At===pr||(Ee==null?void 0:Ee.contains(At))||((Vn=lb(Ee))===null||Vn===void 0?void 0:Vn.host)===At||At===Ee||Object.values(Se.current).some(function(Wn){return(Wn==null?void 0:Wn.contains(At))||At===Wn})}),Ae=JM(o,te,G,J),be=JM(o,Y,q,U),Oe=l.useState(p||!1),Fe=re(Oe,2),Ke=Fe[0],He=Fe[1],ze=f??Ke,Ze=Wt(function(At){f===void 0&&He(At)});Xt(function(){He(f||!1)},[f]);var je=l.useRef(ze);je.current=ze;var Je=l.useRef([]);Je.current=[];var mt=Wt(function(At){var Yt;Ze(At),((Yt=Je.current[Je.current.length-1])!==null&&Yt!==void 0?Yt:ze)!==At&&(Je.current.push(At),g==null||g(At))}),ft=l.useRef(),qe=function(){clearTimeout(ft.current)},We=function(Yt){var Vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;qe(),Vn===0?mt(Yt):ft.current=setTimeout(function(){mt(Yt)},Vn*1e3)};l.useEffect(function(){return qe},[]);var Qe=l.useState(!1),ct=re(Qe,2),Rt=ct[0],$t=ct[1];Xt(function(At){(!At||ze)&&$t(!0)},[ze]);var vt=l.useState(null),lt=re(vt,2),ot=lt[0],et=lt[1],bt=l.useState(null),rt=re(bt,2),St=rt[0],Et=rt[1],tt=function(Yt){Et([Yt.clientX,Yt.clientY])},at=wue(ze,Ee,B&&St!==null?St:_e,A,N,k,H),Ye=re(at,11),Ge=Ye[0],yt=Ye[1],Tt=Ye[2],Pt=Ye[3],en=Ye[4],rn=Ye[5],Vt=Ye[6],tn=Ye[7],It=Ye[8],_t=Ye[9],kt=Ye[10],Tn=yue(ce,c,u,d),Qn=re(Tn,2),cr=Qn[0],Jn=Qn[1],Hr=cr.has("click"),Mr=Jn.has("click")||Jn.has("contextMenu"),er=Wt(function(){Rt||kt()}),Kt=function(){je.current&&B&&Mr&&We(!1)};Cue(ze,_e,Ee,er,Kt),Xt(function(){er()},[St,A]),Xt(function(){ze&&!(N!=null&&N[A])&&er()},[JSON.stringify(k)]);var Ft=l.useMemo(function(){var At=xue(N,o,_t,B);return ne(At,F==null?void 0:F(_t))},[_t,F,N,o,B]);l.useImperativeHandle(r,function(){return{nativeElement:he.current,popupElement:Ie.current,forceAlign:er}});var Gt=l.useState(0),jt=re(Gt,2),Bt=jt[0],wt=jt[1],Ct=l.useState(0),cn=re(Ct,2),Rn=cn[0],ur=cn[1],dr=function(){if(L&&_e){var Yt=_e.getBoundingClientRect();wt(Yt.width),ur(Yt.height)}},yr=function(){dr(),er()},Ht=function(Yt){$t(!1),kt(),h==null||h(Yt)},Lt=function(){return new Promise(function(Yt){dr(),et(function(){return Yt})})};Xt(function(){ot&&(kt(),ot(),et(null))},[ot]);function pt(At,Yt,Vn,pr){Pe[At]=function(Wn){var As;pr==null||pr(Wn),We(Yt,Vn);for(var Zc=arguments.length,hf=new Array(Zc>1?Zc-1:0),Qc=1;Qc1?Vn-1:0),Wn=1;Wn1?Vn-1:0),Wn=1;Wn1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],o=rV(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 h=g[s];a.push({key:a4(g,a.length),groupOption:p,data:g,label:g[i],value:h})}else{var b=g[u];b===void 0&&r&&(b=g.label),a.push({key:a4(g,a.length),group:!0,data:g,label:b}),d(g[c],!0)}})}return d(e,!1),a}function hR(e){var t=Z({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return vn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var kue=function(t,n,r){if(!n||!n.length)return null;var a=!1,o=function s(c,u){var d=lH(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(h,b){return[].concat(De(h),De(s(b,p)))},[]).filter(Boolean)},i=o(t,n);return a?typeof r<"u"?i.slice(0,r):i:null},sO=l.createContext(null);function Aue(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(ht(o))?o:i}).join(", ")),n.length>r?", ...":null)}var Mue=["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"],Pue=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],vR=function(t){return t==="tags"||t==="multiple"},aV=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,h=g===void 0?"Not Found":g,b=e.onClear,y=e.mode,S=e.disabled,v=e.loading,x=e.getInputElement,C=e.getRawInputElement,w=e.open,E=e.defaultOpen,I=e.onDropdownVisibleChange,T=e.activeValue,R=e.onActiveValueChange,_=e.activeDescendantId,$=e.searchValue,P=e.autoClearSearchValue,D=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,V=e.dropdownRender,te=e.dropdownAlign,Y=e.placement,J=e.builtinPlacements,G=e.getPopupContainer,U=e.showAction,q=U===void 0?[]:U,X=e.onFocus,Q=e.onBlur,ee=e.onKeyUp,oe=e.onKeyDown,le=e.onMouseDown,fe=xt(e,Mue),ce=vR(y),Te=(i!==void 0?i:ce)||y==="combobox",Se=Z({},fe);Pue.forEach(function(Kt){delete Se[Kt]}),u==null||u.forEach(function(Kt){delete Se[Kt]});var ve=l.useState(!1),ae=re(ve,2),ie=ae[0],ue=ae[1];l.useEffect(function(){ue(k0())},[]);var ye=l.useRef(null),Ee=l.useRef(null),Me=l.useRef(null),Ie=l.useRef(null),Ce=l.useRef(null),me=l.useRef(!1),we=Uce(),_e=re(we,3),Ne=_e[0],he=_e[1],ke=_e[2];l.useImperativeHandle(t,function(){var Kt,Ft;return{focus:(Kt=Ie.current)===null||Kt===void 0?void 0:Kt.focus,blur:(Ft=Ie.current)===null||Ft===void 0?void 0:Ft.blur,scrollTo:function(jt){var Bt;return(Bt=Ce.current)===null||Bt===void 0?void 0:Bt.scrollTo(jt)},nativeElement:ye.current||Ee.current}});var xe=l.useMemo(function(){var Kt;if(y!=="combobox")return $;var Ft=(Kt=d[0])===null||Kt===void 0?void 0:Kt.value;return typeof Ft=="string"||typeof Ft=="number"?String(Ft):""},[$,y,d]),ge=y==="combobox"&&typeof x=="function"&&x()||null,Pe=typeof C=="function"&&C(),Ve=$s(Ee,Pe==null||(n=Pe.props)===null||n===void 0?void 0:n.ref),Ae=l.useState(!1),be=re(Ae,2),Oe=be[0],Fe=be[1];Xt(function(){Fe(!0)},[]);var Ke=sn(!1,{defaultValue:E,value:w}),He=re(Ke,2),ze=He[0],Ze=He[1],je=Oe?ze:!1,Je=!h&&p;(S||Je&&je&&y==="combobox")&&(je=!1);var mt=Je?!1:je,ft=l.useCallback(function(Kt){var Ft=Kt!==void 0?Kt:!je;S||(Ze(Ft),je!==Ft&&(I==null||I(Ft)))},[S,je,Ze,I]),qe=l.useMemo(function(){return(O||[]).some(function(Kt){return[` +`,`\r +`].includes(Kt)})},[O]),We=l.useContext(sO)||{},Qe=We.maxCount,ct=We.rawValues,Rt=function(Ft,Gt,jt){if(!(ce&&mR(Qe)&&(ct==null?void 0:ct.size)>=Qe)){var Bt=!0,wt=Ft;R==null||R(null);var Ct=kue(Ft,O,mR(Qe)?Qe-ct.size:void 0),cn=jt?null:Ct;return y!=="combobox"&&cn&&(wt="",A==null||A(cn),ft(!1),Bt=!1),D&&xe!==wt&&D(wt,{source:Gt?"typing":"effect"}),Bt}},$t=function(Ft){!Ft||!Ft.trim()||D(Ft,{source:"submit"})};l.useEffect(function(){!je&&!ce&&y!=="combobox"&&Rt("",!1,!1)},[je]),l.useEffect(function(){ze&&S&&Ze(!1),S&&!me.current&&he(!1)},[S]);var vt=XU(),lt=re(vt,2),ot=lt[0],et=lt[1],bt=l.useRef(!1),rt=function(Ft){var Gt=ot(),jt=Ft.key,Bt=jt==="Enter";if(Bt&&(y!=="combobox"&&Ft.preventDefault(),je||ft(!0)),et(!!xe),jt==="Backspace"&&!Gt&&ce&&!xe&&d.length){for(var wt=De(d),Ct=null,cn=wt.length-1;cn>=0;cn-=1){var Rn=wt[cn];if(!Rn.disabled){wt.splice(cn,1),Ct=Rn;break}}Ct&&f(wt,{type:"remove",values:[Ct]})}for(var ur=arguments.length,dr=new Array(ur>1?ur-1:0),yr=1;yr1?Gt-1:0),Bt=1;Bt1?Ct-1:0),Rn=1;Rn"u"?"undefined":ht(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const iV=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 Bue(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=iV(t,n,r,a);function p(v,x){Ut.cancel(c.current),s.current+=x,u.current=x,!f(!1,x)&&(o4||v.preventDefault(),c.current=Ut(function(){var C=d.current?10:1;i(s.current*C),s.current=0}))}function g(v,x){i(x,!0),o4||v.preventDefault()}var h=l.useRef(null),b=l.useRef(null);function y(v){if(e){Ut.cancel(b.current),b.current=Ut(function(){h.current=null},2);var x=v.deltaX,C=v.deltaY,w=v.shiftKey,E=x,I=C;(h.current==="sx"||!h.current&&w&&C&&!x)&&(E=C,I=0,h.current="sx");var T=Math.abs(E),R=Math.abs(I);h.current===null&&(h.current=o&&T>R?"x":"y"),h.current==="y"?p(v,I):g(v,E)}}function S(v){e&&(d.current=v.detail===u.current)}return[y,S]}function zue(e,t,n,r){var a=l.useMemo(function(){return[new Map,[]]},[e,n.id,r]),o=re(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 h=e.length,b=s.length;b0&&arguments[0]!==void 0?arguments[0]:!1;d();var h=function(){s.current.forEach(function(y,S){if(y&&y.offsetParent){var v=mp(y),x=v.offsetHeight;c.current.get(S)!==x&&c.current.set(S,v.offsetHeight)}}),i(function(y){return y+1})};g?h():u.current=Ut(h)}function p(g,h){var b=e(g);s.current.get(b),h?(s.current.set(b,h),f()):s.current.delete(b)}return l.useEffect(function(){return d},[]),[p,f,c.current,o]}var i4=14/15;function Vue(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 h=Math.ceil(g.touches[0].pageX),b=Math.ceil(g.touches[0].pageY),y=a.current-h,S=o.current-b,v=Math.abs(y)>Math.abs(S);v?a.current=h:o.current=b,n(v,v?y:S)&&g.preventDefault(),clearInterval(s.current),s.current=setInterval(function(){v?y*=i4:S*=i4;var x=Math.floor(v?y:S);(!n(v,x,!0)||Math.abs(x)<=.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))},Xt(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 Wue=10;function Gue(e,t,n,r,a,o,i,s){var c=l.useRef(),u=l.useState(null),d=re(u,2),f=d[0],p=d[1];return Xt(function(){if(f&&f.times=0;A-=1){var O=a(t[A]),N=n.get(O);if(N===void 0){v=!0;break}if(D-=N,D<=0)break}switch(w){case"top":C=I-y;break;case"bottom":C=T-S+y;break;default:{var k=e.current.scrollTop,M=k+S;IM&&(x="bottom")}}C!==null&&i(C),C!==f.lastTop&&(v=!0)}v&&p(Z(Z({},f),{},{times:f.times+1,targetAlign:x,lastTop:C}))}},[f,e.current]),function(g){if(g==null){s();return}if(Ut.cancel(c.current),typeof g=="number")i(g);else if(g&&ht(g)==="object"){var h,b=g.align;"index"in g?h=g.index:h=t.findIndex(function(v){return a(v)===g.key});var y=g.offset,S=y===void 0?0:y;p({times:0,index:h,offset:S,originAlign:b})}}}function s4(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var l4=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,h=l.useState(!1),b=re(h,2),y=b[0],S=b[1],v=l.useState(null),x=re(v,2),C=x[0],w=x[1],E=l.useState(null),I=re(E,2),T=I[0],R=I[1],_=!r,$=l.useRef(),P=l.useRef(),D=l.useState(!1),A=re(D,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 U=a/L;return U*F},[a,L,F]),B=function(q){q.stopPropagation(),q.preventDefault()},z=l.useRef({top:j,dragging:y,pageY:C,startTop:T});z.current={top:j,dragging:y,pageY:C,startTop:T};var H=function(q){S(!0),w(s4(q,u)),R(z.current.top),i(),q.stopPropagation(),q.preventDefault()};l.useEffect(function(){var U=function(ee){ee.preventDefault()},q=$.current,X=P.current;return q.addEventListener("touchstart",U,{passive:!1}),X.addEventListener("touchstart",H,{passive:!1}),function(){q.removeEventListener("touchstart",U),X.removeEventListener("touchstart",H)}},[]);var V=l.useRef();V.current=L;var te=l.useRef();te.current=F,l.useEffect(function(){if(y){var U,q=function(ee){var oe=z.current,le=oe.dragging,fe=oe.pageY,ce=oe.startTop;Ut.cancel(U);var Te=$.current.getBoundingClientRect(),Se=f/(u?Te.width:Te.height);if(le){var ve=(s4(ee,u)-fe)*Se,ae=ce;!_&&u?ae-=ve:ae+=ve;var ie=V.current,ue=te.current,ye=ue?ae/ue:0,Ee=Math.ceil(ye*ie);Ee=Math.max(Ee,0),Ee=Math.min(Ee,ie),U=Ut(function(){c(Ee,u)})}},X=function(){S(!1),s()};return window.addEventListener("mousemove",q,{passive:!0}),window.addEventListener("touchmove",q,{passive:!0}),window.addEventListener("mouseup",X,{passive:!0}),window.addEventListener("touchend",X,{passive:!0}),function(){window.removeEventListener("mousemove",q),window.removeEventListener("touchmove",q),window.removeEventListener("mouseup",X),window.removeEventListener("touchend",X),Ut.cancel(U)}}},[y]),l.useEffect(function(){return M(),function(){clearTimeout(k.current)}},[a]),l.useImperativeHandle(t,function(){return{delayHidden:M}});var Y="".concat(n,"-scrollbar"),J={position:"absolute",visibility:O?null:"hidden"},G={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(J.height=8,J.left=0,J.right=0,J.bottom=0,G.height="100%",G.width=d,_?G.left=j:G.right=j):(J.width=8,J.top=0,J.bottom=0,_?J.right=0:J.left=0,G.width="100%",G.height=d,G.top=j),l.createElement("div",{ref:$,className:ne(Y,W(W(W({},"".concat(Y,"-horizontal"),u),"".concat(Y,"-vertical"),!u),"".concat(Y,"-visible"),O)),style:Z(Z({},J),p),onMouseDown:B,onMouseMove:M},l.createElement("div",{ref:P,className:ne("".concat(Y,"-thumb"),W({},"".concat(Y,"-thumb-moving"),y)),style:Z(Z({},G),g),onMouseDown:H}))}),que=20;function c4(){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,que),Math.floor(n)}var Kue=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Yue=[],Xue={overflowY:"auto",overflowAnchor:"none"};function Zue(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,h=e.direction,b=e.scrollWidth,y=e.component,S=y===void 0?"div":y,v=e.onScroll,x=e.onVirtualScroll,C=e.onVisibleChange,w=e.innerProps,E=e.extraRender,I=e.styles,T=xt(e,Kue),R=l.useCallback(function(tt){return typeof p=="function"?p(tt):tt==null?void 0:tt[p]},[p]),_=Uue(R),$=re(_,4),P=$[0],D=$[1],A=$[2],O=$[3],N=!!(g!==!1&&o&&i),k=l.useMemo(function(){return Object.values(A.maps).reduce(function(tt,at){return tt+at},0)},[A.id,A.maps]),M=N&&d&&(Math.max(i*d.length,k)>o||!!b),L=h==="rtl",F=ne(r,W({},"".concat(r,"-rtl"),L),a),j=d||Yue,B=l.useRef(),z=l.useRef(),H=l.useRef(),V=l.useState(0),te=re(V,2),Y=te[0],J=te[1],G=l.useState(0),U=re(G,2),q=U[0],X=U[1],Q=l.useState(!1),ee=re(Q,2),oe=ee[0],le=ee[1],fe=function(){le(!0)},ce=function(){le(!1)},Te={getKey:R};function Se(tt){J(function(at){var Ye;typeof tt=="function"?Ye=tt(at):Ye=tt;var Ge=Oe(Ye);return B.current.scrollTop=Ge,Ge})}var ve=l.useRef({start:0,end:j.length}),ae=l.useRef(),ie=jue(j,R),ue=re(ie,1),ye=ue[0];ae.current=ye;var Ee=l.useMemo(function(){if(!N)return{scrollHeight:void 0,start:0,end:j.length-1,offset:void 0};if(!M){var tt;return{scrollHeight:((tt=z.current)===null||tt===void 0?void 0:tt.offsetHeight)||0,start:0,end:j.length-1,offset:void 0}}for(var at=0,Ye,Ge,yt,Tt=j.length,Pt=0;Pt=Y&&Ye===void 0&&(Ye=Pt,Ge=at),tn>Y+o&&yt===void 0&&(yt=Pt),at=tn}return Ye===void 0&&(Ye=0,Ge=0,yt=Math.ceil(o/i)),yt===void 0&&(yt=j.length-1),yt=Math.min(yt+1,j.length-1),{scrollHeight:at,start:Ye,end:yt,offset:Ge}},[M,N,Y,j,O,o]),Me=Ee.scrollHeight,Ie=Ee.start,Ce=Ee.end,me=Ee.offset;ve.current.start=Ie,ve.current.end=Ce;var we=l.useState({width:0,height:o}),_e=re(we,2),Ne=_e[0],he=_e[1],ke=function(at){he({width:at.offsetWidth,height:at.offsetHeight})},xe=l.useRef(),ge=l.useRef(),Pe=l.useMemo(function(){return c4(Ne.width,b)},[Ne.width,b]),Ve=l.useMemo(function(){return c4(Ne.height,Me)},[Ne.height,Me]),Ae=Me-o,be=l.useRef(Ae);be.current=Ae;function Oe(tt){var at=tt;return Number.isNaN(be.current)||(at=Math.min(at,be.current)),at=Math.max(at,0),at}var Fe=Y<=0,Ke=Y>=Ae,He=q<=0,ze=q>=b,Ze=iV(Fe,Ke,He,ze),je=function(){return{x:L?-q:q,y:Y}},Je=l.useRef(je()),mt=Wt(function(tt){if(x){var at=Z(Z({},je()),tt);(Je.current.x!==at.x||Je.current.y!==at.y)&&(x(at),Je.current=at)}});function ft(tt,at){var Ye=tt;at?(Lr.flushSync(function(){X(Ye)}),mt()):Se(Ye)}function qe(tt){var at=tt.currentTarget.scrollTop;at!==Y&&Se(at),v==null||v(tt),mt()}var We=function(at){var Ye=at,Ge=b?b-Ne.width:0;return Ye=Math.max(Ye,0),Ye=Math.min(Ye,Ge),Ye},Qe=Wt(function(tt,at){at?(Lr.flushSync(function(){X(function(Ye){var Ge=Ye+(L?-tt:tt);return We(Ge)})}),mt()):Se(function(Ye){var Ge=Ye+tt;return Ge})}),ct=Bue(N,Fe,Ke,He,ze,!!b,Qe),Rt=re(ct,2),$t=Rt[0],vt=Rt[1];Vue(N,B,function(tt,at,Ye){return Ze(tt,at,Ye)?!1:($t({preventDefault:function(){},deltaX:tt?at:0,deltaY:tt?0:at}),!0)}),Xt(function(){function tt(Ye){N&&Ye.preventDefault()}var at=B.current;return at.addEventListener("wheel",$t,{passive:!1}),at.addEventListener("DOMMouseScroll",vt,{passive:!0}),at.addEventListener("MozMousePixelScroll",tt,{passive:!1}),function(){at.removeEventListener("wheel",$t),at.removeEventListener("DOMMouseScroll",vt),at.removeEventListener("MozMousePixelScroll",tt)}},[N]),Xt(function(){if(b){var tt=We(q);X(tt),mt({x:tt})}},[Ne.width,b]);var lt=function(){var at,Ye;(at=xe.current)===null||at===void 0||at.delayHidden(),(Ye=ge.current)===null||Ye===void 0||Ye.delayHidden()},ot=Gue(B,j,A,i,R,function(){return D(!0)},Se,lt);l.useImperativeHandle(t,function(){return{nativeElement:H.current,getScrollInfo:je,scrollTo:function(at){function Ye(Ge){return Ge&&ht(Ge)==="object"&&("left"in Ge||"top"in Ge)}Ye(at)?(at.left!==void 0&&X(We(at.left)),ot(at.top)):ot(at)}}}),Xt(function(){if(C){var tt=j.slice(Ie,Ce+1);C(tt,j)}},[Ie,Ce,j]);var et=zue(j,R,A,i),bt=E==null?void 0:E({start:Ie,end:Ce,virtual:M,offsetX:q,offsetY:me,rtl:L,getSize:et}),rt=Lue(j,Ie,Ce,b,q,P,f,Te),St=null;o&&(St=Z(W({},c?"height":"maxHeight",o),Xue),N&&(St.overflowY="hidden",b&&(St.overflowX="hidden"),oe&&(St.pointerEvents="none")));var Et={};return L&&(Et.dir="rtl"),l.createElement("div",pe({ref:H,style:Z(Z({},u),{},{position:"relative"}),className:F},Et,T),l.createElement(sa,{onResize:ke},l.createElement(S,{className:"".concat(r,"-holder"),style:St,ref:B,onScroll:qe,onMouseEnter:lt},l.createElement(oV,{prefixCls:r,height:Me,offsetX:q,offsetY:me,scrollWidth:b,onInnerResize:D,ref:z,innerProps:w,rtl:L,extra:bt},rt))),M&&Me>o&&l.createElement(l4,{ref:xe,prefixCls:r,scrollOffset:Y,scrollRange:Me,rtl:L,onScroll:ft,onStartMove:fe,onStopMove:ce,spinSize:Ve,containerSize:Ne.height,style:I==null?void 0:I.verticalScrollBar,thumbStyle:I==null?void 0:I.verticalScrollBarThumb}),M&&b>Ne.width&&l.createElement(l4,{ref:ge,prefixCls:r,scrollOffset:q,scrollRange:b,rtl:L,onScroll:ft,onStartMove:fe,onStopMove:ce,spinSize:Pe,containerSize:Ne.width,horizontal:!0,style:I==null?void 0:I.horizontalScrollBar,thumbStyle:I==null?void 0:I.horizontalScrollBarThumb}))}var M0=l.forwardRef(Zue);M0.displayName="List";function Que(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Jue=["disabled","title","children","style","className"];function u4(e){return typeof e=="string"||typeof e=="number"}var ede=function(t,n){var r=YU(),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(sO),h=g.maxCount,b=g.flattenOptions,y=g.onActiveValue,S=g.defaultActiveFirstOption,v=g.onSelect,x=g.menuItemSelectedIcon,C=g.rawValues,w=g.fieldNames,E=g.virtual,I=g.direction,T=g.listHeight,R=g.listItemHeight,_=g.optionRender,$="".concat(a,"-item"),P=_l(function(){return b},[i,b],function(U,q){return q[0]&&U[1]!==q[1]}),D=l.useRef(null),A=l.useMemo(function(){return s&&mR(h)&&(C==null?void 0:C.size)>=h},[s,h,C==null?void 0:C.size]),O=function(q){q.preventDefault()},N=function(q){var X;(X=D.current)===null||X===void 0||X.scrollTo(typeof q=="number"?{index:q}:q)},k=function(q){for(var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Q=P.length,ee=0;ee1&&arguments[1]!==void 0?arguments[1]:!1;j(q);var Q={source:X?"keyboard":"mouse"},ee=P[q];if(!ee){y(null,-1,Q);return}y(ee.value,q,Q)};l.useEffect(function(){B(S!==!1?k(0):-1)},[P.length,u]);var z=l.useCallback(function(U){return C.has(U)&&c!=="combobox"},[c,De(C).toString(),C.size]);l.useEffect(function(){var U=setTimeout(function(){if(!s&&i&&C.size===1){var X=Array.from(C)[0],Q=P.findIndex(function(ee){var oe=ee.data;return oe.value===X});Q!==-1&&(B(Q),N(Q))}});if(i){var q;(q=D.current)===null||q===void 0||q.scrollTo(void 0)}return function(){return clearTimeout(U)}},[i,u]);var H=function(q){q!==void 0&&v(q,{selected:!C.has(q)}),s||d(!1)};if(l.useImperativeHandle(n,function(){return{onKeyDown:function(q){var X=q.which,Q=q.ctrlKey;switch(X){case Le.N:case Le.P:case Le.UP:case Le.DOWN:{var ee=0;if(X===Le.UP?ee=-1:X===Le.DOWN?ee=1:Que()&&Q&&(X===Le.N?ee=1:X===Le.P&&(ee=-1)),ee!==0){var oe=k(F+ee,ee);N(oe),B(oe,!0)}break}case Le.ENTER:{var le,fe=P[F];fe&&!(fe!=null&&(le=fe.data)!==null&&le!==void 0&&le.disabled)&&!A?H(fe.value):H(void 0),i&&q.preventDefault();break}case Le.ESC:d(!1),i&&q.stopPropagation()}},onKeyUp:function(){},scrollTo:function(q){N(q)}}}),P.length===0)return l.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat($,"-empty"),onMouseDown:O},f);var V=Object.keys(w).map(function(U){return w[U]}),te=function(q){return q.label};function Y(U,q){var X=U.group;return{role:X?"presentation":"option",id:"".concat(o,"_list_").concat(q)}}var J=function(q){var X=P[q];if(!X)return null;var Q=X.data||{},ee=Q.value,oe=X.group,le=Yn(Q,!0),fe=te(X);return X?l.createElement("div",pe({"aria-label":typeof fe=="string"&&!oe?fe:null},le,{key:q},Y(X,q),{"aria-selected":z(ee)}),ee):null},G={role:"listbox",id:"".concat(o,"_list")};return l.createElement(l.Fragment,null,E&&l.createElement("div",pe({},G,{style:{height:0,width:0,overflow:"hidden"}}),J(F-1),J(F),J(F+1)),l.createElement(M0,{itemKey:"key",ref:D,data:P,height:T,itemHeight:R,fullHeight:!1,onMouseDown:O,onScroll:p,virtual:E,direction:I,innerProps:E?null:G},function(U,q){var X=U.group,Q=U.groupOption,ee=U.data,oe=U.label,le=U.value,fe=ee.key;if(X){var ce,Te=(ce=ee.title)!==null&&ce!==void 0?ce:u4(oe)?oe.toString():void 0;return l.createElement("div",{className:ne($,"".concat($,"-group"),ee.className),title:Te},oe!==void 0?oe:fe)}var Se=ee.disabled,ve=ee.title;ee.children;var ae=ee.style,ie=ee.className,ue=xt(ee,Jue),ye=On(ue,V),Ee=z(le),Me=Se||!Ee&&A,Ie="".concat($,"-option"),Ce=ne($,Ie,ie,W(W(W(W({},"".concat(Ie,"-grouped"),Q),"".concat(Ie,"-active"),F===q&&!Me),"".concat(Ie,"-disabled"),Me),"".concat(Ie,"-selected"),Ee)),me=te(U),we=!x||typeof x=="function"||Ee,_e=typeof me=="number"?me:me||le,Ne=u4(_e)?_e.toString():void 0;return ve!==void 0&&(Ne=ve),l.createElement("div",pe({},Yn(ye),E?{}:Y(U,q),{"aria-selected":Ee,className:Ce,title:Ne,onMouseMove:function(){F===q||Me||B(q)},onClick:function(){Me||H(le)},style:ae}),l.createElement("div",{className:"".concat(Ie,"-content")},typeof _=="function"?_(U,{index:q}):_e),l.isValidElement(x)||Ee,we&&l.createElement(A0,{className:"".concat($,"-option-state"),customizeIcon:x,customizeIconProps:{value:le,disabled:Me,isSelected:Ee}},Ee?"✓":null))}))},tde=l.forwardRef(ede);const nde=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 Z(Z({},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 JS(e,t){return tV(e).join("").toUpperCase().includes(t)}const rde=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,h){return a?JS(h[a],d):h[o]?JS(h[i!=="children"?i:"label"],d):JS(h[s],d)},p=u?function(g){return hR(g)}:function(g){return g};return e.forEach(function(g){if(g[o]){var h=f(n,p(g));if(h)c.push(g);else{var b=g[o].filter(function(y){return f(n,p(y))});b.length&&c.push(Z(Z({},g),{},W({},o,b)))}return}f(n,p(g))&&c.push(g)}),c},[e,r,a,n,t])};var d4=0,ade=Xr();function ode(){var e;return ade?(e=d4,d4+=1):e="TEST_OR_SSR",e}function sV(e){var t=l.useState(),n=re(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_select_".concat(ode()))},[]),e||r}var ide=["children","value"],sde=["children"];function lde(e){var t=e,n=t.key,r=t.props,a=r.children,o=r.value,i=xt(r,ide);return Z({key:n,value:o!==void 0?o:n,children:a},i)}function lV(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return vr(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=xt(s,sde);return t||!o?lde(n):Z(Z({key:"__RC_SELECT_GRP__".concat(i===null?r:i,"__"),label:i},u),{},{options:lV(c)})}).filter(function(n){return n})}var cde=function(t,n,r,a,o){return l.useMemo(function(){var i=t,s=!t;s&&(i=lV(n));var c=new Map,u=new Map,d=function(g,h,b){b&&typeof b=="string"&&g.set(h[b],h)},f=function p(g){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,b=0;b0?qe(ct.options):ct.options}):ct})},Ne=l.useMemo(function(){return v?_e(we):we},[we,v,U]),he=l.useMemo(function(){return Nue(Ne,{fieldNames:Y,childrenAsData:V})},[Ne,Y,V]),ke=function(We){var Qe=le(We);if(Se(Qe),F&&(Qe.length!==ue.length||Qe.some(function($t,vt){var lt;return((lt=ue[vt])===null||lt===void 0?void 0:lt.value)!==($t==null?void 0:$t.value)}))){var ct=L?Qe:Qe.map(function($t){return $t.value}),Rt=Qe.map(function($t){return hR(ye($t.value))});F(H?ct:ct[0],H?Rt:Rt[0])}},xe=l.useState(null),ge=re(xe,2),Pe=ge[0],Ve=ge[1],Ae=l.useState(0),be=re(Ae,2),Oe=be[0],Fe=be[1],Ke=T!==void 0?T:r!=="combobox",He=l.useCallback(function(qe,We){var Qe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ct=Qe.source,Rt=ct===void 0?"keyboard":ct;Fe(We),i&&r==="combobox"&&qe!==null&&Rt==="keyboard"&&Ve(String(qe))},[i,r]),ze=function(We,Qe,ct){var Rt=function(){var tt,at=ye(We);return[L?{label:at==null?void 0:at[Y.label],value:We,key:(tt=at==null?void 0:at.key)!==null&&tt!==void 0?tt:We}:We,hR(at)]};if(Qe&&g){var $t=Rt(),vt=re($t,2),lt=vt[0],ot=vt[1];g(lt,ot)}else if(!Qe&&h&&ct!=="clear"){var et=Rt(),bt=re(et,2),rt=bt[0],St=bt[1];h(rt,St)}},Ze=f4(function(qe,We){var Qe,ct=H?We.selected:!0;ct?Qe=H?[].concat(De(ue),[qe]):[qe]:Qe=ue.filter(function(Rt){return Rt.value!==qe}),ke(Qe),ze(qe,ct),r==="combobox"?Ve(""):(!vR||p)&&(q(""),Ve(""))}),je=function(We,Qe){ke(We);var ct=Qe.type,Rt=Qe.values;(ct==="remove"||ct==="clear")&&Rt.forEach(function($t){ze($t.value,!1,ct)})},Je=function(We,Qe){if(q(We),Ve(null),Qe.source==="submit"){var ct=(We||"").trim();if(ct){var Rt=Array.from(new Set([].concat(De(Me),[ct])));ke(Rt),ze(ct,!0),q("")}return}Qe.source!=="blur"&&(r==="combobox"&&ke(We),d==null||d(We))},mt=function(We){var Qe=We;r!=="tags"&&(Qe=We.map(function(Rt){var $t=ee.get(Rt);return $t==null?void 0:$t.value}).filter(function(Rt){return Rt!==void 0}));var ct=Array.from(new Set([].concat(De(Me),De(Qe))));ke(ct),ct.forEach(function(Rt){ze(Rt,!0)})},ft=l.useMemo(function(){var qe=_!==!1&&y!==!1;return Z(Z({},X),{},{flattenOptions:he,onActiveValue:He,defaultActiveFirstOption:Ke,onSelect:Ze,menuItemSelectedIcon:R,rawValues:Me,fieldNames:Y,virtual:qe,direction:$,listHeight:D,listItemHeight:O,childrenAsData:V,maxCount:j,optionRender:E})},[j,X,he,He,Ke,Ze,R,Me,Y,_,y,$,D,O,V,E]);return l.createElement(sO.Provider,{value:ft},l.createElement(aV,pe({},B,{id:z,prefixCls:o,ref:t,omitDomProps:dde,mode:r,displayValues:Ee,onDisplayValuesChange:je,direction:$,searchValue:U,onSearch:Je,autoClearSearchValue:p,onSearchSplit:mt,dropdownMatchSelectWidth:y,OptionList:tde,emptyOptions:!he.length,activeValue:Pe,activeDescendantId:"".concat(z,"_list_").concat(Oe)})))}),uO=pde;uO.Option=cO;uO.OptGroup=lO;function Is(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 Nl=(e,t)=>t||e,gde=()=>{const[,e]=ta(),n=new an(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"}))))},mde=()=>{const[,e]=ta(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:a}=e,{borderColor:o,shadowColor:i,contentColor:s}=l.useMemo(()=>({borderColor:new an(t).onBackground(a).toHexShortString(),shadowColor:new an(n).onBackground(a).toHexShortString(),contentColor:new an(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}))))},hde=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}}}}},vde=on("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=zt(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[hde(a)]});var bde=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=cV,description:o,children:i,imageStyle:s,style:c}=e,u=bde(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:f,empty:p}=l.useContext(st),g=d("empty",r),[h,b,y]=vde(g),[S]=qi("Empty"),v=typeof o<"u"?o:S==null?void 0:S.description,x=typeof v=="string"?v:"empty";let C=null;return typeof a=="string"?C=l.createElement("img",{alt:x,src:a}):C=a,h(l.createElement("div",Object.assign({className:ne(b,y,g,p==null?void 0:p.className,{[`${g}-normal`]:a===uV,[`${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},C),v&&l.createElement("div",{className:`${g}-description`},v),i&&l.createElement("div",{className:`${g}-footer`},i)))};us.PRESENTED_IMAGE_DEFAULT=cV;us.PRESENTED_IMAGE_SIMPLE=uV;const P0=e=>{const{componentName:t}=e,{getPrefixCls:n}=l.useContext(st),r=n("empty");switch(t){case"Table":case"List":return se.createElement(us,{image:us.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return se.createElement(us,{image:us.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return se.createElement(us,null)}},Dc=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(st),s=l.useContext(_U),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=rae.includes(u);return[u,d]},yde=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 dV(e,t){return e||yde(t)}const p4=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"}},Sde=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({},nn(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:_0},[` + ${a}${s}topLeft, + ${o}${s}topLeft, + ${a}${s}topRight, + ${o}${s}topRight + `]:{animationName:O0},[`${i}${s}bottomLeft`]:{animationName:$0},[` + ${i}${s}topLeft, + ${i}${s}topRight + `]:{animationName:N0},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},p4(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},xo),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},p4(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},Vi(e,"slide-up"),Vi(e,"slide-down"),wd(e,"move-up"),wd(e,"move-down")]},fV=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:a}=e,o=e.max(e.calc(n).sub(r).equal(),0),i=e.max(e.calc(o).sub(a).equal(),0);return{basePadding:o,containerPadding:i,itemHeight:K(t),itemLineHeight:K(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},xde=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},pV=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:a,paddingXS:o,multipleItemColorDisabled:i,multipleItemBorderColorDisabled:s,colorIcon:c,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${a}, line-height ${a}, height ${a}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:o,paddingInlineEnd:e.calc(o).div(2).equal(),[`${t}-disabled&`]:{color:i,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(o).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},zd()),{display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},wde=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,i=xde(e),s=t?`${n}-${t}`:"",c=fV(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},pV(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:c.basePadding,paddingBlock:c.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${K(r)} 0`,lineHeight:K(o),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:c.itemHeight,lineHeight:K(c.itemLineHeight)},[`${a}-item + ${a}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${a}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(i).equal(),"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:K(o),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function e1(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",a={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` + &${n}-show-arrow ${n}-selector, + &${n}-allow-clear ${n}-selector + `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[wde(e,t),a]}const Cde=e=>{const{componentCls:t}=e,n=zt(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=zt(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[e1(e),e1(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},e1(r,"lg")]};function t1(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a}=e,o=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),i=t?`${n}-${t}`:"";return{[`${n}-single${i}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},nn(e,!0)),{display:"flex",borderRadius:a,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` + ${n}-selection-item, + ${n}-selection-placeholder + `]:{padding:0,lineHeight:K(o),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` + &${n}-show-arrow ${n}-selection-item, + &${n}-show-arrow ${n}-selection-placeholder + `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${K(r)}`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:K(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 ${K(r)}`,"&:after":{display:"none"}}}}}}}function Ede(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[t1(e),t1(zt(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 ${K(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()}}}},t1(zt(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const Ide=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:h,colorFillSecondary:b,colorBgContainerDisabled:y,colorTextDisabled:S}=e,v=s*2,x=r*2,C=Math.min(a-v,a-x),w=Math.min(o-v,o-x),E=Math.min(i-v,i-x);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:h,clearBg:h,singleItemHeightLG:i,multipleItemBg:b,multipleItemBorderColor:"transparent",multipleItemHeight:C,multipleItemHeightSM:w,multipleItemHeightLG:E,multipleSelectorBgDisabled:y,multipleItemColorDisabled:S,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},gV=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${K(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 ${K(a)} ${t.activeShadowColor}`,outline:0}}}},g4=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},gV(e,t))}),Tde=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},gV(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),g4(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),g4(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:`${K(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),mV=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${K(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}}}},m4=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},mV(e,t))}),Rde=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},mV(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),m4(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),m4(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:`${K(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),_de=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:`${K(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}}}}),$de=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},Tde(e)),Rde(e)),_de(e))}),Ode=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"}}}},Nde=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"}}}},kde=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},nn(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},Ode(e)),Nde(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},xo),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},xo),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},zd()),{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,background:e.colorBgBase}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},Ade=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},kde(e),Ede(e),Cde(e),Sde(e),{[`${t}-rtl`]:{direction:"rtl"}},qg(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},hV=on("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=zt(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Ade(r),$de(r)]},Ide,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var Mde={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"},Pde=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Mde}))},nm=l.forwardRef(Pde),Dde={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"},Lde=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Dde}))},D0=l.forwardRef(Lde),Fde={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"},jde=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Fde}))},rm=l.forwardRef(jde);function dO(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(Pc,null),h=v=>t===null&&!s&&!f?null:l.createElement(l.Fragment,null,u!==!1&&v,s&&d);let b=null;if(t!==void 0)b=h(t);else if(o)b=h(l.createElement(Hi,{spin:!0}));else{const v=`${c}-suffix`;b=x=>{let{open:C,showSearch:w}=x;return h(C&&w?l.createElement(rm,{className:v}):l.createElement(D0,{className:v}))}}let y=null;r!==void 0?y=r:i?y=l.createElement(nm,null):y=null;let S=null;return a!==void 0?S=a:S=l.createElement(Jr,null),{clearIcon:g,suffixIcon:b,itemIcon:y,removeIcon:S}}function vV(e,t){return t!==void 0?t:e!==null}var Bde=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:h,notFoundContent:b,status:y,builtinPlacements:S,dropdownMatchSelectWidth:v,popupMatchSelectWidth:x,direction:C,style:w,allowClear:E,variant:I,dropdownStyle:T,transitionName:R,tagRender:_,maxCount:$}=e,P=Bde(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:D,getPrefixCls:A,renderEmpty:O,direction:N,virtual:k,popupMatchSelectWidth:M,popupOverflow:L,select:F}=l.useContext(st),[,j]=ta(),B=p??(j==null?void 0:j.controlHeight),z=A("select",r),H=A(),V=C??N,{compactSize:te,compactItemClassnames:Y}=Os(z,V),[J,G]=Dc("select",I,a),U=Un(z),[q,X,Q]=hV(z,U),ee=l.useMemo(()=>{const{mode:ge}=e;if(ge!=="combobox")return ge===bV?"combobox":ge},[e.mode]),oe=ee==="multiple"||ee==="tags",le=vV(e.suffixIcon,e.showArrow),fe=(n=x??v)!==null&&n!==void 0?n:M,{status:ce,hasFeedback:Te,isFormItemInput:Se,feedbackIcon:ve}=l.useContext(zr),ae=Nl(ce,y);let ie;b!==void 0?ie=b:ee==="combobox"?ie=null:ie=(O==null?void 0:O("Select"))||l.createElement(P0,{componentName:"Select"});const{suffixIcon:ue,itemIcon:ye,removeIcon:Ee,clearIcon:Me}=dO(Object.assign(Object.assign({},P),{multiple:oe,hasFeedback:Te,feedbackIcon:ve,showSuffixIcon:le,prefixCls:z,componentName:"Select"})),Ie=E===!0?{clearIcon:Me}:E,Ce=On(P,["suffixIcon","itemIcon"]),me=ne(c||u,{[`${z}-dropdown-${V}`]:V==="rtl"},i,Q,U,X),we=Er(ge=>{var Pe;return(Pe=g??te)!==null&&Pe!==void 0?Pe:ge}),_e=l.useContext(Zr),Ne=h??_e,he=ne({[`${z}-lg`]:we==="large",[`${z}-sm`]:we==="small",[`${z}-rtl`]:V==="rtl",[`${z}-${J}`]:G,[`${z}-in-form-item`]:Se},Is(z,ae,Te),Y,F==null?void 0:F.className,o,i,Q,U,X),ke=l.useMemo(()=>f!==void 0?f:V==="rtl"?"bottomRight":"bottomLeft",[f,V]),[xe]=Si("SelectLike",T==null?void 0:T.zIndex);return q(l.createElement(uO,Object.assign({ref:t,virtual:k,showSearch:F==null?void 0:F.showSearch},Ce,{style:Object.assign(Object.assign({},F==null?void 0:F.style),w),dropdownMatchSelectWidth:fe,transitionName:xa(H,"slide-up",R),builtinPlacements:dV(S,L),listHeight:d,listItemHeight:B,mode:ee,prefixCls:z,placement:ke,direction:V,suffixIcon:ue,menuItemSelectedIcon:ye,removeIcon:Ee,allowClear:Ie,notFoundContent:ie,className:he,getPopupContainer:s||D,dropdownClassName:me,disabled:Ne,dropdownStyle:Object.assign(Object.assign({},T),{zIndex:xe}),maxCount:oe?$:void 0,tagRender:oe?_:void 0})))},Ar=l.forwardRef(zde),Hde=Jg(Ar);Ar.SECRET_COMBOBOX_MODE_DO_NOT_USE=bV;Ar.Option=cO;Ar.OptGroup=lO;Ar._InternalPanelDoNotUseOrYouWillBeFired=Hde;const Tc=["xxl","xl","lg","md","sm","xs"],Ude=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)`}),Vde=e=>{const t=e,n=[].concat(Tc).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 fO(){const[,e]=l.useReducer(t=>t+1,0);return e}function L0(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=l.useRef({}),n=fO(),r=yV();return Xt(()=>{const a=r.subscribe(o=>{t.current=o,e&&n()});return()=>r.unsubscribe(a)},[]),t.current}const fb=e=>e?typeof e=="function"?e():e:null;function pO(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 su={shiftX:64,adjustY:1},lu={adjustX:1,shiftY:!0},Ro=[0,0],Wde={left:{points:["cr","cl"],overflow:lu,offset:[-4,0],targetOffset:Ro},right:{points:["cl","cr"],overflow:lu,offset:[4,0],targetOffset:Ro},top:{points:["bc","tc"],overflow:su,offset:[0,-4],targetOffset:Ro},bottom:{points:["tc","bc"],overflow:su,offset:[0,4],targetOffset:Ro},topLeft:{points:["bl","tl"],overflow:su,offset:[0,-4],targetOffset:Ro},leftTop:{points:["tr","tl"],overflow:lu,offset:[-4,0],targetOffset:Ro},topRight:{points:["br","tr"],overflow:su,offset:[0,-4],targetOffset:Ro},rightTop:{points:["tl","tr"],overflow:lu,offset:[4,0],targetOffset:Ro},bottomRight:{points:["tr","br"],overflow:su,offset:[0,4],targetOffset:Ro},rightBottom:{points:["bl","br"],overflow:lu,offset:[4,0],targetOffset:Ro},bottomLeft:{points:["tl","bl"],overflow:su,offset:[0,4],targetOffset:Ro},leftBottom:{points:["br","bl"],overflow:lu,offset:[-4,0],targetOffset:Ro}},Gde=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],qde=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,h=t.onVisibleChange,b=t.afterVisibleChange,y=t.transitionName,S=t.animation,v=t.motion,x=t.placement,C=x===void 0?"right":x,w=t.align,E=w===void 0?{}:w,I=t.destroyTooltipOnHide,T=I===void 0?!1:I,R=t.defaultVisible,_=t.getTooltipContainer,$=t.overlayInnerStyle;t.arrowContent;var P=t.overlay,D=t.id,A=t.showArrow,O=A===void 0?!0:A,N=xt(t,Gde),k=l.useRef(null);l.useImperativeHandle(n,function(){return k.current});var M=Z({},N);"visible"in t&&(M.popupVisible=t.visible);var L=function(){return l.createElement(pO,{key:"content",prefixCls:p,id:D,overlayInnerStyle:$},P)};return l.createElement(tm,pe({popupClassName:r,prefixCls:p,popup:L,action:o,builtinPlacements:Wde,popupPlacement:C,ref:k,popupAlign:E,getPopupContainer:_,onPopupVisibleChange:h,afterPopupVisibleChange:b,popupTransitionName:y,popupAnimation:S,popupMotion:v,defaultPopupVisible:R,autoDestroy:T,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:O},M),g)};const Kde=l.forwardRef(qde);function F0(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,h=c,b=2*a-o,y=i,S=a*Math.sqrt(2)+r*(Math.sqrt(2)-2),v=r*(Math.sqrt(2)-1),x=`polygon(${v}px 100%, 50% ${v}px, ${2*a-v}px 100%, ${v}px 100%)`,C=`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} ${h} A ${r} ${r} 0 0 0 ${b} ${y} Z')`;return{arrowShadowWidth:S,arrowPath:C,arrowPolygon:x}}const SV=(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 ${K(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},xV=8;function j0(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?xV:r}}function ch(e,t){return e?t:{}}function gO(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"},SV(e,t,a)),{"&:before":{background:t}})]},ch(!!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% - ${K(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),ch(!!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% - ${K(i)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:i}}}})),ch(!!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}})),ch(!!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 Yde(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 h4={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"]}},Xde={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"]}},Zde=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function wV(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:a,borderRadius:o,visibleFirst:i}=e,s=t/2,c={};return Object.keys(h4).forEach(u=>{const d=r&&Xde[u]||h4[u],f=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(c[u]=f,Zde.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=j0({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*2+s;break;case"leftBottom":case"rightBottom":f.offset[1]=p.arrowOffsetHorizontal*2-s;break}f.overflow=Yde(u,p,t,n),i&&(f.htmlRegion="visibleFirst")}),c}const Qde=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({},nn(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:`${K(e.calc(u).div(2).equal())} ${K(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,xV)}},[`${t}-content`]:{position:"relative"}}),RH(e,(f,p)=>{let{darkColor:g}=p;return{[`&${t}-${f}`]:{[`${t}-inner`]:{backgroundColor:g},[`${t}-arrow`]:{"--antd-arrow-background-color":g}}}})),{"&-rtl":{direction:"rtl"}})},gO(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Jde=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},j0({contentRadius:e.borderRadius,limitVerticalRadius:!0})),F0(zt(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),CV=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return on("Tooltip",r=>{const{borderRadius:a,colorTextLightSolid:o,colorBgSpotlight:i}=r,s=zt(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:a,tooltipBg:i});return[Qde(s),qd(r,"zoom-big-fast")]},Jde,{resetStyle:!1,injectStyle:t})(e)},efe=ug.map(e=>`${e}-inverse`),tfe=["success","processing","error","default","warning"];function EV(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(De(efe),De(ug)).includes(e):ug.includes(e)}function nfe(e){return tfe.includes(e)}function IV(e,t){const n=EV(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 rfe=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:o,overlayInnerStyle:i}=e,{getPrefixCls:s}=l.useContext(st),c=s("tooltip",t),[u,d,f]=CV(c),p=IV(c,o),g=p.arrowStyle,h=Object.assign(Object.assign({},i),p.overlayStyle),b=ne(d,f,c,`${c}-pure`,`${c}-placement-${r}`,n,p.className);return u(l.createElement("div",{className:b,style:g},l.createElement("div",{className:`${c}-arrow`}),l.createElement(pO,Object.assign({},e,{className:d,prefixCls:c,overlayInnerStyle:h}),a)))};var afe=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:h=!0,title:b,overlay:y,builtinPlacements:S,arrowPointAtCenter:v=!1,autoAdjustOverflow:x=!0}=e,C=!!h,[,w]=ta(),{getPopupContainer:E,getPrefixCls:I,direction:T}=l.useContext(st),R=$l(),_=l.useRef(null),$=()=>{var ie;(ie=_.current)===null||ie===void 0||ie.forceAlign()};l.useImperativeHandle(t,()=>{var ie;return{forceAlign:$,forcePopupAlign:()=>{R.deprecated(!1,"forcePopupAlign","forceAlign"),$()},nativeElement:(ie=_.current)===null||ie===void 0?void 0:ie.nativeElement}});const[P,D]=sn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),A=!b&&!y&&b!==0,O=ie=>{var ue,ye;D(A?!1:ie),A||((ue=e.onOpenChange)===null||ue===void 0||ue.call(e,ie),(ye=e.onVisibleChange)===null||ye===void 0||ye.call(e,ie))},N=l.useMemo(()=>{var ie,ue;let ye=v;return typeof h=="object"&&(ye=(ue=(ie=h.pointAtCenter)!==null&&ie!==void 0?ie:h.arrowPointAtCenter)!==null&&ue!==void 0?ue:v),S||wV({arrowPointAtCenter:ye,autoAdjustOverflow:x,arrowWidth:C?w.sizePopupArrow:0,borderRadius:w.borderRadius,offset:w.marginXXS,visibleFirst:!0})},[v,h,S,w]),k=l.useMemo(()=>b===0?b:y||b||"",[y,b]),M=l.createElement(Ui,{space:!0},typeof k=="function"?k():k),{getPopupContainer:L,placement:F="top",mouseEnterDelay:j=.1,mouseLeaveDelay:B=.1,overlayStyle:z,rootClassName:H}=e,V=afe(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),te=I("tooltip",a),Y=I(),J=e["data-popover-inject"];let G=P;!("open"in e)&&!("visible"in e)&&A&&(G=!1);const U=l.isValidElement(d)&&!GH(d)?d:l.createElement("span",null,d),q=U.props,X=!q.className||typeof q.className=="string"?ne(q.className,o||`${te}-open`):q.className,[Q,ee,oe]=CV(te,!J),le=IV(te,c),fe=le.arrowStyle,ce=Object.assign(Object.assign({},u),le.overlayStyle),Te=ne(s,{[`${te}-rtl`]:T==="rtl"},le.className,H,ee,oe),[Se,ve]=Si("Tooltip",V.zIndex),ae=l.createElement(Kde,Object.assign({},V,{zIndex:Se,showArrow:C,placement:F,mouseEnterDelay:j,mouseLeaveDelay:B,prefixCls:te,overlayClassName:Te,overlayStyle:Object.assign(Object.assign({},fe),z),getTooltipContainer:L||i||E,ref:_,builtinPlacements:N,overlay:M,visible:G,onVisibleChange:O,afterVisibleChange:f??p,overlayInnerStyle:ce,arrowContent:l.createElement("span",{className:`${te}-arrow-content`}),motion:{motionName:xa(Y,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!g}),G?Cr(U,{className:X}):U);return Q(l.createElement(Vg.Provider,{value:ve},ae))}),Zt=ofe;Zt._InternalPanelDoNotUseOrYouWillBeFired=rfe;const ife=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:h,titlePadding:b}=e;return[{[t]:Object.assign(Object.assign({},nn(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:b},[`${t}-inner-content`]:{color:n,padding:h}})},gO(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},sfe=e=>{const{componentCls:t}=e;return{[t]:ug.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},lfe=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,h=p/2-t,b=a;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:i+30},F0(e)),j0({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:o?0:12,titleMarginBottom:o?0:c,titlePadding:o?`${g}px ${b}px ${h}px`:0,titleBorderBottom:o?`${t}px ${u} ${d}`:"none",innerContentPadding:o?`${f}px ${b}px`:0})},TV=on("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=zt(e,{popoverBg:t,popoverColor:n});return[ife(r),sfe(r),qd(r,"zoom-big")]},lfe,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var cfe=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))},ufe=e=>{const{hashId:t,prefixCls:n,className:r,style:a,placement:o="top",title:i,content:s,children:c}=e,u=fb(i),d=fb(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(pO,Object.assign({},e,{className:t,prefixCls:n}),c||l.createElement(RV,{prefixCls:n,title:u,content:d})))},dfe=e=>{const{prefixCls:t,className:n}=e,r=cfe(e,["prefixCls","className"]),{getPrefixCls:a}=l.useContext(st),o=a("popover",t),[i,s,c]=TV(o);return i(l.createElement(ufe,Object.assign({},r,{prefixCls:o,hashId:s,className:ne(n,c)})))};var ffe=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:h={}}=e,b=ffe(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:y}=l.useContext(st),S=y("popover",a),[v,x,C]=TV(S),w=y(),E=ne(s,x,C),[I,T]=sn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),R=(A,O)=>{T(A,!0),g==null||g(A,O)},_=A=>{A.keyCode===Le.ESC&&R(!1,A)},$=A=>{R(A)},P=fb(o),D=fb(i);return v(l.createElement(Zt,Object.assign({placement:c,trigger:u,mouseEnterDelay:f,mouseLeaveDelay:p,overlayStyle:h},b,{prefixCls:S,overlayClassName:E,ref:t,open:I,onOpenChange:$,overlay:P||D?l.createElement(RV,{prefixCls:S,title:P,content:D}):null,transitionName:xa(w,"zoom-big",b.transitionName),"data-popover-inject":!0}),Cr(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)}})))}),_V=pfe;_V._InternalPanelDoNotUseOrYouWillBeFired=dfe;var gfe={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"},mfe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:gfe}))},Za=l.forwardRef(mfe),hfe=Le.ESC,vfe=Le.TAB;function bfe(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 hfe:s();break;case vfe:{var p=!1;i.current||(p=c()),p?f.preventDefault():s();break}}};l.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&Ut(c,3),function(){window.removeEventListener("keydown",u),i.current=!1}):function(){i.current=!1}},[t])}var yfe=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=ea(t,o==null?void 0:o.ref);return se.createElement(se.Fragment,null,r&&se.createElement("div",{className:"".concat(a,"-arrow")}),se.cloneElement(o,{ref:gi(o)?i:void 0}))}),cu={adjustX:1,adjustY:1},uu=[0,0],Sfe={topLeft:{points:["bl","tl"],overflow:cu,offset:[0,-4],targetOffset:uu},top:{points:["bc","tc"],overflow:cu,offset:[0,-4],targetOffset:uu},topRight:{points:["br","tr"],overflow:cu,offset:[0,-4],targetOffset:uu},bottomLeft:{points:["tl","bl"],overflow:cu,offset:[0,4],targetOffset:uu},bottom:{points:["tc","bc"],overflow:cu,offset:[0,4],targetOffset:uu},bottomRight:{points:["tr","br"],overflow:cu,offset:[0,4],targetOffset:uu}},xfe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function wfe(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?Sfe:p,h=e.getPopupContainer,b=e.showAction,y=e.hideAction,S=e.overlayClassName,v=e.overlayStyle,x=e.visible,C=e.trigger,w=C===void 0?["hover"]:C,E=e.autoFocus,I=e.overlay,T=e.children,R=e.onVisibleChange,_=xt(e,xfe),$=se.useState(),P=re($,2),D=P[0],A=P[1],O="visible"in e?x:D,N=se.useRef(null),k=se.useRef(null),M=se.useRef(null);se.useImperativeHandle(t,function(){return N.current});var L=function(J){A(J),R==null||R(J)};bfe({visible:O,triggerRef:M,onVisibleChange:L,autoFocus:E,overlayRef:k});var F=function(J){var G=e.onOverlayClick;A(!1),G&&G(J)},j=function(){return se.createElement(yfe,{ref:k,overlay:I,prefixCls:i,arrow:a})},B=function(){return typeof I=="function"?j:j()},z=function(){var J=e.minOverlayWidthMatchTrigger,G=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?J:!G},H=function(){var J=e.openClassName;return J!==void 0?J:"".concat(i,"-open")},V=se.cloneElement(T,{className:ne((n=T.props)===null||n===void 0?void 0:n.className,O&&H()),ref:gi(T)?ea(M,T.ref):void 0}),te=y;return!te&&w.indexOf("contextMenu")!==-1&&(te=["click"]),se.createElement(tm,pe({builtinPlacements:g},_,{prefixCls:i,ref:N,popupClassName:ne(S,W({},"".concat(i,"-show-arrow"),a)),popupStyle:v,action:w,showAction:b,hideAction:te,popupPlacement:f,popupAlign:u,popupTransitionName:s,popupAnimation:c,popupVisible:O,stretch:z()?"minWidth":"",popup:B(),onPopupVisibleChange:L,onPopupClick:F,getPopupContainer:h}),V)}const $V=se.forwardRef(wfe);var OV=l.createContext(null);function NV(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function kV(e){var t=l.useContext(OV);return NV(t,e)}var Cfe=["children","locked"],hi=l.createContext(null);function Efe(e,t){var n=Z({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function gg(e){var t=e.children,n=e.locked,r=xt(e,Cfe),a=l.useContext(hi),o=_l(function(){return Efe(a,r)},[a,r],function(i,s){return!n&&(i[0]!==s[0]||!zo(i[1],s[1],!0))});return l.createElement(hi.Provider,{value:o},t)}var Ife=[],AV=l.createContext(null);function B0(){return l.useContext(AV)}var MV=l.createContext(Ife);function Kd(e){var t=l.useContext(MV);return l.useMemo(function(){return e!==void 0?[].concat(De(t),[e]):t},[t,e])}var PV=l.createContext(null),mO=l.createContext({});function v4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Vd(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 Tfe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=De(e.querySelectorAll("*")).filter(function(r){return v4(r,t)});return v4(e,t)&&n.unshift(e),n}var bR=Le.LEFT,yR=Le.RIGHT,SR=Le.UP,fv=Le.DOWN,pv=Le.ENTER,DV=Le.ESC,kf=Le.HOME,Af=Le.END,b4=[SR,fv,bR,yR];function Rfe(e,t,n,r){var a,o,i,s,c="prev",u="next",d="children",f="parent";if(e==="inline"&&r===pv)return{inlineTrigger:!0};var p=(a={},W(a,SR,c),W(a,fv,u),a),g=(o={},W(o,bR,n?u:c),W(o,yR,n?c:u),W(o,fv,d),W(o,pv,d),o),h=(i={},W(i,SR,c),W(i,fv,u),W(i,pv,d),W(i,DV,f),W(i,bR,n?d:f),W(i,yR,n?f:d),i),b={inline:p,horizontal:g,vertical:h,inlineSub:p,horizontalSub:h,verticalSub:h},y=(s=b["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[r];switch(y){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 _fe(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function $fe(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function hO(e,t){var n=Tfe(e,!0);return n.filter(function(r){return t.has(r)})}function y4(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=hO(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 xR=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(NV(n,i),"']"));s&&(r.add(s),o.set(s,i),a.set(i,s))}),{elements:r,key2element:a,element2key:o}};function Ofe(e,t,n,r,a,o,i,s,c,u){var d=l.useRef(),f=l.useRef();f.current=t;var p=function(){Ut.cancel(d.current)};return l.useEffect(function(){return function(){p()}},[]),function(g){var h=g.which;if([].concat(b4,[pv,DV,kf,Af]).includes(h)){var b=o(),y=xR(b,r),S=y,v=S.elements,x=S.key2element,C=S.element2key,w=x.get(t),E=$fe(w,v),I=C.get(E),T=Rfe(e,i(I,!0).length===1,n,h);if(!T&&h!==kf&&h!==Af)return;(b4.includes(h)||[kf,Af].includes(h))&&g.preventDefault();var R=function(k){if(k){var M=k,L=k.querySelector("a");L!=null&&L.getAttribute("href")&&(M=L);var F=C.get(k);s(F),p(),d.current=Ut(function(){f.current===F&&M.focus()})}};if([kf,Af].includes(h)||T.sibling||!E){var _;!E||e==="inline"?_=a.current:_=_fe(E);var $,P=hO(_,v);h===kf?$=P[0]:h===Af?$=P[P.length-1]:$=y4(_,v,E,T.offset),R($)}else if(T.inlineTrigger)c(I);else if(T.offset>0)c(I,!0),p(),d.current=Ut(function(){y=xR(b,r);var N=E.getAttribute("aria-controls"),k=document.getElementById(N),M=y4(k,y.elements);R(M)},5);else if(T.offset<0){var D=i(I,!0),A=D[D.length-2],O=x.get(A);c(A,!1),R(O)}}u==null||u(g)}}function Nfe(e){Promise.resolve().then(e)}var vO="__RC_UTIL_PATH_SPLIT__",S4=function(t){return t.join(vO)},kfe=function(t){return t.split(vO)},wR="rc-menu-more";function Afe(){var e=l.useState({}),t=re(e,2),n=t[1],r=l.useRef(new Map),a=l.useRef(new Map),o=l.useState([]),i=re(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(x,C){var w=S4(C);a.current.set(w,x),r.current.set(x,w),u.current+=1;var E=u.current;Nfe(function(){E===u.current&&f()})},[]),g=l.useCallback(function(x,C){var w=S4(C);a.current.delete(w),r.current.delete(x)},[]),h=l.useCallback(function(x){c(x)},[]),b=l.useCallback(function(x,C){var w=r.current.get(x)||"",E=kfe(w);return C&&s.includes(E[0])&&E.unshift(wR),E},[s]),y=l.useCallback(function(x,C){return x.filter(function(w){return w!==void 0}).some(function(w){var E=b(w,!0);return E.includes(C)})},[b]),S=function(){var C=De(r.current.keys());return s.length&&C.push(wR),C},v=l.useCallback(function(x){var C="".concat(r.current.get(x)).concat(vO),w=new Set;return De(a.current.keys()).forEach(function(E){E.startsWith(C)&&w.add(a.current.get(E))}),w},[]);return l.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:p,unregisterPath:g,refreshOverflowKeys:h,isSubPathKey:y,getKeyPath:b,getKeys:S,getSubPathKeys:v}}function qf(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 x=v.onVisibleChanged;return v.onVisibleChanged=function(C){return!p.current&&!C&&y(!0),x==null?void 0:x(C)},b?null:l.createElement(gg,{mode:o,locked:!p.current},l.createElement(Qr,pe({visible:S},v,{forceRender:c,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(C){var w=C.className,E=C.style;return l.createElement(bO,{id:t,className:w,style:E},a)}))}var Xfe=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],Zfe=["active"],Qfe=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,h=e.popupStyle,b=e.onClick,y=e.onMouseEnter,S=e.onMouseLeave,v=e.onTitleClick,x=e.onTitleMouseEnter,C=e.onTitleMouseLeave,w=xt(e,Xfe),E=kV(i),I=l.useContext(hi),T=I.prefixCls,R=I.mode,_=I.openKeys,$=I.disabled,P=I.overflowDisabled,D=I.activeKey,A=I.selectedKeys,O=I.itemIcon,N=I.expandIcon,k=I.onItemClick,M=I.onOpenChange,L=I.onActive,F=l.useContext(mO),j=F._internalRenderSubMenuItem,B=l.useContext(PV),z=B.isSubPathKey,H=Kd(),V="".concat(T,"-submenu"),te=$||s,Y=l.useRef(),J=l.useRef(),G=d??O,U=f??N,q=_.includes(i),X=!P&&q,Q=z(A,i),ee=LV(i,te,x,C),oe=ee.active,le=xt(ee,Zfe),fe=l.useState(!1),ce=re(fe,2),Te=ce[0],Se=ce[1],ve=function(xe){te||Se(xe)},ae=function(xe){ve(!0),y==null||y({key:i,domEvent:xe})},ie=function(xe){ve(!1),S==null||S({key:i,domEvent:xe})},ue=l.useMemo(function(){return oe||(R!=="inline"?Te||z([D],i):!1)},[R,oe,D,Te,i,z]),ye=FV(H.length),Ee=function(xe){te||(v==null||v({key:i,domEvent:xe}),R==="inline"&&M(i,!q))},Me=qf(function(ke){b==null||b(pb(ke)),k(ke)}),Ie=function(xe){R!=="inline"&&M(i,xe)},Ce=function(){L(i)},me=E&&"".concat(E,"-popup"),we=l.createElement("div",pe({role:"menuitem",style:ye,className:"".concat(V,"-title"),tabIndex:te?null:-1,ref:Y,title:typeof o=="string"?o:null,"data-menu-id":P&&E?null:E,"aria-expanded":X,"aria-haspopup":!0,"aria-controls":me,"aria-disabled":te,onClick:Ee,onFocus:Ce},le),o,l.createElement(jV,{icon:R!=="horizontal"?U:void 0,props:Z(Z({},e),{},{isOpen:X,isSubMenu:!0})},l.createElement("i",{className:"".concat(V,"-arrow")}))),_e=l.useRef(R);if(R!=="inline"&&H.length>1?_e.current="vertical":_e.current=R,!P){var Ne=_e.current;we=l.createElement(Kfe,{mode:Ne,prefixCls:V,visible:!c&&X&&R!=="inline",popupClassName:p,popupOffset:g,popupStyle:h,popup:l.createElement(gg,{mode:Ne==="horizontal"?"vertical":Ne},l.createElement(bO,{id:me,ref:J},u)),disabled:te,onVisibleChange:Ie},we)}var he=l.createElement(di.Item,pe({ref:t,role:"none"},w,{component:"li",style:r,className:ne(V,"".concat(V,"-").concat(R),a,(n={},W(n,"".concat(V,"-open"),X),W(n,"".concat(V,"-active"),ue),W(n,"".concat(V,"-selected"),Q),W(n,"".concat(V,"-disabled"),te),n)),onMouseEnter:ae,onMouseLeave:ie}),we,!P&&l.createElement(Yfe,{id:me,open:X,keyPath:H},u));return j&&(he=j(he,e,{selected:Q,active:ue,open:X,disabled:te})),l.createElement(gg,{onItemClick:Me,mode:R==="horizontal"?"vertical":R,itemIcon:G,expandIcon:U},he)}),z0=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Kd(n),o=yO(r,a),i=B0();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(Qfe,pe({ref:t},e),o),l.createElement(MV.Provider,{value:a},s)});function SO(e){var t=e.className,n=e.style,r=l.useContext(hi),a=r.prefixCls,o=B0();return o?null:l.createElement("li",{role:"separator",className:ne("".concat(a,"-item-divider"),t),style:n})}var Jfe=["className","title","eventKey","children"],epe=l.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var a=e.children,o=xt(e,Jfe),i=l.useContext(hi),s=i.prefixCls,c="".concat(s,"-item-group");return l.createElement("li",pe({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))}),xO=l.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Kd(n),o=yO(r,a),i=B0();return i?o:l.createElement(epe,pe({ref:t},On(e,["warnKey"])),o)}),tpe=["label","children","key","type"];function CR(e,t){var n=t.item,r=t.group,a=t.submenu,o=t.divider;return(e||[]).map(function(i,s){if(i&&ht(i)==="object"){var c=i,u=c.label,d=c.children,f=c.key,p=c.type,g=xt(c,tpe),h=f??"tmp-".concat(s);return d||p==="group"?p==="group"?l.createElement(r,pe({key:h},g,{title:u}),CR(d,t)):l.createElement(a,pe({key:h},g,{title:u}),CR(d,t)):p==="divider"?l.createElement(o,pe({key:h},g)):l.createElement(n,pe({key:h},g),u)}return null}).filter(function(i){return i})}function w4(e,t,n,r){var a=e,o=Z({divider:SO,item:am,group:xO,submenu:z0},r);return t&&(a=CR(t,o)),yO(a,n)}var npe=["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"],Fl=[],rpe=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,h=a.direction,b=a.id,y=a.mode,S=y===void 0?"vertical":y,v=a.inlineCollapsed,x=a.disabled,C=a.disabledOverflow,w=a.subMenuOpenDelay,E=w===void 0?.1:w,I=a.subMenuCloseDelay,T=I===void 0?.1:I,R=a.forceSubMenuRender,_=a.defaultOpenKeys,$=a.openKeys,P=a.activeKey,D=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,V=a.defaultMotions,te=a.triggerSubMenuAction,Y=te===void 0?"hover":te,J=a.builtinPlacements,G=a.itemIcon,U=a.expandIcon,q=a.overflowedIndicator,X=q===void 0?"...":q,Q=a.overflowedIndicatorPopupClassName,ee=a.getPopupContainer,oe=a.onClick,le=a.onOpenChange,fe=a.onKeyDown;a.openAnimation,a.openTransitionName;var ce=a._internalRenderMenuItem,Te=a._internalRenderSubMenuItem,Se=a._internalComponents,ve=xt(a,npe),ae=l.useMemo(function(){return[w4(g,p,Fl,Se),w4(g,p,Fl,{})]},[g,p,Se]),ie=re(ae,2),ue=ie[0],ye=ie[1],Ee=l.useState(!1),Me=re(Ee,2),Ie=Me[0],Ce=Me[1],me=l.useRef(),we=Pfe(b),_e=h==="rtl",Ne=sn(_,{value:$,postState:function(jt){return jt||Fl}}),he=re(Ne,2),ke=he[0],xe=he[1],ge=function(jt){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function wt(){xe(jt),le==null||le(jt)}Bt?Lr.flushSync(wt):wt()},Pe=l.useState(ke),Ve=re(Pe,2),Ae=Ve[0],be=Ve[1],Oe=l.useRef(!1),Fe=l.useMemo(function(){return(S==="inline"||S==="vertical")&&v?["vertical",v]:[S,!1]},[S,v]),Ke=re(Fe,2),He=Ke[0],ze=Ke[1],Ze=He==="inline",je=l.useState(He),Je=re(je,2),mt=Je[0],ft=Je[1],qe=l.useState(ze),We=re(qe,2),Qe=We[0],ct=We[1];l.useEffect(function(){ft(He),ct(ze),Oe.current&&(Ze?xe(Ae):ge(Fl))},[He,ze]);var Rt=l.useState(0),$t=re(Rt,2),vt=$t[0],lt=$t[1],ot=vt>=ue.length-1||mt!=="horizontal"||C;l.useEffect(function(){Ze&&be(ke)},[ke]),l.useEffect(function(){return Oe.current=!0,function(){Oe.current=!1}},[]);var et=Afe(),bt=et.registerPath,rt=et.unregisterPath,St=et.refreshOverflowKeys,Et=et.isSubPathKey,tt=et.getKeyPath,at=et.getKeys,Ye=et.getSubPathKeys,Ge=l.useMemo(function(){return{registerPath:bt,unregisterPath:rt}},[bt,rt]),yt=l.useMemo(function(){return{isSubPathKey:Et}},[Et]);l.useEffect(function(){St(ot?Fl:ue.slice(vt+1).map(function(Gt){return Gt.key}))},[vt,ot]);var Tt=sn(P||D&&((n=ue[0])===null||n===void 0?void 0:n.key),{value:P}),Pt=re(Tt,2),en=Pt[0],rn=Pt[1],Vt=qf(function(Gt){rn(Gt)}),tn=qf(function(){rn(void 0)});l.useImperativeHandle(t,function(){return{list:me.current,focus:function(jt){var Bt,wt=at(),Ct=xR(wt,we),cn=Ct.elements,Rn=Ct.key2element,ur=Ct.element2key,dr=hO(me.current,cn),yr=en??(dr[0]?ur.get(dr[0]):(Bt=ue.find(function(pt){return!pt.props.disabled}))===null||Bt===void 0?void 0:Bt.key),Ht=Rn.get(yr);if(yr&&Ht){var Lt;Ht==null||(Lt=Ht.focus)===null||Lt===void 0||Lt.call(Ht,jt)}}}});var It=sn(M||[],{value:L,postState:function(jt){return Array.isArray(jt)?jt:jt==null?Fl:[jt]}}),_t=re(It,2),kt=_t[0],Tn=_t[1],Qn=function(jt){if(O){var Bt=jt.key,wt=kt.includes(Bt),Ct;k?wt?Ct=kt.filter(function(Rn){return Rn!==Bt}):Ct=[].concat(De(kt),[Bt]):Ct=[Bt],Tn(Ct);var cn=Z(Z({},jt),{},{selectedKeys:Ct});wt?j==null||j(cn):F==null||F(cn)}!k&&ke.length&&mt!=="inline"&&ge(Fl)},cr=qf(function(Gt){oe==null||oe(pb(Gt)),Qn(Gt)}),Jn=qf(function(Gt,jt){var Bt=ke.filter(function(Ct){return Ct!==Gt});if(jt)Bt.push(Gt);else if(mt!=="inline"){var wt=Ye(Gt);Bt=Bt.filter(function(Ct){return!wt.has(Ct)})}zo(ke,Bt,!0)||ge(Bt,!0)}),Hr=function(jt,Bt){var wt=Bt??!ke.includes(jt);Jn(jt,wt)},Mr=Ofe(mt,en,_e,we,me,at,tt,rn,Hr,fe);l.useEffect(function(){Ce(!0)},[]);var er=l.useMemo(function(){return{_internalRenderMenuItem:ce,_internalRenderSubMenuItem:Te}},[ce,Te]),Kt=mt!=="horizontal"||C?ue:ue.map(function(Gt,jt){return l.createElement(gg,{key:Gt.key,overflowDisabled:jt>vt},Gt)}),Ft=l.createElement(di,pe({id:b,ref:me,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:am,className:ne(i,"".concat(i,"-root"),"".concat(i,"-").concat(mt),u,(r={},W(r,"".concat(i,"-inline-collapsed"),Qe),W(r,"".concat(i,"-rtl"),_e),r),s),dir:h,style:c,role:"menu",tabIndex:f,data:Kt,renderRawItem:function(jt){return jt},renderRawRest:function(jt){var Bt=jt.length,wt=Bt?ue.slice(-Bt):null;return l.createElement(z0,{eventKey:wR,title:X,disabled:ot,internalPopupClose:Bt===0,popupClassName:Q},wt)},maxCount:mt!=="horizontal"||C?di.INVALIDATE:di.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(jt){lt(jt)},onKeyDown:Mr},ve));return l.createElement(mO.Provider,{value:er},l.createElement(OV.Provider,{value:we},l.createElement(gg,{prefixCls:i,rootClassName:s,mode:mt,openKeys:ke,rtl:_e,disabled:x,motion:Ie?H:null,defaultMotions:Ie?V:null,activeKey:en,onActive:Vt,onInactive:tn,selectedKeys:kt,inlineIndent:z,subMenuOpenDelay:E,subMenuCloseDelay:T,forceSubMenuRender:R,builtinPlacements:J,triggerSubMenuAction:Y,getPopupContainer:ee,itemIcon:G,expandIcon:U,onItemClick:cr,onOpenChange:Jn},l.createElement(PV.Provider,{value:yt},Ft),l.createElement("div",{style:{display:"none"},"aria-hidden":!0},l.createElement(AV.Provider,{value:Ge},ye)))))}),Yd=rpe;Yd.Item=am;Yd.SubMenu=z0;Yd.ItemGroup=xO;Yd.Divider=SO;var ape={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"},ope=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:ape}))},ipe=l.forwardRef(ope),spe={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"},lpe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:spe}))},Ts=l.forwardRef(lpe);const cpe=e=>!isNaN(parseFloat(e))&&isFinite(e),zV=l.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var upe=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}`}})(),U0=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:h,onCollapse:b,onBreakpoint:y}=e,S=upe(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:v}=l.useContext(zV),[x,C]=l.useState("collapsed"in e?e.collapsed:i),[w,E]=l.useState(!1);l.useEffect(()=>{"collapsed"in e&&C(e.collapsed)},[e.collapsed]);const I=(D,A)=>{"collapsed"in e||C(D),b==null||b(D,A)},T=l.useRef();T.current=D=>{E(D.matches),y==null||y(D.matches),x!==D.matches&&I(D.matches,"responsive")},l.useEffect(()=>{function D(O){return T.current(O)}let A;if(typeof window<"u"){const{matchMedia:O}=window;if(O&&h&&h in C4){A=O(`screen and (max-width: ${C4[h]})`);try{A.addEventListener("change",D)}catch{A.addListener(D)}D(A)}}return()=>{try{A==null||A.removeEventListener("change",D)}catch{A==null||A.removeListener(D)}}},[h]),l.useEffect(()=>{const D=dpe("ant-sider-");return v.addSider(D),()=>v.removeSider(D)},[]);const R=()=>{I(!x,"clickTrigger")},{getPrefixCls:_}=l.useContext(st),$=()=>{const D=_("layout-sider",n),A=On(S,["collapsed"]),O=x?p:f,N=cpe(O)?`${O}px`:String(O),k=parseFloat(String(p||0))===0?l.createElement("span",{onClick:R,className:ne(`${D}-zero-width-trigger`,`${D}-zero-width-trigger-${d?"right":"left"}`),style:g},a||l.createElement(ipe,null)):null,F={expanded:d?l.createElement(Za,null):l.createElement(Ts,null),collapsed:d?l.createElement(Ts,null):l.createElement(Za,null)}[x?"collapsed":"expanded"],j=a!==null?k||l.createElement("div",{className:`${D}-trigger`,onClick:R,style:{width:N}},a||F):null,B=Object.assign(Object.assign({},c),{flex:`0 0 ${N}`,maxWidth:N,minWidth:N,width:N}),z=ne(D,`${D}-${s}`,{[`${D}-collapsed`]:!!x,[`${D}-has-trigger`]:u&&a!==null&&!k,[`${D}-below`]:!!w,[`${D}-zero-width`]:parseFloat(N)===0},r);return l.createElement("aside",Object.assign({className:z},A,{style:B,ref:t}),l.createElement("div",{className:`${D}-children`},o),u||w&&k?j:null)},P=l.useMemo(()=>({siderCollapsed:x}),[x]);return l.createElement(H0.Provider,{value:P},$())});var fpe={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"},ppe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:fpe}))},wO=l.forwardRef(ppe);const gb=l.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var gpe=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=gpe(e,["prefixCls","className","dashed"]),{getPrefixCls:o}=l.useContext(st),i=o("menu",t),s=ne({[`${i}-item-divider-dashed`]:!!r},n);return l.createElement(SO,Object.assign({className:s},a))},UV=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(gb),p=v=>{const x=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)):x},{siderCollapsed:g}=l.useContext(H0);let h=o;typeof o>"u"?h=c?r:"":o===!1&&(h="");const b={title:h};!g&&!f&&(b.title=null,b.open=!1);const y=vr(r).length;let S=l.createElement(am,Object.assign({},On(e,["title","icon","danger"]),{className:ne({[`${s}-item-danger`]:i,[`${s}-item-only-child`]:(a?y+1:y)===1},n),title:typeof o=="string"?o:void 0}),Cr(a,{className:ne(l.isValidElement(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),p(f));return d||(S=l.createElement(Zt,Object.assign({},b,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),S)),S};var mpe=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=mpe(e,["children"]),a=l.useContext(mb),o=l.useMemo(()=>Object.assign(Object.assign({},a),r),[a,r.prefixCls,r.mode,r.selectable,r.rootClassName]),i=Yte(n),s=$s(t,i?n.ref:null);return l.createElement(mb.Provider,{value:o},l.createElement(Ui,{space:!0},i?l.cloneElement(n,{ref:s}):n))}),hpe=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:`${K(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"}}}},vpe=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(${K(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${K(n)})`}}}}},E4=e=>Object.assign({},ws(e)),I4=(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:h,itemPaddingInline:b,motionDurationMid:y,itemHoverColor:S,lineType:v,colorSplit:x,itemDisabledColor:C,dangerItemColor:w,dangerItemHoverColor:E,dangerItemSelectedColor:I,dangerItemActiveBg:T,dangerItemSelectedBg:R,popupBg:_,itemHoverBg:$,itemActiveBg:P,menuSubMenuBg:D,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({},E4(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({},E4(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${C} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:S}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:$},"&:active":{backgroundColor:P}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:$},"&:active":{backgroundColor:P}}},[`${n}-item-danger`]:{color:w,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:E}},[`&${n}-item:active`]:{background:T}},[`${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:R}},[`&${n}-submenu > ${n}`]:{backgroundColor:D},[`&${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:b,bottom:0,borderBottom:`${K(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:`${K(f)} ${v} ${x}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${K(d)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${y} ${h}`,`opacity ${y} ${h}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:I}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${y} ${g}`,`opacity ${y} ${g}`].join(",")}}}}}},T4=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:o,marginXS:i,itemMarginBlock:s,itemWidth:c,itemPaddingInline:u}=e,d=e.calc(o).add(a).add(i).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:K(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:c},[`> ${t}-item, + > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:K(n)},[`${t}-item-group-list ${t}-submenu-title, + ${t}-submenu-title`]:{paddingInlineEnd:d}}},bpe=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:o,controlHeightLG:i,motionEaseOut:s,paddingXL:c,itemMarginInline:u,fontSizeLG:d,motionDurationFast:f,motionDurationSlow:p,paddingXS:g,boxShadowSecondary:h,collapsedWidth:b,collapsedIconSize:y}=e,S={height:r,lineHeight:K(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},T4(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},T4(e)),{boxShadow:h})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:o,maxHeight:`calc(100vh - ${K(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 ${f} ${s}`].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`]:S,[`& ${t}-item-group-title`]:{paddingInlineStart:c}},[`${t}-item`]:S}},{[`${t}-inline-collapsed`]:{width:b,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,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% - ${K(e.calc(d).div(2).equal())} - ${K(u)})`,textOverflow:"clip",[` + ${t}-submenu-arrow, + ${t}-submenu-expand-icon + `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:y,lineHeight:K(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({},xo),{paddingInline:g})}}]},R4=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 calc(${n} + 0.1s) ${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({},zd()),[`&${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"}}}},_4=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(${K(e.calc(i).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${K(i)})`}}}}},ype=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:h,menuArrowOffset:b,lineType:y,groupTitleLineHeight:S,groupTitleFontSize:v}=e;return[{"":{[n]:Object.assign(Object.assign({},mi()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nn(e)),mi()),{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:`${K(s)} ${K(c)}`,fontSize:v,lineHeight:S,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:y,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),R4(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${K(e.calc(r).mul(2).equal())} ${K(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},R4(e)),_4(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}}}),_4(e)),{[`&-inline-collapsed ${n}-submenu-arrow, + &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${K(b)})`},"&::after":{transform:`rotate(45deg) translateX(${K(e.calc(b).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${K(e.calc(h).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${K(e.calc(b).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${K(b)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},Spe=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:h,controlItemBgActive:b,colorBgTextHover:y,controlHeightLG:S,lineHeight:v,colorBgElevated:x,marginXXS:C,padding:w,fontSize:E,controlHeightSM:I,fontSizeLG:T,colorTextLightSolid:R,colorErrorHover:_}=e,$=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,P=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:g,D=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,A=new an(R).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:y,itemHoverBg:y,colorItemBgActive:p,itemActiveBg:b,colorSubItemBg:f,subMenuItemBg:f,colorItemBgSelected:b,itemSelectedBg:b,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:$,colorActiveBarHeight:h,activeBarHeight:h,colorActiveBarBorderSize:g,activeBarBorderWidth:P,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:D,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:S,groupTitleLineHeight:v,collapsedWidth:S*2,popupBg:x,itemMarginBlock:C,itemPaddingInline:w,horizontalLineHeight:`${S*1.15}px`,iconSize:E,iconMarginInlineEnd:I-E,collapsedIconSize:T,groupTitleFontSize:E,darkItemDisabledColor:new an(R).setAlpha(.25).toRgbString(),darkItemColor:A,darkDangerItemColor:o,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:R,darkItemSelectedBg:a,darkDangerItemSelectedBg:o,darkItemHoverBg:"transparent",darkGroupTitleColor:A,darkItemHoverColor:R,darkDangerItemHoverColor:_,darkDangerItemSelectedColor:R,darkDangerItemActiveBg:o,itemWidth:$?`calc(100% + ${P}px)`:`calc(100% - ${D*2}px)`}},xpe=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 on("Menu",a=>{const{colorBgElevated:o,controlHeightLG:i,fontSize:s,darkItemColor:c,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:f,darkItemSelectedColor:p,darkItemSelectedBg:g,darkDangerItemSelectedBg:h,darkItemHoverBg:b,darkGroupTitleColor:y,darkItemHoverColor:S,darkItemDisabledColor:v,darkDangerItemHoverColor:x,darkDangerItemSelectedColor:C,darkDangerItemActiveBg:w,popupBg:E,darkPopupBg:I}=a,T=a.calc(s).div(7).mul(5).equal(),R=zt(a,{menuArrowSize:T,menuHorizontalHeight:a.calc(i).mul(1.15).equal(),menuArrowOffset:a.calc(T).mul(.25).equal(),menuSubMenuBg:o,calc:a.calc,popupBg:E}),_=zt(R,{itemColor:c,itemHoverColor:S,groupTitleColor:y,itemSelectedColor:p,itemBg:d,popupBg:I,subMenuItemBg:f,itemActiveBg:"transparent",itemSelectedBg:g,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:b,itemDisabledColor:v,dangerItemColor:u,dangerItemHoverColor:x,dangerItemSelectedColor:C,dangerItemActiveBg:w,dangerItemSelectedBg:h,menuSubMenuBg:f,horizontalItemSelectedColor:p,horizontalItemSelectedBg:g});return[ype(R),hpe(R),bpe(R),I4(R,"light"),I4(_,"dark"),vpe(R),Zg(R),Vi(R,"slide-up"),Vi(R,"slide-down"),qd(R,"zoom-big")]},Spe,{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)},WV=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:o}=e,i=l.useContext(gb),{prefixCls:s,inlineCollapsed:c,theme:u}=i,d=Kd();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 h=l.isValidElement(a)&&a.type==="span";f=l.createElement(l.Fragment,null,Cr(r,{className:ne(l.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),h?a:l.createElement("span",{className:`${s}-title-content`},a))}const p=l.useMemo(()=>Object.assign(Object.assign({},i),{firstLevel:!1}),[i]),[g]=Si("Menu");return l.createElement(gb.Provider,{value:p},l.createElement(z0,Object.assign({},On(e,["icon"]),{title:f,popupClassName:ne(s,n,`${s}-${o||u}`),popupStyle:{zIndex:g}})))};var wpe=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(mb),a=r||{},{getPrefixCls:o,getPopupContainer:i,direction:s,menu:c}=l.useContext(st),u=o(),{prefixCls:d,className:f,style:p,theme:g="light",expandIcon:h,_internalDisableMenuItemTitleTooltip:b,inlineCollapsed:y,siderCollapsed:S,rootClassName:v,mode:x,selectable:C,onClick:w,overflowedIndicatorPopupClassName:E}=e,I=wpe(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),T=On(I,["collapsedWidth"]);(n=a.validator)===null||n===void 0||n.call(a,{mode:x});const R=Wt(function(){var B;w==null||w.apply(void 0,arguments),(B=a.onClick)===null||B===void 0||B.call(a)}),_=a.mode||x,$=C??a.selectable,P=l.useMemo(()=>S!==void 0?S:y,[y,S]),D={horizontal:{motionName:`${u}-slide-up`},inline:Sd(u),other:{motionName:`${u}-zoom-big`}},A=o("menu",d||a.prefixCls),O=Un(A),[N,k,M]=xpe(A,O,!r),L=ne(`${A}-${g}`,c==null?void 0:c.className,f),F=l.useMemo(()=>{var B,z;if(typeof h=="function"||n1(h))return h||null;if(typeof a.expandIcon=="function"||n1(a.expandIcon))return a.expandIcon||null;if(typeof(c==null?void 0:c.expandIcon)=="function"||n1(c==null?void 0:c.expandIcon))return(c==null?void 0:c.expandIcon)||null;const H=(B=h??(a==null?void 0:a.expandIcon))!==null&&B!==void 0?B:c==null?void 0:c.expandIcon;return Cr(H,{className:ne(`${A}-submenu-expand-icon`,l.isValidElement(H)?(z=H.props)===null||z===void 0?void 0:z.className:void 0)})},[h,a==null?void 0:a.expandIcon,c==null?void 0:c.expandIcon,A]),j=l.useMemo(()=>({prefixCls:A,inlineCollapsed:P||!1,direction:s,firstLevel:!0,theme:g,mode:_,disableMenuItemTitleTooltip:b}),[A,P,s,b,g]);return N(l.createElement(mb.Provider,{value:null},l.createElement(gb.Provider,{value:j},l.createElement(Yd,Object.assign({getPopupContainer:i,overflowedIndicator:l.createElement(wO,null),overflowedIndicatorPopupClassName:ne(A,`${A}-${g}`,E),mode:_,selectable:$,onClick:R},T,{inlineCollapsed:P,style:Object.assign(Object.assign({},c==null?void 0:c.style),p),className:L,prefixCls:A,direction:s,defaultMotions:D,expandIcon:F,ref:t,rootClassName:ne(v,k,a.rootClassName,M,O),_internalComponents:Cpe})))))}),Wi=l.forwardRef((e,t)=>{const n=l.useRef(null),r=l.useContext(H0);return l.useImperativeHandle(t,()=>({menu:n.current,focus:a=>{var o;(o=n.current)===null||o===void 0||o.focus(a)}})),l.createElement(Epe,Object.assign({ref:n},e,r))});Wi.Item=UV;Wi.SubMenu=WV;Wi.Divider=HV;Wi.ItemGroup=xO;const Ipe=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}}}}}},Tpe=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:h,colorBgElevated:b}=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, + &${i}-slide-down-enter${i}-slide-down-enter-active${t}-placement-bottomRight, + &${i}-slide-down-appear${i}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:_0},[`&${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topLeft, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topLeft, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-top, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-top, + &${i}-slide-up-enter${i}-slide-up-enter-active${t}-placement-topRight, + &${i}-slide-up-appear${i}-slide-up-appear-active${t}-placement-topRight`]:{animationName:O0},[`&${i}-slide-down-leave${i}-slide-down-leave-active${t}-placement-bottomLeft, + &${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:$0},[`&${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:N0}}},gO(e,b,{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({},nn(e)),{[n]:Object.assign(Object.assign({padding:f,listStyleType:"none",backgroundColor:b,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},zi(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${K(u)} ${K(h)}`,color:e.colorTextDescription,transition:`all ${c}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${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({display:"flex",margin:0,padding:`${K(u)} ${K(h)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},zi(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:p,cursor:"not-allowed","&:hover":{color:p,backgroundColor:b,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${K(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 ${K(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(h).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:b,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[Vi(e,"slide-up"),Vi(e,"slide-down"),wd(e,"move-up"),wd(e,"move-down"),qd(e,"zoom-big")]]},Rpe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},j0({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),F0(e)),_pe=on("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,o=zt(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[Tpe(o),Ipe(o)]},Rpe,{resetStyle:!1}),om=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:h,visible:b,onVisibleChange:y,mouseEnterDelay:S=.15,mouseLeaveDelay:v=.1,autoAdjustOverflow:x=!0,placement:C="",overlay:w,transitionName:E}=e,{getPopupContainer:I,getPrefixCls:T,direction:R,dropdown:_}=l.useContext(st);$l();const $=l.useMemo(()=>{const Q=T();return E!==void 0?E:C.includes("top")?`${Q}-slide-down`:`${Q}-slide-up`},[T,C,E]),P=l.useMemo(()=>C?C.includes("Center")?C.slice(0,C.indexOf("Center")):C:R==="rtl"?"bottomRight":"bottomLeft",[C,R]),D=T("dropdown",a),A=Un(D),[O,N,k]=_pe(D,A),[,M]=ta(),L=l.Children.only(o),F=Cr(L,{className:ne(`${D}-trigger`,{[`${D}-rtl`]:R==="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]=sn(!1,{value:g??b}),V=Wt(Q=>{h==null||h(Q,{source:"trigger"}),y==null||y(Q),H(Q)}),te=ne(d,f,N,k,A,_==null?void 0:_.className,{[`${D}-rtl`]:R==="rtl"}),Y=wV({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:x,offset:M.marginXXS,arrowWidth:r?M.sizePopupArrow:0,borderRadius:M.borderRadius}),J=l.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(h==null||h(!1,{source:"menu"}),H(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),G=()=>{let Q;return n!=null&&n.items?Q=l.createElement(Wi,Object.assign({},n)):typeof w=="function"?Q=w():Q=w,c&&(Q=c(Q)),Q=l.Children.only(typeof Q=="string"?l.createElement("span",null,Q):Q),l.createElement(VV,{prefixCls:`${D}-menu`,rootClassName:ne(k,A),expandIcon:l.createElement("span",{className:`${D}-menu-submenu-arrow`},l.createElement(Za,{className:`${D}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:J,validator:ee=>{}},Q)},[U,q]=Si("Dropdown",p==null?void 0:p.zIndex);let X=l.createElement($V,Object.assign({alignPoint:B},On(e,["rootClassName"]),{mouseEnterDelay:S,mouseLeaveDelay:v,visible:z,builtinPlacements:Y,arrow:!!r,overlayClassName:te,prefixCls:D,getPopupContainer:u||I,transitionName:$,trigger:j,overlay:G,placement:P,onVisibleChange:V,overlayStyle:Object.assign(Object.assign(Object.assign({},_==null?void 0:_.style),p),{zIndex:U})}),F);return U&&(X=l.createElement(Vg.Provider,{value:q},X)),O(X)};function $pe(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Ope=Jg(om,"dropdown",e=>e,$pe),Npe=e=>l.createElement(Ope,Object.assign({},e),l.createElement("span",null));om._InternalPanelDoNotUseOrYouWillBeFired=Npe;const V0=e=>{let{children:t}=e;const{getPrefixCls:n}=l.useContext(st),r=n("breadcrumb");return l.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};V0.__ANT_BREADCRUMB_SEPARATOR=!0;var kpe=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 GV(e,t,n,r){if(n==null)return null;const{className:a,onClick:o}=t,i=kpe(t,["className","onClick"]),s=Object.assign(Object.assign({},Yn(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 Mpe(e,t){return(r,a,o,i,s)=>{if(t)return t(r,a,o,i);const c=Ape(r,a);return GV(e,r,c,s)}}var ER=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,h=ER(p,["items"]);f.menu=Object.assign(Object.assign({},h),{items:g==null?void 0:g.map((b,y)=>{var{key:S,title:v,label:x,path:C}=b,w=ER(b,["key","title","label","path"]);let E=x??v;return C&&(E=l.createElement("a",{href:`${s}${C}`},E)),Object.assign(Object.assign({},w),{key:S??y,label:E})})})}else o&&(f.overlay=o);return l.createElement(om,Object.assign({placement:"bottom"},f),l.createElement("span",{className:`${t}-overlay-link`},d,l.createElement(D0,null)))}return d})(r);return u!=null?l.createElement(l.Fragment,null,l.createElement("li",null,u),n&&l.createElement(V0,null,n)):null},KV=e=>{const{prefixCls:t,children:n,href:r}=e,a=ER(e,["prefixCls","children","href"]),{getPrefixCls:o}=l.useContext(st),i=o("breadcrumb",t);return l.createElement(qV,Object.assign({},a,{prefixCls:i}),GV(i,a,n,r))};KV.__ANT_BREADCRUMB_ITEM=!0;const Ppe=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},nn(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 ${K(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}},zi(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 ${K(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"}})}},Dpe=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),Lpe=on("Breadcrumb",e=>{const t=zt(e,{});return Ppe(t)},Dpe);var $4=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=$4(o,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:i})})}),a}function jpe(e,t){return l.useMemo(()=>e||(t?t.map(Fpe):null),[e,t])}var Bpe=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},Xd=e=>{const{prefixCls:t,separator:n="/",style:r,className:a,rootClassName:o,routes:i,items:s,children:c,itemRender:u,params:d={}}=e,f=Bpe(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:p,direction:g,breadcrumb:h}=l.useContext(st);let b;const y=p("breadcrumb",t),[S,v,x]=Lpe(y),C=jpe(s,i),w=Mpe(y,u);if(C&&C.length>0){const T=[],R=s||i;b=C.map((_,$)=>{const{path:P,key:D,type:A,menu:O,overlay:N,onClick:k,className:M,separator:L,dropdownProps:F}=_,j=zpe(d,P);j!==void 0&&T.push(j);const B=D??$;if(A==="separator")return l.createElement(V0,{key:B},L);const z={},H=$===C.length-1;O?z.menu=O:N&&(z.overlay=N);let{href:V}=_;return T.length&&j!==void 0&&(V=`#/${T.join("/")}`),l.createElement(qV,Object.assign({key:B},z,Yn(_,{data:!0,aria:!0}),{className:M,dropdownProps:F,href:V,separator:H?"":n,onClick:k,prefixCls:y}),w(_,d,R,T,V))})}else if(c){const T=vr(c).length;b=vr(c).map((R,_)=>{if(!R)return R;const $=_===T-1;return Cr(R,{separator:$?"":n,key:_})})}const E=ne(y,h==null?void 0:h.className,{[`${y}-rtl`]:g==="rtl"},a,o,v,x),I=Object.assign(Object.assign({},h==null?void 0:h.style),r);return S(l.createElement("nav",Object.assign({className:E,style:I},f),l.createElement("ol",null,b)))};Xd.Item=KV;Xd.Separator=V0;var YV={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ya,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",h="date",b="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|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])+"]"}},x=function(A,O,N){var k=String(A);return!k||k.length>=O?A:""+Array(O+1-k.length).join(N)+A},C={s:x,z:function(A){var O=-A.utcOffset(),N=Math.abs(O),k=Math.floor(N/60),M=N%60;return(O<=0?"+":"-")+x(k,2,"0")+":"+x(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&&(w=M),M||!k&&w},_=function(A,O){if(T(A))return A.clone();var N=typeof O=="object"?O:{};return N.date=A,N.args=arguments,new P(N)},$=C;$.l=R,$.i=T,$.w=function(A,O){return _(A,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var P=function(){function A(N){this.$L=R(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(y);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()!==b},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)}}})})(QV);var qpe=QV.exports;const Kpe=Ma(qpe);var JV={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ya,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}}})})(JV);var Ype=JV.exports;const Xpe=Ma(Ype);var eW={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ya,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)}}})})(eW);var Zpe=eW.exports;const Qpe=Ma(Zpe);var tW={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(ya,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|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,o=/\d\d/,i=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,c={},u=function(y){return(y=+y)+(y>68?1900:2e3)},d=function(y){return function(S){this[y]=+S}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var v=S.match(/([+-]|\d\d)/g),x=60*v[1]+(+v[2]||0);return x===0?0:v[0]==="+"?-x:x}(y)}],p=function(y){var S=c[y];return S&&(S.indexOf?S:S.s.concat(S.f))},g=function(y,S){var v,x=c.meridiem;if(x){for(var C=1;C<=24;C+=1)if(y.indexOf(x(C,0,S))>-1){v=C>12;break}}else v=y===(S?"pm":"PM");return v},h={A:[s,function(y){this.afternoon=g(y,!1)}],a:[s,function(y){this.afternoon=g(y,!0)}],Q:[a,function(y){this.month=3*(y-1)+1}],S:[a,function(y){this.milliseconds=100*+y}],SS:[o,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[i,d("seconds")],ss:[i,d("seconds")],m:[i,d("minutes")],mm:[i,d("minutes")],H:[i,d("hours")],h:[i,d("hours")],HH:[i,d("hours")],hh:[i,d("hours")],D:[i,d("day")],DD:[o,d("day")],Do:[s,function(y){var S=c.ordinal,v=y.match(/\d+/);if(this.day=v[0],S)for(var x=1;x<=31;x+=1)S(x).replace(/\[|\]/g,"")===y&&(this.day=x)}],w:[i,d("week")],ww:[o,d("week")],M:[i,d("month")],MM:[o,d("month")],MMM:[s,function(y){var S=p("months"),v=(p("monthsShort")||S.map(function(x){return x.slice(0,3)})).indexOf(y)+1;if(v<1)throw new Error;this.month=v%12||v}],MMMM:[s,function(y){var S=p("months").indexOf(y)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,d("year")],YY:[o,function(y){this.year=u(y)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function b(y){var S,v;S=y,v=c&&c.formats;for(var x=(y=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,$,P){var D=P&&P.toUpperCase();return $||v[P]||n[P]||v[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(A,O,N){return O||N.slice(1)})})).match(r),C=x.length,w=0;w-1)return new Date((M==="X"?1e3:1)*k);var j=b(M)(k),B=j.year,z=j.month,H=j.day,V=j.hours,te=j.minutes,Y=j.seconds,J=j.milliseconds,G=j.zone,U=j.week,q=new Date,X=H||(B||z?1:q.getDate()),Q=B||q.getFullYear(),ee=0;B&&!z||(ee=z>0?z-1:q.getMonth());var oe,le=V||0,fe=te||0,ce=Y||0,Te=J||0;return G?new Date(Date.UTC(Q,ee,X,le,fe,ce,Te+60*G.offset*1e3)):L?new Date(Date.UTC(Q,ee,X,le,fe,ce,Te)):(oe=new Date(Q,ee,X,le,fe,ce,Te),U&&(oe=F(oe).week(U).toDate()),oe)}catch{return new Date("")}}(E,R,I,v),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),P&&E!=this.format(R)&&(this.$d=new Date("")),c={}}else if(R instanceof Array)for(var A=R.length,O=1;O<=A;O+=1){T[1]=R[O-1];var N=v.apply(this,T);if(N.isValid()){this.$d=N.$d,this.$L=N.$L,this.init();break}O===A&&(this.$d=new Date(""))}else C.call(this,w)}}})})(tW);var Jpe=tW.exports;const ege=Ma(Jpe);Ha.extend(ege);Ha.extend(Qpe);Ha.extend(Vpe);Ha.extend(Gpe);Ha.extend(Kpe);Ha.extend(Xpe);Ha.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 tge={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"},jl=function(t){var n=tge[t];return n||t.split("_")[0]},O4=function(){R9(!1,"Not match any format. Please help to fire a issue about this.")},nge={getNow:function(){return Ha()},getFixedDate:function(t){return Ha(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 Ha().locale(jl(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(jl(t)).weekday(0)},getWeek:function(t,n){return n.locale(jl(t)).week()},getShortWeekDays:function(t){return Ha().locale(jl(t)).localeData().weekdaysMin()},getShortMonths:function(t){return Ha().locale(jl(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(jl(t)).format(r)},parse:function(t,n,r){for(var a=jl(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=re(r,2),o=a[0],i=a[1],s=function(d,f){i(function(p){return Sp(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 lW(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 age(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,h=e.cellYearFormat,b=e.cellQuarterFormat,y=e.dayFormat,S=e.cellDateFormat,v=lW(t,n,r,a,o);return Z(Z({},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:h||"YYYY",cellQuarterFormat:b||"[Q]Q",cellDateFormat:S||y||"D"})}function cW(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,o=t.showMillisecond,i=t.use12Hours;return se.useMemo(function(){return age(e,n,r,a,o,i)},[e,n,r,a,o,i])}function Mf(e,t,n){return n??t.some(function(r){return e.includes(r)})}var oge=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function ige(e){var t=G0(e,oge),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=ht(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function sge(e){return e&&typeof e=="string"}function uW(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function dW(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(h){return h===!1}),p=[o,i,s].some(function(h){return h===!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 fW(e){var t=e.showTime,n=ige(e),r=re(n,2),a=r[0],o=r[1],i=t&&ht(t)==="object"?t:{},s=Z(Z({defaultOpenValue:i.defaultOpenValue||i.defaultValue},a),i),c=s.showMillisecond,u=s.showHour,d=s.showMinute,f=s.showSecond,p=uW(u,d,f,c),g=dW(p,u,d,f,c),h=re(g,3);return u=h[0],d=h[1],f=h[2],[s,Z(Z({},s),{},{showHour:u,showMinute:d,showSecond:f,showMillisecond:c}),s.format,o]}function pW(e,t,n,r,a){var o=e==="time";if(e==="datetime"||o){for(var i=r,s=aW(e,a,null),c=s,u=[t,n],d=0;d1&&(i=t.addDate(i,-7)),i}function jr(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 hb(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 dge(e,t,n,r,a){var o=Wt(function(i,s){return!!(n&&n(i,s)||r&&e.isAfter(r,i)&&!va(e,t,r,i,s.type)||a&&e.isAfter(i,a)&&!va(e,t,a,i,s.type))});return o}function fge(e,t,n){return l.useMemo(function(){var r=aW(e,t,n),a=Lc(r),o=a[0],i=ht(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 pge(e,t,n){return typeof e[0]=="function"||n?!0:t}function gge(e,t,n,r){var a=Wt(function(o,i){var s=Z({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,h=d.disabledMilliseconds,b=r.disabledHours,y=r.disabledMinutes,S=r.disabledSeconds,v=f||b,x=p||y,C=g||S,w=e.getHour(o),E=e.getMinute(o),I=e.getSecond(o),T=e.getMillisecond(o);if(v&&v().includes(w)||x&&x(w).includes(E)||C&&C(w,E).includes(I)||h&&h(w,E,I).includes(T))return!0}return!1});return a}function dh(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 hW(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,h=e.components,b=h===void 0?{}:h,y=e.inputRender,S=e.allowClear,v=e.clearIcon,x=e.needConfirm,C=e.multiple,w=e.format,E=e.inputReadOnly,I=e.disabledDate,T=e.minDate,R=e.maxDate,_=e.showTime,$=e.value,P=e.defaultValue,D=e.pickerValue,A=e.defaultPickerValue,O=dh($),N=dh(P),k=dh(D),M=dh(A),L=o==="date"&&_?"datetime":o,F=L==="time"||L==="datetime",j=F||C,B=x??F,z=fW(e),H=re(z,4),V=H[0],te=H[1],Y=H[2],J=H[3],G=cW(r,te),U=l.useMemo(function(){return pW(L,Y,J,V,G)},[L,Y,J,V,G]),q=l.useMemo(function(){return Z(Z({},e),{},{prefixCls:s,locale:G,picker:o,styles:u,classNames:f,order:g,components:Z({input:y},b),clearIcon:lge(s,S,v),showTime:U,value:O,defaultValue:N,pickerValue:k,defaultPickerValue:M},t==null?void 0:t())},[e]),X=fge(L,G,w),Q=re(X,2),ee=Q[0],oe=Q[1],le=pge(ee,E,C),fe=dge(n,r,I,T,R),ce=gge(n,o,fe,U),Te=l.useMemo(function(){return Z(Z({},q),{},{needConfirm:B,inputReadOnly:le,disabledDate:fe})},[q,B,le,fe]);return[Te,L,j,ee,oe,ce]}function mge(e,t,n){var r=sn(t,{value:e}),a=re(r,2),o=a[0],i=a[1],s=se.useRef(e),c=se.useRef(),u=function(){Ut.cancel(c.current)},d=Wt(function(){i(s.current),n&&o!==s.current&&n(s.current)}),f=Wt(function(p,g){u(),s.current=p,p||g?d():c.current=Ut(d)});return se.useEffect(function(){return u},[]),[o,f]}function vW(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=mge(a,t||!1,r),i=re(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 bW(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 yW(e,t){return l.useMemo(function(){return e||(t?(vn(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=re(n,2),a=r[0],o=r[1];return{label:a,value:o}})):[])},[e,t])}function RO(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=l.useRef(t);r.current=t,cc(function(){if(e)r.current(e);else{var a=Ut(function(){r.current(e)},n);return function(){Ut.cancel(a)}}},[e])}function SW(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=re(r,2),o=a[0],i=a[1],s=l.useState(!1),c=re(s,2),u=c[0],d=c[1],f=l.useRef([]),p=l.useRef(null),g=function(S){d(S)},h=function(S){return S&&(p.current=S),p.current},b=function(S){var v=f.current,x=new Set(v.filter(function(w){return S[w]||t[w]})),C=v[v.length-1]===0?1:0;return x.size>=2||e[C]?null:C};return RO(u||n,function(){u||(f.current=[])}),l.useEffect(function(){u&&f.current.push(o)},[u,o]),[u,g,h,o,i,b,f.current]}function hge(e,t,n,r,a,o){var i=n[n.length-1],s=function(u,d){var f=re(e,2),p=f[0],g=f[1],h=Z(Z({},d),{},{from:oW(e,n)});return i===1&&t[0]&&p&&!va(r,a,p,u,h.type)&&r.isAfter(p,u)||i===0&&t[1]&&g&&!va(r,a,g,u,h.type)&&r.isAfter(u,g)?!0:o==null?void 0:o(u,h)};return s}function Yf(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 a1=[];function xW(e,t,n,r,a,o,i,s){var c=arguments.length>8&&arguments[8]!==void 0?arguments[8]:a1,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:a1,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:a1,f=arguments.length>11?arguments[11]:void 0,p=arguments.length>12?arguments[12]:void 0,g=arguments.length>13?arguments[13]:void 0,h=i==="time",b=o||0,y=function(k){var M=e.getNow();return h&&(M=hb(e,M)),c[k]||n[k]||M},S=re(u,2),v=S[0],x=S[1],C=sn(function(){return y(0)},{value:v}),w=re(C,2),E=w[0],I=w[1],T=sn(function(){return y(1)},{value:x}),R=re(T,2),_=R[0],$=R[1],P=l.useMemo(function(){var N=[E,_][b];return h?N:hb(e,N,d[b])},[h,E,_,b,e,d]),D=function(k){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",L=[I,$][b];L(k);var F=[E,_];F[b]=k,f&&(!va(e,t,E,F[0],i)||!va(e,t,_,F[1],i))&&f(F,{source:M,range:b===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&&!va(e,t,k,M,F))return Yf(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 Yf(e,i,M,-1)}}return M},O=l.useRef(null);return Xt(function(){if(a&&!c[b]){var N=h?null:e.getNow();if(O.current!==null&&O.current!==b?N=[E,_][b^1]:n[b]?N=b===0?n[0]:A(n[0],n[1]):n[b^1]&&(N=n[b^1]),N){p&&e.isAfter(p,N)&&(N=p);var k=s?Yf(e,i,N,1):N;g&&e.isAfter(k,g)&&(N=s?Yf(e,i,g,-1):g),D(N,"reset")}}},[a,b,n[b]]),l.useEffect(function(){a?O.current=b:O.current=null},[a,b]),Xt(function(){a&&c&&c[b]&&D(c[b],"reset")},[a,b]),[P,D]}function wW(e,t){var n=l.useRef(e),r=l.useState({}),a=re(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 vge=[];function CW(e,t,n){var r=function(i){return i.map(function(s){return jr(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:CO(c,o),value:c,disabled:u})}return i}function _O(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,h=r.disabledTime,b=r.disabledHours,y=r.disabledMinutes,S=r.disabledSeconds,v=l.useMemo(function(){return n||e.getNow()},[n,e]),x=l.useCallback(function(M){var L=(h==null?void 0:h(M))||{};return[L.disabledHours||b||fh,L.disabledMinutes||y||fh,L.disabledSeconds||S||fh,L.disabledMilliseconds||fh]},[h,b,y,S]),C=l.useMemo(function(){return x(v)},[v,x]),w=re(C,4),E=w[0],I=w[1],T=w[2],R=w[3],_=l.useCallback(function(M,L,F,j){var B=ph(0,23,i,g,M()),z=a?B.map(function(Y){return Z(Z({},Y),{},{label:CO(Y.value%12||12,2)})}):B,H=function(J){return ph(0,59,c,g,L(J))},V=function(J,G){return ph(0,59,d,g,F(J,G))},te=function(J,G,U){return ph(0,999,p,g,j(J,G,U),3)};return[z,H,V,te]},[g,i,a,p,c,d]),$=l.useMemo(function(){return _(E,I,T,R)},[_,E,I,T,R]),P=re($,4),D=P[0],A=P[1],O=P[2],N=P[3],k=function(L,F){var j=function(){return D},B=A,z=O,H=N;if(F){var V=x(F),te=re(V,4),Y=te[0],J=te[1],G=te[2],U=te[3],q=_(Y,J,G,U),X=re(q,4),Q=X[0],ee=X[1],oe=X[2],le=X[3];j=function(){return Q},B=ee,z=oe,H=le}var fe=yge(L,j,B,z,H,e);return fe};return[k,D,A,O,N]}function Sge(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(xi),g=p.prefixCls,h=p.locale,b=p.button,y=b===void 0?"button":b,S=d.getNow(),v=_O(d,o,S),x=re(v,1),C=x[0],w=r==null?void 0:r(t),E=f(S,{type:t}),I=function(){if(!E){var A=C(S);s(A)}},T="".concat(g,"-now"),R="".concat(T,"-btn"),_=a&&l.createElement("li",{className:T},l.createElement("a",{className:ne(R,E&&"".concat(R,"-disabled")),"aria-disabled":E,onClick:I},n==="date"?h.today:h.now)),$=u&&l.createElement("li",{className:"".concat(g,"-ok")},l.createElement(y,{disabled:c,onClick:i},h.ok)),P=(_||$)&&l.createElement("ul",{className:"".concat(g,"-ranges")},_,$);return!w&&!P?null:l.createElement("div",{className:"".concat(g,"-footer")},w&&l.createElement("div",{className:"".concat(g,"-footer-extra")},w),P)}function _W(e,t,n){function r(a,o){var i=a.findIndex(function(c){return va(e,t,c,o,n)});if(i===-1)return[].concat(De(a),[o]);var s=De(a);return s.splice(i,1),s}return r}var Fc=l.createContext(null);function K0(){return l.useContext(Fc)}function Zd(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,h=e.onSelect,b=e.prevIcon,y=e.nextIcon,S=e.superPrevIcon,v=e.superNextIcon,x=r.getNow(),C={now:x,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:h,panelType:t,prevIcon:b,nextIcon:y,superPrevIcon:S,superNextIcon:v};return[C,x]}var dl=l.createContext({});function im(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,h=K0(),b=h.prefixCls,y=h.panelType,S=h.now,v=h.disabledDate,x=h.cellRender,C=h.onHover,w=h.hoverValue,E=h.hoverRangeValue,I=h.generateConfig,T=h.values,R=h.locale,_=h.onSelect,$=g||v,P="".concat(b,"-cell"),D=l.useContext(dl),A=D.onCellDblClick,O=function(z){return T.some(function(H){return H&&va(I,R,z,H,y)})},N=[],k=0;k1&&arguments[1]!==void 0?arguments[1]:!1;ae(ke),y==null||y(ke),xe&&ie(ke)},ye=function(ke,xe){G(ke),xe&&ue(xe),ie(xe,ke)},Ee=function(ke){if(ce(ke),ue(ke),J!==C){var xe=["decade","year"],ge=[].concat(xe,["month"]),Pe={quarter:[].concat(xe,["quarter"]),week:[].concat(De(ge),["week"]),date:[].concat(De(ge),["date"])},Ve=Pe[C]||ge,Ae=Ve.indexOf(J),be=Ve[Ae+1];be&&ye(be,ke)}},Me=l.useMemo(function(){var he,ke;if(Array.isArray(I)){var xe=re(I,2);he=xe[0],ke=xe[1]}else he=I;return!he&&!ke?null:(he=he||ke,ke=ke||he,a.isAfter(he,ke)?[ke,he]:[he,ke])},[I,a]),Ie=EO(T,R,_),Ce=P[U]||Nge[U]||Y0,me=l.useContext(dl),we=l.useMemo(function(){return Z(Z({},me),{},{hideHeader:D})},[me,D]),_e="".concat(A,"-panel"),Ne=G0(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return l.createElement(dl.Provider,{value:we},l.createElement("div",{ref:O,tabIndex:c,className:ne(_e,W({},"".concat(_e,"-rtl"),o==="rtl"))},l.createElement(Ce,pe({},Ne,{showTime:H,prefixCls:A,locale:B,generateConfig:a,onModeChange:ye,pickerValue:ve,onPickerValueChange:function(ke){ue(ke,!0)},value:le[0],onSelect:Ee,values:le,cellRender:Ie,hoverRangeValue:Me,hoverValue:E}))))}var o1=l.memo(l.forwardRef(kge));function Age(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(xi),d=u.prefixCls,f=u.generateConfig,p=l.useCallback(function(v,x){return Yf(f,t,v,x)},[f,t]),g=l.useMemo(function(){return p(r,1)},[r,p]),h=function(x){a(p(x,-1))},b={onCellDblClick:function(){o&&i()}},y=t==="time",S=Z(Z({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:y});return s?S.hoverRangeValue=c:S.hoverValue=c,n?l.createElement("div",{className:"".concat(d,"-panels")},l.createElement(dl.Provider,{value:Z(Z({},b),{},{hideNext:!0})},l.createElement(o1,S)),l.createElement(dl.Provider,{value:Z(Z({},b),{},{hidePrev:!0})},l.createElement(o1,pe({},S,{pickerValue:g,onPickerValueChange:h})))):l.createElement(dl.Provider,{value:Z({},b)},l.createElement(o1,S))}function k4(e){return typeof e=="function"?e():e}function Mge(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(k4(c))},onMouseEnter:function(){a(k4(c))},onMouseLeave:function(){a(null)}},s)}))):null}function OW(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,h=e.onBlur,b=e.onPanelMouseDown,y=e.direction,S=e.value,v=e.onSelect,x=e.isInvalid,C=e.defaultOpenValue,w=e.onOk,E=e.onSubmit,I=l.useContext(xi),T=I.prefixCls,R="".concat(T,"-panel"),_=y==="rtl",$=l.useRef(null),P=l.useRef(null),D=l.useState(0),A=re(D,2),O=A[0],N=A[1],k=l.useState(0),M=re(k,2),L=M[0],F=M[1],j=function(fe){fe.offsetWidth&&N(fe.offsetWidth)};l.useEffect(function(){if(o){var le,fe=((le=$.current)===null||le===void 0?void 0:le.offsetWidth)||0,ce=O-fe;c<=ce?F(0):F(c+fe-O)}},[O,c,o]);function B(le){return le.filter(function(fe){return fe})}var z=l.useMemo(function(){return B(Lc(S))},[S]),H=r==="time"&&!z.length,V=l.useMemo(function(){return H?B([C]):z},[H,z,C]),te=H?C:z,Y=l.useMemo(function(){return V.length?V.some(function(le){return x(le)}):!0},[V,x]),J=function(){H&&v(C),w(),E()},G=l.createElement("div",{className:"".concat(T,"-panel-layout")},l.createElement(Mge,{prefixCls:T,presets:d,onClick:p,onHover:f}),l.createElement("div",null,l.createElement(Age,pe({},e,{value:te})),l.createElement(Sge,pe({},e,{showNow:i?!1:a,invalid:Y,onSubmit:J}))));t&&(G=t(G));var U="".concat(R,"-container"),q="marginLeft",X="marginRight",Q=l.createElement("div",{onMouseDown:b,tabIndex:-1,className:ne(U,"".concat(T,"-").concat(n,"-panel-container")),style:W(W({},_?X:q,L),_?q:X,"auto"),onFocus:g,onBlur:h},G);if(o){var ee=W0(u,_),oe=nW(ee,_);Q=l.createElement("div",{onMouseDown:b,ref:P,className:ne("".concat(T,"-range-wrapper"),"".concat(T,"-").concat(r,"-range-wrapper"))},l.createElement("div",{ref:$,className:"".concat(T,"-range-arrow"),style:W({},oe,c)}),l.createElement(sa,{onResize:j},Q))}return Q}function NW(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,h=e.onInvalid,b=e.open,y=e.onOpenChange,S=e.onKeyDown,v=e.onChange,x=e.activeHelp,C=e.name,w=e.autoComplete,E=e.id,I=e.value,T=e.invalid,R=e.placeholder,_=e.disabled,$=e.activeIndex,P=e.allHelp,D=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 jr(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=D==="time"?8:10,B=typeof O=="function"?O(a.getNow()).length:O.length;return Math.max(j,B)+2},[O,D,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?Ze:je));var qe=ft+Ke,We=je-Ze+1;return String(Ze+(We+qe-Ze)%We)};switch(ke){case"Backspace":case"Delete":xe="",ge=Ve;break;case"ArrowLeft":xe="",Ae(-1);break;case"ArrowRight":xe="",Ae(1);break;case"ArrowUp":xe="",ge=be(1);break;case"ArrowDown":xe="",ge=be(-1);break;default:isNaN(Number(ke))||(xe=j+ke,ge=xe);break}if(xe!==null&&(B(xe),xe.length>=Pe&&(Ae(1),B(""))),ge!==null){var Oe=q.slice(0,fe)+CO(ge,Pe)+q.slice(ce);Se(Oe.slice(0,i.length))}U({})},we=l.useRef();Xt(function(){if(!(!D||!i||ie.current)){if(!ee.match(q)){Se(i);return}return Q.current.setSelectionRange(fe,ce),we.current=Ut(function(){Q.current.setSelectionRange(fe,ce)}),function(){Ut.cancel(we.current)}}},[ee,i,D,q,V,fe,ce,G,Se]);var _e=i?{onFocus:Ee,onBlur:Ie,onKeyDown:me,onMouseDown:ue,onMouseUp:ye,onPaste:ae}:{};return l.createElement("div",{ref:X,className:ne(_,W(W({},"".concat(_,"-active"),n&&a),"".concat(_,"-placeholder"),u))},l.createElement(R,pe({ref:Q,"aria-invalid":b,autoComplete:"off"},S,{onKeyDown:Ce,onBlur:Me},_e,{value:q,onChange:ve})),l.createElement(X0,{type:"suffix",icon:o}),y)}),zge=["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"],Hge=["index"];function Uge(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,h=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var b=e.disabled,y=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var v=e.onActiveOffset,x=e.placement,C=e.onMouseDown;e.required,e["aria-required"];var w=e.autoFocus,E=xt(e,zge),I=S==="rtl",T=l.useContext(xi),R=T.prefixCls,_=l.useMemo(function(){if(typeof n=="string")return[n];var q=n||{};return[q.start,q.end]},[n]),$=l.useRef(),P=l.useRef(),D=l.useRef(),A=function(X){var Q;return(Q=[P,D][X])===null||Q===void 0?void 0:Q.current};l.useImperativeHandle(t,function(){return{nativeElement:$.current,focus:function(X){if(ht(X)==="object"){var Q,ee=X||{},oe=ee.index,le=oe===void 0?0:oe,fe=xt(ee,Hge);(Q=A(le))===null||Q===void 0||Q.focus(fe)}else{var ce;(ce=A(X??0))===null||ce===void 0||ce.focus()}},blur:function(){var X,Q;(X=A(0))===null||X===void 0||X.blur(),(Q=A(1))===null||Q===void 0||Q.blur()}}});var O=kW(E),N=l.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),k=NW(Z(Z({},e),{},{id:_,placeholder:N})),M=re(k,1),L=M[0],F=W0(x,I),j=nW(F,I),B=F==null?void 0:F.toLowerCase().endsWith("right"),z=l.useState({position:"absolute",width:0}),H=re(z,2),V=H[0],te=H[1],Y=Wt(function(){var q=A(s);if(q){var X=q.nativeElement,Q=X.offsetWidth,ee=X.offsetLeft,oe=X.offsetParent,le=(oe==null?void 0:oe.offsetWidth)||0,fe=B?le-Q-ee:ee;te(function(ce){return Z(Z({},ce),{},W({width:Q},j,fe))}),v(fe)}});l.useEffect(function(){Y()},[s]);var J=r&&(h[0]&&!b[0]||h[1]&&!b[1]),G=w&&!b[0],U=w&&!G&&!b[1];return l.createElement(sa,{onResize:Y},l.createElement("div",pe({},O,{className:ne(R,"".concat(R,"-range"),W(W(W(W({},"".concat(R,"-focused"),c),"".concat(R,"-disabled"),b.every(function(q){return q})),"".concat(R,"-invalid"),y.some(function(q){return q})),"".concat(R,"-rtl"),I),d),style:f,ref:$,onClick:p,onMouseDown:function(X){var Q=X.target;Q!==P.current.inputElement&&Q!==D.current.inputElement&&X.preventDefault(),C==null||C(X)}}),l.createElement(RR,pe({ref:P},L(0),{autoFocus:G,"date-range":"start"})),l.createElement("div",{className:"".concat(R,"-range-separator")},i),l.createElement(RR,pe({ref:D},L(1),{autoFocus:U,"date-range":"end"})),l.createElement("div",{className:"".concat(R,"-active-bar"),style:V}),l.createElement(X0,{type:"suffix",icon:a}),J&&l.createElement(TR,{icon:r,onClear:g})))}var Vge=l.forwardRef(Uge);function M4(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function mh(e){return e===1?"end":"start"}function Wge(e,t){var n=hW(e,function(){var Ht=e.disabled,Lt=e.allowEmpty,pt=M4(Ht,!1),Dt=M4(Lt,!1);return{disabled:pt,allowEmpty:Dt}}),r=re(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,h=a.defaultValue,b=a.value,y=a.needConfirm,S=a.onKeyDown,v=a.disabled,x=a.allowEmpty,C=a.disabledDate,w=a.minDate,E=a.maxDate,I=a.defaultOpen,T=a.open,R=a.onOpenChange,_=a.locale,$=a.generateConfig,P=a.picker,D=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,V=a.onFocus,te=a.onBlur,Y=a.presets,J=a.ranges,G=a.components,U=a.cellRender,q=a.dateRender,X=a.monthCellRender,Q=a.onClick,ee=bW(t),oe=vW(T,I,v,R),le=re(oe,2),fe=le[0],ce=le[1],Te=function(Lt,pt){(v.some(function(Dt){return!Dt})||!Lt)&&ce(Lt,pt)},Se=IW($,_,s,!0,!1,h,b,M,L),ve=re(Se,5),ae=ve[0],ie=ve[1],ue=ve[2],ye=ve[3],Ee=ve[4],Me=ue(),Ie=SW(v,x,fe),Ce=re(Ie,7),me=Ce[0],we=Ce[1],_e=Ce[2],Ne=Ce[3],he=Ce[4],ke=Ce[5],xe=Ce[6],ge=function(Lt,pt){we(!0),V==null||V(Lt,{range:mh(pt??Ne)})},Pe=function(Lt,pt){we(!1),te==null||te(Lt,{range:mh(pt??Ne)})},Ve=l.useMemo(function(){if(!O)return null;var Ht=O.disabledTime,Lt=Ht?function(pt){var Dt=mh(Ne),yn=oW(Me,xe,Ne);return Ht(pt,Dt,{from:yn})}:void 0;return Z(Z({},O),{},{disabledTime:Lt})},[O,Ne,Me,xe]),Ae=sn([P,P],{value:N}),be=re(Ae,2),Oe=be[0],Fe=be[1],Ke=Oe[Ne]||P,He=Ke==="date"&&Ve?"datetime":Ke,ze=He===P&&He!=="time",Ze=RW(P,Ke,D,A,!0),je=TW(a,ae,ie,ue,ye,v,s,me,fe,u),Je=re(je,2),mt=Je[0],ft=Je[1],qe=hge(Me,v,xe,$,_,C),We=sW(Me,u,x),Qe=re(We,2),ct=Qe[0],Rt=Qe[1],$t=xW($,_,Me,Oe,fe,Ne,o,ze,F,j,Ve==null?void 0:Ve.defaultOpenValue,B,w,E),vt=re($t,2),lt=vt[0],ot=vt[1],et=Wt(function(Ht,Lt,pt){var Dt=Sp(Oe,Ne,Lt);if((Dt[0]!==Oe[0]||Dt[1]!==Oe[1])&&Fe(Dt),k&&pt!==!1){var yn=De(Me);Ht&&(yn[Ne]=Ht),k(yn,Dt)}}),bt=function(Lt,pt){return Sp(Me,pt,Lt)},rt=function(Lt,pt){var Dt=Me;Lt&&(Dt=bt(Lt,Ne));var yn=ke(Dt);ye(Dt),mt(Ne,yn===null),yn===null?Te(!1,{force:!0}):pt||ee.current.focus({index:yn})},St=function(Lt){var pt,Dt=Lt.target.getRootNode();if(!ee.current.nativeElement.contains((pt=Dt.activeElement)!==null&&pt!==void 0?pt:document.activeElement)){var yn=v.findIndex(function(fr){return!fr});yn>=0&&ee.current.focus({index:yn})}Te(!0),Q==null||Q(Lt)},Et=function(){ft(null),Te(!1,{force:!0})},tt=l.useState(null),at=re(tt,2),Ye=at[0],Ge=at[1],yt=l.useState(null),Tt=re(yt,2),Pt=Tt[0],en=Tt[1],rn=l.useMemo(function(){return Pt||Me},[Me,Pt]);l.useEffect(function(){fe||en(null)},[fe]);var Vt=l.useState(0),tn=re(Vt,2),It=tn[0],_t=tn[1],kt=yW(Y,J),Tn=function(Lt){en(Lt),Ge("preset")},Qn=function(Lt){var pt=ft(Lt);pt&&Te(!1,{force:!0})},cr=function(Lt){rt(Lt)},Jn=function(Lt){en(Lt?bt(Lt,Ne):null),Ge("cell")},Hr=function(Lt){Te(!0),ge(Lt)},Mr=function(){_e("panel")},er=function(Lt){var pt=Sp(Me,Ne,Lt);ye(pt),!y&&!i&&o===He&&rt(Lt)},Kt=function(){Te(!1)},Ft=EO(U,q,X,mh(Ne)),Gt=Me[Ne]||null,jt=Wt(function(Ht){return u(Ht,{activeIndex:Ne})}),Bt=l.useMemo(function(){var Ht=Yn(a,!1),Lt=On(a,[].concat(De(Object.keys(Ht)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Lt},[a]),wt=l.createElement(OW,pe({},Bt,{showNow:Ze,showTime:Ve,range:!0,multiplePanel:ze,activeOffset:It,placement:g,disabledDate:qe,onFocus:Hr,onBlur:Pe,onPanelMouseDown:Mr,picker:P,mode:Ke,internalMode:He,onPanelChange:et,format:c,value:Gt,isInvalid:jt,onChange:null,onSelect:er,pickerValue:lt,defaultOpenValue:Lc(O==null?void 0:O.defaultOpenValue)[Ne],onPickerValueChange:ot,hoverValue:rn,onHover:Jn,needConfirm:y,onSubmit:rt,onOk:Ee,presets:kt,onPresetHover:Tn,onPresetSubmit:Qn,onNow:cr,cellRender:Ft})),Ct=function(Lt,pt){var Dt=bt(Lt,pt);ye(Dt)},cn=function(){_e("input")},Rn=function(Lt,pt){_e("input"),Te(!0,{inherit:!0}),Ne!==pt&&fe&&!y&&i&&rt(null,!0),he(pt),ge(Lt,pt)},ur=function(Lt,pt){if(Te(!1),!y&&_e()==="input"){var Dt=ke(Me);mt(Ne,Dt===null)}Pe(Lt,pt)},dr=function(Lt,pt){Lt.key==="Tab"&&rt(null,!0),S==null||S(Lt,pt)},yr=l.useMemo(function(){return{prefixCls:d,locale:_,generateConfig:$,button:G.button,input:G.input}},[d,_,$,G.button,G.input]);return Xt(function(){fe&&Ne!==void 0&&et(null,P,!1)},[fe,Ne,P]),Xt(function(){var Ht=_e();!fe&&Ht==="input"&&(Te(!1),rt(null,!0)),!fe&&i&&!y&&Ht==="panel"&&(Te(!0),rt())},[fe]),l.createElement(xi.Provider,{value:yr},l.createElement(rW,pe({},iW(a),{popupElement:wt,popupStyle:f.popup,popupClassName:p.popup,visible:fe,onClose:Kt,range:!0}),l.createElement(Vge,pe({},a,{ref:ee,suffixIcon:H,activeIndex:me||fe?Ne:null,activeHelp:!!Pt,allHelp:!!Pt&&Ye==="preset",focused:me,onFocus:Rn,onBlur:ur,onKeyDown:dr,onSubmit:rt,value:rn,maskFormat:c,onChange:Ct,onInputChange:cn,format:s,inputReadOnly:z,disabled:v,open:fe,onOpenChange:Te,onClick:St,onClear:Et,invalid:ct,onInvalid:Rt,onActiveOffset:_t}))))}var Gge=l.forwardRef(Wge);function qge(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(y,S){return l.createElement("span",{className:ne("".concat(f,"-item")),title:typeof y=="string"?y:null},l.createElement("span",{className:"".concat(f,"-item-content")},y),!s&&S&&l.createElement("span",{onMouseDown:function(x){x.preventDefault()},onClick:S,className:"".concat(f,"-item-remove")},o))}function h(y){var S=i(y),v=function(C){C&&C.stopPropagation(),r(y)};return g(S,v)}function b(y){var S="+ ".concat(y.length," ...");return g(S)}return l.createElement("div",{className:d},l.createElement(di,{prefixCls:p,data:n,renderItem:h,renderRest:b,itemKey:function(S){return i(S)},maxCount:c}),!n.length&&l.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var Kge=["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 Yge(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,h=e.value,b=e.onChange,y=e.onSubmit;e.onInputChange;var S=e.multiple,v=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var x=e.disabled,C=e.invalid;e.inputReadOnly;var w=e.direction;e.onOpenChange;var E=e.onMouseDown;e.required,e["aria-required"];var I=e.autoFocus,T=e.removeIcon,R=xt(e,Kge),_=w==="rtl",$=l.useContext(xi),P=$.prefixCls,D=l.useRef(),A=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:D.current,focus:function(V){var te;(te=A.current)===null||te===void 0||te.focus(V)},blur:function(){var V;(V=A.current)===null||V===void 0||V.blur()}}});var O=kW(R),N=function(V){b([V])},k=function(V){var te=h.filter(function(Y){return Y&&!va(s,i,Y,V,g)});b(te),n||y()},M=NW(Z(Z({},e),{},{onChange:N}),function(H){var V=H.valueTexts;return{value:V[0]||"",active:o}}),L=re(M,2),F=L[0],j=L[1],B=!!(r&&h.length&&!x),z=S?l.createElement(l.Fragment,null,l.createElement(qge,{prefixCls:P,value:h,onRemove:k,formatDate:j,maxTagCount:v,disabled:x,removeIcon:T,placeholder:c}),l.createElement("input",{className:"".concat(P,"-multiple-input"),value:h.map(j).join(","),ref:A,readOnly:!0,autoFocus:I}),l.createElement(X0,{type:"suffix",icon:a}),B&&l.createElement(TR,{icon:r,onClear:p})):l.createElement(RR,pe({ref:A},F(),{autoFocus:I,suffixIcon:a,clearIcon:B&&l.createElement(TR,{icon:r,onClear:p}),showActiveCls:!1}));return l.createElement("div",pe({},O,{className:ne(P,W(W(W(W(W({},"".concat(P,"-multiple"),S),"".concat(P,"-focused"),o),"".concat(P,"-disabled"),x),"".concat(P,"-invalid"),C),"".concat(P,"-rtl"),_),u),style:d,ref:D,onClick:f,onMouseDown:function(V){var te,Y=V.target;Y!==((te=A.current)===null||te===void 0?void 0:te.inputElement)&&V.preventDefault(),E==null||E(V)}}),z)}var Xge=l.forwardRef(Yge);function Zge(e,t){var n=hW(e),r=re(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,h=d.order,b=d.defaultValue,y=d.value,S=d.needConfirm,v=d.onChange,x=d.onKeyDown,C=d.disabled,w=d.disabledDate,E=d.minDate,I=d.maxDate,T=d.defaultOpen,R=d.open,_=d.onOpenChange,$=d.locale,P=d.generateConfig,D=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,V=d.inputReadOnly,te=d.suffixIcon,Y=d.removeIcon,J=d.onFocus,G=d.onBlur,U=d.presets,q=d.components,X=d.cellRender,Q=d.dateRender,ee=d.monthCellRender,oe=d.onClick,le=bW(t);function fe(wt){return wt===null?null:j?wt:wt[0]}var ce=_W(P,$,o),Te=vW(R,T,[C],_),Se=re(Te,2),ve=Se[0],ae=Se[1],ie=function(Ct,cn,Rn){if(L){var ur=Z({},Rn);delete ur.range,L(fe(Ct),fe(cn),ur)}},ue=function(Ct){F==null||F(fe(Ct))},ye=IW(P,$,s,!1,h,b,y,ie,ue),Ee=re(ye,5),Me=Ee[0],Ie=Ee[1],Ce=Ee[2],me=Ee[3],we=Ee[4],_e=Ce(),Ne=SW([C]),he=re(Ne,4),ke=he[0],xe=he[1],ge=he[2],Pe=he[3],Ve=function(Ct){xe(!0),J==null||J(Ct,{})},Ae=function(Ct){xe(!1),G==null||G(Ct,{})},be=sn(D,{value:k}),Oe=re(be,2),Fe=Oe[0],Ke=Oe[1],He=Fe==="date"&&N?"datetime":Fe,ze=RW(D,Fe,A,O),Ze=v&&function(wt,Ct){v(fe(wt),fe(Ct))},je=TW(Z(Z({},a),{},{onChange:Ze}),Me,Ie,Ce,me,[],s,ke,ve,u),Je=re(je,2),mt=Je[1],ft=sW(_e,u),qe=re(ft,2),We=qe[0],Qe=qe[1],ct=l.useMemo(function(){return We.some(function(wt){return wt})},[We]),Rt=function(Ct,cn){if(H){var Rn=Z(Z({},cn),{},{mode:cn.mode[0]});delete Rn.range,H(Ct[0],Rn)}},$t=xW(P,$,_e,[Fe],ve,Pe,o,!1,B,z,Lc(N==null?void 0:N.defaultOpenValue),Rt,E,I),vt=re($t,2),lt=vt[0],ot=vt[1],et=Wt(function(wt,Ct,cn){if(Ke(Ct),M&&cn!==!1){var Rn=wt||_e[_e.length-1];M(Rn,Ct)}}),bt=function(){mt(Ce()),ae(!1,{force:!0})},rt=function(Ct){!C&&!le.current.nativeElement.contains(document.activeElement)&&le.current.focus(),ae(!0),oe==null||oe(Ct)},St=function(){mt(null),ae(!1,{force:!0})},Et=l.useState(null),tt=re(Et,2),at=tt[0],Ye=tt[1],Ge=l.useState(null),yt=re(Ge,2),Tt=yt[0],Pt=yt[1],en=l.useMemo(function(){var wt=[Tt].concat(De(_e)).filter(function(Ct){return Ct});return j?wt:wt.slice(0,1)},[_e,Tt,j]),rn=l.useMemo(function(){return!j&&Tt?[Tt]:_e.filter(function(wt){return wt})},[_e,Tt,j]);l.useEffect(function(){ve||Pt(null)},[ve]);var Vt=yW(U),tn=function(Ct){Pt(Ct),Ye("preset")},It=function(Ct){var cn=j?ce(Ce(),Ct):[Ct],Rn=mt(cn);Rn&&!j&&ae(!1,{force:!0})},_t=function(Ct){It(Ct)},kt=function(Ct){Pt(Ct),Ye("cell")},Tn=function(Ct){ae(!0),Ve(Ct)},Qn=function(Ct){ge("panel");var cn=j?ce(Ce(),Ct):[Ct];me(cn),!S&&!i&&o===He&&bt()},cr=function(){ae(!1)},Jn=EO(X,Q,ee),Hr=l.useMemo(function(){var wt=Yn(a,!1),Ct=On(a,[].concat(De(Object.keys(wt)),["onChange","onCalendarChange","style","className","onPanelChange"]));return Z(Z({},Ct),{},{multiple:a.multiple})},[a]),Mr=l.createElement(OW,pe({},Hr,{showNow:ze,showTime:N,disabledDate:w,onFocus:Tn,onBlur:Ae,picker:D,mode:Fe,internalMode:He,onPanelChange:et,format:c,value:_e,isInvalid:u,onChange:null,onSelect:Qn,pickerValue:lt,defaultOpenValue:N==null?void 0:N.defaultOpenValue,onPickerValueChange:ot,hoverValue:en,onHover:kt,needConfirm:S,onSubmit:bt,onOk:we,presets:Vt,onPresetHover:tn,onPresetSubmit:It,onNow:_t,cellRender:Jn})),er=function(Ct){me(Ct)},Kt=function(){ge("input")},Ft=function(Ct){ge("input"),ae(!0,{inherit:!0}),Ve(Ct)},Gt=function(Ct){ae(!1),Ae(Ct)},jt=function(Ct,cn){Ct.key==="Tab"&&bt(),x==null||x(Ct,cn)},Bt=l.useMemo(function(){return{prefixCls:f,locale:$,generateConfig:P,button:q.button,input:q.input}},[f,$,P,q.button,q.input]);return Xt(function(){ve&&Pe!==void 0&&et(null,D,!1)},[ve,Pe,D]),Xt(function(){var wt=ge();!ve&&wt==="input"&&(ae(!1),bt()),!ve&&i&&!S&&wt==="panel"&&(ae(!0),bt())},[ve]),l.createElement(xi.Provider,{value:Bt},l.createElement(rW,pe({},iW(a),{popupElement:Mr,popupStyle:p.popup,popupClassName:g.popup,visible:ve,onClose:cr}),l.createElement(Xge,pe({},a,{ref:le,suffixIcon:te,removeIcon:Y,activeHelp:!!Tt,allHelp:!!Tt&&at==="preset",focused:ke,onFocus:Ft,onBlur:Gt,onKeyDown:jt,onSubmit:bt,value:rn,maskFormat:c,onChange:er,onInputChange:Kt,internalPicker:o,format:s,inputReadOnly:V,disabled:C,open:ve,onOpenChange:ae,onClick:rt,onClear:St,invalid:ct,onInvalid:function(Ct){Qe(Ct,0)}}))))}var Qge=l.forwardRef(Zge);const AW=l.createContext(null),Jge=AW.Provider,MW=l.createContext(null),eme=MW.Provider;var tme=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],PW=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,h=xt(e,tme),b=l.useRef(null),y=l.useRef(null),S=sn(u,{value:i}),v=re(S,2),x=v[0],C=v[1];l.useImperativeHandle(t,function(){return{focus:function(T){var R;(R=b.current)===null||R===void 0||R.focus(T)},blur:function(){var T;(T=b.current)===null||T===void 0||T.blur()},input:b.current,nativeElement:y.current}});var w=ne(r,a,W(W({},"".concat(r,"-checked"),x),"".concat(r,"-disabled"),s)),E=function(T){s||("checked"in e||C(T.target.checked),g==null||g({target:Z(Z({},e),{},{type:f,checked:T.target.checked}),stopPropagation:function(){T.stopPropagation()},preventDefault:function(){T.preventDefault()},nativeEvent:T.nativeEvent}))};return l.createElement("span",{className:w,title:p,style:o,ref:y},l.createElement("input",pe({},h,{className:"".concat(r,"-input"),ref:b,onChange:E,disabled:s,checked:!!x,type:f})),l.createElement("span",{className:"".concat(r,"-inner")}))});const nme=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},nn(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"}})}},rme=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:h,lineType:b,radioColor:y,radioBgColor:S,calc:v}=e,x=`${t}-inner`,w=v(a).sub(v(4).mul(2)),E=v(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},nn(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:`${K(d)} ${b} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},nn(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, + &:hover ${x}`]:{borderColor:r},[`${t}-input:focus-visible + ${x}`]:Object.assign({},ws(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:y,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`]:{[x]:{borderColor:r,backgroundColor:S,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[x]:{backgroundColor:f,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:h}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:p,cursor:"not-allowed"},[`&${t}-checked`]:{[x]:{"&::after":{transform:`scale(${v(w).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:g,paddingInlineEnd:g}})}},ame=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:h,paddingXS:b,borderRadius:y,borderRadiusSM:S,borderRadiusLG:v,buttonCheckedBg:x,buttonSolidCheckedColor:C,colorTextDisabled:w,colorBgContainerDisabled:E,buttonCheckedBgDisabled:I,buttonCheckedColorDisabled:T,colorPrimary:R,colorPrimaryHover:_,colorPrimaryActive:$,buttonSolidCheckedBg:P,buttonSolidCheckedHoverBg:D,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:K(O(n).sub(O(a).mul(2)).equal()),background:f,border:`${K(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:`${K(a)} ${o} ${i}`,borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y},"&:first-child:last-child":{borderRadius:y},[`${r}-group-large &`]:{height:g,fontSize:p,lineHeight:K(O(g).sub(O(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v}},[`${r}-group-small &`]:{height:h,paddingInline:O(b).sub(a).equal(),paddingBlock:0,lineHeight:K(O(h).sub(O(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child":{borderStartEndRadius:S,borderEndEndRadius:S}},"&:hover":{position:"relative",color:R},"&:has(:focus-visible)":Object.assign({},ws(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:R,background:x,borderColor:R,"&::before":{backgroundColor:R},"&:first-child":{borderColor:R},"&:hover":{color:_,borderColor:_,"&::before":{backgroundColor:_}},"&:active":{color:$,borderColor:$,"&::before":{backgroundColor:$}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:C,background:P,borderColor:P,"&:hover":{color:C,background:D,borderColor:D},"&:active":{color:C,background:A,borderColor:A}},"&-disabled":{color:w,backgroundColor:E,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:w,backgroundColor:E,borderColor:i}},[`&-disabled${r}-button-wrapper-checked`]:{color:T,backgroundColor:I,borderColor:i,boxShadow:"none"}}}},ome=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:h}=e,b=4,y=o,S=t?y-b*2:y-(b+a)*2;return{radioSize:y,dotSize:S,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:h,radioBgColor:t?s:f}},DW=on("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${K(n)} ${t}`,o=zt(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[nme(o),rme(o),ame(o)]},ome,{unitless:{radioSize:!0,dotSize:!0}});var ime=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(AW),o=l.useContext(MW),{getPrefixCls:i,direction:s,radio:c}=l.useContext(st),u=l.useRef(null),d=ea(t,u),{isFormItemInput:f}=l.useContext(zr),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:h,rootClassName:b,children:y,style:S,title:v}=e,x=ime(e,["prefixCls","className","rootClassName","children","style","title"]),C=i("radio",g),w=((a==null?void 0:a.optionType)||o)==="button",E=w?`${C}-button`:C,I=Un(C),[T,R,_]=DW(C,I),$=Object.assign({},x),P=l.useContext(Zr);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:P;const D=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,h,b,R,_,I);return T(l.createElement(Gg,{component:"Radio",disabled:$.disabled},l.createElement("label",{className:D,style:Object.assign(Object.assign({},c==null?void 0:c.style),S),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:v},l.createElement(PW,Object.assign({},$,{className:ne($.className,{[C0]:!w}),type:"radio",prefixCls:E,ref:d})),y!==void 0?l.createElement("span",null,y):null)))},vb=l.forwardRef(sme),lme=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=l.useContext(st),{prefixCls:a,className:o,rootClassName:i,options:s,buttonStyle:c="outline",disabled:u,children:d,size:f,style:p,id:g,optionType:h,name:b,defaultValue:y,value:S,onChange:v,onMouseEnter:x,onMouseLeave:C,onFocus:w,onBlur:E}=e,[I,T]=sn(y,{value:S}),R=l.useCallback(F=>{const j=I,B=F.target.value;"value"in e||T(B),B!==j&&(v==null||v(F))},[I,T,v]),_=n("radio",a),$=`${_}-group`,P=Un(_),[D,A,O]=DW(_,P);let N=d;s&&s.length>0&&(N=s.map(F=>typeof F=="string"||typeof F=="number"?l.createElement(vb,{key:F.toString(),prefixCls:_,disabled:u,value:F,checked:I===F},F):l.createElement(vb,{key:`radio-group-value-options-${F.value}`,prefixCls:_,disabled:F.disabled||u,value:F.value,checked:I===F.value,title:F.title,style:F.style,id:F.id,required:F.required},F.label)));const k=Er(f),M=ne($,`${$}-${c}`,{[`${$}-${k}`]:k,[`${$}-rtl`]:r==="rtl"},o,i,A,O,P),L=l.useMemo(()=>({onChange:R,value:I,disabled:u,name:b,optionType:h}),[R,I,u,b,h]);return D(l.createElement("div",Object.assign({},Yn(e,{aria:!0,data:!0}),{className:M,style:p,onMouseEnter:x,onMouseLeave:C,onFocus:w,onBlur:E,id:g,ref:t}),l.createElement(Jge,{value:L},N)))}),cme=l.memo(lme);var ume=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(st),{prefixCls:r}=e,a=ume(e,["prefixCls"]),o=n("radio",r);return l.createElement(eme,{value:"button"},l.createElement(vb,Object.assign({prefixCls:o},a,{type:"radio",ref:t})))},fme=l.forwardRef(dme),mo=vb;mo.Button=fme;mo.Group=cme;mo.__ANT_RADIO=!0;function sm(e){return zt(e,{inputAffixPadding:e.paddingXXS})}const lm=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:h,controlOutlineWidth:b,controlOutline:y,colorErrorOutline:S,colorWarningOutline:v,colorBgContainer:x}=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:h,hoverBorderColor:g,activeShadow:`0 0 0 ${b}px ${y}`,errorActiveShadow:`0 0 0 ${b}px ${S}`,warningActiveShadow:`0 0 0 ${b}px ${v}`,hoverBg:x,activeBg:x,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},pme=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),Z0=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({},pme(zt(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),$O=(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}}),P4=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},$O(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),OO=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},$O(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Z0(e))}),P4(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),P4(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),D4=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),LW=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},D4(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),D4(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},Z0(e))}})}),NO=(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)}},FW=(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}}),L4=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},FW(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),kO=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},FW(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},Z0(e))}),L4(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),L4(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),F4=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),jW=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:`${K(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${K(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},F4(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),F4(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:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),AO=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),BW=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:a}=e;return{padding:`${K(t)} ${K(a)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},MO=e=>({padding:`${K(e.paddingBlockSM)} ${K(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),cm=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${K(e.paddingBlock)} ${K(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},AO(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({},BW(e)),"&-sm":Object.assign({},MO(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),zW=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({},BW(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},MO(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 ${K(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${K(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${K(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:`${K(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${K(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"},mi()),{[`${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 + `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, + & > ${n}-select-auto-complete ${t}, + & > ${n}-cascader-picker ${t}, + & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, + & > ${n}-select:first-child > ${n}-select-selector, + & > ${n}-select-auto-complete:first-child ${t}, + & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, + & > ${n}-select:last-child > ${n}-select-selector, + & > ${n}-cascader-picker:last-child ${t}, + & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},gme=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:a}=e,i=a(n).sub(a(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nn(e)),cm(e)),OO(e)),kO(e)),NO(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:i,paddingBottom:i}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},mme=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${K(e.inputAffixPadding)}`}}}},hme=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:a,colorIcon:o,colorIconHover:i,iconCls:s}=e,c=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[c]:Object.assign(Object.assign(Object.assign(Object.assign({},cm(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),mme(e)),{[`${s}${t}-password-icon`]:{color:o,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:i}}}),[u]:{[`${s}${t}-password-icon`]:{color:o,cursor:"not-allowed","&:hover":{color:o}}}}},vme=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},nn(e)),zW(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},LW(e)),jW(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}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},bme=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, + > ${t}, + ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},yme=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}}}}}},Sme=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},PO=on("Input",e=>{const t=zt(e,sm(e));return[gme(t),yme(t),hme(t),vme(t),bme(t),Sme(t),qg(t)]},lm,{resetFont:!1}),s1=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",o=fV(e);return[{[`${n}-multiple${a}`]:{paddingBlock:o.containerPadding,paddingInlineStart:o.basePadding,minHeight:r,[`${n}-selection-item`]:{height:o.itemHeight,lineHeight:K(o.itemLineHeight)}}}]},xme=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=zt(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),o=zt(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[s1(a,"small"),s1(e),s1(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"}}},pV(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},wme=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:h}=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:K(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:`${K(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:h}},[`&-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}}},Cme=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:h,colorTextHeading:b,colorSplit:y,pickerControlIconBorderWidth:S,colorIcon:v,textHeight:x,motionDurationMid:C,colorIconHover:w,fontWeightStrong:E,cellHeight:I,pickerCellPaddingVertical:T,colorTextDisabled:R,colorText:_,fontSize:$,motionDurationSlow:P,withoutTimeCellHeight:D,pickerQuarterPanelContentHeight:A,borderRadiusSM:O,colorTextLightSolid:N,cellHoverBg:k,timeColumnHeight:M,timeColumnWidth:L,timeCellHeight:F,controlItemBgActive:j,marginXXS:B,pickerDatePanelPaddingHorizontal:z,pickerControlIconMargin:H}=e,V=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:h},"&-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:V},"&-header":{display:"flex",padding:`0 ${K(c)}`,color:b,borderBottom:`${K(f)} ${p} ${y}`,"> *":{flex:"none"},button:{padding:0,color:v,lineHeight:K(x),background:"transparent",border:0,cursor:"pointer",transition:`color ${C}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:$,"&:hover":{color:w},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:E,lineHeight:K(x),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:c},"&:hover":{color:h}}}},"&-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:`${K(S)} 0`,borderInlineWidth:`${K(S)} 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:`${K(S)} 0`,borderInlineWidth:`${K(S)} 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(T).mul(2)).equal(),color:_,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${K(T)} 0`,color:R,cursor:"pointer","&-in-view":{color:_}},wme(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(D).mul(4).equal()},[r]:{padding:`0 ${K(c)}`}},"&-quarter-panel":{[`${t}-content`]:{height:A}},"&-decade-panel":{[r]:{padding:`0 ${K(e.calc(c).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${K(c)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${K(c)} ${K(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 ${C}`},"&: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:h},[`&${t}-cell-week`]:{color:new an(N).setAlpha(.5).toHexString()},[r]:{color:N}}},"&-range-hover td:before":{background:j}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${K(c)} ${K(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${K(f)} ${p} ${y}`},[`${t}-date-panel, + ${t}-time-panel`]:{transition:`opacity ${P}`},"&-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:`${K(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${C}`,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:`${K(f)} ${p} ${y}`},"&-active":{background:new an(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:K(F),borderRadius:O,cursor:"pointer",transition:`background ${C}`,"&:hover":{background:k}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:j}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:R,background:"transparent",cursor:"not-allowed"}}}}}}}}},Eme=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:`${K(r)} ${u} ${d}`,"&-extra":{padding:`0 ${K(a)}`,lineHeight:K(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${K(r)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:K(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:K(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"}}}}},Ime=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()}},Tme=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 an(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new an(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"}},Rme=e=>Object.assign(Object.assign(Object.assign(Object.assign({},lm(e)),Tme(e)),F0(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),_me=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},OO(e)),kO(e)),NO(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${K(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${K(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${K(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},l1=(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:`${K(o)} ${K(r)} ${K(i)}`}},$me=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}}}}},Ome=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:h,paddingInlineSM:b,paddingXS:y,marginXS:S,colorTextDescription:v,lineWidthBold:x,colorPrimary:C,motionDurationSlow:w,zIndexPopup:E,paddingXXS:I,sizePopupArrow:T,colorBgElevated:R,borderRadiusLG:_,boxShadowSecondary:$,borderRadiusSM:P,colorSplit:D,cellHoverBg:A,presetsWidth:O,presetsMaxWidth:N,boxShadowPopoverArrow:k,fontHeight:M,fontHeightLG:L,lineHeightLG:F}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},nn(e)),l1(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}`},AO(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({},l1(e,p,L,a)),{[`${t}-input > input`]:{fontSize:g,lineHeight:F}}),"&-small":Object.assign({},l1(e,h,M,b)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(y).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:S}}},[`${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:x,background:C,opacity:0,transition:`all ${w} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${K(y)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:b}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},nn(e)),Cme(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, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:O0},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, + &${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:_0},[`&${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:N0},[`&${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:$0},[`${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 ${w} ease-out`},SV(e,R,k)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:R,borderRadius:_,boxShadow:$,transition:`margin ${w}`,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:y,borderInlineEnd:`${K(o)} ${i} ${D}`,li:Object.assign(Object.assign({},xo),{borderRadius:P,paddingInline:y,paddingBlock:e.calc(h).sub(M).div(2).equal(),cursor:"pointer",transition:`all ${w}`,"+ li":{marginTop:S},"&: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:`${K(e.calc(T).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},Vi(e,"slide-up"),Vi(e,"slide-down"),wd(e,"move-up"),wd(e,"move-down")]},HW=on("DatePicker",e=>{const t=zt(sm(e),Ime(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Eme(t),Ome(t),_me(t),$me(t),xme(t),qg(e,{focusElCls:`${e.componentCls}-focused`})]},Rme);var Nme={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"},kme=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Nme}))},UW=l.forwardRef(kme);const Q0=l.createContext(null);var Ame=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=re(d,2),p=f[0],g=f[1],h=l.useRef(),b=se.useCallback(function(S){return typeof s=="function"?s(S):typeof s=="number"?s:S},[s]);function y(){Ut.cancel(h.current)}return l.useEffect(function(){var S={};if(n)if(r){S.width=b(n.width);var v=a?"right":"left";u==="start"&&(S[v]=n[v]),u==="center"&&(S[v]=n[v]+n.width/2,S.transform=a?"translateX(50%)":"translateX(-50%)"),u==="end"&&(S[v]=n[v]+n.width,S.transform="translateX(-100%)")}else S.height=b(n.height),u==="start"&&(S.top=n.top),u==="center"&&(S.top=n.top+n.height/2,S.transform="translateY(-50%)"),u==="end"&&(S.top=n.top+n.height,S.transform="translateY(-100%)");return y(),h.current=Ut(function(){g(S)}),y},[n,r,a,u,b]),{style:p}},j4={width:0,height:0,left:0,top:0};function Mme(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)||j4,i=o.left+o.width,s=0;sA?(P=_,E.current="x"):(P=$,E.current="y"),t(-P,-P)&&R.preventDefault()}var T=l.useRef(null);T.current={onTouchStart:x,onTouchMove:C,onTouchEnd:w,onWheel:I},l.useEffect(function(){function R(D){T.current.onTouchStart(D)}function _(D){T.current.onTouchMove(D)}function $(D){T.current.onTouchEnd(D)}function P(D){T.current.onWheel(D)}return document.addEventListener("touchmove",_,{passive:!1}),document.addEventListener("touchend",$,{passive:!0}),e.current.addEventListener("touchstart",R,{passive:!0}),e.current.addEventListener("wheel",P,{passive:!1}),function(){document.removeEventListener("touchmove",_),document.removeEventListener("touchend",$)}},[])}function VW(e){var t=l.useState(0),n=re(t,2),r=n[0],a=n[1],o=l.useRef(0),i=l.useRef();return i.current=e,cc(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 Lme(e){var t=l.useRef([]),n=l.useState({}),r=re(n,2),a=r[1],o=l.useRef(typeof e=="function"?e():e),i=VW(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 U4={width:0,height:0,left:0,top:0,right:0};function Fme(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,h=g,b=0;bp+t){h=b-1;break}}for(var S=0,v=g-1;v>=0;v-=1){var x=e.get(s[v].key)||U4;if(x[f]=h?[0,0]:[S,h]},[e,t,r,a,o,p,c,s.map(function(g){return g.key}).join("_"),u])}function V4(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var jme="TABS_DQ";function WW(e){return String(e).replace(/"/g,jme)}function GW(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var qW=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||"+")}),W4=l.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var o,i={};return ht(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}),Bme=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,h=e.removeAriaLabel,b=e.onTabClick,y=e.getPopupContainer,S=e.popupClassName,v=l.useState(!1),x=re(v,2),C=x[0],w=x[1],E=l.useState(null),I=re(E,2),T=I[0],R=I[1],_=c.icon,$=_===void 0?"More":_,P="".concat(r,"-more-popup"),D="".concat(n,"-dropdown"),A=T!==null?"".concat(P,"-").concat(T):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(Yd,{onClick:function(H){var V=H.key,te=H.domEvent;b(V,te),w(!1)},prefixCls:"".concat(D,"-menu"),id:P,tabIndex:-1,role:"listbox","aria-activedescendant":A,selectedKeys:[T],"aria-label":O!==void 0?O:"expanded dropdown"},a.map(function(z){var H=z.closable,V=z.disabled,te=z.closeIcon,Y=z.key,J=z.label,G=GW(H,te,f,V);return l.createElement(am,{key:Y,id:"".concat(P,"-").concat(Y),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(Y),disabled:V},l.createElement("span",null,J),G&&l.createElement("button",{type:"button","aria-label":h||"remove",tabIndex:0,className:"".concat(D,"-menu-item-remove"),onClick:function(q){q.stopPropagation(),N(q,Y)}},te||f.removeIcon||"×"))}));function M(z){for(var H=a.filter(function(G){return!G.disabled}),V=H.findIndex(function(G){return G.key===T})||0,te=H.length,Y=0;Yot?"left":"right"})}),D=re(P,2),A=D[0],O=D[1],N=B4(0,function(lt,ot){!$&&b&&b({direction:lt>ot?"top":"bottom"})}),k=re(N,2),M=k[0],L=k[1],F=l.useState([0,0]),j=re(F,2),B=j[0],z=j[1],H=l.useState([0,0]),V=re(H,2),te=V[0],Y=V[1],J=l.useState([0,0]),G=re(J,2),U=G[0],q=G[1],X=l.useState([0,0]),Q=re(X,2),ee=Q[0],oe=Q[1],le=Lme(new Map),fe=re(le,2),ce=fe[0],Te=fe[1],Se=Mme(x,ce,te[0]),ve=hh(B,$),ae=hh(te,$),ie=hh(U,$),ue=hh(ee,$),ye=veCe?Ce:lt}var we=l.useRef(null),_e=l.useState(),Ne=re(_e,2),he=Ne[0],ke=Ne[1];function xe(){ke(Date.now())}function ge(){we.current&&clearTimeout(we.current)}Dme(I,function(lt,ot){function et(bt,rt){bt(function(St){var Et=me(St+rt);return Et})}return ye?($?et(O,lt):et(L,ot),ge(),xe(),!0):!1}),l.useEffect(function(){return ge(),he&&(we.current=setTimeout(function(){ke(0)},100)),ge},[he]);var Pe=Fme(Se,Ee,$?A:M,ae,ie,ue,Z(Z({},e),{},{tabs:x})),Ve=re(Pe,2),Ae=Ve[0],be=Ve[1],Oe=Wt(function(){var lt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:i,ot=Se.get(lt)||{width:0,height:0,left:0,right:0,top:0};if($){var et=A;s?ot.rightA+Ee&&(et=ot.right+ot.width-Ee):ot.left<-A?et=-ot.left:ot.left+ot.width>-A+Ee&&(et=-(ot.left+ot.width-Ee)),L(0),O(me(et))}else{var bt=M;ot.top<-M?bt=-ot.top:ot.top+ot.height>-M+Ee&&(bt=-(ot.top+ot.height-Ee)),O(0),L(me(bt))}}),Fe={};f==="top"||f==="bottom"?Fe[s?"marginRight":"marginLeft"]=p:Fe.marginTop=p;var Ke=x.map(function(lt,ot){var et=lt.key;return l.createElement(Hme,{id:a,prefixCls:v,key:et,tab:lt,style:ot===0?void 0:Fe,closable:lt.closable,editable:u,active:et===i,renderWrapper:g,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(rt){h(et,rt)},onFocus:function(){Oe(et),xe(),I.current&&(s||(I.current.scrollLeft=0),I.current.scrollTop=0)}})}),He=function(){return Te(function(){var ot,et=new Map,bt=(ot=T.current)===null||ot===void 0?void 0:ot.getBoundingClientRect();return x.forEach(function(rt){var St,Et=rt.key,tt=(St=T.current)===null||St===void 0?void 0:St.querySelector('[data-node-key="'.concat(WW(Et),'"]'));if(tt){var at=Ume(tt,bt),Ye=re(at,4),Ge=Ye[0],yt=Ye[1],Tt=Ye[2],Pt=Ye[3];et.set(Et,{width:Ge,height:yt,left:Tt,top:Pt})}}),et})};l.useEffect(function(){He()},[x.map(function(lt){return lt.key}).join("_")]);var ze=VW(function(){var lt=du(C),ot=du(w),et=du(E);z([lt[0]-ot[0]-et[0],lt[1]-ot[1]-et[1]]);var bt=du(_);q(bt);var rt=du(R);oe(rt);var St=du(T);Y([St[0]-bt[0],St[1]-bt[1]]),He()}),Ze=x.slice(0,Ae),je=x.slice(be+1),Je=[].concat(De(Ze),De(je)),mt=Se.get(i),ft=Ame({activeTabOffset:mt,horizontal:$,indicator:y,rtl:s}),qe=ft.style;l.useEffect(function(){Oe()},[i,Ie,Ce,V4(mt),V4(Se),$]),l.useEffect(function(){ze()},[s]);var We=!!Je.length,Qe="".concat(v,"-nav-wrap"),ct,Rt,$t,vt;return $?s?(Rt=A>0,ct=A!==Ce):(ct=A<0,Rt=A!==Ie):($t=M<0,vt=M!==Ie),l.createElement(sa,{onResize:ze},l.createElement("div",{ref:$s(t,C),role:"tablist",className:ne("".concat(v,"-nav"),n),style:r,onKeyDown:function(){xe()}},l.createElement(W4,{ref:w,position:"left",extra:c,prefixCls:v}),l.createElement(sa,{onResize:ze},l.createElement("div",{className:ne(Qe,W(W(W(W({},"".concat(Qe,"-ping-left"),ct),"".concat(Qe,"-ping-right"),Rt),"".concat(Qe,"-ping-top"),$t),"".concat(Qe,"-ping-bottom"),vt)),ref:I},l.createElement(sa,{onResize:ze},l.createElement("div",{ref:T,className:"".concat(v,"-nav-list"),style:{transform:"translate(".concat(A,"px, ").concat(M,"px)"),transition:he?"none":void 0}},Ke,l.createElement(qW,{ref:_,prefixCls:v,locale:d,editable:u,style:Z(Z({},Ke.length===0?void 0:Fe),{},{visibility:We?"hidden":null})}),l.createElement("div",{className:ne("".concat(v,"-ink-bar"),W({},"".concat(v,"-ink-bar-animated"),o.inkBar)),style:qe}))))),l.createElement(zme,pe({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:R,prefixCls:v,tabs:Je,className:!We&&Me,tabMoving:!!he})),l.createElement(W4,{ref:E,position:"right",extra:c,prefixCls:v})))}),KW=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)}),Vme=["renderTabBar"],Wme=["label","key"],Gme=function(t){var n=t.renderTabBar,r=xt(t,Vme),a=l.useContext(Q0),o=a.tabs;if(n){var i=Z(Z({},r),{},{panes:o.map(function(s){var c=s.label,u=s.key,d=xt(s,Wme);return l.createElement(KW,pe({tab:c,key:u,tabKey:u},d))})});return n(i,G4)}return l.createElement(G4,r)},qme=["key","forceRender","style","className","destroyInactiveTabPane"],Kme=function(t){var n=t.id,r=t.activeKey,a=t.animated,o=t.tabPosition,i=t.destroyInactiveTabPane,s=l.useContext(Q0),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),W({},"".concat(c,"-content-animated"),d))},u.map(function(p){var g=p.key,h=p.forceRender,b=p.style,y=p.className,S=p.destroyInactiveTabPane,v=xt(p,qme),x=g===r;return l.createElement(Qr,pe({key:g,visible:x,forceRender:h,removeOnLeave:!!(i||S),leavedClassName:"".concat(f,"-hidden")},a.tabPaneMotion),function(C,w){var E=C.style,I=C.className;return l.createElement(KW,pe({},v,{prefixCls:f,id:n,tabKey:g,animated:d,active:x,style:Z(Z({},b),E),className:ne(y,I),ref:w}))})})))};function Yme(){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=Z({inkBar:!0},ht(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var Xme=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],q4=0,Zme=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,h=e.tabBarGutter,b=e.tabBarStyle,y=e.tabBarExtraContent,S=e.locale,v=e.more,x=e.destroyInactiveTabPane,C=e.renderTabBar,w=e.onChange,E=e.onTabClick,I=e.onTabScroll,T=e.getPopupContainer,R=e.popupClassName,_=e.indicator,$=xt(e,Xme),P=l.useMemo(function(){return(i||[]).filter(function(ee){return ee&&ht(ee)==="object"&&"key"in ee})},[i]),D=s==="rtl",A=Yme(f),O=l.useState(!1),N=re(O,2),k=N[0],M=N[1];l.useEffect(function(){M(k0())},[]);var L=sn(function(){var ee;return(ee=P[0])===null||ee===void 0?void 0:ee.key},{value:c,defaultValue:u}),F=re(L,2),j=F[0],B=F[1],z=l.useState(function(){return P.findIndex(function(ee){return ee.key===j})}),H=re(z,2),V=H[0],te=H[1];l.useEffect(function(){var ee=P.findIndex(function(le){return le.key===j});if(ee===-1){var oe;ee=Math.max(0,Math.min(V,P.length-1)),B((oe=P[ee])===null||oe===void 0?void 0:oe.key)}te(ee)},[P.map(function(ee){return ee.key}).join("_"),j,V]);var Y=sn(null,{value:n}),J=re(Y,2),G=J[0],U=J[1];l.useEffect(function(){n||(U("rc-tabs-".concat(q4)),q4+=1)},[]);function q(ee,oe){E==null||E(ee,oe);var le=ee!==j;B(ee),le&&(w==null||w(ee))}var X={id:G,activeKey:j,animated:A,tabPosition:g,rtl:D,mobile:k},Q=Z(Z({},X),{},{editable:d,locale:S,more:v,tabBarGutter:h,onTabClick:q,onTabScroll:I,extra:y,style:b,panes:null,getPopupContainer:T,popupClassName:R,indicator:_});return l.createElement(Q0.Provider,{value:{tabs:P,prefixCls:a}},l.createElement("div",pe({ref:t,id:n,className:ne(a,"".concat(a,"-").concat(g),W(W(W({},"".concat(a,"-mobile"),k),"".concat(a,"-editable"),d),"".concat(a,"-rtl"),D),o)},$),l.createElement(Gme,pe({},Q,{renderTabBar:C})),l.createElement(Kme,pe({destroyInactiveTabPane:x},X,{animated:A}))))});const Qme={motionAppear:!1,motionEnter:!0,motionLeave:!0};function Jme(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({},Qme),{motionName:xa(e,"switch")})),n}var ehe=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 nhe(e,t){if(e)return e;const n=vr(t).map(r=>{if(l.isValidElement(r)){const{key:a,props:o}=r,i=o||{},{tab:s}=i,c=ehe(i,["tab"]);return Object.assign(Object.assign({key:String(a)},c),{label:s})}return null});return the(n)}const rhe=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}`}}}}},[Vi(e,"slide-up"),Vi(e,"slide-down")]]},ahe=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:`${K(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:K(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${K(e.borderRadiusLG)} ${K(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${K(e.borderRadiusLG)} ${K(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:K(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${K(e.borderRadiusLG)} 0 0 ${K(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 ${K(e.borderRadiusLG)} ${K(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},ohe=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},nn(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:`${K(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({},xo),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${K(e.paddingXXS)} ${K(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"}}})}})}},ihe=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:`${K(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:K(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${K(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:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},she=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 ${K(e.borderRadius)} ${K(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${K(e.borderRadius)} ${K(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${K(e.borderRadius)} ${K(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${K(e.borderRadius)} 0 0 ${K(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},lhe=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}},zi(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}}}},che=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:K(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:K(e.marginXS)},marginLeft:{_skip_check_:!0,value:K(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"}}}}},uhe=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({},nn(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 ${K(e.paddingXS)}`,background:"transparent",border:`${K(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${K(e.borderRadiusLG)} ${K(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}},zi(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),lhe(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"}}}}}},dhe=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}},fhe=on("Tabs",e=>{const t=zt(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${K(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${K(e.horizontalItemGutter)}`});return[she(t),che(t),ihe(t),ohe(t),ahe(t),uhe(t),rhe(t)]},dhe),phe=()=>null;var ghe=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:h,size:b,onEdit:y,hideAdd:S,centered:v,addIcon:x,removeIcon:C,moreIcon:w,more:E,popupClassName:I,children:T,items:R,animated:_,style:$,indicatorSize:P,indicator:D}=e,A=ghe(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(st),F=M("tabs",O),j=Un(F),[B,z,H]=fhe(F,j);let V;p==="editable-card"&&(V={onEdit:(X,Q)=>{let{key:ee,event:oe}=Q;y==null||y(X==="add"?oe:ee,X)},removeIcon:(t=C??(k==null?void 0:k.removeIcon))!==null&&t!==void 0?t:l.createElement(Jr,null),addIcon:(x??(k==null?void 0:k.addIcon))||l.createElement(UW,null),showAdd:S!==!0});const te=M(),Y=Er(b),J=nhe(R,T),G=Jme(F,_),U=Object.assign(Object.assign({},k==null?void 0:k.style),$),q={align:(n=D==null?void 0:D.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=D==null?void 0:D.size)!==null&&a!==void 0?a:P)!==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(Zme,Object.assign({direction:N,getPopupContainer:L},A,{items:J,className:ne({[`${F}-${Y}`]:Y,[`${F}-card`]:["card","editable-card"].includes(p),[`${F}-editable-card`]:p==="editable-card",[`${F}-centered`]:v},k==null?void 0:k.className,g,h,z,H,j),popupClassName:ne(I,z,H,j),style:U,editable:V,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:w)!==null&&f!==void 0?f:l.createElement(wO,null),transitionName:`${te}-slide-up`},E),prefixCls:F,animated:G,indicator:q})))};DO.TabPane=phe;var mhe=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=mhe(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=l.useContext(st),i=o("card",t),s=ne(`${i}-grid`,n,{[`${i}-grid-hoverable`]:r});return l.createElement("div",Object.assign({},a,{className:s}))},hhe=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 ${K(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${K(e.borderRadiusLG)} ${K(e.borderRadiusLG)} 0 0`},mi()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},xo),{[` + > ${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:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},vhe=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` + ${K(a)} 0 0 0 ${n}, + 0 ${K(a)} 0 0 ${n}, + ${K(a)} ${K(a)} 0 0 ${n}, + ${K(a)} 0 0 0 ${n} inset, + 0 ${K(a)} 0 0 ${n} inset; + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},bhe=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:`${K(e.lineWidth)} ${e.lineType} ${o}`,display:"flex",borderRadius:`0 0 ${K(e.borderRadiusLG)} ${K(e.borderRadiusLG)}`},mi()),{"& > 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:K(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:K(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${K(e.lineWidth)} ${e.lineType} ${o}`}}})},yhe=e=>Object.assign(Object.assign({margin:`${K(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},mi()),{"&-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},xo),"&-description":{color:e.colorTextDescription}}),She=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${K(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${K(e.padding)} ${K(n)}`}}},xhe=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},whe=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:o,cardPaddingBase:i,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},nn(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:o},[`${t}-head`]:hhe(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:i,borderRadius:`0 0 ${K(e.borderRadiusLG)} ${K(e.borderRadiusLG)}`},mi()),[`${t}-grid`]:vhe(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${K(e.borderRadiusLG)} ${K(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:bhe(e),[`${t}-meta`]:yhe(e)}),[`${t}-bordered`]:{border:`${K(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:`${K(e.borderRadiusLG)} ${K(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`]:She(e),[`${t}-loading`]:xhe(e),[`${t}-rtl`]:{direction:"rtl"}}},Che=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${K(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"}}}}},Ehe=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}),Ihe=on("Card",e=>{const t=zt(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[whe(t),Che(t)]},Ehe);var K4=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))}))},Rhe=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:h,actions:b,tabList:y,children:S,activeTabKey:v,defaultActiveTabKey:x,tabBarExtraContent:C,hoverable:w,tabProps:E={},classNames:I,styles:T}=e,R=K4(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:P}=l.useContext(st),D=ce=>{var Te;(Te=e.onTabChange)===null||Te===void 0||Te.call(e,ce)},A=ce=>{var Te;return ne((Te=P==null?void 0:P.classNames)===null||Te===void 0?void 0:Te[ce],I==null?void 0:I[ce])},O=ce=>{var Te;return Object.assign(Object.assign({},(Te=P==null?void 0:P.styles)===null||Te===void 0?void 0:Te[ce]),T==null?void 0:T[ce])},N=l.useMemo(()=>{let ce=!1;return l.Children.forEach(S,Te=>{(Te==null?void 0:Te.type)===YW&&(ce=!0)}),ce},[S]),k=_("card",n),[M,L,F]=Ihe(k),j=l.createElement(Ol,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),B=v!==void 0,z=Object.assign(Object.assign({},E),{[B?"activeKey":"defaultActiveKey"]:B?v:x,tabBarExtraContent:C});let H;const V=Er(p),te=!V||V==="default"?"large":V,Y=y?l.createElement(DO,Object.assign({size:te},z,{className:`${k}-head-tabs`,onChange:D,items:y.map(ce=>{var{tab:Te}=ce,Se=K4(ce,["tab"]);return Object.assign({label:Te},Se)})})):null;if(u||i||Y){const ce=ne(`${k}-head`,A("header")),Te=ne(`${k}-head-title`,A("title")),Se=ne(`${k}-extra`,A("extra")),ve=Object.assign(Object.assign({},s),O("header"));H=l.createElement("div",{className:ce,style:ve},l.createElement("div",{className:`${k}-head-wrapper`},u&&l.createElement("div",{className:Te,style:O("title")},u),i&&l.createElement("div",{className:Se,style:O("extra")},i)),Y)}const J=ne(`${k}-cover`,A("cover")),G=h?l.createElement("div",{className:J,style:O("cover")},h):null,U=ne(`${k}-body`,A("body")),q=Object.assign(Object.assign({},c),O("body")),X=l.createElement("div",{className:U,style:q},d?j:S),Q=ne(`${k}-actions`,A("actions")),ee=b!=null&&b.length?l.createElement(The,{actionClasses:Q,actionStyle:O("actions"),actions:b}):null,oe=On(R,["onTabChange"]),le=ne(k,P==null?void 0:P.className,{[`${k}-loading`]:d,[`${k}-bordered`]:f,[`${k}-hoverable`]:w,[`${k}-contain-grid`]:N,[`${k}-contain-tabs`]:y==null?void 0:y.length,[`${k}-${V}`]:V,[`${k}-type-${g}`]:!!g,[`${k}-rtl`]:$==="rtl"},r,a,L,F),fe=Object.assign(Object.assign({},P==null?void 0:P.style),o);return M(l.createElement("div",Object.assign({ref:t},oe,{className:le,style:fe}),H,G,X,ee))});var _he=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=_he(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=l.useContext(st),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)},Jd=Rhe;Jd.Grid=YW;Jd.Meta=$he;function Ohe(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 h(y){var S=y||{},v=S.upcomingOnly,x=v===void 0?!1:v;g(),f=!x}function b(){for(var y=arguments.length,S=new Array(y),v=0;ve?s?(p=Date.now(),o||(d=setTimeout(u?E:w,e))):w():o!==!0&&(d=setTimeout(u?E:w,u===void 0?e-C:e))}return b.cancel=h,b}function Nhe(e,t,n){var r={},a=r.atBegin,o=a===void 0?!1:a;return Ohe(e,t,{debounceMode:o!==!1})}function Va(e,t){return e[t]}var khe=["children"];function XW(e,t){return"".concat(e,"-").concat(t)}function Ahe(e){return e&&e.type&&e.type.isTreeNode}function um(e,t){return e??t}function Cd(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 ZW(e){function t(n){var r=vr(n);return r.map(function(a){if(!Ahe(a))return vn(!a,"Tree/TreeNode can only accept TreeNode as children."),null;var o=a.key,i=a.props,s=i.children,c=xt(i,khe),u=Z({key:o},c),d=t(s);return d.length&&(u.children=d),u}).filter(function(a){return a})}return t(e)}function c1(e,t,n){var r=Cd(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 h=XW(f?f.pos:"0",g),b=um(p[o],h),y,S=0;S1&&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),Mhe(e,function(g){var h=g.node,b=g.index,y=g.pos,S=g.key,v=g.parentPos,x=g.level,C=g.nodes,w={node:h,nodes:C,index:b,key:S,pos:y,level:x},E=um(S,y);d[y]=w,f[E]=w,w.parent=d[v],w.parent&&(w.parent.children=w.parent.children||[],w.parent.children.push(w)),r&&r(w,p)},{externalGetKey:u,childrenPropName:i,fieldNames:s}),a&&a(p),p}function xp(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=Va(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 Ir(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,h=Z(Z({},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 h||Object.defineProperty(h,"props",{get:function(){return vn(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),h}function QW(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function Phe(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,a=t.checkable;return!!(n||r)||a===!1}function Dhe(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,h=f.children,b=h===void 0?[]:h;a.has(p)&&!r(g)&&b.filter(function(y){return!r(y.node)}).forEach(function(y){a.add(y.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 h=!0,b=!1;(p.children||[]).filter(function(y){return!r(y.node)}).forEach(function(y){var S=y.key,v=a.has(S);h&&!v&&(h=!1),!b&&(v||o.has(S))&&(b=!0)}),h&&a.add(p.key),b&&o.add(p.key),c.add(p.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(QW(o,a))}}function Lhe(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,h=p.node,b=p.children,y=b===void 0?[]:b;!o.has(g)&&!i.has(g)&&!a(h)&&y.filter(function(S){return!a(S.node)}).forEach(function(S){o.delete(S.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,h=p.node;if(!(a(h)||!p.parent||u.has(p.parent.key))){if(a(p.parent.node)){u.add(g.key);return}var b=!0,y=!1;(g.children||[]).filter(function(S){return!a(S.node)}).forEach(function(S){var v=S.key,x=o.has(v);b&&!x&&(b=!1),!y&&(x||i.has(v))&&(y=!0)}),b||o.delete(g.key),y&&i.add(g.key),u.add(g.key)}})}return{checkedKeys:Array.from(o),halfCheckedKeys:Array.from(QW(i,o))}}function hs(e,t,n,r){var a=[],o;r?o=r:o=Phe;var i=new Set(e.filter(function(d){var f=!!Va(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)}),vn(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=Dhe(i,s,c,o):u=Lhe(i,t.halfCheckedKeys,s,c,o),u}const Fhe=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},nn(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},nn(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({},nn(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({},ws(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${K(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:`${K(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 LO(e,t){const n=zt(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[Fhe(n)]}const JW=on("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[LO(n,e)]}),eG=se.createContext(null);var jhe=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=jhe(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:h,direction:b,checkbox:y}=l.useContext(st),S=l.useContext(eG),{isFormItemInput:v}=l.useContext(zr),x=l.useContext(Zr),C=(n=(S==null?void 0:S.disabled)||p)!==null&&n!==void 0?n:x,w=l.useRef(g.value);l.useEffect(()=>{S==null||S.registerValue(g.value)},[]),l.useEffect(()=>{if(!f)return g.value!==w.current&&(S==null||S.cancelValue(w.current),S==null||S.registerValue(g.value),w.current=g.value),()=>S==null?void 0:S.cancelValue(g.value)},[g.value]);const E=h("checkbox",r),I=Un(E),[T,R,_]=JW(E,I),$=Object.assign({},g);S&&!f&&($.onChange=function(){g.onChange&&g.onChange.apply(g,arguments),S.toggleOption&&S.toggleOption({label:i,value:g.value})},$.name=S.name,$.checked=S.value.includes(g.value));const P=ne(`${E}-wrapper`,{[`${E}-rtl`]:b==="rtl",[`${E}-wrapper-checked`]:$.checked,[`${E}-wrapper-disabled`]:C,[`${E}-wrapper-in-form-item`]:v},y==null?void 0:y.className,a,o,_,I,R),D=ne({[`${E}-indeterminate`]:s},C0,R),A=s?"mixed":void 0;return T(l.createElement(Gg,{component:"Checkbox",disabled:C},l.createElement("label",{className:P,style:Object.assign(Object.assign({},y==null?void 0:y.style),c),onMouseEnter:u,onMouseLeave:d},l.createElement(PW,Object.assign({"aria-checked":A},$,{prefixCls:E,className:D,disabled:C,ref:t})),i!==void 0&&l.createElement("span",null,i))))},tG=l.forwardRef(Bhe);var zhe=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=zhe(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:f,direction:p}=l.useContext(st),[g,h]=l.useState(d.value||n||[]),[b,y]=l.useState([]);l.useEffect(()=>{"value"in d&&h(d.value||[])},[d.value]);const S=l.useMemo(()=>a.map(O=>typeof O=="string"||typeof O=="number"?{label:O,value:O}:O),[a]),v=O=>{y(N=>N.filter(k=>k!==O))},x=O=>{y(N=>[].concat(De(N),[O]))},C=O=>{const N=g.indexOf(O.value),k=De(g);N===-1?k.push(O.value):k.splice(N,1),"value"in d||h(k),u==null||u(k.filter(M=>b.includes(M)).sort((M,L)=>{const F=S.findIndex(B=>B.value===M),j=S.findIndex(B=>B.value===L);return F-j}))},w=f("checkbox",o),E=`${w}-group`,I=Un(w),[T,R,_]=JW(w,I),$=On(d,["value","disabled"]),P=a.length?S.map(O=>l.createElement(tG,{prefixCls:w,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,D={toggleOption:C,value:g,disabled:d.disabled,name:d.name,registerValue:x,cancelValue:v},A=ne(E,{[`${E}-rtl`]:p==="rtl"},i,s,_,I,R);return T(l.createElement("div",Object.assign({className:A,style:c},$,{ref:t}),l.createElement(eG.Provider,{value:D},P)))}),Rs=tG;Rs.Group=Hhe;Rs.__ANT_CHECKBOX=!0;const nG=l.createContext({}),Uhe=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"}}}},Vhe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},Whe=(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},_R=(e,t)=>Whe(e,t),Ghe=(e,t,n)=>({[`@media (min-width: ${K(t)})`]:Object.assign({},_R(e,n))}),qhe=()=>({}),Khe=()=>({}),Yhe=on("Grid",Uhe,qhe),Xhe=on("Grid",e=>{const t=zt(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[Vhe(t),_R(t,""),_R(t,"-xs"),Object.keys(n).map(r=>Ghe(t,n[r],r)).reduce((r,a)=>Object.assign(Object.assign({},r),a),{})]},Khe);var Zhe=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(st),{gutter:a,wrap:o}=l.useContext(nG),{prefixCls:i,span:s,order:c,offset:u,push:d,pull:f,className:p,children:g,flex:h,style:b}=e,y=Zhe(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=n("col",i),[v,x,C]=Xhe(S),w={};let E={};Qhe.forEach(R=>{let _={};const $=e[R];typeof $=="number"?_.span=$:typeof $=="object"&&(_=$||{}),delete y[R],E=Object.assign(Object.assign({},E),{[`${S}-${R}-${_.span}`]:_.span!==void 0,[`${S}-${R}-order-${_.order}`]:_.order||_.order===0,[`${S}-${R}-offset-${_.offset}`]:_.offset||_.offset===0,[`${S}-${R}-push-${_.push}`]:_.push||_.push===0,[`${S}-${R}-pull-${_.pull}`]:_.pull||_.pull===0,[`${S}-rtl`]:r==="rtl"}),_.flex&&(E[`${S}-${R}-flex`]=!0,w[`--${S}-${R}-flex`]=Y4(_.flex))});const I=ne(S,{[`${S}-${s}`]:s!==void 0,[`${S}-order-${c}`]:c,[`${S}-offset-${u}`]:u,[`${S}-push-${d}`]:d,[`${S}-pull-${f}`]:f},p,E,x,C),T={};if(a&&a[0]>0){const R=a[0]/2;T.paddingLeft=R,T.paddingRight=R}return h&&(T.flex=Y4(h),o===!1&&!T.minWidth&&(T.minWidth=0)),v(l.createElement("div",Object.assign({},y,{style:Object.assign(Object.assign(Object.assign({},T),b),w),className:I,ref:t}),g))});var Jhe=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 $a=l.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:a,className:o,style:i,children:s,gutter:c=0,wrap:u}=e,d=Jhe(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:f,direction:p}=l.useContext(st),[g,h]=l.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[b,y]=l.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),S=X4(a,b),v=X4(r,b),x=l.useRef(c),C=yV();l.useEffect(()=>{const k=C.subscribe(M=>{y(M);const L=x.current||0;(!Array.isArray(L)&&typeof L=="object"||Array.isArray(L)&&(typeof L[0]=="object"||typeof L[1]=="object"))&&h(M)});return()=>C.unsubscribe(k)},[]);const w=()=>{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;D&&(P.marginLeft=D,P.marginRight=D);const[A,O]=_;P.rowGap=O;const N=l.useMemo(()=>({gutter:[A,O],wrap:u}),[A,O,u]);return I(l.createElement(nG.Provider,{value:N},l.createElement("div",Object.assign({},d,{className:$,style:Object.assign(Object.assign({},P),i),ref:t}),s)))});var rG=se.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=se.useState(s||r),d=re(u,2),f=d[0],p=d[1];return se.useEffect(function(){(r||s)&&p(!0)},[r,s]),f?se.createElement("div",{ref:t,className:ne("".concat(n,"-content"),W(W({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),a),style:o,role:c},se.createElement("div",{className:"".concat(n,"-content-box")},i)):null});rG.displayName="PanelContent";var eve=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],aG=se.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,h=e.header,b=e.expandIcon,y=e.openMotion,S=e.destroyInactivePanel,v=e.children,x=xt(e,eve),C=d==="disabled",w=d==="header",E=d==="icon",I=g!=null&&typeof g!="boolean",T=function(){i==null||i(p)},R=function(O){(O.key==="Enter"||O.keyCode===Le.ENTER||O.which===Le.ENTER)&&T()},_=typeof b=="function"?b(e):se.createElement("i",{className:"arrow"});_&&(_=se.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(d)?T:void 0},_));var $=ne(W(W(W({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),o),"".concat(u,"-item-disabled"),C),c),P=ne(a,W(W(W({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),w),"".concat(u,"-icon-collapsible-only"),E)),D={className:P,"aria-expanded":o,"aria-disabled":C,onKeyDown:R};return!w&&!E&&(D.onClick=T,D.role=f?"tab":"button",D.tabIndex=C?-1:0),se.createElement("div",pe({},x,{ref:t,className:$}),se.createElement("div",D,r&&_,se.createElement("span",{className:"".concat(u,"-header-text"),onClick:d==="header"?T:void 0},h),I&&se.createElement("div",{className:"".concat(u,"-extra")},g)),se.createElement(Qr,pe({visible:o,leavedClassName:"".concat(u,"-content-hidden")},y,{forceRender:s,removeOnLeave:S}),function(A,O){var N=A.className,k=A.style;return se.createElement(rG,{ref:O,prefixCls:u,className:N,style:k,isActive:o,forceRender:s,role:f?"tabpanel":void 0},v)}))}),tve=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],nve=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,h=f.label,b=f.key,y=f.collapsible,S=f.onItemClick,v=f.destroyInactivePanel,x=xt(f,tve),C=String(b??p),w=y??o,E=v??i,I=function(_){w!=="disabled"&&(s(_),S==null||S(_))},T=!1;return a?T=c[0]===C:T=c.indexOf(C)>-1,se.createElement(aG,pe({},x,{prefixCls:r,key:C,panelKey:C,isActive:T,accordion:a,openMotion:u,expandIcon:d,header:h,collapsible:w,onItemClick:I,destroyInactivePanel:E}),g)})},rve=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,h=g.header,b=g.headerClass,y=g.destroyInactivePanel,S=g.collapsible,v=g.onItemClick,x=!1;o?x=u[0]===p:x=u.indexOf(p)>-1;var C=S??i,w=function(T){C!=="disabled"&&(c(T),v==null||v(T))},E={key:p,panelKey:p,header:h,headerClass:b,isActive:x,prefixCls:a,destroyInactivePanel:y??s,openMotion:d,accordion:o,children:t.props.children,onItemClick:w,expandIcon:f,collapsible:C};return typeof t.type=="string"?t:(Object.keys(E).forEach(function(I){typeof E[I]>"u"&&delete E[I]}),se.cloneElement(t,E))};function ave(e,t,n){return Array.isArray(e)?nve(e,n):vr(t).map(function(r,a){return rve(r,a,n)})}function ove(e){var t=e;if(!Array.isArray(t)){var n=ht(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var ive=se.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,h=e.defaultActiveKey,b=e.onChange,y=e.items,S=ne(r,c),v=sn([],{value:g,onChange:function(R){return b==null?void 0:b(R)},defaultValue:h,postState:ove}),x=re(v,2),C=x[0],w=x[1],E=function(R){return w(function(){if(s)return C[0]===R?[]:[R];var _=C.indexOf(R),$=_>-1;return $?C.filter(function(P){return P!==R}):[].concat(De(C),[R])})};vn(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var I=ave(y,u,{prefixCls:r,accordion:s,openMotion:f,expandIcon:p,collapsible:d,destroyInactivePanel:o,onItemClick:E,activeKey:C});return se.createElement("div",pe({ref:t,className:S,style:i,role:s?"tablist":void 0},Yn(e,{aria:!0,data:!0})),I)});const FO=Object.assign(ive,{Panel:aG});FO.Panel;const sve=l.forwardRef((e,t)=>{const{getPrefixCls:n}=l.useContext(st),{prefixCls:r,className:a,showArrow:o=!0}=e,i=n("collapse",r),s=ne({[`${i}-no-arrow`]:!o},a);return l.createElement(FO.Panel,Object.assign({ref:t},e,{prefixCls:i,className:s}))}),lve=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:h,fontSizeLG:b,lineHeight:y,lineHeightLG:S,marginSM:v,paddingSM:x,paddingLG:C,paddingXS:w,motionDurationSlow:E,fontSizeIcon:I,contentPadding:T,fontHeight:R,fontHeightLG:_}=e,$=`${K(u)} ${d} ${f}`;return{[t]:Object.assign(Object.assign({},nn(e)),{backgroundColor:a,border:$,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:$,"&:last-child":{[` + &, + & > ${t}-header`]:{borderRadius:`0 0 ${K(c)} ${K(c)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:g,lineHeight:y,cursor:"pointer",transition:`all ${E}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:R,display:"flex",alignItems:"center",paddingInlineEnd:v},[`${t}-arrow`]:Object.assign(Object.assign({},zd()),{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:T},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:i,paddingInlineStart:w,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(x).sub(w).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:x}}},"&-large":{[`> ${t}-item`]:{fontSize:b,lineHeight:S,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:_,marginInlineStart:e.calc(C).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:C}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${K(c)} ${K(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:h,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:v}}}}})}},cve=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},uve=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}}}},dve=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}}}}}},fve=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),pve=on("Collapse",e=>{const t=zt(e,{collapseHeaderPaddingSM:`${K(e.paddingXS)} ${K(e.paddingSM)}`,collapseHeaderPaddingLG:`${K(e.padding)} ${K(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[lve(t),uve(t),dve(t),cve(t),Zg(t)]},fve),gve=l.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:a}=l.useContext(st),{prefixCls:o,className:i,rootClassName:s,style:c,bordered:u=!0,ghost:d,size:f,expandIconPosition:p="start",children:g,expandIcon:h}=e,b=Er($=>{var P;return(P=f??$)!==null&&P!==void 0?P:"middle"}),y=n("collapse",o),S=n(),[v,x,C]=pve(y),w=l.useMemo(()=>p==="left"?"start":p==="right"?"end":p,[p]),E=h??(a==null?void 0:a.expandIcon),I=l.useCallback(function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const P=typeof E=="function"?E($):l.createElement(Za,{rotate:$.isActive?90:void 0,"aria-label":$.isActive?"expanded":"collapsed"});return Cr(P,()=>{var D;return{className:ne((D=P==null?void 0:P.props)===null||D===void 0?void 0:D.className,`${y}-arrow`)}})},[E,y]),T=ne(`${y}-icon-position-${w}`,{[`${y}-borderless`]:!u,[`${y}-rtl`]:r==="rtl",[`${y}-ghost`]:!!d,[`${y}-${b}`]:b!=="middle"},a==null?void 0:a.className,i,s,x,C),R=Object.assign(Object.assign({},Sd(S)),{motionAppear:!1,leavedClassName:`${y}-content-hidden`}),_=l.useMemo(()=>g?vr(g).map(($,P)=>{var D,A;if(!((D=$.props)===null||D===void 0)&&D.disabled){const O=(A=$.key)!==null&&A!==void 0?A:String(P),{disabled:N,collapsible:k}=$.props,M=Object.assign(Object.assign({},On($.props,["disabled"])),{key:O,collapsible:k??(N?"disabled":void 0)});return Cr($,M)}return $}):null,[g]);return v(l.createElement(FO,Object.assign({ref:t,openMotion:R},On(e,["rootClassName"]),{expandIcon:I,prefixCls:y,className:T,style:Object.assign(Object.assign({},a==null?void 0:a.style),c)}),_))}),yl=Object.assign(gve,{Panel:sve}),mve=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:o,orientationMargin:i,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},nn(e)),{borderBlockStart:`${K(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${K(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${K(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${K(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:`${K(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:`${K(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:`${K(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}}})}},hve=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),vve=on("Divider",e=>{const t=zt(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[mve(t)]},hve,{unitless:{orientationMargin:!0}});var bve=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(st),{prefixCls:a,type:o="horizontal",orientation:i="center",orientationMargin:s,className:c,rootClassName:u,children:d,dashed:f,variant:p="solid",plain:g,style:h}=e,b=bve(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),y=t("divider",a),[S,v,x]=vve(y),C=!!d,w=i==="left"&&s!=null,E=i==="right"&&s!=null,I=ne(y,r==null?void 0:r.className,v,x,`${y}-${o}`,{[`${y}-with-text`]:C,[`${y}-with-text-${i}`]:C,[`${y}-dashed`]:!!f,[`${y}-${p}`]:p!=="solid",[`${y}-plain`]:!!g,[`${y}-rtl`]:n==="rtl",[`${y}-no-default-orientation-margin-left`]:w,[`${y}-no-default-orientation-margin-right`]:E},c,u),T=l.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),R=Object.assign(Object.assign({},w&&{marginLeft:T}),E&&{marginRight:T});return S(l.createElement("div",Object.assign({className:I,style:Object.assign(Object.assign({},r==null?void 0:r.style),h)},b,{role:"separator"}),d&&o!=="vertical"&&l.createElement("span",{className:`${y}-inner-text`,style:R},d)))};var yve={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"},Sve=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:yve}))},xve=l.forwardRef(Sve);function $R(){return typeof BigInt=="function"}function oG(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function dc(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 jO(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function ec(e){var t=String(e);if(jO(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(".")&&BO(t)?t.length-t.indexOf(".")-1:0}function ey(e){var t=String(e);if(jO(e)){if(e>Number.MAX_SAFE_INTEGER)return String($R()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":dc("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),Cve=function(){function e(t){if(Xn(this,e),W(this,"origin",""),W(this,"number",void 0),W(this,"empty",void 0),oG(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Zn(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()?"":ey(this.number):this.origin}}]),e}();function ei(e){return $R()?new wve(e):new Cve(e)}function mv(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=dc(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=ei(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-d));return mv(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 Eve(e){return!!(e.addonBefore||e.addonAfter)}function Ive(e){return!!(e.prefix||e.suffix||e.allowClear)}function Z4(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 bb(e,t,n,r){if(n){var a=t;if(t.type==="click"){a=Z4(t,e,""),n(a);return}if(e.type!=="file"&&r!==void 0){a=Z4(t,e,r),n(a);return}n(a)}}function iG(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 zO=se.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,h=e.readOnly,b=e.focused,y=e.triggerFocus,S=e.allowClear,v=e.value,x=e.handleReset,C=e.hidden,w=e.classes,E=e.classNames,I=e.dataAttrs,T=e.styles,R=e.components,_=e.onClear,$=o??a,P=(R==null?void 0:R.affixWrapper)||"span",D=(R==null?void 0:R.groupWrapper)||"span",A=(R==null?void 0:R.wrapper)||"span",O=(R==null?void 0:R.groupAddon)||"span",N=l.useRef(null),k=function(ee){var oe;(oe=N.current)!==null&&oe!==void 0&&oe.contains(ee.target)&&(y==null||y())},M=Ive(e),L=l.cloneElement($,{value:v,className:ne($.props.className,!M&&(E==null?void 0:E.variant))||null}),F=l.useRef(null);if(se.useImperativeHandle(t,function(){return{nativeElement:F.current||N.current}}),M){var j=null;if(S){var B=!g&&!h&&v,z="".concat(i,"-clear-icon"),H=ht(S)==="object"&&S!==null&&S!==void 0&&S.clearIcon?S.clearIcon:"✖";j=se.createElement("span",{onClick:function(ee){x==null||x(ee),_==null||_()},onMouseDown:function(ee){return ee.preventDefault()},className:ne(z,W(W({},"".concat(z,"-hidden"),!B),"".concat(z,"-has-suffix"),!!c)),role:"button",tabIndex:-1},H)}var V="".concat(i,"-affix-wrapper"),te=ne(V,W(W(W(W(W({},"".concat(i,"-disabled"),g),"".concat(V,"-disabled"),g),"".concat(V,"-focused"),b),"".concat(V,"-readonly"),h),"".concat(V,"-input-with-clear-btn"),c&&S&&v),w==null?void 0:w.affixWrapper,E==null?void 0:E.affixWrapper,E==null?void 0:E.variant),Y=(c||S)&&se.createElement("span",{className:ne("".concat(i,"-suffix"),E==null?void 0:E.suffix),style:T==null?void 0:T.suffix},j,c);L=se.createElement(P,pe({className:te,style:T==null?void 0:T.affixWrapper,onClick:k},I==null?void 0:I.affixWrapper,{ref:N}),s&&se.createElement("span",{className:ne("".concat(i,"-prefix"),E==null?void 0:E.prefix),style:T==null?void 0:T.prefix},s),L,Y)}if(Eve(e)){var J="".concat(i,"-group"),G="".concat(J,"-addon"),U="".concat(J,"-wrapper"),q=ne("".concat(i,"-wrapper"),J,w==null?void 0:w.wrapper,E==null?void 0:E.wrapper),X=ne(U,W({},"".concat(U,"-disabled"),g),w==null?void 0:w.group,E==null?void 0:E.groupWrapper);L=se.createElement(D,{className:X,ref:F},se.createElement(A,{className:q},u&&se.createElement(O,{className:G},u),L,d&&se.createElement(O,{className:G},d)))}return se.cloneElement(L,{className:ne((n=L.props)===null||n===void 0?void 0:n.className,f)||null,style:Z(Z({},(r=L.props)===null||r===void 0?void 0:r.style),p),hidden:C})}),Tve=["show"];function sG(e,t){return l.useMemo(function(){var n={};t&&(n.show=ht(t)==="object"&&t.formatter?t.formatter:!!t),n=Z(Z({},n),e);var r=n,a=r.show,o=xt(r,Tve);return Z(Z({},o),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:o.strategy||function(i){return i.length}})},[e,t])}var Rve=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],_ve=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,h=e.maxLength,b=e.suffix,y=e.showCount,S=e.count,v=e.type,x=v===void 0?"text":v,C=e.classes,w=e.classNames,E=e.styles,I=e.onCompositionStart,T=e.onCompositionEnd,R=xt(e,Rve),_=l.useState(!1),$=re(_,2),P=$[0],D=$[1],A=l.useRef(!1),O=l.useRef(!1),N=l.useRef(null),k=l.useRef(null),M=function(ue){N.current&&iG(N.current,ue)},L=sn(e.defaultValue,{value:e.value}),F=re(L,2),j=F[0],B=F[1],z=j==null?"":String(j),H=l.useState(null),V=re(H,2),te=V[0],Y=V[1],J=sG(S,y),G=J.max||h,U=J.strategy(z),q=!!G&&U>G;l.useImperativeHandle(t,function(){var ie;return{focus:M,blur:function(){var ye;(ye=N.current)===null||ye===void 0||ye.blur()},setSelectionRange:function(ye,Ee,Me){var Ie;(Ie=N.current)===null||Ie===void 0||Ie.setSelectionRange(ye,Ee,Me)},select:function(){var ye;(ye=N.current)===null||ye===void 0||ye.select()},input:N.current,nativeElement:((ie=k.current)===null||ie===void 0?void 0:ie.nativeElement)||N.current}}),l.useEffect(function(){D(function(ie){return ie&&f?!1:ie})},[f]);var X=function(ue,ye,Ee){var Me=ye;if(!A.current&&J.exceedFormatter&&J.max&&J.strategy(ye)>J.max){if(Me=J.exceedFormatter(ye,{max:J.max}),ye!==Me){var Ie,Ce;Y([((Ie=N.current)===null||Ie===void 0?void 0:Ie.selectionStart)||0,((Ce=N.current)===null||Ce===void 0?void 0:Ce.selectionEnd)||0])}}else if(Ee.source==="compositionEnd")return;B(Me),N.current&&bb(N.current,ue,r,Me)};l.useEffect(function(){if(te){var ie;(ie=N.current)===null||ie===void 0||ie.setSelectionRange.apply(ie,De(te))}},[te]);var Q=function(ue){X(ue,ue.target.value,{source:"change"})},ee=function(ue){A.current=!1,X(ue,ue.currentTarget.value,{source:"compositionEnd"}),T==null||T(ue)},oe=function(ue){i&&ue.key==="Enter"&&!O.current&&(O.current=!0,i(ue)),s==null||s(ue)},le=function(ue){ue.key==="Enter"&&(O.current=!1),c==null||c(ue)},fe=function(ue){D(!0),a==null||a(ue)},ce=function(ue){D(!1),o==null||o(ue)},Te=function(ue){B(""),M(),N.current&&bb(N.current,ue,r)},Se=q&&"".concat(d,"-out-of-range"),ve=function(){var ue=On(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return se.createElement("input",pe({autoComplete:n},ue,{onChange:Q,onFocus:fe,onBlur:ce,onKeyDown:oe,onKeyUp:le,className:ne(d,W({},"".concat(d,"-disabled"),f),w==null?void 0:w.input),style:E==null?void 0:E.input,ref:N,size:p,type:x,onCompositionStart:function(Ee){A.current=!0,I==null||I(Ee)},onCompositionEnd:ee}))},ae=function(){var ue=Number(G)>0;if(b||J.show){var ye=J.showFormatter?J.showFormatter({value:z,count:U,maxLength:G}):"".concat(U).concat(ue?" / ".concat(G):"");return se.createElement(se.Fragment,null,J.show&&se.createElement("span",{className:ne("".concat(d,"-show-count-suffix"),W({},"".concat(d,"-show-count-has-suffix"),!!b),w==null?void 0:w.count),style:Z({},E==null?void 0:E.count)},ye),b)}return null};return se.createElement(zO,pe({},R,{prefixCls:d,className:ne(g,Se),handleReset:Te,value:z,focused:P,triggerFocus:M,suffix:ae(),disabled:f,classes:C,classNames:w,styles:E}),ve())});function $ve(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 Ove(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){vn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(g.message))}}return[r,a]}var Nve=function(){var t=l.useState(!1),n=re(t,2),r=n[0],a=n[1];return Xt(function(){a(k0())},[]),r},kve=200,Ave=600;function Mve(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(x,C){x.preventDefault(),d(),u.current(C);function w(){u.current(C),s.current=setTimeout(w,kve)}s.current=setTimeout(w,Ave)};l.useEffect(function(){return function(){d(),c.current.forEach(function(v){return Ut.cancel(v)})}},[]);var p=Nve();if(p)return null;var g="".concat(t,"-handler"),h=ne(g,"".concat(g,"-up"),W({},"".concat(g,"-up-disabled"),a)),b=ne(g,"".concat(g,"-down"),W({},"".concat(g,"-down-disabled"),o)),y=function(){return c.current.push(Ut(d))},S={unselectable:"on",role:"button",onMouseUp:y,onMouseLeave:y};return l.createElement("div",{className:"".concat(g,"-wrap")},l.createElement("span",pe({},S,{onMouseDown:function(x){f(x,!0)},"aria-label":"Increase Value","aria-disabled":a,className:h}),n||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),l.createElement("span",pe({},S,{onMouseDown:function(x){f(x,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:b}),r||l.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function Q4(e){var t=typeof e=="number"?ey(e):dc(e).fullStr,n=t.includes(".");return n?dc(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const Pve=function(){var e=l.useRef(0),t=function(){Ut.cancel(e.current)};return l.useEffect(function(){return t},[]),function(n){t(),e.current=Ut(function(){n()})}};var Dve=["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"],Lve=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],J4=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},eP=function(t){var n=ei(t);return n.isInvalidate()?null:n},Fve=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,h=e.downHandler,b=e.keyboard,y=e.changeOnWheel,S=y===void 0?!1:y,v=e.controls,x=v===void 0?!0:v;e.classNames;var C=e.stringMode,w=e.parser,E=e.formatter,I=e.precision,T=e.decimalSeparator,R=e.onChange,_=e.onInput,$=e.onPressEnter,P=e.onStep,D=e.changeOnBlur,A=D===void 0?!0:D,O=e.domRef,N=xt(e,Dve),k="".concat(n,"-input"),M=l.useRef(null),L=l.useState(!1),F=re(L,2),j=F[0],B=F[1],z=l.useRef(!1),H=l.useRef(!1),V=l.useRef(!1),te=l.useState(function(){return ei(d??u)}),Y=re(te,2),J=Y[0],G=Y[1];function U(Oe){d===void 0&&G(Oe)}var q=l.useCallback(function(Oe,Fe){if(!Fe)return I>=0?I:Math.max(ec(Oe),ec(c))},[I,c]),X=l.useCallback(function(Oe){var Fe=String(Oe);if(w)return w(Fe);var Ke=Fe;return T&&(Ke=Ke.replace(T,".")),Ke.replace(/[^\w.-]+/g,"")},[w,T]),Q=l.useRef(""),ee=l.useCallback(function(Oe,Fe){if(E)return E(Oe,{userTyping:Fe,input:String(Q.current)});var Ke=typeof Oe=="number"?ey(Oe):Oe;if(!Fe){var He=q(Ke,Fe);if(BO(Ke)&&(T||He>=0)){var ze=T||".";Ke=mv(Ke,ze,He)}}return Ke},[E,q,T]),oe=l.useState(function(){var Oe=u??d;return J.isInvalidate()&&["string","number"].includes(ht(Oe))?Number.isNaN(Oe)?"":Oe:ee(J.toString(),!1)}),le=re(oe,2),fe=le[0],ce=le[1];Q.current=fe;function Te(Oe,Fe){ce(ee(Oe.isInvalidate()?Oe.toString(!1):Oe.toString(!Fe),Fe))}var Se=l.useMemo(function(){return eP(i)},[i,I]),ve=l.useMemo(function(){return eP(o)},[o,I]),ae=l.useMemo(function(){return!Se||!J||J.isInvalidate()?!1:Se.lessEquals(J)},[Se,J]),ie=l.useMemo(function(){return!ve||!J||J.isInvalidate()?!1:J.lessEquals(ve)},[ve,J]),ue=Ove(M.current,j),ye=re(ue,2),Ee=ye[0],Me=ye[1],Ie=function(Fe){return Se&&!Fe.lessEquals(Se)?Se:ve&&!ve.lessEquals(Fe)?ve:null},Ce=function(Fe){return!Ie(Fe)},me=function(Fe,Ke){var He=Fe,ze=Ce(He)||He.isEmpty();if(!He.isEmpty()&&!Ke&&(He=Ie(He)||He,ze=!0),!p&&!f&&ze){var Ze=He.toString(),je=q(Ze,Ke);return je>=0&&(He=ei(mv(Ze,".",je)),Ce(He)||(He=ei(mv(Ze,".",je,!0)))),He.equals(J)||(U(He),R==null||R(He.isEmpty()?null:J4(C,He)),d===void 0&&Te(He,Ke)),He}return J},we=Pve(),_e=function Oe(Fe){if(Ee(),Q.current=Fe,ce(Fe),!H.current){var Ke=X(Fe),He=ei(Ke);He.isNaN()||me(He,!0)}_==null||_(Fe),we(function(){var ze=Fe;w||(ze=Fe.replace(/。/g,".")),ze!==Fe&&Oe(ze)})},Ne=function(){H.current=!0},he=function(){H.current=!1,_e(M.current.value)},ke=function(Fe){_e(Fe.target.value)},xe=function(Fe){var Ke;if(!(Fe&&ae||!Fe&&ie)){z.current=!1;var He=ei(V.current?Q4(c):c);Fe||(He=He.negate());var ze=(J||ei(0)).add(He.toString()),Ze=me(ze,!1);P==null||P(J4(C,Ze),{offset:V.current?Q4(c):c,type:Fe?"up":"down"}),(Ke=M.current)===null||Ke===void 0||Ke.focus()}},ge=function(Fe){var Ke=ei(X(fe)),He;Ke.isNaN()?He=me(J,Fe):He=me(Ke,Fe),d!==void 0?Te(J,!1):He.isNaN()||Te(He,!1)},Pe=function(){z.current=!0},Ve=function(Fe){var Ke=Fe.key,He=Fe.shiftKey;z.current=!0,V.current=He,Ke==="Enter"&&(H.current||(z.current=!1),ge(!1),$==null||$(Fe)),b!==!1&&!H.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ke)&&(xe(Ke==="Up"||Ke==="ArrowUp"),Fe.preventDefault())},Ae=function(){z.current=!1,V.current=!1};l.useEffect(function(){if(S&&j){var Oe=function(He){xe(He.deltaY<0),He.preventDefault()},Fe=M.current;if(Fe)return Fe.addEventListener("wheel",Oe,{passive:!1}),function(){return Fe.removeEventListener("wheel",Oe)}}});var be=function(){A&&ge(!1),B(!1),z.current=!1};return cc(function(){J.isInvalidate()||Te(J,!1)},[I,E]),cc(function(){var Oe=ei(d);G(Oe);var Fe=ei(X(fe));(!Oe.equals(Fe)||!z.current||E)&&Te(Oe,z.current)},[d]),cc(function(){E&&Me()},[fe]),l.createElement("div",{ref:O,className:ne(n,r,W(W(W(W(W({},"".concat(n,"-focused"),j),"".concat(n,"-disabled"),f),"".concat(n,"-readonly"),p),"".concat(n,"-not-a-number"),J.isNaN()),"".concat(n,"-out-of-range"),!J.isInvalidate()&&!Ce(J))),style:a,onFocus:function(){B(!0)},onBlur:be,onKeyDown:Ve,onKeyUp:Ae,onCompositionStart:Ne,onCompositionEnd:he,onBeforeInput:Pe},x&&l.createElement(Mve,{prefixCls:n,upNode:g,downNode:h,upDisabled:ae,downDisabled:ie,onStep:xe}),l.createElement("div",{className:"".concat(k,"-wrap")},l.createElement("input",pe({autoComplete:"off",role:"spinbutton","aria-valuemin":o,"aria-valuemax":i,"aria-valuenow":J.isInvalidate()?null:J.toString(),step:c},N,{ref:ea(M,t),className:k,value:fe,onChange:ke,disabled:f,readOnly:p}))))}),jve=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=xt(e,Lve),h=l.useRef(null),b=l.useRef(null),y=l.useRef(null),S=function(x){y.current&&iG(y.current,x)};return l.useImperativeHandle(t,function(){return $ve(y.current,{nativeElement:h.current.nativeElement||b.current})}),l.createElement(zO,{className:f,triggerFocus:S,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:h},l.createElement(Fve,pe({prefixCls:o,disabled:n,ref:y,domRef:b,className:p==null?void 0:p.input},g)))});const Bve=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},lm(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new an(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},tP=(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}}}},zve=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:h,motionDurationMid:b,handleHoverColor:y,handleOpacity:S,paddingInline:v,paddingBlock:x,handleBg:C,handleActiveBg:w,colorTextDisabled:E,borderRadiusSM:I,borderRadiusLG:T,controlWidth:R,handleBorderColor:_,filledHandleBg:$,lineHeightLG:P,calc:D}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nn(e)),cm(e)),{display:"inline-block",width:R,margin:0,padding:0,borderRadius:a}),OO(e,{[`${t}-handler-wrap`]:{background:C,[`${t}-handler-down`]:{borderBlockStart:`${K(n)} ${r} ${_}`}}})),kO(e,{[`${t}-handler-wrap`]:{background:$,[`${t}-handler-down`]:{borderBlockStart:`${K(n)} ${r} ${_}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:C}}})),NO(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:i,lineHeight:P,borderRadius:T,[`input${t}-input`]:{height:D(s).sub(D(n).mul(2)).equal(),padding:`${K(p)} ${K(g)}`}},"&-sm":{padding:0,fontSize:o,borderRadius:I,[`input${t}-input`]:{height:D(c).sub(D(n).mul(2)).equal(),padding:`${K(f)} ${K(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},nn(e)),zW(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:T,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:I}}},LW(e)),jW(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({},nn(e)),{width:"100%",padding:`${K(x)} ${K(v)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${b} linear`,appearance:"textfield",fontSize:"inherit"}),AO(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:S,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${b}`,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:h,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${K(n)} ${r} ${_}`,transition:`all ${b} linear`,"&:active":{background:w},"&:hover":{height:"60%",[` + ${t}-handler-up-inner, + ${t}-handler-down-inner + `]:{color:y}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},zd()),{color:h,transition:`all ${b} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},tP(e,"lg")),tP(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}})}]},Hve=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:`${K(n)} 0`}},cm(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:i,paddingInlineStart:c,[`input${t}-input`]:{padding:`${K(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${K(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},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},Uve=on("InputNumber",e=>{const t=zt(e,sm(e));return[zve(t),Hve(t),qg(t)]},Bve,{unitless:{handleOpacity:!0}});var Vve=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(st),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:h,readOnly:b,status:y,controls:S,variant:v}=e,x=Vve(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),C=n("input-number",u),w=Un(C),[E,I,T]=Uve(C,w),{compactSize:R,compactItemClassnames:_}=Os(C,r);let $=l.createElement(xve,{className:`${C}-handler-up-inner`}),P=l.createElement(D0,{className:`${C}-handler-down-inner`});const D=typeof S=="boolean"?S:void 0;typeof S=="object"&&($=typeof S.upIcon>"u"?$:l.createElement("span",{className:`${C}-handler-up-inner`},S.upIcon),P=typeof S.downIcon>"u"?P:l.createElement("span",{className:`${C}-handler-down-inner`},S.downIcon));const{hasFeedback:A,status:O,isFormItemInput:N,feedbackIcon:k}=l.useContext(zr),M=Nl(O,y),L=Er(J=>{var G;return(G=s??R)!==null&&G!==void 0?G:J}),F=l.useContext(Zr),j=c??F,[B,z]=Dc("inputNumber",v,h),H=A&&l.createElement(l.Fragment,null,k),V=ne({[`${C}-lg`]:L==="large",[`${C}-sm`]:L==="small",[`${C}-rtl`]:r==="rtl",[`${C}-in-form-item`]:N},I),te=`${C}-group`,Y=l.createElement(jve,Object.assign({ref:a,disabled:j,className:ne(T,w,o,i,_),upHandler:$,downHandler:P,prefixCls:C,readOnly:b,controls:D,prefix:p,suffix:H||g,addonBefore:d&&l.createElement(Ui,{form:!0,space:!0},d),addonAfter:f&&l.createElement(Ui,{form:!0,space:!0},f),classNames:{input:V,variant:ne({[`${C}-${B}`]:z},Is(C,M,A)),affixWrapper:ne({[`${C}-affix-wrapper-sm`]:L==="small",[`${C}-affix-wrapper-lg`]:L==="large",[`${C}-affix-wrapper-rtl`]:r==="rtl",[`${C}-affix-wrapper-without-controls`]:S===!1},I),wrapper:ne({[`${te}-rtl`]:r==="rtl"},I),groupWrapper:ne({[`${C}-group-wrapper-sm`]:L==="small",[`${C}-group-wrapper-lg`]:L==="large",[`${C}-group-wrapper-rtl`]:r==="rtl",[`${C}-group-wrapper-${B}`]:z},Is(`${C}-group-wrapper`,M,A),I)}},x));return E(Y)}),cG=lG,Wve=e=>l.createElement(yi,{theme:{components:{InputNumber:{handleVisible:!0}}}},l.createElement(lG,Object.assign({},e)));cG._InternalPanelDoNotUseOrYouWillBeFired=Wve;const Gve=e=>{const{getPrefixCls:t,direction:n}=l.useContext(st),{prefixCls:r,className:a}=e,o=t("input-group",r),i=t("input"),[s,c]=PO(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(zr),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(zr.Provider,{value:f},e.children)))},uG=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:se.createElement(Pc,null)}),t};function dG(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 qve(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var Kve=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:h,style:b,styles:y,rootClassName:S,onChange:v,classNames:x,variant:C}=e,w=Kve(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:E,direction:I,input:T}=se.useContext(st),R=E("input",r),_=l.useRef(null),$=Un(R),[P,D,A]=PO(R,$),{compactSize:O,compactItemClassnames:N}=Os(R,I),k=Er(Q=>{var ee;return(ee=i??O)!==null&&ee!==void 0?ee:Q}),M=se.useContext(Zr),L=s??M,{status:F,hasFeedback:j,feedbackIcon:B}=l.useContext(zr),z=Nl(F,o),H=qve(e)||!!j;l.useRef(H);const V=dG(_,!0),te=Q=>{V(),c==null||c(Q)},Y=Q=>{V(),u==null||u(Q)},J=Q=>{V(),v==null||v(Q)},G=(j||d)&&se.createElement(se.Fragment,null,d,j&&B),U=uG(f??(T==null?void 0:T.allowClear)),[q,X]=Dc("input",C,a);return P(se.createElement(_ve,Object.assign({ref:ea(t,_),prefixCls:R,autoComplete:T==null?void 0:T.autoComplete},w,{disabled:L,onBlur:te,onFocus:Y,style:Object.assign(Object.assign({},T==null?void 0:T.style),b),styles:Object.assign(Object.assign({},T==null?void 0:T.styles),y),suffix:G,allowClear:U,className:ne(h,S,A,$,N,T==null?void 0:T.className),onChange:J,addonBefore:g&&se.createElement(Ui,{form:!0,space:!0},g),addonAfter:p&&se.createElement(Ui,{form:!0,space:!0},p),classNames:Object.assign(Object.assign(Object.assign({},x),T==null?void 0:T.classNames),{input:ne({[`${R}-sm`]:k==="small",[`${R}-lg`]:k==="large",[`${R}-rtl`]:I==="rtl"},x==null?void 0:x.input,(n=T==null?void 0:T.classNames)===null||n===void 0?void 0:n.input,D),variant:ne({[`${R}-${q}`]:X},Is(R,z)),affixWrapper:ne({[`${R}-affix-wrapper-sm`]:k==="small",[`${R}-affix-wrapper-lg`]:k==="large",[`${R}-affix-wrapper-rtl`]:I==="rtl"},D),wrapper:ne({[`${R}-group-rtl`]:I==="rtl"},D),groupWrapper:ne({[`${R}-group-wrapper-sm`]:k==="small",[`${R}-group-wrapper-lg`]:k==="large",[`${R}-group-wrapper-rtl`]:I==="rtl",[`${R}-group-wrapper-${q}`]:X},Is(`${R}-group-wrapper`,z,j),D)})})))}),Xve=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}}}},Zve=on(["Input","OTP"],e=>{const t=zt(e,sm(e));return[Xve(t)]},lm);var Qve=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=Qve(e,["value","onChange","onActiveChange","index","mask"]),c=n&&typeof i=="string"?i:n,u=h=>{r(o,h.target.value)},d=l.useRef(null);l.useImperativeHandle(t,()=>d.current);const f=()=>{Ut(()=>{var h;const b=(h=d.current)===null||h===void 0?void 0:h.input;document.activeElement===b&&b&&b.select()})},p=h=>{let{key:b}=h;b==="ArrowLeft"?a(o-1):b==="ArrowRight"&&a(o+1),f()},g=h=>{h.key==="Backspace"&&!n&&a(o-1),f()};return l.createElement(ty,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 ebe=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,h=ebe(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:b,direction:y}=l.useContext(st),S=b("otp",n),v=Yn(h,{aria:!0,data:!0,attr:!0}),x=Un(S),[C,w,E]=Zve(S,x),I=Er(j=>a??j),T=l.useContext(zr),R=Nl(T.status,f),_=l.useMemo(()=>Object.assign(Object.assign({},T),{status:R,hasFeedback:!1,feedbackIcon:null}),[T,R]),$=l.useRef(null),P=l.useRef({});l.useImperativeHandle(t,()=>({focus:()=>{var j;(j=P.current[0])===null||j===void 0||j.focus()},blur:()=>{var j;for(let B=0;Bc?c(j):j,[A,O]=l.useState(vh(D(o||"")));l.useEffect(()=>{i!==void 0&&O(vh(i))},[i]);const N=Wt(j=>{O(j),s&&j.length===r&&j.every(B=>B)&&j.some((B,z)=>A[z]!==B)&&s(j.join(""))}),k=Wt((j,B)=>{let z=De(A);for(let V=0;V=0&&!z[V];V-=1)z.pop();const H=D(z.map(V=>V||" ").join(""));return z=vh(H).map((V,te)=>V===" "&&!z[te]?z[te]:V),z}),M=(j,B)=>{var z;const H=k(j,B),V=Math.min(j+B.length,r-1);V!==j&&((z=P.current[V])===null||z===void 0||z.focus()),N(H)},L=j=>{var B;(B=P.current[j])===null||B===void 0||B.focus()},F={variant:u,disabled:d,status:R,mask:g};return C(l.createElement("div",Object.assign({},v,{ref:$,className:ne(S,{[`${S}-sm`]:I==="small",[`${S}-lg`]:I==="large",[`${S}-rtl`]:y==="rtl"},E,w)}),l.createElement(zr.Provider,{value:_},Array.from({length:r}).map((j,B)=>{const z=`otp-${B}`,H=A[B]||"";return l.createElement(Jve,Object.assign({ref:V=>{P.current[B]=V},key:z,index:B,size:I,htmlSize:1,className:`${S}-input`,onChange:M,value:H,onActiveChange:L,autoFocus:B===0&&p},F))}))))});var nbe={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"},rbe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:nbe}))},abe=l.forwardRef(rbe),obe={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"},ibe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:obe}))},Sl=l.forwardRef(ibe),sbe=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(Sl,null):l.createElement(abe,null),cbe={click:"onClick",hover:"onMouseOver"},ube=l.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:a=!0,iconRender:o=lbe}=e,i=l.useContext(Zr),s=n??i,c=typeof a=="object"&&a.visible!==void 0,[u,d]=l.useState(()=>c?a.visible:!1),f=l.useRef(null);l.useEffect(()=>{c&&d(a.visible)},[c,a]);const p=dG(f),g=()=>{s||(u&&p(),d(_=>{var $;const P=!_;return typeof a=="object"&&(($=a.onVisibleChange)===null||$===void 0||$.call(a,P)),P}))},h=_=>{const $=cbe[r]||"",P=o(u),D={[$]:g,className:`${_}-icon`,key:"passwordIcon",onMouseDown:A=>{A.preventDefault()},onMouseUp:A=>{A.preventDefault()}};return l.cloneElement(l.isValidElement(P)?P:l.createElement("span",null,P),D)},{className:b,prefixCls:y,inputPrefixCls:S,size:v}=e,x=sbe(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:C}=l.useContext(st),w=C("input",S),E=C("input-password",y),I=a&&h(E),T=ne(E,b,{[`${E}-${v}`]:!!v}),R=Object.assign(Object.assign({},On(x,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:T,prefixCls:w,suffix:I});return v&&(R.size=v),l.createElement(ty,Object.assign({ref:ea(t,f)},R))});var dbe=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:h}=e,b=dbe(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:y,direction:S}=l.useContext(st),v=l.useRef(!1),x=y("input-search",n),C=y("input",r),{compactSize:w}=Os(x,S),E=Er(F=>{var j;return(j=o??w)!==null&&j!==void 0?j:F}),I=l.useRef(null),T=F=>{F!=null&&F.target&&F.type==="click"&&f&&f(F.target.value,F,{source:"clear"}),p==null||p(F)},R=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)},P=typeof s=="boolean"?l.createElement(rm,null):null,D=`${x}-button`;let A;const O=s||{},N=O.type&&O.type.__ANT_BUTTON===!0;N||O.type==="button"?A=Cr(O,Object.assign({onMouseDown:R,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:D,size:E}:{})):A=l.createElement(ut,{className:D,type:s?"primary":void 0,size:E,disabled:d,key:"enterButton",onMouseDown:R,onClick:_,loading:u,icon:P},s),c&&(A=[A,Cr(c,{key:"addonAfter"})]);const k=ne(x,{[`${x}-rtl`]:S==="rtl",[`${x}-${E}`]:!!E,[`${x}-with-button`]:!!s},a),M=F=>{v.current=!0,g==null||g(F)},L=F=>{v.current=!1,h==null||h(F)};return l.createElement(ty,Object.assign({ref:ea(I,t),onPressEnter:$},b,{size:E,onCompositionStart:M,onCompositionEnd:L,prefixCls:C,addonAfter:A,suffix:i,onChange:T,className:k,disabled:d}))});var pbe=` + min-height:0 !important; + max-height:none !important; + height:0 !important; + visibility:hidden !important; + overflow:hidden !important; + position:absolute !important; + z-index:-1000 !important; + top:0 !important; + right:0 !important; + pointer-events: none !important; +`,gbe=["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"],u1={},_o;function mbe(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&&u1[n])return u1[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=gbe.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),c={sizingStyle:s,paddingSize:o,borderSize:i,boxSizing:a};return t&&n&&(u1[n]=c),c}function hbe(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;_o||(_o=document.createElement("textarea"),_o.setAttribute("tab-index","-1"),_o.setAttribute("aria-hidden","true"),document.body.appendChild(_o)),e.getAttribute("wrap")?_o.setAttribute("wrap",e.getAttribute("wrap")):_o.removeAttribute("wrap");var a=mbe(e,t),o=a.paddingSize,i=a.borderSize,s=a.boxSizing,c=a.sizingStyle;_o.setAttribute("style","".concat(c,";").concat(pbe)),_o.value=e.value||e.placeholder||"";var u=void 0,d=void 0,f,p=_o.scrollHeight;if(s==="border-box"?p+=i:s==="content-box"&&(p-=o),n!==null||r!==null){_o.value=" ";var g=_o.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 h={height:p,overflowY:f,resize:"none"};return u&&(h.minHeight=u),d&&(h.maxHeight=d),h}var vbe=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],d1=0,f1=1,p1=2,bbe=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=xt(n,vbe),g=sn(a,{value:o,postState:function(H){return H??""}}),h=re(g,2),b=h[0],y=h[1],S=function(H){y(H.target.value),f==null||f(H)},v=l.useRef();l.useImperativeHandle(t,function(){return{textArea:v.current}});var x=l.useMemo(function(){return i&&ht(i)==="object"?[i.minRows,i.maxRows]:[]},[i]),C=re(x,2),w=C[0],E=C[1],I=!!i,T=function(){try{if(document.activeElement===v.current){var H=v.current,V=H.selectionStart,te=H.selectionEnd,Y=H.scrollTop;v.current.setSelectionRange(V,te),v.current.scrollTop=Y}}catch{}},R=l.useState(p1),_=re(R,2),$=_[0],P=_[1],D=l.useState(),A=re(D,2),O=A[0],N=A[1],k=function(){P(d1)};Xt(function(){I&&k()},[o,w,E,I]),Xt(function(){if($===d1)P(f1);else if($===f1){var z=hbe(v.current,!1,w,E);P(p1),N(z)}else T()},[$]);var M=l.useRef(),L=function(){Ut.cancel(M.current)},F=function(H){$===p1&&(s==null||s(H),i&&(L(),M.current=Ut(function(){k()})))};l.useEffect(function(){return L},[]);var j=I?O:null,B=Z(Z({},u),j);return($===d1||$===f1)&&(B.overflowY="hidden",B.overflowX="hidden"),l.createElement(sa,{onResize:F,disabled:!(i||s)},l.createElement("textarea",pe({},p,{ref:v,style:B,className:ne(r,c,W({},"".concat(r,"-disabled"),d)),disabled:d,value:b,onChange:S})))}),ybe=["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"],Sbe=se.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,h=g===void 0?"rc-textarea":g,b=e.showCount,y=e.count,S=e.className,v=e.style,x=e.disabled,C=e.hidden,w=e.classNames,E=e.styles,I=e.onResize,T=e.onClear,R=e.onPressEnter,_=e.readOnly,$=e.autoSize,P=e.onKeyDown,D=xt(e,ybe),A=sn(r,{value:a,defaultValue:r}),O=re(A,2),N=O[0],k=O[1],M=N==null?"":String(N),L=se.useState(!1),F=re(L,2),j=F[0],B=F[1],z=se.useRef(!1),H=se.useState(null),V=re(H,2),te=V[0],Y=V[1],J=l.useRef(null),G=l.useRef(null),U=function(){var he;return(he=G.current)===null||he===void 0?void 0:he.textArea},q=function(){U().focus()};l.useImperativeHandle(t,function(){var Ne;return{resizableTextArea:G.current,focus:q,blur:function(){U().blur()},nativeElement:((Ne=J.current)===null||Ne===void 0?void 0:Ne.nativeElement)||U()}}),l.useEffect(function(){B(function(Ne){return!x&&Ne})},[x]);var X=se.useState(null),Q=re(X,2),ee=Q[0],oe=Q[1];se.useEffect(function(){if(ee){var Ne;(Ne=U()).setSelectionRange.apply(Ne,De(ee))}},[ee]);var le=sG(y,b),fe=(n=le.max)!==null&&n!==void 0?n:u,ce=Number(fe)>0,Te=le.strategy(M),Se=!!fe&&Te>fe,ve=function(he,ke){var xe=ke;!z.current&&le.exceedFormatter&&le.max&&le.strategy(ke)>le.max&&(xe=le.exceedFormatter(ke,{max:le.max}),ke!==xe&&oe([U().selectionStart||0,U().selectionEnd||0])),k(xe),bb(he.currentTarget,he,s,xe)},ae=function(he){z.current=!0,d==null||d(he)},ie=function(he){z.current=!1,ve(he,he.currentTarget.value),f==null||f(he)},ue=function(he){ve(he,he.target.value)},ye=function(he){he.key==="Enter"&&R&&R(he),P==null||P(he)},Ee=function(he){B(!0),o==null||o(he)},Me=function(he){B(!1),i==null||i(he)},Ie=function(he){k(""),q(),bb(U(),he,s)},Ce=p,me;le.show&&(le.showFormatter?me=le.showFormatter({value:M,count:Te,maxLength:fe}):me="".concat(Te).concat(ce?" / ".concat(fe):""),Ce=se.createElement(se.Fragment,null,Ce,se.createElement("span",{className:ne("".concat(h,"-data-count"),w==null?void 0:w.count),style:E==null?void 0:E.count},me)));var we=function(he){var ke;I==null||I(he),(ke=U())!==null&&ke!==void 0&&ke.style.height&&Y(!0)},_e=!$&&!b&&!c;return se.createElement(zO,{ref:J,value:M,allowClear:c,handleReset:Ie,suffix:Ce,prefixCls:h,classNames:Z(Z({},w),{},{affixWrapper:ne(w==null?void 0:w.affixWrapper,W(W({},"".concat(h,"-show-count"),b),"".concat(h,"-textarea-allow-clear"),c))}),disabled:x,focused:j,className:ne(S,Se&&"".concat(h,"-out-of-range")),style:Z(Z({},v),te&&!_e?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof me=="string"?me:void 0}},hidden:C,readOnly:_,onClear:T},se.createElement(bbe,pe({},D,{autoSize:$,maxLength:u,onKeyDown:ye,onChange:ue,onFocus:Ee,onBlur:Me,onCompositionStart:ae,onCompositionEnd:ie,className:ne(w==null?void 0:w.textarea),style:Z(Z({},E==null?void 0:E.textarea),{},{resize:v==null?void 0:v.resize}),disabled:x,prefixCls:h,onResize:we,ref:G,readOnly:_})))}),xbe=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:h,variant:b}=e,y=xbe(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:S,direction:v,textArea:x}=l.useContext(st),C=Er(i),w=l.useContext(Zr),E=s??w,{status:I,hasFeedback:T,feedbackIcon:R}=l.useContext(zr),_=Nl(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;Yve((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 P=S("input",a),D=Un(P),[A,O,N]=PO(P,D),[k,M]=Dc("textArea",b,o),L=uG(u??(x==null?void 0:x.allowClear));return A(l.createElement(Sbe,Object.assign({autoComplete:x==null?void 0:x.autoComplete},y,{style:Object.assign(Object.assign({},x==null?void 0:x.style),g),styles:Object.assign(Object.assign({},x==null?void 0:x.styles),h),disabled:E,allowClear:L,className:ne(N,D,p,f,x==null?void 0:x.className),classNames:Object.assign(Object.assign(Object.assign({},d),x==null?void 0:x.classNames),{textarea:ne({[`${P}-sm`]:C==="small",[`${P}-lg`]:C==="large"},O,d==null?void 0:d.textarea,(n=x==null?void 0:x.classNames)===null||n===void 0?void 0:n.textarea),variant:ne({[`${P}-${k}`]:M},Is(P,_)),affixWrapper:ne(`${P}-textarea-affix-wrapper`,{[`${P}-affix-wrapper-rtl`]:v==="rtl",[`${P}-affix-wrapper-sm`]:C==="small",[`${P}-affix-wrapper-lg`]:C==="large",[`${P}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},O)}),prefixCls:P,suffix:T&&l.createElement("span",{className:`${P}-textarea-suffix`},R),ref:$})))}),Jt=ty;Jt.Group=Gve;Jt.Search=fbe;Jt.TextArea=fG;Jt.Password=ube;Jt.OTP=tbe;function OR(e,t,n){return(e-t)/(n-t)}function HO(e,t,n,r){var a=OR(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 Bu(e,t){return Array.isArray(e)?e[t]:e}var jc=l.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),wbe=l.createContext({}),Cbe=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],nP=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,h=e.onMouseEnter,b=xt(e,Cbe),y=l.useContext(jc),S=y.min,v=y.max,x=y.direction,C=y.disabled,w=y.keyboard,E=y.range,I=y.tabIndex,T=y.ariaLabelForHandle,R=y.ariaLabelledByForHandle,_=y.ariaValueTextFormatterForHandle,$=y.styles,P=y.classNames,D="".concat(n,"-handle"),A=function(H){C||o(H,a)},O=function(H){g==null||g(H,a)},N=function(H){h(H,a)},k=function(H){if(!C&&w){var V=null;switch(H.which||H.keyCode){case Le.LEFT:V=x==="ltr"||x==="btt"?-1:1;break;case Le.RIGHT:V=x==="ltr"||x==="btt"?1:-1;break;case Le.UP:V=x!=="ttb"?1:-1;break;case Le.DOWN:V=x!=="ttb"?-1:1;break;case Le.HOME:V="min";break;case Le.END:V="max";break;case Le.PAGE_UP:V=2;break;case Le.PAGE_DOWN:V=-2;break;case Le.BACKSPACE:case Le.DELETE:i(a);break}V!==null&&(H.preventDefault(),f(V,a))}},M=function(H){switch(H.which||H.keyCode){case Le.LEFT:case Le.RIGHT:case Le.UP:case Le.DOWN:case Le.HOME:case Le.END:case Le.PAGE_UP:case Le.PAGE_DOWN:p==null||p();break}},L=HO(x,r,S,v),F={};if(a!==null){var j;F={tabIndex:C?null:Bu(I,a),role:"slider","aria-valuemin":S,"aria-valuemax":v,"aria-valuenow":r,"aria-disabled":C,"aria-label":Bu(T,a),"aria-labelledby":Bu(R,a),"aria-valuetext":(j=Bu(_,a))===null||j===void 0?void 0:j(r),"aria-orientation":x==="ltr"||x==="rtl"?"horizontal":"vertical",onMouseDown:A,onTouchStart:A,onFocus:O,onMouseEnter:N,onKeyDown:k,onKeyUp:M}}var B=l.createElement("div",pe({ref:t,className:ne(D,W(W(W({},"".concat(D,"-").concat(a+1),a!==null&&E),"".concat(D,"-dragging"),u),"".concat(D,"-dragging-delete"),d),P.handle),style:Z(Z(Z({},L),s),$.handle)},F,b));return c&&(B=c(B,{index:a,prefixCls:n,value:r,dragging:u,draggingDelete:d})),B}),Ebe=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],Ibe=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=xt(e,Ebe),g=l.useRef({}),h=l.useState(!1),b=re(h,2),y=b[0],S=b[1],v=l.useState(-1),x=re(v,2),C=x[0],w=x[1],E=function($){w($),S(!0)},I=function($,P){E(P),f==null||f($)},T=function($,P){E(P)};l.useImperativeHandle(t,function(){return{focus:function($){var P;(P=g.current[$])===null||P===void 0||P.focus()},hideHelp:function(){Lr.flushSync(function(){S(!1)})}}});var R=Z({prefixCls:n,onStartMove:a,onOffsetChange:o,render:s,onFocus:I,onMouseEnter:T},p);return l.createElement(l.Fragment,null,i.map(function(_,$){var P=u===$;return l.createElement(nP,pe({ref:function(A){A?g.current[$]=A:delete g.current[$]},dragging:P,draggingDelete:P&&d,style:Bu(r,$),key:$,value:_,valueIndex:$},R))}),c&&y&&l.createElement(nP,pe({key:"a11y"},R,{value:i[C],valueIndex:null,dragging:u!==-1,draggingDelete:d,render:c,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),Tbe=function(t){var n=t.prefixCls,r=t.style,a=t.children,o=t.value,i=t.onClick,s=l.useContext(jc),c=s.min,u=s.max,d=s.direction,f=s.includedStart,p=s.includedEnd,g=s.included,h="".concat(n,"-text"),b=HO(d,o,c,u);return l.createElement("span",{className:ne(h,W({},"".concat(h,"-active"),g&&f<=o&&o<=p)),style:Z(Z({},b),r),onMouseDown:function(S){S.stopPropagation()},onClick:function(){i(o)}},a)},Rbe=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(Tbe,{key:s,prefixCls:o,style:c,value:s,onClick:a},u)})):null},_be=function(t){var n=t.prefixCls,r=t.value,a=t.style,o=t.activeStyle,i=l.useContext(jc),s=i.min,c=i.max,u=i.direction,d=i.included,f=i.includedStart,p=i.includedEnd,g="".concat(n,"-dot"),h=d&&f<=r&&r<=p,b=Z(Z({},HO(u,r,s,c)),typeof a=="function"?a(r):a);return h&&(b=Z(Z({},b),typeof o=="function"?o(r):o)),l.createElement("span",{className:ne(g,W({},"".concat(g,"-active"),h)),style:b})},$be=function(t){var n=t.prefixCls,r=t.marks,a=t.dots,o=t.style,i=t.activeStyle,s=l.useContext(jc),c=s.min,u=s.max,d=s.step,f=l.useMemo(function(){var p=new Set;if(r.forEach(function(h){p.add(h.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(_be,{prefixCls:n,key:p,value:p,style:o,activeStyle:i})}))},rP=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(jc),d=u.direction,f=u.min,p=u.max,g=u.disabled,h=u.range,b=u.classNames,y="".concat(n,"-track"),S=OR(a,f,p),v=OR(o,f,p),x=function(I){!g&&s&&s(I,-1)},C={};switch(d){case"rtl":C.right="".concat(S*100,"%"),C.width="".concat(v*100-S*100,"%");break;case"btt":C.bottom="".concat(S*100,"%"),C.height="".concat(v*100-S*100,"%");break;case"ttb":C.top="".concat(S*100,"%"),C.height="".concat(v*100-S*100,"%");break;default:C.left="".concat(S*100,"%"),C.width="".concat(v*100-S*100,"%")}var w=c||ne(y,W(W({},"".concat(y,"-").concat(i+1),i!==null&&h),"".concat(n,"-track-draggable"),s),b.track);return l.createElement("div",{className:w,style:Z(Z({},C),r),onMouseDown:x,onTouchStart:x})},Obe=function(t){var n=t.prefixCls,r=t.style,a=t.values,o=t.startPoint,i=t.onStartMove,s=l.useContext(jc),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 b=o??d,y=a[0];return[{start:Math.min(b,y),end:Math.max(b,y)}]}for(var S=[],v=0;vNbe&&d3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof b=="number"){var v,x=h[y],C=x+b,w=[];r.forEach(function(_){w.push(_.value)}),w.push(e,t),w.push(s(x));var E=b>0?1:-1;S==="unit"?w.push(s(x+E*n)):w.push(s(C)),w=w.filter(function(_){return _!==null}).filter(function(_){return b<0?_<=x:_>=x}),S==="unit"&&(w=w.filter(function(_){return _!==x}));var I=S==="unit"?x:C;v=w[0];var T=Math.abs(v-I);if(w.forEach(function(_){var $=Math.abs(_-I);$1){var R=De(h);return R[y]=v,g(R,b-E,y,S)}return v}else{if(b==="min")return e;if(b==="max")return t}},d=function(h,b,y){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",v=h[y],x=u(h,b,y,S);return{value:x,changed:x!==v}},f=function(h){return o===null&&h===0||typeof o=="number"&&h3&&arguments[3]!==void 0?arguments[3]:"unit",v=h.map(c),x=v[y],C=u(v,b,y,S);if(v[y]=C,a===!1){var w=o||0;y>0&&v[y-1]!==x&&(v[y]=Math.max(v[y],v[y-1]+w)),y0;R-=1)for(var _=!0;f(v[R]-v[R-1])&&_;){var $=d(v,-1,R-1);v[R-1]=$.value,_=$.changed}for(var P=v.length-1;P>0;P-=1)for(var D=!0;f(v[P]-v[P-1])&&D;){var A=d(v,-1,P-1);v[P-1]=A.value,D=A.changed}for(var O=0;O=0?N:!1},[N,Ce]),we=l.useMemo(function(){return Object.keys(Y||{}).map(function(Ye){var Ge=Y[Ye],yt={value:Number(Ye)};return Ge&&ht(Ge)==="object"&&!l.isValidElement(Ge)&&("label"in Ge||"style"in Ge)?(yt.style=Ge.style,yt.label=Ge.label):yt.label=Ge,yt}).filter(function(Ye){var Ge=Ye.label;return Ge||typeof Ge=="number"}).sort(function(Ye,Ge){return Ye.value-Ge.value})},[Y]),_e=Abe(Me,Ie,Ce,we,A,me),Ne=re(_e,2),he=Ne[0],ke=Ne[1],xe=sn(E,{value:w}),ge=re(xe,2),Pe=ge[0],Ve=ge[1],Ae=l.useMemo(function(){var Ye=Pe==null?[]:Array.isArray(Pe)?Pe:[Pe],Ge=re(Ye,1),yt=Ge[0],Tt=yt===void 0?Me:yt,Pt=Pe===null?[]:[Tt];if(ae){if(Pt=De(Ye),T||Pe===void 0){var en=T>=0?T+1:2;for(Pt=Pt.slice(0,en);Pt.length=0&&fe.current.focus(Ye)}$t(null)},[Rt]);var lt=l.useMemo(function(){return ue&&Ce===null?!1:ue},[ue,Ce]),ot=Wt(function(Ye,Ge){ft(Ye,Ge),_==null||_(be(Ae))}),et=Ze!==-1;l.useEffect(function(){if(!et){var Ye=Ae.lastIndexOf(je);fe.current.focus(Ye)}},[et]);var bt=l.useMemo(function(){return De(mt).sort(function(Ye,Ge){return Ye-Ge})},[mt]),rt=l.useMemo(function(){return ae?[bt[0],bt[bt.length-1]]:[Me,bt[0]]},[bt,ae,Me]),St=re(rt,2),Et=St[0],tt=St[1];l.useImperativeHandle(t,function(){return{focus:function(){fe.current.focus(0)},blur:function(){var Ge,yt=document,Tt=yt.activeElement;(Ge=ce.current)!==null&&Ge!==void 0&&Ge.contains(Tt)&&(Tt==null||Tt.blur())}}}),l.useEffect(function(){p&&fe.current.focus(0)},[]);var at=l.useMemo(function(){return{min:Me,max:Ie,direction:Te,disabled:u,keyboard:f,step:Ce,included:F,includedStart:Et,includedEnd:tt,range:ae,tabIndex:Q,ariaLabelForHandle:ee,ariaLabelledByForHandle:oe,ariaValueTextFormatterForHandle:le,styles:s||{},classNames:i||{}}},[Me,Ie,Te,u,f,Ce,F,Et,tt,ae,Q,ee,oe,le,s,i]);return l.createElement(jc.Provider,{value:at},l.createElement("div",{ref:ce,className:ne(r,a,W(W(W(W({},"".concat(r,"-disabled"),u),"".concat(r,"-vertical"),M),"".concat(r,"-horizontal"),!M),"".concat(r,"-with-marks"),we.length)),style:o,onMouseDown:We},l.createElement("div",{className:ne("".concat(r,"-rail"),i==null?void 0:i.rail),style:Z(Z({},H),s==null?void 0:s.rail)}),q!==!1&&l.createElement(Obe,{prefixCls:r,style:B,values:Ae,startPoint:j,onStartMove:lt?ot:void 0}),l.createElement($be,{prefixCls:r,marks:we,dots:J,style:V,activeStyle:te}),l.createElement(Ibe,{ref:fe,prefixCls:r,style:z,values:mt,draggingIndex:Ze,draggingDelete:Je,onStartMove:ot,onOffsetChange:vt,onFocus:g,onBlur:h,handleRender:G,activeHandleRender:U,onChangeComplete:Fe,onDelete:ie?Ke:void 0}),l.createElement(Rbe,{prefixCls:r,marks:we,onClick:qe})))});const oP=l.forwardRef((e,t)=>{const{open:n,draggingDelete:r}=e,a=l.useRef(null),o=n&&!r,i=l.useRef(null);function s(){Ut.cancel(i.current),i.current=null}function c(){i.current=Ut(()=>{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(Zt,Object.assign({ref:ea(a,t)},e,{open:o}))}),Dbe=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:h,handleLineWidthHover:b,motionDurationMid:y}=e;return{[t]:Object.assign(Object.assign({},nn(e)),{position:"relative",height:r,margin:`${K(i)} ${K(o)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${K(o)} ${K(i)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${y}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${y}`},[`${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 ${K(h)} ${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(h).mul(-1).equal(),insetBlockStart:u(h).mul(-1).equal(),width:u(d).add(u(h).mul(2)).equal(),height:u(d).add(u(h).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:d,height:d,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${K(h)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` + inset-inline-start ${y}, + inset-block-start ${y}, + width ${y}, + height ${y}, + box-shadow ${y}, + outline ${y} + `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(f).sub(d).div(2).add(b).mul(-1).equal(),insetBlockStart:u(f).sub(d).div(2).add(b).mul(-1).equal(),width:u(f).add(u(b).mul(2)).equal(),height:u(f).add(u(b).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${K(b)} ${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:`${K(h)} 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 ${K(h)} ${c}`,insetInlineStart:0,insetBlockStart:0},[` + ${t}-mark-text, + ${t}-dot + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},pG=(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(),h=s(a).sub(r).div(2).equal(),b=t?{borderWidth:`${K(h)} 0`,transform:`translateY(${K(s(h).mul(-1).equal())})`}:{borderWidth:`0 ${K(h)}`,transform:`translateX(${K(e.calc(h).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({},b),[`${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()}}},Lbe=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},pG(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},Fbe=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},pG(e,!1)),{height:"100%"})}},jbe=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 an(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 an(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},Bbe=on("Slider",e=>{const t=zt(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[Dbe(t),Lbe(t),Fbe(t)]},jbe),zbe=l.createContext({});function g1(){const[e,t]=l.useState(!1),n=l.useRef(),r=()=>{Ut.cancel(n.current)},a=o=>{r(),o?t(o):n.current=Ut(()=>{t(o)})};return l.useEffect(()=>r,[]),[e,a]}var Hbe=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 Vbe=se.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:h}=e,b=Hbe(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:y}=e,{direction:S,slider:v,getPrefixCls:x,getPopupContainer:C}=se.useContext(st),w=se.useContext(Zr),E=s??w,{handleRender:I,direction:T}=se.useContext(zbe),_=(T||S)==="rtl",[$,P]=g1(),[D,A]=g1(),O=Object.assign({},g),{open:N,placement:k,getPopupContainer:M,prefixCls:L,formatter:F}=O,j=N??d,B=($||D)&&j!==!1,z=Ube(F,u),[H,V]=g1(),te=fe=>{h==null||h(fe),V(!1)},Y=(fe,ce)=>fe||(ce?_?"left":"right":"top"),J=x("slider",n),[G,U,q]=Bbe(J),X=ne(a,v==null?void 0:v.className,o,{[`${J}-rtl`]:_,[`${J}-lock`]:H},U,q);_&&!b.vertical&&(b.reverse=!b.reverse),se.useEffect(()=>{const fe=()=>{Ut(()=>{A(!1)},1)};return document.addEventListener("mouseup",fe),()=>{document.removeEventListener("mouseup",fe)}},[]);const Q=r&&!j,ee=I||((fe,ce)=>{const{index:Te}=ce,Se=fe.props;function ve(ye,Ee,Me){var Ie,Ce,me,we;Me&&((Ce=(Ie=b)[ye])===null||Ce===void 0||Ce.call(Ie,Ee)),(we=(me=Se)[ye])===null||we===void 0||we.call(me,Ee)}const ae=Object.assign(Object.assign({},Se),{onMouseEnter:ye=>{P(!0),ve("onMouseEnter",ye)},onMouseLeave:ye=>{P(!1),ve("onMouseLeave",ye)},onMouseDown:ye=>{A(!0),V(!0),ve("onMouseDown",ye)},onFocus:ye=>{var Ee;A(!0),(Ee=b.onFocus)===null||Ee===void 0||Ee.call(b,ye),ve("onFocus",ye,!0)},onBlur:ye=>{var Ee;A(!1),(Ee=b.onBlur)===null||Ee===void 0||Ee.call(b,ye),ve("onBlur",ye,!0)}}),ie=se.cloneElement(fe,ae),ue=(!!j||B)&&z!==null;return Q?ie:se.createElement(oP,Object.assign({},O,{prefixCls:x("tooltip",L??c),title:z?z(ce.value):"",open:ue,placement:Y(k??p,y),key:Te,overlayClassName:`${J}-tooltip`,getPopupContainer:M||f||C}),ie)}),oe=Q?(fe,ce)=>{const Te=se.cloneElement(fe,{style:Object.assign(Object.assign({},fe.props.style),{visibility:"hidden"})});return se.createElement(oP,Object.assign({},O,{prefixCls:x("tooltip",L??c),title:z?z(ce.value):"",open:z!==null&&B,placement:Y(k??p,y),key:"tooltip",overlayClassName:`${J}-tooltip`,getPopupContainer:M||f||C,draggingDelete:ce.draggingDelete}),Te)}:void 0,le=Object.assign(Object.assign({},v==null?void 0:v.style),i);return G(se.createElement(Pbe,Object.assign({},b,{step:b.step,range:r,className:X,style:le,disabled:E,ref:t,prefixCls:J,handleRender:ee,activeHandleRender:oe,onChangeComplete:te})))});var Wbe={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"},Gbe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Wbe}))},gG=l.forwardRef(Gbe),qbe={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"},Kbe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:qbe}))},mG=l.forwardRef(Kbe),Ybe={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"},Xbe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Ybe}))},Zbe=l.forwardRef(Xbe);function Qbe(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 Jbe(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 UO(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 hG(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=dO(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[e0e,t0e]=["week","WeekPicker"],[n0e,r0e]=["month","MonthPicker"],[a0e,o0e]=["year","YearPicker"],[i0e,s0e]=["quarter","QuarterPicker"],[vG,iP]=["time","TimePicker"],l0e=e=>l.createElement(ut,Object.assign({size:"small",type:"primary"},e));function bG(e){return l.useMemo(()=>Object.assign({button:l0e},e),[e])}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);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:h,popupClassName:b,dropdownClassName:y,status:S,rootClassName:v,variant:x,picker:C}=n,w=c0e(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),E=l.useRef(null),{getPrefixCls:I,direction:T,getPopupContainer:R,rangePicker:_}=l.useContext(st),$=I("picker",o),{compactSize:P,compactItemClassnames:D}=Os($,T),A=I(),[O,N]=Dc("rangePicker",x,g),k=Un($),[M,L,F]=HW($,k),[j]=hG(n,$),B=bG(s),z=Er(ee=>{var oe;return(oe=f??P)!==null&&oe!==void 0?oe:ee}),H=l.useContext(Zr),V=p??H,te=l.useContext(zr),{hasFeedback:Y,status:J,feedbackIcon:G}=te,U=l.createElement(l.Fragment,null,C===vG?l.createElement(mG,null):l.createElement(gG,null),Y&&G);l.useImperativeHandle(r,()=>E.current);const[q]=qi("Calendar",ob),X=Object.assign(Object.assign({},q),n.locale),[Q]=Si("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return M(l.createElement(Ui,{space:!0},l.createElement(Gge,Object.assign({separator:l.createElement("span",{"aria-label":"to",className:`${$}-separator`},l.createElement(Zbe,null)),disabled:V,ref:E,popupAlign:UO(T,d),placement:d,placeholder:Jbe(X,C,h),suffixIcon:U,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:C},w,{className:ne({[`${$}-${z}`]:z,[`${$}-${O}`]:N},Is($,Nl(J,S),Y),L,D,c,_==null?void 0:_.className,F,k,v),style:Object.assign(Object.assign({},_==null?void 0:_.style),u),locale:X.lang,prefixCls:$,getPopupContainer:i||R,generateConfig:e,components:B,direction:T,classNames:{popup:ne(L,b||y,F,k,v)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:Q})},allowClear:j}))))});var d0e=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===iP?"timePicker":"datePicker";return l.forwardRef((p,g)=>{var h;const{prefixCls:b,getPopupContainer:y,components:S,style:v,className:x,rootClassName:C,size:w,bordered:E,placement:I,placeholder:T,popupClassName:R,dropdownClassName:_,disabled:$,status:P,variant:D,onCalendarChange:A}=p,O=d0e(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(st),F=N("picker",b),{compactSize:j,compactItemClassnames:B}=Os(F,k),z=l.useRef(null),[H,V]=Dc("datePicker",D,E),te=Un(F),[Y,J,G]=HW(F,te);l.useImperativeHandle(g,()=>z.current);const U={showToday:!0},q=c||p.picker,X=N(),{onSelect:Q,multiple:ee}=O,oe=Q&&c==="time"&&!ee,le=(we,_e,Ne)=>{A==null||A(we,_e,Ne),oe&&Q(we)},[fe,ce]=hG(p,F),Te=bG(S),Se=Er(we=>{var _e;return(_e=w??j)!==null&&_e!==void 0?_e:we}),ve=l.useContext(Zr),ae=$??ve,ie=l.useContext(zr),{hasFeedback:ue,status:ye,feedbackIcon:Ee}=ie,Me=l.createElement(l.Fragment,null,q==="time"?l.createElement(mG,null):l.createElement(gG,null),ue&&Ee),[Ie]=qi("DatePicker",ob),Ce=Object.assign(Object.assign({},Ie),p.locale),[me]=Si("DatePicker",(h=p.popupStyle)===null||h===void 0?void 0:h.zIndex);return Y(l.createElement(Ui,{space:!0},l.createElement(Qge,Object.assign({ref:z,placeholder:Qbe(Ce,q,T),suffixIcon:Me,dropdownAlign:UO(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:`${X}-slide-up`,picker:c,onCalendarChange:le},U,O,{locale:Ce.lang,className:ne({[`${F}-${Se}`]:Se,[`${F}-${H}`]:V},Is(F,Nl(ye,P),ue),J,B,L==null?void 0:L.className,x,G,te,C),style:Object.assign(Object.assign({},L==null?void 0:L.style),v),prefixCls:F,getPopupContainer:y||M,generateConfig:e,components:Te,direction:k,disabled:ae,classNames:{popup:ne(J,G,te,C,R||_)},styles:{popup:Object.assign(Object.assign({},p.popupStyle),{zIndex:me})},allowClear:fe,removeIcon:ce}))))})},n=t(),r=t(e0e,t0e),a=t(n0e,r0e),o=t(a0e,o0e),i=t(i0e,s0e),s=t(vG,iP);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:o,TimePicker:s,QuarterPicker:i}},yG=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:o,QuarterPicker:i}=f0e(e),s=u0e(e),c=t;return c.WeekPicker=n,c.MonthPicker=r,c.YearPicker=a,c.RangePicker=s,c.TimePicker=o,c.QuarterPicker=i,c},ef=yG(nge);function SG(e){const t=UO(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const p0e=Jg(ef,"picker",null,SG);ef._InternalPanelDoNotUseOrYouWillBeFired=p0e;const g0e=Jg(ef.RangePicker,"picker",null,SG);ef._InternalRangePanelDoNotUseOrYouWillBeFired=g0e;ef.generatePicker=yG;var sP=l.createContext(null),xG=l.createContext({}),m0e=["prefixCls","className","containerRef"],h0e=function(t){var n=t.prefixCls,r=t.className,a=t.containerRef,o=xt(t,m0e),i=l.useContext(xG),s=i.panel,c=$s(s,a);return l.createElement("div",pe({className:ne("".concat(n,"-content"),r),role:"dialog",ref:c},Yn(t,{aria:!0}),{"aria-modal":"true"},o))};function lP(e){return typeof e=="string"&&String(Number(e))===e?(vn(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var cP={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function v0e(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,h=e.rootClassName,b=e.rootStyle,y=e.zIndex,S=e.className,v=e.id,x=e.style,C=e.motion,w=e.width,E=e.height,I=e.children,T=e.mask,R=e.maskClosable,_=e.maskMotion,$=e.maskClassName,P=e.maskStyle,D=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(),V=l.useRef();l.useImperativeHandle(t,function(){return z.current});var te=function(ae){var ie=ae.keyCode,ue=ae.shiftKey;switch(ie){case Le.TAB:{if(ie===Le.TAB){if(!ue&&document.activeElement===V.current){var ye;(ye=H.current)===null||ye===void 0||ye.focus({preventScroll:!0})}else if(ue&&document.activeElement===H.current){var Ee;(Ee=V.current)===null||Ee===void 0||Ee.focus({preventScroll:!0})}}break}case Le.ESC:{A&&p&&(ae.stopPropagation(),A(ae));break}}};l.useEffect(function(){if(i&&f){var ve;(ve=z.current)===null||ve===void 0||ve.focus({preventScroll:!0})}},[i]);var Y=l.useState(!1),J=re(Y,2),G=J[0],U=J[1],q=l.useContext(sP),X;typeof u=="boolean"?X=u?{}:{distance:0}:X=u||{};var Q=(n=(r=(a=X)===null||a===void 0?void 0:a.distance)!==null&&r!==void 0?r:q==null?void 0:q.pushDistance)!==null&&n!==void 0?n:180,ee=l.useMemo(function(){return{pushDistance:Q,push:function(){U(!0)},pull:function(){U(!1)}}},[Q]);l.useEffect(function(){if(i){var ve;q==null||(ve=q.push)===null||ve===void 0||ve.call(q)}else{var ae;q==null||(ae=q.pull)===null||ae===void 0||ae.call(q)}},[i]),l.useEffect(function(){return function(){var ve;q==null||(ve=q.pull)===null||ve===void 0||ve.call(q)}},[]);var oe=T&&l.createElement(Qr,pe({key:"mask"},_,{visible:i}),function(ve,ae){var ie=ve.className,ue=ve.style;return l.createElement("div",{className:ne("".concat(o,"-mask"),ie,g==null?void 0:g.mask,$),style:Z(Z(Z({},ue),P),j==null?void 0:j.mask),onClick:R&&i?A:void 0,ref:ae})}),le=typeof C=="function"?C(s):C,fe={};if(G&&Q)switch(s){case"top":fe.transform="translateY(".concat(Q,"px)");break;case"bottom":fe.transform="translateY(".concat(-Q,"px)");break;case"left":fe.transform="translateX(".concat(Q,"px)");break;default:fe.transform="translateX(".concat(-Q,"px)");break}s==="left"||s==="right"?fe.width=lP(w):fe.height=lP(E);var ce={onMouseEnter:O,onMouseOver:N,onMouseLeave:k,onClick:M,onKeyDown:L,onKeyUp:F},Te=l.createElement(Qr,pe({key:"panel"},le,{visible:i,forceRender:d,onVisibleChanged:function(ae){D==null||D(ae)},removeOnLeave:!1,leavedClassName:"".concat(o,"-content-wrapper-hidden")}),function(ve,ae){var ie=ve.className,ue=ve.style,ye=l.createElement(h0e,pe({id:v,containerRef:ae,prefixCls:o,className:ne(S,g==null?void 0:g.content),style:Z(Z({},x),j==null?void 0:j.content)},Yn(e,{aria:!0}),ce),I);return l.createElement("div",pe({className:ne("".concat(o,"-content-wrapper"),g==null?void 0:g.wrapper,ie),style:Z(Z(Z({},fe),ue),j==null?void 0:j.wrapper)},Yn(e,{data:!0})),B?B(ye):ye)}),Se=Z({},b);return y&&(Se.zIndex=y),l.createElement(sP.Provider,{value:ee},l.createElement("div",{className:ne(o,"".concat(o,"-").concat(s),h,W(W({},"".concat(o,"-open"),i),"".concat(o,"-inline"),c)),style:Se,tabIndex:-1,ref:z,onKeyDown:te},oe,l.createElement("div",{tabIndex:0,ref:H,style:cP,"aria-hidden":"true","data-sentinel":"start"}),Te,l.createElement("div",{tabIndex:0,ref:V,style:cP,"aria-hidden":"true","data-sentinel":"end"})))}var b0e=l.forwardRef(v0e),y0e=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,h=t.mask,b=h===void 0?!0:h,y=t.maskClosable,S=y===void 0?!0:y,v=t.getContainer,x=t.forceRender,C=t.afterOpenChange,w=t.destroyOnClose,E=t.onMouseEnter,I=t.onMouseOver,T=t.onMouseLeave,R=t.onClick,_=t.onKeyDown,$=t.onKeyUp,P=t.panelRef,D=l.useState(!1),A=re(D,2),O=A[0],N=A[1],k=l.useState(!1),M=re(k,2),L=M[0],F=M[1];Xt(function(){F(!0)},[]);var j=L?r:!1,B=l.useRef(),z=l.useRef();Xt(function(){j&&(z.current=document.activeElement)},[j]);var H=function(G){var U;if(N(G),C==null||C(G),!G&&z.current&&!((U=B.current)!==null&&U!==void 0&&U.contains(z.current))){var q;(q=z.current)===null||q===void 0||q.focus({preventScroll:!0})}},V=l.useMemo(function(){return{panel:P}},[P]);if(!x&&!O&&!j&&w)return null;var te={onMouseEnter:E,onMouseOver:I,onMouseLeave:T,onClick:R,onKeyDown:_,onKeyUp:$},Y=Z(Z({},t),{},{open:j,prefixCls:o,placement:s,autoFocus:u,keyboard:f,width:g,mask:b,maskClosable:S,inline:v===!1,afterOpenChange:H,ref:B},te);return l.createElement(xG.Provider,{value:V},l.createElement(Yg,{open:j||x||O,autoDestroy:!1,getContainer:v,autoLock:b&&(j||O)},l.createElement(b0e,Y)))};const wG=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:h}=e,{drawer:b}=l.useContext(st),y=l.useCallback(w=>l.createElement("button",{type:"button",onClick:c,"aria-label":"Close",className:`${r}-close`},w),[c]),[S,v]=aO(xd(e),xd(b),{closable:!0,closeIconRender:y}),x=l.useMemo(()=>{var w,E;return!a&&!S?null:l.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(w=b==null?void 0:b.styles)===null||w===void 0?void 0:w.header),u),h==null?void 0:h.header),className:ne(`${r}-header`,{[`${r}-header-close-only`]:S&&!a&&!i},(E=b==null?void 0:b.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))},[S,v,i,u,r,a]),C=l.useMemo(()=>{var w,E;if(!o)return null;const I=`${r}-footer`;return l.createElement("div",{className:ne(I,(w=b==null?void 0:b.classNames)===null||w===void 0?void 0:w.footer,g==null?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},(E=b==null?void 0:b.styles)===null||E===void 0?void 0:E.footer),f),h==null?void 0:h.footer)},o)},[o,f,r]);return l.createElement(l.Fragment,null,x,l.createElement("div",{className:ne(`${r}-body`,g==null?void 0:g.body,(t=b==null?void 0:b.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=b==null?void 0:b.styles)===null||n===void 0?void 0:n.body),d),h==null?void 0:h.body)},s?l.createElement(Ol,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):p),C)},S0e=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},CG=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),EG=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},CG({opacity:e},{opacity:1})),x0e=(e,t)=>[EG(.7,t),CG({transform:S0e(e)},{transform:"none"})],w0e=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:EG(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,a)=>Object.assign(Object.assign({},r),{[`&-${a}`]:x0e(a,n)}),{})}}},C0e=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:h,colorSplit:b,marginXS:y,colorIcon:S,colorIconHover:v,colorBgTextHover:x,colorBgTextActive:C,colorText:w,fontWeightStrong:E,footerPaddingBlock:I,footerPaddingInline:T,calc:R}=e,_=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:w,"&-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:`${K(u)} ${K(d)}`,fontSize:f,lineHeight:p,borderBottom:`${K(g)} ${h} ${b}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:R(f).add(c).equal(),height:R(f).add(c).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:y,color:S,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:x,textDecoration:"none"},"&:active":{backgroundColor:C}},zi(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:`${K(I)} ${K(T)}`,borderTop:`${K(g)} ${h} ${b}`},"&-rtl":{direction:"rtl"}}}},E0e=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),IG=on("Drawer",e=>{const t=zt(e,{});return[C0e(t),w0e(t)]},E0e);var TG=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=I0e,open:s,afterOpenChange:c,onClose:u,prefixCls:d,getContainer:f,style:p,className:g,visible:h,afterVisibleChange:b,maskStyle:y,drawerStyle:S,contentWrapperStyle:v}=e,x=TG(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:C,getPrefixCls:w,direction:E,drawer:I}=l.useContext(st),T=w("drawer",d),[R,_,$]=IG(T),P=f===void 0&&C?()=>C(document.body):f,D=ne({"no-mask":!o,[`${T}-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:xa(T,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},k=V=>({motionName:xa(T,`panel-motion-${V}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),M=OU(),[L,F]=Si("Drawer",x.zIndex),{classNames:j={},styles:B={}}=x,{classNames:z={},styles:H={}}=I||{};return R(l.createElement(Ui,{form:!0,space:!0},l.createElement(Vg.Provider,{value:F},l.createElement(y0e,Object.assign({prefixCls:T,onClose:u,maskMotion:N,motion:k},x,{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),y),H.mask),content:Object.assign(Object.assign(Object.assign({},B.content),S),H.content),wrapper:Object.assign(Object.assign(Object.assign({},B.wrapper),v),H.wrapper)},open:s??h,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:D,getContainer:P,afterOpenChange:c??b,panelRef:M,zIndex:L}),l.createElement(wG,Object.assign({prefixCls:T},x,{onClose:u}))))))},T0e=e=>{const{prefixCls:t,style:n,className:r,placement:a="right"}=e,o=TG(e,["prefixCls","style","className","placement"]),{getPrefixCls:i}=l.useContext(st),s=i("drawer",t),[c,u,d]=IG(s),f=ne(s,`${s}-pure`,`${s}-${a}`,u,d,r);return c(l.createElement("div",{className:f,style:n},l.createElement(wG,Object.assign({prefixCls:s},o))))};RG._InternalPanelDoNotUseOrYouWillBeFired=T0e;function uP(e){return["small","middle","large"].includes(e)}function dP(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const _G=se.createContext({latestIndex:0}),R0e=_G.Provider,_0e=e=>{let{className:t,index:n,children:r,split:a,style:o}=e;const{latestIndex:i}=l.useContext(_G);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(st),{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:h,split:b,style:y,wrap:S=!1,classNames:v,styles:x}=e,C=$0e(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[w,E]=Array.isArray(c)?c:[c,c],I=uP(E),T=uP(w),R=dP(E),_=dP(w),$=vr(p,{keepEmpty:!0}),P=u===void 0&&g==="horizontal"?"center":u,D=o("space",h),[A,O,N]=nU(D),k=ne(D,i==null?void 0:i.className,O,`${D}-${g}`,{[`${D}-rtl`]:s==="rtl",[`${D}-align-${P}`]:P,[`${D}-gap-row-${E}`]:I,[`${D}-gap-col-${w}`]:T},d,f,N),M=ne(`${D}-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 V,te;z!=null&&(L=H);const Y=(z==null?void 0:z.key)||`${M}-${H}`;return l.createElement(_0e,{className:M,key:Y,index:H,split:b,style:(V=x==null?void 0:x.item)!==null&&V!==void 0?V:(te=i==null?void 0:i.styles)===null||te===void 0?void 0:te.item},z)}),j=l.useMemo(()=>({latestIndex:L}),[L]);if($.length===0)return null;const B={};return S&&(B.flexWrap="wrap"),!T&&_&&(B.columnGap=w),!I&&R&&(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),y)},C),l.createElement(R0e,{value:j},F)))}),Na=O0e;Na.Compact=Vie;var N0e=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(st),{prefixCls:a,type:o="default",danger:i,disabled:s,loading:c,onClick:u,htmlType:d,children:f,className:p,menu:g,arrow:h,autoFocus:b,overlay:y,trigger:S,align:v,open:x,onOpenChange:C,placement:w,getPopupContainer:E,href:I,icon:T=l.createElement(wO,null),title:R,buttonsRender:_=J=>J,mouseEnterDelay:$,mouseLeaveDelay:P,overlayClassName:D,overlayStyle:A,destroyPopupOnHide:O,dropdownRender:N}=e,k=N0e(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:h,autoFocus:b,align:v,disabled:s,trigger:s?[]:S,onOpenChange:C,getPopupContainer:E||t,mouseEnterDelay:$,mouseLeaveDelay:P,overlayClassName:D,overlayStyle:A,destroyPopupOnHide:O,dropdownRender:N},{compactSize:j,compactItemClassnames:B}=Os(M,r),z=ne(L,B,p);"overlay"in e&&(F.overlay=y),"open"in e&&(F.open=x),"placement"in e?F.placement=w:F.placement=r==="rtl"?"bottomLeft":"bottomRight";const H=l.createElement(ut,{type:o,danger:i,disabled:s,loading:c,onClick:u,htmlType:d,href:I,title:R},f),V=l.createElement(ut,{type:o,danger:i,icon:T}),[te,Y]=_([H,V]);return l.createElement(Na.Compact,Object.assign({className:z,size:j,block:!0},k),te,l.createElement(om,Object.assign({},F),Y))};$G.__ANT_BUTTON=!0;const ny=om;ny.Button=$G;var k0e={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"},A0e=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:k0e}))},M0e=l.forwardRef(A0e);function yb(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 P0e=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)"}}}}},D0e=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${K(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 ${K(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),fP=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},L0e=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},nn(e)),D0e(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},fP(e,e.controlHeightSM)),"&-large":Object.assign({},fP(e,e.controlHeightLG))})}},F0e=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({},nn(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:iO,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},pP=(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"}}}}},j0e=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, + > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},ii=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),OG=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:ii(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},B0e=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, + ${r}-col-24${n}-label, + ${r}-col-xl-24${n}-label`]:ii(e)}},[`@media (max-width: ${K(e.screenXSMax)})`]:[OG(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:ii(e)}}}],[`@media (max-width: ${K(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:ii(e)}}},[`@media (max-width: ${K(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:ii(e)}}},[`@media (max-width: ${K(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:ii(e)}}}}},z0e=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`]:ii(e),[`@media (max-width: ${K(e.screenXSMax)})`]:[OG(e),{[t]:{[`${n}-col-xs-24${t}-label`]:ii(e)}}],[`@media (max-width: ${K(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:ii(e)}},[`@media (max-width: ${K(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:ii(e)}},[`@media (max-width: ${K(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:ii(e)}}}},H0e=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}),NG=(e,t)=>zt(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),VO=on("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=NG(e,n);return[L0e(r),F0e(r),P0e(r),pP(r,r.componentCls),pP(r,r.formItemCls),j0e(r),B0e(r),z0e(r),Zg(r),iO]},H0e,{order:-1e3}),gP=[];function m1(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 kG=e=>{let{help:t,helpStatus:n,errors:r=gP,warnings:a=gP,className:o,fieldId:i,onVisibleChanged:s}=e;const{prefixCls:c}=l.useContext(rO),u=`${c}-item-explain`,d=Un(c),[f,p,g]=VO(c,d),h=l.useMemo(()=>Sd(c),[c]),b=yb(r),y=yb(a),S=l.useMemo(()=>t!=null?[m1(t,"help",n)]:[].concat(De(b.map((x,C)=>m1(x,"error","error",C))),De(y.map((x,C)=>m1(x,"warning","warning",C)))),[t,n,b,y]),v={};return i&&(v.id=`${i}_help`),f(l.createElement(Qr,{motionDeadline:h.motionDeadline,motionName:`${c}-show-help`,visible:!!S.length,onVisibleChanged:s},x=>{const{className:C,style:w}=x;return l.createElement("div",Object.assign({},v,{className:ne(u,C,g,d,o,p),style:w,role:"alert"}),l.createElement(G$,Object.assign({keys:S},Sd(c),{motionName:`${c}-show-help-item`,component:!1}),E=>{const{key:I,error:T,errorStatus:R,className:_,style:$}=E;return l.createElement("div",{key:I,className:ne(_,{[`${u}-${R}`]:R}),style:$},T)}))}))},U0e=["parentNode"],V0e="form_item";function wp(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function AG(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:U0e.includes(n)?`${V0e}_${n}`:n}function MG(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 mP(e){return wp(e).join("_")}function W0e(e,t){const n=t.getFieldInstance(e),r=$9(n);if(r)return r;const a=AG(wp(e),t.__INTERNAL__.name);if(a)return document.getElementById(a)}function PG(e){const[t]=nO(),n=l.useRef({}),r=l.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:a=>o=>{const i=mP(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=W0e(a,r);i&&Woe(i,Object.assign({scrollMode:"if-needed",block:"nearest"},o))},getFieldInstance:a=>{const o=mP(a);return n.current[o]}}),[e,t]);return[r]}var G0e=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(Zr),{getPrefixCls:r,direction:a,form:o}=l.useContext(st),{prefixCls:i,className:s,rootClassName:c,size:u,disabled:d=n,form:f,colon:p,labelAlign:g,labelWrap:h,labelCol:b,wrapperCol:y,hideRequiredMark:S,layout:v="horizontal",scrollToFirstError:x,requiredMark:C,onFinishFailed:w,name:E,style:I,feedbackIcons:T,variant:R}=e,_=G0e(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),$=Er(u),P=l.useContext(uH),D=l.useMemo(()=>C!==void 0?C:S?!1:o&&o.requiredMark!==void 0?o.requiredMark:!0,[S,C,o]),A=p??(o==null?void 0:o.colon),O=r("form",i),N=Un(O),[k,M,L]=VO(O,N),F=ne(O,`${O}-${v}`,{[`${O}-hide-required-mark`]:D===!1,[`${O}-rtl`]:a==="rtl",[`${O}-${$}`]:$},L,N,M,o==null?void 0:o.className,s,c),[j]=PG(f),{__INTERNAL__:B}=j;B.name=E;const z=l.useMemo(()=>({name:E,labelAlign:g,labelCol:b,labelWrap:h,wrapperCol:y,vertical:v==="vertical",colon:A,requiredMark:D,itemRef:B.itemRef,form:j,feedbackIcons:T}),[E,g,b,y,v,A,D,j,T]),H=l.useRef(null);l.useImperativeHandle(t,()=>{var Y;return Object.assign(Object.assign({},j),{nativeElement:(Y=H.current)===null||Y===void 0?void 0:Y.nativeElement})});const V=(Y,J)=>{if(Y){let G={block:"nearest"};typeof Y=="object"&&(G=Y),j.scrollToField(J,G)}},te=Y=>{if(w==null||w(Y),Y.errorFields.length){const J=Y.errorFields[0].name;if(x!==void 0){V(x,J);return}o&&o.scrollToFirstError!==void 0&&V(o.scrollToFirstError,J)}};return k(l.createElement(_U.Provider,{value:R},l.createElement(H$,{disabled:d},l.createElement(Cc.Provider,{value:$},l.createElement(RU,{validateMessages:P},l.createElement(Es.Provider,{value:z},l.createElement(Wd,Object.assign({id:E},_,{name:E,onFinishFailed:te,form:j,ref:H,style:Object.assign(Object.assign({},o==null?void 0:o.style),I),className:F}))))))))},K0e=l.forwardRef(q0e);function Y0e(e){if(typeof e=="function")return e;const t=vr(e);return t.length<=1?t[0]:t}const DG=()=>{const{status:e,errors:t=[],warnings:n=[]}=l.useContext(zr);return{status:e,errors:t,warnings:n}};DG.Context=zr;function X0e(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,Ut.cancel(r.current),r.current=null}),[]);function i(s){o.current||(r.current===null&&(a.current=[],r.current=Ut(()=>{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 Z0e(){const{itemRef:e}=l.useContext(Es),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=ea(e(r),o)),t.current.ref}return n}const Q0e=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},J0e=Hd(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=NG(e,n);return[Q0e(r)]}),eye=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`,h=l.useContext(Es),b=r||h.wrapperCol||{},y=ne(`${g}-control`,b.className),S=l.useMemo(()=>Object.assign({},h),[h]);delete S.labelCol,delete S.wrapperCol;const v=l.createElement("div",{className:`${g}-control-input`},l.createElement("div",{className:`${g}-control-input-content`},a)),x=l.useMemo(()=>({prefixCls:t,status:n}),[t,n]),C=f!==null||o.length||i.length?l.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},l.createElement(rO.Provider,{value:x},l.createElement(kG,{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,w={};d&&(w.id=`${d}_extra`);const E=c?l.createElement("div",Object.assign({},w,{className:`${g}-extra`}),c):null,I=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:v,errorList:C,extra:E}):l.createElement(l.Fragment,null,v,C,E);return l.createElement(Es.Provider,{value:S},l.createElement(En,Object.assign({},b,{className:y}),I),l.createElement(J0e,{prefixCls:t}))};var tye={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"},nye=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:tye}))},LG=l.forwardRef(nye),rye=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]=qi("Form"),{labelAlign:g,labelCol:h,labelWrap:b,colon:y}=l.useContext(Es);if(!n)return null;const S=a||h||{},v=o||g,x=`${t}-item-label`,C=ne(x,v==="left"&&`${x}-left`,S.className,{[`${x}-wrap`]:!!b});let w=n;const E=i===!0||y!==!1&&i!==!1;E&&!d&&typeof n=="string"&&n.trim()&&(w=n.replace(/[:|:]\s*$/,""));const T=aye(u);if(T){const{icon:P=l.createElement(LG,null)}=T,D=rye(T,["icon"]),A=l.createElement(Zt,Object.assign({},D),l.cloneElement(P,{className:`${t}-item-tooltip`,title:"",onClick:O=>{O.preventDefault()},tabIndex:null}));w=l.createElement(l.Fragment,null,w,A)}const R=c==="optional",_=typeof c=="function";_?w=c(w,{required:!!s}):R&&!s&&(w=l.createElement(l.Fragment,null,w,l.createElement("span",{className:`${t}-item-optional`,title:""},(p==null?void 0:p.optional)||((f=Uo.Form)===null||f===void 0?void 0:f.optional))));const $=ne({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:R||_,[`${t}-item-no-colon`]:!E});return l.createElement(En,Object.assign({},S,{className:C}),l.createElement("label",{htmlFor:r,className:$,title:typeof n=="string"?n:""},w))},iye={success:Ug,warning:x0,error:Pc,validating:Hi};function FG(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(Es),f=MG(n,r,s,null,!!a,o),{isFormItemInput:p,status:g,hasFeedback:h,feedbackIcon:b}=l.useContext(zr),y=l.useMemo(()=>{var S;let v;if(a){const C=a!==!0&&a.icons||d,w=f&&((S=C==null?void 0:C({status:f,errors:n,warnings:r}))===null||S===void 0?void 0:S[f]),E=f&&iye[f];v=w!==!1&&E?l.createElement("span",{className:ne(`${u}-feedback-icon`,`${u}-feedback-icon-${f}`)},w||l.createElement(E,null)):null}const x={status:f||"",errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:v,isFormItemInput:!0};return c&&(x.status=(f??g)||"",x.isFormItemInput=p,x.hasFeedback=!!(a??h),x.feedbackIcon=a!==void 0?x.feedbackIcon:b),x},[f,a,c,p,g]);return l.createElement(zr.Provider,{value:y},t)}var sye=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))}},[$,P]);const O=L=>{L||A(null)},k=function(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const F=L?T:u.errors,j=L?R:u.warnings;return MG(F,j,u,"",!!d,c)}(),M=ne(x,n,r,{[`${x}-with-help`]:_||T.length||R.length,[`${x}-has-feedback`]:k&&d,[`${x}-has-success`]:k==="success",[`${x}-has-warning`]:k==="warning",[`${x}-has-error`]:k==="error",[`${x}-is-validating`]:k==="validating",[`${x}-hidden`]:f,[`${x}-${S}`]:S});return l.createElement("div",{className:M,style:a,ref:I},l.createElement($a,Object.assign({className:`${x}-row`},On(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(oye,Object.assign({htmlFor:g},e,{requiredMark:C,required:h??b,prefixCls:t,vertical:E})),l.createElement(eye,Object.assign({},e,u,{errors:T,warnings:R,prefixCls:t,status:k,help:o,marginBottom:D,onErrorVisibleChanged:O}),l.createElement(TU.Provider,{value:y},l.createElement(FG,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:k},p)))),!!D&&l.createElement("div",{className:`${x}-margin-offset`,style:{marginBottom:-D}}))}const cye="__SPLIT__";function uye(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 dye=l.memo(e=>{let{children:t}=e;return t},(e,t)=>uye(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function hP(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function fye(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:h,help:b,layout:y}=e,{getPrefixCls:S}=l.useContext(st),{name:v}=l.useContext(Es),x=Y0e(c),C=typeof x=="function",w=l.useContext(TU),{validateTrigger:E}=l.useContext(Ic),I=g!==void 0?g:E,T=t!=null,R=S("form",o),_=Un(R),[$,P,D]=VO(R,_);$l();const A=l.useContext(fg),O=l.useRef(),[N,k]=X0e({}),[M,L]=Ec(()=>hP()),F=Y=>{const J=A==null?void 0:A.getKey(Y.name);if(L(Y.destroy?hP():Y,!0),n&&b!==!1&&w){let G=Y.name;if(Y.destroy)G=O.current||G;else if(J!==void 0){const[U,q]=J;G=[U].concat(De(q)),O.current=G}w(Y,G)}},j=(Y,J)=>{k(G=>{const U=Object.assign({},G),X=[].concat(De(Y.name.slice(0,-1)),De(J)).join(cye);return Y.destroy?delete U[X]:U[X]=Y,U})},[B,z]=l.useMemo(()=>{const Y=De(M.errors),J=De(M.warnings);return Object.values(N).forEach(G=>{Y.push.apply(Y,De(G.errors||[])),J.push.apply(J,De(G.warnings||[]))}),[Y,J]},[N,M.errors,M.warnings]),H=Z0e();function V(Y,J,G){return n&&!h?l.createElement(FG,{prefixCls:R,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:M,errors:B,warnings:z,noStyle:!0},Y):l.createElement(lye,Object.assign({key:"row"},e,{className:ne(r,D,_,P),prefixCls:R,fieldId:J,isRequired:G,errors:B,warnings:z,meta:M,onSubItemMetaChange:j,layout:y}),Y)}if(!T&&!C&&!a)return $(V(x));let te={};return typeof d=="string"?te.label=d:t&&(te.label=String(t)),f&&(te=Object.assign(Object.assign({},te),f)),$(l.createElement(tO,Object.assign({},e,{messageVariables:te,trigger:p,validateTrigger:I,onMetaChange:F}),(Y,J,G)=>{const U=wp(t).length&&J?J.name:[],q=AG(U,v),X=u!==void 0?u:!!(s!=null&&s.some(oe=>{if(oe&&typeof oe=="object"&&oe.required&&!oe.warningOnly)return!0;if(typeof oe=="function"){const le=oe(G);return(le==null?void 0:le.required)&&!(le!=null&&le.warningOnly)}return!1})),Q=Object.assign({},Y);let ee=null;if(Array.isArray(x)&&T)ee=x;else if(!(C&&(!(i||a)||T))){if(!(a&&!C&&!T))if(l.isValidElement(x)){const oe=Object.assign(Object.assign({},x.props),Q);if(oe.id||(oe.id=q),b||B.length>0||z.length>0||e.extra){const ce=[];(b||B.length>0)&&ce.push(`${q}_help`),e.extra&&ce.push(`${q}_extra`),oe["aria-describedby"]=ce.join(" ")}B.length>0&&(oe["aria-invalid"]="true"),X&&(oe["aria-required"]="true"),gi(x)&&(oe.ref=H(U,x)),new Set([].concat(De(wp(p)),De(wp(I)))).forEach(ce=>{oe[ce]=function(){for(var Te,Se,ve,ae,ie,ue=arguments.length,ye=new Array(ue),Ee=0;Ee{var{prefixCls:t,children:n}=e,r=pye(e,["prefixCls","children"]);const{getPrefixCls:a}=l.useContext(st),o=a("form",t),i=l.useMemo(()=>({prefixCls:o,status:"error"}),[o]);return l.createElement(wU,Object.assign({},r),(s,c,u)=>l.createElement(rO.Provider,{value:i},n(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),c,{errors:u.errors,warnings:u.warnings})))};function mye(){const{form:e}=l.useContext(Es);return e}const qt=K0e;qt.Item=dm;qt.List=gye;qt.ErrorList=kG;qt.useForm=PG;qt.useFormInstance=mye;qt.useWatch=IU;qt.Provider=RU;qt.create=()=>{};function jG(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function NR(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 Pi(e,t,n,r){var a=Zp.unstable_batchedUpdates?function(i){Zp.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)}}}var fm=l.createContext(null),hye=function(t){var n=t.visible,r=t.maskTransitionName,a=t.getContainer,o=t.prefixCls,i=t.rootClassName,s=t.icons,c=t.countRender,u=t.showSwitch,d=t.showProgress,f=t.current,p=t.transform,g=t.count,h=t.scale,b=t.minScale,y=t.maxScale,S=t.closeIcon,v=t.onSwitchLeft,x=t.onSwitchRight,C=t.onClose,w=t.onZoomIn,E=t.onZoomOut,I=t.onRotateRight,T=t.onRotateLeft,R=t.onFlipX,_=t.onFlipY,$=t.onReset,P=t.toolbarRender,D=t.zIndex,A=t.image,O=l.useContext(fm),N=s.rotateLeft,k=s.rotateRight,M=s.zoomIn,L=s.zoomOut,F=s.close,j=s.left,B=s.right,z=s.flipX,H=s.flipY,V="".concat(o,"-operations-operation");l.useEffect(function(){var G=function(q){q.keyCode===Le.ESC&&C()};return n&&window.addEventListener("keydown",G),function(){window.removeEventListener("keydown",G)}},[n]);var te=[{icon:H,onClick:_,type:"flipY"},{icon:z,onClick:R,type:"flipX"},{icon:N,onClick:T,type:"rotateLeft"},{icon:k,onClick:I,type:"rotateRight"},{icon:L,onClick:E,type:"zoomOut",disabled:h<=b},{icon:M,onClick:w,type:"zoomIn",disabled:h===y}],Y=te.map(function(G){var U,q=G.icon,X=G.onClick,Q=G.type,ee=G.disabled;return l.createElement("div",{className:ne(V,(U={},W(U,"".concat(o,"-operations-operation-").concat(Q),!0),W(U,"".concat(o,"-operations-operation-disabled"),!!ee),U)),onClick:X,key:Q},q)}),J=l.createElement("div",{className:"".concat(o,"-operations")},Y);return l.createElement(Qr,{visible:n,motionName:r},function(G){var U=G.className,q=G.style;return l.createElement(Yg,{open:!0,getContainer:a??document.body},l.createElement("div",{className:ne("".concat(o,"-operations-wrapper"),U,i),style:Z(Z({},q),{},{zIndex:D})},S===null?null:l.createElement("button",{className:"".concat(o,"-close"),onClick:C},S||F),u&&l.createElement(l.Fragment,null,l.createElement("div",{className:ne("".concat(o,"-switch-left"),W({},"".concat(o,"-switch-left-disabled"),f===0)),onClick:v},j),l.createElement("div",{className:ne("".concat(o,"-switch-right"),W({},"".concat(o,"-switch-right-disabled"),f===g-1)),onClick:x},B)),l.createElement("div",{className:"".concat(o,"-footer")},d&&l.createElement("div",{className:"".concat(o,"-progress")},c?c(f+1,g):"".concat(f+1," / ").concat(g)),P?P(J,Z(Z({icons:{flipYIcon:Y[0],flipXIcon:Y[1],rotateLeftIcon:Y[2],rotateRightIcon:Y[3],zoomOutIcon:Y[4],zoomInIcon:Y[5]},actions:{onFlipY:_,onFlipX:R,onRotateLeft:T,onRotateRight:I,onZoomOut:E,onZoomIn:w,onReset:$,onClose:C},transform:p},O?{current:f,total:g}:{}),{},{image:A})):J)))})},bh={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function vye(e,t,n,r){var a=l.useRef(null),o=l.useRef([]),i=l.useState(bh),s=re(i,2),c=s[0],u=s[1],d=function(h){u(bh),zo(bh,c)||r==null||r({transform:bh,action:h})},f=function(h,b){a.current===null&&(o.current=[],a.current=Ut(function(){u(function(y){var S=y;return o.current.forEach(function(v){S=Z(Z({},S),v)}),a.current=null,r==null||r({transform:S,action:b}),S})})),o.current.push(Z(Z({},c),h))},p=function(h,b,y,S,v){var x=e.current,C=x.width,w=x.height,E=x.offsetWidth,I=x.offsetHeight,T=x.offsetLeft,R=x.offsetTop,_=h,$=c.scale*h;$>n?($=n,_=n/c.scale):$r){if(t>0)return W({},e,o);if(t<0&&ar)return W({},e,t<0?o:-o);return{}}function BG(e,t,n,r){var a=jG(),o=a.width,i=a.height,s=null;return e<=o&&t<=i?s={x:0,y:0}:(e>o||t>i)&&(s=Z(Z({},vP("x",n,e,o)),vP("y",r,t,i))),s}var zu=1,bye=1;function yye(e,t,n,r,a,o,i){var s=a.rotate,c=a.scale,u=a.x,d=a.y,f=l.useState(!1),p=re(f,2),g=p[0],h=p[1],b=l.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),y=function(w){!t||w.button!==0||(w.preventDefault(),w.stopPropagation(),b.current={diffX:w.pageX-u,diffY:w.pageY-d,transformX:u,transformY:d},h(!0))},S=function(w){n&&g&&o({x:w.pageX-b.current.diffX,y:w.pageY-b.current.diffY},"move")},v=function(){if(n&&g){h(!1);var w=b.current,E=w.transformX,I=w.transformY,T=u!==E&&d!==I;if(!T)return;var R=e.current.offsetWidth*c,_=e.current.offsetHeight*c,$=e.current.getBoundingClientRect(),P=$.left,D=$.top,A=s%180!==0,O=BG(A?_:R,A?R:_,P,D);O&&o(Z({},O),"dragRebound")}},x=function(w){if(!(!n||w.deltaY==0)){var E=Math.abs(w.deltaY/100),I=Math.min(E,bye),T=zu+I*r;w.deltaY>0&&(T=zu/T),i(T,"wheel",w.clientX,w.clientY)}};return l.useEffect(function(){var C,w,E,I;if(t){E=Pi(window,"mouseup",v,!1),I=Pi(window,"mousemove",S,!1);try{window.top!==window.self&&(C=Pi(window.top,"mouseup",v,!1),w=Pi(window.top,"mousemove",S,!1))}catch{}}return function(){var T,R,_,$;(T=E)===null||T===void 0||T.remove(),(R=I)===null||R===void 0||R.remove(),(_=C)===null||_===void 0||_.remove(),($=w)===null||$===void 0||$.remove()}},[n,g,u,d,s,t]),{isMoving:g,onMouseDown:y,onMouseMove:S,onMouseUp:v,onWheel:x}}function Sye(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function zG(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,a=l.useState(n?"loading":"normal"),o=re(a,2),i=o[0],s=o[1],c=l.useRef(!1),u=i==="error";l.useEffect(function(){var g=!0;return Sye(t).then(function(h){!h&&g&&s("error")}),function(){g=!1}},[t]),l.useEffect(function(){n&&!c.current?s("loading"):u&&s("normal")},[t]);var d=function(){s("normal")},f=function(h){c.current=!1,i==="loading"&&h!==null&&h!==void 0&&h.complete&&(h.naturalWidth||h.naturalHeight)&&(c.current=!0,d())},p=u&&r?{src:r}:{onLoad:d,src:t};return[f,p,i]}function Sb(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function xye(e,t,n,r){var a=Sb(e,n),o=Sb(t,r);if(a===0&&o===0)return[e.x,e.y];var i=a/(a+o),s=e.x+i*(t.x-e.x),c=e.y+i*(t.y-e.y);return[s,c]}function wye(e,t,n,r,a,o,i){var s=a.rotate,c=a.scale,u=a.x,d=a.y,f=l.useState(!1),p=re(f,2),g=p[0],h=p[1],b=l.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),y=function(w){b.current=Z(Z({},b.current),w)},S=function(w){if(t){w.stopPropagation(),h(!0);var E=w.touches,I=E===void 0?[]:E;I.length>1?y({point1:{x:I[0].clientX,y:I[0].clientY},point2:{x:I[1].clientX,y:I[1].clientY},eventType:"touchZoom"}):y({point1:{x:I[0].clientX-u,y:I[0].clientY-d},eventType:"move"})}},v=function(w){var E=w.touches,I=E===void 0?[]:E,T=b.current,R=T.point1,_=T.point2,$=T.eventType;if(I.length>1&&$==="touchZoom"){var P={x:I[0].clientX,y:I[0].clientY},D={x:I[1].clientX,y:I[1].clientY},A=xye(R,_,P,D),O=re(A,2),N=O[0],k=O[1],M=Sb(P,D)/Sb(R,_);i(M,"touchZoom",N,k,!0),y({point1:P,point2:D,eventType:"touchZoom"})}else $==="move"&&(o({x:I[0].clientX-R.x,y:I[0].clientY-R.y},"move"),y({eventType:"move"}))},x=function(){if(n){if(g&&h(!1),y({eventType:"none"}),r>c)return o({x:0,y:0,scale:r},"touchZoom");var w=e.current.offsetWidth*c,E=e.current.offsetHeight*c,I=e.current.getBoundingClientRect(),T=I.left,R=I.top,_=s%180!==0,$=BG(_?E:w,_?w:E,T,R);$&&o(Z({},$),"dragRebound")}};return l.useEffect(function(){var C;return n&&t&&(C=Pi(window,"touchmove",function(w){return w.preventDefault()},{passive:!1})),function(){var w;(w=C)===null||w===void 0||w.remove()}},[n,t]),{isTouching:g,onTouchStart:S,onTouchMove:v,onTouchEnd:x}}var Cye=["fallback","src","imgRef"],Eye=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Iye=function(t){var n=t.fallback,r=t.src,a=t.imgRef,o=xt(t,Cye),i=zG({src:r,fallback:n}),s=re(i,2),c=s[0],u=s[1];return se.createElement("img",pe({ref:function(f){a.current=f,c(f)}},o,u))},HG=function(t){var n=t.prefixCls,r=t.src,a=t.alt,o=t.imageInfo,i=t.fallback,s=t.movable,c=s===void 0?!0:s,u=t.onClose,d=t.visible,f=t.icons,p=f===void 0?{}:f,g=t.rootClassName,h=t.closeIcon,b=t.getContainer,y=t.current,S=y===void 0?0:y,v=t.count,x=v===void 0?1:v,C=t.countRender,w=t.scaleStep,E=w===void 0?.5:w,I=t.minScale,T=I===void 0?1:I,R=t.maxScale,_=R===void 0?50:R,$=t.transitionName,P=$===void 0?"zoom":$,D=t.maskTransitionName,A=D===void 0?"fade":D,O=t.imageRender,N=t.imgCommonProps,k=t.toolbarRender,M=t.onTransform,L=t.onChange,F=xt(t,Eye),j=l.useRef(),B=l.useContext(fm),z=B&&x>1,H=B&&x>=1,V=l.useState(!0),te=re(V,2),Y=te[0],J=te[1],G=vye(j,T,_,M),U=G.transform,q=G.resetTransform,X=G.updateTransform,Q=G.dispatchZoomChange,ee=yye(j,c,d,E,U,X,Q),oe=ee.isMoving,le=ee.onMouseDown,fe=ee.onWheel,ce=wye(j,c,d,T,U,X,Q),Te=ce.isTouching,Se=ce.onTouchStart,ve=ce.onTouchMove,ae=ce.onTouchEnd,ie=U.rotate,ue=U.scale,ye=ne(W({},"".concat(n,"-moving"),oe));l.useEffect(function(){Y||J(!0)},[Y]);var Ee=function(){q("close")},Me=function(){Q(zu+E,"zoomIn")},Ie=function(){Q(zu/(zu+E),"zoomOut")},Ce=function(){X({rotate:ie+90},"rotateRight")},me=function(){X({rotate:ie-90},"rotateLeft")},we=function(){X({flipX:!U.flipX},"flipX")},_e=function(){X({flipY:!U.flipY},"flipY")},Ne=function(){q("reset")},he=function(be){be==null||be.preventDefault(),be==null||be.stopPropagation(),S>0&&(J(!1),q("prev"),L==null||L(S-1,S))},ke=function(be){be==null||be.preventDefault(),be==null||be.stopPropagation(),S({position:e||"absolute",inset:0}),qye=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:o,colorTextLightSolid:i}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:i,background:new an("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${o}-mask-info`]:Object.assign(Object.assign({},xo),{padding:`0 ${K(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},Kye=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:o,paddingLG:i,previewOperationColorDisabled:s,previewOperationHoverColor:c,motionDurationSlow:u,iconCls:d,colorTextLightSolid:f}=e,p=new an(n).setAlpha(.1),g=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:o},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:f,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:g.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${K(i)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:c},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},Yye=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:o,motionDurationSlow:i}=e,s=new an(t).setAlpha(.1),c=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(o).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${i}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},Xye=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},AR()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},AR()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[Kye(e),Yye(e)]}]},Zye=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},qye(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},AR())}}},Qye=e=>{const{previewCls:t}=e;return{[`${t}-root`]:qd(e,"zoom"),"&":oO(e,!0)}},Jye=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new an(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new an(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new an(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),UG=on("Image",e=>{const t=`${e.componentCls}-preview`,n=zt(e,{previewCls:t,modalMaskBg:new an("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Zye(n),Xye(n),AU(zt(n,{componentCls:t})),Qye(n)]},Jye);var eSe=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{previewPrefixCls:t,preview:n}=e,r=eSe(e,["previewPrefixCls","preview"]);const{getPrefixCls:a}=l.useContext(st),o=a("image",t),i=`${o}-preview`,s=a(),c=Un(o),[u,d,f]=UG(o,c),[p]=Si("ImagePreview",typeof n=="object"?n.zIndex:void 0),g=l.useMemo(()=>{var h;if(n===!1)return n;const b=typeof n=="object"?n:{},y=ne(d,f,c,(h=b.rootClassName)!==null&&h!==void 0?h:"");return Object.assign(Object.assign({},b),{transitionName:xa(s,"zoom",b.transitionName),maskTransitionName:xa(s,"fade",b.maskTransitionName),rootClassName:y,zIndex:p})},[n]);return u(l.createElement(WO.PreviewGroup,Object.assign({preview:g,previewPrefixCls:i,icons:VG},r)))};var SP=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,preview:r,className:a,rootClassName:o,style:i}=e,s=SP(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:c,locale:u=Uo,getPopupContainer:d,image:f}=l.useContext(st),p=c("image",n),g=c(),h=u.Image||Uo.Image,b=Un(p),[y,S,v]=UG(p,b),x=ne(o,S,v,b),C=ne(a,S,f==null?void 0:f.className),[w]=Si("ImagePreview",typeof r=="object"?r.zIndex:void 0),E=l.useMemo(()=>{var T;if(r===!1)return r;const R=typeof r=="object"?r:{},{getContainer:_,closeIcon:$}=R,P=SP(R,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:l.createElement("div",{className:`${p}-mask-info`},l.createElement(Sl,null),h==null?void 0:h.preview),icons:VG},P),{getContainer:_??d,transitionName:xa(g,"zoom",R.transitionName),maskTransitionName:xa(g,"fade",R.maskTransitionName),zIndex:w,closeIcon:$??((T=f==null?void 0:f.preview)===null||T===void 0?void 0:T.closeIcon)})},[r,h,(t=f==null?void 0:f.preview)===null||t===void 0?void 0:t.closeIcon]),I=Object.assign(Object.assign({},f==null?void 0:f.style),i);return y(l.createElement(WO,Object.assign({prefixCls:p,preview:E,rootClassName:x,className:C,style:I},s)))};Oa.PreviewGroup=tSe;function nSe(e,t,n){return typeof n=="boolean"?n:e.length?!0:vr(t).some(a=>a.type===U0)}const rSe=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}}}},aSe=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:h,motionDurationSlow:b,fontSize:y,borderRadius:S,bodyBg:v,headerBg:x,siderBg:C}=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:C,transition:`all ${h}, 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:K(f),textAlign:"center",background:i,cursor:"pointer",transition:`all ${h}`},"&-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:C,borderStartStartRadius:0,borderStartEndRadius:S,borderEndEndRadius:S,borderEndStartRadius:0,cursor:"pointer",transition:`background ${b} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${b}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(g).mul(-1).equal(),borderStartStartRadius:S,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:S}}}}},rSe(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,padding:c,color:u,lineHeight:K(s),background:x,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:y,background:o},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},oSe=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}},WG=on("Layout",e=>[aSe(e)],oSe,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var GG=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 GO=l.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:a,tagName:o}=e,i=GG(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=l.useContext(st),c=s("layout",n),[u,d,f]=WG(c),p=r?`${c}-${r}`:c;return u(l.createElement(o,Object.assign({className:ne(n||p,a,d,f),ref:t},i)))}),iSe=l.forwardRef((e,t)=>{const{direction:n}=l.useContext(st),[r,a]=l.useState([]),{prefixCls:o,className:i,rootClassName:s,children:c,hasSider:u,tagName:d,style:f}=e,p=GG(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),g=On(p,["suffixCls"]),{getPrefixCls:h,layout:b}=l.useContext(st),y=h("layout",o),S=nSe(r,c,u),[v,x,C]=WG(y),w=ne(y,{[`${y}-has-sider`]:S,[`${y}-rtl`]:n==="rtl"},b==null?void 0:b.className,i,s,x,C),E=l.useMemo(()=>({siderHook:{addSider:I=>{a(T=>[].concat(De(T),[I]))},removeSider:I=>{a(T=>T.filter(R=>R!==I))}}}),[]);return v(l.createElement(zV.Provider,{value:E},l.createElement(d,Object.assign({ref:t,className:w,style:Object.assign(Object.assign({},b==null?void 0:b.style),f)},g),c)))}),sSe=ry({tagName:"div",displayName:"Layout"})(iSe),qG=ry({suffixCls:"header",tagName:"header",displayName:"Header"})(GO),KG=ry({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(GO),YG=ry({suffixCls:"content",tagName:"main",displayName:"Content"})(GO),Gi=sSe;Gi.Header=qG;Gi.Footer=KG;Gi.Content=YG;Gi.Sider=U0;Gi._InternalSiderContext=H0;const XG=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 lSe={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"},cSe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:lSe}))},xP=l.forwardRef(cSe),uSe={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"},dSe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:uSe}))},wP=l.forwardRef(dSe),fSe={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:"页码"},pSe=["10","20","50","100"],gSe=function(t){var n=t.pageSizeOptions,r=n===void 0?pSe: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,h=se.useState(""),b=re(h,2),y=b[0],S=b[1],v=function(){return!y||Number.isNaN(y)?void 0:Number(y)},x=typeof g=="function"?g:function(A){return"".concat(A," ").concat(a.items_per_page)},C=function(O){o==null||o(Number(O))},w=function(O){S(O.target.value)},E=function(O){s||y===""||(S(""),!(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){y!==""&&(O.keyCode===Le.ENTER||O.type==="click")&&(S(""),c==null||c(v()))},T=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})},R="".concat(u,"-options");if(!o&&!c)return null;var _=null,$=null,P=null;if(o&&d){var D=T().map(function(A,O){return se.createElement(d.Option,{key:O,value:A.toString()},x(A))});_=se.createElement(d,{disabled:p,prefixCls:f,showSearch:!1,className:"".concat(R,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(i||r[0]).toString(),onChange:C,getPopupContainer:function(O){return O.parentNode},"aria-label":a.page_size,defaultOpen:!1},D)}return c&&(s&&(P=typeof s=="boolean"?se.createElement("button",{type:"button",onClick:I,onKeyUp:I,disabled:p,className:"".concat(R,"-quick-jumper-button")},a.jump_to_confirm):se.createElement("span",{onClick:I,onKeyUp:I},s)),$=se.createElement("div",{className:"".concat(R,"-quick-jumper")},a.jump_to,se.createElement("input",{disabled:p,type:"text",value:y,onChange:w,onKeyUp:I,onBlur:E,"aria-label":a.page}),a.page,P)),se.createElement("li",{className:R},_,$)},Df=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={},W(n,"".concat(f,"-active"),o),W(n,"".concat(f,"-disabled"),!a),n),i),g=function(){c(a)},h=function(S){u(S,c,a)},b=d(a,"page",se.createElement("a",{rel:"nofollow"},a));return b?se.createElement("li",{title:s?String(a):null,className:p,onClick:g,onKeyDown:h,tabIndex:0},b):null},mSe=function(t,n,r){return r};function CP(){}function EP(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function Bl(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var hSe=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,h=t.pageSize,b=t.defaultPageSize,y=b===void 0?10:b,S=t.onChange,v=S===void 0?CP:S,x=t.hideOnSinglePage,C=t.align,w=t.showPrevNextJumpers,E=w===void 0?!0:w,I=t.showQuickJumper,T=t.showLessItems,R=t.showTitle,_=R===void 0?!0:R,$=t.onShowSizeChange,P=$===void 0?CP:$,D=t.locale,A=D===void 0?fSe:D,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?mSe:z,V=t.jumpPrevIcon,te=t.jumpNextIcon,Y=t.prevIcon,J=t.nextIcon,G=se.useRef(null),U=sn(10,{value:h,defaultValue:y}),q=re(U,2),X=q[0],Q=q[1],ee=sn(1,{value:u,defaultValue:f,postState:function(_t){return Math.max(1,Math.min(_t,Bl(void 0,X,g)))}}),oe=re(ee,2),le=oe[0],fe=oe[1],ce=se.useState(le),Te=re(ce,2),Se=Te[0],ve=Te[1];l.useEffect(function(){ve(le)},[le]);var ae=Math.max(1,le-(T?3:5)),ie=Math.min(Bl(void 0,X,g),le+(T?3:5));function ue(It,_t){var kt=It||se.createElement("button",{type:"button","aria-label":_t,className:"".concat(a,"-item-link")});return typeof It=="function"&&(kt=se.createElement(It,Z({},t))),kt}function ye(It){var _t=It.target.value,kt=Bl(void 0,X,g),Tn;return _t===""?Tn=_t:Number.isNaN(Number(_t))?Tn=Se:_t>=kt?Tn=kt:Tn=Number(_t),Tn}function Ee(It){return EP(It)&&It!==le&&EP(g)&&g>0}var Me=g>X?I:!1;function Ie(It){(It.keyCode===Le.UP||It.keyCode===Le.DOWN)&&It.preventDefault()}function Ce(It){var _t=ye(It);switch(_t!==Se&&ve(_t),It.keyCode){case Le.ENTER:_e(_t);break;case Le.UP:_e(_t-1);break;case Le.DOWN:_e(_t+1);break}}function me(It){_e(ye(It))}function we(It){var _t=Bl(It,X,g),kt=le>_t&&_t!==0?_t:le;Q(It),ve(kt),P==null||P(le,It),fe(kt),v==null||v(kt,It)}function _e(It){if(Ee(It)&&!M){var _t=Bl(void 0,X,g),kt=It;return It>_t?kt=_t:It<1&&(kt=1),kt!==Se&&ve(kt),fe(kt),v==null||v(kt,X),kt}return le}var Ne=le>1,he=lek;function xe(){Ne&&_e(le-1)}function ge(){he&&_e(le+1)}function Pe(){_e(ae)}function Ve(){_e(ie)}function Ae(It,_t){if(It.key==="Enter"||It.charCode===Le.ENTER||It.keyCode===Le.ENTER){for(var kt=arguments.length,Tn=new Array(kt>2?kt-2:0),Qn=2;Qng?g:le*X])),ft=null,qe=Bl(void 0,X,g);if(x&&g<=X)return null;var We=[],Qe={rootPrefixCls:a,onClick:_e,onKeyPress:Ae,showTitle:_,itemRender:H,page:-1},ct=le-1>0?le-1:0,Rt=le+1=et*2&&le!==3&&(We[0]=se.cloneElement(We[0],{className:ne("".concat(a,"-item-after-jump-prev"),We[0].props.className)}),We.unshift(je)),qe-le>=et*2&&le!==qe-2){var yt=We[We.length-1];We[We.length-1]=se.cloneElement(yt,{className:ne("".concat(a,"-item-before-jump-next"),yt.props.className)}),We.push(ft)}at!==1&&We.unshift(se.createElement(Df,pe({},Qe,{key:1,page:1}))),Ye!==qe&&We.push(se.createElement(Df,pe({},Qe,{key:qe,page:qe})))}var Tt=He(ct);if(Tt){var Pt=!Ne||!qe;Tt=se.createElement("li",{title:_?A.prev_page:null,onClick:xe,tabIndex:Pt?null:0,onKeyDown:be,className:ne("".concat(a,"-prev"),W({},"".concat(a,"-disabled"),Pt)),"aria-disabled":Pt},Tt)}var en=ze(Rt);if(en){var rn,Vt;L?(rn=!he,Vt=Ne?0:null):(rn=!he||!qe,Vt=rn?null:0),en=se.createElement("li",{title:_?A.next_page:null,onClick:ge,tabIndex:Vt,onKeyDown:Oe,className:ne("".concat(a,"-next"),W({},"".concat(a,"-disabled"),rn)),"aria-disabled":rn},en)}var tn=ne(a,s,(n={},W(n,"".concat(a,"-start"),C==="start"),W(n,"".concat(a,"-center"),C==="center"),W(n,"".concat(a,"-end"),C==="end"),W(n,"".concat(a,"-simple"),L),W(n,"".concat(a,"-disabled"),M),n));return se.createElement("ul",pe({className:tn,style:O,ref:G},Je),mt,Tt,L?ot:We,en,se.createElement(gSe,{locale:A,rootPrefixCls:a,disabled:M,selectComponentClass:c,selectPrefixCls:i,changeSize:ke?we:null,pageSize:X,pageSizeOptions:B,quickGo:Me?_e:null,goButton:lt}))};const ZG=e=>l.createElement(Ar,Object.assign({},e,{showSearch:!0,size:"small"})),QG=e=>l.createElement(Ar,Object.assign({},e,{showSearch:!0,size:"middle"}));ZG.Option=Ar.Option;QG.Option=Ar.Option;const vSe=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"}}}}}},bSe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:K(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:K(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:K(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:K(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:K(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:K(e.itemSizeSM),input:Object.assign(Object.assign({},MO(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},ySe=e=>{const{componentCls:t}=e;return{[` + &${t}-simple ${t}-prev, + &${t}-simple ${t}-next + `]:{height:e.itemSizeSM,lineHeight:K(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:K(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${K(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${K(e.inputOutlineOffset)} 0 ${K(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},SSe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` + ${t}-prev, + ${t}-jump-prev, + ${t}-jump-next + `]:{marginInlineEnd:e.marginXS},[` + ${t}-prev, + ${t}-next, + ${t}-jump-prev, + ${t}-jump-next + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:K(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:`${K(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"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:K(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},cm(e)),$O(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},Z0(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},xSe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:K(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${K(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${K(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}}}}},wSe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},nn(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:K(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),xSe(e)),SSe(e)),ySe(e)),bSe(e)),vSe(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"}}},CSe=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},zi(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},ws(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},ws(e))}}}},JG=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},lm(e)),eq=e=>zt(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"},sm(e)),ESe=on("Pagination",e=>{const t=eq(e);return[wSe(t),CSe(t)]},JG),ISe=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:`${K(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}}}}},TSe=Hd(["Pagination","bordered"],e=>{const t=eq(e);return[ISe(t)]},JG);var RSe=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=RSe(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:g}=L0(d),[,h]=ta(),{getPrefixCls:b,direction:y,pagination:S={}}=l.useContext(st),v=b("pagination",n),[x,C,w]=ESe(v),E=f??S.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},y==="rtl"?l.createElement(Za,null):l.createElement(Ts,null)),k=l.createElement("button",{className:`${v}-item-link`,type:"button",tabIndex:-1},y==="rtl"?l.createElement(Ts,null):l.createElement(Za,null)),M=l.createElement("a",{className:`${v}-item-link`},l.createElement("div",{className:`${v}-item-container`},y==="rtl"?l.createElement(wP,{className:`${v}-item-link-icon`}):l.createElement(xP,{className:`${v}-item-link-icon`}),O)),L=l.createElement("a",{className:`${v}-item-link`},l.createElement("div",{className:`${v}-item-container`},y==="rtl"?l.createElement(xP,{className:`${v}-item-link-icon`}):l.createElement(wP,{className:`${v}-item-link-icon`}),O));return{prevIcon:N,nextIcon:k,jumpPrevIcon:M,jumpNextIcon:L}},[y,v]),[T]=qi("Pagination",dH),R=Object.assign(Object.assign({},T),c),_=Er(s),$=_==="small"||!!(g&&!_&&d),P=b("select",r),D=ne({[`${v}-${t}`]:!!t,[`${v}-mini`]:$,[`${v}-rtl`]:y==="rtl",[`${v}-bordered`]:h.wireframe},S==null?void 0:S.className,a,o,C,w),A=Object.assign(Object.assign({},S==null?void 0:S.style),i);return x(l.createElement(l.Fragment,null,h.wireframe&&l.createElement(TSe,{prefixCls:v}),l.createElement(hSe,Object.assign({},I,p,{style:A,prefixCls:v,selectPrefixCls:P,className:D,selectComponentClass:u||($?ZG:QG),locale:R,showSizeChanger:E}))))},xb=100,tq=xb/5,nq=xb/2-tq/2,h1=nq*2*Math.PI,IP=50,TP=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return l.createElement("circle",{className:ne(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:nq,cx:IP,cy:IP,strokeWidth:tq,style:n})},_Se=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,a=`${r}-holder`,o=`${a}-hidden`,[i,s]=l.useState(!1);Xt(()=>{t!==0&&s(!0)},[t!==0]);const c=Math.max(Math.min(t,100),0);if(!i)return null;const u={strokeDashoffset:`${h1/4}`,strokeDasharray:`${h1*c/100} ${h1*(100-c)/100}`};return l.createElement("span",{className:ne(a,`${r}-progress`,c<=0&&o)},l.createElement("svg",{viewBox:`0 0 ${xb} ${xb}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},l.createElement(TP,{dotClassName:r,hasCircleCls:!0}),l.createElement(TP,{dotClassName:r,style:u})))};function $Se(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(_Se,{prefixCls:t,percent:n}))}function OSe(e){const{prefixCls:t,indicator:n,percent:r}=e,a=`${t}-dot`;return n&&l.isValidElement(n)?Cr(n,{className:ne(n.props.className,a),percent:r}):l.createElement($Se,{prefixCls:t,percent:r})}const NSe=new un("antSpinMove",{to:{opacity:1}}),kSe=new un("antRotate",{to:{transform:"rotate(405deg)"}}),ASe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},nn(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:NSe,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:kSe,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"}})}},MSe=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},PSe=on("Spin",e=>{const t=zt(e,{spinDotDefault:e.colorTextDescription});return[ASe(t)]},MSe),DSe=200,RP=[[30,.05],[70,.03],[96,.01]];function LSe(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 FSe=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:h}=e,b=FSe(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:y,direction:S,spin:v}=l.useContext(st),x=y("spin",n),[C,w,E]=PSe(x),[I,T]=l.useState(()=>r&&!jSe(r,a)),R=LSe(I,h);l.useEffect(()=>{if(r){const N=Nhe(a,()=>{T(!0)});return N(),()=>{var k;(k=N==null?void 0:N.cancel)===null||k===void 0||k.call(N)}}T(!1)},[a,r]);const _=l.useMemo(()=>typeof f<"u"&&!p,[f,p]),$=ne(x,v==null?void 0:v.className,{[`${x}-sm`]:s==="small",[`${x}-lg`]:s==="large",[`${x}-spinning`]:I,[`${x}-show-text`]:!!c,[`${x}-rtl`]:S==="rtl"},o,!p&&i,w,E),P=ne(`${x}-container`,{[`${x}-blur`]:I}),D=(t=g??(v==null?void 0:v.indicator))!==null&&t!==void 0?t:rq,A=Object.assign(Object.assign({},v==null?void 0:v.style),d),O=l.createElement("div",Object.assign({},b,{style:A,className:$,"aria-live":"polite","aria-busy":I}),l.createElement(OSe,{prefixCls:x,indicator:D,percent:R}),c&&(_||p)?l.createElement("div",{className:`${x}-text`},c):null);return C(_?l.createElement("div",Object.assign({},b,{className:ne(`${x}-nested-loading`,u,w,E)}),I&&l.createElement("div",{key:"loading"},O),l.createElement("div",{className:P,key:"container"},f)):p?l.createElement("div",{className:ne(`${x}-fullscreen`,{[`${x}-fullscreen-show`]:I},i,w,E)},O):O)};KO.setDefaultIndicator=e=>{rq=e};const YO=se.createContext({});YO.Consumer;var aq=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=aq(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=l.useContext(st),c=s("list",t),u=ne(`${c}-item-meta`,n),d=se.createElement("div",{className:`${c}-item-meta-content`},a&&se.createElement("h4",{className:`${c}-item-meta-title`},a),o&&se.createElement("div",{className:`${c}-item-meta-description`},o));return se.createElement("div",Object.assign({},i,{className:u}),r&&se.createElement("div",{className:`${c}-item-meta-avatar`},r),(a||o)&&d)},zSe=se.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:a,extra:o,styles:i,className:s,classNames:c,colStyle:u}=e,d=aq(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:f,itemLayout:p}=l.useContext(YO),{getPrefixCls:g,list:h}=l.useContext(st),b=I=>{var T,R;return ne((R=(T=h==null?void 0:h.item)===null||T===void 0?void 0:T.classNames)===null||R===void 0?void 0:R[I],c==null?void 0:c[I])},y=I=>{var T,R;return Object.assign(Object.assign({},(R=(T=h==null?void 0:h.item)===null||T===void 0?void 0:T.styles)===null||R===void 0?void 0:R[I]),i==null?void 0:i[I])},S=()=>{let I=!1;return l.Children.forEach(r,T=>{typeof T=="string"&&(I=!0)}),I&&l.Children.count(r)>1},v=()=>p==="vertical"?!!o:!S(),x=g("list",n),C=a&&a.length>0&&se.createElement("ul",{className:ne(`${x}-item-action`,b("actions")),key:"actions",style:y("actions")},a.map((I,T)=>se.createElement("li",{key:`${x}-item-action-${T}`},I,T!==a.length-1&&se.createElement("em",{className:`${x}-item-action-split`})))),w=f?"div":"li",E=se.createElement(w,Object.assign({},d,f?{}:{ref:t},{className:ne(`${x}-item`,{[`${x}-item-no-flex`]:!v()},s)}),p==="vertical"&&o?[se.createElement("div",{className:`${x}-item-main`,key:"content"},r,C),se.createElement("div",{className:ne(`${x}-item-extra`,b("extra")),key:"extra",style:y("extra")},o)]:[r,C,Cr(o,{key:"extra"})]);return f?se.createElement(En,{ref:t,flex:1,style:u},E):E}),nd=zSe;nd.Meta=BSe;const HSe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,itemPaddingSM:o,itemPaddingLG:i,marginLG:s,borderRadiusLG:c}=e;return{[t]:{border:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:c,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${K(a)} ${K(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}}}},USe=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 ${K(i)}`}}}}}},VSe=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:h,colorTextDescription:b,motionDurationSlow:y,lineWidth:S,headerBg:v,footerBg:x,emptyTextPadding:C,metaMarginBottom:w,avatarMarginRight:E,titleMarginBottom:I,descriptionFontSize:T}=e;return{[t]:Object.assign(Object.assign({},nn(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:v},[`${t}-footer`]:{background:x},[`${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:h,[`${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:h},[`${t}-item-meta-title`]:{margin:`0 0 ${K(e.marginXXS)} 0`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:h,transition:`all ${y}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:b,fontSize:T,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 ${K(p)}`,color:b,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:S,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${K(s)} 0`,color:b,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:C,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:w,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:I,color:h,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${K(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${K(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${K(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${K(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:`${K(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"}}}}},WSe=e=>({contentWidth:220,itemPadding:`${K(e.paddingContentVertical)} 0`,itemPaddingSM:`${K(e.paddingContentVerticalSM)} ${K(e.paddingContentHorizontal)}`,itemPaddingLG:`${K(e.paddingContentVerticalLG)} ${K(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),GSe=on("List",e=>{const t=zt(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[VSe(t),HSe(t),USe(t)]},WSe);var qSe=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(ve,ae)=>{var ie;I(ve),R(ae),t&&((ie=t==null?void 0:t[Se])===null||ie===void 0||ie.call(t,ve,ae))},N=O("onChange"),k=O("onShowSizeChange"),M=(Se,ve)=>{if(!v)return null;let ae;return typeof S=="function"?ae=S(Se):S?ae=Se[S]:ae=Se.key,ae||(ae=`list-item-${ve}`),l.createElement(l.Fragment,{key:ae},v(Se,ve))},L=()=>!!(d||t||b),F=_("list",n),[j,B,z]=GSe(F);let H=y;typeof H=="boolean"&&(H={spinning:H});const V=!!(H!=null&&H.spinning),te=Er(g);let Y="";switch(te){case"large":Y="lg";break;case"small":Y="sm";break}const J=ne(F,{[`${F}-vertical`]:u==="vertical",[`${F}-${Y}`]:Y,[`${F}-split`]:a,[`${F}-bordered`]:r,[`${F}-loading`]:V,[`${F}-grid`]:!!f,[`${F}-something-after-last-item`]:L(),[`${F}-rtl`]:P==="rtl"},D==null?void 0:D.className,o,i,B,z),G=XG(A,{total:p.length,current:E,pageSize:T},t||{}),U=Math.ceil(G.total/G.pageSize);G.current>U&&(G.current=U);const q=t&&l.createElement("div",{className:ne(`${F}-pagination`)},l.createElement(qO,Object.assign({align:"end"},G,{onChange:N,onShowSizeChange:k})));let X=De(p);t&&p.length>(G.current-1)*G.pageSize&&(X=De(p).splice((G.current-1)*G.pageSize,G.pageSize));const Q=Object.keys(f||{}).some(Se=>["xs","sm","md","lg","xl","xxl"].includes(Se)),ee=L0(Q),oe=l.useMemo(()=>{for(let Se=0;Se{if(!f)return;const Se=oe&&f[oe]?f[oe]:f.column;if(Se)return{width:`${100/Se}%`,maxWidth:`${100/Se}%`}},[JSON.stringify(f),oe]);let fe=V&&l.createElement("div",{style:{minHeight:53}});if(X.length>0){const Se=X.map((ve,ae)=>M(ve,ae));fe=f?l.createElement($a,{gutter:f.gutter},l.Children.map(Se,ve=>l.createElement("div",{key:ve==null?void 0:ve.key,style:le},ve))):l.createElement("ul",{className:`${F}-items`},Se)}else!c&&!V&&(fe=l.createElement("div",{className:`${F}-empty-text`},(x==null?void 0:x.emptyText)||($==null?void 0:$("List"))||l.createElement(P0,{componentName:"List"})));const ce=G.position||"bottom",Te=l.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return j(l.createElement(YO.Provider,{value:Te},l.createElement("div",Object.assign({style:Object.assign(Object.assign({},D==null?void 0:D.style),s),className:J},C),(ce==="top"||ce==="both")&&q,h&&l.createElement("div",{className:`${F}-header`},h),l.createElement(KO,Object.assign({},H),fe,c),b&&l.createElement("div",{className:`${F}-footer`},b),d||(ce==="bottom"||ce==="both")&&q)))}xl.Item=nd;let ko=null,tc=e=>e(),mg=[],hg={};function _P(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:a}=hg,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,duration:t,rtl:n,maxCount:r,top:a}}const KSe=se.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=l.useContext(st),o=hg.prefixCls||a("message"),i=l.useContext(zce),[s,c]=eU(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),i.message));return se.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}),YSe=se.forwardRef((e,t)=>{const[n,r]=se.useState(_P),a=()=>{r(_P)};se.useEffect(a,[]);const o=zH(),i=o.getRootPrefixCls(),s=o.getIconPrefixCls(),c=o.getTheme(),u=se.createElement(KSe,{ref:t,sync:a,messageConfig:n});return se.createElement(yi,{prefixCls:i,iconPrefixCls:s,theme:c},o.holderRender?o.holderRender(u):u)});function ay(){if(!ko){const e=document.createDocumentFragment(),t={fragment:e};ko=t,tc(()=>{X$(se.createElement(YSe,{ref:n=>{const{instance:r,sync:a}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=a,ay())})}}),e)});return}ko.instance&&(mg.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{tc(()=>{const r=ko.instance.open(Object.assign(Object.assign({},hg),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":tc(()=>{ko==null||ko.instance.destroy(e.key)});break;default:tc(()=>{var r;const a=(r=ko.instance)[t].apply(r,De(e.args));a==null||a.then(e.resolve),e.setCloseFn(a)})}}),mg=[])}function XSe(e){hg=Object.assign(Object.assign({},hg),e),tc(()=>{var t;(t=ko==null?void 0:ko.sync)===null||t===void 0||t.call(ko)})}function ZSe(e){const t=Y$(n=>{let r;const a={type:"open",config:e,resolve:n,setCloseFn:o=>{r=o}};return mg.push(a),()=>{r?tc(()=>{r()}):a.skipped=!0}});return ay(),t}function QSe(e,t){const n=Y$(r=>{let a;const o={type:e,args:t,resolve:r,setCloseFn:i=>{a=i}};return mg.push(o),()=>{a?tc(()=>{a()}):o.skipped=!0}});return ay(),n}const JSe=e=>{mg.push({type:"destroy",key:e}),ay()},e1e=["success","info","warning","error","loading"],t1e={open:ZSe,destroy:JSe,config:XSe,useMessage:xie,_InternalPanelDoNotUseOrYouWillBeFired:pie},Xe=t1e;e1e.forEach(e=>{Xe[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=n1e(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=l.useContext(st),f=d(),p=t||d("modal"),g=Un(f),[h,b,y]=DU(p,g),S=`${p}-confirm`;let v={};return o?v={closable:a??!1,title:"",footer:"",children:l.createElement(FU,Object.assign({},e,{prefixCls:p,confirmPrefixCls:S,rootPrefixCls:f,content:s}))}:v={closable:a??!0,title:i,footer:c!==null&&l.createElement(kU,Object.assign({},e)),children:s},h(l.createElement(vU,Object.assign({prefixCls:p,className:ne(b,`${p}-pure-panel`,o&&S,o&&`${S}-${o}`,n,y,g)},u,{closeIcon:NU(p,r),closable:a},v)))},a1e=qU(r1e);function oq(e){return Qg(HU(e))}const Sn=LU;Sn.useModal=Bce;Sn.info=function(t){return Qg(UU(t))};Sn.success=function(t){return Qg(VU(t))};Sn.error=function(t){return Qg(WU(t))};Sn.warning=oq;Sn.warn=oq;Sn.confirm=function(t){return Qg(GU(t))};Sn.destroyAll=function(){for(;Jl.length;){const t=Jl.pop();t&&t()}};Sn.config=Pce;Sn._InternalPanelDoNotUseOrYouWillBeFired=a1e;var o1e={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},i1e=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},$P=0,s1e=Xr();function l1e(){var e;return s1e?(e=$P,$P+=1):e="TEST_OR_SSR",e}const c1e=function(e){var t=l.useState(),n=re(t,2),r=n[0],a=n[1];return l.useEffect(function(){a("rc_progress_".concat(l1e()))},[]),e||r};var OP=function(t){var n=t.bg,r=t.children;return l.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function NP(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 u1e=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&&ht(r)==="object",g=p?"#FFF":void 0,h=d/2,b=l.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:h,cy:h,stroke:g,strokeLinecap:c,strokeWidth:u,opacity:s===0?0:1,style:i,ref:t});if(!p)return b;var y="".concat(a,"-conic"),S=f?"".concat(180+f/2,"deg"):"0deg",v=NP(r,(360-f)/360),x=NP(r,1),C="conic-gradient(from ".concat(S,", ").concat(v.join(", "),")"),w="linear-gradient(to ".concat(f?"bottom":"top",", ").concat(x.join(", "),")");return l.createElement(l.Fragment,null,l.createElement("mask",{id:y},b),l.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(y,")")},l.createElement(OP,{bg:w},l.createElement(OP,{bg:C}))))}),Xf=100,v1=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],h=(100-a)/100*n;u==="round"&&a!==100&&(h+=d/2,h>=n&&(h=n-.01));var b=Xf/2;return{stroke:typeof c=="string"?c:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:h+f,transform:"rotate(".concat(o+p+g,"deg)"),transformOrigin:"".concat(b,"px ").concat(b,"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}},d1e=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function kP(e){var t=e??[];return Array.isArray(t)?t:[t]}var f1e=function(t){var n=Z(Z({},o1e),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,h=n.className,b=n.strokeColor,y=n.percent,S=xt(n,d1e),v=Xf/2,x=c1e(r),C="".concat(x,"-gradient"),w=v-i/2,E=Math.PI*2*w,I=u>0?90+u/2:-90,T=E*((360-u)/360),R=ht(o)==="object"?o:{count:o,gap:2},_=R.count,$=R.gap,P=kP(y),D=kP(b),A=D.find(function(j){return j&&ht(j)==="object"}),O=A&&ht(A)==="object",N=O?"butt":p,k=v1(E,T,0,100,I,u,d,f,N,i),M=i1e(),L=function(){var B=0;return P.map(function(z,H){var V=D[H]||D[D.length-1],te=v1(E,T,B,z,I,u,d,V,N,i);return B+=z,l.createElement(u1e,{key:H,color:V,ptg:z,radius:w,prefixCls:a,gradientId:C,style:te,strokeLinecap:N,strokeWidth:i,gapDegree:u,ref:function(J){M[H]=J},size:Xf})}).reverse()},F=function(){var B=Math.round(_*(P[0]/100)),z=100/_,H=0;return new Array(_).fill(null).map(function(V,te){var Y=te<=B-1?D[0]:f,J=Y&&ht(Y)==="object"?"url(#".concat(C,")"):void 0,G=v1(E,T,H,z,I,u,d,Y,"butt",i,$);return H+=(T-G.strokeDashoffset+$)*100/T,l.createElement("circle",{key:te,className:"".concat(a,"-circle-path"),r:w,cx:v,cy:v,stroke:J,strokeWidth:i,opacity:1,style:G,ref:function(q){M[te]=q}})})};return l.createElement("svg",pe({className:ne("".concat(a,"-circle"),h),viewBox:"0 0 ".concat(Xf," ").concat(Xf),style:g,id:r,role:"presentation"},S),!_&&l.createElement("circle",{className:"".concat(a,"-circle-trail"),r:w,cx:v,cy:v,stroke:f,strokeLinecap:N,strokeWidth:s||i,style:k}),_?F():L())};function fl(e){return!e||e<0?0:e>100?100:e}function wb(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 p1e=e=>{let{percent:t,success:n,successPercent:r}=e;const a=fl(wb({success:n,successPercent:r}));return[a,fl(fl(t)-a)]},g1e=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||Ju.green,n||null]},oy=(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]},m1e=3,h1e=e=>m1e/e*100,v1e=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]=oy(d,"circle");let{strokeWidth:h}=e;h===void 0&&(h=Math.max(h1e(p),6));const b={width:p,height:g,fontSize:p*.15+6},y=l.useMemo(()=>{if(o||o===0)return o;if(s==="dashboard")return 75},[o,s]),S=p1e(e),v=a||s==="dashboard"&&"bottom"||void 0,x=Object.prototype.toString.call(e.strokeColor)==="[object Object]",C=g1e({success:u,strokeColor:e.strokeColor}),w=ne(`${t}-inner`,{[`${t}-circle-gradient`]:x}),E=l.createElement(f1e,{steps:f,percent:f?S[1]:S,strokeWidth:h,trailWidth:h,strokeColor:f?C[1]:C,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:y,gapPosition:v}),I=p<=20,T=l.createElement("div",{className:w,style:b},E,!I&&c);return I?l.createElement(Zt,{title:c},T):T},Cb="--progress-line-stroke-color",iq="--progress-percent",AP=e=>{const t=e?"100%":"-100%";return new un(`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}})},b1e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},nn(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(${Cb})`]},height:"100%",width:`calc(1 / var(${iq}) * 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 ${K(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:AP(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:AP(!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}}})}},y1e=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"}}}},S1e=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}}}}}},x1e=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},w1e=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),C1e=on("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=zt(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[b1e(n),y1e(n),S1e(n),x1e(n)]},w1e);var E1e=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(", ")},T1e=(e,t)=>{const{from:n=Ju.blue,to:r=Ju.blue,direction:a=t==="rtl"?"to left":"to right"}=e,o=E1e(e,["from","to","direction"]);if(Object.keys(o).length!==0){const s=I1e(o),c=`linear-gradient(${a}, ${s})`;return{background:c,[Cb]:c}}const i=`linear-gradient(${a}, ${n}, ${r})`;return{background:i,[Cb]:i}},R1e=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,h=i&&typeof i!="string"?T1e(i,n):{[Cb]:i,background:i},b=s==="square"||s==="butt"?0:void 0,y=a??[-1,o||(a==="small"?6:8)],[S,v]=oy(y,"line",{strokeWidth:o}),x={backgroundColor:u||void 0,borderRadius:b},C=Object.assign(Object.assign({width:`${fl(r)}%`,height:v,borderRadius:b},h),{[iq]:fl(r)/100}),w=wb(e),E={width:`${fl(w)}%`,height:v,borderRadius:b,backgroundColor:f==null?void 0:f.strokeColor},I={width:S<0?"100%":S},T=l.createElement("div",{className:`${t}-inner`,style:x},l.createElement("div",{className:ne(`${t}-bg`,`${t}-bg-${g}`),style:C},g==="inner"&&c),w!==void 0&&l.createElement("div",{className:`${t}-success-bg`,style:E})),R=g==="outer"&&p==="start",_=g==="outer"&&p==="end";return g==="outer"&&p==="center"?l.createElement("div",{className:`${t}-layout-bottom`},T,c):l.createElement("div",{className:`${t}-outer`,style:I},R&&c,T,_&&c)},_1e=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]=oy(f,"step",{steps:n,strokeWidth:a}),h=p/n,b=new Array(n);for(let y=0;y{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:h={}}=e,b=$1e(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:y="end",type:S="outer"}=h,v=Array.isArray(i)?i[0]:i,x=typeof i=="string"||Array.isArray(i)?i:void 0,C=l.useMemo(()=>{if(v){const L=typeof v=="string"?v:Object.values(v)[0];return new an(L).isLight()}return!1},[i]),w=l.useMemo(()=>{var L,F;const j=wb(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(()=>!O1e.includes(f)&&w>=100?"success":f||"normal",[f,w]),{getPrefixCls:I,direction:T,progress:R}=l.useContext(st),_=I("progress",n),[$,P,D]=C1e(_),A=d==="line",O=A&&!o,N=l.useMemo(()=>{if(!u)return null;const L=wb(e);let F;const j=p||(z=>`${z}%`),B=A&&C&&S==="inner";return S==="inner"||p||E!=="exception"&&E!=="success"?F=j(fl(s),fl(L)):E==="exception"?F=A?l.createElement(Pc,null):l.createElement(Jr,null):E==="success"&&(F=A?l.createElement(Ug,null):l.createElement(nm,null)),l.createElement("span",{className:ne(`${_}-text`,{[`${_}-text-bright`]:B,[`${_}-text-${y}`]:O,[`${_}-text-${S}`]:O}),title:typeof F=="string"?F:void 0},F)},[u,s,w,E,d,_,p]);let k;d==="line"?k=o?l.createElement(_1e,Object.assign({},e,{strokeColor:x,prefixCls:_,steps:typeof o=="object"?o.count:o}),N):l.createElement(R1e,Object.assign({},e,{strokeColor:v,prefixCls:_,direction:T,percentPosition:{align:y,type:S}}),N):(d==="circle"||d==="dashboard")&&(k=l.createElement(v1e,Object.assign({},e,{strokeColor:v,prefixCls:_,progressStatus:E}),N));const M=ne(_,`${_}-status-${E}`,{[`${_}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${_}-inline-circle`]:d==="circle"&&oy(c,"circle")[0]<=20,[`${_}-line`]:O,[`${_}-line-align-${y}`]:O,[`${_}-line-position-${S}`]:O,[`${_}-steps`]:o,[`${_}-show-info`]:u,[`${_}-${c}`]:typeof c=="string",[`${_}-rtl`]:T==="rtl"},R==null?void 0:R.className,r,a,P,D);return $(l.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},R==null?void 0:R.style),g),className:M,role:"progressbar","aria-valuenow":w,"aria-valuemin":0,"aria-valuemax":100},On(b,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),k))});var N1e={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"},k1e=function(t,n){return l.createElement(nt,pe({},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:"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"},P1e=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:M1e}))},D1e=l.forwardRef(P1e),L1e={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"},F1e=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:L1e}))},j1e=l.forwardRef(F1e),B1e={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"},z1e=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:B1e}))},H1e=l.forwardRef(z1e),U1e={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"},V1e=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:U1e}))},W1e=l.forwardRef(V1e),G1e={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"},q1e=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:G1e}))},K1e=l.forwardRef(q1e),Y1e={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"},X1e=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Y1e}))},Z1e=l.forwardRef(X1e),Q1e={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"},J1e=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Q1e}))},MR=l.forwardRef(J1e),exe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.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:"check-square",theme:"outlined"},txe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:exe}))},PR=l.forwardRef(txe),nxe={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"},rxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:nxe}))},MP=l.forwardRef(rxe),axe={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"},oxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:axe}))},ixe=l.forwardRef(oxe),sxe={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"},lxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:sxe}))},DR=l.forwardRef(lxe),cxe={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"},uxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:cxe}))},dxe=l.forwardRef(uxe),fxe={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"},pxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:fxe}))},XO=l.forwardRef(pxe),gxe={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"},mxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:gxe}))},hxe=l.forwardRef(mxe),vxe={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"},bxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:vxe}))},yxe=l.forwardRef(bxe),Sxe={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"},xxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Sxe}))},ZO=l.forwardRef(xxe),wxe={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"},Cxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:wxe}))},Ed=l.forwardRef(Cxe),Exe={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"},Ixe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Exe}))},Zf=l.forwardRef(Ixe),Txe={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"},Rxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Txe}))},_xe=l.forwardRef(Rxe),$xe={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"},Oxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:$xe}))},QO=l.forwardRef(Oxe),Nxe={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"},kxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Nxe}))},vg=l.forwardRef(kxe),Axe={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"},Mxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Axe}))},Pxe=l.forwardRef(Mxe),Dxe={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"},Lxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Dxe}))},Fxe=l.forwardRef(Lxe),jxe={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"},Bxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:jxe}))},sq=l.forwardRef(Bxe),zxe={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"},Hxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:zxe}))},Uxe=l.forwardRef(Hxe),Vxe={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"},Wxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Vxe}))},Gxe=l.forwardRef(Wxe),qxe={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"},Kxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:qxe}))},Yxe=l.forwardRef(Kxe),Xxe={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"},Zxe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Xxe}))},Qxe=l.forwardRef(Zxe),Jxe={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"},ewe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Jxe}))},LR=l.forwardRef(ewe),twe={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"},nwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:twe}))},JO=l.forwardRef(nwe),rwe={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"},awe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:rwe}))},owe=l.forwardRef(awe),iwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},swe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:iwe}))},lwe=l.forwardRef(swe),cwe={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"},uwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:cwe}))},lq=l.forwardRef(uwe),dwe={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"},fwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:dwe}))},pwe=l.forwardRef(fwe),gwe={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"},mwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:gwe}))},hwe=l.forwardRef(mwe),vwe={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"},bwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:vwe}))},ywe=l.forwardRef(bwe),Swe={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"},xwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Swe}))},eN=l.forwardRef(xwe),wwe={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"},Cwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:wwe}))},Hu=l.forwardRef(Cwe),Ewe={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"},Iwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Ewe}))},Twe=l.forwardRef(Iwe),Rwe={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"},_we=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Rwe}))},$we=l.forwardRef(_we),Owe={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"},Nwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Owe}))},kwe=l.forwardRef(Nwe),Awe={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"},Mwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Awe}))},Pwe=l.forwardRef(Mwe),Dwe={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"},Lwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Dwe}))},Fwe=l.forwardRef(Lwe),jwe={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"},Bwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:jwe}))},zwe=l.forwardRef(Bwe),Hwe={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"},Uwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Hwe}))},Vwe=l.forwardRef(Uwe),Wwe={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"},Gwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Wwe}))},qwe=l.forwardRef(Gwe),Kwe={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"},Ywe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Kwe}))},Xwe=l.forwardRef(Ywe),Zwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},Qwe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Zwe}))},PP=l.forwardRef(Qwe),Jwe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M920 760H336c-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-568H336c-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 284H336c-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-8zM216 712H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h72.4v20.5h-35.7c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h35.7V838H100c-2.2 0-4 1.8-4 4v34c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4V716c0-2.2-1.8-4-4-4zM100 188h38v120c0 2.2 1.8 4 4 4h40c2.2 0 4-1.8 4-4V152c0-4.4-3.6-8-8-8h-78c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4zm116 240H100c-2.2 0-4 1.8-4 4v36c0 2.2 1.8 4 4 4h68.4l-70.3 77.7a8.3 8.3 0 00-2.1 5.4V592c0 2.2 1.8 4 4 4h116c2.2 0 4-1.8 4-4v-36c0-2.2-1.8-4-4-4h-68.4l70.3-77.7a8.3 8.3 0 002.1-5.4V432c0-2.2-1.8-4-4-4z"}}]},name:"ordered-list",theme:"outlined"},eCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:Jwe}))},tCe=l.forwardRef(eCe),nCe={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"},rCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:nCe}))},aCe=l.forwardRef(rCe),oCe={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"},iCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:oCe}))},DP=l.forwardRef(iCe),sCe={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"},lCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:sCe}))},cCe=l.forwardRef(lCe),uCe={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"},dCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:uCe}))},Di=l.forwardRef(dCe),fCe={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"},pCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:fCe}))},cq=l.forwardRef(pCe),gCe={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"},mCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:gCe}))},hCe=l.forwardRef(mCe),vCe={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"},bCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:vCe}))},LP=l.forwardRef(bCe),yCe={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"},SCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:yCe}))},tN=l.forwardRef(SCe),xCe={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"},wCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:xCe}))},uq=l.forwardRef(wCe),CCe={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"},ECe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:CCe}))},ICe=l.forwardRef(ECe),TCe={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"},RCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:TCe}))},nN=l.forwardRef(RCe),_Ce={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"},$Ce=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:_Ce}))},OCe=l.forwardRef($Ce),NCe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M288 421a48 48 0 1096 0 48 48 0 10-96 0zm352 0a48 48 0 1096 0 48 48 0 10-96 0zM512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm263 711c-34.2 34.2-74 61-118.3 79.8C611 874.2 562.3 884 512 884c-50.3 0-99-9.8-144.8-29.2A370.4 370.4 0 01248.9 775c-34.2-34.2-61-74-79.8-118.3C149.8 611 140 562.3 140 512s9.8-99 29.2-144.8A370.4 370.4 0 01249 248.9c34.2-34.2 74-61 118.3-79.8C413 149.8 461.7 140 512 140c50.3 0 99 9.8 144.8 29.2A370.4 370.4 0 01775.1 249c34.2 34.2 61 74 79.8 118.3C874.2 413 884 461.7 884 512s-9.8 99-29.2 144.8A368.89 368.89 0 01775 775zM664 533h-48.1c-4.2 0-7.8 3.2-8.1 7.4C604 589.9 562.5 629 512 629s-92.1-39.1-95.8-88.6c-.3-4.2-3.9-7.4-8.1-7.4H360a8 8 0 00-8 8.4c4.4 84.3 74.5 151.6 160 151.6s155.6-67.3 160-151.6a8 8 0 00-8-8.4z"}}]},name:"smile",theme:"outlined"},kCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:NCe}))},ACe=l.forwardRef(kCe),MCe={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"},PCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:MCe}))},dq=l.forwardRef(PCe),DCe={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"},LCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:DCe}))},FCe=l.forwardRef(LCe),jCe={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"},BCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:jCe}))},zCe=l.forwardRef(BCe),HCe={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"},UCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:HCe}))},VCe=l.forwardRef(UCe),WCe={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"},GCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:WCe}))},fq=l.forwardRef(GCe),qCe={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"},KCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:qCe}))},YCe=l.forwardRef(KCe),XCe={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"},ZCe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:XCe}))},QCe=l.forwardRef(ZCe),JCe={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"},eEe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:JCe}))},tEe=l.forwardRef(eEe),nEe={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"},rEe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:nEe}))},aEe=l.forwardRef(rEe),oEe={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"},iEe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:oEe}))},pq=l.forwardRef(iEe),sEe={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"},lEe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:sEe}))},gq=l.forwardRef(lEe),cEe={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"},uEe=function(t,n){return l.createElement(nt,pe({},t,{ref:n,icon:cEe}))},FR=l.forwardRef(uEe),dEe=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function FP(e){return typeof e=="string"}function mq(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,h=e.progressDot,b=e.stepIcon,y=e.tailContent,S=e.icons,v=e.stepIndex,x=e.onStepClick,C=e.onClick,w=e.render,E=xt(e,dEe),I=!!x&&!d,T={};I&&(T.role="button",T.tabIndex=0,T.onClick=function(A){C==null||C(A),x(v)},T.onKeyDown=function(A){var O=A.which;(O===Le.ENTER||O===Le.SPACE)&&x(v)});var R=function(){var O,N,k=ne("".concat(r,"-icon"),"".concat(s,"icon"),(O={},W(O,"".concat(s,"icon-").concat(c),c&&FP(c)),W(O,"".concat(s,"icon-check"),!c&&i==="finish"&&(S&&!S.finish||!S)),W(O,"".concat(s,"icon-cross"),!c&&i==="error"&&(S&&!S.error||!S)),O)),M=l.createElement("span",{className:"".concat(r,"-icon-dot")});return h?typeof h=="function"?N=l.createElement("span",{className:"".concat(r,"-icon")},h(M,{index:u-1,status:i,title:p,description:f})):N=l.createElement("span",{className:"".concat(r,"-icon")},M):c&&!FP(c)?N=l.createElement("span",{className:"".concat(r,"-icon")},c):S&&S.finish&&i==="finish"?N=l.createElement("span",{className:"".concat(r,"-icon")},S.finish):S&&S.error&&i==="error"?N=l.createElement("span",{className:"".concat(r,"-icon")},S.error):c||i==="finish"||i==="error"?N=l.createElement("span",{className:k}):N=l.createElement("span",{className:"".concat(r,"-icon")},u),b&&(N=b({index:u-1,status:i,title:p,description:f,node:N})),N},_=i||"wait",$=ne("".concat(r,"-item"),"".concat(r,"-item-").concat(_),n,(t={},W(t,"".concat(r,"-item-custom"),c),W(t,"".concat(r,"-item-active"),o),W(t,"".concat(r,"-item-disabled"),d===!0),t)),P=Z({},a),D=l.createElement("div",pe({},E,{className:$,style:P}),l.createElement("div",pe({onClick:C},T,{className:"".concat(r,"-item-container")}),l.createElement("div",{className:"".concat(r,"-item-tail")},y),l.createElement("div",{className:"".concat(r,"-item-icon")},R()),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 w&&(D=w(D)||null),D}var fEe=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function rN(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,h=g===void 0?"rc":g,b=e.status,y=b===void 0?"process":b,S=e.size,v=e.current,x=v===void 0?0:v,C=e.progressDot,w=C===void 0?!1:C,E=e.stepIcon,I=e.initial,T=I===void 0?0:I,R=e.icons,_=e.onChange,$=e.itemRender,P=e.items,D=P===void 0?[]:P,A=xt(e,fEe),O=d==="navigation",N=d==="inline",k=N||w,M=N?"horizontal":c,L=N?void 0:S,F=k?"vertical":p,j=ne(r,"".concat(r,"-").concat(M),i,(t={},W(t,"".concat(r,"-").concat(L),L),W(t,"".concat(r,"-label-").concat(F),M==="horizontal"),W(t,"".concat(r,"-dot"),!!k),W(t,"".concat(r,"-navigation"),O),W(t,"".concat(r,"-inline"),N),t)),B=function(V){_&&x!==V&&_(V)},z=function(V,te){var Y=Z({},V),J=T+te;return y==="error"&&te===x-1&&(Y.className="".concat(r,"-next-error")),Y.status||(J===x?Y.status=y:J{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:K(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},gEe=e=>{const{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},mEe=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:`${K(o)} ${K(e.paddingXXS)} 0`,margin:`0 ${K(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% - ${K(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:`${K(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:`${K(e.lineWidth)} ${e.lineType} ${a}`}},i),"&-error":i,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${K(e.calc(n).div(2).equal())})`,top:0}},i),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},hEe=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 ${K(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()}}}}}},vEe=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},xo),{"&::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% - ${K(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${K(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${K(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% - ${K(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"}}}},bEe=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:`${K(d)} !important`,height:`${K(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:`${K(f)} !important`,height:`${K(f)} !important`}}}}},yEe=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:`${K(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${K(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:K(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:K(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:`${K(e.calc(o).add(e.paddingXS).equal())} 0 ${K(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"}}}},SEe=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"}}}}},xEe=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 ${K(e.marginXS)}`,fontSize:r,lineHeight:K(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:K(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:K(n),transform:"none"}}}}},wEe=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:K(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:`${K(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${K(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:`${K(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${K(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:K(n)}}}}},CEe="wait",EEe="process",IEe="finish",TEe="error",yh=(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]}}},REe=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({},ws(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:K(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${K(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:K(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}},yh(CEe,e)),yh(EEe,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),yh(IEe,e)),yh(TEe,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},_Ee=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"}}}}},$Ee=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({},nn(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),REe(e)),_Ee(e)),pEe(e)),xEe(e)),wEe(e)),gEe(e)),hEe(e)),yEe(e)),vEe(e)),SEe(e)),bEe(e)),mEe(e))}},OEe=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}),NEe=on("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=zt(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[$Ee(f)]},OEe);function kEe(e){return e.filter(t=>t)}function AEe(e,t){if(e)return e;const n=vr(t).map(r=>{if(l.isValidElement(r)){const{props:a}=r;return Object.assign({},a)}return null});return kEe(n)}var MEe=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=MEe(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:p}=L0(s),{getPrefixCls:g,direction:h,steps:b}=l.useContext(st),y=l.useMemo(()=>s&&p?"vertical":o,[p,o]),S=Er(n),v=g("steps",e.prefixCls),[x,C,w]=NEe(v),E=e.type==="inline",I=g("",e.iconPrefix),T=AEe(i,u),R=E?void 0:t,_=Object.assign(Object.assign({},b==null?void 0:b.style),d),$=ne(b==null?void 0:b.className,{[`${v}-rtl`]:h==="rtl",[`${v}-with-progress`]:R!==void 0},r,a,C,w),P={finish:l.createElement(nm,{className:`${v}-finish-icon`}),error:l.createElement(Jr,{className:`${v}-error-icon`})},D=O=>{let{node:N,status:k}=O;if(k==="process"&&R!==void 0){const M=S==="small"?32:40;return l.createElement("div",{className:`${v}-progress-icon`},l.createElement(iy,{type:"circle",percent:R,size:M,strokeWidth:4,format:()=>null}),N)}return N},A=(O,N)=>O.description?l.createElement(Zt,{title:O.description},N):N;return x(l.createElement(rN,Object.assign({icons:P},f,{style:_,current:c,size:S,items:T,itemRender:E?A:void 0,stepIcon:D,direction:y,prefixCls:v,iconPrefix:I,className:$})))};Ns.Step=rN.Step;var PEe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],hq=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,h=e.onKeyDown,b=xt(e,PEe),y=sn(!1,{value:i,defaultValue:s}),S=re(y,2),v=S[0],x=S[1];function C(T,R){var _=v;return c||(_=T,x(_),g==null||g(_,R)),_}function w(T){T.which===Le.LEFT?C(!1,T):T.which===Le.RIGHT&&C(!0,T),h==null||h(T)}function E(T){var R=C(!v,T);p==null||p(R,T)}var I=ne(a,o,(n={},W(n,"".concat(a,"-checked"),v),W(n,"".concat(a,"-disabled"),c),n));return l.createElement("button",pe({},b,{type:"button",role:"switch","aria-checked":v,disabled:c,className:I,ref:t,onKeyDown:w,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)))});hq.displayName="Switch";const DEe=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:o,innerMaxMarginSM:i,handleSizeSM:s,calc:c}=e,u=`${t}-inner`,d=K(c(s).add(c(r).mul(2)).equal()),f=K(c(i).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:K(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% - ${K(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()}}}}}}},LEe=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}}}},FEe=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% - ${K(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}}}}},jEe=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:o,handleSize:i,calc:s}=e,c=`${t}-inner`,u=K(s(i).add(s(r).mul(2)).equal()),d=K(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()}}}}}},BEe=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},nn(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:K(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}}),zi(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"}})}},zEe=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 an("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:c/2,innerMaxMargin:c+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},HEe=on("Switch",e=>{const t=zt(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[BEe(t),jEe(t),FEe(t),LEe(t),DEe(t)]},zEe);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{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,h=UEe(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[b,y]=sn(!1,{value:u??d,defaultValue:f??p}),{getPrefixCls:S,direction:v,switch:x}=l.useContext(st),C=l.useContext(Zr),w=(a??C)||o,E=S("switch",n),I=l.createElement("div",{className:`${E}-handle`},o&&l.createElement(Hi,{className:`${E}-loading-icon`})),[T,R,_]=HEe(E),$=Er(r),P=ne(x==null?void 0:x.className,{[`${E}-small`]:$==="small",[`${E}-loading`]:o,[`${E}-rtl`]:v==="rtl"},i,s,R,_),D=Object.assign(Object.assign({},x==null?void 0:x.style),c),A=function(){y(arguments.length<=0?void 0:arguments[0]),g==null||g.apply(void 0,arguments)};return T(l.createElement(Gg,{component:"Switch"},l.createElement(hq,Object.assign({},h,{checked:b,onChange:A,prefixCls:E,className:P,style:D,disabled:w,ref:t,loadingIcon:I}))))}),za=VEe;za.__ANT_SWITCH=!0;var Vs={},pm="rc-table-internal-hook";function aN(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=re(c,1),d=u[0];return Xt(function(){Lr.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 wa(e,t){var n=Wt(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=re(c,2),d=u[1];return Xt(function(){if(!r)return;function f(p){var g=n(p);zo(s.current,g,!0)||d({})}return o.add(f),function(){o.delete(f)}},[r]),s.current}function WEe(){var e=l.createContext(null);function t(){return l.useContext(e)}function n(a,o){var i=gi(a),s=function(u,d){var f=i?{ref:d}:{},p=l.useRef(0),g=l.useRef(u),h=t();return h!==null?l.createElement(a,pe({},u,f)):((!o||o(g.current,u))&&(p.current+=1),g.current=u,l.createElement(e.Provider,{value:p.current},l.createElement(a,pe({},u,f))))};return i?l.forwardRef(s):s}function r(a,o){var i=gi(a),s=function(u,d){var f=i?{ref:d}:{};return t(),l.createElement(a,pe({},u,f))};return i?l.memo(l.forwardRef(s),o):l.memo(s,o)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var oN=WEe(),vq=oN.makeImmutable,tf=oN.responseImmutable,GEe=oN.useImmutableMark,eo=aN(),bq=l.createContext({renderWithProps:!1}),qEe="RC_TABLE_KEY";function KEe(e){return e==null?[]:Array.isArray(e)?e:[e]}function sy(e){var t=[],n={};return e.forEach(function(r){for(var a=r||{},o=a.key,i=a.dataIndex,s=o||KEe(i).join("-")||qEe;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function jR(e){return e!=null}function YEe(e){return e&&ht(e)==="object"&&!Array.isArray(e)&&!l.isValidElement(e)}function XEe(e,t,n,r,a,o){var i=l.useContext(bq),s=GEe(),c=_l(function(){if(jR(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=fo(e,u),f=d,p=void 0;if(a){var g=a(d,e,n);YEe(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=re(u,2),p=f[1],g=re(d,2),h=g[1];return o(h,p)}return i.renderWithProps?!0:!zo(u,d,!0)});return c}function ZEe(e,t,n,r){var a=e+t-1;return e<=r&&a>=n}function QEe(e,t){return wa(eo,function(n){var r=ZEe(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var JEe=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 e2e(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,h=e.className,b=e.align,y=e.record,S=e.render,v=e.dataIndex,x=e.renderIndex,C=e.shouldCellUpdate,w=e.index,E=e.rowType,I=e.colSpan,T=e.rowSpan,R=e.fixLeft,_=e.fixRight,$=e.firstFixLeft,P=e.lastFixLeft,D=e.firstFixRight,A=e.lastFixRight,O=e.appendNode,N=e.additionalProps,k=N===void 0?{}:N,M=e.isSticky,L="".concat(g,"-cell"),F=wa(eo,["supportSticky","allColumnsFixedLeft","rowHoverable"]),j=F.supportSticky,B=F.allColumnsFixedLeft,z=F.rowHoverable,H=XEe(y,v,x,d,S,C),V=re(H,2),te=V[0],Y=V[1],J={},G=typeof R=="number"&&j,U=typeof _=="number"&&j;G&&(J.position="sticky",J.left=R),U&&(J.position="sticky",J.right=_);var q=(t=(n=(r=Y==null?void 0:Y.colSpan)!==null&&r!==void 0?r:k.colSpan)!==null&&n!==void 0?n:I)!==null&&t!==void 0?t:1,X=(a=(o=(i=Y==null?void 0:Y.rowSpan)!==null&&i!==void 0?i:k.rowSpan)!==null&&o!==void 0?o:T)!==null&&a!==void 0?a:1,Q=QEe(w,X),ee=re(Q,2),oe=ee[0],le=ee[1],fe=Wt(function(ue){var ye;y&&le(w,w+X-1),k==null||(ye=k.onMouseEnter)===null||ye===void 0||ye.call(k,ue)}),ce=Wt(function(ue){var ye;y&&le(-1,-1),k==null||(ye=k.onMouseLeave)===null||ye===void 0||ye.call(k,ue)});if(q===0||X===0)return null;var Te=(s=k.title)!==null&&s!==void 0?s:JEe({rowType:E,ellipsis:f,children:te}),Se=ne(L,h,(c={},W(c,"".concat(L,"-fix-left"),G&&j),W(c,"".concat(L,"-fix-left-first"),$&&j),W(c,"".concat(L,"-fix-left-last"),P&&j),W(c,"".concat(L,"-fix-left-all"),P&&B&&j),W(c,"".concat(L,"-fix-right"),U&&j),W(c,"".concat(L,"-fix-right-first"),D&&j),W(c,"".concat(L,"-fix-right-last"),A&&j),W(c,"".concat(L,"-ellipsis"),f),W(c,"".concat(L,"-with-append"),O),W(c,"".concat(L,"-fix-sticky"),(G||U)&&M&&j),W(c,"".concat(L,"-row-hover"),!Y&&oe),c),k.className,Y==null?void 0:Y.className),ve={};b&&(ve.textAlign=b);var ae=Z(Z(Z(Z({},J),k.style),ve),Y==null?void 0:Y.style),ie=te;return ht(ie)==="object"&&!Array.isArray(ie)&&!l.isValidElement(ie)&&(ie=null),f&&(P||D)&&(ie=l.createElement("span",{className:"".concat(L,"-content")},ie)),l.createElement(u,pe({},Y,k,{className:Se,style:ae,title:Te,scope:p,onMouseEnter:z?fe:void 0,onMouseLeave:z?ce:void 0,colSpan:q!==1?q:null,rowSpan:X!==1?X:null}),O,ie)}const Bc=l.memo(e2e);function iN(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],h=n[e-1],b=g&&!g.fixed||h&&!h.fixed||n.every(function(C){return C.fixed==="left"});if(a==="rtl"){if(s!==void 0){var y=h&&h.fixed==="left";p=!y&&b}else if(c!==void 0){var S=g&&g.fixed==="right";f=!S&&b}}else if(s!==void 0){var v=g&&g.fixed==="left";u=!v&&b}else if(c!==void 0){var x=h&&h.fixed==="right";d=!x&&b}return{fixLeft:s,fixRight:c,lastFixLeft:u,firstFixRight:d,lastFixRight:f,firstFixLeft:p,isSticky:r.isSticky}}var yq=l.createContext({});function t2e(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=wa(eo,["prefixCls","direction"]),u=c.prefixCls,d=c.direction,f=l.useContext(yq),p=f.scrollColumnIndex,g=f.stickyOffsets,h=f.flattenColumns,b=n+o-1,y=b+1===p?o+1:o,S=iN(n,n+y-1,h,g,d);return l.createElement(Bc,pe({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:y,rowSpan:i,render:function(){return r}},S))}var n2e=["children"];function r2e(e){var t=e.children,n=xt(e,n2e);return l.createElement("tr",n,t)}function ly(e){var t=e.children;return t}ly.Row=r2e;ly.Cell=t2e;function a2e(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,a=wa(eo,"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(yq.Provider,{value:s},l.createElement("tfoot",{className:"".concat(a,"-summary")},t))}const Sh=tf(a2e);var Sq=ly;function o2e(e){return null}function i2e(e){return null}function xq(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),D=1;D<$;D++)P[D-1]=arguments[D];w==null||w.apply(void 0,[_].concat(P))},I;typeof g=="string"?I=g:typeof g=="function"&&(I=g(e,n,r));var T=sy(o);return Z(Z({},a),{},{columnsKey:T,nestExpandable:h,expanded:S,hasNestChildren:v,record:e,onTriggerExpand:x,rowSupportExpand:b,expandable:y,rowProps:Z(Z({},C),{},{className:ne(I,C==null?void 0:C.className),onClick:E})})}function Eq(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=wa(eo,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),d=u.scrollbarSize,f=u.fixHeader,p=u.fixColumn,g=u.componentWidth,h=u.horizonScroll,b=n;return(c?h&&g:p)&&(b=l.createElement("div",{style:{width:g-(f?d:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(t,"-expanded-row-fixed")},b)),l.createElement(r,{className:o,style:{display:i?null:"none"}},l.createElement(Bc,{component:a,prefixCls:t,colSpan:s},b))}function Iq(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,h=e.hasNestChildren,b=e.onTriggerExpand,y=s[n],S=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:h,record:o,onExpand:b})));var x;return t.onCell&&(x=t.onCell(o,a)),{key:y,fixedInfo:S,appendCellNode:v,additionalCellProps:x||{}}}function s2e(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=Cq(r,i,a,c),g=p.prefixCls,h=p.flattenColumns,b=p.expandedRowClassName,y=p.expandedRowRender,S=p.rowProps,v=p.expanded,x=p.rowSupportExpand,C=l.useRef(!1);C.current||(C.current=v);var w=b&&b(r,a,c),E=l.createElement(u,pe({},S,{"data-row-key":i,className:ne(t,"".concat(g,"-row"),"".concat(g,"-row-level-").concat(c),S==null?void 0:S.className,c>=1?w:""),style:Z(Z({},n),S==null?void 0:S.style)}),h.map(function(R,_){var $=R.render,P=R.dataIndex,D=R.className,A=Iq(p,R,_,c,a),O=A.key,N=A.fixedInfo,k=A.appendCellNode,M=A.additionalCellProps;return l.createElement(Bc,pe({className:D,ellipsis:R.ellipsis,align:R.align,scope:R.rowScope,component:R.rowScope?f:d,prefixCls:g,key:O,record:r,index:a,renderIndex:o,dataIndex:P,render:$,shouldCellUpdate:R.shouldCellUpdate},N,{appendNode:k,additionalProps:M}))})),I;if(x&&(C.current||v)){var T=y(r,a,c+1,v);I=l.createElement(Eq,{expanded:v,className:ne("".concat(g,"-expanded-row"),"".concat(g,"-expanded-row-level-").concat(c+1),w),prefixCls:g,component:u,cellComponent:d,colSpan:h.length,isEmpty:!1},T)}return l.createElement(l.Fragment,null,E,I)}const l2e=tf(s2e);function c2e(e){var t=e.columnKey,n=e.onColumnResize,r=l.useRef();return l.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),l.createElement(sa,{data:t},l.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},l.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function u2e(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(sa.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(c2e,{key:a,columnKey:a,onColumnResize:r})})))}function d2e(e){var t=e.data,n=e.measureColumnWidth,r=wa(eo,["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=wq(t,d,u,c),g=l.useRef({renderWithProps:!1}),h=o(["body","wrapper"],"tbody"),b=o(["body","row"],"tr"),y=o(["body","cell"],"td"),S=o(["body","cell"],"th"),v;t.length?v=p.map(function(C,w){var E=C.record,I=C.indent,T=C.index,R=c(E,w);return l.createElement(l2e,{key:R,rowKey:R,record:E,index:w,renderIndex:T,rowComponent:b,cellComponent:y,scopeCellComponent:S,getRowKey:c,indent:I})}):v=l.createElement(Eq,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:b,cellComponent:y,colSpan:s.length,isEmpty:!0},f);var x=sy(s);return l.createElement(bq.Provider,{value:g.current},l.createElement(h,{className:"".concat(a,"-tbody")},n&&l.createElement(u2e,{prefixCls:a,columnsKey:x,onColumnResize:i}),v))}const f2e=tf(d2e);var p2e=["expandable"],Cp="RC_TABLE_INTERNAL_COL_DEFINE";function g2e(e){var t=e.expandable,n=xt(e,p2e),r;return"expandable"in e?r=Z(Z({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var m2e=["columnType"];function Tq(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[Cp];if(c||d||i){var f=d||{};f.columnType;var p=xt(f,m2e);a.unshift(l.createElement("col",pe({key:s,style:{width:c}},p))),i=!0}}return l.createElement("colgroup",null,a)}var h2e=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function v2e(e,t){return l.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:y.ellipsis,align:y.align,component:i,prefixCls:d,key:g[b]},S,{additionalProps:v,rowType:"header"}))}))};function S2e(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,h=f.children;return h&&h.length>0&&(g=n(h,u,c+1).reduce(function(b,y){return b+y},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 w2e(e,t,n){return l.useMemo(function(){if(t&&t>0){var r=0,a=0;e.forEach(function(p){var g=zP(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=Z({},p),h=zP(t,g.width);if(h)g.width=h;else{var b=Math.floor(c);g.width=s===1?i:b,i-=b,s-=1}return u+=g.width,g});if(u0?Z(Z({},t),{},{children:Rq(n)}):t})}function BR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&ht(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(De(n),De(BR(c,s).map(function(u){return Z({fixed:i},u)}))):[].concat(De(n),[Z(Z({key:s},r),{},{fixed:i})])},[])}function I2e(e){return e.map(function(t){var n=t.fixed,r=xt(t,E2e),a=n;return n==="left"?a="right":n==="right"&&(a="left"),Z({fixed:a},r)})}function T2e(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,h=e.expandRowByClick,b=e.columnWidth,y=e.fixed,S=e.scrollWidth,v=e.clientWidth,x=l.useMemo(function(){var P=r||sN(a)||[];return Rq(P.slice())},[r,a]),C=l.useMemo(function(){if(o){var P,D=x.slice();if(!D.includes(Vs)){var A=p||0;A>=0&&D.splice(A,0,Vs)}var O=D.indexOf(Vs);D=D.filter(function(L,F){return L!==Vs||F===O});var N=x[O],k;(y==="left"||y)&&!p?k="left":(y==="right"||y)&&p===x.length?k="right":k=N?N.fixed:null;var M=(P={},W(P,Cp,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),W(P,"title",s),W(P,"fixed",k),W(P,"className","".concat(n,"-row-expand-icon-cell")),W(P,"width",b),W(P,"render",function(F,j,B){var z=c(j,B),H=i.has(z),V=f?f(j):!0,te=d({prefixCls:n,expanded:H,expandable:V,record:j,onExpand:u});return h?l.createElement("span",{onClick:function(J){return J.stopPropagation()}},te):te}),P);return D.map(function(L){return L===Vs?M:L})}return x.filter(function(L){return L!==Vs})},[o,x,c,i,d,g]),w=l.useMemo(function(){var P=C;return t&&(P=t(P)),P.length||(P=[{render:function(){return null}}]),P},[t,C,g]),E=l.useMemo(function(){return g==="rtl"?I2e(BR(w)):BR(w)},[w,g,S]),I=l.useMemo(function(){for(var P=-1,D=E.length-1;D>=0;D-=1){var A=E[D].fixed;if(A==="left"||A===!0){P=D;break}}if(P>=0)for(var O=0;O<=P;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=Ut(function(){if(o.current){var A=NR(o.current).top,O=A+o.current.offsetHeight,N=c===window?document.documentElement.scrollTop+window.innerHeight:NR(c).top+c.clientHeight;O-xM()<=N||A>=N-s?S(function(k){return Z(Z({},k),{},{isHiddenScrollBar:!0})}):S(function(k){return Z(Z({},k),{},{isHiddenScrollBar:!1})})}})},P=function(A){S(function(O){return Z(Z({},O),{},{scrollLeft:A/d*f||0})})};return l.useImperativeHandle(n,function(){return{setScrollLeft:P,checkScrollBarVisible:$}}),l.useEffect(function(){var D=Pi(document.body,"mouseup",T,!1),A=Pi(document.body,"mousemove",_,!1);return $(),function(){D.remove(),A.remove()}},[p,w]),l.useEffect(function(){var D=Pi(c,"scroll",$,!1),A=Pi(window,"resize",$,!1);return function(){D.remove(),A.remove()}},[c]),l.useEffect(function(){y.isHiddenScrollBar||S(function(D){var A=o.current;return A?Z(Z({},D),{},{scrollLeft:A.scrollLeft/A.scrollWidth*A.clientWidth}):D})},[y.isHiddenScrollBar]),d<=f||!p||y.isHiddenScrollBar?null:l.createElement("div",{style:{height:xM(),width:f,bottom:s},className:"".concat(u,"-sticky-scroll")},l.createElement("div",{onMouseDown:R,ref:g,className:ne("".concat(u,"-sticky-scroll-bar"),W({},"".concat(u,"-sticky-scroll-bar-active"),w)),style:{width:"".concat(p,"px"),transform:"translate3d(".concat(y.scrollLeft,"px, 0, 0)")}}))};const D2e=l.forwardRef(P2e);var $q="rc-table",L2e=[],F2e={};function j2e(){return"No Data"}function B2e(e,t){var n,r=Z({rowKey:"key",prefixCls:$q,emptyText:j2e},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,h=r.footer,b=r.summary,y=r.caption,S=r.id,v=r.showHeader,x=r.components,C=r.emptyText,w=r.onRow,E=r.onHeaderRow,I=r.onScroll,T=r.internalHooks,R=r.transformColumns,_=r.internalRefs,$=r.tailor,P=r.getContainerWidth,D=r.sticky,A=r.rowHoverable,O=A===void 0?!0:A,N=c||L2e,k=!!N.length,M=T===pm,L=l.useCallback(function(pt,Dt){return fo(x,pt)||Dt},[x]),F=l.useMemo(function(){return typeof u=="function"?u:function(pt){var Dt=pt&&pt[u];return Dt}},[u]),j=L(["body"]),B=k2e(),z=re(B,3),H=z[0],V=z[1],te=z[2],Y=$2e(r,N,F),J=re(Y,6),G=J[0],U=J[1],q=J[2],X=J[3],Q=J[4],ee=J[5],oe=d==null?void 0:d.x,le=l.useState(0),fe=re(le,2),ce=fe[0],Te=fe[1],Se=T2e(Z(Z(Z({},r),G),{},{expandable:!!G.expandedRowRender,columnTitle:G.columnTitle,expandedKeys:q,getRowKey:F,onTriggerExpand:ee,expandIcon:X,expandIconColumnIndex:G.expandIconColumnIndex,direction:p,scrollWidth:M&&$&&typeof oe=="number"?oe:null,clientWidth:ce}),M?R:null),ve=re(Se,4),ae=ve[0],ie=ve[1],ue=ve[2],ye=ve[3],Ee=ue??oe,Me=l.useMemo(function(){return{columns:ae,flattenColumns:ie}},[ae,ie]),Ie=l.useRef(),Ce=l.useRef(),me=l.useRef(),we=l.useRef();l.useImperativeHandle(t,function(){return{nativeElement:Ie.current,scrollTo:function(Dt){var yn;if(me.current instanceof HTMLElement){var fr=Dt.index,mn=Dt.top,ua=Dt.key;if(mn){var Ia;(Ia=me.current)===null||Ia===void 0||Ia.scrollTo({top:mn})}else{var ra,Fa=ua??F(N[fr]);(ra=me.current.querySelector('[data-row-key="'.concat(Fa,'"]')))===null||ra===void 0||ra.scrollIntoView()}}else(yn=me.current)!==null&&yn!==void 0&&yn.scrollTo&&me.current.scrollTo(Dt)}}});var _e=l.useRef(),Ne=l.useState(!1),he=re(Ne,2),ke=he[0],xe=he[1],ge=l.useState(!1),Pe=re(ge,2),Ve=Pe[0],Ae=Pe[1],be=_q(new Map),Oe=re(be,2),Fe=Oe[0],Ke=Oe[1],He=sy(ie),ze=He.map(function(pt){return Fe.get(pt)}),Ze=l.useMemo(function(){return ze},[ze.join("_")]),je=M2e(Ze,ie,p),Je=d&&jR(d.y),mt=d&&jR(Ee)||!!G.fixed,ft=mt&&ie.some(function(pt){var Dt=pt.fixed;return Dt}),qe=l.useRef(),We=A2e(D,a),Qe=We.isSticky,ct=We.offsetHeader,Rt=We.offsetSummary,$t=We.offsetScroll,vt=We.stickyClassName,lt=We.container,ot=l.useMemo(function(){return b==null?void 0:b(N)},[b,N]),et=(Je||Qe)&&l.isValidElement(ot)&&ot.type===ly&&ot.props.fixed,bt,rt,St;Je&&(rt={overflowY:"scroll",maxHeight:d.y}),mt&&(bt={overflowX:"auto"},Je||(rt={overflowY:"hidden"}),St={width:Ee===!0?"auto":Ee,minWidth:"100%"});var Et=l.useCallback(function(pt,Dt){Vd(Ie.current)&&Ke(function(yn){if(yn.get(pt)!==Dt){var fr=new Map(yn);return fr.set(pt,Dt),fr}return yn})},[]),tt=N2e(),at=re(tt,2),Ye=at[0],Ge=at[1];function yt(pt,Dt){Dt&&(typeof Dt=="function"?Dt(pt):Dt.scrollLeft!==pt&&(Dt.scrollLeft=pt,Dt.scrollLeft!==pt&&setTimeout(function(){Dt.scrollLeft=pt},0)))}var Tt=Wt(function(pt){var Dt=pt.currentTarget,yn=pt.scrollLeft,fr=p==="rtl",mn=typeof yn=="number"?yn:Dt.scrollLeft,ua=Dt||F2e;if(!Ge()||Ge()===ua){var Ia;Ye(ua),yt(mn,Ce.current),yt(mn,me.current),yt(mn,_e.current),yt(mn,(Ia=qe.current)===null||Ia===void 0?void 0:Ia.setScrollLeft)}var ra=Dt||Ce.current;if(ra){var Fa=ra.scrollWidth,wi=ra.clientWidth;if(Fa===wi){xe(!1),Ae(!1);return}fr?(xe(-mn0)):(xe(mn>0),Ae(mn1?y-A:0,N=Z(Z(Z({},T),u),{},{flex:"0 0 ".concat(A,"px"),width:"".concat(A,"px"),marginRight:O,pointerEvents:"auto"}),k=l.useMemo(function(){return f?P<=1:_===0||P===0||P>1},[P,_,f]);k?N.visibility="hidden":f&&(N.height=p==null?void 0:p(P));var M=k?function(){return null}:g,L={};return(P===0||_===0)&&(L.rowSpan=1,L.colSpan=1),l.createElement(Bc,pe({className:ne(b,d),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:i,prefixCls:t.prefixCls,key:C,record:c,index:o,renderIndex:s,dataIndex:h,render:M,shouldCellUpdate:n.shouldCellUpdate},w,{appendNode:E,additionalProps:Z(Z({},I),{},{style:N},L)}))}var V2e=["data","index","className","rowKey","style","extra","getHeight"],W2e=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=xt(e,V2e),d=n.record,f=n.indent,p=n.index,g=wa(eo,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),h=g.scrollX,b=g.flattenColumns,y=g.prefixCls,S=g.fixColumn,v=g.componentWidth,x=wa(lN,["getComponent"]),C=x.getComponent,w=Cq(d,o,r,f),E=C(["body","row"],"div"),I=C(["body","cell"],"div"),T=w.rowSupportExpand,R=w.expanded,_=w.rowProps,$=w.expandedRowRender,P=w.expandedRowClassName,D;if(T&&R){var A=$(d,r,f+1,R),O=P==null?void 0:P(d,r,f),N={};S&&(N={style:W({},"--virtual-width","".concat(v,"px"))});var k="".concat(y,"-expanded-row-cell");D=l.createElement(E,{className:ne("".concat(y,"-expanded-row"),"".concat(y,"-expanded-row-level-").concat(f+1),O)},l.createElement(Bc,{component:I,prefixCls:y,className:ne(k,W({},"".concat(k,"-fixed"),S)),additionalProps:N},A))}var M=Z(Z({},i),{},{width:h});s&&(M.position="absolute",M.pointerEvents="none");var L=l.createElement(E,pe({},_,u,{"data-row-key":o,ref:T?null:t,className:ne(a,"".concat(y,"-row"),_==null?void 0:_.className,W({},"".concat(y,"-row-extra"),s)),style:Z(Z({},M),_==null?void 0:_.style)}),b.map(function(F,j){return l.createElement(U2e,{key:j,component:I,rowInfo:w,column:F,colIndex:j,indent:f,index:r,renderIndex:p,record:d,inverse:s,getHeight:c})}));return T?l.createElement("div",{ref:t},L,D):L}),VP=tf(W2e),G2e=l.forwardRef(function(e,t){var n=e.data,r=e.onScroll,a=wa(eo,["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=wa(lN),h=g.sticky,b=g.scrollY,y=g.listItemHeight,S=g.getComponent,v=g.onScroll,x=l.useRef(),C=wq(n,d,c,s),w=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 w.map(function(N){return N[2]})},[w]);l.useEffect(function(){w.forEach(function(N){var k=re(N,2),M=k[0],L=k[1];i(M,L)})},[w]),l.useImperativeHandle(t,function(){var N={scrollTo:function(M){var L;(L=x.current)===null||L===void 0||L.scrollTo(M)}};return Object.defineProperty(N,"scrollLeft",{get:function(){var M;return((M=x.current)===null||M===void 0?void 0:M.getScrollInfo().x)||0},set:function(M){var L;(L=x.current)===null||L===void 0||L.scrollTo({left:M})}}),N});var I=function(k,M){var L,F=(L=C[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},T=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(ee){return I(ee,M)===0}),z=M,H=function(oe){if(B=B.filter(function(le){return I(le,oe)===0}),!B.length)return z=oe,1},V=M;V>=0&&!H(V);V-=1);for(var te=o.filter(function(ee){return I(ee,L)!==1}),Y=L,J=function(oe){if(te=te.filter(function(le){return I(le,oe)!==1}),!te.length)return Y=Math.max(oe-1,L),1},G=L;G1})&&U.push(oe)},X=z;X<=Y;X+=1)q(X);var Q=U.map(function(ee){var oe=C[ee],le=s(oe.record,ee),fe=function(Se){var ve=ee+Se-1,ae=s(C[ve].record,ve),ie=F(le,ae);return ie.bottom-ie.top},ce=F(le);return l.createElement(VP,{key:ee,data:oe,rowKey:le,index:ee,style:{top:-j+ce.top},extra:!0,getHeight:fe})});return Q},R=l.useMemo(function(){return{columnsOffset:E}},[E]),_="".concat(u,"-tbody"),$=S(["body","wrapper"]),P=S(["body","row"],"div"),D=S(["body","cell"],"div"),A;if(C.length){var O={};h&&(O.position="sticky",O.bottom=0,ht(h)==="object"&&h.offsetScroll&&(O.bottom=h.offsetScroll)),A=l.createElement(M0,{fullHeight:!1,ref:x,prefixCls:"".concat(_,"-virtual"),styles:{horizontalScrollBar:O},className:_,height:b,itemHeight:y||24,data:C,itemKey:function(k){return s(k.record)},component:$,scrollWidth:p,onVirtualScroll:function(k){var M=k.x;r({scrollLeft:M})},onScroll:v,extraRender:T},function(N,k,M){var L=s(N.record,k);return l.createElement(VP,{data:N,rowKey:L,index:k,style:M.style})})}else A=l.createElement(P,{className:ne("".concat(u,"-placeholder"))},l.createElement(Bc,{component:D,prefixCls:u},f));return l.createElement(Nq.Provider,{value:R},A)}),q2e=tf(G2e),K2e=function(t,n){var r=n.ref,a=n.onScroll;return l.createElement(q2e,{ref:r,data:t,onScroll:a})};function Y2e(e,t){var n=e.columns,r=e.scroll,a=e.sticky,o=e.prefixCls,i=o===void 0?$q: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 h=Wt(function(S,v){return fo(u,S)||v}),b=Wt(d),y=l.useMemo(function(){return{sticky:a,scrollY:g,listItemHeight:c,getComponent:h,onScroll:b}},[a,g,c,h,b]);return l.createElement(lN.Provider,{value:y},l.createElement(nf,pe({},e,{className:ne(s,"".concat(i,"-virtual")),scroll:Z(Z({},r),{},{x:p}),components:Z(Z({},u),{},{body:K2e}),columns:n,internalHooks:pm,tailor:!0,ref:t})))}var X2e=l.forwardRef(Y2e);function kq(e){return vq(X2e,e)}kq();const Z2e=e=>null,Q2e=e=>null;var cN=l.createContext(null),J2e=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 ns(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function uN(e){return e.split("-")}function aIe(e,t){var n=[],r=Va(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 oIe(e){if(e.parent){var t=uN(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function iIe(e){var t=uN(e.pos);return Number(t[t.length-1])===0}function qP(e,t,n,r,a,o,i,s,c,u){var d,f=e.clientX,p=e.clientY,g=e.target.getBoundingClientRect(),h=g.top,b=g.height,y=(u==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-f),S=(y-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}),x=Va(s,n.props.eventKey);if(p-1.5?o({dragNode:D,dropNode:A,dropPosition:1})?_=1:O=!1:o({dragNode:D,dropNode:A,dropPosition:0})?_=0:o({dragNode:D,dropNode:A,dropPosition:1})?_=1:O=!1:o({dragNode:D,dropNode:A,dropPosition:1})?_=1:O=!1,{dropPosition:_,dropLevelOffset:$,dropTargetKey:x.key,dropTargetPos:x.pos,dragOverNodeKey:R,dropContainerKey:_===0?null:((d=x.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:O}}function KP(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function b1(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(ht(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return vn(!1,"`checkedKeys` is not an array or an object"),null;return t}function zR(e,t){var n=new Set;function r(a){if(!n.has(a)){var o=Va(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)}),De(n)}function sIe(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(h=>e(h)),p=f.some(h=>!s.has(h)),g=[];return f.forEach(h=>{p?(s.has(h)||g.push(h),s.add(h)):(s.delete(h),g.push(h))}),n(p?d:null),g},[t]),o=>{n(o)}]}const Bs={},HR="SELECT_ALL",UR="SELECT_INVERT",VR="SELECT_NONE",YP=[],Aq=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat(De(n),De(Aq(e,r[e]))))}),n},lIe=(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:h,fixed:b,renderCell:y,hideSelectAll:S,checkStrictly:v=!0}=t||{},{prefixCls:x,data:C,pageData:w,getRecordByKey:E,getRowKey:I,expandType:T,childrenColumnName:R,locale:_,getPopupContainer:$}=e,P=$l(),[D,A]=sIe(q=>q),[O,N]=sn(r||a||YP,{value:r}),k=l.useRef(new Map),M=l.useCallback(q=>{if(n){const X=new Map;q.forEach(Q=>{let ee=E(Q);!ee&&k.current.has(Q)&&(ee=k.current.get(Q)),X.set(Q,ee)}),k.current=X}},[E,n]);l.useEffect(()=>{M(O)},[O]);const{keyEntities:L}=l.useMemo(()=>{if(v)return{keyEntities:null};let q=C;if(n){const X=new Set(C.map((ee,oe)=>I(ee,oe))),Q=Array.from(k.current).reduce((ee,oe)=>{let[le,fe]=oe;return X.has(le)?ee:ee.concat(fe)},[]);q=[].concat(De(q),De(Q))}return J0(q,{externalGetKey:I,childrenPropName:R})},[C,I,v,R,n]),F=l.useMemo(()=>Aq(R,w),[R,w]),j=l.useMemo(()=>{const q=new Map;return F.forEach((X,Q)=>{const ee=I(X,Q),oe=(o?o(X):null)||{};q.set(ee,oe)}),q},[F,I,o]),B=l.useCallback(q=>{var X;return!!(!((X=j.get(I(q)))===null||X===void 0)&&X.disabled)},[j,I]),[z,H]=l.useMemo(()=>{if(v)return[O||[],[]];const{checkedKeys:q,halfCheckedKeys:X}=hs(O,!0,L,B);return[q||[],X]},[O,v,L,B]),V=l.useMemo(()=>{const q=g==="radio"?z.slice(0,1):z;return new Set(q)},[z,g]),te=l.useMemo(()=>g==="radio"?new Set:new Set(H),[H,g]);l.useEffect(()=>{t||N(YP)},[!!t]);const Y=l.useCallback((q,X)=>{let Q,ee;M(q),n?(Q=q,ee=q.map(oe=>k.current.get(oe))):(Q=[],ee=[],q.forEach(oe=>{const le=E(oe);le!==void 0&&(Q.push(oe),ee.push(le))})),N(Q),i==null||i(Q,ee,{type:X})},[N,E,i,n]),J=l.useCallback((q,X,Q,ee)=>{if(s){const oe=Q.map(le=>E(le));s(E(q),X,oe,ee)}Y(Q,"single")},[s,E,Y]),G=l.useMemo(()=>!h||S?null:(h===!0?[HR,UR,VR]:h).map(X=>X===HR?{key:"all",text:_.selectionAll,onSelect(){Y(C.map((Q,ee)=>I(Q,ee)).filter(Q=>{const ee=j.get(Q);return!(ee!=null&&ee.disabled)||V.has(Q)}),"all")}}:X===UR?{key:"invert",text:_.selectInvert,onSelect(){const Q=new Set(V);w.forEach((oe,le)=>{const fe=I(oe,le),ce=j.get(fe);ce!=null&&ce.disabled||(Q.has(fe)?Q.delete(fe):Q.add(fe))});const ee=Array.from(Q);u&&(P.deprecated(!1,"onSelectInvert","onChange"),u(ee)),Y(ee,"invert")}}:X===VR?{key:"none",text:_.selectNone,onSelect(){d==null||d(),Y(Array.from(V).filter(Q=>{const ee=j.get(Q);return ee==null?void 0:ee.disabled}),"none")}}:X).map(X=>Object.assign(Object.assign({},X),{onSelect:function(){for(var Q,ee,oe=arguments.length,le=new Array(oe),fe=0;fe{var X;if(!t)return q.filter(me=>me!==Bs);let Q=De(q);const ee=new Set(V),oe=F.map(I).filter(me=>!j.get(me).disabled),le=oe.every(me=>ee.has(me)),fe=oe.some(me=>ee.has(me)),ce=()=>{const me=[];le?oe.forEach(_e=>{ee.delete(_e),me.push(_e)}):oe.forEach(_e=>{ee.has(_e)||(ee.add(_e),me.push(_e))});const we=Array.from(ee);c==null||c(!le,we.map(_e=>E(_e)),me.map(_e=>E(_e))),Y(we,"all"),A(null)};let Te,Se;if(g!=="radio"){let me;if(G){const ke={getPopupContainer:$,items:G.map((xe,ge)=>{const{key:Pe,text:Ve,onSelect:Ae}=xe;return{key:Pe??ge,onClick:()=>{Ae==null||Ae(oe)},label:Ve}})};me=l.createElement("div",{className:`${x}-selection-extra`},l.createElement(ny,{menu:ke,getPopupContainer:$},l.createElement("span",null,l.createElement(D0,null))))}const we=F.map((ke,xe)=>{const ge=I(ke,xe),Pe=j.get(ge)||{};return Object.assign({checked:ee.has(ge)},Pe)}).filter(ke=>{let{disabled:xe}=ke;return xe}),_e=!!we.length&&we.length===F.length,Ne=_e&&we.every(ke=>{let{checked:xe}=ke;return xe}),he=_e&&we.some(ke=>{let{checked:xe}=ke;return xe});Se=l.createElement(Rs,{checked:_e?Ne:!!F.length&&le,indeterminate:_e?!Ne&&he:!le&&fe,onChange:ce,disabled:F.length===0||_e,"aria-label":me?"Custom selection":"Select all",skipGroup:!0}),Te=!S&&l.createElement("div",{className:`${x}-selection`},Se,me)}let ve;g==="radio"?ve=(me,we,_e)=>{const Ne=I(we,_e),he=ee.has(Ne);return{node:l.createElement(mo,Object.assign({},j.get(Ne),{checked:he,onClick:ke=>ke.stopPropagation(),onChange:ke=>{ee.has(Ne)||J(Ne,!0,[Ne],ke.nativeEvent)}})),checked:he}}:ve=(me,we,_e)=>{var Ne;const he=I(we,_e),ke=ee.has(he),xe=te.has(he),ge=j.get(he);let Pe;return T==="nest"?Pe=xe:Pe=(Ne=ge==null?void 0:ge.indeterminate)!==null&&Ne!==void 0?Ne:xe,{node:l.createElement(Rs,Object.assign({},ge,{indeterminate:Pe,checked:ke,skipGroup:!0,onClick:Ve=>Ve.stopPropagation(),onChange:Ve=>{let{nativeEvent:Ae}=Ve;const{shiftKey:be}=Ae,Oe=oe.findIndex(Ke=>Ke===he),Fe=z.some(Ke=>oe.includes(Ke));if(be&&v&&Fe){const Ke=D(Oe,oe,ee),He=Array.from(ee);f==null||f(!ke,He.map(ze=>E(ze)),Ke.map(ze=>E(ze))),Y(He,"multiple")}else{const Ke=z;if(v){const He=ke?Ri(Ke,he):ns(Ke,he);J(he,!ke,He,Ae)}else{const He=hs([].concat(De(Ke),[he]),!0,L,B),{checkedKeys:ze,halfCheckedKeys:Ze}=He;let je=ze;if(ke){const Je=new Set(ze);Je.delete(he),je=hs(Array.from(Je),{checked:!1,halfCheckedKeys:Ze},L,B).checkedKeys}J(he,!ke,je,Ae)}}A(ke?null:Oe)}})),checked:ke}};const ae=(me,we,_e)=>{const{node:Ne,checked:he}=ve(me,we,_e);return y?y(he,we,_e,Ne):Ne};if(!Q.includes(Bs))if(Q.findIndex(me=>{var we;return((we=me[Cp])===null||we===void 0?void 0:we.columnType)==="EXPAND_COLUMN"})===0){const[me,...we]=Q;Q=[me,Bs].concat(De(we))}else Q=[Bs].concat(De(Q));const ie=Q.indexOf(Bs);Q=Q.filter((me,we)=>me!==Bs||we===ie);const ue=Q[ie-1],ye=Q[ie+1];let Ee=b;Ee===void 0&&((ye==null?void 0:ye.fixed)!==void 0?Ee=ye.fixed:(ue==null?void 0:ue.fixed)!==void 0&&(Ee=ue.fixed)),Ee&&ue&&((X=ue[Cp])===null||X===void 0?void 0:X.columnType)==="EXPAND_COLUMN"&&ue.fixed===void 0&&(ue.fixed=Ee);const Me=ne(`${x}-selection-col`,{[`${x}-selection-col-with-dropdown`]:h&&g==="checkbox"}),Ie=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(Se):t.columnTitle:Te,Ce={fixed:Ee,width:p,className:`${x}-selection-column`,title:Ie(),render:ae,onCell:t.onCell,[Cp]:{className:Me}};return Q.map(me=>me===Bs?Ce:me)},[I,F,t,z,V,te,p,G,T,j,f,J,B]),V]};function cIe(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 uIe(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)}}):cIe(r,n)})}function dIe(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 fIe(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 wl=(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 rf(e,t){return t?`${t}-${e}`:`${e}`}const cy=(e,t)=>typeof e=="function"?e(t):e,pIe=(e,t)=>{const n=cy(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function gIe(e){const t=l.useRef(e),n=fO();return[()=>t.current,r=>{t.current=r,n()}]}function mIe(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 Mq(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function hIe(e,t){var n=l.useState(!1),r=re(n,2),a=r[0],o=r[1];Xt(function(){if(a)return e(),function(){t()}},[a]),Xt(function(){return o(!0),function(){o(!1)}},[])}var vIe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],Pq=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=xt(t,vIe),g=l.useState(!0),h=re(g,2),b=h[0],y=h[1],S=l.useContext(cN),v=S.prefixCls,x=i&&s!=="hide";Xt(function(){i&&x!==b&&y(x)},[i]);var C=function(){i&&c()},w=l.useRef(!1),E=function(){i&&!w.current&&(w.current=!0,u())};hIe(C,E);var I=function(R){x===R&&E()};return i?l.createElement(Qr,pe({ref:n,visible:b},o,{motionAppear:s==="show",onVisibleChanged:I}),function(T,R){var _=T.className,$=T.style;return l.createElement("div",{ref:R,className:ne("".concat(v,"-treenode-motion"),_),style:$},i.map(function(P){var D=Object.assign({},(Mq(P.data),P.data)),A=P.title,O=P.key,N=P.isStart,k=P.isEnd;delete D.children;var M=xp(O,f);return l.createElement(Id,pe({},D,M,{title:A,active:d,data:P.data,key:O,isStart:N,isEnd:k}))}))}):l.createElement(Id,pe({domRef:n,className:r,style:a},p,{active:d}))};Pq.displayName="MotionTreeNode";var bIe=l.forwardRef(Pq);function yIe(){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 Lq=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,h=e.dropPosition,b=e.motion,y=e.height,S=e.itemHeight,v=e.virtual,x=e.focusable,C=e.activeItem,w=e.focused,E=e.tabIndex,I=e.onKeyDown,T=e.onFocus,R=e.onBlur,_=e.onActiveChange,$=e.onListChangeStart,P=e.onListChangeEnd,D=xt(e,SIe),A=l.useRef(null),O=l.useRef(null);l.useImperativeHandle(t,function(){return{scrollTo:function(ve){A.current.scrollTo(ve)},getIndentWidth:function(){return O.current.offsetWidth}}});var N=l.useState(a),k=re(N,2),M=k[0],L=k[1],F=l.useState(r),j=re(F,2),B=j[0],z=j[1],H=l.useState(r),V=re(H,2),te=V[0],Y=V[1],J=l.useState([]),G=re(J,2),U=G[0],q=G[1],X=l.useState(null),Q=re(X,2),ee=Q[0],oe=Q[1],le=l.useRef(r);le.current=r;function fe(){var Se=le.current;z(Se),Y(Se),q([]),oe(null),P()}Xt(function(){L(a);var Se=yIe(M,a);if(Se.key!==null)if(Se.add){var ve=B.findIndex(function(Me){var Ie=Me.key;return Ie===Se.key}),ae=JP(XP(B,r,Se.key),v,y,S),ie=B.slice();ie.splice(ve+1,0,QP),Y(ie),q(ae),oe("show")}else{var ue=r.findIndex(function(Me){var Ie=Me.key;return Ie===Se.key}),ye=JP(XP(r,B,Se.key),v,y,S),Ee=r.slice();Ee.splice(ue+1,0,QP),Y(Ee),q(ye),oe("hide")}else B!==r&&(z(r),Y(r))},[a,r]),l.useEffect(function(){p||fe()},[p]);var ce=b?te:r,Te={expandedKeys:a,selectedKeys:o,loadedKeys:s,loadingKeys:c,checkedKeys:i,halfCheckedKeys:u,dragOverNodeKey:g,dropPosition:h,keyEntities:d};return l.createElement(l.Fragment,null,w&&C&&l.createElement("span",{style:ZP,"aria-live":"assertive"},wIe(C)),l.createElement("div",null,l.createElement("input",{style:ZP,disabled:x===!1||f,tabIndex:x!==!1?E:null,onKeyDown:I,onFocus:T,onBlur:R,value:"",onChange:xIe,"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(M0,pe({},D,{data:ce,itemKey:eD,height:y,fullHeight:!1,virtual:v,itemHeight:S,prefixCls:"".concat(n,"-list"),ref:A,onVisibleChange:function(ve){ve.every(function(ae){return eD(ae)!==_c})&&fe()}}),function(Se){var ve=Se.pos,ae=Object.assign({},(Mq(Se.data),Se.data)),ie=Se.title,ue=Se.key,ye=Se.isStart,Ee=Se.isEnd,Me=um(ue,ve);delete ae.key,delete ae.children;var Ie=xp(Me,Te);return l.createElement(bIe,pe({},ae,Ie,{title:ie,active:!!C&&ue===C.key,pos:ve,data:Se.data,isStart:ye,isEnd:Ee,motion:b,motionNodes:ue===_c?U:null,motionType:ee,onMotionStart:$,onMotionEnd:fe,treeNodeRequiredProps:Te,onMouseMove:function(){_(null)}}))}))});Lq.displayName="NodeList";var CIe=10,uy=function(e){Eo(n,e);var t=Ko(n);function n(){var r;Xn(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,h=f.dropTargetKey,b=f.dropTargetPos,y=f.dropAllowed;if(y){var S=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),h!==null){var v=Z(Z({},xp(h,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===h,data:Va(r.state.keyEntities,h).node}),x=p.indexOf(h)!==-1;vn(!x,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var C=uN(b),w={event:s,node:Ir(v),dragNode:r.dragNode?Ir(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(p),dropToGap:g!==0,dropPosition:g+Number(C[C.length-1])};d||S==null||S(w),r.dragNode=null}}}),W(Ue(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}),W(Ue(r),"triggerExpandActionExpand",function(s,c){var u=r.state,d=u.expandedKeys,f=u.flattenNodes,p=c.expanded,g=c.key,h=c.isLeaf;if(!(h||s.shiftKey||s.metaKey||s.ctrlKey)){var b=f.filter(function(S){return S.key===g})[0],y=Ir(Z(Z({},xp(g,r.getTreeNodeRequiredProps())),{},{data:b.data}));r.setExpandedKeys(p?Ri(d,g):ns(d,g)),r.onNodeExpand(s,y)}}),W(Ue(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)}),W(Ue(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)}),W(Ue(r),"onNodeSelect",function(s,c){var u=r.state.selectedKeys,d=r.state,f=d.keyEntities,p=d.fieldNames,g=r.props,h=g.onSelect,b=g.multiple,y=c.selected,S=c[p.key],v=!y;v?b?u=ns(u,S):u=[S]:u=Ri(u,S);var x=u.map(function(C){var w=Va(f,C);return w?w.node:null}).filter(function(C){return C});r.setUncontrolledState({selectedKeys:u}),h==null||h(u,{event:"select",selected:v,node:c,selectedNodes:x,nativeEvent:s.nativeEvent})}),W(Ue(r),"onNodeCheck",function(s,c,u){var d=r.state,f=d.keyEntities,p=d.checkedKeys,g=d.halfCheckedKeys,h=r.props,b=h.checkStrictly,y=h.onCheck,S=c.key,v,x={event:"check",node:c,checked:u,nativeEvent:s.nativeEvent};if(b){var C=u?ns(p,S):Ri(p,S),w=Ri(g,S);v={checked:C,halfChecked:w},x.checkedNodes=C.map(function($){return Va(f,$)}).filter(function($){return $}).map(function($){return $.node}),r.setUncontrolledState({checkedKeys:C})}else{var E=hs([].concat(De(p),[S]),!0,f),I=E.checkedKeys,T=E.halfCheckedKeys;if(!u){var R=new Set(I);R.delete(S);var _=hs(Array.from(R),{checked:!1,halfCheckedKeys:T},f);I=_.checkedKeys,T=_.halfCheckedKeys}v=I,x.checkedNodes=[],x.checkedNodesPositions=[],x.halfCheckedKeys=T,I.forEach(function($){var P=Va(f,$);if(P){var D=P.node,A=P.pos;x.checkedNodes.push(D),x.checkedNodesPositions.push({node:D,pos:A})}}),r.setUncontrolledState({checkedKeys:I},!1,{halfCheckedKeys:T})}y==null||y(v,x)}),W(Ue(r),"onNodeLoad",function(s){var c,u=s.key,d=r.state.keyEntities,f=Va(d,u);if(!(f!=null&&(c=f.children)!==null&&c!==void 0&&c.length)){var p=new Promise(function(g,h){r.setState(function(b){var y=b.loadedKeys,S=y===void 0?[]:y,v=b.loadingKeys,x=v===void 0?[]:v,C=r.props,w=C.loadData,E=C.onLoad;if(!w||S.indexOf(u)!==-1||x.indexOf(u)!==-1)return null;var I=w(s);return I.then(function(){var T=r.state.loadedKeys,R=ns(T,u);E==null||E(R,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:R}),r.setState(function(_){return{loadingKeys:Ri(_.loadingKeys,u)}}),g()}).catch(function(T){if(r.setState(function(_){return{loadingKeys:Ri(_.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=CIe){var R=r.state.loadedKeys;vn(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:ns(R,u)}),g()}h(T)}),{loadingKeys:ns(x,u)}})});return p.catch(function(){}),p}}),W(Ue(r),"onNodeMouseEnter",function(s,c){var u=r.props.onMouseEnter;u==null||u({event:s,node:c})}),W(Ue(r),"onNodeMouseLeave",function(s,c){var u=r.props.onMouseLeave;u==null||u({event:s,node:c})}),W(Ue(r),"onNodeContextMenu",function(s,c){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:c}))}),W(Ue(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(Z(Z({},p),u))}}),W(Ue(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return Zn(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,h=a.dragOverNodeKey,b=a.indent,y=this.props,S=y.prefixCls,v=y.className,x=y.style,C=y.showLine,w=y.focusable,E=y.tabIndex,I=E===void 0?0:E,T=y.selectable,R=y.showIcon,_=y.icon,$=y.switcherIcon,P=y.draggable,D=y.checkable,A=y.checkStrictly,O=y.disabled,N=y.motion,k=y.loadData,M=y.filterTreeNode,L=y.height,F=y.itemHeight,j=y.virtual,B=y.titleRender,z=y.dropIndicatorRender,H=y.onContextMenu,V=y.onScroll,te=y.direction,Y=y.rootClassName,J=y.rootStyle,G=Yn(this.props,{aria:!0,data:!0}),U;return P&&(ht(P)==="object"?U=P:typeof P=="function"?U={nodeDraggable:P}:U={}),l.createElement(cN.Provider,{value:{prefixCls:S,selectable:T,showIcon:R,icon:_,switcherIcon:$,draggable:U,draggingNodeKey:c,checkable:D,checkStrictly:A,disabled:O,keyEntities:s,dropLevelOffset:d,dropContainerKey:f,dropTargetKey:p,dropPosition:g,dragOverNodeKey:h,indent:b,direction:te,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(S,v,Y,W(W(W({},"".concat(S,"-show-line"),C),"".concat(S,"-focused"),o),"".concat(S,"-active-focused"),u!==null)),style:J},l.createElement(Lq,pe({ref:this.listRef,prefixCls:S,style:x,data:i,disabled:O,selectable:T,checkable:!!D,motion:N,dragging:c!==null,height:L,itemHeight:F,virtual:j,focusable:w,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:V},this.getTreeNodeRequiredProps(),G))))}}],[{key:"getDerivedStateFromProps",value:function(a,o){var i=o.prevProps,s={prevProps:a};function c(I){return!i&&I in a||i&&i[I]!==a[I]}var u,d=o.fieldNames;if(c("fieldNames")&&(d=Cd(a.fieldNames),s.fieldNames=d),c("treeData")?u=a.treeData:c("children")&&(vn(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=ZW(a.children)),u){s.treeData=u;var f=J0(u,{fieldNames:d});s.keyEntities=Z(W({},_c,Dq),f.keyEntities)}var p=s.keyEntities||o.keyEntities;if(c("expandedKeys")||i&&c("autoExpandParent"))s.expandedKeys=a.autoExpandParent||!i&&a.defaultExpandParent?zR(a.expandedKeys,p):a.expandedKeys;else if(!i&&a.defaultExpandAll){var g=Z({},p);delete g[_c];var h=[];Object.keys(g).forEach(function(I){var T=g[I];T.children&&T.children.length&&h.push(T.key)}),s.expandedKeys=h}else!i&&a.defaultExpandedKeys&&(s.expandedKeys=a.autoExpandParent||a.defaultExpandParent?zR(a.defaultExpandedKeys,p):a.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var b=c1(u||o.treeData,s.expandedKeys||o.expandedKeys,d);s.flattenNodes=b}if(a.selectable&&(c("selectedKeys")?s.selectedKeys=KP(a.selectedKeys,a):!i&&a.defaultSelectedKeys&&(s.selectedKeys=KP(a.defaultSelectedKeys,a))),a.checkable){var y;if(c("checkedKeys")?y=b1(a.checkedKeys)||{}:!i&&a.defaultCheckedKeys?y=b1(a.defaultCheckedKeys)||{}:u&&(y=b1(a.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),y){var S=y,v=S.checkedKeys,x=v===void 0?[]:v,C=S.halfCheckedKeys,w=C===void 0?[]:C;if(!a.checkStrictly){var E=hs(x,!0,p);x=E.checkedKeys,w=E.halfCheckedKeys}s.checkedKeys=x,s.halfCheckedKeys=w}}return c("loadedKeys")&&(s.loadedKeys=a.loadedKeys),s}}]),n}(l.Component);W(uy,"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:mIe,allowDrop:function(){return!0},expandAction:!1});W(uy,"TreeNode",Id);const EIe=new un("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),IIe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),TIe=(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:`${K(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),RIe=(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({},nn(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({},ws(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:EIe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${K(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:K(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({},IIe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,margin:0,lineHeight:K(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 ${K(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:K(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:K(o),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:K(o),userSelect:"none"},TIe(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:`${K(t.calc(o).div(2).equal())} !important`}}}}})}},_Ie=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"}}}}}},Fq=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,a=t.calc(t.paddingXS).div(2).equal(),o=zt(t,{treeCls:n,treeNodeCls:r,treeNodePadding:a});return[RIe(e,o),_Ie(o)]},jq=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},$Ie=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},jq(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},OIe=on("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:LO(`${n}-checkbox`,e)},Fq(n,e),Zg(e)]},$Ie),tD=4;function NIe(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+tD,[s]:0};switch(t){case-1:c.top=-3;break;case 1:c.bottom=-3;break;default:c.bottom=-3,c[i]=a+tD;break}return se.createElement("div",{style:c,className:`${r}-drop-indicator`})}const Bq=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(Hi,{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)?Cr(p,{className:ne(p.props.className||"",g)}):p}return u?l.createElement(sq,{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)?Cr(f,{className:ne(f.props.className||"",d)}):f!==void 0?f:a?s?l.createElement(Vwe,{className:`${t}-switcher-line-icon`}):l.createElement(cq,{className:`${t}-switcher-line-icon`}):l.createElement(W1e,{className:d})},zq=se.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:a,virtual:o,tree:i}=se.useContext(st),{prefixCls:s,className:c,showIcon:u=!1,showLine:d,switcherIcon:f,switcherLoadingIcon:p,blockNode:g=!1,children:h,checkable:b=!1,selectable:y=!0,draggable:S,motion:v,style:x}=e,C=r("tree",s),w=r(),E=v??Object.assign(Object.assign({},Sd(w)),{motionAppear:!1}),I=Object.assign(Object.assign({},e),{checkable:b,selectable:y,showIcon:u,motion:E,blockNode:g,showLine:!!d,dropIndicatorRender:NIe}),[T,R,_]=OIe(C),[,$]=ta(),P=$.paddingXS/2+(((n=$.Tree)===null||n===void 0?void 0:n.titleHeight)||$.controlHeightSM),D=se.useMemo(()=>{if(!S)return!1;let O={};switch(typeof S){case"function":O.nodeDraggable=S;break;case"object":O=Object.assign({},S);break}return O.icon!==!1&&(O.icon=O.icon||se.createElement(hwe,null)),O},[S]),A=O=>se.createElement(Bq,{prefixCls:C,switcherIcon:f,switcherLoadingIcon:p,treeNodeProps:O,showLine:d});return T(se.createElement(uy,Object.assign({itemHeight:P,ref:t,virtual:o},I,{style:Object.assign(Object.assign({},i==null?void 0:i.style),x),prefixCls:C,className:ne({[`${C}-icon-hide`]:!u,[`${C}-block-node`]:g,[`${C}-unselectable`]:!y,[`${C}-rtl`]:a==="rtl"},i==null?void 0:i.className,c,R,_),direction:a,checkable:b&&se.createElement("span",{className:`${C}-checkbox-inner`}),selectable:y,switcherIcon:A,draggable:D}),h))}),nD=0,y1=1,rD=2;function dN(e,t,n){const{key:r,children:a}=n;function o(i){const s=i[r],c=i[a];t(s,i)!==!1&&dN(c||[],t,n)}e.forEach(o)}function kIe(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:a,fieldNames:o}=e;const i=[];let s=nD;if(r&&r===a)return[r];if(!r||!a)return[];function c(u){return u===r||u===a}return dN(t,u=>{if(s===rD)return!1;if(c(u)){if(i.push(u),s===nD)s=y1;else if(s===y1)return s=rD,!1}else s===y1&&i.push(u);return n.includes(u)},Cd(o)),i}function S1(e,t,n){const r=De(t),a=[];return dN(e,(o,i)=>{const s=r.indexOf(o);return s!==-1&&(a.push(i),r.splice(s,1)),!!r.length},Cd(n)),a}var aD=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=aD(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const i=l.useRef(),s=l.useRef(),c=()=>{const{keyEntities:T}=J0(oD(o));let R;return n?R=Object.keys(T):r?R=zR(o.expandedKeys||a||[],T):R=o.expandedKeys||a||[],R},[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=(T,R)=>{var _;return"expandedKeys"in o||p(T),(_=o.onExpand)===null||_===void 0?void 0:_.call(o,T,R)},h=(T,R)=>{var _;const{multiple:$,fieldNames:P}=o,{node:D,nativeEvent:A}=R,{key:O=""}=D,N=oD(o),k=Object.assign(Object.assign({},R),{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=T,i.current=O,s.current=F,k.selectedNodes=S1(N,F,P)):$&&L?(F=Array.from(new Set([].concat(De(s.current||[]),De(kIe({treeData:N,expandedKeys:f,startKey:O,endKey:i.current,fieldNames:P}))))),k.selectedNodes=S1(N,F,P)):(F=[O],i.current=O,s.current=F,k.selectedNodes=S1(N,F,P)),(_=o.onSelect)===null||_===void 0||_.call(o,F,k),"selectedKeys"in o||d(F)},{getPrefixCls:b,direction:y}=l.useContext(st),{prefixCls:S,className:v,showIcon:x=!0,expandAction:C="click"}=o,w=aD(o,["prefixCls","className","showIcon","expandAction"]),E=b("tree",S),I=ne(`${E}-directory`,{[`${E}-directory-rtl`]:y==="rtl"},v);return l.createElement(zq,Object.assign({icon:AIe,ref:t,blockNode:!0},w,{showIcon:x,expandAction:C,prefixCls:E,className:I,expandedKeys:f,selectedKeys:u,onSelect:h,onExpand:g}))},PIe=l.forwardRef(MIe),fN=zq;fN.DirectoryTree=PIe;fN.TreeNode=Id;const iD=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(Jt,{prefix:l.createElement(rm,null),placeholder:a.filterSearchPlaceholder,onChange:o,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},DIe=e=>{const{keyCode:t}=e;t===Le.ENTER&&e.stopPropagation()},LIe=l.forwardRef((e,t)=>l.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:DIe,ref:t},e.children));function rd(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[].concat(De(t),De(rd(a))))}),t}function FIe(e){return e.some(t=>{let{children:n}=t;return n})}function Hq(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function Uq(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:Uq({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:o,filterSearch:i})};const d=a?Rs:mo,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:Hq(o,s.text)?f:null:f})}function x1(e){return e||[]}const jIe=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:h,children:b,getPopupContainer:y,rootClassName:S}=e,{filterDropdownOpen:v,onFilterDropdownOpenChange:x,filterResetToDefaultFilteredValue:C,defaultFilteredValue:w,filterDropdownVisible:E,onFilterDropdownVisibleChange:I}=o,[T,R]=l.useState(!1),_=!!(p&&(!((t=p.filteredKeys)===null||t===void 0)&&t.length||p.forceFiltered)),$=ce=>{R(ce),x==null||x(ce),I==null||I(ce)},P=(n=v??E)!==null&&n!==void 0?n:T,D=p==null?void 0:p.filteredKeys,[A,O]=gIe(x1(D)),N=ce=>{let{selectedKeys:Te}=ce;O(Te)},k=(ce,Te)=>{let{node:Se,checked:ve}=Te;N(u?{selectedKeys:ce}:{selectedKeys:ve&&Se.key?[Se.key]:[]})};l.useEffect(()=>{T&&N({selectedKeys:x1(D)})},[D]);const[M,L]=l.useState([]),F=ce=>{L(ce)},[j,B]=l.useState(""),z=ce=>{const{value:Te}=ce.target;B(Te)};l.useEffect(()=>{T||B("")},[T]);const H=ce=>{const Te=ce!=null&&ce.length?ce:null;if(Te===null&&(!p||!p.filteredKeys)||zo(Te,p==null?void 0:p.filteredKeys,!0))return null;g({column:o,key:s,filteredKeys:Te})},V=()=>{$(!1),H(A())},te=function(){let{confirm:ce,closeDropdown:Te}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ce&&H([]),Te&&$(!1),B(""),O(C?(w||[]).map(Se=>String(Se)):[])},Y=function(){let{closeDropdown:ce}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ce&&$(!1),H(A())},J=(ce,Te)=>{Te.source==="trigger"&&(ce&&D!==void 0&&O(x1(D)),$(ce),!ce&&!o.filterDropdown&&c&&V())},G=ne({[`${i}-menu-without-submenu`]:!FIe(o.filters||[])}),U=ce=>{if(ce.target.checked){const Te=rd(o==null?void 0:o.filters).map(Se=>String(Se));O(Te)}else O([])},q=ce=>{let{filters:Te}=ce;return(Te||[]).map((Se,ve)=>{const ae=String(Se.value),ie={title:Se.text,key:Se.value!==void 0?ae:String(ve)};return Se.children&&(ie.children=q({filters:Se.children})),ie})},X=ce=>{var Te;return Object.assign(Object.assign({},ce),{text:ce.title,value:ce.key,children:((Te=ce.children)===null||Te===void 0?void 0:Te.map(Se=>X(Se)))||[]})};let Q;const{direction:ee,renderEmpty:oe}=l.useContext(st);if(typeof o.filterDropdown=="function")Q=o.filterDropdown({prefixCls:`${i}-custom`,setSelectedKeys:ce=>N({selectedKeys:ce}),selectedKeys:A(),confirm:Y,clearFilters:te,filters:o.filters,visible:P,close:()=>{$(!1)}});else if(o.filterDropdown)Q=o.filterDropdown;else{const ce=A()||[],Te=()=>{var ve;const ae=(ve=oe==null?void 0:oe("Table.filter"))!==null&&ve!==void 0?ve:l.createElement(us,{image:us.PRESENTED_IMAGE_SIMPLE,description:h.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((o.filters||[]).length===0)return ae;if(d==="tree")return l.createElement(l.Fragment,null,l.createElement(iD,{filterSearch:f,value:j,onChange:z,tablePrefixCls:r,locale:h}),l.createElement("div",{className:`${r}-filter-dropdown-tree`},u?l.createElement(Rs,{checked:ce.length===rd(o.filters).length,indeterminate:ce.length>0&&ce.lengthtypeof f=="function"?f(j,X(ye)):Hq(j,ye.title):void 0})));const ie=Uq({filters:o.filters||[],filterSearch:f,prefixCls:a,filteredKeys:A(),filterMultiple:u,searchValue:j}),ue=ie.every(ye=>ye===null);return l.createElement(l.Fragment,null,l.createElement(iD,{filterSearch:f,value:j,onChange:z,tablePrefixCls:r,locale:h}),ue?ae:l.createElement(Wi,{selectable:!0,multiple:u,prefixCls:`${i}-menu`,className:G,onSelect:N,onDeselect:N,selectedKeys:ce,getPopupContainer:y,openKeys:M,onOpenChange:F,items:ie}))},Se=()=>C?zo((w||[]).map(ve=>String(ve)),ce,!0):ce.length===0;Q=l.createElement(l.Fragment,null,Te(),l.createElement("div",{className:`${a}-dropdown-btns`},l.createElement(ut,{type:"link",size:"small",disabled:Se(),onClick:()=>te()},h.filterReset),l.createElement(ut,{type:"primary",size:"small",onClick:V},h.filterConfirm)))}o.filterDropdown&&(Q=l.createElement(VV,{selectable:void 0},Q));const le=()=>l.createElement(LIe,{className:`${a}-dropdown`},Q);let fe;return typeof o.filterIcon=="function"?fe=o.filterIcon(_):o.filterIcon?fe=o.filterIcon:fe=l.createElement(Yxe,null),l.createElement("div",{className:`${a}-column`},l.createElement("span",{className:`${r}-column-title`},b),l.createElement(ny,{dropdownRender:le,trigger:["click"],open:P,onOpenChange:J,getPopupContainer:y,placement:ee==="rtl"?"bottomLeft":"bottomRight",rootClassName:S},l.createElement("span",{role:"button",tabIndex:-1,className:ne(`${a}-trigger`,{active:_}),onClick:ce=>{ce.stopPropagation()}},fe)))},GR=(e,t,n)=>{let r=[];return(e||[]).forEach((a,o)=>{var i;const s=rf(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:wl(a,s),filteredKeys:c,forceFiltered:a.filtered})}else r.push({column:a,key:wl(a,s),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[].concat(De(r),De(GR(a.children,t,s))))}),r};function Vq(e,t,n,r,a,o,i,s,c){return n.map((u,d)=>{const f=rf(d,s),{filterOnClose:p=!0,filterMultiple:g=!0,filterMode:h,filterSearch:b}=u;let y=u;if(y.filters||y.filterDropdown){const S=wl(y,f),v=r.find(x=>{let{key:C}=x;return S===C});y=Object.assign(Object.assign({},y),{title:x=>l.createElement(jIe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:y,columnKey:S,filterState:v,filterOnClose:p,filterMultiple:g,filterMode:h,filterSearch:b,triggerFilter:o,locale:a,getPopupContainer:i,rootClassName:c},cy(u.title,x))})}return"children"in y&&(y=Object.assign(Object.assign({},y),{children:Vq(e,t,y.children,r,a,o,i,f,c)})),y})}const sD=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=rd(s);t[i]=u.filter(d=>a.includes(String(d)))}else t[i]=null}),t},qR=(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=rd(s),p=f.findIndex(h=>String(h)===String(d)),g=p!==-1?f[p]:d;return u[n]&&(u[n]=qR(u[n],t,n)),i(g,u)})):a},e),Wq=e=>e.flatMap(t=>"children"in t?[t].concat(De(Wq(t.children||[]))):[t]),BIe=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:a,getPopupContainer:o,locale:i,rootClassName:s}=e;$l();const c=l.useMemo(()=>Wq(r||[]),[r]),[u,d]=l.useState(()=>GR(c,!0)),f=l.useMemo(()=>{const b=GR(c,!1);if(b.length===0)return b;let y=!0;if(b.forEach(S=>{let{filteredKeys:v}=S;v!==void 0&&(y=!1)}),y){const S=(c||[]).map((v,x)=>wl(v,rf(x)));return u.filter(v=>{let{key:x}=v;return S.includes(x)}).map(v=>{const x=c[S.findIndex(C=>C===v.key)];return Object.assign(Object.assign({},v),{column:Object.assign(Object.assign({},v.column),x),forceFiltered:x.filtered})})}return b},[c,u]),p=l.useMemo(()=>sD(f),[f]),g=b=>{const y=f.filter(S=>{let{key:v}=S;return v!==b.key});y.push(b),d(y),a(sD(y),y)};return[b=>Vq(t,n,b,f,i,g,o,void 0,s),f,p]},zIe=(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 HIe=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 VIe(e,t,n){const r=n&&typeof n=="object"?n:{},{total:a=0}=r,o=HIe(r,["total"]),[i,s]=l.useState(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:Gq})),c=XG(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 h;n&&((h=n.onChange)===null||h===void 0||h.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 hv="ascend",w1="descend",Eb=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,lD=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,WIe=(e,t)=>t?e[e.indexOf(t)+1]:e[0],KR=(e,t,n)=>{let r=[];const a=(o,i)=>{r.push({column:o,key:wl(o,i),multiplePriority:Eb(o),sortOrder:o.sortOrder})};return(e||[]).forEach((o,i)=>{const s=rf(i,n);o.children?("sortOrder"in o&&a(o,s),r=[].concat(De(r),De(KR(o.children,t,s)))):o.sorter&&("sortOrder"in o?a(o,s):t&&o.defaultSortOrder&&r.push({column:o,key:wl(o,s),multiplePriority:Eb(o),sortOrder:o.defaultSortOrder}))}),r},qq=(e,t,n,r,a,o,i,s)=>(t||[]).map((u,d)=>{const f=rf(d,s);let p=u;if(p.sorter){const g=p.sortDirections||a,h=p.showSorterTooltip===void 0?i:p.showSorterTooltip,b=wl(p,f),y=n.find(R=>{let{key:_}=R;return _===b}),S=y?y.sortOrder:null,v=WIe(g,S);let x;if(u.sortIcon)x=u.sortIcon({sortOrder:S});else{const R=g.includes(hv)&&l.createElement(Z1e,{className:ne(`${e}-column-sorter-up`,{active:S===hv})}),_=g.includes(w1)&&l.createElement(K1e,{className:ne(`${e}-column-sorter-down`,{active:S===w1})});x=l.createElement("span",{className:ne(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(R&&_)})},l.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},R,_))}const{cancelSort:C,triggerAsc:w,triggerDesc:E}=o||{};let I=C;v===w1?I=E:v===hv&&(I=w);const T=typeof h=="object"?Object.assign({title:I},h):{title:I};p=Object.assign(Object.assign({},p),{className:ne(p.className,{[`${e}-column-sort`]:S}),title:R=>{const _=`${e}-column-sorters`,$=l.createElement("span",{className:`${e}-column-title`},cy(u.title,R)),P=l.createElement("div",{className:_},$,x);return h?typeof h!="boolean"&&(h==null?void 0:h.target)==="sorter-icon"?l.createElement("div",{className:`${_} ${e}-column-sorters-tooltip-target-sorter`},$,l.createElement(Zt,Object.assign({},T),x)):l.createElement(Zt,Object.assign({},T),P):P},onHeaderCell:R=>{var _;const $=((_=u.onHeaderCell)===null||_===void 0?void 0:_.call(u,R))||{},P=$.onClick,D=$.onKeyDown;$.onClick=N=>{r({column:u,key:b,sortOrder:v,multiplePriority:Eb(u)}),P==null||P(N)},$.onKeyDown=N=>{N.keyCode===Le.ENTER&&(r({column:u,key:b,sortOrder:v,multiplePriority:Eb(u)}),D==null||D(N))};const A=pIe(u.title,{}),O=A==null?void 0:A.toString();return S?$["aria-sort"]=S==="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:qq(e,p.children,n,r,a,o,i,f)})),p}),cD=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},uD=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(cD);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},cD(e[n])),{column:void 0})}return t.length<=1?t[0]||{}:t},YR=(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 lD(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]:YR(s,t,n)}):i}):a},GIe=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:a,showSorterTooltip:o,onSorterChange:i}=e,[s,c]=l.useState(KR(n,!0)),u=(b,y)=>{const S=[];return b.forEach((v,x)=>{const C=rf(x,y);if(S.push(wl(v,C)),Array.isArray(v.children)){const w=u(v.children,C);S.push.apply(S,De(w))}}),S},d=l.useMemo(()=>{let b=!0;const y=KR(n,!1);if(!y.length){const C=u(n);return s.filter(w=>{let{key:E}=w;return C.includes(E)})}const S=[];function v(C){b?S.push(C):S.push(Object.assign(Object.assign({},C),{sortOrder:null}))}let x=null;return y.forEach(C=>{x===null?(v(C),C.sortOrder&&(C.multiplePriority===!1?b=!1:x=!0)):(x&&C.multiplePriority!==!1||(b=!1),v(C))}),S},[n,s]),f=l.useMemo(()=>{var b,y;const S=d.map(v=>{let{column:x,sortOrder:C}=v;return{column:x,order:C}});return{sortColumns:S,sortColumn:(b=S[0])===null||b===void 0?void 0:b.column,sortOrder:(y=S[0])===null||y===void 0?void 0:y.order}},[d]),p=b=>{let y;b.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?y=[b]:y=[].concat(De(d.filter(S=>{let{key:v}=S;return v!==b.key})),[b]),c(y),i(uD(y),y)};return[b=>qq(t,b,d,p,r,a,o),d,f,()=>uD(d)]},Kq=(e,t)=>e.map(r=>{const a=Object.assign({},r);return a.title=cy(r.title,t),"children"in a&&(a.children=Kq(a.children,t)),a}),qIe=e=>[l.useCallback(n=>Kq(n,e),[e])],KIe=Oq((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),YIe=kq((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),XIe=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:a,tableHeaderBg:o,tablePaddingVertical:i,tablePaddingHorizontal:s,calc:c}=e,u=`${K(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:`${K(c(p).mul(-1).equal())} + ${K(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, + > ${t}-body, + > ${t}-summary + `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${K(c(i).mul(-1).equal())} ${K(c(c(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` + > tr${t}-expanded-row, + > tr${t}-placeholder + `]:{"> 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 ${K(n)} 0 ${K(n)} ${o}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},ZIe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},xo),{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"}})}}},QIe=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}}}}},JIe=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:h,expandIconMarginTop:b,expandIconSize:y,expandIconHalfInner:S,expandIconScale:v,calc:x}=e,C=`${K(a)} ${i} ${s}`,w=x(h).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({},V$(e)),{position:"relative",float:"left",boxSizing:"border-box",width:y,height:y,padding:0,color:"inherit",lineHeight:K(y),background:c,border:C,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:S,insetInlineEnd:w,insetInlineStart:w,height:a},"&::after":{top:w,bottom:w,insetInlineStart:S,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:b,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:`${K(x(f).mul(-1).equal())} ${K(x(p).mul(-1).equal())}`,padding:`${K(f)} ${K(p)}`}}}},eTe=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:h,borderRadius:b,motionDurationSlow:y,colorTextDescription:S,colorPrimary:v,tableHeaderFilterActiveBg:x,colorTextDisabled:C,tableFilterDropdownBg:w,tableFilterDropdownHeight:E,controlItemBgHover:I,controlItemBgActive:T,boxShadowSecondary:R,filterDropdownMenuBg:_,calc:$}=e,P=`${n}-dropdown`,D=`${t}-filter-dropdown`,A=`${n}-tree`,O=`${K(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:`${K(i)} ${K($(h).div(2).mul(-1).equal())}`,padding:`0 ${K(i)}`,color:p,fontSize:g,borderRadius:b,cursor:"pointer",transition:`all ${y}`,"&:hover":{color:S,background:x},"&.active":{color:v}}}},{[`${n}-dropdown`]:{[D]:Object.assign(Object.assign({},nn(e)),{minWidth:a,backgroundColor:w,borderRadius:b,boxShadow:R,overflow:"hidden",[`${P}-menu`]:{maxHeight:E,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:_,"&:empty::after":{display:"block",padding:`${K(s)} 0`,color:C,fontSize:g,textAlign:"center",content:'"Not Found"'}},[`${D}-tree`]:{paddingBlock:`${K(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:T}}},[`${D}-search`]:{padding:s,borderBottom:O,"&-input":{input:{minWidth:o},[r]:{color:C}}},[`${D}-checkall`]:{width:"100%",marginBottom:i,marginInlineStart:i},[`${D}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${K($(s).sub(u).equal())} ${K(s)}`,overflow:"hidden",borderTop:O}})}},{[`${n}-dropdown ${D}, ${D}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:c},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},tTe=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},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:c(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{position:"absolute",top:0,bottom:c(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:c(s).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after + `]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${u}`},[` + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:`inset -10px 0 8px -8px ${u}`}},[`${t}-fixed-column-gapped`]:{[` + ${t}-cell-fix-left-first::after, + ${t}-cell-fix-left-last::after, + ${t}-cell-fix-right-first::after, + ${t}-cell-fix-right-last::after + `]:{boxShadow:"none"}}}}},nTe=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${K(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},rTe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${K(n)} ${K(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 ${K(n)} ${K(n)}`}}}}},aTe=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"}}}}},oTe=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:h}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:h(u).add(a).add(h(o).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:h(u).add(h(i).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:h(u).add(a).add(h(o).div(4)).add(h(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:h(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:K(h(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}}}}}},iTe=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, + ${t}-thead > tr > th, + ${t}-tbody > tr > th, + ${t}-tbody > tr > td, + tfoot > tr > th, + tfoot > tr > td + `]:{padding:`${K(i)} ${K(s)}`},[`${t}-filter-trigger`]:{marginInlineEnd:K(r(s).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${K(r(i).mul(-1).equal())} ${K(r(s).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:K(r(i).mul(-1).equal()),marginInline:`${K(r(n).sub(s).equal())} ${K(r(s).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:K(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))}},sTe=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}, left 0s`,"&: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}}}},lTe=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=`${K(u)} ${d} ${f}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${K(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}}}}}}},dD=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:a}=e,o=`${K(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 ${K(a(n).mul(-1).equal())} 0 ${r}`}}}},cTe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:a,tableBorderColor:o,calc:i}=e,s=`${K(r)} ${a} ${o}`,c=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` + & > ${t}-row, + & > div:not(${t}-row) > ${t}-row + `]:{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) - ${K(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}}}}}},uTe=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:h,tableHeaderCellSplitColor:b,tableFooterTextColor:y,tableFooterBg:S,calc:v}=e,x=`${K(i)} ${s} ${c}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},mi()),{[t]:Object.assign(Object.assign({},nn(e)),{fontSize:u,background:d,borderRadius:`${K(f)} ${K(f)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${K(f)} ${K(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:`${K(r)} ${K(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${K(r)} ${K(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:p,fontWeight:n,textAlign:"start",background:h,borderBottom:x,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:b,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:x,[` + > ${t}-wrapper:only-child, + > ${t}-expanded-row-fixed > ${t}-wrapper:only-child + `]:{[t]:{marginBlock:K(v(r).mul(-1).equal()),marginInline:`${K(v(o).sub(a).equal())} + ${K(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:h,borderBottom:x,transition:`background ${g} ease`}}},[`${t}-footer`]:{padding:`${K(r)} ${K(a)}`,color:y,background:S}})}},dTe=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:h,fontSize:b,fontSizeSM:y,lineHeight:S,lineWidth:v,colorIcon:x,colorIconHover:C,opacityLoading:w,controlInteractiveSize:E}=e,I=new an(a).onBackground(n).toHexShortString(),T=new an(o).onBackground(n).toHexShortString(),R=new an(t).onBackground(n).toHexShortString(),_=new an(x),$=new an(C),P=E/2-v,D=P*2+v*3;return{headerBg:R,headerColor:r,headerSortActiveBg:I,headerSortHoverBg:T,bodySortBg:R,rowHoverBg:R,rowSelectedBg:i,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:c,cellPaddingInline:c,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:f,headerBorderRadius:p,footerBg:R,footerColor:r,cellFontSize:b,cellFontSizeMD:b,cellFontSizeSM:b,headerSplitColor:f,fixedHeaderSortActiveBg:I,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:g,stickyScrollBarBg:h,stickyScrollBarBorderRadius:100,expandIconMarginTop:(b*S-v*3)/2-Math.ceil((y*1.4-v*3)/2),headerIconColor:_.clone().setAlpha(_.getAlpha()*w).toRgbString(),headerIconHoverColor:$.clone().setAlpha($.getAlpha()*w).toRgbString(),expandIconHalfInner:P,expandIconSize:D,expandIconScale:E/D}},fD=2,fTe=on("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:h,cellPaddingInline:b,cellPaddingBlockMD:y,cellPaddingInlineMD:S,cellPaddingBlockSM:v,cellPaddingInlineSM:x,borderColor:C,footerBg:w,footerColor:E,headerBorderRadius:I,cellFontSize:T,cellFontSizeMD:R,cellFontSizeSM:_,headerSplitColor:$,fixedHeaderSortActiveBg:P,headerFilterHoverBg:D,filterDropdownBg:A,expandIconBg:O,selectionColumnWidth:N,stickyScrollBarBg:k,calc:M}=e,L=zt(e,{tableFontSize:T,tableBg:r,tableRadius:I,tablePaddingVertical:h,tablePaddingHorizontal:b,tablePaddingVerticalMiddle:y,tablePaddingHorizontalMiddle:S,tablePaddingVerticalSmall:v,tablePaddingHorizontalSmall:x,tableBorderColor:C,tableHeaderTextColor:i,tableHeaderBg:o,tableFooterTextColor:E,tableFooterBg:w,tableHeaderCellSplitColor:$,tableHeaderSortBg:s,tableHeaderSortHoverBg:c,tableBodySortBg:u,tableFixedHeaderSortActiveBg:P,tableHeaderFilterActiveBg:D,tableFilterDropdownBg:A,tableRowHoverBg:d,tableSelectedRowBg:f,tableSelectedRowHoverBg:p,zIndexTableFixed:fD,zIndexTableSticky:M(fD).add(1).equal({unit:!1}),tableFontSizeMiddle:R,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[uTe(L),nTe(L),dD(L),sTe(L),eTe(L),XIe(L),rTe(L),JIe(L),dD(L),QIe(L),oTe(L),tTe(L),lTe(L),ZIe(L),iTe(L),aTe(L),cTe(L)]},dTe,{unitless:{expandIconScale:!0}}),pTe=[],gTe=(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:h="key",rowClassName:b,columns:y,children:S,childrenColumnName:v,onChange:x,getPopupContainer:C,loading:w,expandIcon:E,expandable:I,expandedRowRender:T,expandIconColumnIndex:R,indentSize:_,scroll:$,sortDirections:P,locale:D,showSorterTooltip:A={target:"full-header"},virtual:O}=e;$l();const N=l.useMemo(()=>y||sN(S),[y,S]),k=l.useMemo(()=>N.some(vt=>vt.responsive),[N]),M=L0(k),L=l.useMemo(()=>{const vt=new Set(Object.keys(M).filter(lt=>M[lt]));return N.filter(lt=>!lt.responsive||lt.responsive.some(ot=>vt.has(ot)))},[N,M]),F=On(e,["className","style","columns"]),{locale:j=Uo,direction:B,table:z,renderEmpty:H,getPrefixCls:V,getPopupContainer:te}=l.useContext(st),Y=Er(c),J=Object.assign(Object.assign({},j.Table),D),G=f||pTe,U=V("table",a),q=V("dropdown",d),[,X]=ta(),Q=Un(U),[ee,oe,le]=fTe(U,Q),fe=Object.assign(Object.assign({childrenColumnName:v,expandIconColumnIndex:R},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:ce="children"}=fe,Te=l.useMemo(()=>G.some(vt=>vt==null?void 0:vt[ce])?"nest":T||I!=null&&I.expandedRowRender?"row":null,[G]),Se={body:l.useRef()},ve=fIe(U),ae=l.useRef(null),ie=l.useRef(null);uIe(t,()=>Object.assign(Object.assign({},ie.current),{nativeElement:ae.current}));const ue=l.useMemo(()=>typeof h=="function"?h:vt=>vt==null?void 0:vt[h],[h]),[ye]=zIe(G,ce,ue),Ee={},Me=function(vt,lt){let ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var et,bt,rt,St;const Et=Object.assign(Object.assign({},Ee),vt);ot&&((et=Ee.resetPagination)===null||et===void 0||et.call(Ee),!((bt=Et.pagination)===null||bt===void 0)&&bt.current&&(Et.pagination.current=1),p&&((rt=p.onChange)===null||rt===void 0||rt.call(p,1,(St=Et.pagination)===null||St===void 0?void 0:St.pageSize))),$&&$.scrollToFirstRowOnChange!==!1&&Se.body.current&&Koe(0,{getContainer:()=>Se.body.current}),x==null||x(Et.pagination,Et.filters,Et.sorter,{currentDataSource:qR(YR(G,Et.sorterStates,ce),Et.filterStates,ce),action:lt})},Ie=(vt,lt)=>{Me({sorter:vt,sorterStates:lt},"sort",!1)},[Ce,me,we,_e]=GIe({prefixCls:U,mergedColumns:L,onSorterChange:Ie,sortDirections:P||["ascend","descend"],tableLocale:J,showSorterTooltip:A}),Ne=l.useMemo(()=>YR(G,me,ce),[G,me]);Ee.sorter=_e(),Ee.sorterStates=me;const he=(vt,lt)=>{Me({filters:vt,filterStates:lt},"filter",!0)},[ke,xe,ge]=BIe({prefixCls:U,locale:J,dropdownPrefixCls:q,mergedColumns:L,onFilterChange:he,getPopupContainer:C||te,rootClassName:ne(i,Q)}),Pe=qR(Ne,xe,ce);Ee.filters=ge,Ee.filterStates=xe;const Ve=l.useMemo(()=>{const vt={};return Object.keys(ge).forEach(lt=>{ge[lt]!==null&&(vt[lt]=ge[lt])}),Object.assign(Object.assign({},we),{filters:vt})},[we,ge]),[Ae]=qIe(Ve),be=(vt,lt)=>{Me({pagination:Object.assign(Object.assign({},Ee.pagination),{current:vt,pageSize:lt})},"paginate")},[Oe,Fe]=VIe(Pe.length,be,p);Ee.pagination=p===!1?{}:UIe(Oe,p),Ee.resetPagination=Fe;const Ke=l.useMemo(()=>{if(p===!1||!Oe.pageSize)return Pe;const{current:vt=1,total:lt,pageSize:ot=Gq}=Oe;return Pe.lengthot?Pe.slice((vt-1)*ot,vt*ot):Pe:Pe.slice((vt-1)*ot,vt*ot)},[!!p,Pe,Oe==null?void 0:Oe.current,Oe==null?void 0:Oe.pageSize,Oe==null?void 0:Oe.total]),[He,ze]=lIe({prefixCls:U,data:Pe,pageData:Ke,getRowKey:ue,getRecordByKey:ye,expandType:Te,childrenColumnName:ce,locale:J,getPopupContainer:C||te},g),Ze=(vt,lt,ot)=>{let et;return typeof b=="function"?et=ne(b(vt,lt,ot)):et=ne(b),ne({[`${U}-row-selected`]:ze.has(ue(vt,lt))},et)};fe.__PARENT_RENDER_ICON__=fe.expandIcon,fe.expandIcon=fe.expandIcon||E||dIe(J),Te==="nest"&&fe.expandIconColumnIndex===void 0?fe.expandIconColumnIndex=g?1:0:fe.expandIconColumnIndex>0&&g&&(fe.expandIconColumnIndex-=1),typeof fe.indentSize!="number"&&(fe.indentSize=typeof _=="number"?_:15);const je=l.useCallback(vt=>Ae(He(ke(Ce(vt)))),[Ce,ke,He]);let Je,mt;if(p!==!1&&(Oe!=null&&Oe.total)){let vt;Oe.size?vt=Oe.size:vt=Y==="small"||Y==="middle"?"small":void 0;const lt=bt=>l.createElement(qO,Object.assign({},Oe,{className:ne(`${U}-pagination ${U}-pagination-${bt}`,Oe.className),size:vt})),ot=B==="rtl"?"left":"right",{position:et}=Oe;if(et!==null&&Array.isArray(et)){const bt=et.find(Et=>Et.includes("top")),rt=et.find(Et=>Et.includes("bottom")),St=et.every(Et=>`${Et}`=="none");!bt&&!rt&&!St&&(mt=lt(ot)),bt&&(Je=lt(bt.toLowerCase().replace("top",""))),rt&&(mt=lt(rt.toLowerCase().replace("bottom","")))}else mt=lt(ot)}let ft;typeof w=="boolean"?ft={spinning:w}:typeof w=="object"&&(ft=Object.assign({spinning:!0},w));const qe=ne(le,Q,`${U}-wrapper`,z==null?void 0:z.className,{[`${U}-wrapper-rtl`]:B==="rtl"},o,i,oe),We=Object.assign(Object.assign({},z==null?void 0:z.style),s),Qe=typeof(D==null?void 0:D.emptyText)<"u"?D.emptyText:(H==null?void 0:H("Table"))||l.createElement(P0,{componentName:"Table"}),ct=O?YIe:KIe,Rt={},$t=l.useMemo(()=>{const{fontSize:vt,lineHeight:lt,padding:ot,paddingXS:et,paddingSM:bt}=X,rt=Math.floor(vt*lt);switch(Y){case"large":return ot*2+rt;case"small":return et*2+rt;default:return bt*2+rt}},[X,Y]);return O&&(Rt.listItemHeight=$t),ee(l.createElement("div",{ref:ae,className:qe,style:We},l.createElement(KO,Object.assign({spinning:!1},ft),Je,l.createElement(ct,Object.assign({},Rt,F,{ref:ie,columns:L,direction:B,expandable:fe,prefixCls:U,className:ne({[`${U}-middle`]:Y==="middle",[`${U}-small`]:Y==="small",[`${U}-bordered`]:u,[`${U}-empty`]:G.length===0},le,Q,oe),data:Ke,rowKey:ue,rowClassName:Ze,emptyText:Qe,internalHooks:pm,internalRefs:Se,transformColumns:je,getContainerWidth:ve})),mt)))},mTe=l.forwardRef(gTe),hTe=(e,t)=>{const n=l.useRef(0);return n.current+=1,l.createElement(mTe,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Qa=l.forwardRef(hTe);Qa.SELECTION_COLUMN=Bs;Qa.EXPAND_COLUMN=Vs;Qa.SELECTION_ALL=HR;Qa.SELECTION_INVERT=UR;Qa.SELECTION_NONE=VR;Qa.Column=Z2e;Qa.ColumnGroup=Q2e;Qa.Summary=Sq;const vTe=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({},nn(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:i,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${K(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}}},pN=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return zt(e,{tagFontSize:a,tagLineHeight:K(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},gN=e=>({defaultBg:new an(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Yq=on("Tag",e=>{const t=pN(e);return vTe(t)},gN);var bTe=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=bTe(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=l.useContext(st),f=S=>{i==null||i(!o),s==null||s(S)},p=u("tag",n),[g,h,b]=Yq(p),y=ne(p,`${p}-checkable`,{[`${p}-checkable-checked`]:o},d==null?void 0:d.className,a,h,b);return g(l.createElement("span",Object.assign({},c,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:y,onClick:f})))}),STe=e=>RH(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"}}}}),xTe=Hd(["Tag","preset"],e=>{const t=pN(e);return STe(t)},gN);function wTe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const xh=(e,t,n)=>{const r=wTe(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"}}}},CTe=Hd(["Tag","status"],e=>{const t=pN(e);return[xh(t,"success","Success"),xh(t,"processing","Info"),xh(t,"error","Error"),xh(t,"warning","Warning")]},gN);var ETe=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=ETe(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:g,direction:h,tag:b}=l.useContext(st),[y,S]=l.useState(!0),v=On(p,["closeIcon","closable"]);l.useEffect(()=>{f!==void 0&&S(f)},[f]);const x=EV(c),C=nfe(c),w=x||C,E=Object.assign(Object.assign({backgroundColor:c&&!w?c:void 0},b==null?void 0:b.style),o),I=g("tag",n),[T,R,_]=Yq(I),$=ne(I,b==null?void 0:b.className,{[`${I}-${c}`]:w,[`${I}-has-color`]:c&&!w,[`${I}-hidden`]:!y,[`${I}-rtl`]:h==="rtl",[`${I}-borderless`]:!d},r,a,R,_),P=M=>{M.stopPropagation(),u==null||u(M),!M.defaultPrevented&&S(!1)},[,D]=aO(xd(e),xd(b),{closable:!1,closeIconRender:M=>{const L=l.createElement("span",{className:`${I}-close-icon`,onClick:P},M);return K$(M,L,F=>({onClick:j=>{var B;(B=F==null?void 0:F.onClick)===null||B===void 0||B.call(F,j),P(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,D,x&&l.createElement(xTe,{key:"preset",prefixCls:I}),C&&l.createElement(CTe,{key:"status",prefixCls:I}));return T(A?l.createElement(Gg,{component:"Tag"},k):k)}),Ib=ITe;Ib.CheckableTag=yTe;const TTe=e=>{const t=e!=null&&e.algorithm?og(e.algorithm):og(Hg),n=Object.assign(Object.assign({},yd),e==null?void 0:e.token);return K9(n,{override:e==null?void 0:e.token},t,U$)};function RTe(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 _Te=(e,t)=>{const n=t??Hg(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),RTe(t??e)),yH(r)),{controlHeight:a}),bH(Object.assign(Object.assign({},n),{controlHeight:a})))},Ji=(e,t)=>new an(e).setAlpha(t).toRgbString(),fu=(e,t)=>new an(e).lighten(t).toHexString(),$Te=e=>{const t=wc(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]}},OTe=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Ji(r,.85),colorTextSecondary:Ji(r,.65),colorTextTertiary:Ji(r,.45),colorTextQuaternary:Ji(r,.25),colorFill:Ji(r,.18),colorFillSecondary:Ji(r,.12),colorFillTertiary:Ji(r,.08),colorFillQuaternary:Ji(r,.04),colorBgElevated:fu(n,12),colorBgContainer:fu(n,8),colorBgLayout:fu(n,0),colorBgSpotlight:fu(n,26),colorBgBlur:Ji(r,.04),colorBorder:fu(n,26),colorBorderSecondary:fu(n,19)}},NTe=(e,t)=>{const n=Object.keys(j$).map(a=>{const o=wc(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??Hg(e);return Object.assign(Object.assign(Object.assign({},r),n),vH(e,{generateColorPalettes:$Te,generateNeutralColorPalettes:OTe}))};function kTe(){const[e,t,n]=ta();return{theme:e,token:t,hashId:n}}const Ea={defaultSeed:lg.token,useToken:kTe,defaultAlgorithm:Hg,darkAlgorithm:NTe,compactAlgorithm:_Te,getDesignToken:TTe,defaultConfig:lg,_internalContext:B$},ATe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},nn(e)),{margin:0,padding:0,listStyle:"none",[`${t}-item`]:{position:"relative",margin:0,paddingBottom:e.itemPaddingBottom,fontSize:e.fontSize,listStyle:"none","&-tail":{position:"absolute",insetBlockStart:e.itemHeadSize,insetInlineStart:n(n(e.itemHeadSize).sub(e.tailWidth)).div(2).equal(),height:`calc(100% - ${K(e.itemHeadSize)})`,borderInlineStart:`${K(e.tailWidth)} ${e.lineType} ${e.tailColor}`},"&-pending":{[`${t}-item-head`]:{fontSize:e.fontSizeSM,backgroundColor:"transparent"},[`${t}-item-tail`]:{display:"none"}},"&-head":{position:"absolute",width:e.itemHeadSize,height:e.itemHeadSize,backgroundColor:e.dotBg,border:`${K(e.dotBorderWidth)} ${e.lineType} transparent`,borderRadius:"50%","&-blue":{color:e.colorPrimary,borderColor:e.colorPrimary},"&-red":{color:e.colorError,borderColor:e.colorError},"&-green":{color:e.colorSuccess,borderColor:e.colorSuccess},"&-gray":{color:e.colorTextDisabled,borderColor:e.colorTextDisabled}},"&-head-custom":{position:"absolute",insetBlockStart:n(e.itemHeadSize).div(2).equal(),insetInlineStart:n(e.itemHeadSize).div(2).equal(),width:"auto",height:"auto",marginBlockStart:0,paddingBlock:e.customHeadPaddingVertical,lineHeight:1,textAlign:"center",border:0,borderRadius:0,transform:"translate(-50%, -50%)"},"&-content":{position:"relative",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.lineWidth).equal(),marginInlineStart:n(e.margin).add(e.itemHeadSize).equal(),marginInlineEnd:0,marginBlockStart:0,marginBlockEnd:0,wordBreak:"break-word"},"&-last":{[`> ${t}-item-tail`]:{display:"none"},[`> ${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}}},[`&${t}-alternate, + &${t}-right, + &${t}-label`]:{[`${t}-item`]:{"&-tail, &-head, &-head-custom":{insetInlineStart:"50%"},"&-head":{marginInlineStart:n(e.marginXXS).mul(-1).equal(),"&-custom":{marginInlineStart:n(e.tailWidth).div(2).equal()}},"&-left":{[`${t}-item-content`]:{insetInlineStart:`calc(50% - ${K(e.marginXXS)})`,width:`calc(50% - ${K(e.marginSM)})`,textAlign:"start"}},"&-right":{[`${t}-item-content`]:{width:`calc(50% - ${K(e.marginSM)})`,margin:0,textAlign:"end"}}}},[`&${t}-right`]:{[`${t}-item-right`]:{[`${t}-item-tail, + ${t}-item-head, + ${t}-item-head-custom`]:{insetInlineStart:`calc(100% - ${K(n(n(e.itemHeadSize).add(e.tailWidth)).div(2).equal())})`},[`${t}-item-content`]:{width:`calc(100% - ${K(n(e.itemHeadSize).add(e.marginXS).equal())})`}}},[`&${t}-pending + ${t}-item-last + ${t}-item-tail`]:{display:"block",height:`calc(100% - ${K(e.margin)})`,borderInlineStart:`${K(e.tailWidth)} dotted ${e.tailColor}`},[`&${t}-reverse + ${t}-item-last + ${t}-item-tail`]:{display:"none"},[`&${t}-reverse ${t}-item-pending`]:{[`${t}-item-tail`]:{insetBlockStart:e.margin,display:"block",height:`calc(100% - ${K(e.margin)})`,borderInlineStart:`${K(e.tailWidth)} dotted ${e.tailColor}`},[`${t}-item-content`]:{minHeight:n(e.controlHeightLG).mul(1.2).equal()}},[`&${t}-label`]:{[`${t}-item-label`]:{position:"absolute",insetBlockStart:n(n(e.fontSize).mul(e.lineHeight).sub(e.fontSize)).mul(-1).add(e.tailWidth).equal(),width:`calc(50% - ${K(e.marginSM)})`,textAlign:"end"},[`${t}-item-right`]:{[`${t}-item-label`]:{insetInlineStart:`calc(50% + ${K(e.marginSM)})`,width:`calc(50% - ${K(e.marginSM)})`,textAlign:"start"}}},"&-rtl":{direction:"rtl",[`${t}-item-head-custom`]:{transform:"translate(50%, -50%)"}}})}},MTe=e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.wireframe?e.lineWidthBold:e.lineWidth*3,dotBg:e.colorBgContainer,itemPaddingBottom:e.padding*1.25}),PTe=on("Timeline",e=>{const t=zt(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[ATe(t)]},MTe);var DTe=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,color:r="blue",dot:a,pending:o=!1,position:i,label:s,children:c}=e,u=DTe(e,["prefixCls","className","color","dot","pending","position","label","children"]);const{getPrefixCls:d}=l.useContext(st),f=d("timeline",t),p=ne(`${f}-item`,{[`${f}-item-pending`]:o},n),g=/blue|red|green|gray/.test(r||"")?void 0:r,h=ne(`${f}-item-head`,{[`${f}-item-head-custom`]:!!a,[`${f}-item-head-${r}`]:!g});return l.createElement("li",Object.assign({},u,{className:p}),s&&l.createElement("div",{className:`${f}-item-label`},s),l.createElement("div",{className:`${f}-item-tail`}),l.createElement("div",{className:h,style:{borderColor:g,color:g}},a),l.createElement("div",{className:`${f}-item-content`},c))};var pD=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,pending:r=!1,children:a,items:o,rootClassName:i,reverse:s=!1,direction:c,hashId:u,pendingDot:d,mode:f=""}=e,p=pD(e,["prefixCls","className","pending","children","items","rootClassName","reverse","direction","hashId","pendingDot","mode"]);const g=(w,E)=>f==="alternate"?w==="right"?`${t}-item-right`:w==="left"?`${t}-item-left`:E%2===0?`${t}-item-left`:`${t}-item-right`:f==="left"?`${t}-item-left`:f==="right"?`${t}-item-right`:w==="right"?`${t}-item-right`:"",h=De(o||[]),b=typeof r=="boolean"?null:r;r&&h.push({pending:!!r,dot:d||l.createElement(Hi,null),children:b}),s&&h.reverse();const y=h.length,S=`${t}-item-last`,v=h.filter(w=>!!w).map((w,E)=>{var I;const T=E===y-2?S:"",R=E===y-1?S:"",{className:_}=w,$=pD(w,["className"]);return l.createElement(Xq,Object.assign({},$,{className:ne([_,!s&&r?T:R,g((I=w==null?void 0:w.position)!==null&&I!==void 0?I:"",E)]),key:(w==null?void 0:w.key)||E}))}),x=h.some(w=>!!(w!=null&&w.label)),C=ne(t,{[`${t}-pending`]:!!r,[`${t}-reverse`]:!!s,[`${t}-${f}`]:!!f&&!x,[`${t}-label`]:x,[`${t}-rtl`]:c==="rtl"},n,i,u);return l.createElement("ul",Object.assign({},p,{className:C}),v)};function FTe(e,t){return e&&Array.isArray(e)?e:vr(t).map(n=>{var r,a;return Object.assign({children:(a=(r=n==null?void 0:n.props)===null||r===void 0?void 0:r.children)!==null&&a!==void 0?a:""},n.props)})}var jTe=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,timeline:r}=l.useContext(st),{prefixCls:a,children:o,items:i,className:s,style:c}=e,u=jTe(e,["prefixCls","children","items","className","style"]),d=t("timeline",a),f=Un(d),[p,g,h]=PTe(d,f),b=FTe(i,o);return p(l.createElement(LTe,Object.assign({},u,{className:ne(r==null?void 0:r.className,s,h,f),style:Object.assign(Object.assign({},r==null?void 0:r.style),c),prefixCls:d,direction:n,items:b,hashId:g})))};Zq.Item=Xq;var BTe=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===Le.ENTER&&d.preventDefault()},r=d=>{const{keyCode:f}=d,{onClick:p}=e;f===Le.ENTER&&p&&p()},{style:a,noStyle:o,disabled:i,tabIndex:s=0}=e,c=BTe(e,["style","noStyle","disabled","tabIndex"]);let u={};return o||(u=Object.assign({},zTe)),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}))}),HTe=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),Z(Z({},o),{},{label:c})});return t.current.valueLabels=r,[a]},[e])},UTe=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=hs(a,!0,r);a=s.checkedKeys,o=s.halfCheckedKeys}return[Array.from(new Set([].concat(De(i),De(a)))),o]},[e,t,n,r])};function VTe(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function WTe(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 ZR(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function GTe(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 gD(e){return e==null}const qTe=function(e,t){return l.useMemo(function(){var n=J0(e,{fieldNames:t,initWrapper:function(a){return Z(Z({},a),{},{valueEntities:new Map})},processEntity:function(a,o){var i=a.node[t.value];o.valueEntities.set(i,a)}});return n},[e,t])};var mN=function(){return null},KTe=["children","value"];function Qq(e){return vr(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=xt(a,KTe),c=Z({key:r,value:i},s),u=Qq(o);return u.length&&(c.children=u),c}).filter(function(t){return t})}function QR(e){if(!e)return e;var t=Z({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return vn(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function YTe(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,h){var b="".concat(f,"-").concat(h),y=g[o.value],S=n.includes(y),v=u(g[o.children]||[],b,S),x=l.createElement(mN,g,v.map(function(w){return w.node}));if(t===y&&(i=x),S){var C={pos:b,node:x,children:v};return p||s.push(C),C}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,h=n.indexOf(p),b=n.indexOf(g);return h-b}))}Object.defineProperty(e,"triggerNode",{get:function(){return vn(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),c(),i}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return vn(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),c(),a?s:s.map(function(d){var f=d.node;return f})}})}const XTe=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 h=g[i],b=f||s(t,QR(g)),y=u(h||[],b);return(b||y.length)&&p.push(Z(Z({},g),{},W({isLeaf:void 0},i,y))),p},[])}return u(e)},[e,t,i,r,a])};function mD(e){var t=l.useRef();t.current=e;var n=l.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function ZTe(e,t){var n=t.id,r=t.pId,a=t.rootPId,o={},i=[],s=e.map(function(c){var u=Z({},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 QTe(e,t,n){return l.useMemo(function(){return e?n?ZTe(e,Z({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:Qq(t)},[t,n,e])}var Jq=l.createContext(null),eK=l.createContext(null),JTe={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},eRe=function(t,n){var r=YU(),a=r.prefixCls,o=r.multiple,i=r.searchValue,s=r.toggleOpen,c=r.open,u=r.notFoundContent,d=l.useContext(eK),f=d.virtual,p=d.listHeight,g=d.listItemHeight,h=d.listItemScrollOffset,b=d.treeData,y=d.fieldNames,S=d.onSelect,v=d.dropdownMatchSelectWidth,x=d.treeExpandAction,C=d.treeTitleRender,w=d.onPopupScroll,E=l.useContext(Jq),I=E.checkable,T=E.checkedKeys,R=E.halfCheckedKeys,_=E.treeExpandedKeys,$=E.treeDefaultExpandAll,P=E.treeDefaultExpandedKeys,D=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(),V=_l(function(){return b},[c,b],function(Me,Ie){return Ie[0]&&Me[1]!==Ie[1]}),te=l.useState(null),Y=re(te,2),J=Y[0],G=Y[1],U=z[J],q=l.useMemo(function(){return I?{checked:T,halfChecked:R}:null},[I,T,R]);l.useEffect(function(){if(c&&!o&&T.length){var Me;(Me=H.current)===null||Me===void 0||Me.scrollTo({key:T[0]}),G(T[0])}},[c]);var X=String(i).toLowerCase(),Q=function(Ie){return X?String(Ie[M]).toLowerCase().includes(X):!1},ee=l.useState(P),oe=re(ee,2),le=oe[0],fe=oe[1],ce=l.useState(null),Te=re(ce,2),Se=Te[0],ve=Te[1],ae=l.useMemo(function(){return _?De(_):i?Se:le},[le,Se,_,i]);l.useEffect(function(){i&&ve(GTe(b,y))},[i]);var ie=function(Ie){fe(Ie),ve(Ie),D&&D(Ie)},ue=function(Ie){Ie.preventDefault()},ye=function(Ie,Ce){var me=Ce.node;I&&ZR(me)||(S(me.key,{selected:!T.includes(me.key)}),o||s(!1))};if(l.useImperativeHandle(n,function(){var Me;return{scrollTo:(Me=H.current)===null||Me===void 0?void 0:Me.scrollTo,onKeyDown:function(Ce){var me,we=Ce.which;switch(we){case Le.UP:case Le.DOWN:case Le.LEFT:case Le.RIGHT:(me=H.current)===null||me===void 0||me.onKeyDown(Ce);break;case Le.ENTER:{if(U){var _e=(U==null?void 0:U.node)||{},Ne=_e.selectable,he=_e.value;Ne!==!1&&ye(null,{node:{key:J},selected:!T.includes(he)})}break}case Le.ESC:s(!1)}},onKeyUp:function(){}}}),V.length===0)return l.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:ue},u);var Ee={fieldNames:y};return F&&(Ee.loadedKeys=F),ae&&(Ee.expandedKeys=ae),l.createElement("div",{onMouseDown:ue},U&&c&&l.createElement("span",{style:JTe,"aria-live":"assertive"},U.node.value),l.createElement(uy,pe({ref:H,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:V,height:p,itemHeight:g,itemScrollOffset:h,virtual:f!==!1&&v!==!1,multiple:o,icon:A,showIcon:O,switcherIcon:N,showLine:k,loadData:i?null:L,motion:j,activeKey:J,checkable:I,checkStrictly:!0,checkedKeys:q,selectedKeys:I?[]:T,defaultExpandAll:$,titleRender:C},Ee,{onActiveChange:G,onSelect:ye,onCheck:ye,onExpand:ie,onLoad:B,filterTreeNode:Q,expandAction:x,onScroll:w})))},tRe=l.forwardRef(eRe),hN="SHOW_ALL",vN="SHOW_PARENT",dy="SHOW_CHILD";function hD(e,t,n,r){var a=new Set(e);return t===dy?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 ZR(c)||a.has(c[r.value])}))}):t===vN?e.filter(function(o){var i=n[o],s=i?i.parent:null;return!(s&&!ZR(s.node)&&a.has(s.key))}):e}var nRe=["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 rRe(e){return!e||ht(e)!=="object"}var aRe=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,h=g===void 0?!0:g,b=e.filterTreeNode,y=e.treeNodeFilterProp,S=y===void 0?"value":y,v=e.showCheckedStrategy,x=e.treeNodeLabelProp,C=e.multiple,w=e.treeCheckable,E=e.treeCheckStrictly,I=e.labelInValue,T=e.fieldNames,R=e.treeDataSimpleMode,_=e.treeData,$=e.children,P=e.loadData,D=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,V=e.listItemScrollOffset,te=V===void 0?0:V,Y=e.onDropdownVisibleChange,J=e.dropdownMatchSelectWidth,G=J===void 0?!0:J,U=e.treeLine,q=e.treeIcon,X=e.showTreeIcon,Q=e.switcherIcon,ee=e.treeMotion,oe=e.treeTitleRender,le=e.onPopupScroll,fe=xt(e,nRe),ce=sV(n),Te=w&&!E,Se=w||E,ve=E||I,ae=Se||C,ie=sn(i,{value:o}),ue=re(ie,2),ye=ue[0],Ee=ue[1],Me=l.useMemo(function(){return w?v||dy:hN},[v,w]),Ie=l.useMemo(function(){return WTe(T)},[JSON.stringify(T)]),Ce=sn("",{value:d!==void 0?d:f,postState:function(St){return St||""}}),me=re(Ce,2),we=me[0],_e=me[1],Ne=function(St){_e(St),p==null||p(St)},he=QTe(_,$,R),ke=qTe(he,Ie),xe=ke.keyEntities,ge=ke.valueEntities,Pe=l.useCallback(function(rt){var St=[],Et=[];return rt.forEach(function(tt){ge.has(tt)?Et.push(tt):St.push(tt)}),{missingRawValues:St,existRawValues:Et}},[ge]),Ve=XTe(he,we,{fieldNames:Ie,treeNodeFilterProp:S,filterTreeNode:b}),Ae=l.useCallback(function(rt){if(rt){if(x)return rt[x];for(var St=Ie._title,Et=0;Et{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,a=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${K(e.paddingXS)} ${K(e.calc(e.paddingXS).div(2).equal())}`},Fq(n,zt(e,{colorBgContainer:r})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},LO(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function iRe(e,t,n){return on("TreeSelect",r=>{const a=zt(r,{treePrefixCls:t});return[oRe(a)]},jq)(e,n)}var sRe=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:h,switcherIcon:b,treeLine:y,getPopupContainer:S,popupClassName:v,dropdownClassName:x,treeIcon:C=!1,transitionName:w,choiceTransitionName:E="",status:I,treeExpandAction:T,builtinPlacements:R,dropdownMatchSelectWidth:_,popupMatchSelectWidth:$,allowClear:P,variant:D,dropdownStyle:A,tagRender:O}=e,N=sRe(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(st),H=M(),V=M("select",r),te=M("select-tree",r),Y=M("tree-select",r),{compactSize:J,compactItemClassnames:G}=Os(V,F),U=Un(V),q=Un(Y),[X,Q,ee]=hV(V,U),[oe]=iRe(Y,te,q),[le,fe]=Dc("treeSelect",D,i),ce=ne(v||x,`${Y}-dropdown`,{[`${Y}-dropdown-rtl`]:F==="rtl"},c,ee,U,q,Q),Te=!!(u||d),Se=vV(e.suffixIcon,e.showArrow),ve=(n=$??_)!==null&&n!==void 0?n:B,{status:ae,hasFeedback:ie,isFormItemInput:ue,feedbackIcon:ye}=l.useContext(zr),Ee=Nl(ae,I),{suffixIcon:Me,removeIcon:Ie,clearIcon:Ce}=dO(Object.assign(Object.assign({},N),{multiple:Te,showSuffixIcon:Se,hasFeedback:ie,feedbackIcon:ye,prefixCls:V,componentName:"TreeSelect"})),me=P===!0?{clearIcon:Ce}:P;let we;h!==void 0?we=h:we=(L==null?void 0:L("Select"))||l.createElement(P0,{componentName:"Select"});const _e=On(N,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Ne=l.useMemo(()=>g!==void 0?g:F==="rtl"?"bottomRight":"bottomLeft",[g,F]),he=Er(be=>{var Oe;return(Oe=a??J)!==null&&Oe!==void 0?Oe:be}),ke=l.useContext(Zr),xe=o??ke,ge=ne(!r&&Y,{[`${V}-lg`]:he==="large",[`${V}-sm`]:he==="small",[`${V}-rtl`]:F==="rtl",[`${V}-${le}`]:fe,[`${V}-in-form-item`]:ue},Is(V,Ee,ie),G,s,c,ee,U,q,Q),Pe=be=>l.createElement(Bq,{prefixCls:te,switcherIcon:b,treeNodeProps:be,showLine:y}),[Ve]=Si("SelectLike",A==null?void 0:A.zIndex),Ae=l.createElement(gm,Object.assign({virtual:j,disabled:xe},_e,{dropdownMatchSelectWidth:ve,builtinPlacements:dV(R,z),ref:t,prefixCls:V,className:ge,listHeight:f,listItemHeight:p,treeCheckable:u&&l.createElement("span",{className:`${V}-tree-checkbox-inner`}),treeLine:!!y,suffixIcon:Me,multiple:Te,placement:Ne,removeIcon:Ie,allowClear:me,switcherIcon:Pe,showTreeIcon:C,notFoundContent:we,getPopupContainer:S||k,treeMotion:null,dropdownClassName:ce,dropdownStyle:Object.assign(Object.assign({},A),{zIndex:Ve}),choiceTransitionName:xa(H,"",E),transitionName:xa(H,"slide-up",w),treeExpandAction:T,tagRender:Te?O:void 0}));return X(oe(Ae))},cRe=l.forwardRef(lRe),Al=cRe,uRe=Jg(Al);Al.TreeNode=mN;Al.SHOW_ALL=hN;Al.SHOW_PARENT=vN;Al.SHOW_CHILD=dy;Al._InternalPanelDoNotUseOrYouWillBeFired=uRe;const dRe=(e,t,n,r)=>{const{titleMarginBottom:a,fontWeightStrong:o}=r;return{marginBottom:a,color:n,fontWeight:o,fontSize:e,lineHeight:t}},fRe=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` + h${r}&, + div&-h${r}, + div&-h${r} > textarea, + h${r} + `]=dRe(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},pRe=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},V$(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},gRe=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:ib[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),mRe=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${K(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},hRe=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),vRe=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),bRe=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},fRe(e)),{[` + & + h1${t}, + & + h2${t}, + & + h3${t}, + & + h4${t}, + & + h5${t} + `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),gRe(e)),pRe(e)),{[` + ${t}-expand, + ${t}-collapse, + ${t}-edit, + ${t}-copy + `]:Object.assign(Object.assign({},V$(e)),{marginInlineStart:e.marginXXS})}),mRe(e)),hRe(e)),vRe()),{"&-rtl":{direction:"rtl"}})}},yRe=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),tK=on("Typography",e=>[bRe(e)],yRe),SRe=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(Pxe,null)}=e,h=l.useRef(null),b=l.useRef(!1),y=l.useRef(),[S,v]=l.useState(c);l.useEffect(()=>{v(c)},[c]),l.useEffect(()=>{var A;if(!((A=h.current)===null||A===void 0)&&A.resizableTextArea){const{textArea:O}=h.current.resizableTextArea;O.focus();const{length:N}=O.value;O.setSelectionRange(N,N)}},[]);const x=A=>{let{target:O}=A;v(O.value.replace(/[\n\r]/g,""))},C=()=>{b.current=!0},w=()=>{b.current=!1},E=A=>{let{keyCode:O}=A;b.current||(y.current=O)},I=()=>{u(S.trim())},T=A=>{let{keyCode:O,ctrlKey:N,altKey:k,metaKey:M,shiftKey:L}=A;y.current!==O||b.current||N||k||M||L||(O===Le.ENTER?(I(),f==null||f()):O===Le.ESC&&d())},R=()=>{I()},[_,$,P]=tK(t),D=ne(t,`${t}-edit-content`,{[`${t}-rtl`]:o==="rtl",[`${t}-${p}`]:!!p},r,$,P);return _(l.createElement("div",{className:D,style:a},l.createElement(fG,{ref:h,maxLength:i,value:S,onChange:x,onKeyDown:E,onKeyUp:T,onCompositionStart:C,onCompositionEnd:w,onBlur:R,"aria-label":n,rows:1,autoSize:s}),g!==null?Cr(g,{className:`${t}-edit-content-confirm`}):null))};var xRe=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=vD[t.format]||vD.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=ERe("message"in t?t.message:CRe),window.prompt(r,e)}}finally{i&&(typeof i.removeRange=="function"?i.removeRange(o):i.removeAllRanges()),s&&document.body.removeChild(s),a()}return c}var TRe=IRe;const RRe=Ma(TRe);var _Re=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 $Re=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=Wt(f=>_Re(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;RRe(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 C1(e,t){return l.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const ORe=e=>{const t=l.useRef();return l.useEffect(()=>{t.current=e}),t.current},NRe=(e,t,n)=>l.useMemo(()=>e===!0?{title:t??n}:l.isValidElement(e)?{title:e}:typeof e=="object"?Object.assign({title:t??n},e):{title:e},[e,t,n]);var kRe=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=kRe(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:f,direction:p,typography:g}=l.useContext(st),h=c??p,b=i?ea(t,i):t,y=f("typography",n),[S,v,x]=tK(y),C=ne(y,g==null?void 0:g.className,{[`${y}-rtl`]:h==="rtl"},a,o,v,x),w=Object.assign(Object.assign({},g==null?void 0:g.style),u);return S(l.createElement(r,Object.assign({className:C,style:w,ref:b},d),s))});function bD(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function E1(e,t,n){return e===!0||e===void 0?t:e||n&&t}function ARe(e){const t=document.createElement("em");e.appendChild(t);const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}const bN=e=>["string","number"].includes(typeof e),MRe=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:a,tooltips:o,icon:i,tabIndex:s,onCopy:c,loading:u}=e;const d=bD(o),f=bD(i),{copied:p,copy:g}=r??{},h=n?p:g,b=E1(d[n?1:0],h),y=typeof b=="string"?b:h;return l.createElement(Zt,{title:b},l.createElement(XR,{className:ne(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:a}),onClick:c,"aria-label":y,tabIndex:s},n?E1(f[1],l.createElement(nm,null),!0):E1(f[0],u?l.createElement(Hi,null):l.createElement(ZO,null),!0)))},wh=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)}),PRe=e=>e.reduce((t,n)=>t+(bN(n)?String(n).length:1),0);function yD(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 I1=0,T1=1,R1=2,_1=3,SD=4,Ch={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function DRe(e){const{enableMeasure:t,width:n,text:r,children:a,rows:o,expanded:i,miscDeps:s,onEllipsis:c}=e,u=l.useMemo(()=>vr(r),[r]),d=l.useMemo(()=>PRe(u),[r]),f=l.useMemo(()=>a(u,!1),[r]),[p,g]=l.useState(null),h=l.useRef(null),b=l.useRef(null),y=l.useRef(null),S=l.useRef(null),v=l.useRef(null),[x,C]=l.useState(!1),[w,E]=l.useState(I1),[I,T]=l.useState(0),[R,_]=l.useState(null);Xt(()=>{E(t&&n&&d?T1:I1)},[n,r,o,t,u]),Xt(()=>{var A,O,N,k;if(w===T1){E(R1);const M=b.current&&getComputedStyle(b.current).whiteSpace;_(M)}else if(w===R1){const M=!!(!((A=y.current)===null||A===void 0)&&A.isExceed());E(M?_1:SD),g(M?[0,d]:null),C(M);const L=((O=y.current)===null||O===void 0?void 0:O.getHeight())||0,F=o===1?0:((N=S.current)===null||N===void 0?void 0:N.getHeight())||0,j=((k=v.current)===null||k===void 0?void 0:k.getHeight())||0,B=Math.max(L,F+j);T(B+1),c(M)}},[w]);const $=p?Math.ceil((p[0]+p[1])/2):0;Xt(()=>{var A;const[O,N]=p||[0,0];if(O!==N){const M=(((A=h.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 P=l.useMemo(()=>{if(!t)return a(u,!1);if(w!==_1||!p||p[0]!==p[1]){const A=a(u,!1);return[SD,I1].includes(w)?A:l.createElement("span",{style:Object.assign(Object.assign({},Ch),{WebkitLineClamp:o})},A)}return a(i?u:yD(u,p[0]),x)},[i,w,p,u].concat(De(s))),D={width:n,margin:0,padding:0,whiteSpace:R==="nowrap"?"normal":"inherit"};return l.createElement(l.Fragment,null,P,w===R1&&l.createElement(l.Fragment,null,l.createElement(wh,{style:Object.assign(Object.assign(Object.assign({},D),Ch),{WebkitLineClamp:o}),ref:y},f),l.createElement(wh,{style:Object.assign(Object.assign(Object.assign({},D),Ch),{WebkitLineClamp:o-1}),ref:S},f),l.createElement(wh,{style:Object.assign(Object.assign(Object.assign({},D),Ch),{WebkitLineClamp:1}),ref:v},a([],!0))),w===_1&&p&&p[0]!==p[1]&&l.createElement(wh,{style:Object.assign(Object.assign({},D),{top:400}),ref:h},a(yD(u,$),!0)),w===T1&&l.createElement("span",{style:{whiteSpace:"inherit"},ref:b}))}const LRe=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:a}=e;return!(a!=null&&a.title)||!t?r:l.createElement(Zt,Object.assign({open:n?void 0:!1},a),r)};var FRe=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,style:o,type:i,disabled:s,children:c,ellipsis:u,editable:d,copyable:f,component:p,title:g}=e,h=FRe(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:b,direction:y}=l.useContext(st),[S]=qi("Text"),v=l.useRef(null),x=l.useRef(null),C=b("typography",r),w=On(h,["mark","code","delete","underline","strong","keyboard","italic"]),[E,I]=C1(d),[T,R]=sn(!1,{value:I.editing}),{triggerType:_=["icon"]}=I,$=xe=>{var ge;xe&&((ge=I.onStart)===null||ge===void 0||ge.call(I)),R(xe)},P=ORe(T);Xt(()=>{var xe;!T&&P&&((xe=x.current)===null||xe===void 0||xe.focus())},[T]);const D=xe=>{xe==null||xe.preventDefault(),$(!0)},A=xe=>{var ge;(ge=I.onChange)===null||ge===void 0||ge.call(I,xe),$(!1)},O=()=>{var xe;(xe=I.onCancel)===null||xe===void 0||xe.call(I),$(!1)},[N,k]=C1(f),{copied:M,copyLoading:L,onClick:F}=$Re({copyConfig:k,children:c}),[j,B]=l.useState(!1),[z,H]=l.useState(!1),[V,te]=l.useState(!1),[Y,J]=l.useState(!1),[G,U]=l.useState(!0),[q,X]=C1(u,{expandable:!1,symbol:xe=>xe?S==null?void 0:S.collapse:S==null?void 0:S.expand}),[Q,ee]=sn(X.defaultExpanded||!1,{value:X.expanded}),oe=q&&(!Q||X.expandable==="collapsible"),{rows:le=1}=X,fe=l.useMemo(()=>oe&&(X.suffix!==void 0||X.onEllipsis||X.expandable||E||N),[oe,X,E,N]);Xt(()=>{q&&!fe&&(B(fR("webkitLineClamp")),H(fR("textOverflow")))},[fe,q]);const[ce,Te]=l.useState(oe),Se=l.useMemo(()=>fe?!1:le===1?z:j,[fe,z,j]);Xt(()=>{Te(Se&&oe)},[Se,oe]);const ve=oe&&(ce?Y:V),ae=oe&&le===1&&ce,ie=oe&&le>1&&ce,ue=(xe,ge)=>{var Pe;ee(ge.expanded),(Pe=X.onExpand)===null||Pe===void 0||Pe.call(X,xe,ge)},[ye,Ee]=l.useState(0),Me=xe=>{let{offsetWidth:ge}=xe;Ee(ge)},Ie=xe=>{var ge;te(xe),V!==xe&&((ge=X.onEllipsis)===null||ge===void 0||ge.call(X,xe))};l.useEffect(()=>{const xe=v.current;if(q&&ce&&xe){const ge=ARe(xe);Y!==ge&&J(ge)}},[q,ce,c,ie,G,ye]),l.useEffect(()=>{const xe=v.current;if(typeof IntersectionObserver>"u"||!xe||!ce||!oe)return;const ge=new IntersectionObserver(()=>{U(!!xe.offsetParent)});return ge.observe(xe),()=>{ge.disconnect()}},[ce,oe]);const Ce=NRe(X.tooltip,I.text,c),me=l.useMemo(()=>{if(!(!q||ce))return[I.text,c,g,Ce.title].find(bN)},[q,ce,g,Ce.title,ve]);if(T)return l.createElement(SRe,{value:(n=I.text)!==null&&n!==void 0?n:typeof c=="string"?c:"",onSave:A,onCancel:O,onEnd:I.onEnd,prefixCls:C,className:a,style:o,direction:y,component:p,maxLength:I.maxLength,autoSize:I.autoSize,enterIcon:I.enterIcon});const we=()=>{const{expandable:xe,symbol:ge}=X;return xe?l.createElement(XR,{key:"expand",className:`${C}-${Q?"collapse":"expand"}`,onClick:Pe=>ue(Pe,{expanded:!Q}),"aria-label":Q?S.collapse:S==null?void 0:S.expand},typeof ge=="function"?ge(Q):ge):null},_e=()=>{if(!E)return;const{icon:xe,tooltip:ge,tabIndex:Pe}=I,Ve=vr(ge)[0]||(S==null?void 0:S.edit),Ae=typeof Ve=="string"?Ve:"";return _.includes("icon")?l.createElement(Zt,{key:"edit",title:ge===!1?"":Ve},l.createElement(XR,{ref:x,className:`${C}-edit`,onClick:D,"aria-label":Ae,tabIndex:Pe},xe||l.createElement(vg,{role:"button"}))):null},Ne=()=>N?l.createElement(MRe,Object.assign({key:"copy"},k,{prefixCls:C,copied:M,locale:S,onCopy:F,loading:L,iconOnly:c==null})):null,he=xe=>[xe&&we(),_e(),Ne()],ke=xe=>[xe&&!Q&&l.createElement("span",{"aria-hidden":!0,key:"ellipsis"},BRe),X.suffix,he(xe)];return l.createElement(sa,{onResize:Me,disabled:!oe},xe=>l.createElement(LRe,{tooltipProps:Ce,enableEllipsis:oe,isEllipsis:ve},l.createElement(nK,Object.assign({className:ne({[`${C}-${i}`]:i,[`${C}-disabled`]:s,[`${C}-ellipsis`]:q,[`${C}-ellipsis-single-line`]:ae,[`${C}-ellipsis-multiple-line`]:ie},a),prefixCls:r,style:Object.assign(Object.assign({},o),{WebkitLineClamp:ie?le:void 0}),component:p,ref:ea(xe,v,t),direction:y,onClick:_.includes("text")?D:void 0,"aria-label":me==null?void 0:me.toString(),title:g},w),l.createElement(DRe,{enableMeasure:oe&&!ce,text:c,rows:le,width:ye,onEllipsis:Ie,expanded:Q,miscDeps:[M,Q,L,E,N]},(ge,Pe)=>jRe(e,l.createElement(l.Fragment,null,ge.length>0&&Pe&&!Q&&me?l.createElement("span",{key:"show-content","aria-hidden":!0},ge):ge,ke(Pe)))))))});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{var{ellipsis:n,rel:r}=e,a=zRe(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(fy,Object.assign({},o,{ref:t,ellipsis:!!n,component:"a"}))}),URe=l.forwardRef((e,t)=>l.createElement(fy,Object.assign({ref:t},e,{component:"div"})));var VRe=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=VRe(e,["ellipsis"]);const a=l.useMemo(()=>n&&typeof n=="object"?On(n,["expandable","rows"]):n,[n]);return l.createElement(fy,Object.assign({ref:t},r,{ellipsis:a,component:"span"}))},GRe=l.forwardRef(WRe);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{const{level:n=1}=e,r=qRe(e,["level"]),a=KRe.includes(n)?`h${n}`:"h1";return l.createElement(fy,Object.assign({ref:t},r,{component:a}))}),bn=nK;bn.Text=GRe;bn.Link=HRe;bn.Title=YRe;bn.Paragraph=URe;const $1=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)?(vn(!1,"Upload takes an invalidate 'accept' type '".concat(s,"'.Skip for check.")),!0):!1})}return!0};function XRe(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 ZRe(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(XRe(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 QRe=function(){var e=po(Hn().mark(function t(n,r){var a,o,i,s,c,u,d,f;return Hn().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:u=function(){return u=po(Hn().mark(function b(y){return Hn().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.abrupt("return",new Promise(function(x){y.file(function(C){r(C)?(y.fullPath&&!C.webkitRelativePath&&(Object.defineProperties(C,{webkitRelativePath:{writable:!0}}),C.webkitRelativePath=y.fullPath.replace(/^\//,""),Object.defineProperties(C,{webkitRelativePath:{writable:!1}})),x(C)):x(null)})}));case 1:case"end":return v.stop()}},b)})),u.apply(this,arguments)},c=function(b){return u.apply(this,arguments)},s=function(){return s=po(Hn().mark(function b(y){var S,v,x,C,w;return Hn().wrap(function(I){for(;;)switch(I.prev=I.next){case 0:S=y.createReader(),v=[];case 2:return I.next=5,new Promise(function(T){S.readEntries(T,function(){return T([])})});case 5:if(x=I.sent,C=x.length,C){I.next=9;break}return I.abrupt("break",12);case 9:for(w=0;w{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${K(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:`${K(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 ${K(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, + p${t}-text, + p${t}-hint + `]:{color:e.colorTextDisabled}}}}}},a_e=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:a,lineHeight:o,calc:i}=e,s=`${t}-list-item`,c=`${s}-actions`,u=`${s}-action`,d=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},mi()),{lineHeight:e.lineHeight,[s]:{position:"relative",height:i(e.lineHeight).mul(a).equal(),marginTop:e.marginXS,fontSize:a,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:Object.assign(Object.assign({},xo),{padding:`0 ${K(e.paddingXS)}`,lineHeight:o,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[c]:{whiteSpace:"nowrap",[u]:{opacity:0},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` + ${u}:focus-visible, + &.picture ${u} + `]:{opacity:1},[`${u}${n}-btn`]:{height:d,border:0,lineHeight:1}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:a},[`${s}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:i(a).add(e.paddingXS).equal(),fontSize:a,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${s}:hover ${u}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${r}`]:{color:e.colorError},[c]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},o_e=e=>{const{componentCls:t}=e,n=new un("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new un("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),a=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${a}-appear, ${a}-enter, ${a}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${a}-appear, ${a}-enter`]:{animationName:n},[`${a}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:oO(e)},n,r]},i_e=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:a,calc:o}=e,i=`${t}-list`,s=`${i}-item`;return{[`${t}-wrapper`]:{[` + ${i}${i}-picture, + ${i}${i}-picture-card, + ${i}${i}-picture-circle + `]:{[s]:{position:"relative",height:o(r).add(o(e.lineWidth).mul(2)).add(o(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${K(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${s}-thumbnail`]:Object.assign(Object.assign({},xo),{width:r,height:r,lineHeight:K(o(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${s}-progress`]:{bottom:a,width:`calc(100% - ${K(o(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:o(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${bd[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${bd.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:"dashed",[`${s}-name`]:{marginBottom:a}}},[`${i}${i}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:"50%"}}}}},s_e=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:a,calc:o}=e,i=`${t}-list`,s=`${i}-item`,c=e.uploadPicCardSize;return{[` + ${t}-wrapper${t}-picture-card-wrapper, + ${t}-wrapper${t}-picture-circle-wrapper + `]:Object.assign(Object.assign({},mi()),{display:"block",[`${t}${t}-select`]:{width:c,height:c,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${K(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${i}${i}-picture-card, ${i}${i}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${i}-item-container`]:{display:"inline-block",width:c,height:c,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[s]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${K(o(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${K(o(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` + ${n}-eye, + ${n}-download, + ${n}-delete + `]:{zIndex:10,width:r,margin:`0 ${K(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% - ${K(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% - ${K(o(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},l_e=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},c_e=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},nn(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},u_e=e=>({actionsColor:e.colorTextDescription}),d_e=on("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:a,calc:o}=e,i=zt(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(n).div(2)).add(r).equal(),uploadPicCardSize:o(a).mul(2.55).equal()});return[c_e(i),r_e(i),i_e(i),s_e(i),a_e(i),o_e(i),l_e(i),Zg(i)]},u_e);function Eh(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 Ih(e,t){const n=De(t),r=n.findIndex(a=>{let{uid:o}=a;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function k1(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function f_e(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 p_e=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},rK=e=>e.indexOf("image/")===0,g_e=e=>{if(e.type&&!e.thumbUrl)return rK(e.type);const t=e.thumbUrl||e.url||"",n=p_e(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)},Ls=200;function m_e(e){return new Promise(t=>{if(!e.type||!rK(e.type)){t("");return}const n=document.createElement("canvas");n.width=Ls,n.height=Ls,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ls}px; height: ${Ls}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=Ls,c=Ls,u=0,d=0;o>i?(c=i*(Ls/o),d=-(c-s)/2):(s=o*(Ls/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 h_e=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:h,showRemoveIcon:b,showDownloadIcon:y,previewIcon:S,removeIcon:v,downloadIcon:x,extra:C,onPreview:w,onDownload:E,onClose:I}=e;var T,R;const{status:_}=s,[$,P]=l.useState(_);l.useEffect(()=>{_!=="removed"&&P(_)},[_]);const[D,A]=l.useState(!1);l.useEffect(()=>{const Q=setTimeout(()=>{A(!0)},300);return()=>{clearTimeout(Q)}},[]);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 Q=ne(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:$!=="uploading"});N=l.createElement("div",{className:Q},O)}else{const Q=g!=null&&g(s)?l.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):O,ee=ne(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:g&&!g(s)});N=l.createElement("a",{className:ee,onClick:oe=>w(s,oe),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Q)}const k=ne(`${n}-list-item`,`${n}-list-item-${$}`),M=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,L=b?f((typeof v=="function"?v(s):v)||l.createElement(Ed,null),()=>I(s),n,o.removeFile,!0):null,F=y&&$==="done"?f((typeof x=="function"?x(s):x)||l.createElement(QO,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 C=="function"?C(s):C,z=B&&l.createElement("span",{className:`${n}-list-item-extra`},B),H=ne(`${n}-list-item-name`),V=s.url?l.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:H,title:s.name},M,{href:s.url,onClick:Q=>w(s,Q)}),s.name,z):l.createElement("span",{key:"view",className:H,onClick:Q=>w(s,Q),title:s.name},s.name,z),te=h&&(s.url||s.thumbUrl)?l.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Q=>w(s,Q),title:o.previewFile},typeof S=="function"?S(s):S||l.createElement(Sl,null)):null,Y=(i==="picture-card"||i==="picture-circle")&&$!=="uploading"&&l.createElement("span",{className:`${n}-list-item-actions`},te,$==="done"&&F,L),{getPrefixCls:J}=l.useContext(st),G=J(),U=l.createElement("div",{className:k},N,V,j,Y,D&&l.createElement(Qr,{motionName:`${G}-fade`,visible:$==="uploading",motionDeadline:2e3},Q=>{let{className:ee}=Q;const oe="percent"in s?l.createElement(iy,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`,ee)},oe)})),q=s.response&&typeof s.response=="string"?s.response:((T=s.error)===null||T===void 0?void 0:T.statusText)||((R=s.error)===null||R===void 0?void 0:R.message)||o.uploadError,X=$==="error"?l.createElement(Zt,{title:q,getPopupContainer:Q=>Q.parentNode},U):U;return l.createElement("div",{className:ne(`${n}-list-item-container`,r),style:a,ref:t},p?p(X,s,c,{download:E.bind(null,s),preview:w.bind(null,s),remove:I.bind(null,s)}):X)}),v_e=(e,t)=>{const{listType:n="text",previewFile:r=m_e,onPreview:a,onDownload:o,onRemove:i,locale:s,iconRender:c,isImageUrl:u=g_e,prefixCls:d,items:f=[],showPreviewIcon:p=!0,showRemoveIcon:g=!0,showDownloadIcon:h=!1,removeIcon:b,previewIcon:y,downloadIcon:S,extra:v,progress:x={size:[-1,2],showInfo:!1},appendAction:C,appendActionVisible:w=!0,itemRender:E,disabled:I}=e,T=fO(),[R,_]=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(V=>{H.thumbUrl=V||"",T()}))})},[n,f,r]),l.useEffect(()=>{_(!0)},[]);const $=(H,V)=>{if(a)return V==null||V.preventDefault(),a(H)},P=H=>{typeof o=="function"?o(H):H.url&&window.open(H.url)},D=H=>{i==null||i(H)},A=H=>{if(c)return c(H,n);const V=H.status==="uploading",te=u!=null&&u(H)?l.createElement(cCe,null):l.createElement(Gxe,null);let Y=V?l.createElement(Hi,null):l.createElement(aCe,null);return n==="picture"?Y=V?l.createElement(Hi,null):te:(n==="picture-card"||n==="picture-circle")&&(Y=V?s.uploading:te),Y},O=(H,V,te,Y,J)=>{const G={type:"text",size:"small",title:Y,onClick:U=>{var q,X;V(),l.isValidElement(H)&&((X=(q=H.props).onClick)===null||X===void 0||X.call(q,U))},className:`${te}-list-item-action`};if(J&&(G.disabled=I),l.isValidElement(H)){const U=Cr(H,Object.assign(Object.assign({},H.props),{onClick:()=>{}}));return l.createElement(ut,Object.assign({},G,{icon:U}))}return l.createElement(ut,Object.assign({},G),l.createElement("span",null,H))};l.useImperativeHandle(t,()=>({handlePreview:$,handleDownload:P}));const{getPrefixCls:N}=l.useContext(st),k=N("upload",d),M=N(),L=ne(`${k}-list`,`${k}-list-${n}`),F=De(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:R};const z=l.useMemo(()=>{const H=Object.assign({},Sd(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(G$,Object.assign({},B,{component:!1}),H=>{let{key:V,file:te,className:Y,style:J}=H;return l.createElement(h_e,{key:V,locale:s,prefixCls:k,className:Y,style:J,file:te,items:f,progress:x,listType:n,isImgUrl:u,showPreviewIcon:p,showRemoveIcon:g,showDownloadIcon:h,removeIcon:b,previewIcon:y,downloadIcon:S,extra:v,iconRender:A,actionIconRender:O,itemRender:E,onPreview:$,onDownload:P,onClose:D})}),C&&l.createElement(Qr,Object.assign({},B,{visible:w,forceRender:!0}),H=>{let{className:V,style:te}=H;return Cr(C,Y=>({className:ne(Y.className,V),style:Object.assign(Object.assign(Object.assign({},te),{pointerEvents:V?"none":void 0}),Y.style)}))}))},b_e=l.forwardRef(v_e);var y_e=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 Qf=`__LIST_IGNORE_${Date.now()}__`,S_e=(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:h,isImageUrl:b,progress:y,prefixCls:S,className:v,type:x="select",children:C,style:w,itemRender:E,maxCount:I,data:T={},multiple:R=!1,hasControlInside:_=!0,action:$="",accept:P="",supportServerRender:D=!0,rootClassName:A}=e,O=l.useContext(Zr),N=p??O,[k,M]=sn(r||[],{value:n,postState:he=>he??[]}),[L,F]=l.useState("drop"),j=l.useRef(null),B=l.useRef(null);l.useMemo(()=>{const he=Date.now();(n||[]).forEach((ke,xe)=>{!ke.uid&&!Object.isFrozen(ke)&&(ke.uid=`__AUTO__${he}_${xe}__`)})},[n]);const z=(he,ke,xe)=>{let ge=De(ke),Pe=!1;I===1?ge=ge.slice(-1):I&&(Pe=ge.length>I,ge=ge.slice(0,I)),Lr.flushSync(()=>{M(ge)});const Ve={file:he,fileList:ge};xe&&(Ve.event=xe),(!Pe||he.status==="removed"||ge.some(Ae=>Ae.uid===he.uid))&&Lr.flushSync(()=>{u==null||u(Ve)})},H=(he,ke)=>y_e(void 0,void 0,void 0,function*(){const{beforeUpload:xe,transformFile:ge}=e;let Pe=he;if(xe){const Ve=yield xe(he,ke);if(Ve===!1)return!1;if(delete he[Qf],Ve===Qf)return Object.defineProperty(he,Qf,{value:!0,configurable:!0}),!1;typeof Ve=="object"&&Ve&&(Pe=Ve)}return ge&&(Pe=yield ge(Pe)),Pe}),V=he=>{const ke=he.filter(Pe=>!Pe.file[Qf]);if(!ke.length)return;const xe=ke.map(Pe=>Eh(Pe.file));let ge=De(k);xe.forEach(Pe=>{ge=Ih(Pe,ge)}),xe.forEach((Pe,Ve)=>{let Ae=Pe;if(ke[Ve].parsedFile)Pe.status="uploading";else{const{originFileObj:be}=Pe;let Oe;try{Oe=new File([be],be.name,{type:be.type})}catch{Oe=new Blob([be],{type:be.type}),Oe.name=be.name,Oe.lastModifiedDate=new Date,Oe.lastModified=new Date().getTime()}Oe.uid=Pe.uid,Ae=Oe}z(Ae,ge)})},te=(he,ke,xe)=>{try{typeof he=="string"&&(he=JSON.parse(he))}catch{}if(!k1(ke,k))return;const ge=Eh(ke);ge.status="done",ge.percent=100,ge.response=he,ge.xhr=xe;const Pe=Ih(ge,k);z(ge,Pe)},Y=(he,ke)=>{if(!k1(ke,k))return;const xe=Eh(ke);xe.status="uploading",xe.percent=he.percent;const ge=Ih(xe,k);z(xe,ge,he)},J=(he,ke,xe)=>{if(!k1(xe,k))return;const ge=Eh(xe);ge.error=he,ge.response=ke,ge.status="error";const Pe=Ih(ge,k);z(ge,Pe)},G=he=>{let ke;Promise.resolve(typeof a=="function"?a(he):a).then(xe=>{var ge;if(xe===!1)return;const Pe=f_e(he,k);Pe&&(ke=Object.assign(Object.assign({},he),{status:"removed"}),k==null||k.forEach(Ve=>{const Ae=ke.uid!==void 0?"uid":"name";Ve[Ae]===ke[Ae]&&!Object.isFrozen(Ve)&&(Ve.status="removed")}),(ge=j.current)===null||ge===void 0||ge.abort(ke),z(ke,Pe))})},U=he=>{F(he.type),he.type==="drop"&&(d==null||d(he))};l.useImperativeHandle(t,()=>({onBatchStart:V,onSuccess:te,onProgress:Y,onError:J,fileList:k,upload:j.current,nativeElement:B.current}));const{getPrefixCls:q,direction:X,upload:Q}=l.useContext(st),ee=q("upload",S),oe=Object.assign(Object.assign({onBatchStart:V,onError:J,onProgress:Y,onSuccess:te},e),{data:T,multiple:R,action:$,accept:P,supportServerRender:D,prefixCls:ee,disabled:N,beforeUpload:H,onChange:void 0,hasControlInside:_});delete oe.className,delete oe.style,(!C||N)&&delete oe.id;const le=`${ee}-wrapper`,[fe,ce,Te]=d_e(ee,le),[Se]=qi("Upload",Uo.Upload),{showRemoveIcon:ve,showPreviewIcon:ae,showDownloadIcon:ie,removeIcon:ue,previewIcon:ye,downloadIcon:Ee,extra:Me}=typeof o=="boolean"?{}:o,Ie=typeof ve>"u"?!N:!!ve,Ce=(he,ke)=>o?l.createElement(b_e,{prefixCls:ee,listType:i,items:k,previewFile:f,onPreview:s,onDownload:c,onRemove:G,showRemoveIcon:Ie,showPreviewIcon:ae,showDownloadIcon:ie,removeIcon:ue,previewIcon:ye,downloadIcon:Ee,iconRender:h,extra:Me,locale:Object.assign(Object.assign({},Se),g),isImageUrl:b,progress:y,appendAction:he,appendActionVisible:ke,itemRender:E,disabled:N}):he,me=ne(le,v,A,ce,Te,Q==null?void 0:Q.className,{[`${ee}-rtl`]:X==="rtl",[`${ee}-picture-card-wrapper`]:i==="picture-card",[`${ee}-picture-circle-wrapper`]:i==="picture-circle"}),we=Object.assign(Object.assign({},Q==null?void 0:Q.style),w);if(x==="drag"){const he=ne(ce,ee,`${ee}-drag`,{[`${ee}-drag-uploading`]:k.some(ke=>ke.status==="uploading"),[`${ee}-drag-hover`]:L==="dragover",[`${ee}-disabled`]:N,[`${ee}-rtl`]:X==="rtl"});return fe(l.createElement("span",{className:me,ref:B},l.createElement("div",{className:he,style:we,onDrop:U,onDragOver:U,onDragLeave:U},l.createElement(JR,Object.assign({},oe,{ref:j,className:`${ee}-btn`}),l.createElement("div",{className:`${ee}-drag-container`},C))),Ce()))}const _e=ne(ee,`${ee}-select`,{[`${ee}-disabled`]:N}),Ne=l.createElement("div",{className:_e,style:C?void 0:{display:"none"}},l.createElement(JR,Object.assign({},oe,{ref:j})));return fe(i==="picture-card"||i==="picture-circle"?l.createElement("span",{className:me,ref:B},Ce(Ne,!!C)):l.createElement("span",{className:me,ref:B},Ne,Ce()))},aK=l.forwardRef(S_e);var x_e=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=x_e(e,["style","height","hasControlInside"]);return l.createElement(aK,Object.assign({ref:t,hasControlInside:a},o,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),mm=aK;mm.Dragger=w_e;mm.LIST_IGNORE=Qf;/** + * @remix-run/router v1.19.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function bg(){return bg=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function oK(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function E_e(){return Math.random().toString(36).substr(2,8)}function CD(e,t){return{usr:e.state,key:e.key,idx:t}}function e_(e,t,n,r){return n===void 0&&(n=null),bg({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?af(t):t,{state:n,key:t&&t.key||r||E_e()})}function Tb(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 af(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 I_e(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,s=tl.Pop,c=null,u=d();u==null&&(u=0,i.replaceState(bg({},i.state,{idx:u}),""));function d(){return(i.state||{idx:null}).idx}function f(){s=tl.Pop;let y=d(),S=y==null?null:y-u;u=y,c&&c({action:s,location:b.location,delta:S})}function p(y,S){s=tl.Push;let v=e_(b.location,y,S);u=d()+1;let x=CD(v,u),C=b.createHref(v);try{i.pushState(x,"",C)}catch(w){if(w instanceof DOMException&&w.name==="DataCloneError")throw w;a.location.assign(C)}o&&c&&c({action:s,location:b.location,delta:1})}function g(y,S){s=tl.Replace;let v=e_(b.location,y,S);u=d();let x=CD(v,u),C=b.createHref(v);i.replaceState(x,"",C),o&&c&&c({action:s,location:b.location,delta:0})}function h(y){let S=a.location.origin!=="null"?a.location.origin:a.location.href,v=typeof y=="string"?y:Tb(y);return v=v.replace(/ $/,"%20"),Or(S,"No window.location.(origin|href) available to create URL for href: "+v),new URL(v,S)}let b={get action(){return s},get location(){return e(a,i)},listen(y){if(c)throw new Error("A history only accepts one active listener");return a.addEventListener(wD,f),c=y,()=>{a.removeEventListener(wD,f),c=null}},createHref(y){return t(a,y)},createURL:h,encodeLocation(y){let S=h(y);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:p,replace:g,go(y){return i.go(y)}};return b}var ED;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ED||(ED={}));function T_e(e,t,n){return n===void 0&&(n="/"),R_e(e,t,n,!1)}function R_e(e,t,n,r){let a=typeof t=="string"?af(t):t,o=yN(a.pathname||"/",n);if(o==null)return null;let i=iK(e);__e(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("/")&&(Or(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=pl([r,c.relativePath]),d=n.concat(c);o.children&&o.children.length>0&&(Or(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),iK(o.children,t,d,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:P_e(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 sK(o.path))a(o,i,c)}),t}function sK(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=sK(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 __e(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:D_e(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const $_e=/^:[\w-]+$/,O_e=3,N_e=2,k_e=1,A_e=10,M_e=-2,ID=e=>e==="*";function P_e(e,t){let n=e.split("/"),r=n.length;return n.some(ID)&&(r+=M_e),t&&(r+=N_e),n.filter(a=>!ID(a)).reduce((a,o)=>a+($_e.test(o)?O_e:o===""?k_e:A_e),r)}function D_e(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 L_e(e,t,n){let{routesMeta:r}=e,a={},o="/",i=[];for(let s=0;s{let{paramName:p,isOptional:g}=d;if(p==="*"){let b=s[f]||"";i=o.slice(0,o.length-b.length).replace(/(.)\/+$/,"$1")}const h=s[f];return g&&!h?u[p]=void 0:u[p]=(h||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:i,pattern:e}}function F_e(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),oK(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 j_e(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return oK(!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 yN(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 B_e(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?af(e):e;return{pathname:n?n.startsWith("/")?n:z_e(n,t):t,search:V_e(r),hash:W_e(a)}}function z_e(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 A1(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 H_e(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function lK(e,t){let n=H_e(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function cK(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=af(e):(a=bg({},e),Or(!a.pathname||!a.pathname.includes("?"),A1("?","pathname","search",a)),Or(!a.pathname||!a.pathname.includes("#"),A1("#","pathname","hash",a)),Or(!a.search||!a.search.includes("#"),A1("#","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=B_e(a,s),u=i&&i!=="/"&&i.endsWith("/"),d=(o||i===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const pl=e=>e.join("/").replace(/\/\/+/g,"/"),U_e=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),V_e=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,W_e=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function G_e(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const uK=["post","put","patch","delete"];new Set(uK);const q_e=["get",...uK];new Set(q_e);/** + * React Router v6.26.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function yg(){return yg=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=cK(u,JSON.parse(i),o,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:pl([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,i,o,e])}function pK(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=l.useContext(zc),{matches:a}=l.useContext(Hc),{pathname:o}=Ki(),i=JSON.stringify(lK(a,r.v7_relativeSplatPath));return l.useMemo(()=>cK(e,JSON.parse(i),o,n==="path"),[e,i,o,n])}function Z_e(e,t){return Q_e(e,t)}function Q_e(e,t,n,r){hm()||Or(!1);let{navigator:a}=l.useContext(zc),{matches:o}=l.useContext(Hc),i=o[o.length-1],s=i?i.params:{};i&&i.pathname;let c=i?i.pathnameBase:"/";i&&i.route;let u=Ki(),d;if(t){var f;let y=typeof t=="string"?af(t):t;c==="/"||(f=y.pathname)!=null&&f.startsWith(c)||Or(!1),d=y}else d=u;let p=d.pathname||"/",g=p;if(c!=="/"){let y=c.replace(/^\//,"").split("/");g="/"+p.replace(/^\//,"").split("/").slice(y.length).join("/")}let h=T_e(e,{pathname:g}),b=r$e(h&&h.map(y=>Object.assign({},y,{params:Object.assign({},s,y.params),pathname:pl([c,a.encodeLocation?a.encodeLocation(y.pathname).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?c:pl([c,a.encodeLocation?a.encodeLocation(y.pathnameBase).pathname:y.pathnameBase])})),o,n,r);return t&&b?l.createElement(py.Provider,{value:{location:yg({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:tl.Pop}},b):b}function J_e(){let e=s$e(),t=G_e(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 e$e=l.createElement(J_e,null);class t$e 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(Hc.Provider,{value:this.props.routeContext},l.createElement(dK.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function n$e(e){let{routeContext:t,match:n,children:r}=e,a=l.useContext(SN);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),l.createElement(Hc.Provider,{value:t},r)}function r$e(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||Or(!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,h=!1,b=null,y=null;n&&(g=s&&f.route.id?s[f.route.id]:void 0,b=f.route.errorElement||e$e,c&&(u<0&&p===0?(h=!0,y=null):u===p&&(h=!0,y=f.route.hydrateFallbackElement||null)));let S=t.concat(i.slice(0,p+1)),v=()=>{let x;return g?x=b:h?x=y:f.route.Component?x=l.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,l.createElement(n$e,{match:f,routeContext:{outlet:d,matches:S,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?l.createElement(t$e,{location:n.location,revalidation:n.revalidation,component:b,error:g,children:v(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):v()},null)}var gK=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(gK||{}),Rb=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}(Rb||{});function a$e(e){let t=l.useContext(SN);return t||Or(!1),t}function o$e(e){let t=l.useContext(K_e);return t||Or(!1),t}function i$e(e){let t=l.useContext(Hc);return t||Or(!1),t}function mK(e){let t=i$e(),n=t.matches[t.matches.length-1];return n.route.id||Or(!1),n.route.id}function s$e(){var e;let t=l.useContext(dK),n=o$e(Rb.UseRouteError),r=mK(Rb.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function l$e(){let{router:e}=a$e(gK.UseNavigateStable),t=mK(Rb.UseNavigateStable),n=l.useRef(!1);return fK(()=>{n.current=!0}),l.useCallback(function(a,o){o===void 0&&(o={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,yg({fromRouteId:t},o)))},[e,t])}function $n(e){Or(!1)}function c$e(e){let{basename:t="/",children:n=null,location:r,navigationType:a=tl.Pop,navigator:o,static:i=!1,future:s}=e;hm()&&Or(!1);let c=t.replace(/^\/*/,"/"),u=l.useMemo(()=>({basename:c,navigator:o,static:i,future:yg({v7_relativeSplatPath:!1},s)}),[c,s,o,i]);typeof r=="string"&&(r=af(r));let{pathname:d="/",search:f="",hash:p="",state:g=null,key:h="default"}=r,b=l.useMemo(()=>{let y=yN(d,c);return y==null?null:{location:{pathname:y,search:f,hash:p,state:g,key:h},navigationType:a}},[c,d,f,p,g,h,a]);return b==null?null:l.createElement(zc.Provider,{value:u},l.createElement(py.Provider,{children:n,value:b}))}function u$e(e){let{children:t,location:n}=e;return Z_e(t_(t),n)}new Promise(()=>{});function t_(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,t_(r.props.children,o));return}r.type!==$n&&Or(!1),!r.props.index||!r.props.children||Or(!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=t_(r.props.children,o)),n.push(i)}),n}/** + * React Router DOM v6.26.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function n_(){return n_=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function f$e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function p$e(e,t){return e.button===0&&(!t||t==="_self")&&!f$e(e)}const g$e=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],m$e="6";try{window.__reactRouterVersion=m$e}catch{}const h$e="startTransition",RD=Lg[h$e];function v$e(e){let{basename:t,children:n,future:r,window:a}=e,o=l.useRef();o.current==null&&(o.current=C_e({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&&RD?RD(()=>c(f)):c(f)},[c,u]);return l.useLayoutEffect(()=>i.listen(d),[i,d]),l.createElement(c$e,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:i,future:r})}const b$e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y$e=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gt=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=d$e(t,g$e),{basename:g}=l.useContext(zc),h,b=!1;if(typeof u=="string"&&y$e.test(u)&&(h=u,b$e))try{let x=new URL(window.location.href),C=u.startsWith("//")?new URL(x.protocol+u):new URL(u),w=yN(C.pathname,g);C.origin===x.origin&&w!=null?u=w+C.search+C.hash:b=!0}catch{}let y=Y_e(u,{relative:a}),S=S$e(u,{replace:i,state:s,target:c,preventScrollReset:d,relative:a,unstable_viewTransition:f});function v(x){r&&r(x),x.defaultPrevented||S(x)}return l.createElement("a",n_({},p,{href:h||y,onClick:b||o?r:v,ref:n,target:c}))});var _D;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_D||(_D={}));var $D;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})($D||($D={}));function S$e(e,t){let{target:n,replace:r,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:s}=t===void 0?{}:t,c=xN(),u=Ki(),d=pK(e,{relative:i});return l.useCallback(f=>{if(p$e(f,n)){f.preventDefault();let p=r!==void 0?r:Tb(u)===Tb(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 hK="/web/assets/logo-aw46LCqE.png",x$e=()=>{const t=document.createElement("audio").canPlayType("audio/ogg; codecs=opus");return console.log("Supports OGG/Opus:",t),t==="probably"||t==="maybe"};function vs(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}const vK=se.createContext(void 0),gy=()=>{const e=l.useContext(vK);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},OD=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},w$e=({children:e})=>{const{t}=Nt(),[n,r]=l.useState(""),[a,o]=l.useState(""),[i,s]=l.useState(""),[c,u]=l.useState([]),d=(f,p,g)=>{if(console.log("Play audio: "+f),/\/....04E0\?|(\?ogg)/.test(f)&&!x$e())Sn.error({title:t("audio.errorNoOggOpusSupport"),content:t("audio.errorNoOggOpusSupportByApple"),okText:t("audio.errorConfirm")});else{const y=document.getElementById("globalAudioPlayer");y.src=f,p?(r(p.picture),o(p.series||p.episode?p.series:OD(decodeURI(f).replace("500304E0",t("audio.unknownSource")))),s(p.episode)):(r(decodeURI(f).includes(".taf?")?"/img_unknown.png":hK),o(""),s(OD(decodeURI(f)))),u(g||[0]),y.play()}};return m.jsx(vK.Provider,{value:{playAudio:d,songImage:n,songArtist:a,songTitle:i,songTracks:c},children:e})},C$e=[{key:"sub",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:se.createElement(pq)},{key:"sub2",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:se.createElement(Twe)}],E$e=()=>{const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(U0,{width:200,children:m.jsx(Wi,{mode:"inline",style:{height:"100%",borderRight:0},items:C$e})}),m.jsxs(Gi,{style:{padding:"0 24px 24px"},children:[m.jsxs(Xd,{style:{margin:"16px 0"},children:[m.jsx(nd,{children:"Home"}),m.jsx(nd,{children:"List"}),m.jsx(nd,{children:"App"})]}),m.jsxs(YG,{style:{padding:24,margin:0,minHeight:280},children:[m.jsx("p",{children:e("welcome.title")}),m.jsx("p",{children:"Sample datepicker from ant design:"}),m.jsx(ef,{})]})]})]})};var Ga=function(){return Ga=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0?qr(of,--Vo):0,Rd--,_r===10&&(Rd=1,hy--),_r}function fi(){return _r=Vo2||a_(_r)>3?"":" "}function M$e(e,t){for(;--t&&fi()&&!(_r<48||_r>102||_r>57&&_r<65||_r>70&&_r<97););return by(e,bv()+(t<6&&fc()==32&&fi()==32))}function o_(e){for(;fi();)switch(_r){case e:return Vo;case 34:case 39:e!==34&&e!==39&&o_(_r);break;case 40:e===41&&o_(e);break;case 92:fi();break}return Vo}function P$e(e,t){for(;fi()&&e+_r!==57;)if(e+_r===84&&fc()===47)break;return"/*"+by(t,Vo-1)+"*"+CN(e===47?e:fi())}function D$e(e){for(;!a_(fc());)fi();return by(e,Vo)}function L$e(e){return k$e(yv("",null,null,null,[""],e=N$e(e),0,[0],e))}function yv(e,t,n,r,a,o,i,s,c){for(var u=0,d=0,f=i,p=0,g=0,h=0,b=1,y=1,S=1,v=0,x="",C=a,w=o,E=r,I=x;y;)switch(h=v,v=fi()){case 40:if(h!=108&&qr(I,f-1)==58){vv(I+=ln(M1(v),"&","&\f"),"&\f",SK(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:I+=M1(v);break;case 9:case 10:case 13:case 32:I+=A$e(h);break;case 92:I+=M$e(bv()-1,7);continue;case 47:switch(fc()){case 42:case 47:Jf(F$e(P$e(fi(),bv()),t,n,c),c);break;default:I+="/"}break;case 123*b:s[u++]=Oi(I)*S;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+d:S==-1&&(I=ln(I,/\f/g,"")),g>0&&Oi(I)-f&&Jf(g>32?AD(I+";",r,n,f-1,c):AD(ln(I," ","")+";",r,n,f-2,c),c);break;case 59:I+=";";default:if(Jf(E=kD(I,t,n,u,d,a,s,x,C=[],w=[],f,o),o),v===123)if(d===0)yv(I,t,E,E,C,o,f,s,w);else switch(p===99&&qr(I,3)===110?100:p){case 100:case 108:case 109:case 115:yv(e,E,E,r&&Jf(kD(e,E,E,0,0,a,s,x,a,C=[],f,w),w),a,w,f,s,r?C:w);break;default:yv(I,E,E,E,[""],w,0,s,w)}}u=d=g=0,b=S=1,x=I="",f=i;break;case 58:f=1+Oi(I),g=h;default:if(b<1){if(v==123)--b;else if(v==125&&b++==0&&O$e()==125)continue}switch(I+=CN(v),v*b){case 38:S=d>0?1:(I+="\f",-1);break;case 44:s[u++]=(Oi(I)-1)*S,S=1;break;case 64:fc()===45&&(I+=M1(fi())),p=fc(),d=f=Oi(x=I+=D$e(bv())),v++;break;case 45:h===45&&Oi(I)==2&&(b=0)}}return o}function kD(e,t,n,r,a,o,i,s,c,u,d,f){for(var p=a-1,g=a===0?o:[""],h=wK(g),b=0,y=0,S=0;b0?g[v]+" "+x:ln(x,/&\f/g,g[v])))&&(c[S++]=C);return vy(e,t,n,a===0?my:s,c,u,d,f)}function F$e(e,t,n,r){return vy(e,t,n,bK,CN($$e()),Td(e,2,-2),0,r)}function AD(e,t,n,r,a){return vy(e,t,n,wN,Td(e,0,r),Td(e,r+1,-1),r,a)}function EK(e,t,n){switch(R$e(e,t)){case 5103:return Nn+"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 Nn+e+e;case 4789:return Ep+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Nn+e+Ep+e+rr+e+e;case 5936:switch(qr(e,t+11)){case 114:return Nn+e+rr+ln(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Nn+e+rr+ln(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Nn+e+rr+ln(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Nn+e+rr+e+e;case 6165:return Nn+e+rr+"flex-"+e+e;case 5187:return Nn+e+ln(e,/(\w+).+(:[^]+)/,Nn+"box-$1$2"+rr+"flex-$1$2")+e;case 5443:return Nn+e+rr+"flex-item-"+ln(e,/flex-|-self/g,"")+(as(e,/flex-|baseline/)?"":rr+"grid-row-"+ln(e,/flex-|-self/g,""))+e;case 4675:return Nn+e+rr+"flex-line-pack"+ln(e,/align-content|flex-|-self/g,"")+e;case 5548:return Nn+e+rr+ln(e,"shrink","negative")+e;case 5292:return Nn+e+rr+ln(e,"basis","preferred-size")+e;case 6060:return Nn+"box-"+ln(e,"-grow","")+Nn+e+rr+ln(e,"grow","positive")+e;case 4554:return Nn+ln(e,/([^-])(transform)/g,"$1"+Nn+"$2")+e;case 6187:return ln(ln(ln(e,/(zoom-|grab)/,Nn+"$1"),/(image-set)/,Nn+"$1"),e,"")+e;case 5495:case 3959:return ln(e,/(image-set\([^]*)/,Nn+"$1$`$1");case 4968:return ln(ln(e,/(.+:)(flex-)?(.*)/,Nn+"box-pack:$3"+rr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Nn+e+e;case 4200:if(!as(e,/flex-|baseline/))return rr+"grid-column-align"+Td(e,t)+e;break;case 2592:case 3360:return rr+ln(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,as(r.props,/grid-\w+-end/)})?~vv(e+(n=n[t].value),"span",0)?e:rr+ln(e,"-start","")+e+rr+"grid-row-span:"+(~vv(n,"span",0)?as(n,/\d+/):+as(n,/\d+/)-+as(e,/\d+/))+";":rr+ln(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return as(r.props,/grid-\w+-start/)})?e:rr+ln(ln(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ln(e,/(.+)-inline(.+)/,Nn+"$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(Oi(e)-1-t>6)switch(qr(e,t+1)){case 109:if(qr(e,t+4)!==45)break;case 102:return ln(e,/(.+:)(.+)-([^]+)/,"$1"+Nn+"$2-$3$1"+Ep+(qr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~vv(e,"stretch",0)?EK(ln(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return ln(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,o,i,s,c,u){return rr+a+":"+o+u+(i?rr+a+"-span:"+(s?c:+c-+o)+u:"")+e});case 4949:if(qr(e,t+6)===121)return ln(e,":",":"+Nn)+e;break;case 6444:switch(qr(e,qr(e,14)===45?18:11)){case 120:return ln(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Nn+(qr(e,14)===45?"inline-":"")+"box$3$1"+Nn+"$2$3$1"+rr+"$2box$3")+e;case 100:return ln(e,":",":"+rr)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ln(e,"scroll-","scroll-snap-")+e}return e}function $b(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case wN:e.return=EK(e.value,e.length,n);return;case yK:return $b([zs(e,{value:ln(e.value,"@","@"+Nn)})],r);case my:if(e.length)return _$e(n=e.props,function(a){switch(as(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":pu(zs(e,{props:[ln(a,/:(read-\w+)/,":"+Ep+"$1")]})),pu(zs(e,{props:[a]})),r_(e,{props:ND(n,r)});break;case"::placeholder":pu(zs(e,{props:[ln(a,/:(plac\w+)/,":"+Nn+"input-$1")]})),pu(zs(e,{props:[ln(a,/:(plac\w+)/,":"+Ep+"$1")]})),pu(zs(e,{props:[ln(a,/:(plac\w+)/,rr+"input-$1")]})),pu(zs(e,{props:[a]})),r_(e,{props:ND(n,r)});break}return""})}}var U$e={animationIterationCount:1,aspectRatio: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},so={},_d=typeof process<"u"&&so!==void 0&&(so.REACT_APP_SC_ATTR||so.SC_ATTR)||"data-styled",IK="active",TK="data-styled-version",yy="6.1.13",EN=`/*!sc*/ +`,Ob=typeof window<"u"&&"HTMLElement"in window,V$e=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&so!==void 0&&so.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&so.REACT_APP_SC_DISABLE_SPEEDY!==""?so.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&so.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&so!==void 0&&so.SC_DISABLE_SPEEDY!==void 0&&so.SC_DISABLE_SPEEDY!==""&&so.SC_DISABLE_SPEEDY!=="false"&&so.SC_DISABLE_SPEEDY),Sy=Object.freeze([]),$d=Object.freeze({});function W$e(e,t,n){return n===void 0&&(n=$d),e.theme!==n.theme&&e.theme||t||n.theme}var RK=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),G$e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,q$e=/(^-|-$)/g;function MD(e){return e.replace(G$e,"-").replace(q$e,"")}var K$e=/(a)(d)/gi,Th=52,PD=function(e){return String.fromCharCode(e+(e>25?39:97))};function i_(e){var t,n="";for(t=Math.abs(e);t>Th;t=t/Th|0)n=PD(t%Th)+n;return(PD(t%Th)+n).replace(K$e,"$1-$2")}var P1,_K=5381,Uu=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},$K=function(e){return Uu(_K,e)};function Y$e(e){return i_($K(e)>>>0)}function X$e(e){return e.displayName||e.name||"Component"}function D1(e){return typeof e=="string"&&!0}var OK=typeof Symbol=="function"&&Symbol.for,NK=OK?Symbol.for("react.memo"):60115,Z$e=OK?Symbol.for("react.forward_ref"):60112,Q$e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},J$e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},kK={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eOe=((P1={})[Z$e]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},P1[NK]=kK,P1);function DD(e){return("type"in(t=e)&&t.type.$$typeof)===NK?kK:"$$typeof"in e?eOe[e.$$typeof]:Q$e;var t}var tOe=Object.defineProperty,nOe=Object.getOwnPropertyNames,LD=Object.getOwnPropertySymbols,rOe=Object.getOwnPropertyDescriptor,aOe=Object.getPrototypeOf,FD=Object.prototype;function AK(e,t,n){if(typeof t!="string"){if(FD){var r=aOe(t);r&&r!==FD&&AK(e,r,n)}var a=nOe(t);LD&&(a=a.concat(LD(t)));for(var o=DD(e),i=DD(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var oOe=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 vm(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&&(y+="".concat(S,","))}),c+="".concat(h).concat(b,'{content:"').concat(y,'"}').concat(EN)},d=0;d0?".".concat(t):p},d=c.slice();d.push(function(p){p.type===my&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(hOe,n).replace(r,u))}),i.prefix&&d.push(H$e),d.push(j$e);var f=function(p,g,h,b){g===void 0&&(g=""),h===void 0&&(h=""),b===void 0&&(b="&"),t=b,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var y=p.replace(vOe,""),S=L$e(h||g?"".concat(h," ").concat(g," { ").concat(y," }"):y);i.namespace&&(S=DK(S,i.namespace));var v=[];return $b(S,B$e(d.concat(z$e(function(x){return v.push(x)})))),v};return f.hash=c.length?c.reduce(function(p,g){return g.name||vm(15),Uu(p,g.name)},_K).toString():"",f}var yOe=new PK,l_=bOe(),LK=se.createContext({shouldForwardProp:void 0,styleSheet:yOe,stylis:l_});LK.Consumer;se.createContext(void 0);function HD(){return l.useContext(LK)}var SOe=function(){function e(t,n){var r=this;this.inject=function(a,o){o===void 0&&(o=l_);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,TN(this,function(){throw vm(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=l_),this.name+t.hash},e}(),xOe=function(e){return e>="A"&&e<="Z"};function UD(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=nc(a,i),this.staticRulesId=i}else{for(var c=Uu(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=nc(a,g)}}return a},e}(),BK=se.createContext(void 0);BK.Consumer;var L1={};function IOe(e,t,n){var r=IN(e),a=e,o=!D1(e),i=t.attrs,s=i===void 0?Sy:i,c=t.componentId,u=c===void 0?function(C,w){var E=typeof C!="string"?"sc":MD(C);L1[E]=(L1[E]||0)+1;var I="".concat(E,"-").concat(Y$e(yy+E+L1[E]));return w?"".concat(w,"-").concat(I):I}(t.displayName,t.parentComponentId):c,d=t.displayName,f=d===void 0?function(C){return D1(C)?"styled.".concat(C):"Styled(".concat(X$e(C),")")}(e):d,p=t.displayName&&t.componentId?"".concat(MD(t.displayName),"-").concat(t.componentId):t.componentId||u,g=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(r&&a.shouldForwardProp){var b=a.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;h=function(C,w){return b(C,w)&&y(C,w)}}else h=b}var S=new EOe(n,p,r?a.componentStyle:void 0);function v(C,w){return function(E,I,T){var R=E.attrs,_=E.componentStyle,$=E.defaultProps,P=E.foldedComponentIds,D=E.styledComponentId,A=E.target,O=se.useContext(BK),N=HD(),k=E.shouldForwardProp||N.shouldForwardProp,M=W$e(I,O,$)||$d,L=function(V,te,Y){for(var J,G=Ga(Ga({},te),{className:void 0,theme:Y}),U=0;UROe().token,bm=La(Wi)` + height: 100%; + border-right: 0; +`,jn=La(U0)` + width: 200px; + @media (max-width: 768px) { + display: none; + margin: 8px; + } +`,Bn=La(Gi)` + padding: 0 24px 24px; +`,$Oe=La(Xd)` + margin: 16px 0; +`,Dn=La(Gi.Content)` + padding: 24px; + margin: 0; + min-height: 280px; + background: ${()=>_Oe().colorBgContainer}; +`,In=La.span` + @media (min-width: 768px) { + display: none; + } +`,xg=La.span` + @media (max-width: 768px) { + display: none; + } +`;La(nd)` + padding: 10px; +`;const zn=({items:e})=>{const{t}=Nt();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]),m.jsx($Oe,{items:e})},OOe="http://localhost".replace(/\/+$/,"");class HK{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:OOe}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||VK}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 NOe=new HK,zb=class zb{constructor(t=NOe){Ll(this,"middleware");Ll(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 POe(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?zb.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 MOe(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:AOe(s.body)||s.body instanceof URLSearchParams||kOe(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}};Ll(zb,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let wg=zb;function kOe(e){return typeof Blob<"u"&&e instanceof Blob}function AOe(e){return typeof FormData<"u"&&e instanceof FormData}class MOe extends Error{constructor(n,r){super(r);Ll(this,"name","ResponseError");this.response=n}}class POe extends Error{constructor(n,r){super(r);Ll(this,"name","FetchError");this.cause=n}}class DOe extends Error{constructor(n,r){super(r);Ll(this,"name","RequiredError");this.field=n}}function UK(e,t){const n=e[t];return n!=null}function VK(e,t=""){return Object.keys(e).map(n=>WK(n,e[n],t)).filter(n=>n.length>0).join("&")}function WK(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 WK(e,a,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?VK(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function LOe(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class os{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class FOe{constructor(t){this.raw=t}async value(){}}class kb{constructor(t){this.raw=t}async value(){return await this.raw.text()}}class GK extends wg{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 os(a):new kb(a)}async v1TimeGet(t){return await(await this.v1TimeGetRaw(t)).value()}}class jOe extends wg{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 os(a):new kb(a)}async reverseV1TimeGet(t){return await(await this.reverseV1TimeGetRaw(t)).value()}}function BOe(e){return zOe(e)}function zOe(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 HOe(e){return UOe(e)}function UOe(e,t){return e==null?e:{options:UK(e,"options")?e.options.map(BOe):void 0}}function VOe(e){return WOe(e)}function WOe(e,t){return e==null?e:{iD:e.ID,description:e.description,value:e.value}}function GOe(e){return qOe(e)}function qOe(e,t){return e==null?e:{stats:UK(e,"stats")?e.stats.map(VOe):void 0}}class xn extends wg{async apiGetTonieboxesIndexRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/getBoxes",void 0,t);return new os(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 os(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 os(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 os(r,a=>HOe(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 DOe("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 FOe(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 os(n,r=>GOe(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 os(n):new kb(n)}async apiTriggerWriteConfigGet(t){return await(await this.apiTriggerWriteConfigGetRaw(t)).value()}async apiUploadCertPostRaw(t,n,r){const a={},o={},s=LOe([{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 os(f):new kb(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&&a!=="0"?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=s=>new Blob([s],{type:"text/plain"});try{const 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}catch(s){return s.response}}async apiPostTeddyCloudFormDataRaw(t,n,r,a,o={}){try{const i=await fetch(""+t,{method:"POST",body:n});if(!i.ok)throw new Error(`Error: ${i.status} ${i.statusText}`);return i}catch(i){return i.response?i.response:i instanceof TypeError?new Response(JSON.stringify({error:"Network error, please try again later.",message:i.message}),{status:500,statusText:"Network Error",headers:{"Content-Type":"application/json"}}):new Response(JSON.stringify({error:"An unexpected error occurred.",message:i}),{status:500,statusText:"Unexpected Error",headers:{"Content-Type":"application/json"}})}}}const pn=()=>new HK({basePath:""}),KOe=new xn(pn()),YOe=new GK(pn()),XOe=async(e=!0)=>{try{if((await(await KOe.apiGetTeddyCloudApiRaw("/api/triggerRestart")).text()).toString()!=="OK"){Xe.error(Tf("settings.restartFailed"));return}}catch{Xe.error(Tf("settings.restartFailed"));return}const t=Xe.loading(Tf("settings.restartInProgress"),0);await new Promise(r=>setTimeout(r,3e3));let n=0;for(;n<10;)try{if((await YOe.v1TimeGet()).length===10){t(),Xe.success(Tf("settings.restartComplete")),e&&(window.location.href="/web");return}}catch{n++,await new Promise(a=>setTimeout(a,3e3))}t(),Xe.error(Tf("settings.restartFailed"))},ZOe=new xn(pn()),Nd=()=>{const{t:e}=Nt(),[t,n]=l.useState(""),[r,a]=Xe.useMessage(),o=async()=>{await XOe(!0),n("")},i=u=>{const d=new URL(u),f=d.port?`:${d.port}`:"";return`${d.protocol}//${d.hostname}${f}`},s=async()=>{const u=Xe.loading(e("settings.toniesJsonReloadInProgress"),0);try{const f=await(await ZOe.apiGetTeddyCloudApiRaw("/api/toniesJsonReload")).text();n(""),f.toString()!=="OK"?(u(),r.open({type:"error",content:e("settings.toniesJsonReloadFailed")})):(u(),r.open({type:"success",content:e("settings.toniesJsonReloadSuccessful")}))}catch{u(),r.open({type:"error",content:e("settings.toniesJsonReloadFailed")})}},c=[{key:"general",label:m.jsx(gt,{to:"/settings",children:e("settings.general.navigationTitle")}),icon:se.createElement(nN),title:e("settings.general.navigationTitle")},{key:"certificates",label:m.jsx(gt,{to:"/settings/certificates",children:e("settings.certificates.navigationTitle")}),icon:se.createElement(tN),title:e("settings.certificates.navigationTitle")},{key:"rtnl",label:m.jsx(gt,{to:"/settings/rtnl",children:e("settings.rtnl.navigationTitle")}),icon:se.createElement(Uxe),title:e("settings.rtnl.navigationTitle")},{key:"reload_toniesJson",label:m.jsx("label",{style:{cursor:"pointer"},children:e("settings.toniesJsonReload")}),onClick:s,icon:se.createElement(fq),title:e("settings.toniesJsonReload")},{key:"restart_server",label:m.jsx("label",{style:{cursor:"pointer"},children:e("settings.restartServer")}),onClick:o,icon:se.createElement(hCe),title:e("settings.restartServer")},{key:"legacy",label:m.jsx(gt,{to:`${i(new URL(window.location.href))}/legacy.html`,target:"_blank",children:e("settings.legacyGui")}),icon:se.createElement(pwe),title:e("settings.legacyGui")}];return m.jsxs(m.Fragment,{children:[a,m.jsx(bm,{mode:"inline",selectedKeys:[t],defaultOpenKeys:["sub"],items:c})]})};var QOe=function(t){return JOe(t)&&!eNe(t)};function JOe(e){return!!e&&typeof e=="object"}function eNe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||rNe(e)}var tNe=typeof Symbol=="function"&&Symbol.for,nNe=tNe?Symbol.for("react.element"):60103;function rNe(e){return e.$$typeof===nNe}function aNe(e){return Array.isArray(e)?[]:{}}function Ab(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Cg(aNe(e),e,t):e}function oNe(e,t,n){return e.concat(t).map(function(r){return Ab(r,n)})}function iNe(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=Ab(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=Ab(t[a],n):r[a]=Cg(e[a],t[a],n)}),r}function Cg(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||oNe,n.isMergeableObject=n.isMergeableObject||QOe;var r=Array.isArray(t),a=Array.isArray(e),o=r===a;return o?r?n.arrayMerge(e,t,n):iNe(e,t,n):Ab(t,n)}Cg.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Cg(r,a,n)},{})};var u_=Cg,qK=typeof global=="object"&&global&&global.Object===Object&&global,sNe=typeof self=="object"&&self&&self.Object===Object&&self,Yi=qK||sNe||Function("return this")(),Cl=Yi.Symbol,KK=Object.prototype,lNe=KK.hasOwnProperty,cNe=KK.toString,Lf=Cl?Cl.toStringTag:void 0;function uNe(e){var t=lNe.call(e,Lf),n=e[Lf];try{e[Lf]=void 0;var r=!0}catch{}var a=cNe.call(e);return r&&(t?e[Lf]=n:delete e[Lf]),a}var dNe=Object.prototype,fNe=dNe.toString;function pNe(e){return fNe.call(e)}var gNe="[object Null]",mNe="[object Undefined]",GD=Cl?Cl.toStringTag:void 0;function Uc(e){return e==null?e===void 0?mNe:gNe:GD&&GD in Object(e)?uNe(e):pNe(e)}function YK(e,t){return function(n){return e(t(n))}}var RN=YK(Object.getPrototypeOf,Object);function Vc(e){return e!=null&&typeof e=="object"}var hNe="[object Object]",vNe=Function.prototype,bNe=Object.prototype,XK=vNe.toString,yNe=bNe.hasOwnProperty,SNe=XK.call(Object);function qD(e){if(!Vc(e)||Uc(e)!=hNe)return!1;var t=RN(e);if(t===null)return!0;var n=yNe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&XK.call(n)==SNe}function xNe(){this.__data__=[],this.size=0}function ZK(e,t){return e===t||e!==e&&t!==t}function xy(e,t){for(var n=e.length;n--;)if(ZK(e[n][0],t))return n;return-1}var wNe=Array.prototype,CNe=wNe.splice;function ENe(e){var t=this.__data__,n=xy(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():CNe.call(t,n,1),--this.size,!0}function INe(e){var t=this.__data__,n=xy(t,e);return n<0?void 0:t[n][1]}function TNe(e){return xy(this.__data__,e)>-1}function RNe(e,t){var n=this.__data__,r=xy(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function ks(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=Rke}var _ke="[object Arguments]",$ke="[object Array]",Oke="[object Boolean]",Nke="[object Date]",kke="[object Error]",Ake="[object Function]",Mke="[object Map]",Pke="[object Number]",Dke="[object Object]",Lke="[object RegExp]",Fke="[object Set]",jke="[object String]",Bke="[object WeakMap]",zke="[object ArrayBuffer]",Hke="[object DataView]",Uke="[object Float32Array]",Vke="[object Float64Array]",Wke="[object Int8Array]",Gke="[object Int16Array]",qke="[object Int32Array]",Kke="[object Uint8Array]",Yke="[object Uint8ClampedArray]",Xke="[object Uint16Array]",Zke="[object Uint32Array]",ar={};ar[Uke]=ar[Vke]=ar[Wke]=ar[Gke]=ar[qke]=ar[Kke]=ar[Yke]=ar[Xke]=ar[Zke]=!0;ar[_ke]=ar[$ke]=ar[zke]=ar[Oke]=ar[Hke]=ar[Nke]=ar[kke]=ar[Ake]=ar[Mke]=ar[Pke]=ar[Dke]=ar[Lke]=ar[Fke]=ar[jke]=ar[Bke]=!1;function Qke(e){return Vc(e)&&aY(e.length)&&!!ar[Uc(e)]}function _N(e){return function(t){return e(t)}}var oY=typeof vo=="object"&&vo&&!vo.nodeType&&vo,Ip=oY&&typeof bo=="object"&&bo&&!bo.nodeType&&bo,Jke=Ip&&Ip.exports===oY,j1=Jke&&qK.process,kd=function(){try{var e=Ip&&Ip.require&&Ip.require("util").types;return e||j1&&j1.binding&&j1.binding("util")}catch{}}(),JD=kd&&kd.isTypedArray,eAe=JD?_N(JD):Qke,tAe=Object.prototype,nAe=tAe.hasOwnProperty;function iY(e,t){var n=Sm(e),r=!n&&Ske(e),a=!n&&!r&&rY(e),o=!n&&!r&&!a&&eAe(e),i=n||r||a||o,s=i?hke(e.length,String):[],c=s.length;for(var u in e)(t||nAe.call(e,u))&&!(i&&(u=="length"||a&&(u=="offset"||u=="parent")||o&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||Tke(u,c)))&&s.push(u);return s}var rAe=Object.prototype;function $N(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||rAe;return e===n}var aAe=YK(Object.keys,Object),oAe=Object.prototype,iAe=oAe.hasOwnProperty;function sAe(e){if(!$N(e))return aAe(e);var t=[];for(var n in Object(e))iAe.call(e,n)&&n!="constructor"&&t.push(n);return t}function sY(e){return e!=null&&aY(e.length)&&!QK(e)}function ON(e){return sY(e)?iY(e):sAe(e)}function lAe(e,t){return e&&Cy(t,ON(t),e)}function cAe(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var uAe=Object.prototype,dAe=uAe.hasOwnProperty;function fAe(e){if(!ym(e))return cAe(e);var t=$N(e),n=[];for(var r in e)r=="constructor"&&(t||!dAe.call(e,r))||n.push(r);return n}function NN(e){return sY(e)?iY(e,!0):fAe(e)}function pAe(e,t){return e&&Cy(t,NN(t),e)}var lY=typeof vo=="object"&&vo&&!vo.nodeType&&vo,eL=lY&&typeof bo=="object"&&bo&&!bo.nodeType&&bo,gAe=eL&&eL.exports===lY,tL=gAe?Yi.Buffer:void 0,nL=tL?tL.allocUnsafe:void 0;function mAe(e,t){if(t)return e.slice();var n=e.length,r=nL?nL(n):new e.constructor(n);return e.copy(r),r}function cY(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[a]=e[a]);return n}var My=l.createContext(void 0);My.displayName="FormikContext";var cMe=My.Provider;My.Consumer;function IY(){var e=l.useContext(My);return e}var No=function(t){return typeof t=="function"},xm=function(t){return t!==null&&typeof t=="object"},uMe=function(t){return String(Math.floor(Number(t)))===t},B1=function(t){return Object.prototype.toString.call(t)==="[object String]"},dMe=function(t){return l.Children.count(t)===0},z1=function(t){return xm(t)&&No(t.then)};function io(e,t,n,r){r===void 0&&(r=0);for(var a=yY(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 TY(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,o=Object.keys(e);a0?ie.map(function(ye){return _(ye,io(ae,ye))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ue).then(function(ye){return ye.reduce(function(Ee,Me,Ie){return Me==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Me&&(Ee=gc(Ee,ie[Ie],Me)),Ee},{})})},[_]),P=l.useCallback(function(ae){return Promise.all([$(ae),p.validationSchema?R(ae):{},p.validate?T(ae):{}]).then(function(ie){var ue=ie[0],ye=ie[1],Ee=ie[2],Me=u_.all([ue,ye,Ee],{arrayMerge:hMe});return Me})},[p.validate,p.validationSchema,$,T,R]),D=$o(function(ae){return ae===void 0&&(ae=E.values),I({type:"SET_ISVALIDATING",payload:!0}),P(ae).then(function(ie){return S.current&&(I({type:"SET_ISVALIDATING",payload:!1}),I({type:"SET_ERRORS",payload:ie})),ie})});l.useEffect(function(){i&&S.current===!0&&Gl(g.current,p.initialValues)&&D(g.current)},[i,D]);var A=l.useCallback(function(ae){var ie=ae&&ae.values?ae.values:g.current,ue=ae&&ae.errors?ae.errors:h.current?h.current:p.initialErrors||{},ye=ae&&ae.touched?ae.touched:b.current?b.current:p.initialTouched||{},Ee=ae&&ae.status?ae.status:y.current?y.current:p.initialStatus;g.current=ie,h.current=ue,b.current=ye,y.current=Ee;var Me=function(){I({type:"RESET_FORM",payload:{isSubmitting:!!ae&&!!ae.isSubmitting,errors:ue,touched:ye,status:Ee,values:ie,isValidating:!!ae&&!!ae.isValidating,submitCount:ae&&ae.submitCount&&typeof ae.submitCount=="number"?ae.submitCount:0}})};if(p.onReset){var Ie=p.onReset(E.values,Q);z1(Ie)?Ie.then(Me):Me()}else Me()},[p.initialErrors,p.initialStatus,p.initialTouched,p.onReset]);l.useEffect(function(){S.current===!0&&!Gl(g.current,p.initialValues)&&u&&(g.current=p.initialValues,A(),i&&D(g.current))},[u,p.initialValues,A,i,D]),l.useEffect(function(){u&&S.current===!0&&!Gl(h.current,p.initialErrors)&&(h.current=p.initialErrors||zl,I({type:"SET_ERRORS",payload:p.initialErrors||zl}))},[u,p.initialErrors]),l.useEffect(function(){u&&S.current===!0&&!Gl(b.current,p.initialTouched)&&(b.current=p.initialTouched||$h,I({type:"SET_TOUCHED",payload:p.initialTouched||$h}))},[u,p.initialTouched]),l.useEffect(function(){u&&S.current===!0&&!Gl(y.current,p.initialStatus)&&(y.current=p.initialStatus,I({type:"SET_STATUS",payload:p.initialStatus}))},[u,p.initialStatus,p.initialTouched]);var O=$o(function(ae){if(v.current[ae]&&No(v.current[ae].validate)){var ie=io(E.values,ae),ue=v.current[ae].validate(ie);return z1(ue)?(I({type:"SET_ISVALIDATING",payload:!0}),ue.then(function(ye){return ye}).then(function(ye){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:ye}}),I({type:"SET_ISVALIDATING",payload:!1})})):(I({type:"SET_FIELD_ERROR",payload:{field:ae,value:ue}}),Promise.resolve(ue))}else if(p.validationSchema)return I({type:"SET_ISVALIDATING",payload:!0}),R(E.values,ae).then(function(ye){return ye}).then(function(ye){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:io(ye,ae)}}),I({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),N=l.useCallback(function(ae,ie){var ue=ie.validate;v.current[ae]={validate:ue}},[]),k=l.useCallback(function(ae){delete v.current[ae]},[]),M=$o(function(ae,ie){I({type:"SET_TOUCHED",payload:ae});var ue=ie===void 0?a:ie;return ue?D(E.values):Promise.resolve()}),L=l.useCallback(function(ae){I({type:"SET_ERRORS",payload:ae})},[]),F=$o(function(ae,ie){var ue=No(ae)?ae(E.values):ae;I({type:"SET_VALUES",payload:ue});var ye=ie===void 0?n:ie;return ye?D(ue):Promise.resolve()}),j=l.useCallback(function(ae,ie){I({type:"SET_FIELD_ERROR",payload:{field:ae,value:ie}})},[]),B=$o(function(ae,ie,ue){I({type:"SET_FIELD_VALUE",payload:{field:ae,value:ie}});var ye=ue===void 0?n:ue;return ye?D(gc(E.values,ae,ie)):Promise.resolve()}),z=l.useCallback(function(ae,ie){var ue=ie,ye=ae,Ee;if(!B1(ae)){ae.persist&&ae.persist();var Me=ae.target?ae.target:ae.currentTarget,Ie=Me.type,Ce=Me.name,me=Me.id,we=Me.value,_e=Me.checked,Ne=Me.outerHTML,he=Me.options,ke=Me.multiple;ue=ie||Ce||me,ye=/number|range/.test(Ie)?(Ee=parseFloat(we),isNaN(Ee)?"":Ee):/checkbox/.test(Ie)?bMe(io(E.values,ue),_e,we):he&&ke?vMe(he):we}ue&&B(ue,ye)},[B,E.values]),H=$o(function(ae){if(B1(ae))return function(ie){return z(ie,ae)};z(ae)}),V=$o(function(ae,ie,ue){ie===void 0&&(ie=!0),I({type:"SET_FIELD_TOUCHED",payload:{field:ae,value:ie}});var ye=ue===void 0?a:ue;return ye?D(E.values):Promise.resolve()}),te=l.useCallback(function(ae,ie){ae.persist&&ae.persist();var ue=ae.target,ye=ue.name,Ee=ue.id,Me=ue.outerHTML,Ie=ie||ye||Ee;V(Ie,!0)},[V]),Y=$o(function(ae){if(B1(ae))return function(ie){return te(ie,ae)};te(ae)}),J=l.useCallback(function(ae){No(ae)?I({type:"SET_FORMIK_STATE",payload:ae}):I({type:"SET_FORMIK_STATE",payload:function(){return ae}})},[]),G=l.useCallback(function(ae){I({type:"SET_STATUS",payload:ae})},[]),U=l.useCallback(function(ae){I({type:"SET_ISSUBMITTING",payload:ae})},[]),q=$o(function(){return I({type:"SUBMIT_ATTEMPT"}),D().then(function(ae){var ie=ae instanceof Error,ue=!ie&&Object.keys(ae).length===0;if(ue){var ye;try{if(ye=ee(),ye===void 0)return}catch(Ee){throw Ee}return Promise.resolve(ye).then(function(Ee){return S.current&&I({type:"SUBMIT_SUCCESS"}),Ee}).catch(function(Ee){if(S.current)throw I({type:"SUBMIT_FAILURE"}),Ee})}else if(S.current&&(I({type:"SUBMIT_FAILURE"}),ie))throw ae})}),X=$o(function(ae){ae&&ae.preventDefault&&No(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&No(ae.stopPropagation)&&ae.stopPropagation(),q().catch(function(ie){console.warn("Warning: An unhandled error was caught from submitForm()",ie)})}),Q={resetForm:A,validateForm:D,validateField:O,setErrors:L,setFieldError:j,setFieldTouched:V,setFieldValue:B,setStatus:G,setSubmitting:U,setTouched:M,setValues:F,setFormikState:J,submitForm:q},ee=$o(function(){return d(E.values,Q)}),oe=$o(function(ae){ae&&ae.preventDefault&&No(ae.preventDefault)&&ae.preventDefault(),ae&&ae.stopPropagation&&No(ae.stopPropagation)&&ae.stopPropagation(),A()}),le=l.useCallback(function(ae){return{value:io(E.values,ae),error:io(E.errors,ae),touched:!!io(E.touched,ae),initialValue:io(g.current,ae),initialTouched:!!io(b.current,ae),initialError:io(h.current,ae)}},[E.errors,E.touched,E.values]),fe=l.useCallback(function(ae){return{setValue:function(ue,ye){return B(ae,ue,ye)},setTouched:function(ue,ye){return V(ae,ue,ye)},setError:function(ue){return j(ae,ue)}}},[B,V,j]),ce=l.useCallback(function(ae){var ie=xm(ae),ue=ie?ae.name:ae,ye=io(E.values,ue),Ee={name:ue,value:ye,onChange:H,onBlur:Y};if(ie){var Me=ae.type,Ie=ae.value,Ce=ae.as,me=ae.multiple;Me==="checkbox"?Ie===void 0?Ee.checked=!!ye:(Ee.checked=!!(Array.isArray(ye)&&~ye.indexOf(Ie)),Ee.value=Ie):Me==="radio"?(Ee.checked=ye===Ie,Ee.value=Ie):Ce==="select"&&me&&(Ee.value=Ee.value||[],Ee.multiple=!0)}return Ee},[Y,H,E.values]),Te=l.useMemo(function(){return!Gl(g.current,E.values)},[g.current,E.values]),Se=l.useMemo(function(){return typeof s<"u"?Te?E.errors&&Object.keys(E.errors).length===0:s!==!1&&No(s)?s(p):s:E.errors&&Object.keys(E.errors).length===0},[s,Te,E.errors,p]),ve=Vr({},E,{initialValues:g.current,initialErrors:h.current,initialTouched:b.current,initialStatus:y.current,handleBlur:Y,handleChange:H,handleReset:oe,handleSubmit:X,resetForm:A,setErrors:L,setFormikState:J,setFieldTouched:V,setFieldValue:B,setFieldError:j,setStatus:G,setSubmitting:U,setTouched:M,setValues:F,submitForm:q,validateForm:D,validateField:O,isValid:Se,dirty:Te,unregisterField:k,registerField:N,getFieldProps:ce,getFieldMeta:le,getFieldHelpers:fe,validateOnBlur:a,validateOnChange:n,validateOnMount:i});return ve}function RY(e){var t=pMe(e),n=e.component,r=e.children,a=e.render,o=e.innerRef;return l.useImperativeHandle(o,function(){return t}),l.createElement(cMe,{value:t},n?l.createElement(n,t):a?a(t):r?No(r)?r(t):dMe(r)?null:l.Children.only(r):null)}function gMe(e){var t={};if(e.inner){if(e.inner.length===0)return gc(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;io(t,i.path)||(t=gc(t,i.path,i.message))}}return t}function mMe(e,t,n,r){n===void 0&&(n=!1);var a=h_(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function h_(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||qD(a)?h_(a):a!==""?a:void 0}):qD(e[r])?t[r]=h_(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function hMe(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?u_(Array.isArray(o)?[]:{},o,n):o}else n.isMergeableObject(o)?r[i]=u_(e[i],o,n):e.indexOf(o)===-1&&r.push(o)}),r}function vMe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function bMe(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 yMe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?l.useLayoutEffect:l.useEffect;function $o(e){var t=l.useRef(e);return yMe(function(){t.current=e}),l.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{const{t}=Nt(),{name:n,label:r,valueConverter:a,description:o,overlayed:i,overlayId:s,...c}=e,[u,d,{setValue:f}]=Py(n),[p,g]=l.useState(i),h=!!(d.touched&&d.error),b=d.touched&&d.error&&t(d.error),y=d.touched&&d.error?"error":void 0,S=a?a.fromValueToBoolean(d.value):d.value,v=new xn(pn()),x=E=>{try{v.apiPostTeddyCloudSetting(n,u.value,s,!E).then(()=>{C(),E?Xe.success(t("settings.overlayEnabled")):(w(),Xe.success(t("settings.overlayDisabled")))}).catch(I=>{Xe.error(`Error while ${E?"saving":"resetting"} config: ${I}`)})}catch(I){Xe.error(`Error while sending data to server: ${I}`)}},C=async()=>{try{await v.apiTriggerWriteConfigGet()}catch{Xe.error("Error while saving config to file.")}},w=async()=>{try{const I=await(await v.apiGetTeddyCloudSettingRaw(n)).text(),T=I===""||a==null?void 0:a.fromValueToBoolean(I);f(T);const R=a?a.fromValueToBoolean(I):I;f(R)}catch(E){Xe.error(`Error fetching field value: ${E}`)}};return m.jsxs(dm,{help:h?b:void 0,validateStatus:y,label:r,tooltip:o,children:[m.jsx(za,{...c,...u,checked:S,disabled:!p&&p!==void 0,onChange:E=>{try{v.apiPostTeddyCloudSetting(n,E,s).then(()=>{C(),Xe.success(t("settings.saved"))}).catch(I=>{Xe.error("Error while saving config to file.")})}catch{Xe.error("Error while sending data to server.")}f(E)}}),p===void 0?"":m.jsx(Rs,{checked:p,style:{marginLeft:"16px"},onChange:E=>{g(E.target.checked),x(E.target.checked)},children:t("settings.overlayed")})]})},wMe=e=>{const{t}=Nt(),{name:n,label:r,description:a,overlayed:o,overlayId:i,...s}=e,[c,u,d]=Py(n),[f,p]=l.useState(o),g=!!(u.touched&&u.error),h=u.touched&&u.error&&t(u.error),b=u.touched&&u.error?"error":void 0,y=new xn(pn()),S=I=>{try{y.apiPostTeddyCloudSetting(n,c.value,i,!I).then(()=>{w(),I?Xe.success(t("settings.overlayEnabled")):(C(),Xe.success(t("settings.overlayDisabled")))}).catch(T=>{Xe.error(`Error while ${I?"saving":"resetting"} config: ${T}`)})}catch(T){Xe.error(`Error while sending data to server: ${T}`)}},v=I=>{const T=async()=>{await y.apiTriggerWriteConfigGet()};try{y.apiPostTeddyCloudSetting(n,c.value,i).then(()=>{T(),Xe.success(t("settings.saved"))}).catch(R=>{Xe.error("Error while sending data to file.")})}catch{Xe.error("Error while sending data to server.")}d.setValue(c.value||"")},x=I=>{v()},C=()=>{try{y.apiGetTeddyCloudSettingRaw(n).then(I=>I.text()).then(I=>{d.setValue(I)}).catch(I=>{Xe.error(`Error fetching field value: ${I}`)})}catch(I){Xe.error(`Error fetching field value: ${I}`)}},w=async()=>{try{await y.apiTriggerWriteConfigGet()}catch{Xe.error("Error while saving config to file.")}},E=[m.jsx(ICe,{disabled:!f,style:{cursor:f||f===void 0?"pointer":"default",margin:f!==void 0?"0 16px 0 0":"0"},onClick:x},"saveIcon"),f===void 0?"":m.jsx(Rs,{checked:f,onChange:I=>{p(I.target.checked),S(I.target.checked)},children:t("settings.overlayed")},"overlayCheckBox")];return m.jsx(dm,{help:g?h:void 0,validateStatus:b,label:r,tooltip:a,children:m.jsx(Jt,{...s,...c,addonAfter:E,disabled:!f&&f!==void 0})})},SL=e=>{const{t}=Nt(),{name:n,label:r,description:a,overlayed:o,overlayId:i,...s}=e,[c,u,d]=Py(n),[f,p]=l.useState(o),g=!!(u.touched&&u.error),h=u.touched&&u.error&&t(u.error),b=u.touched&&u.error?"error":void 0,y=f===void 0?"":m.jsx(Rs,{checked:f,onChange:w=>{p(w.target.checked),v(w.target.checked)},children:t("settings.overlayed")}),S=new xn(pn()),v=w=>{try{S.apiPostTeddyCloudSetting(n,c.value,i,!w).then(()=>{C(),w?Xe.success(t("settings.overlayEnabled")):(x(),Xe.success(t("settings.overlayDisabled")))}).catch(E=>{Xe.error(`Error while ${w?"saving":"resetting"} config: ${E}`)})}catch(E){Xe.error(`Error while sending data to server: ${E}`)}},x=()=>{try{S.apiGetTeddyCloudSettingRaw(n).then(w=>w.text()).then(w=>{d.setValue(w===""?void 0:Number(w))}).catch(w=>{Xe.error(`Error fetching field value: ${w}`)})}catch(w){Xe.error(`Error fetching field value: ${w}`)}},C=async()=>{try{await S.apiTriggerWriteConfigGet()}catch{Xe.error("Error while saving config to file.")}};return m.jsx(dm,{help:g?h:void 0,validateStatus:b,label:r,tooltip:a,children:m.jsx(cG,{...s,...c,addonAfter:y,disabled:!f&&f!==void 0,onChange:w=>{try{S.apiPostTeddyCloudSetting(n,w,i).then(()=>{C(),Xe.success(t("settings.saved"))}).catch(E=>{Xe.error("Error while saving config to file.")})}catch{Xe.error("Error while sending data to server.")}d.setValue(w===null?void 0:Number(w))},onBlur:()=>d.setTouched(!0)})})},_Y=({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:h}]=Py(a);l.useEffect(()=>{f(c),h(c)},[h,c]);const b=t?void 0:u;return m.jsxs("div",{children:[r==="bool"&&m.jsx(xMe,{name:a,label:i,description:o,overlayed:b,overlayId:n}),r==="int"&&m.jsx(SL,{name:a,label:i,description:o,overlayed:b,overlayId:n}),r==="uint"&&m.jsx(SL,{name:a,label:i,description:o,overlayed:b,overlayId:n}),r==="string"&&m.jsx(wMe,{name:a,label:i,description:o,overlayed:b,overlayId:n})]},a)},Oh=new xn(pn()),CMe=()=>{var u;const{t:e}=Nt(),[t,n]=l.useState(),[r,a]=l.useState(""),[o,i]=l.useState(!1);l.useEffect(()=>{(async()=>{try{const f=await Oh.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 Oh.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 Oh.apiTriggerWriteConfigGet()}catch{Xe.error("Error while saving config to file.")}},c=async d=>{try{Oh.apiPostTeddyCloudSetting("core.settings_level",d),s(),a(d)}catch{Xe.error("Error while sending data to server.")}};return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Nd,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Nd,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("settings.title")}),m.jsx(An,{message:e("settings.information"),description:m.jsxs("div",{children:[e("settings.hint")," ",m.jsx(gt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0}),m.jsx(An,{message:e("settings.warning"),description:m.jsx("div",{children:e("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px 0"}}),m.jsx(Rr,{children:e("settings.title")}),m.jsx(RY,{initialValues:{test:"test"},onSubmit:d=>{},children:m.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("."),h=p[f-1]?p[f-1].iD.split("."):[];return m.jsxs(se.Fragment,{children:[g.slice(0,-1).map((b,y)=>h[y]!==b?y===0?m.jsxs("h3",{style:{marginLeft:`${y*20}px`,marginBottom:"10px"},children:["Category ",b]},`category-${b}`):m.jsxs("h4",{style:{marginLeft:`${y*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",b]},`category-${b}`):null),m.jsx(_Y,{option:d,noOverlay:!0},d.iD)]},f)})})}),m.jsx(Rr,{children:e("settings.levelLabel")}),m.jsxs(mo.Group,{value:r,onChange:d=>c(d.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:o,children:[m.jsx(mo.Button,{value:"1",children:"Basic"},"1"),m.jsx(mo.Button,{value:"2",children:"Detail"},"2"),m.jsx(mo.Button,{value:"3",children:"Expert"},"3")]})]})]})]})};function xL(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 Vu(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 H1={};function IMe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return H1[t]||(H1[t]=EMe(e)),H1[t]}function TMe(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=IMe(r);return a.reduce(function(o,i){return Vu(Vu({},o),n[i])},t)}function wL(e){return e.join(" ")}function RMe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,o){return $Y({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(o)})})}}function $Y(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=RMe(n,o),p;if(!o)p=Vu(Vu({},s),{},{className:wL(s.className)});else{var g=Object.keys(n).reduce(function(S,v){return v.split(".").forEach(function(x){S.includes(x)||S.push(x)}),S},[]),h=s.className&&s.className.includes("token")?["token"]:[],b=s.className&&h.concat(s.className.filter(function(S){return!g.includes(S)}));p=Vu(Vu({},s),{},{className:wL(b)||void 0,style:TMe(s.className,Object.assign({},s.style,a),n)})}var y=f(t.children);return se.createElement(u,pe({key:i},p),y)}}const _Me=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var $Me=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function CL(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 Ni(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 wv({children:w,lineNumber:E,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:I,showLineNumbers:r,wrapLongLines:c})}function b(w,E){if(r&&E&&a){var I=NY(s,E,i);w.unshift(OY(E,I))}return w}function y(w,E){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||I.length>0?h(w,E,I):b(w,E)}for(var S=function(){var E=d[g],I=E.children[0].value,T=NMe(I);if(T){var R=I.split(` +`);R.forEach(function(_,$){var P=r&&f.length+o,D={type:"text",value:"".concat(_,` +`)};if($===0){var A=d.slice(p+1,g).concat(wv({children:[D],className:E.properties.className})),O=y(A,P);f.push(O)}else if($===R.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=wv({children:[k],className:E.properties.className});d.splice(g+1,0,M)}else{var L=[k],F=y(L,P,E.properties.className);f.push(F)}}else{var j=[D],B=y(j,P,E.properties.className);f.push(B)}}),p=g}g++};g0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),s=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));a=Promise.allSettled(n.map(c=>{if(c=BMe(c),c in EL)return;EL[c]=!0;const u=c.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${d}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":jMe,u||(f.as="script"),f.crossOrigin="",f.href=c,s&&f.setAttribute("nonce",s),document.head.appendChild(f),u)return new Promise((p,g)=>{f.addEventListener("load",p),f.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${c}`)))})}))}function o(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return a.then(i=>{for(const s of i||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})},zMe=["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 HMe=VMe,UMe=Object.prototype.hasOwnProperty;function VMe(){for(var e={},t=0;t4&&n.slice(0,4)===UN&&N4e.test(t)&&(t.charAt(4)==="-"?r=M4e(t):t=P4e(t),a=_4e),new a(r,t))}function M4e(e){var t=e.slice(5).replace(HY,L4e);return UN+t.charAt(0).toUpperCase()+t.slice(1)}function P4e(e){var t=e.slice(4);return HY.test(t)?e:(t=t.replace(k4e,D4e),t.charAt(0)!=="-"&&(t="-"+t),UN+t)}function D4e(e){return"-"+e.toLowerCase()}function L4e(e){return e.charAt(1).toUpperCase()}var F4e=j4e,$L=/[#.]/g;function j4e(e,t){for(var n=e||"",r=t||"div",a={},o=0,i,s,c;o=48&&t<=57}var sLe=lLe;function lLe(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var cLe=uLe;function uLe(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var dLe=cLe,fLe=WY,pLe=gLe;function gLe(e){return dLe(e)||fLe(e)}var kh,mLe=59,hLe=vLe;function vLe(e){var t="&"+e+";",n;return kh=kh||document.createElement("i"),kh.innerHTML=t,n=kh.textContent,n.charCodeAt(n.length-1)===mLe&&e!=="semi"||n===t?!1:n}var DL=aLe,LL=oLe,bLe=WY,yLe=sLe,GY=pLe,SLe=hLe,xLe=MLe,wLe={}.hasOwnProperty,gu=String.fromCharCode,CLe=Function.prototype,FL={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},ELe=9,jL=10,ILe=12,TLe=32,BL=38,RLe=59,_Le=60,$Le=61,OLe=35,NLe=88,kLe=120,ALe=65533,Eu="named",GN="hexadecimal",qN="decimal",KN={};KN[GN]=16;KN[qN]=10;var Dy={};Dy[Eu]=GY;Dy[qN]=bLe;Dy[GN]=yLe;var qY=1,KY=2,YY=3,XY=4,ZY=5,b_=6,QY=7,Pl={};Pl[qY]="Named character references must be terminated by a semicolon";Pl[KY]="Numeric character references must be terminated by a semicolon";Pl[YY]="Named character references cannot be empty";Pl[XY]="Numeric character references cannot be empty";Pl[ZY]="Named character references must be known";Pl[b_]="Numeric character references cannot be disallowed";Pl[QY]="Numeric character references cannot be outside the permissible Unicode range";function MLe(e,t){var n={},r,a;t||(t={});for(a in FL)r=t[a],n[a]=r??FL[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),PLe(e,n)}function PLe(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,h=-1,b=d.column||1,y=d.line||1,S="",v=[],x,C,w,E,I,T,R,_,$,P,D,A,O,N,k,M,L,F,j;for(typeof n=="string"&&(n=n.charCodeAt(0)),M=B(),_=i?z:CLe,g--,p++;++g65535&&(T-=65536,P+=gu(T>>>10|55296),T=56320|T&1023),T=P+gu(T))):N!==Eu&&_(XY,F)),T?(H(),M=B(),g=j-1,b+=j-O+1,v.push(T),L=B(),L.offset++,o&&o.call(c,T,{start:M,end:L},e.slice(O-1,j)),M=L):(E=e.slice(O-1,j),S+=E,b+=E.length,g=j-1)}else I===10&&(y++,h++,b=0),I===I?(S+=gu(I),b++):H();return v.join("");function B(){return{line:y,column:b,offset:g+(d.offset||0)}}function z(V,te){var Y=B();Y.column+=te,Y.offset+=te,i.call(u,Pl[V],Y,V)}function H(){S&&(v.push(S),a&&a.call(s,S,{start:M,end:B()}),S="")}}function DLe(e){return e>=55296&&e<=57343||e>1114111}function LLe(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 JY={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(x){return x instanceof c?new c(x.type,v(x.content),x.alias):Array.isArray(x)?x.map(v):x.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(w){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(w.stack)||[])[1];if(v){var x=document.getElementsByTagName("script");for(var C in x)if(x[C].src==v)return x[C]}return null}},isActive:function(v,x,C){for(var w="no-"+x;v;){var E=v.classList;if(E.contains(x))return!0;if(E.contains(w))return!1;v=v.parentElement}return!!C}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(v,x){var C=s.util.clone(s.languages[v]);for(var w in x)C[w]=x[w];return C},insertBefore:function(v,x,C,w){w=w||s.languages;var E=w[v],I={};for(var T in E)if(E.hasOwnProperty(T)){if(T==x)for(var R in C)C.hasOwnProperty(R)&&(I[R]=C[R]);C.hasOwnProperty(T)||(I[T]=E[T])}var _=w[v];return w[v]=I,s.languages.DFS(s.languages,function($,P){P===_&&$!=v&&(this[$]=I)}),I},DFS:function v(x,C,w,E){E=E||{};var I=s.util.objId;for(var T in x)if(x.hasOwnProperty(T)){C.call(x,T,x[T],w||T);var R=x[T],_=s.util.type(R);_==="Object"&&!E[I(R)]?(E[I(R)]=!0,v(R,C,null,E)):_==="Array"&&!E[I(R)]&&(E[I(R)]=!0,v(R,C,T,E))}}},plugins:{},highlightAll:function(v,x){s.highlightAllUnder(document,v,x)},highlightAllUnder:function(v,x,C){var w={callback:C,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",w),w.elements=Array.prototype.slice.apply(w.container.querySelectorAll(w.selector)),s.hooks.run("before-all-elements-highlight",w);for(var E=0,I;I=w.elements[E++];)s.highlightElement(I,x===!0,w.callback)},highlightElement:function(v,x,C){var w=s.util.getLanguage(v),E=s.languages[w];s.util.setLanguage(v,w);var I=v.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(I,w);var T=v.textContent,R={element:v,language:w,grammar:E,code:T};function _(P){R.highlightedCode=P,s.hooks.run("before-insert",R),R.element.innerHTML=R.highlightedCode,s.hooks.run("after-highlight",R),s.hooks.run("complete",R),C&&C.call(R.element)}if(s.hooks.run("before-sanity-check",R),I=R.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!R.code){s.hooks.run("complete",R),C&&C.call(R.element);return}if(s.hooks.run("before-highlight",R),!R.grammar){_(s.util.encode(R.code));return}if(x&&r.Worker){var $=new Worker(s.filename);$.onmessage=function(P){_(P.data)},$.postMessage(JSON.stringify({language:R.language,code:R.code,immediateClose:!0}))}else _(s.highlight(R.code,R.grammar,R.language))},highlight:function(v,x,C){var w={code:v,grammar:x,language:C};if(s.hooks.run("before-tokenize",w),!w.grammar)throw new Error('The language "'+w.language+'" has no grammar.');return w.tokens=s.tokenize(w.code,w.grammar),s.hooks.run("after-tokenize",w),c.stringify(s.util.encode(w.tokens),w.language)},tokenize:function(v,x){var C=x.rest;if(C){for(var w in C)x[w]=C[w];delete x.rest}var E=new f;return p(E,E.head,v),d(v,E,x,E.head,0),h(E)},hooks:{all:{},add:function(v,x){var C=s.hooks.all;C[v]=C[v]||[],C[v].push(x)},run:function(v,x){var C=s.hooks.all[v];if(!(!C||!C.length))for(var w=0,E;E=C[w++];)E(x)}},Token:c};r.Prism=s;function c(v,x,C,w){this.type=v,this.content=x,this.alias=C,this.length=(w||"").length|0}c.stringify=function v(x,C){if(typeof x=="string")return x;if(Array.isArray(x)){var w="";return x.forEach(function(_){w+=v(_,C)}),w}var E={type:x.type,content:v(x.content,C),tag:"span",classes:["token",x.type],attributes:{},language:C},I=x.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(E.classes,I):E.classes.push(I)),s.hooks.run("wrap",E);var T="";for(var R in E.attributes)T+=" "+R+'="'+(E.attributes[R]||"").replace(/"/g,""")+'"';return"<"+E.tag+' class="'+E.classes.join(" ")+'"'+T+">"+E.content+""};function u(v,x,C,w){v.lastIndex=x;var E=v.exec(C);if(E&&w&&E[1]){var I=E[1].length;E.index+=I,E[0]=E[0].slice(I)}return E}function d(v,x,C,w,E,I){for(var T in C)if(!(!C.hasOwnProperty(T)||!C[T])){var R=C[T];R=Array.isArray(R)?R:[R];for(var _=0;_=I.reach);L+=M.value.length,M=M.next){var F=M.value;if(x.length>v.length)return;if(!(F instanceof c)){var j=1,B;if(A){if(B=u(k,L,v,D),!B||B.index>=v.length)break;var te=B.index,z=B.index+B[0].length,H=L;for(H+=M.value.length;te>=H;)M=M.next,H+=M.value.length;if(H-=M.value.length,L=H,M.value instanceof c)continue;for(var V=M;V!==x.tail&&(HI.reach&&(I.reach=U);var q=M.prev;J&&(q=p(x,q,J),L+=J.length),g(x,q,j);var X=new c(T,P?s.tokenize(Y,P):Y,O,Y);if(M=p(x,q,X),G&&p(x,M,G),j>1){var Q={cause:T+","+_,reach:U};d(v,x,C,M.prev,L,Q),I&&Q.reach>I.reach&&(I.reach=Q.reach)}}}}}}function f(){var v={value:null,prev:null,next:null},x={value:null,prev:v,next:null};v.next=x,this.head=v,this.tail=x,this.length=0}function p(v,x,C){var w=x.next,E={value:C,prev:x,next:w};return x.next=E,w.prev=E,v.length++,E}function g(v,x,C){for(var w=x.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 BLe=XN;XN.displayName="css";XN.aliases=[];function XN(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 zLe=ZN;ZN.displayName="clike";ZN.aliases=[];function ZN(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 HLe=QN;QN.displayName="javascript";QN.aliases=["js"];function QN(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 tp=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof ya=="object"?ya:{},ULe=o6e();tp.Prism={manual:!0,disableWorkerMessageHandler:!0};var VLe=oPe,WLe=xLe,eX=FLe,GLe=jLe,qLe=BLe,KLe=zLe,YLe=HLe;ULe();var JN={}.hasOwnProperty;function tX(){}tX.prototype=eX;var Nr=new tX,XLe=Nr;Nr.highlight=QLe;Nr.register=Cm;Nr.alias=ZLe;Nr.registered=JLe;Nr.listLanguages=e6e;Cm(GLe);Cm(qLe);Cm(KLe);Cm(YLe);Nr.util.encode=r6e;Nr.Token.stringify=t6e;function Cm(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");Nr.languages[e.displayName]===void 0&&e(Nr)}function ZLe(e,t){var n=Nr.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 U1,zL;function s6e(){if(zL)return U1;zL=1,U1=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 U1}var V1,HL;function l6e(){if(HL)return V1;HL=1,V1=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 V1}var W1,UL;function c6e(){if(UL)return W1;UL=1,W1=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 W1}var G1,VL;function u6e(){if(VL)return G1;VL=1,G1=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 G1}var q1,WL;function d6e(){if(WL)return q1;WL=1,q1=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 q1}var K1,GL;function f6e(){if(GL)return K1;GL=1,K1=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 K1}var Y1,qL;function p6e(){if(qL)return Y1;qL=1,Y1=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 Y1}var X1,KL;function g6e(){if(KL)return X1;KL=1,X1=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 X1}var Z1,YL;function ek(){if(YL)return Z1;YL=1,Z1=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 Z1}var Q1,XL;function m6e(){if(XL)return Q1;XL=1;var e=ek();Q1=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 Q1}var J1,ZL;function h6e(){if(ZL)return J1;ZL=1,J1=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 J1}var ex,QL;function v6e(){if(QL)return ex;QL=1,ex=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 ex}var tx,JL;function b6e(){if(JL)return tx;JL=1,tx=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 tx}var nx,e6;function Kc(){if(e6)return nx;e6=1,nx=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 nx}var rx,t6;function tk(){if(t6)return rx;t6=1;var e=Kc();rx=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 rx}var ax,n6;function y6e(){if(n6)return ax;n6=1;var e=tk();ax=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 ax}var ox,r6;function S6e(){if(r6)return ox;r6=1,ox=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 ox}var ix,a6;function x6e(){if(a6)return ix;a6=1,ix=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 lx}var cx,s6;function Ly(){if(s6)return cx;s6=1,cx=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),h=/@?\b[A-Za-z_]\w*\b/.source,b=r(/<<0>>(?:\s*<<1>>)?/.source,[h,p]),y=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,b]),S=/\[\s*(?:,\s*)*\]/.source,v=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,S]),x=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,g,S]),C=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),w=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[C,y,S]),E={keyword:u,punctuation:/[<>()?,.:[\]]/},I=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,T=/"(?:\\.|[^\\"\r\n])*"/.source,R=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:E},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,w]),lookbehind:!0,inside:E},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[c,b]),lookbehind:!0,inside:E},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:E},{pattern:a(/(\bwhere\s+)<<0>>/.source,[h]),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,[w,f,h]),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,[h]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),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,[w,y]),inside:E,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[w]),lookbehind:!0,inside:E,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,p]),inside:{function:a(/^<<0>>/.source,[h]),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,b,h,w,u.source,g,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,g]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(w),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 _=T+"|"+I,$=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[_]),P=o(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[$]),2),D=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,A=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,P]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[D,A]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[D]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[P]),inside:n.languages.csharp},"class-name":{pattern:RegExp(y),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 cx}var ux,l6;function E6e(){if(l6)return ux;l6=1;var e=Ly();ux=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 ux}var dx,c6;function I6e(){if(c6)return dx;c6=1,dx=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 dx}var fx,u6;function T6e(){if(u6)return fx;u6=1,fx=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 fx}var px,d6;function R6e(){if(d6)return px;d6=1,px=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 px}var gx,f6;function _6e(){if(f6)return gx;f6=1,gx=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 gx}var mx,p6;function nX(){if(p6)return mx;p6=1,mx=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 hx}var vx,m6;function $6e(){if(m6)return vx;m6=1,vx=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 vx}var bx,h6;function O6e(){if(h6)return bx;h6=1,bx=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 bx}var yx,v6;function N6e(){if(v6)return yx;v6=1,yx=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 yx}var Sx,b6;function k6e(){if(b6)return Sx;b6=1,Sx=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 Sx}var xx,y6;function A6e(){if(y6)return xx;y6=1;var e=Kc();xx=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 xx}var wx,S6;function M6e(){if(S6)return wx;S6=1,wx=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 wx}var Cx,x6;function P6e(){if(x6)return Cx;x6=1,Cx=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 Cx}var Ex,w6;function D6e(){if(w6)return Ex;w6=1,Ex=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 Ex}var Ix,C6;function L6e(){if(C6)return Ix;C6=1,Ix=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 Ix}var Tx,E6;function F6e(){if(E6)return Tx;E6=1,Tx=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 Tx}var Rx,I6;function j6e(){if(I6)return Rx;I6=1,Rx=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 Rx}var _x,T6;function B6e(){if(T6)return _x;T6=1;var e=tk();_x=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 _x}var $x,R6;function z6e(){if(R6)return $x;R6=1,$x=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 $x}var Ox,_6;function H6e(){if(_6)return Ox;_6=1,Ox=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 Ox}var Nx,$6;function U6e(){if($6)return Nx;$6=1,Nx=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 Nx}var kx,O6;function V6e(){if(O6)return kx;O6=1,kx=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 kx}var Ax,N6;function W6e(){if(N6)return Ax;N6=1,Ax=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 Ax}var Mx,k6;function G6e(){if(k6)return Mx;k6=1,Mx=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 Mx}var Px,A6;function q6e(){if(A6)return Px;A6=1,Px=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 Px}var Dx,M6;function Fy(){if(M6)return Dx;M6=1,Dx=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 Dx}var Lx,P6;function K6e(){if(P6)return Lx;P6=1;var e=Fy();Lx=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 Lx}var Fx,D6;function Y6e(){if(D6)return Fx;D6=1;var e=Ly();Fx=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(y,S){for(var v=0;v/g,function(){return"(?:"+y+")"});return y.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 Bx}var zx,j6;function Q6e(){if(j6)return zx;j6=1,zx=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return zx}var Hx,B6;function J6e(){if(B6)return Hx;B6=1,Hx=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 Hx}var Ux,z6;function e8e(){if(z6)return Ux;z6=1,Ux=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 Ux}var Vx,H6;function t8e(){if(H6)return Vx;H6=1,Vx=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 Vx}var Wx,U6;function n8e(){if(U6)return Wx;U6=1,Wx=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 Wx}var Gx,V6;function r8e(){if(V6)return Gx;V6=1,Gx=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 Gx}var qx,W6;function a8e(){if(W6)return qx;W6=1,qx=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 qx}var Kx,G6;function o8e(){if(G6)return Kx;G6=1,Kx=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 Kx}var Yx,q6;function to(){if(q6)return Yx;q6=1,Yx=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],h=typeof f=="string"?f:f.content,b=r(o,p),y=h.indexOf(b);if(y>-1){++i;var S=h.substring(0,y),v=new n.Token(o,n.tokenize(g,a.grammar),"language-"+o,g),x=h.substring(y+b.length),C=[];S&&C.push.apply(C,c([S])),C.push(v),x&&C.push.apply(C,c([x])),typeof f=="string"?u.splice.apply(u,[d,1].concat(C)):f.content=C}}else f.content&&c(f.content)}return u}c(a.tokens)}}})})(t)}return Yx}var Xx,K6;function i8e(){if(K6)return Xx;K6=1;var e=to();Xx=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 Xx}var Zx,Y6;function s8e(){if(Y6)return Zx;Y6=1,Zx=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 Zx}var Qx,X6;function l8e(){if(X6)return Qx;X6=1,Qx=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 Qx}var Jx,Z6;function c8e(){if(Z6)return Jx;Z6=1,Jx=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 Jx}var ew,Q6;function u8e(){if(Q6)return ew;Q6=1,ew=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 ew}var tw,J6;function d8e(){if(J6)return tw;J6=1,tw=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 tw}var nw,e8;function f8e(){if(e8)return nw;e8=1,nw=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 nw}var rw,t8;function p8e(){if(t8)return rw;t8=1;var e=to();rw=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 rw}var aw,n8;function g8e(){if(n8)return aw;n8=1,aw=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 aw}var ow,r8;function m8e(){if(r8)return ow;r8=1,ow=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 ow}var iw,a8;function h8e(){if(a8)return iw;a8=1;var e=Fy(),t=to();iw=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 iw}var sw,o8;function v8e(){if(o8)return sw;o8=1,sw=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 sw}var lw,i8;function aX(){if(i8)return lw;i8=1,lw=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 lw}var cw,s8;function b8e(){if(s8)return cw;s8=1;var e=aX(),t=to();cw=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 cw}var uw,l8;function y8e(){if(l8)return uw;l8=1,uw=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 uw}var dw,c8;function S8e(){if(c8)return dw;c8=1,dw=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 dw}var fw,u8;function x8e(){if(u8)return fw;u8=1,fw=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 pw}var gw,f8;function C8e(){if(f8)return gw;f8=1,gw=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 gw}var mw,p8;function E8e(){if(p8)return mw;p8=1,mw=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 mw}var hw,g8;function I8e(){if(g8)return hw;g8=1,hw=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 hw}var vw,m8;function T8e(){if(m8)return vw;m8=1;var e=to();vw=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 vw}var bw,h8;function R8e(){if(h8)return bw;h8=1,bw=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 bw}var yw,v8;function _8e(){if(v8)return yw;v8=1,yw=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 yw}var Sw,b8;function $8e(){if(b8)return Sw;b8=1,Sw=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 Sw}var xw,y8;function O8e(){if(y8)return xw;y8=1,xw=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 xw}var ww,S8;function N8e(){if(S8)return ww;S8=1,ww=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 ww}var Cw,x8;function k8e(){if(x8)return Cw;x8=1,Cw=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 Cw}var Ew,w8;function A8e(){if(w8)return Ew;w8=1;var e=Kc();Ew=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 Ew}var Iw,C8;function M8e(){if(C8)return Iw;C8=1,Iw=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 Iw}var Tw,E8;function P8e(){if(E8)return Tw;E8=1,Tw=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 Tw}var Rw,I8;function D8e(){if(I8)return Rw;I8=1,Rw=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 Rw}var _w,T8;function L8e(){if(T8)return _w;T8=1,_w=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 _w}var $w,R8;function F8e(){if(R8)return $w;R8=1,$w=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(S){return typeof S!="string"&&S.type!=="comment"&&S.type!=="scalar"}),o=0;function i(S){return a[o+S]}function s(S,v){v=v||0;for(var x=0;x0)){var h=c(/^\{$/,/^\}$/);if(h===-1)continue;for(var b=o;b=0&&u(y,"variable-input")}}}}})}return $w}var Ow,_8;function j8e(){if(_8)return Ow;_8=1,Ow=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 Ow}var Nw,$8;function B8e(){if($8)return Nw;$8=1;var e=Fy();Nw=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 kw}var Aw,N8;function nk(){if(N8)return Aw;N8=1,Aw=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 Aw}var Mw,k8;function H8e(){if(k8)return Mw;k8=1,Mw=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 Mw}var Pw,A8;function U8e(){if(A8)return Pw;A8=1,Pw=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 Pw}var Dw,M8;function V8e(){if(M8)return Dw;M8=1;var e=Kc();Dw=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 Dw}var Lw,P8;function W8e(){if(P8)return Lw;P8=1,Lw=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 Lw}var Fw,D8;function G8e(){if(D8)return Fw;D8=1,Fw=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 Fw}var jw,L8;function q8e(){if(L8)return jw;L8=1,jw=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 jw}var Bw,F8;function K8e(){if(F8)return Bw;F8=1,Bw=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 Bw}var zw,j8;function Y8e(){if(j8)return zw;j8=1,zw=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 zw}var Hw,B8;function X8e(){if(B8)return Hw;B8=1,Hw=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 Hw}var Uw,z8;function Z8e(){if(z8)return Uw;z8=1,Uw=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 Uw}var Vw,H8;function Q8e(){if(H8)return Vw;H8=1;var e=nk();Vw=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 Vw}var Ww,U8;function J8e(){if(U8)return Ww;U8=1,Ww=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 Ww}var Gw,V8;function eFe(){if(V8)return Gw;V8=1,Gw=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 Gw}var qw,W8;function tFe(){if(W8)return qw;W8=1,qw=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 qw}var Kw,G8;function nFe(){if(G8)return Kw;G8=1,Kw=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 Kw}var Yw,q8;function rFe(){if(q8)return Yw;q8=1,Yw=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 Xw}var Zw,Y8;function rk(){if(Y8)return Zw;Y8=1,Zw=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 Zw}var Qw,X8;function jy(){if(X8)return Qw;X8=1,Qw=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 Jw}var eC,Q8;function iFe(){if(Q8)return eC;Q8=1,eC=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 eC}var tC,J8;function sFe(){if(J8)return tC;J8=1,tC=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 tC}var nC,eF;function lFe(){if(eF)return nC;eF=1,nC=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 nC}var rC,tF;function cFe(){if(tF)return rC;tF=1,rC=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 rC}var aC,nF;function uFe(){if(nF)return aC;nF=1,aC=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 $=R[_];if(typeof $=="string"||typeof $.content=="string"){var P=I[x],D=typeof $=="string"?$:$.content,A=D.indexOf(P);if(A!==-1){++x;var O=D.substring(0,A),N=f(C[P]),k=D.substring(A+P.length),M=[];if(O&&M.push(O),M.push(N),k){var L=[k];T(L),M.push.apply(M,L)}typeof $=="string"?(R.splice.apply(R,[_,1].concat(M)),_+=M.length-1):$.content=M}}else{var F=$.content;Array.isArray(F)?T(F):T([F])}}}return T(E),new n.Token(S,E,"language-"+S,b)}var g={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(b){if(!(b.language in g))return;function y(S){for(var v=0,x=S.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 iC}var sC,oF;function fFe(){if(oF)return sC;oF=1;var e=jy(),t=ak();sC=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 sC}var lC,iF;function ok(){if(iF)return lC;iF=1,lC=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 lC}var cC,sF;function pFe(){if(sF)return cC;sF=1;var e=ok();cC=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 cC}var uC,lF;function gFe(){if(lF)return uC;lF=1;var e=ok();uC=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 uC}var dC,cF;function mFe(){if(cF)return dC;cF=1,dC=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 dC}var fC,uF;function oX(){if(uF)return fC;uF=1,fC=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--:h=!0),(h||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var b=c(g);p0&&(typeof d[p-1]=="string"||d[p-1].type==="plain-text")&&(b=c(d[p-1])+b,d.splice(p-1,1),p--),d[p]=new n.Token("plain-text",b,null,b)}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 fC}var pC,dF;function hFe(){if(dF)return pC;dF=1,pC=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 pC}var gC,fF;function vFe(){if(fF)return gC;fF=1,gC=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 gC}var mC,pF;function bFe(){if(pF)return mC;pF=1,mC=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 mC}var hC,gF;function yFe(){if(gF)return hC;gF=1,hC=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 hC}var vC,mF;function SFe(){if(mF)return vC;mF=1,vC=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 vC}var bC,hF;function xFe(){if(hF)return bC;hF=1,bC=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 bC}var yC,vF;function wFe(){if(vF)return yC;vF=1,yC=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 yC}var SC,bF;function By(){if(bF)return SC;bF=1;var e=to();SC=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 SC}var xC,yF;function CFe(){if(yF)return xC;yF=1;var e=to(),t=By();xC=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 xC}var wC,SF;function EFe(){if(SF)return wC;SF=1,wC=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 wC}var CC,xF;function ik(){if(xF)return CC;xF=1,CC=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 CC}var EC,wF;function IFe(){if(wF)return EC;wF=1;var e=ik();EC=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 EC}var IC,CF;function TFe(){if(CF)return IC;CF=1;var e=to();IC=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 IC}var TC,EF;function RFe(){if(EF)return TC;EF=1,TC=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(b){return RegExp(/(\()/.source+"(?:"+b+")"+/(?=[\s\)])/.source)}function a(b){return RegExp(/([\s([])/.source+"(?:"+b+")"+/(?=[\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+)*",h={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=h,f.defun.inside.arguments=n.util.clone(h),f.defun.inside.arguments.inside.sublist=h,n.languages.lisp=f,n.languages.elisp=f,n.languages.emacs=f,n.languages["emacs-lisp"]=f})(t)}return TC}var RC,IF;function _Fe(){if(IF)return RC;IF=1,RC=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 RC}var _C,TF;function $Fe(){if(TF)return _C;TF=1,_C=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 _C}var $C,RF;function OFe(){if(RF)return $C;RF=1,$C=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 $C}var OC,_F;function NFe(){if(_F)return OC;_F=1,OC=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 OC}var NC,$F;function kFe(){if($F)return NC;$F=1,NC=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 NC}var kC,OF;function AFe(){if(OF)return kC;OF=1,kC=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 kC}var AC,NF;function MFe(){if(NF)return AC;NF=1,AC=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(h){if(!(!h||typeof h=="string"))for(var b=0,y=h.length;b",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(h,b){if(b=b.toLowerCase(),b[0]==="#"){var y;return b[1]==="x"?y=parseInt(b.slice(2),16):y=Number(b.slice(1)),d(y)}else{var S=u[b];return S||h}}),g}n.languages.md=n.languages.markdown})(t)}return AC}var MC,kF;function PFe(){if(kF)return MC;kF=1,MC=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 MC}var PC,AF;function DFe(){if(AF)return PC;AF=1,PC=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 PC}var DC,MF;function LFe(){if(MF)return DC;MF=1,DC=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 DC}var LC,PF;function FFe(){if(PF)return LC;PF=1,LC=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 LC}var FC,DF;function jFe(){if(DF)return FC;DF=1,FC=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 FC}var jC,LF;function BFe(){if(LF)return jC;LF=1,jC=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 jC}var BC,FF;function zFe(){if(FF)return BC;FF=1,BC=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 BC}var zC,jF;function HFe(){if(jF)return zC;jF=1,zC=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 zC}var HC,BF;function UFe(){if(BF)return HC;BF=1,HC=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 HC}var UC,zF;function VFe(){if(zF)return UC;zF=1,UC=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 UC}var VC,HF;function WFe(){if(HF)return VC;HF=1,VC=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 VC}var WC,UF;function GFe(){if(UF)return WC;UF=1,WC=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 GC}var qC,WF;function KFe(){if(WF)return qC;WF=1,qC=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 qC}var KC,GF;function YFe(){if(GF)return KC;GF=1,KC=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 KC}var YC,qF;function XFe(){if(qF)return YC;qF=1,YC=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 YC}var XC,KF;function ZFe(){if(KF)return XC;KF=1,XC=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 XC}var ZC,YF;function QFe(){if(YF)return ZC;YF=1,ZC=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 ZC}var QC,XF;function JFe(){if(XF)return QC;XF=1,QC=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 QC}var JC,ZF;function eje(){if(ZF)return JC;ZF=1;var e=Kc();JC=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 JC}var eE,QF;function tje(){if(QF)return eE;QF=1,eE=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 eE}var tE,JF;function nje(){if(JF)return tE;JF=1;var e=Kc();tE=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 tE}var nE,ej;function rje(){if(ej)return nE;ej=1,nE=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 nE}var rE,tj;function aje(){if(tj)return rE;tj=1,rE=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 rE}var aE,nj;function oje(){if(nj)return aE;nj=1,aE=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 aE}var oE,rj;function ije(){if(rj)return oE;rj=1,oE=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 oE}var iE,aj;function sje(){if(aj)return iE;aj=1,iE=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 iE}var sE,oj;function lje(){if(oj)return sE;oj=1,sE=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 sE}var lE,ij;function cje(){if(ij)return lE;ij=1,lE=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 lE}var cE,sj;function uje(){if(sj)return cE;sj=1,cE=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 cE}var uE,lj;function dje(){if(lj)return uE;lj=1,uE=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 uE}var dE,cj;function fje(){if(cj)return dE;cj=1;var e=By();dE=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 dE}var fE,uj;function pje(){if(uj)return fE;uj=1;var e=By(),t=jy();fE=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 fE}var pE,dj;function gje(){if(dj)return pE;dj=1;var e=ek();pE=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 pE}var gE,fj;function mje(){if(fj)return gE;fj=1,gE=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 gE}var mE,pj;function hje(){if(pj)return mE;pj=1,mE=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 mE}var hE,gj;function vje(){if(gj)return hE;gj=1,hE=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 hE}var vE,mj;function bje(){if(mj)return vE;mj=1,vE=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 vE}var bE,hj;function yje(){if(hj)return bE;hj=1,bE=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 bE}var yE,vj;function Sje(){if(vj)return yE;vj=1,yE=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 yE}var SE,bj;function xje(){if(bj)return SE;bj=1,SE=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 SE}var xE,yj;function wje(){if(yj)return xE;yj=1,xE=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 xE}var wE,Sj;function Cje(){if(Sj)return wE;Sj=1,wE=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 wE}var CE,xj;function Eje(){if(xj)return CE;xj=1,CE=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 CE}var EE,wj;function Ije(){if(wj)return EE;wj=1,EE=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 EE}var IE,Cj;function Tje(){if(Cj)return IE;Cj=1,IE=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 IE}var TE,Ej;function Rje(){if(Ej)return TE;Ej=1;var e=nk();TE=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 TE}var RE,Ij;function _je(){if(Ij)return RE;Ij=1,RE=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 RE}var _E,Tj;function $je(){if(Tj)return _E;Tj=1,_E=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 _E}var $E,Rj;function Oje(){if(Rj)return $E;Rj=1,$E=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 $E}var OE,_j;function Nje(){if(_j)return OE;_j=1,OE=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 OE}var NE,$j;function kje(){if($j)return NE;$j=1,NE=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(h,b){return h.replace(/<<(\d+)>>/g,function(y,S){return"(?:"+b[+S]+")"})}function a(h,b,y){return RegExp(r(h,b),"")}function o(h,b){for(var y=0;y>/g,function(){return"(?:"+h+")"});return h.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(h){return"\\b(?:"+h.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 NE}var kE,Oj;function Aje(){if(Oj)return kE;Oj=1,kE=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 kE}var AE,Nj;function Mje(){if(Nj)return AE;Nj=1;var e=ik();AE=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 AE}var ME,kj;function Pje(){if(kj)return ME;kj=1,ME=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 ME}var PE,Aj;function Dje(){if(Aj)return PE;Aj=1,PE=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 DE}var LE,Pj;function Fje(){if(Pj)return LE;Pj=1,LE=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 LE}var FE,Dj;function jje(){if(Dj)return FE;Dj=1,FE=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 FE}var jE,Lj;function Bje(){if(Lj)return jE;Lj=1,jE=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 jE}var BE,Fj;function zje(){if(Fj)return BE;Fj=1,BE=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 BE}var zE,jj;function Hje(){if(jj)return zE;jj=1,zE=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 zE}var HE,Bj;function Uje(){if(Bj)return HE;Bj=1,HE=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 HE}var UE,zj;function Vje(){if(zj)return UE;zj=1,UE=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},h={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},b={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},y={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"},S={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,x={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}},C={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":y,"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:C,"submit-statement":S,"global-statements":y,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:C,"submit-statement":S,"global-statements":y,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":x,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:g},step:c,keyword:C,function:p,format:h,altformat:b,"global-statements":y,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":x,comment:u,function:p,format:h,altformat:b,"numeric-constant":o,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:d,step:c,keyword:C,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:f}})(t)}return UE}var VE,Hj;function Wje(){if(Hj)return VE;Hj=1,VE=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 VE}var WE,Uj;function Gje(){if(Uj)return WE;Uj=1;var e=rk();WE=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 WE}var GE,Vj;function qje(){if(Vj)return GE;Vj=1,GE=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 GE}var qE,Wj;function Kje(){if(Wj)return qE;Wj=1;var e=nX();qE=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 qE}var KE,Gj;function Yje(){if(Gj)return KE;Gj=1,KE=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 KE}var YE,qj;function Xje(){if(qj)return YE;qj=1,YE=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 YE}var XE,Kj;function Zje(){if(Kj)return XE;Kj=1;var e=to();XE=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 XE}var ZE,Yj;function Qje(){if(Yj)return ZE;Yj=1,ZE=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 ZE}var QE,Xj;function Jje(){if(Xj)return QE;Xj=1,QE=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 QE}var JE,Zj;function e5e(){if(Zj)return JE;Zj=1,JE=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 JE}var e2,Qj;function t5e(){if(Qj)return e2;Qj=1;var e=to();e2=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 e2}var t2,Jj;function iX(){if(Jj)return t2;Jj=1,t2=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 t2}var n2,e5;function n5e(){if(e5)return n2;e5=1;var e=iX();n2=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 n2}var r2,t5;function r5e(){if(t5)return r2;t5=1,r2=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 r2}var a2,n5;function a5e(){if(n5)return a2;n5=1,a2=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 a2}var o2,r5;function o5e(){if(r5)return o2;r5=1,o2=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 o2}var i2,a5;function i5e(){if(a5)return i2;a5=1,i2=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 i2}var s2,o5;function s5e(){if(o5)return s2;o5=1,s2=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 s2}var l2,i5;function l5e(){if(i5)return l2;i5=1,l2=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 l2}var c2,s5;function c5e(){if(s5)return c2;s5=1,c2=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 c2}var u2,l5;function sk(){if(l5)return u2;l5=1,u2=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 u2}var d2,c5;function u5e(){if(c5)return d2;c5=1;var e=sk(),t=Ly();d2=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 d2}var f2,u5;function sX(){if(u5)return f2;u5=1;var e=rX();f2=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 f2}var p2,d5;function d5e(){if(d5)return p2;d5=1;var e=sk(),t=sX();p2=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 p2}var g2,f5;function lX(){if(f5)return g2;f5=1,g2=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 g2}var m2,p5;function f5e(){if(p5)return m2;p5=1;var e=lX();m2=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 m2}var h2,g5;function p5e(){if(g5)return h2;g5=1,h2=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 h2}var v2,m5;function g5e(){if(m5)return v2;m5=1,v2=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 v2}var b2,h5;function m5e(){if(h5)return b2;h5=1,b2=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 b2}var y2,v5;function h5e(){if(v5)return y2;v5=1,y2=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 y2}var S2,b5;function v5e(){if(b5)return S2;b5=1;var e=oX(),t=ak();S2=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 S2}var x2,y5;function b5e(){if(y5)return x2;y5=1;var e=to();x2=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 x2}var w2,S5;function y5e(){if(S5)return w2;S5=1;var e=to();w2=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 w2}var C2,x5;function S5e(){if(x5)return C2;x5=1,C2=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 C2}var E2,w5;function x5e(){if(w5)return E2;w5=1,E2=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 E2}var I2,C5;function w5e(){if(C5)return I2;C5=1,I2=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 I2}var T2,E5;function C5e(){if(E5)return T2;E5=1,T2=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 T2}var R2,I5;function E5e(){if(I5)return R2;I5=1,R2=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 R2}var _2,T5;function I5e(){if(T5)return _2;T5=1,_2=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 _2}var $2,R5;function T5e(){if(R5)return $2;R5=1,$2=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 $2}var O2,_5;function R5e(){if(_5)return O2;_5=1,O2=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 O2}var N2,$5;function _5e(){if($5)return N2;$5=1,N2=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 N2}var k2,O5;function $5e(){if(O5)return k2;O5=1,k2=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 k2}var A2,N5;function O5e(){if(N5)return A2;N5=1,A2=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 A2}var M2,k5;function N5e(){if(k5)return M2;k5=1,M2=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 M2}var P2,A5;function k5e(){if(A5)return P2;A5=1,P2=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 P2}var D2,M5;function A5e(){if(M5)return D2;M5=1,D2=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 D2}var L2,P5;function M5e(){if(P5)return L2;P5=1,L2=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 L2}var F2,D5;function P5e(){if(D5)return F2;D5=1,F2=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 F2}var j2,L5;function D5e(){if(L5)return j2;L5=1,j2=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 j2}var B2,F5;function L5e(){if(F5)return B2;F5=1,B2=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 B2}var z2,j5;function F5e(){if(j5)return z2;j5=1,z2=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 z2}var H2,B5;function j5e(){if(B5)return H2;B5=1,H2=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 H2}var U2,z5;function B5e(){if(z5)return U2;z5=1,U2=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 U2}var V2,H5;function z5e(){if(H5)return V2;H5=1,V2=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 V2}var W2,U5;function H5e(){if(U5)return W2;U5=1,W2=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 W2}var de=XLe,U5e=de;de.register(s6e());de.register(l6e());de.register(c6e());de.register(u6e());de.register(d6e());de.register(f6e());de.register(p6e());de.register(g6e());de.register(m6e());de.register(h6e());de.register(v6e());de.register(b6e());de.register(y6e());de.register(S6e());de.register(x6e());de.register(w6e());de.register(C6e());de.register(E6e());de.register(I6e());de.register(T6e());de.register(R6e());de.register(_6e());de.register(nX());de.register(rX());de.register($6e());de.register(O6e());de.register(N6e());de.register(k6e());de.register(A6e());de.register(M6e());de.register(P6e());de.register(D6e());de.register(L6e());de.register(F6e());de.register(Kc());de.register(j6e());de.register(B6e());de.register(z6e());de.register(H6e());de.register(U6e());de.register(V6e());de.register(W6e());de.register(G6e());de.register(q6e());de.register(tk());de.register(K6e());de.register(Ly());de.register(Y6e());de.register(X6e());de.register(Z6e());de.register(Q6e());de.register(J6e());de.register(e8e());de.register(t8e());de.register(n8e());de.register(r8e());de.register(a8e());de.register(o8e());de.register(i8e());de.register(s8e());de.register(l8e());de.register(c8e());de.register(u8e());de.register(d8e());de.register(f8e());de.register(p8e());de.register(g8e());de.register(m8e());de.register(h8e());de.register(v8e());de.register(b8e());de.register(y8e());de.register(S8e());de.register(x8e());de.register(w8e());de.register(C8e());de.register(E8e());de.register(I8e());de.register(T8e());de.register(R8e());de.register(_8e());de.register($8e());de.register(O8e());de.register(N8e());de.register(k8e());de.register(A8e());de.register(M8e());de.register(P8e());de.register(D8e());de.register(L8e());de.register(F8e());de.register(j8e());de.register(B8e());de.register(z8e());de.register(nk());de.register(H8e());de.register(U8e());de.register(V8e());de.register(W8e());de.register(G8e());de.register(q8e());de.register(K8e());de.register(Y8e());de.register(X8e());de.register(Z8e());de.register(Q8e());de.register(J8e());de.register(eFe());de.register(tFe());de.register(nFe());de.register(rFe());de.register(aFe());de.register(rk());de.register(oFe());de.register(jy());de.register(iFe());de.register(sFe());de.register(lFe());de.register(cFe());de.register(uFe());de.register(dFe());de.register(fFe());de.register(ok());de.register(pFe());de.register(gFe());de.register(mFe());de.register(oX());de.register(hFe());de.register(vFe());de.register(bFe());de.register(yFe());de.register(SFe());de.register(xFe());de.register(wFe());de.register(CFe());de.register(EFe());de.register(IFe());de.register(TFe());de.register(RFe());de.register(_Fe());de.register($Fe());de.register(OFe());de.register(NFe());de.register(aX());de.register(kFe());de.register(AFe());de.register(MFe());de.register(to());de.register(PFe());de.register(DFe());de.register(LFe());de.register(FFe());de.register(jFe());de.register(BFe());de.register(zFe());de.register(HFe());de.register(UFe());de.register(VFe());de.register(WFe());de.register(GFe());de.register(qFe());de.register(KFe());de.register(YFe());de.register(XFe());de.register(ZFe());de.register(QFe());de.register(JFe());de.register(eje());de.register(tje());de.register(nje());de.register(rje());de.register(aje());de.register(oje());de.register(ije());de.register(sje());de.register(lje());de.register(cje());de.register(uje());de.register(dje());de.register(fje());de.register(By());de.register(pje());de.register(gje());de.register(mje());de.register(hje());de.register(vje());de.register(bje());de.register(yje());de.register(Sje());de.register(xje());de.register(wje());de.register(Cje());de.register(Eje());de.register(Ije());de.register(Tje());de.register(Rje());de.register(_je());de.register($je());de.register(Oje());de.register(Nje());de.register(kje());de.register(Aje());de.register(Mje());de.register(Pje());de.register(Dje());de.register(Lje());de.register(Fje());de.register(jje());de.register(Bje());de.register(zje());de.register(Hje());de.register(Fy());de.register(Uje());de.register(Vje());de.register(Wje());de.register(Gje());de.register(ik());de.register(qje());de.register(Kje());de.register(Yje());de.register(Xje());de.register(Zje());de.register(Qje());de.register(Jje());de.register(e5e());de.register(t5e());de.register(n5e());de.register(r5e());de.register(a5e());de.register(ek());de.register(o5e());de.register(i5e());de.register(s5e());de.register(l5e());de.register(c5e());de.register(u5e());de.register(sk());de.register(d5e());de.register(f5e());de.register(p5e());de.register(g5e());de.register(m5e());de.register(h5e());de.register(v5e());de.register(b5e());de.register(iX());de.register(y5e());de.register(ak());de.register(S5e());de.register(x5e());de.register(w5e());de.register(C5e());de.register(E5e());de.register(I5e());de.register(sX());de.register(T5e());de.register(R5e());de.register(_5e());de.register($5e());de.register(O5e());de.register(N5e());de.register(k5e());de.register(A5e());de.register(M5e());de.register(P5e());de.register(D5e());de.register(L5e());de.register(F5e());de.register(j5e());de.register(B5e());de.register(lX());de.register(z5e());de.register(H5e());const V5e=Ma(U5e);var lk=FMe(V5e,i6e);lk.supportedLanguages=zMe;const cX={'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%)"}},uX={'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:V5,Text:W5e}=bn,G5e=()=>{const{t:e}=Nt(),[t,n]=l.useState([]),r=l.useRef(null),[a,o]=l.useState(!1),i=f=>{let p="";for(let g=0;g=32&&b<=126?p+=String.fromCharCode(b):p+="."}return p},s=f=>{let p="";for(let b=0;b=h&&(g=g-2*h),g},c={"15-15452":f=>{if(f.length===16){const p=f.slice(8)+f.slice(0,8);n(g=>[...g,`UnknownTag | ${p}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"15-16065":f=>{if(f.length===16){const p=f.slice(8)+f.slice(0,8);n(g=>[...g,`KnownTag | ${p}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"12-15427":f=>{if(f.length===8){const p=s(f);n(g=>[...g,`UpsideState | ${p}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"12-15426":f=>{if(f.length===8){const p=s(f);n(g=>[...g,`UprightState | ${p}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)}};l.useEffect(()=>{if(a){const f=new EventSource("/api/sse");return f.onopen=()=>{console.log("Connection established.")},f.addEventListener("keep-alive",p=>{console.log("keep-alive event received:",p)}),f.addEventListener("pressed",p=>{const g=JSON.parse(p.data);n(h=>[...h,"Pressed: "+g.data])}),f.addEventListener("rtnl-raw-log2",p=>{const g=JSON.parse(p.data),h=`${"Raw2 | #"+g.data.sequence+" Uptime: "+g.data.uptime+" Func: "+g.data.function_group.toString().padStart(2," ")+"-"+g.data.function+" Payload: '"+g.data.field6+"' ASCII: '"+i(g.data.field6)+"'"}`;n(y=>[...y,h]);const b=`${g.data.function_group.toString().padStart(2," ")}-${g.data.function}`;c[b]&&c[b](g.data.field6)}),f.addEventListener("rtnl-raw-log3",p=>{const g=JSON.parse(p.data);n(h=>[...h,"Raw3 | Datetime: "+g.data.datetime+" Unknown: "+g.data.field2])}),f.onerror=p=>{console.error("EventSource failed:",p)},()=>{console.log("Connection closed."),f.close()}}else return},[a]),l.useEffect(()=>{r.current&&(r.current.scrollTop=r.current.scrollHeight)},[t]);const u=f=>{o(f)},d=()=>{n([])};return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Nd,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Nd,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("settings.rtnl.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("settings.rtnl.title")}),m.jsxs(V5,{style:{margin:"8px 0"},children:[m.jsxs(V5,{children:[m.jsx(za,{checked:a,onChange:u,style:{marginRight:8}}),m.jsx(W5e,{children:e("settings.rtnl.enableRtnl")})]}),m.jsx(Rr,{children:e("settings.rtnl.title")}),m.jsx("div",{ref:r,style:{minHeight:"max(40vh, 333px)",maxHeight:"max(40vh, 333px)",overflow:"auto",padding:1,background:vs()==="dark"?"hsl(220, 13%, 18%)":"hsl(230, 1%, 98%)"},children:m.jsx(lk,{language:"log",style:vs()==="dark"?cX:uX,customStyle:{borderRadius:0,margin:0,border:"none"},children:t.join(` +`)})}),m.jsx(ut,{onClick:d,style:{marginTop:8},children:e("settings.rtnl.clear")})]})]})]})]})},W5=new xn(pn()),dX=({overlay:e})=>{const{t}=Nt(),n=async a=>{const o=new FormData;o.append("file",a);const i={filename:[o.get("file")]},s=async()=>{await W5.apiTriggerWriteConfigGet()};(async u=>{try{await W5.apiUploadCertPost(u,e);try{s()}catch{Xe.error("Error while saving config to file.")}Xe.success(t("settings.certificates.uploadSuccessful",{filename:a.name}))}catch{Xe.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 m.jsxs(mm.Dragger,{...r,children:[m.jsx("p",{className:"ant-upload-drag-icon",children:m.jsx(eN,{})}),m.jsx("p",{className:"ant-upload-text",children:t("settings.certificates.uploadText")}),m.jsx("p",{className:"ant-upload-hint",children:t("settings.certificates.uploadHint")})]})},q5e=()=>{const{t:e}=Nt(),{Paragraph:t}=bn;return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Nd,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Nd,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.certificates.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("settings.certificates.title")}),m.jsx(t,{children:m.jsx(An,{message:e("settings.certificates.information"),description:m.jsxs("div",{children:[e("settings.certificates.hint")," ",m.jsx(gt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0})}),m.jsx(t,{children:m.jsx(dX,{})})]})]})]})},El=()=>{const{t:e}=Nt(),t=[{key:"home",label:m.jsx(gt,{to:"/",children:e("home.navigationTitle")}),icon:se.createElement(ywe),title:e("home.navigationTitle")},{key:"features",label:m.jsx(gt,{to:"/home/features",children:e("home.features.navigationTitle")}),icon:se.createElement(yxe),title:e("home.features.navigationTitle")},{key:"statistics",label:m.jsx(gt,{to:"/home/stats",children:e("home.stats.navigationTitle")}),icon:se.createElement(FR),title:e("home.stats.navigationTitle")},{key:"hiddenMeeting",label:m.jsx(gt,{to:"/home/tonieMeeting"})}];return m.jsx(bm,{mode:"inline",defaultOpenKeys:["sub"],items:t})},Ad=({title:e,okText:t,cancelText:n,content:r,contentHint:a="",contentHintTitle:o="",open:i,handleOk:s,handleCancel:c})=>{const{t:u}=Nt();return m.jsxs(Sn,{title:m.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[m.jsx(gq,{style:{fontSize:36,color:"orange",margin:16}}),m.jsx("div",{style:{marginBottom:16},children:e})]}),open:i,onOk:s,onCancel:c,okText:t,cancelText:n,className:"warning",children:[m.jsx("div",{style:{marginBottom:24},children:r}),a&&m.jsx("div",{children:m.jsx(An,{type:"warning",showIcon:!0,message:o||u("confirmDialog.contentHintTitle"),description:a})})]})},K5e=new xn(pn()),{Text:Y5e}=bn,ck=({open:e,onClose:t,tonieCardOrTAFRecord:n,showSourceInfo:r=!1,readOnly:a,lastRUIDs:o,overlay:i,onHide:s})=>{const{t:c}=Nt(),[u,d]=l.useState(!1),[f,p]=l.useState(!1),[g,h]=l.useState(""),[b,y]=l.useState([]);l.useEffect(()=>{r&&"sourceInfo"in n&&(n.sourceInfo.picture!==n.tonieInfo.picture&&x!==C||n.sourceInfo.picture===n.tonieInfo.picture&&x!==C||n.sourceInfo.series!==n.tonieInfo.series||n.sourceInfo.episode!==n.tonieInfo.episode||n.sourceInfo.tracks.join(".")!==n.tonieInfo.tracks.join("."))&&(p(!0),h(n.sourceInfo.picture),y(n.sourceInfo.tracks))},[n,e]);const S=o&&"ruid"in n?o.filter(([A])=>A===n.ruid).map(([,A,O])=>({ruidTime:A,boxName:O})):null,v=n.tonieInfo.series+(n!=null&&n.tonieInfo.episode?" - "+n.tonieInfo.episode:"")+(n.tonieInfo.model?" ("+n.tonieInfo.model+")":""),x=`${n.tonieInfo.series}`+(n.tonieInfo.episode?` - ${n.tonieInfo.episode}`:""),C="sourceInfo"in n?`${n.sourceInfo.series}`+(n.sourceInfo.episode?` - ${n.sourceInfo.episode}`:""):"",w=f?C:x,E=()=>{d(!0)},I=()=>{R(),d(!1)},T=()=>{d(!1)},R=async()=>{if(s&&"ruid"in n&&n.ruid)try{await K5e.apiPostTeddyCloudContentJson(n.ruid,"hide=true",i),Xe.success(c("tonies.messages.hideTonieSuccessful")),s(n.ruid)}catch(A){Xe.error(c("tonies.messages.hideTonieFailed")+A)}},_=m.jsx(Ad,{title:c("tonies.confirmHideModal.title"),open:u,okText:c("tonies.confirmHideModal.hide"),cancelText:c("tonies.confirmHideModal.cancel"),content:c("tonies.confirmHideModal.confirmHideDialog",{tonieToHide:v||("uid"in n?n.uid:"")}),handleOk:I,handleCancel:T}),$=m.jsx(m.Fragment,{children:m.jsxs("h3",{children:[w||c("tonies.informationModal.unknownModel"),m.jsx("br",{}),"uid"in n&&n.uid?m.jsx(Y5e,{type:"secondary",children:n.uid}):""]})}),P=m.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[m.jsx("div",{children:"ruid"in n&&n.ruid?a?"":m.jsx(ut,{onClick:E,children:c("tonies.informationModal.hideTag")}):""}),m.jsx(ut,{type:"primary",onClick:t,children:c("tonies.informationModal.ok")})]});return m.jsxs(m.Fragment,{children:[m.jsxs(Sn,{title:$,footer:P,open:e,keyboard:!0,closable:!1,maskClosable:!0,onCancel:t,children:[m.jsxs("div",{style:{position:"relative"},children:[m.jsx("img",{src:n.tonieInfo.picture?n.tonieInfo.picture:"/img_unknown.png",alt:"",style:{width:"100%"}}),f?m.jsx(Zt,{title:`${C}`?c("tonies.alternativeSource",{originalTonie:'"'+x+'"',assignedContent:'"'+C+'"'}).replace(' "" '," "):c("tonies.alternativeSourceUnknown",{originalTonie:'"'+x+'"'}).replace(' "" '," "),placement:"bottom",children:m.jsx("img",{src:g,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),S&&S.length>0?m.jsxs(m.Fragment,{children:[m.jsxs("strong",{children:[c("tonies.lastPlayedOnModal.lastPlayedOnMessage"),":"]}),m.jsx("ul",{children:S.map(({ruidTime:A,boxName:O},N)=>m.jsxs("li",{children:[O,A?" ("+A+")":""]},N))})]}):m.jsx(m.Fragment,{}),m.jsxs("div",{children:["valid"in n?m.jsxs("p",{children:[m.jsx("strong",{children:c("tonies.infoModal.valid")})," ",n.valid?c("tonies.infoModal.yes"):c("tonies.infoModal.no")]}):"","exists"in n?m.jsxs("p",{children:[m.jsx("strong",{children:c("tonies.infoModal.exists")})," ",n.exists?c("tonies.infoModal.yes"):c("tonies.infoModal.no")]}):"",f?b&&b.length>0?m.jsxs(m.Fragment,{children:[m.jsx("strong",{children:c("tonies.infoModal.tracklist")}),m.jsx("ol",{children:b.map((A,O)=>m.jsx("li",{children:A},O))})]}):m.jsx(m.Fragment,{}):n.tonieInfo.tracks&&n.tonieInfo.tracks.length>0?m.jsxs(m.Fragment,{children:[m.jsx("strong",{children:c("tonies.infoModal.tracklist")}),m.jsx("ol",{children:n.tonieInfo.tracks.map((A,O)=>m.jsx("li",{children:A},O))})]}):m.jsx(m.Fragment,{})]})]}),_]})},uk=[".mp3",".aac",".m4a",".wav",".flac",".ogg",".opus",".aiff",".aif",".wma",".ac3",".dts",".taf"];function Wu(e,t=!0,n=1){if(!e||e<0)return"NaN";const r=t?1e3:1024;if(Math.abs(e)=r&&o{const{t:c}=Nt(),{playAudio:u}=gy(),{token:d}=Z5e(),f=Ki(),p=xN(),g=l.useRef(null),h=l.useRef(null),[b,y]=l.useState([]),[S,v]=l.useState(""),[x,C]=l.useState(!1),[w,E]=l.useState([]),[I,T]=l.useState(!1),[R,_]=l.useState(),[$,P]=l.useState(""),[D,A]=l.useState(!1);l.useEffect(()=>{E([])},[]),l.useEffect(()=>{if(n){const G=new URLSearchParams(f.search);G.set("path",""),v("");const U=`${window.location.pathname}?${G.toString()}`;window.history.replaceState(null,"",U),C(q=>!q)}},[n]),l.useEffect(()=>{X5e.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${S}&special=${e}`+(n?`&overlay=${n}`:"")).then(G=>G.json()).then(G=>{var U=G.files;o&&(U=U.filter(q=>q.isDir)),t.length>0&&(U=U.filter(q=>q.isDir||t.some(X=>q.name.endsWith(X)))),y(U)})},[S,e,o,x]),l.useEffect(()=>{h.current!==null&&g.current&&g.current.setSelectionRange(h.current,h.current)},[$]);const O=G=>{var U;!G.isDir&&((U=G.tonieInfo)!=null&&U.tracks)&&(_(G),T(!0))},N=G=>{a&&p(`?path=${G}`),S===G&&C(U=>!U),A(!1),v(G)},k=(G,U)=>{const q=G.split("/").filter(Q=>Q),X=[{title:m.jsx("span",{style:{cursor:"pointer"},onClick:()=>U(""),children:c("fileBrowser.root")}),key:"/"}];return q.forEach((Q,ee)=>{const oe=`/${q.slice(0,ee+1).join("/")}`;X.push({title:m.jsx("span",{style:{cursor:"pointer"},onClick:()=>U(oe),children:Q}),key:oe})}),m.jsx(Xd,{items:X})},M=G=>{P(G.target.value),h.current=G.target.selectionStart,A(!0)},L=()=>{P(""),h.current=0},F=()=>{A(!0)},j=()=>{A(!1)},B=G=>w.includes(G.key)?"highlight-row":"",z=G=>{if(r>0){if(t){const q=G.length;G=G.filter(X=>{const Q=b.find(ee=>ee.name===X);return Q&&Q.tafHeader!==void 0||Q&&t.some(ee=>Q.name.toLowerCase().endsWith(ee))}),q!==G.length&&Xe.warning(c("fileBrowser.selectAllowedFileTypesOnly",{fileTypes:t.join(", ")}))}G.length>r?Xe.warning(c("fileBrowser.maxSelectedRows",{maxSelectedRows:r})):E(G)}else E(G);const U=(b==null?void 0:b.filter(q=>G.includes(q.name)))||[];s!==void 0&&s(U,S,e)},H=G=>{const U=G===".."?S.split("/").slice(0,-1).join("/"):`${S}/${G}`;a&&p(`?path=${U}`),A(!1),E([]),v(U)},V=(G,U)=>U.reduce((q,X)=>{if(q&&q[X]!==void 0)return q[X]},G),te=(G,U,q)=>{const X=Array.isArray(q)?V(G,q):G[q],Q=Array.isArray(q)?V(U,q):U[q];return X===void 0&&Q===void 0?0:X===void 0?1:Q===void 0?-1:typeof X=="string"&&typeof Q=="string"?X.localeCompare(Q):typeof X=="number"&&typeof Q=="number"?X-Q:(console.log("Unsupported types for sorting:",G,U),console.log("Unsupported types for sorting field:",q,X,Q),0)},Y=(G,U)=>G.isDir===U.isDir?te(G,U,"name"):G.isDir?-1:1;var J=[{title:"",dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(G,U)=>{var q,X;return U&&((q=U.tonieInfo)!=null&&q.picture)?m.jsx("img",{src:U.tonieInfo.picture,alt:c("tonies.content.toniePicture"),onClick:()=>O(U),style:{width:100,cursor:!U.isDir&&((X=U==null?void 0:U.tonieInfo)!=null&&X.tracks)?"help":"default"}},`picture-${U.name}`):m.jsx(m.Fragment,{})},showOnDirOnly:!1},{title:c("fileBrowser.name"),dataIndex:"name",key:"name",sorter:Y,defaultSortOrder:"ascend",render:(G,U)=>{var q,X,Q,ee,oe;return U&&m.jsxs("div",{children:[m.jsxs("div",{className:"showSmallDevicesOnly",children:[m.jsx("div",{children:m.jsxs("div",{style:{wordBreak:U.isDir?"normal":"break-word"},children:[U.isDir?"["+U.name+"]":U.name," "]})}),m.jsx("div",{children:(q=U.tonieInfo)==null?void 0:q.model}),m.jsx("div",{style:{wordBreak:U.isDir?"normal":"break-word"},children:((X=U.tonieInfo)!=null&&X.series?(Q=U.tonieInfo)==null?void 0:Q.series:"")+((ee=U.tonieInfo)!=null&&ee.episode?" - "+((oe=U.tonieInfo)==null?void 0:oe.episode):"")})]}),m.jsx("div",{className:"showMediumDevicesOnly",children:m.jsx("div",{children:m.jsxs("div",{style:{wordBreak:U.isDir?"normal":"break-word"},children:[U.isDir?"["+U.name+"]":U.name," "]})})}),m.jsx("div",{className:"showBigDevicesOnly",children:U.isDir?"["+U.name+"]":U.name})]},`name-${U.name}`)},filteredValue:[$],onFilter:(G,U)=>{var X,Q,ee,oe;const q=G.toLowerCase();return U.name===".."||U.name.toLowerCase().includes(q)||!U.isDir&&"tafHeader"in U&&U.tafHeader.size&&Wu(U.tafHeader.size).toString().includes(q)||"tafHeader"in U&&((X=U.tafHeader.audioId)==null?void 0:X.toString().includes(q))||"tonieInfo"in U&&((Q=U.tonieInfo)==null?void 0:Q.model.toLowerCase().includes(q))||"tonieInfo"in U&&((ee=U.tonieInfo)==null?void 0:ee.series.toLowerCase().includes(q))||"tonieInfo"in U&&((oe=U.tonieInfo)==null?void 0:oe.episode.toLowerCase().includes(q))},showOnDirOnly:!0},{title:c("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(G,U)=>{var q;return m.jsx("div",{children:(q=U.tonieInfo)==null?void 0:q.model},`model-${U.name}`)}},{title:m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"showMediumDevicesOnly",children:[c("fileBrowser.model"),"/",c("fileBrowser.series"),"/",c("fileBrowser.episode")]}),m.jsx("div",{className:"showBigDevicesOnly",children:c("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(G,U)=>{var q,X,Q,ee,oe,le,fe;return m.jsxs("div",{children:[m.jsxs("div",{className:"showMediumDevicesOnly",children:[m.jsx("div",{children:(q=U.tonieInfo)==null?void 0:q.model}),m.jsx("div",{style:{wordBreak:"break-word"},children:((X=U.tonieInfo)!=null&&X.series?(Q=U.tonieInfo)==null?void 0:Q.series:"")+((ee=U.tonieInfo)!=null&&ee.episode?" - "+((oe=U.tonieInfo)==null?void 0:oe.episode):"")})]}),m.jsx("div",{className:"showBigDevicesOnly",children:(le=U.tonieInfo)!=null&&le.series?(fe=U.tonieInfo)==null?void 0:fe.series:""})]},`series-${U.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:c("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(G,U)=>{var q;return m.jsx("div",{children:(q=U.tonieInfo)==null?void 0:q.episode},`episode-${U.name}`)}},{title:m.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:c("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(G,U)=>{let q=[];return U.tafHeader?q.push(m.jsx(Zt,{title:c("fileBrowser.playFile"),children:m.jsx(Di,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+S+"/"+U.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:""),U.tonieInfo)})},`action-play-${U.name}`)):Q5e.some(X=>U.name.endsWith(X))&&q.push(m.jsx(Zt,{title:c("fileBrowser.playFile"),children:m.jsx(Di,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+S+"/"+U.name)+"?special="+e+(n?`&overlay=${n}`:""),U.tonieInfo)})},`action-play-${U.name}`)),q},showOnDirOnly:!1}];return J.forEach(G=>{G.hasOwnProperty("sorter")||(G.sorter=(U,q)=>te(U,q,G.dataIndex))}),o&&(J=J.filter(G=>G.showOnDirOnly)),i&&(J=J.filter(G=>typeof G.key=="string"?i.includes(G.key):!1)),m.jsxs(m.Fragment,{children:[R?m.jsx(ck,{open:I,tonieCardOrTAFRecord:R,onClose:()=>T(!1),overlay:n}):"",m.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:m.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[m.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:c("tonies.currentPath")}),k(S,N)]})}),m.jsx(Qa,{dataSource:b,columns:J,rowKey:G=>G.name,pagination:!1,onRow:G=>({onDoubleClick:()=>{if(G.isDir)H(G.name);else{const U=w.includes(G.name)?w.filter(q=>q!==G.name):[...w,G.name];z(U)}}}),rowClassName:B,rowSelection:r>0?{selectedRowKeys:w,onChange:z}:{selectedRowKeys:w,onChange:z,getCheckboxProps:G=>({disabled:G.name===".."}),onSelectAll:(G,U)=>{const q=G?U.filter(X=>X.name!=="..").map(X=>X.name):[];E(q)}},components:{header:{wrapper:G=>m.jsx("thead",{...G}),row:G=>m.jsxs(m.Fragment,{children:[m.jsx("tr",{...G}),m.jsx("tr",{children:m.jsx("th",{style:{padding:"10px 8px"},colSpan:J.length+1,children:m.jsx(Jt,{placeholder:c("fileBrowser.filter"),value:$,onChange:M,onFocus:F,onBlur:j,ref:g,style:{width:"100%"},autoFocus:D,addonAfter:m.jsx(Jr,{onClick:L,disabled:$.length===0,style:{color:$.length===0?d.colorTextDisabled:d.colorText,cursor:$.length===0?"default":"pointer"}})})})})]}),cell:G=>m.jsx("th",{...G,style:{position:"sticky",top:0,zIndex:20}})}}})]})},{useToken:J5e}=Ea,ba=({language:e,code:t,showLineNumbers:n=!0})=>{const{t:r}=Nt(),{token:a}=J5e(),[o,i]=l.useState(""),[s,c]=l.useState(!1),u=l.useRef(null);l.useEffect(()=>{c(window.isSecureContext)},[]);const d=()=>{navigator.clipboard.writeText(t).then(()=>{i(r("utils.copied")),setTimeout(()=>i(""),2e3)})},f=()=>{if(u.current){u.current.select();try{document.execCommand("copy"),i(r("utils.copied")),setTimeout(()=>i(""),2e3)}catch{i(r("utils.failedToCopied"))}}};return m.jsxs("div",{style:{position:"relative"},children:[m.jsx(lk,{language:e,style:vs()==="dark"?cX:uX,customStyle:{padding:"0.5rem",borderRadius:"8px",margin:"0.5rem 0",border:"1px solid",borderColor:a.colorBorderSecondary},showLineNumbers:n,lineNumberStyle:{minWidth:"2rem",textAlign:"right",paddingRight:"1rem"},wrapLines:!0,lineProps:{style:{whiteSpace:"pre-wrap"}},children:t}),!s&&m.jsx("textarea",{ref:u,value:t,readOnly:!0,style:{position:"absolute",left:"-9999px",opacity:0}}),o?null:m.jsx(Zt,{title:r("utils.copyToClipboard"),children:m.jsx("button",{onClick:s?d:f,style:{position:"absolute",top:"10px",right:"10px",border:"none",background:"transparent",cursor:"pointer"},children:m.jsx(ZO,{style:{color:a.colorText}})})}),o&&m.jsxs("span",{style:{position:"absolute",top:"10px",right:"10px",border:"none",background:"transparent",color:a.colorSuccess,fontSize:"small"},children:[m.jsx(nm,{})," ",o]})]})},eBe=new xn(pn()),fX=({open:e,onClose:t,setValue:n,props:r,tonieCardProps:a,audioId:o,hash:i})=>{const{t:s}=Nt(),[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 C=>{if(C.tracks&&(C.tracks=C.tracks.filter(w=>w.track&&w.track.trim()).map(w=>w.track)),C.audio_id){C.audio_id=C.audio_id.filter(I=>I.audio_id&&I.audio_id.trim()&&I.hash&&I.hash.trim());const w=C.audio_id.map(I=>I.audio_id),E=C.audio_id.map(I=>I.hash);C={no:C.no,model:C.model,audio_id:w,hash:E,title:C.title,series:C.series,episodes:C.episodes,tracks:C.tracks,release:C.release,language:C.language,category:C.category,pic:C.pic}}h(C),y(!0);try{await eBe.apiPostTeddyCloudRaw("/api/doSomething",JSON.stringify(C),void 0,void 0,{"Content-Type":"application/json"}),C.article&&n&&(n(C.article),r.onChange(C.article)),p(),Xe.success(s("tonies.addNewCustomTonieModal.successfullyCreated")),t()}catch(w){Xe.error(s("tonies.addNewCustomTonieModal.failedToCreate")+w)}},d=()=>{c.submit()},f=()=>{p(),t()},p=()=>{c.resetFields(),c.setFieldsValue({audio_id:[{audio_id:o||"",hash:i||""}],tracks:[{track:""}]})},[g,h]=l.useState(""),[b,y]=l.useState(!1),S=m.jsx(ut,{type:"primary",onClick:()=>v(),children:s("tonies.informationModal.ok")}),v=()=>{y(!1),f()},x=m.jsx(Sn,{footer:S,width:1e3,title:"File (you can copy the content to the tonies.custom.json)",open:b,onCancel:v,children:g?m.jsxs(m.Fragment,{children:[m.jsx(ba,{language:"json",code:JSON.stringify(g,null,2)},"json-readable"),m.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),m.jsx(ba,{language:"json",showLineNumbers:!1,code:JSON.stringify(g,null,0)},"json-minimized")]}):"Loading..."});return m.jsxs(m.Fragment,{children:[m.jsxs(Sn,{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:[m.jsx(An,{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}}),m.jsx(qt,{form:c,layout:"vertical",onFinish:u,children:m.jsxs($a,{gutter:[16,0],children:[m.jsx(En,{span:24,children:m.jsxs($a,{gutter:[16,0],children:[m.jsx(En,{span:8,children:m.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.series"),m.jsx(Zt,{title:s("tonies.addNewCustomTonieModal.seriesHint"),children:m.jsx(Hu,{style:{marginLeft:2}})},"series-tooltip")],name:"series",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.seriesRequired")}],children:m.jsx(Jt,{style:{width:"100%"}})},"series")}),m.jsx(En,{span:10,children:m.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.episode"),m.jsx(Zt,{title:s("tonies.addNewCustomTonieModal.episodeHint"),children:m.jsx(Hu,{style:{marginLeft:2}})},"episodes-tooltip")],name:"episodes",children:m.jsx(Jt,{style:{width:"100%"}})},"episodes")}),m.jsx(En,{span:6,children:m.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.language"),m.jsx(Zt,{title:s("tonies.addNewCustomTonieModal.languageHint"),children:m.jsx(Hu,{style:{marginLeft:2}})},"language-tooltip")],name:"language",children:m.jsx(Jt,{style:{width:"100%"}})},"language")})]})}),m.jsx(En,{span:24,children:m.jsxs($a,{gutter:[16,0],children:[m.jsx(En,{span:8,children:m.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.model"),name:"model",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.modelRequired")}],children:m.jsx(Jt,{style:{width:"100%"}})},"model")}),m.jsx(En,{span:16,children:m.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.pic"),name:"pic",children:m.jsx(Jt,{style:{width:"100%"}})},"pic")})]})}),m.jsx(En,{span:24,children:m.jsxs($a,{gutter:[16,0],children:[m.jsx(En,{span:8,children:m.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.no"),name:"no",children:m.jsx(Jt,{style:{width:"100%"}})},"no")}),m.jsx(En,{span:16,children:m.jsx(qt.Item,{label:[s("tonies.addNewCustomTonieModal.formfieldTitle"),m.jsx(Zt,{title:s("tonies.addNewCustomTonieModal.formfieldTitleHint"),children:m.jsx(Hu,{style:{marginLeft:2}})},"title-tooltip")],name:"title",children:m.jsx(Jt,{style:{width:"100%"}})},"title")})]})}),m.jsx(En,{span:24,children:m.jsxs($a,{gutter:[16,0],children:[m.jsx(En,{span:8,children:m.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.release"),name:"release",children:m.jsx(Jt,{style:{width:"100%"}})},"release")}),m.jsx(En,{span:16,children:m.jsx(qt.Item,{label:s("tonies.addNewCustomTonieModal.category"),name:"category",children:m.jsx(Jt,{style:{width:"100%"}})},"category")})]})}),m.jsx(En,{span:24,children:m.jsx($a,{gutter:[16,0],children:m.jsx(En,{span:24,children:m.jsx(qt.List,{name:"audio_id",children:(C,{add:w,remove:E})=>m.jsxs(m.Fragment,{children:[C.map(({key:I,name:T,...R},_)=>m.jsxs($a,{gutter:[16,0],children:[m.jsx(En,{span:8,children:l.createElement(qt.Item,{...R,key:`audio-id-${I}`,name:[T,"audio_id"],label:m.jsx("div",{children:_===0?s("tonies.addNewCustomTonieModal.audioId"):""},`audio-id-label-${I}`)},m.jsx(Jt,{style:{width:"100%"}}))}),m.jsx(En,{span:16,children:l.createElement(qt.Item,{...R,key:`hash-${I}`,name:[T,"hash"],label:m.jsx("div",{children:_===0?s("tonies.addNewCustomTonieModal.hash"):""},`hash-label-${I}`)},m.jsx(Jt,{style:{width:"100%"},addonAfter:m.jsx(ut,{type:"link",onClick:()=>E(T),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`audio-id-hash-remove-${I}`)}))})]},`audio-id-hash-row-${I}`)),m.jsx(qt.Item,{children:m.jsx(ut,{type:"dashed",onClick:()=>w(),block:!0,children:s("tonies.addNewCustomTonieModal.addAudioIdHash")})},"add-audio-id-hash")]})},"audio-id-hash-list")})})}),m.jsx(En,{span:24,children:m.jsx(qt.List,{name:"tracks",children:(C,{add:w,remove:E})=>m.jsxs(m.Fragment,{children:[C.map(({key:I,name:T,...R},_)=>m.jsx($a,{gutter:[16,0],children:m.jsx(En,{span:24,children:l.createElement(qt.Item,{...R,key:`track-${I}`,name:[T,"track"],label:m.jsx("div",{children:_===0?s("tonies.addNewCustomTonieModal.track"):""},`track-label-${I}`)},m.jsx(Jt,{style:{width:"100%"},addonAfter:m.jsx(ut,{type:"link",onClick:()=>E(T),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`track-remove-${I}`)},"input-track-"+I))})},`track-row-${I}`)),m.jsx(qt.Item,{children:m.jsx(ut,{type:"dashed",onClick:()=>w(),block:!0,children:s("tonies.addNewCustomTonieModal.addTrack")})},"add-track")]})},"track-list")})]})})]}),x]})},tBe=new xn(pn()),nBe=e=>{const{t}=Nt();Xe.useMessage();const[n,r]=l.useState([]),[a,o]=l.useState(),[i,s]=l.useState(),[c,u]=l.useState(!1),d=async g=>{const h=encodeURIComponent(g),b="/api/toniesJsonSearch?searchModel="+h+"&searchSeries="+h+"&searchEpisode="+h;try{const S=await(await tBe.apiGetTeddyCloudApiRaw(b)).json();s(S);const v=S.map(x=>({value:x.model,text:"["+x.model+"] "+x.series+" - "+x.episode,picture:x.picture}));r(v)}catch(y){Xe.error(t("tonieArticleSearch.failedToFetchSearchResults")+y);return}},f=g=>{o(g),e.onChange(g)},p=()=>{u(!0)};return m.jsxs(m.Fragment,{children:[m.jsx(Ar,{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:m.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[m.jsx("img",{src:g.picture,alt:g.text,style:{display:"none"}}),g.text]})})),style:{marginTop:"8px"}}),m.jsx(fX,{open:c,props:e,setValue:o,onClose:()=>u(!1)}),m.jsx(Zt,{title:t("tonies.addNewCustomTonieHint"),children:m.jsx(ut,{onClick:p,style:{marginTop:8},children:t("tonies.addNewCustomTonie")})})]})},rBe=({countryCode:e,height:t})=>{switch(e){case"de-de":return m.jsxs("svg",{height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 60",children:[m.jsx("path",{d:"M0 0h100v20H0z"}),m.jsx("path",{fill:"#D00",d:"M0 20h100v20H0z"}),m.jsx("path",{fill:"#FFCE00",d:"M0 40h100v20H0z"})]});case"en-gb":return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.666",height:t,children:[m.jsxs("g",{fill:"#FFF",children:[m.jsx("path",{d:"M0 0h100v66.53H0z"}),m.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zM39.045 21.696 0 0v6.141l28.012 15.556z"})]}),m.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"}),m.jsxs("g",{fill:"#D80027",children:[m.jsx("path",{d:"M56.141 0H43.665v27.037H0v12.476h43.664V66.55H56.14V39.513h43.664V27.037H56.14z"}),m.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 m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[m.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),m.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"}),m.jsx("path",{fill:"#2E52B2",d:"M0 0h50v35.887H0z"}),m.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 m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[m.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),m.jsx("path",{fill:"#0052B4",d:"M0 0h33.333v66.667H0z"}),m.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-be":return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[m.jsx("path",{fill:"#fdda25",d:"M0 0h100v66.667H0z"}),m.jsx("path",{d:"M0 0h33.333v66.667H0z"}),m.jsx("path",{fill:"#ef3340",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-nl":return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[m.jsx("path",{fill:"#FFF",d:"M0 22.222h100v22.222H0z"}),m.jsx("path",{fill:"#cd1f2a",d:"M0 0h100v22.222H0z"}),m.jsx("path",{fill:"#1d4185",d:"M0 44.444h100v22.223H0z"})]});case"pt-pt":return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[m.jsx("path",{y:"85.337",fill:"#D80027",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),m.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"}),m.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"}),m.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"}),m.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 m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[m.jsx("path",{fill:"#FFF",d:"M66.667 0H0v66.53h99.805V0Z"}),m.jsx("path",{fill:"#6DA544",d:"M0 0h33.333v66.667H0z"}),m.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"es-es":return m.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[m.jsx("path",{fill:"#FFFFFF",d:"M0 0h100v66.667H0z"}),m.jsx("path",{fill:"#D03433",d:"M0 0h100v17.778H0zm0 48.889h100v17.778H0z"}),m.jsx("path",{fill:"#FBCA46",d:"M0 17.778h100v31.111H0z"}),m.jsx("path",{fill:"#FFFFFF",d:"M34.667 31.111h4.444v2.222h-4.444z"}),m.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"}),m.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 m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[m.jsxs("g",{children:[m.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),m.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"170.663",d:"M0 16.667H100V50H0V16.667z"})]}),m.jsx("path",{y:"256",fill:"#D80027",width:"512",height:"170.663",d:"M0 50H100V83.333H0V50z"})]});case"tr-tr":return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,viewBox:"0 -5000 15000 10000",children:[m.jsx("path",{fill:"#E30A17",d:"M0-5000h15000V5000H0z"}),m.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}},G2=["de-de","en-gb","en-us","es-es","fr-fr","it-it","nl-be","nl-nl","pl-pl","pt-pt","tr-tr","undefined"],aBe=e=>{const{t}=Nt(),[n,r]=Xe.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=(y,S)=>{let v;return(...x)=>{clearTimeout(v),v=setTimeout(()=>y.apply(void 0,x),S)}},p=async y=>{if(o([]),y==="")return;const S=encodeURIComponent(y),v=d+"stations/search?name="+S+"&is_https=true&hidebroken=true";try{const x=await fetch(v,{});if(!x.ok)throw new Error(x.status+" "+x.statusText);const C=await x.json(),w=Array.from(new Set(C.map(E=>E.url))).map(E=>{const I=C.find(T=>T.url===E);return{value:I.url,text:(I.country?"["+I.country+"] ":"")+I.name+(I.language?" ("+I.language+")":"")}});o(w)}catch(x){Xe.error(t("radioStreamSearch.failedToFetchSearchResults")+x);return}},g=l.useCallback(f(p,300),[]),h=y=>{s(y),e.onChange(y)};return c?m.jsxs(m.Fragment,{children:[m.jsx(bn.Text,{style:{fontSize:"small",display:"inline-block",marginTop:"8px"},children:t("radioStreamSearch.searchLabel")}),r,m.jsx(Ar,{showSearch:!0,style:{margin:"8px 0"},value:i,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:g,onChange:h,notFoundContent:null,options:(a||[]).map(y=>({value:y.value,label:y.text}))})]}):m.jsx(m.Fragment,{})},mu=new xn(pn()),{Meta:oBe}=Jd,{Text:G5}=bn,{useToken:iBe}=Ea,sBe=({tonieCard:e,lastRUIDs:t,overlay:n,readOnly:r,defaultLanguage:a="",showSourceInfo:o=!0,onHide:i,onUpdate:s})=>{const{t:c}=Nt(),{token:u}=iBe(),[d,f]=l.useState(0),[p,g]=l.useState(e),[h,b]=Xe.useMessage(),[y,S]=l.useState(p.nocloud),[v,x]=l.useState(p.live),[C,w]=l.useState(p.downloadTriggerUrl),{playAudio:E}=gy(),[I,T]=l.useState(!1),[R,_]=l.useState(!1),[$,P]=l.useState(!1),[D,A]=l.useState(p.tonieInfo.model),[O,N]=l.useState(""),[k,M]=l.useState({validateStatus:"",help:""}),[L,F]=l.useState(p.source),[j,B]=l.useState(""),[z,H]=l.useState({validateStatus:"",help:""}),V=async()=>{try{const we=await mu.apiGetTagInfo(p.ruid,n);g(we),s(we)}catch(we){Xe.error("Error fetching updated card: "+we)}},te=`${p.tonieInfo.series}`+(p.tonieInfo.episode?` - ${p.tonieInfo.episode}`:""),Y="sourceInfo"in p?`${p.sourceInfo.series}`+(p.sourceInfo.episode?` - ${p.sourceInfo.episode}`:""):"",J=o&&"sourceInfo"in p&&(p.sourceInfo.picture!==p.tonieInfo.picture&&te!==Y||p.sourceInfo.picture===p.tonieInfo.picture&&te!==Y),G=(we,_e,Ne)=>{if(we&&we.length===1){const ke=(Ne==="library"?"lib:/":"content:/")+_e+"/"+we[0].name;B(ke)}else B(L)},U=()=>{P(!0)},q=()=>{B(L),P(!1)},X=()=>{N(D),B(L),_(!0)},Q=async()=>{try{L!==j&&await Te(),D!==O&&await ce()}catch{V();return}_(!1),V()},ee=async()=>{try{await mu.apiPostTeddyCloudContentJson(p.ruid,"live="+!v,n),x(!v),v?Xe.success(c("tonies.messages.liveDisabled")):Xe.success(c("tonies.messages.liveEnabled")),V()}catch(we){Xe.error(c("tonies.messages.couldNotChangeLiveFlag")+we)}},oe=async()=>{try{await mu.apiPostTeddyCloudContentJson(p.ruid,"nocloud="+!y,n),g({...p,nocloud:!y}),S(!y),y?Xe.success(c("tonies.messages.cloudAccessEnabled")):Xe.success(c("tonies.messages.cloudAccessBlocked")),V()}catch(we){Xe.error(c("tonies.messages.couldNotChangeCloudFlag")+we)}},le=async we=>{console.log(p),E(we,J?p.sourceInfo:p.tonieInfo,p.trackSeconds)},fe=async()=>{const we=p.downloadTriggerUrl;w("");try{h.open({type:"loading",content:c("tonies.messages.downloading"),duration:0});const Ne=await(await mu.apiGetTeddyCloudApiRaw(we)).blob();h.destroy(),h.open({type:"success",content:c("tonies.messages.downloadedFile")}),V()}catch(_e){h.destroy(),h.open({type:"error",content:c("tonies.messages.errorDuringDownload")+_e}),w(""+we)}},ce=async()=>{try{await mu.apiPostTeddyCloudContentJson(p.ruid,"tonie_model="+encodeURIComponent(O),n),A(O),Xe.success(c("tonies.messages.setTonieToModelSuccessful",{selectedModel:O||c("tonies.messages.setToEmptyValue")})),M({validateStatus:"",help:""})}catch(we){throw Xe.error(c("tonies.messages.setTonieToModelFailed")+we),M({validateStatus:"error",help:c("tonies.messages.setTonieToModelFailed")+we}),we}},Te=async()=>{try{await mu.apiPostTeddyCloudContentJson(p.ruid,"source="+encodeURIComponent(j),n),F(j),Xe.success(c("tonies.messages.setTonieToSourceSuccessful",{selectedSource:j||c("tonies.messages.setToEmptyValue")})),H({validateStatus:"",help:""})}catch(we){throw Xe.error(c("tonies.messages.setTonieToSourceFailed")+we),H({validateStatus:"error",help:c("tonies.messages.setTonieToSourceFailed")+we}),we}y||oe()},Se=we=>{N(we.target.value)},ve=we=>{B(we.target.value)},ae=t.filter(([we])=>we===p.ruid).map(([,we,_e])=>({ruidTime:we,boxName:_e})),ie=we=>{N(we)},ue=we=>{B(we)},ye=m.jsxs(m.Fragment,{children:[m.jsxs("h3",{style:{lineHeight:0},children:[c("tonies.editModal.title"),p.tonieInfo.model?" ("+p.tonieInfo.model+")":""]}),p.tonieInfo.series?m.jsx(G5,{type:"secondary",children:te}):" "]}),Ee=m.jsx(m.Fragment,{children:m.jsxs(ut,{type:"primary",onClick:Q,disabled:L===j&&D===O,children:[m.jsx(uq,{},"saveClick")," ",c("tonies.editModal.save")]})}),Me=m.jsxs(Sn,{open:R,onCancel:()=>_(!1),title:ye,footer:Ee,width:700,children:[m.jsx(Rr,{orientation:"left",orientationMargin:"0",children:c("tonies.editModal.source")}),m.jsx("div",{children:m.jsxs(qt.Item,{validateStatus:z.validateStatus,help:z.help,children:[m.jsx(Jt,{value:j,width:"auto",onChange:ve,addonBefore:m.jsx(Jr,{onClick:()=>{B(L),H({validateStatus:"",help:""})},style:{color:L===j?u.colorTextDisabled:u.colorText,cursor:L===j?"default":"pointer"}}),addonAfter:m.jsx(JO,{onClick:()=>U()})}),m.jsx(aBe,{placeholder:c("tonies.editModal.placeholderSearchForARadioStream"),onChange:ue})]})}),m.jsx(Rr,{orientation:"left",orientationMargin:"0",children:c("tonies.editModal.model")}),m.jsx("div",{children:m.jsxs(qt.Item,{validateStatus:k.validateStatus,help:k.help,children:[m.jsx(Jt,{value:O,width:"auto",onChange:Se,addonBefore:m.jsx(Jr,{onClick:()=>{N(D),M({validateStatus:"",help:""})},style:{color:D===O?u.colorTextDisabled:u.colorText,cursor:D===O?"default":"pointer"}})}),m.jsx(nBe,{placeholder:c("tonies.editModal.placeholderSearchForAModel"),onChange:ie})]})})]}),Ie=m.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[m.jsx(ut,{onClick:q,children:c("tonies.selectFileModal.cancel")}),m.jsx(ut,{type:"primary",onClick:()=>P(!1),children:c("tonies.selectFileModal.ok")})]}),Ce=m.jsx(Sn,{className:"sticky-footer",title:c("tonies.selectFileModal.selectFile"),open:$,onOk:()=>P(!1),onCancel:q,width:"auto",footer:Ie,children:m.jsx(dk,{special:"library",maxSelectedRows:1,trackUrl:!1,filetypeFilter:[".taf",".tap"],onFileSelectChange:G})}),me=r?[m.jsx(Hu,{onClick:()=>{f(d+1),T(!0)}},"info"),p.valid||L.startsWith("http")?m.jsx(Di,{onClick:()=>le(p.valid?""+p.audioUrl:L)},"playpause"):m.jsx(Di,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),m.jsx(DR,{style:{cursor:"default",color:y?"red":u.colorTextDisabled}},"nocloud"),m.jsx(LP,{style:{cursor:"default",color:v?"red":u.colorTextDisabled}},"live")]:[m.jsx(Hu,{onClick:()=>{f(d+1),T(!0)}},"info"),m.jsx(vg,{onClick:X},"edit"),p.valid||L.startsWith("http")?m.jsx(Di,{onClick:()=>le(p.valid?""+p.audioUrl:L)},"playpause"):C&&C.length>0?m.jsx(QO,{onClick:fe},"download"):m.jsx(Di,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),m.jsx(DR,{style:{color:y?"red":u.colorTextDescription},onClick:oe},"nocloud"),m.jsx(LP,{style:{color:v?"red":u.colorTextDescription},onClick:ee},"live")];return m.jsxs(m.Fragment,{children:[b,m.jsx(Jd,{hoverable:!1,size:"small",style:ae&&ae.length>0?{background:u.colorBgContainerDisabled,borderTop:"3px #1677ff inset"}:{background:u.colorBgContainerDisabled,paddingTop:"2px"},title:m.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[m.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:p.tonieInfo.series?p.tonieInfo.series:c("tonies.unsetTonie")}),a!==p.tonieInfo.language?m.jsx(Zt,{placement:"top",zIndex:2,title:c("languageUtil."+p.tonieInfo.language),children:m.jsx(G5,{style:{height:20,width:"auto"},children:m.jsx(rBe,{countryCode:p.tonieInfo.language,height:20})})}):""]}),cover:m.jsxs("div",{style:{position:"relative"},children:[m.jsx("img",{alt:`${p.tonieInfo.series} - ${p.tonieInfo.episode}`,src:p.tonieInfo.picture?p.tonieInfo.picture:"/img_unknown.png",style:p.tonieInfo.picture.endsWith("img_unknown.png")?{padding:8,paddingTop:10,width:"100%"}:{padding:8,width:"100%"}}),J?m.jsx(Zt,{title:`${Y}`?c("tonies.alternativeSource",{originalTonie:'"'+te+'"',assignedContent:'"'+Y+'"'}).replace(' "" '," "):c("tonies.alternativeSourceUnknown",{originalTonie:'"'+te+'"'}).replace(' "" '," "),placement:"bottom",children:m.jsx("img",{src:p.sourceInfo.picture,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),actions:me,children:m.jsx(oBe,{title:`${p.tonieInfo.episode}`,description:p.uid})},p.ruid),m.jsx(ck,{open:I,onClose:()=>T(!1),tonieCardOrTAFRecord:p,showSourceInfo:o,readOnly:r,lastRUIDs:t,onHide:i,overlay:n},d),Ce,Me]})},lBe=({currentPage:e,onChange:t,total:n,pageSize:r,additionalButtonOnClick:a})=>{const{t:o}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(qO,{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}}),m.jsx(ut,{onClick:a,style:{marginLeft:16},children:o("tonies.tonies.showAll")})]})},{Option:cBe}=Ar,Ah=new xn(pn()),q2="toniesListState",fk=({tonieCards:e,showFilter:t,showPagination:n,overlay:r,readOnly:a,defaultLanguage:o="",onToniesCardUpdate:i})=>{const{t:s}=Nt(),c=Ki(),[u,d]=l.useState(e),[f,p]=l.useState(""),[g,h]=l.useState(""),[b,y]=l.useState(""),[S,v]=l.useState([]),[x,C]=l.useState(!1),[w,E]=l.useState(!1),[I,T]=l.useState(!1),[R,_]=l.useState(!1),[$,P]=l.useState(!1),[D,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),[V,te]=l.useState(!0),[Y,J]=l.useState(!0),[G,U]=l.useState([]),[q,X]=l.useState(()=>{const Ae=localStorage.getItem(q2);if(Ae){const{pageSize:be}=JSON.parse(Ae);return be}return 24}),[Q,ee]=l.useState(1),[oe,le]=l.useState(!0),[fe,ce]=l.useState(!1),[Te,Se]=l.useState(!0),[ve,ae]=l.useState([]),[ie,ue]=l.useState(0),[ye,Ee]=l.useState(!1);l.useEffect(()=>{const Ae=localStorage.getItem(q2);if(Ae)try{const{pageSize:be,showAll:Oe}=JSON.parse(Ae);Oe?Ne():(X(be),ke(1,be))}catch(be){console.error("Error parsing stored state:",be)}else console.log("No stored state found.")},[]),l.useEffect(()=>{(async()=>{const Oe=async ze=>await Ah.apiGetTonieboxLastRUID(ze),Fe=async ze=>await Ah.apiGetTonieboxLastRUIDTime(ze),Ke=await Ah.apiGetTonieboxesIndex(),He=await Promise.all(Ke.map(async ze=>{const Ze=await Oe(ze.ID),je=await Fe(ze.ID);return[Ze,je,ze.boxName]}));U(He)})(),(async()=>{const Oe=await Ah.apiGetTeddyCloudSettingRaw("frontend.split_model_content");Ee(await Oe.text()==="true")})()},[]);const Me=l.useMemo(()=>e.map(Ae=>Ae.ruid).join(","),[e]);l.useEffect(()=>{const be=new URLSearchParams(c.search).get("tonieRUID");if(be){p(be),te(!1);const Oe=e.filter(Fe=>Fe.ruid.toLowerCase()===be);d(Oe)}else d(e);ue(Oe=>Oe+1),J(!1)},[c.search,Me]),l.useEffect(()=>{ee(1),ue(Ae=>Ae+1)},[Me]),l.useEffect(()=>{const Ae=JSON.stringify({pageSize:q,paginationEnabled:oe,showAll:fe});localStorage.setItem(q2,Ae)},[Te,q,oe,fe]);const Ie=()=>{Se(!Te)},Ce=Ae=>{i&&i(Ae),d(be=>be.map(Oe=>Oe.ruid===Ae.ruid?Ae:Oe))},me=()=>{let Ae=e.filter(be=>{var Oe,Fe;return(((Oe=be.sourceInfo)==null?void 0:Oe.series)&&be.sourceInfo.series.toLowerCase().includes(g.toLowerCase())||be.tonieInfo.series.toLowerCase().includes(g.toLowerCase()))&&(((Fe=be.sourceInfo)==null?void 0:Fe.episode)&&be.sourceInfo.episode.toLowerCase().includes(b.toLowerCase())||be.tonieInfo.episode.toLowerCase().includes(b.toLowerCase()))&&(S.length===0||S.includes(be.tonieInfo.language!==void 0&&G2.includes(be.tonieInfo.language)?be.tonieInfo.language:"undefined")||S.includes(be.sourceInfo&&be.sourceInfo.language!==void 0&&G2.includes(be.sourceInfo.language)?be.sourceInfo.language:"undefined"))&&(!w||be.valid)&&(!I||!be.valid)&&(!R||be.exists)&&(!$||!be.exists)&&(!D||be.live)&&(!O||!be.live)&&(!k||be.nocloud)&&(!L||!be.nocloud)&&(!j||be.hasCloudAuth)&&(!z||!be.hasCloudAuth)});f&&(Ae=Ae.filter(be=>{var Oe,Fe,Ke;return be.tonieInfo.series.toLowerCase().includes(f.toLowerCase())||((Oe=be.sourceInfo)==null?void 0:Oe.series)&&be.sourceInfo.series.toLowerCase().includes(f.toLowerCase())||be.tonieInfo.episode.toLowerCase().includes(f.toLowerCase())||((Fe=be.sourceInfo)==null?void 0:Fe.episode)&&be.sourceInfo.episode.toLowerCase().includes(f.toLowerCase())||be.tonieInfo.model.toLowerCase().includes(f.toLowerCase())||((Ke=be.sourceInfo)==null?void 0:Ke.model)&&be.sourceInfo.model.toLowerCase().includes(f.toLowerCase())||be.ruid.toLowerCase().includes(f.toLowerCase())||be.uid.toLowerCase().includes(f.toLowerCase())})),x&&(Ae=Ae.filter(be=>G.some(([Oe])=>Oe===be.ruid))),ve&&(Ae=Ae.filter(be=>!ve.includes(be.ruid))),ee(1),d(Ae),ue(be=>be+1)},we=Ae=>{d(u.filter(be=>be.ruid!==Ae)),ae(be=>[...be,Ae]),ue(be=>be+1)},_e=()=>{p(""),h(""),y(""),E(!1),T(!1),_(!1),P(!1),A(!1),N(!1),M(!1),F(!1),B(!1),H(!1),C(!1),v([]);const Ae=window.location.pathname;window.history.pushState({},"",Ae),c.search="",ve&&(e=e.filter(be=>!ve.includes(be.ruid))),d(e),ue(be=>be+1)},Ne=()=>{ce(!0),le(!1),Ie()},he=()=>{le(!0),ce(!1),ke(1,q)},ke=(Ae,be)=>{X(be),ue(Oe=>Oe+1),ee(Ae),Ie(),window.scrollTo(0,0)};if(Y)return m.jsx("div",{children:"Loading..."});const xe=()=>{if(fe)return u!==null?u:e;{const Ae=(Q-1)*q,be=Ae+q;return u!==null?u.slice(Ae,be):e.slice(Ae,be)}},ge=m.jsx("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:oe?m.jsx(lBe,{currentPage:Q,onChange:ke,total:u!==null?u.length:e.length,pageSize:q,additionalButtonOnClick:Ne}):m.jsx(ut,{onClick:he,children:s("tonies.tonies.showPagination")})}),Pe=m.jsxs(m.Fragment,{children:[m.jsx("label",{htmlFor:"search-field",className:"filter-label",children:s("tonies.tonies.filterBar.searchLabel")}),m.jsx(Jt.Search,{id:"search-field",placeholder:s("tonies.tonies.filterBar.searchPlaceholder"),value:f,onChange:Ae=>p(Ae.target.value),onSearch:me,enterButton:!0,style:{margin:"8px 0 8px 0"}}),m.jsxs("div",{className:"filter-container",children:[m.jsx("label",{className:"filter-label",children:s("tonies.tonies.filterBar.filterLabel")}),m.jsx(Jt,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.seriesFilterPlaceholder"),value:g,onChange:Ae=>h(Ae.target.value)}),m.jsx(Jt,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.episodeFilterPlaceholder"),value:b,onChange:Ae=>y(Ae.target.value)}),m.jsx(Ar,{mode:"multiple",placeholder:s("tonies.tonies.filterBar.languagePlaceholder"),value:S,onChange:Ae=>v(Ae),style:{width:"100%",margin:"8px 0"},children:G2.map(Ae=>m.jsx(cBe,{value:Ae,children:s(Ae?"languageUtil."+Ae:"languageUtil.other")},Ae))}),m.jsxs("div",{children:[m.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"16px"},children:[m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:w,onChange:Ae=>E(Ae)}),s("tonies.tonies.filterBar.valid")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:I,onChange:Ae=>T(Ae)}),s("tonies.tonies.filterBar.invalid")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:R,onChange:Ae=>_(Ae)})," ",s("tonies.tonies.filterBar.exists")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:$,onChange:Ae=>P(Ae)}),s("tonies.tonies.filterBar.notExists")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:D,onChange:Ae=>A(Ae)})," ",s("tonies.tonies.filterBar.live")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:O,onChange:Ae=>N(Ae)})," ",s("tonies.tonies.filterBar.unsetLive")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:L,onChange:Ae=>F(Ae)}),s("tonies.tonies.filterBar.unsetNoCloud")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:k,onChange:Ae=>M(Ae)}),s("tonies.tonies.filterBar.noCloud")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:j,onChange:Ae=>B(Ae)}),s("tonies.tonies.filterBar.hasCloudAuth")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:z,onChange:Ae=>H(Ae)}),s("tonies.tonies.filterBar.unsetHasCloudAuth")]}),m.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[m.jsx(za,{checked:x,onChange:Ae=>C(Ae)}),s("tonies.tonies.filterBar.lastPlayed")]})]}),m.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",marginTop:8},children:[m.jsx(ut,{onClick:_e,style:{marginLeft:16},children:s("tonies.tonies.filterBar.resetFilters")}),m.jsx(ut,{onClick:me,style:{marginLeft:16},children:s("tonies.tonies.filterBar.applyFilters")})]})]})]})]}),Ve=[{key:"search-filter",label:s(V?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:Pe}];return m.jsxs("div",{className:"tonies-list-container",children:[t?m.jsx(yl,{items:Ve,defaultActiveKey:V?[]:["search-filter"],onChange:()=>te(!V),bordered:!1}):"",m.jsx(xl,{header:n?ge:"",footer:n?ge:"",grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:4,xxl:6},dataSource:xe(),renderItem:Ae=>m.jsx(xl.Item,{id:Ae.ruid,children:m.jsx(sBe,{tonieCard:Ae,lastRUIDs:G,overlay:r,readOnly:a,defaultLanguage:o,showSourceInfo:ye,onHide:we,onUpdate:Ce})})},ie)]})},jf=new xn(pn()),{Paragraph:Mh}=bn,uBe=()=>{const{t:e}=Nt(),[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 y=await jf.apiGetSecurityMITAlert();a(y)})(),(async()=>{try{const y=await jf.apiGetNewBoxesAllowed();i(y),y&&(async()=>{const v=await jf.apiGetTonieboxesIndex(),x=await Promise.all(v.map(async C=>{const w=await jf.apiGetTonieboxApiAccess(C.ID);return[C.boxName,w]}));d(x)})()}catch(y){Xe.error("Error: "+y)}})(),(async()=>{const y=(await jf.apiGetTagIndexMergedAllOverlays(!0)).filter(S=>!S.hide);n(y.sort((S,v)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())))})()},[]),l.useEffect(()=>{const g={};t.forEach(y=>{const S=y.tonieInfo.language;g[S]?g[S]++:g[S]=1});let h=0,b="";for(const y in g)g.hasOwnProperty(y)&&g[y]>h&&(h=g[y],b=y);c(b)},[t]);const f=u.filter(g=>!g[1]),p=o?m.jsxs(m.Fragment,{children:[m.jsx(An,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}),f.length>0&&m.jsx(An,{message:e("tonieboxes.boxWithoutAPIAccess"),description:m.jsxs(m.Fragment,{children:[e("tonieboxes.boxWithoutAPIAccessText"),m.jsx("ul",{children:f.map(g=>m.jsx("li",{children:g[0]},g[0]))}),e("tonieboxes.boxWithoutAPIAccessGoToTonieboxes"),m.jsx(gt,{to:"/tonieboxes",children:e("tonieboxes.navigationTitle")})]}),type:"info",showIcon:!0,style:{margin:"16px 0"}})]}):null;return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(El,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(El,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsxs(Mh,{children:[m.jsx("h1",{children:e("home.title")}),r?m.jsx(An,{message:e("security.alert"),description:e("security.incident_detected"),type:"error",showIcon:!0,style:{margin:"16px 0"}}):"",e("home.intro"),p]}),m.jsxs(Mh,{children:[e("home.forumIntroPart1"),m.jsx(gt,{to:"https://forum.revvox.de/",target:"_blank",children:"https://forum.revvox.de/"}),e("home.forumIntroPart2")]}),m.jsxs(Mh,{children:[m.jsx("h2",{children:e("home.yourTonies")}),m.jsx(fk,{tonieCards:t.filter(g=>g.type==="tag"&&g.tonieInfo.series).slice(0,6),overlay:"",showFilter:!1,showPagination:!1,readOnly:!0,defaultLanguage:s}),m.jsx(ut,{children:m.jsxs(gt,{to:"/tonies",children:[e("home.toAllYourTonies")," (",t.filter(g=>g.type==="tag").length,")"]})})]}),m.jsxs(Mh,{children:[m.jsx("h2",{children:e("home.helpfulLinks")}),m.jsxs("ul",{children:[m.jsx("li",{children:m.jsx(gt,{to:"/community/faq",children:"FAQ"})}),m.jsx("li",{children:m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"})}),m.jsx("li",{children:m.jsx(gt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"})}),m.jsx("li",{children:m.jsx(gt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"})}),m.jsx("li",{children:m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/",target:"_blank",children:"TeddyCloud Wiki"})})]})]})]})]})]})},{useToken:dBe}=Ea,fBe=()=>{const{token:e}=dBe();return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",x:"0px",y:"0px",width:"100%",viewBox:"0 0 512 512",children:[m.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"}),m.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"})]})},pBe=new xn(pn()),{useToken:gBe}=Ea,pk=({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,x;const{token:u}=gBe(),[d,f]=l.useState([]),p=i,g=o,h=50,b=50,y=(((v=document.getElementById("central-text"))==null?void 0:v.clientWidth)||0)/(p<450?3:2),S=(((x=document.getElementById("central-text"))==null?void 0:x.clientHeight)||0)/(g<500?3:2);return l.useEffect(()=>{(async()=>{const I=(await pBe.apiGetTagIndexMergedAllOverlays(!1)).sort((T,R)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())).filter(T=>!T.tonieInfo.picture.endsWith("/img_unknown.png")&&T.tonieInfo.picture!==null&&T.tonieInfo.picture!==void 0&&T.tonieInfo.picture!==""&&!T.nocloud).slice(0,e).flatMap(T=>T.tonieInfo.picture).map((T,R)=>{if(r&&a){let _,$;do _=Math.random()*(100-t/g*100),$=Math.random()*(100-t/p*100);while(0h-S/g*100-t/g*100&&_b-y/p*100-t/p*100&&$m.jsxs("div",{className:"collage-image-container",style:{position:"absolute",top:C.top,left:C.left,width:"150px",height:"150px",overflow:"hidden",pointerEvents:"none"},children:[m.jsx("img",{src:C.src,alt:`Random ${C.id}`,className:"collage-image",style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&m.jsx("div",{className:"question-mark-overlay",style:{position:"absolute",top:"5%",right:"20%",width:"30%",height:"30%",display:"flex",alignItems:"center",justifyContent:"center"},children:m.jsx(fBe,{})})]},C.id))]})},{Paragraph:mBe}=bn,hBe=()=>{const{t:e}=Nt();return m.jsx(m.Fragment,{children:m.jsx(Dn,{children:m.jsx(mBe,{children:m.jsx(pk,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!0,title:e("404.title"),description:e("404.description")})})})})},vBe=new xn(pn()),bBe=()=>{var a;const{t:e}=Nt(),[t,n]=l.useState(),r=async()=>{var i,s;const o=await vBe.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)},[]),m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(El,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(El,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("home.stats.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("home.stats.title")}),(a=t==null?void 0:t.stats)==null?void 0:a.map(o=>m.jsxs("div",{children:[m.jsx("h2",{children:e("home.stats."+o.iD)}),m.jsx("p",{children:o.value})]},o.iD))]})]})]})},yBe=new GK(pn()),SBe=new jOe(pn()),xBe=()=>{const{t:e}=Nt(),[t,n]=l.useState(!1),[r,a]=l.useState(!1),o=async()=>{try{(await yBe.v1TimeGet()).length===10&&a(!0)}catch{a(!1)}try{(await SBe.reverseV1TimeGet()).length===10&&n(!0)}catch{n(!1)}};return l.useEffect(()=>{o()},[]),m.jsxs(Na,{children:[m.jsx(Zt,{title:e(t?"server.boxineStatusOnline":"server.boxineStatusOffline"),children:m.jsxs(Ib,{icon:t?m.jsx(MR,{}):m.jsx(MP,{}),color:t?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[m.jsx(In,{children:"B"}),m.jsx(xg,{children:"Boxine"})]})}),m.jsx(Zt,{title:e(r?"server.teddycloudStatusOnline":"server.teddycloudStatusOffline"),children:m.jsxs(Ib,{icon:r?m.jsx(MR,{}):m.jsx(MP,{}),color:r?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[m.jsx(In,{children:"TC"}),m.jsx(xg,{children:"TeddyCloud"})]})})]})},wBe=()=>{var o;const{t:e,i18n:t}=Nt(),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")},{key:"4",label:e("language.spanish"),onClick:()=>n("es")}],a=t.language;return m.jsx(Na,{children:m.jsx(ny,{menu:{items:r},trigger:["click"],children:m.jsx("a",{href:"/",onClick:i=>i.preventDefault(),title:e("language.change"),children:m.jsxs(Ib,{color:"transparent",children:[m.jsx(lq,{})," ",m.jsx("strong",{children:(o=r.find(i=>i.onClick&&i.onClick.toString().includes(a)))==null?void 0:o.label})]})})})})},q5=new xn(pn()),{useToken:CBe}=Ea,EBe=La.img` + height: 32px; +`,IBe=La(qG)` + color: white; + display: flex; + align-items: center; + padding-left: 16px; + padding-right: 16px; + background: #141414; +`,TBe=La.div` + margin-left: auto; + display: flex; + align-items: center; +`,RBe=La.div` + margin-right: 12px; + display: flex; + align-items: center; +`,_Be=({themeSwitch:e})=>{const{t}=Nt(),{token:n}=CBe(),[r,a]=l.useState(!1),o=Ki();l.useEffect(()=>{const u=document.querySelector('meta[name="theme-color"]');if(u)u.setAttribute("content",n.colorBgBase);else{const d=document.createElement("meta");d.name="theme-color",d.content=n.colorBgBase,document.head.appendChild(d)}},[n.colorBgBase]);const i=[{key:"/",label:m.jsx(gt,{to:"/",children:t("home.navigationTitle")}),onClick:()=>a(!1)},{key:"tonies",label:m.jsx(gt,{to:"/tonies",children:t("tonies.navigationTitle")}),onClick:()=>a(!1)},{key:"tonieboxes",label:m.jsx(gt,{to:"/tonieboxes",children:t("tonieboxes.navigationTitle")}),onClick:()=>a(!1)},{key:"settings",label:m.jsx(gt,{to:"/settings",children:t("settings.navigationTitle")}),onClick:()=>a(!1)},{key:"community",label:m.jsx(gt,{to:"/community",children:t("community.navigationTitle")}),onClick:()=>a(!1)}];let s=o.pathname.split("/")[1];s||(s="/"),s==="home"&&(s="/");const c=()=>{Sn.error({title:t("home.error"),content:t("home.errorWebVersionMismatch"),okText:t("home.errorConfirm")})};return l.useEffect(()=>{(async()=>{const d=async()=>{try{return await(await q5.apiGetTeddyCloudSettingRaw("frontend.ignore_web_version_mismatch")).text()==="true"}catch{return console.log("Something went wrong getting ignoreWebVersionMismatch."),!1}},f=async()=>{try{const g=await(await q5.apiGetTeddyCloudSettingRaw("internal.version_web.git_sha")).text(),y=(await(await fetch("/web/web_version.json")).json()).web_gitSha;console.log("expected Web Git Sha: ",g),console.log("actual Web Git Sha: ",y),g!==y&&c()}catch{console.log("Something went wrong getting gitSha.")}};await d()||await f()})()},[]),m.jsxs(IBe,{children:[m.jsx(gt,{to:"/",style:{color:"white"},children:m.jsxs(RBe,{children:[m.jsx(EBe,{src:hK}),m.jsx(xg,{children:" TeddyCloud Server"})]})}),m.jsx(xg,{children:m.jsx(Wi,{theme:"dark",mode:"horizontal",items:i,selectedKeys:[s],style:{width:"calc(100vw - 480px)",background:"#141414 !important"}})}),m.jsxs(TBe,{children:[m.jsx(xBe,{}),e,m.jsx(wBe,{}),m.jsxs(In,{children:[m.jsx(ut,{className:"barsMenu",type:"primary",onClick:()=>a(!0),icon:m.jsx(Fwe,{})}),m.jsx(RG,{placement:"right",open:r,onClose:()=>a(!1),children:m.jsx(Wi,{mode:"vertical",items:i,selectedKeys:[s]})})]})]})]})},{useToken:$Be}=Ea,OBe=()=>$Be().token,NBe=({onVisibilityChange:e})=>{const{t}=Nt(),{songImage:n,songArtist:r,songTitle:a,songTracks:o}=gy(),i=document.getElementById("globalAudioPlayer"),s=new xn(pn()),[c,u]=l.useState("none"),[d,f]=l.useState(!1),[p,g]=l.useState(!1),[h,b]=l.useState(0),[y,S]=l.useState("0:00"),[v,x]=l.useState("0:00"),[C,w]=l.useState(0),[E,I]=l.useState({left:0,top:0,visible:!1}),[T,R]=l.useState(!1),[_,$]=l.useState(100),[P,D]=l.useState(100),[A,O]=l.useState(!1),[N,k]=l.useState(!0),[M,L]=l.useState(!1);l.useEffect(()=>{i&&(_===null?i.volume=0:i.volume=_/100)},[_,i]),l.useEffect(()=>{(async()=>{const me=await(await s.apiGetTeddyCloudSettingRaw("frontend.confirm_audioplayer_close")).text()==="true";k(me)})()},[c]);const F=Ie=>{Array.isArray(Ie)||$(Ie)},j=()=>{D(_),$(0)},B=()=>{$(P)},z=()=>{g(!0)},H=()=>{g(!1)},V=()=>{g(!1)},te=()=>{i.play()},Y=()=>{i.pause()},J=()=>{le(),i.src="",i.removeAttribute("src"),i.load(),u("none"),e()};l.useEffect(()=>{e(),i!=null&&i.src&&c==="none"&&u("flex")},[c,i==null?void 0:i.src,e]);const G=Ie=>{const Ce=Ie.target,me=Math.floor(Ce.currentTime/60),we=Math.floor(Ce.currentTime%60);b(Ce.currentTime/i.duration*100),S(`${me}:${we<10?"0":""}${we}`)};l.useEffect(()=>{const Ie=document.getElementById("globalAudioPlayer");Ie.addEventListener("loadedmetadata",()=>{const Ce=Math.floor(Ie.duration/60),me=Math.floor(Ie.duration%60);x(`${Ce}:${me<10?"0":""}${me}`)}),Ie.addEventListener("progress",()=>{if(Ie.buffered.length>0){const Ce=Ie.buffered.end(Ie.buffered.length-1),me=Ie.duration;me>0&&w(Ce/me*100)}})},[]);const U=Ie=>{if("touches"in Ie){const Ce=Ie.touches[0],me=Ie.currentTarget.getBoundingClientRect(),we=Ce.clientX-me.left,_e=me.height/2;I({left:we,top:_e,visible:!0}),i.currentTime=we/(d?100:150)*i.duration,L(!0)}else{const Ce=Ie.currentTarget.getBoundingClientRect(),me=Ie.clientX-Ce.left,we=Ce.height/2;I({left:me,top:we,visible:!0}),T&&X()}},q=()=>{I({left:0,top:0,visible:!1})},X=()=>{M?(L(!1),q()):i.currentTime=E.left/(d?100:150)*i.duration},Q=Ie=>{R(!0)},ee=Ie=>{R(!1)},oe=()=>{f(!d),e()},le=()=>{O(!1)},fe=()=>{N?O(!0):J()},ce=()=>{let Ie=0;for(;i.currentTime>o[Ie]&&(Ie++,!(Ie>o.length)););Ie>1&&Ie<=o.length?i.currentTime=o[Ie-2]:Ie<=1&&(i.currentTime=0)},Te=()=>{let Ie=0;for(;i.currentTime>o[Ie]&&(Ie++,!(Ie>o.length)););Ie{const Ie=Ce=>{Ce?(i==null||i.play(),g(!0)):(i==null||i.pause(),g(!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",()=>{Ie(!0)}),navigator.mediaSession.setActionHandler("pause",()=>{Ie(!1)}),navigator.mediaSession.setActionHandler("previoustrack",ce),o.length>0&&navigator.mediaSession.setActionHandler("nexttrack",Te))},[a,r,n,o,i]),l.useEffect(()=>{if(navigator.mediaSession&&i){const Ie=i.duration||0,Ce=h*Ie/100||0,me=i.playbackRate||1;try{navigator.mediaSession.setPositionState({duration:Ie,position:Ce,playbackRate:me})}catch(we){console.error("Error setting media session position state:",we)}}},[h,i]);const Se=window.innerWidth<=768,ve=Se?{...Gn.innerContainer,flexDirection:"column",alignItems:"center",width:"100%",gap:8}:Gn.innerContainer,ae=Se?{...Gn.controls2,width:"100%"}:Gn.controls2,ie=Se?{...Gn.progressBar,width:200,marginRight:0}:Gn.progressBar;l.useEffect(()=>{e()},[e,Se]);const ue=m.jsxs(m.Fragment,{children:[d?m.jsx(A1e,{onClick:oe}):m.jsx(OCe,{onClick:oe}),m.jsx(_V,{title:m.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[m.jsxs("div",{children:[m.jsx(gq,{})," ",t("tonies.closeAudioPlayerPopover")]}),m.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:8},children:[m.jsx(ut,{onClick:le,children:t("tonies.cancel")}),m.jsx(ut,{onClick:J,children:t("tonies.closeAudioPlayer")})]})]}),open:A,trigger:"click",onOpenChange:le,className:"closePlayerPopover",placement:"top",style:{right:8},children:m.jsx(Jr,{style:{margin:"0 0 0 10px"},onClick:fe})})]}),ye=m.jsxs(m.Fragment,{children:[m.jsx(iy,{type:"line",success:{percent:h,strokeColor:"#1677ff"},percent:C,strokeColor:"#272727",format:()=>"",status:"active",showInfo:!1}),E.visible&&m.jsx("svg",{style:{position:"absolute",left:E.left,top:E.top,transform:"translate(-50%, -50%)"},width:"16",height:"16",viewBox:"0 0 16 16",children:m.jsx("circle",{cx:"8",cy:"8",r:"8",fill:"rgba(0,0,0,0.5)"})})]}),Ee=d?m.jsx(m.Fragment,{children:m.jsx("span",{id:"minimalAudioPlayer",style:{...ve,display:d?"flex":"none",padding:0},children:m.jsxs("div",{style:Gn.trackInfo,children:[p?m.jsx(DP,{style:{fontSize:24,marginRight:8},onClick:Y}):m.jsx(Di,{style:{fontSize:24,marginRight:8},onClick:te}),n&&m.jsx("img",{src:n,alt:"Song",style:Gn.songImage}),v.startsWith("Infinity")?m.jsx("div",{style:{...Gn.playPositionContainer,marginRight:0},children:m.jsxs("div",{style:{display:"flex"},children:[m.jsx("div",{style:{textAlign:"center",marginBottom:0},children:" "}),m.jsx("span",{children:ue})]})}):m.jsxs("div",{style:{...Gn.playPositionContainer,marginRight:0},children:[m.jsxs("div",{style:{display:"flex"},children:[m.jsxs("div",{style:{textAlign:"center",marginBottom:0},children:[y," / ",v]}),m.jsx("span",{style:{margin:0,marginLeft:16,textAlign:"right"},children:ue})]}),m.jsx("div",{style:{...ie,width:100},onMouseDown:Q,onMouseMove:U,onMouseUp:ee,onMouseLeave:q,onTouchStart:U,onTouchMove:U,onClick:X,children:ye})]})]})})}):"",Me=d?"":m.jsxs(m.Fragment,{children:[m.jsx("span",{id:"normalAudioPlayer",style:{margin:0,marginLeft:16,textAlign:"right",display:d?"none":"flex",position:"absolute"},children:ue}),m.jsxs("span",{style:{...ve,display:d?"none":"flex"},children:[m.jsxs("div",{id:"audioPlayer",style:Gn.controls,children:[m.jsx(FCe,{style:Gn.controlButton,onClick:ce}),p?m.jsx(DP,{style:Gn.controlButton,onClick:Y}):m.jsx(Di,{style:Gn.controlButton,onClick:te}),m.jsx(zCe,{style:{...Gn.controlButton,cursor:o.length===0?"default":"pointer",opacity:o.length===0?.25:1},disabled:o.length===0,onClick:Te})]}),m.jsxs("div",{style:Gn.trackInfo,children:[n&&m.jsx("img",{src:n,alt:"Song",style:Gn.songImage}),m.jsxs("div",{style:Gn.songContainer,children:[m.jsx("div",{children:a}),m.jsx("div",{children:r})]})]}),v.startsWith("Infinity")?"":m.jsxs("div",{style:Gn.playPositionContainer,children:[m.jsx("div",{children:m.jsxs("div",{style:{textAlign:"center"},children:[y," / ",v]})}),m.jsx("div",{style:ie,onMouseDown:Q,onMouseMove:U,onMouseUp:ee,onMouseLeave:q,onTouchStart:U,onTouchMove:U,onClick:X,children:ye})]}),m.jsx("div",{style:ae,children:m.jsxs("div",{style:{...Gn.controls,position:"relative"},children:[m.jsx(Xwe,{style:{...Gn.controlButton,...Gn.volumeIcon,display:(_||0)===0?"block":"none"},onClick:B}),m.jsx(dq,{style:{...Gn.controlButton,...Gn.volumeIcon,display:(_||0)>0?"block":"none"},onClick:j}),m.jsx("div",{style:Gn.volumeSlider,children:m.jsx(Vbe,{min:0,max:100,value:_||0,onChange:F})})]})})]})]});return m.jsxs(m.Fragment,{children:[m.jsxs("div",{style:{...Gn.container,display:c,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:[Ee,Me]}),m.jsx("audio",{id:"globalAudioPlayer",controls:!0,onPlay:z,onPause:H,onEnded:V,onTimeUpdate:G,style:{display:"none"},children:"Your browser does not support the audio element."})]})},Gn={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:`${()=>OBe().colorBgContainer}`,padding:0},volumeIcon:{fontSize:24,cursor:"pointer",marginBottom:0}},kBe=La(KG)` + position: fixed; + bottom: 0; + z-index: 10; + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + padding: 16px 50px; + color: white; +`,K5=La.div` + margin: auto; + display: flex; + align-items: center; +`,K2=new xn(pn()),ABe=()=>{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(()=>{K2.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(u=>u.text()).then(u=>r(u)).catch(u=>console.error("Error fetching data:",u)),K2.apiGetTeddyCloudSettingRaw("internal.version.v_short").then(u=>u.text()).then(u=>o(u)).catch(u=>console.error("Error fetching data:",u)),K2.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(u=>u.text()).then(u=>s(u)).catch(u=>console.error("Error fetching data:",u))},[]),m.jsxs(m.Fragment,{children:[m.jsx("div",{style:{paddingBottom:e}}),m.jsxs(kBe,{children:[m.jsx(K5,{children:m.jsx(NBe,{onVisibilityChange:c})}),m.jsx(K5,{children:m.jsx("div",{children:m.jsx("small",{children:m.jsxs(gt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/",target:"_blank",children:[m.jsxs(In,{children:[a," (",i,")"]}),m.jsx(xg,{children:n})]})})})})]})]})},Wo=()=>{const{t:e}=Nt(),[t,n]=l.useState(!1),[r,a]=l.useState(""),o=()=>{n(!0),a("")},i=[{key:"tonies",label:m.jsx(gt,{to:"/tonies",children:e("tonies.tonies.navigationTitle")}),icon:se.createElement(pq),title:e("tonies.tonies.navigationTitle")},{key:"custom-json",label:m.jsx("label",{style:{cursor:"pointer"},children:e("tonies.addToniesCustomJsonEntry")}),onClick:o,icon:se.createElement(aEe),title:e("tonies.addToniesCustomJsonEntry")},{key:"encoder",label:m.jsx(gt,{to:"/tonies/encoder",children:e("tonies.encoder.navigationTitle")}),icon:se.createElement(dxe),title:e("tonies.encoder.navigationTitle")},{key:"tap",label:m.jsx(gt,{to:"/tonies/tap",children:e("tonies.tap.navigationTitle")}),icon:se.createElement(QCe),title:e("tonies.tap.navigationTitle")},{key:"library",label:m.jsx(gt,{to:"/tonies/library",children:e("tonies.library.navigationTitle")}),icon:se.createElement(D1e),title:e("tonies.library.navigationTitle")},{key:"content",label:m.jsx(gt,{to:"/tonies/content",children:e("tonies.content.navigationTitle")}),icon:se.createElement(dq),title:e("tonies.content.navigationTitle")},{key:"system-sounds",label:m.jsx(gt,{to:"/tonies/system-sounds",children:e("tonies.system-sounds.navigationTitle")}),icon:se.createElement(nN),title:e("tonies.system-sounds.navigationTitle")}];return m.jsxs(m.Fragment,{children:[m.jsx(bm,{mode:"inline",selectedKeys:[r],defaultOpenKeys:["sub"],items:i}),t&&m.jsx(fX,{open:t,onClose:()=>n(!1)})]})},Y2=new xn(pn()),gk=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 Y2.apiGetTonieboxesIndex(),u=(await Promise.all(s.map(async g=>[await Y2.apiGetTonieboxContentDir(g.ID),g.boxName,g.ID]))).reduce((g,[h,b,y])=>{const S=g.findIndex(v=>v[0]===h);return S!==-1?(g[S][1].push(b),r===y&&a(g[S][2])):g.push([h,[b],y]),g},[]),d=await Y2.apiGetTonieboxContentDir("");u.findIndex(g=>g[0]===d)===-1&&u.push(["",["TeddyCloud Default Content Dir"],""]);const p=u.map(([g,h,b])=>[g,h,b]);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)}}},MBe=new xn(pn()),{Option:PBe}=Ar,DBe=()=>{const e=Ki(),n=new URLSearchParams(e.search).get("overlay"),{t:r}=Nt(),[a,o]=l.useState([]),{tonieBoxContentDirs:i,overlay:s,handleSelectChange:c}=gk(n),[u,d]=l.useState(""),f=p=>{o(g=>g.map(h=>h.ruid===p.ruid?p:h))};return l.useEffect(()=>{(async()=>{const g=(await MBe.apiGetTagIndex(s||"",!0)).filter(h=>!h.hide);o(g.sort((h,b)=>h.tonieInfo.seriesb.tonieInfo.series?1:h.tonieInfo.episodeb.tonieInfo.episode?1:0))})()},[s]),l.useEffect(()=>{const p={};a.forEach(b=>{const y=b.tonieInfo.language;p[y]?p[y]++:p[y]=1});let g=0,h="";for(const b in p)p.hasOwnProperty(b)&&p[b]>g&&(g=p[b],h=b);d(h)},[a]),m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Wo,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Wo,{})}),m.jsx(zn,{items:[{title:r("home.navigationTitle")},{title:r("tonies.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[m.jsx("h1",{style:{width:"200px"},children:r("tonies.title")}),i.length>1?m.jsx(Zt,{title:r("tonies.content.showToniesOfBoxes"),children:m.jsx(Ar,{id:"contentDirectorySelect",defaultValue:"",onChange:c,style:{maxWidth:"300px"},value:s,children:i.map(([p,g,h])=>m.jsx(PBe,{value:h,children:g.join(", ")},h))})}):""]}),m.jsx(fk,{showFilter:!0,showPagination:!0,tonieCards:a.filter(p=>p.type==="tag"),overlay:s,readOnly:!1,defaultLanguage:u,onToniesCardUpdate:f})]})]})]})},LBe=new xn(pn()),{Option:FBe}=Ar,jBe=()=>{const{t:e}=Nt(),[t,n]=l.useState([]),{tonieBoxContentDirs:r,overlay:a,handleSelectChange:o}=gk();return l.useEffect(()=>{(async()=>{const s=await LBe.apiGetTagIndex(a||"");n(s.sort((c,u)=>c.tonieInfo.seriesu.tonieInfo.series?1:c.tonieInfo.episodeu.tonieInfo.episode?1:0))})()},[a]),m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Wo,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Wo,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.system-sounds.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[m.jsx("h1",{children:e("tonies.system-sounds.title")}),r.length>1?m.jsx(Ar,{id:"contentDirectorySelect",defaultValue:"",onChange:o,style:{maxWidth:"300px"},value:a,title:e("tonies.content.showToniesOfBoxes"),children:r.map(([i,s,c])=>m.jsx(FBe,{value:c,children:s.join(", ")},c))}):""]}),m.jsx(fk,{showFilter:!1,showPagination:!0,tonieCards:t.filter(i=>i.type==="system"),overlay:a,readOnly:!1})]})]})]})},{useToken:BBe}=Ea,zBe=uk,pX=({open:e,initialValuesJson:t,onCreate:n,onCancel:r})=>{const{t:a}=Nt(),{token:o}=BBe(),[i]=qt.useForm(),[s,c]=l.useState([]),[u,d]=l.useState(!1),[f,p]=l.useState(0),[g,h]=l.useState(-1);l.useEffect(()=>{c([])},[]),l.useEffect(()=>{if(t)try{const N=JSON.parse(t);i.setFieldsValue(N)}catch(N){console.error("Error parsing JSON:",N)}},[i,t]);const b=()=>{i.resetFields()},y=N=>{i.setFieldsValue({filepath:N.target.value})},S=(N,k,M)=>{if(N){const L=M==="library"?"lib:/":"content:/",F=N.map(j=>({filepath:L+k+"/"+j.name,name:j.name}));c(F)}},v=()=>{p(N=>N+1),d(!0)},x=N=>{p(k=>k+1),d(!0),h(N),c([i.getFieldValue(["files",N])])},C=()=>{const N=i.getFieldsValue();let k=[...N.files];g!==-1?k[g]={filepath:s[0].filepath,name:s[0].name}:k=[...N.files,...s];const M={...N,files:k};i.setFieldsValue(M),d(!1),c([]),h(-1)},w=()=>{d(!1),c([])},[E,I]=l.useState(""),[T,R]=l.useState(""),[_,$]=l.useState(!1),P=m.jsx(ut,{type:"primary",onClick:()=>$(!1),children:a("tonies.informationModal.ok")}),D=()=>{$(!1)},A=m.jsx(Sn,{footer:P,width:1e3,title:"File (you can copy the content to a *.tap file)",open:_,onCancel:D,children:E?m.jsxs(m.Fragment,{children:[m.jsx(ba,{language:"json",code:E}),m.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),m.jsx(ba,{language:"json",showLineNumbers:!1,code:T})]}):"Loading..."}),O=m.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:o.colorBgElevated},children:[m.jsx(ut,{onClick:w,children:a("tonies.selectFileModal.cancel")}),m.jsx(ut,{type:"primary",onClick:C,children:a("tonies.selectFileModal.ok")})]});return m.jsxs(m.Fragment,{children:[m.jsxs(Sn,{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(),b()},onOk:()=>{i.validateFields().then(()=>{n(i.getFieldsValue()),I(JSON.stringify(i.getFieldsValue(),null,2)),R(JSON.stringify(i.getFieldsValue(),null,0)),$(!0),b()}).catch(N=>{console.log("Validate Failed:",N)})},children:[m.jsx(An,{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}}),m.jsxs(qt,{form:i,layout:"vertical",name:"tapEditorModal",initialValues:{type:"tap",filepath:"",name:"",files:[]},children:[m.jsx(qt.Item,{name:"type",hidden:!0,label:"type",children:m.jsx(Jt,{type:"string"})}),m.jsx(qt.Item,{name:"audio_id",label:"Audio ID",children:m.jsx(Jt,{type:"number"})}),m.jsx(qt.Item,{name:"filepath",label:a("tonies.tapEditor.filePath"),children:m.jsx(Jt,{onChange:y})}),m.jsx(qt.Item,{name:"name",label:a("tonies.tapEditor.name"),rules:[{required:!0,message:a("tonies.tapEditor.nameRequired")}],children:m.jsx(Jt,{})}),m.jsx(qt.List,{name:"files",children:(N,{add:k,remove:M})=>m.jsxs(m.Fragment,{children:[N.map(({key:L,name:F},j)=>m.jsx("div",{className:"playlistTitle",children:m.jsxs(Na,{style:{display:"flex",marginBottom:8,alignItems:"center",width:"100%"},align:"baseline",children:[m.jsx(qt.Item,{name:[F,"filepath"],label:a("tonies.tapEditor.filePathContentFile"),rules:[{required:!0,message:a("tonies.tapEditor.filePathContentFileRequired")}],children:m.jsx(Jt,{width:"auto",addonBefore:m.jsx(Jr,{onClick:()=>{const B=[...i.getFieldsValue().files];B[j].filepath="",i.setFieldsValue({files:B})}}),addonAfter:m.jsx(JO,{onClick:()=>x(j)})})}),m.jsx(qt.Item,{name:[F,"name"],label:a("tonies.tapEditor.fileNameContentFile"),children:m.jsx(Jt,{placeholder:"Name"})}),m.jsx(zwe,{onClick:()=>M(F)})]},`space-${L}`)},`files-${L}`)),m.jsx(qt.Item,{children:m.jsx(ut,{type:"dashed",onClick:()=>v(),block:!0,icon:m.jsx(UW,{}),children:a("tonies.tapEditor.addFile")})})]})})]}),m.jsx(Sn,{className:"sticky-footer",title:a("tonies.selectFileModal.selectFile"),open:u,onOk:C,onCancel:w,width:"auto",footer:O,children:m.jsx(dk,{maxSelectedRows:99,special:"library",trackUrl:!1,filetypeFilter:zBe,onFileSelectChange:S},f)})]}),A]})};function HBe(){for(var e=arguments.length,t=new Array(e),n=0;nr=>{t.forEach(a=>a(r))},t)}const zy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function cf(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function mk(e){return"nodeType"in e}function no(e){var t,n;return e?cf(e)?e:mk(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function hk(e){const{Document:t}=no(e);return e instanceof t}function Em(e){return cf(e)?!1:e instanceof no(e).HTMLElement}function gX(e){return e instanceof no(e).SVGElement}function uf(e){return e?cf(e)?e.document:mk(e)?hk(e)?e:Em(e)||gX(e)?e.ownerDocument:document:document:document}const vi=zy?l.useLayoutEffect:l.useEffect;function vk(e){const t=l.useRef(e);return vi(()=>{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 Tg(e,t){t===void 0&&(t=[e]);const n=l.useRef(e);return vi(()=>{n.current!==e&&(n.current=e)},t),n}function Im(e,t){const n=l.useRef();return l.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function Mb(e){const t=vk(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 y_(e){const t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current}let X2={};function Tm(e,t){return l.useMemo(()=>{if(t)return t;const n=X2[e]==null?0:X2[e]+1;return X2[e]=n,e+"-"+n},[e,t])}function mX(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 ad=mX(1),Pb=mX(-1);function VBe(e){return"clientX"in e&&"clientY"in e}function bk(e){if(!e)return!1;const{KeyboardEvent:t}=no(e.target);return t&&e instanceof t}function WBe(e){if(!e)return!1;const{TouchEvent:t}=no(e.target);return t&&e instanceof t}function S_(e){if(WBe(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 VBe(e)?{x:e.clientX,y:e.clientY}:null}const Md=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[Md.Translate.toString(e),Md.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 GBe(e){return e.matches(Y5)?e:e.querySelector(Y5)}const qBe={display:"none"};function KBe(e){let{id:t,value:n}=e;return se.createElement("div",{id:t,style:qBe},n)}function YBe(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 se.createElement("div",{id:t,style:a,role:"status","aria-live":r,"aria-atomic":!0},n)}function XBe(){const[e,t]=l.useState("");return{announce:l.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const hX=l.createContext(null);function ZBe(e){const t=l.useContext(hX);l.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function QBe(){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 JBe={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. + `},e7e={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 t7e(e){let{announcements:t=e7e,container:n,hiddenTextDescribedById:r,screenReaderInstructions:a=JBe}=e;const{announce:o,announcement:i}=XBe(),s=Tm("DndLiveRegion"),[c,u]=l.useState(!1);if(l.useEffect(()=>{u(!0)},[]),ZBe(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=se.createElement(se.Fragment,null,se.createElement(KBe,{id:r,value:a.draggable}),se.createElement(YBe,{id:s,announcement:i}));return n?Lr.createPortal(d,n):d}var Dr;(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"})(Dr||(Dr={}));function Db(){}function vX(e,t){return l.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}const bi=Object.freeze({x:0,y:0});function n7e(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function r7e(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function a7e(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=a7e(s,t);c>0&&a.push({id:i,data:{droppableContainer:o,value:c}})}}return a.sort(n7e)};function i7e(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function bX(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:bi}function s7e(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 l7e=s7e(1);function c7e(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 u7e(e,t,n){const r=c7e(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 d7e={ignoreTransform:!1};function df(e,t){t===void 0&&(t=d7e);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=no(e).getComputedStyle(e);u&&(n=u7e(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 X5(e){return df(e,{ignoreTransform:!0})}function f7e(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function p7e(e,t){return t===void 0&&(t=no(e).getComputedStyle(e)),t.position==="fixed"}function g7e(e,t){t===void 0&&(t=no(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 yk(e,t){const n=[];function r(a){if(t!=null&&n.length>=t||!a)return n;if(hk(a)&&a.scrollingElement!=null&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!Em(a)||gX(a)||n.includes(a))return n;const o=no(e).getComputedStyle(a);return a!==e&&g7e(a,o)&&n.push(a),p7e(a,o)?n:r(a.parentNode)}return e?r(e):n}function yX(e){const[t]=yk(e,1);return t??null}function Z2(e){return!zy||!e?null:cf(e)?e:mk(e)?hk(e)||e===uf(e).scrollingElement?window:Em(e)?e:null:null}function SX(e){return cf(e)?e.scrollX:e.scrollLeft}function xX(e){return cf(e)?e.scrollY:e.scrollTop}function x_(e){return{x:SX(e),y:xX(e)}}var Kr;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Kr||(Kr={}));function wX(e){return!zy||!e?!1:e===document.scrollingElement}function CX(e){const t={x:0,y:0},n=wX(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 m7e={x:.2,y:.2};function h7e(e,t,n,r,a){let{top:o,left:i,right:s,bottom:c}=n;r===void 0&&(r=10),a===void 0&&(a=m7e);const{isTop:u,isBottom:d,isLeft:f,isRight:p}=CX(e),g={x:0,y:0},h={x:0,y:0},b={height:t.height*a.y,width:t.width*a.x};return!u&&o<=t.top+b.height?(g.y=Kr.Backward,h.y=r*Math.abs((t.top+b.height-o)/b.height)):!d&&c>=t.bottom-b.height&&(g.y=Kr.Forward,h.y=r*Math.abs((t.bottom-b.height-c)/b.height)),!p&&s>=t.right-b.width?(g.x=Kr.Forward,h.x=r*Math.abs((t.right-b.width-s)/b.width)):!f&&i<=t.left+b.width&&(g.x=Kr.Backward,h.x=r*Math.abs((t.left+b.width-i)/b.width)),{direction:g,speed:h}}function v7e(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 EX(e){return e.reduce((t,n)=>ad(t,x_(n)),bi)}function b7e(e){return e.reduce((t,n)=>t+SX(n),0)}function y7e(e){return e.reduce((t,n)=>t+xX(n),0)}function S7e(e,t){if(t===void 0&&(t=df),!e)return;const{top:n,left:r,bottom:a,right:o}=t(e);yX(e)&&(a<=0||o<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const x7e=[["x",["left","right"],b7e],["y",["top","bottom"],y7e]];class Sk{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=yk(n),a=EX(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[o,i,s]of x7e)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 Rp{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 w7e(e){const{EventTarget:t}=no(e);return e instanceof t?e:uf(e)}function Q2(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 Ao;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Ao||(Ao={}));function Z5(e){e.preventDefault()}function C7e(e){e.stopPropagation()}var kn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(kn||(kn={}));const IX={start:[kn.Space,kn.Enter],cancel:[kn.Esc],end:[kn.Space,kn.Enter]},E7e=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case kn.Right:return{...n,x:n.x+25};case kn.Left:return{...n,x:n.x-25};case kn.Down:return{...n,y:n.y+25};case kn.Up:return{...n,y:n.y-25}}};class TX{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 Rp(uf(n)),this.windowListeners=new Rp(no(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ao.Resize,this.handleCancel),this.windowListeners.add(Ao.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Ao.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&S7e(r),n(bi)}handleKeyDown(t){if(bk(t)){const{active:n,context:r,options:a}=this.props,{keyboardCodes:o=IX,coordinateGetter:i=E7e,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}:bi;this.referenceCoordinates||(this.referenceCoordinates=d);const f=i(t,{active:n,context:r.current,currentCoordinates:d});if(f){const p=Pb(f,d),g={x:0,y:0},{scrollableAncestors:h}=r.current;for(const b of h){const y=t.code,{isTop:S,isRight:v,isLeft:x,isBottom:C,maxScroll:w,minScroll:E}=CX(b),I=v7e(b),T={x:Math.min(y===kn.Right?I.right-I.width/2:I.right,Math.max(y===kn.Right?I.left:I.left+I.width/2,f.x)),y:Math.min(y===kn.Down?I.bottom-I.height/2:I.bottom,Math.max(y===kn.Down?I.top:I.top+I.height/2,f.y))},R=y===kn.Right&&!v||y===kn.Left&&!x,_=y===kn.Down&&!C||y===kn.Up&&!S;if(R&&T.x!==f.x){const $=b.scrollLeft+p.x,P=y===kn.Right&&$<=w.x||y===kn.Left&&$>=E.x;if(P&&!p.y){b.scrollTo({left:$,behavior:s});return}P?g.x=b.scrollLeft-$:g.x=y===kn.Right?b.scrollLeft-w.x:b.scrollLeft-E.x,g.x&&b.scrollBy({left:-g.x,behavior:s});break}else if(_&&T.y!==f.y){const $=b.scrollTop+p.y,P=y===kn.Down&&$<=w.y||y===kn.Up&&$>=E.y;if(P&&!p.x){b.scrollTo({top:$,behavior:s});return}P?g.y=b.scrollTop-$:g.y=y===kn.Down?b.scrollTop-w.y:b.scrollTop-E.y,g.y&&b.scrollBy({top:-g.y,behavior:s});break}}this.handleMove(t,ad(Pb(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()}}TX.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=IX,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 Q5(e){return!!(e&&"distance"in e)}function J5(e){return!!(e&&"delay"in e)}class xk{constructor(t,n,r){var a;r===void 0&&(r=w7e(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=uf(i),this.documentListeners=new Rp(this.document),this.listeners=new Rp(r),this.windowListeners=new Rp(no(i)),this.initialCoordinates=(a=S_(o))!=null?a:bi,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(Ao.Resize,this.handleCancel),this.windowListeners.add(Ao.DragStart,Z5),this.windowListeners.add(Ao.VisibilityChange,this.handleCancel),this.windowListeners.add(Ao.ContextMenu,Z5),this.documentListeners.add(Ao.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(J5(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(Q5(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(Ao.Click,C7e,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ao.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=S_(t))!=null?n:bi,u=Pb(a,c);if(!r&&s){if(Q5(s)){if(s.tolerance!=null&&Q2(u,s.tolerance))return this.handleCancel();if(Q2(u,s.distance))return this.handleStart()}return J5(s)&&Q2(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===kn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const I7e={move:{name:"pointermove"},end:{name:"pointerup"}};class Hy extends xk{constructor(t){const{event:n}=t,r=uf(n.target);super(t,I7e,r)}}Hy.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 T7e={move:{name:"mousemove"},end:{name:"mouseup"}};var w_;(function(e){e[e.RightClick=2]="RightClick"})(w_||(w_={}));class R7e extends xk{constructor(t){super(t,T7e,uf(t.event.target))}}R7e.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===w_.RightClick?!1:(r==null||r({event:n}),!0)}}];const J2={move:{name:"touchmove"},end:{name:"touchend"}};class _7e extends xk{constructor(t){super(t,J2)}static setup(){return window.addEventListener(J2.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(J2.move.name,t)};function t(){}}}_7e.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 _p;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(_p||(_p={}));var Lb;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Lb||(Lb={}));function $7e(e){let{acceleration:t,activator:n=_p.Pointer,canScroll:r,draggingRect:a,enabled:o,interval:i=5,order:s=Lb.TreeOrder,pointerCoordinates:c,scrollableAncestors:u,scrollableAncestorRects:d,delta:f,threshold:p}=e;const g=N7e({delta:f,disabled:!o}),[h,b]=UBe(),y=l.useRef({x:0,y:0}),S=l.useRef({x:0,y:0}),v=l.useMemo(()=>{switch(n){case _p.Pointer:return c?{top:c.y,bottom:c.y,left:c.x,right:c.x}:null;case _p.DraggableRect:return a}},[n,a,c]),x=l.useRef(null),C=l.useCallback(()=>{const E=x.current;if(!E)return;const I=y.current.x*S.current.x,T=y.current.y*S.current.y;E.scrollBy(I,T)},[]),w=l.useMemo(()=>s===Lb.TreeOrder?[...u].reverse():u,[s,u]);l.useEffect(()=>{if(!o||!u.length||!v){b();return}for(const E of w){if((r==null?void 0:r(E))===!1)continue;const I=u.indexOf(E),T=d[I];if(!T)continue;const{direction:R,speed:_}=h7e(E,T,v,t,p);for(const $ of["x","y"])g[$][R[$]]||(_[$]=0,R[$]=0);if(_.x>0||_.y>0){b(),x.current=E,h(C,i),y.current=_,S.current=R;return}}y.current={x:0,y:0},S.current={x:0,y:0},b()},[t,C,r,b,o,i,JSON.stringify(v),JSON.stringify(g),h,u,w,d,JSON.stringify(p)])}const O7e={x:{[Kr.Backward]:!1,[Kr.Forward]:!1},y:{[Kr.Backward]:!1,[Kr.Forward]:!1}};function N7e(e){let{delta:t,disabled:n}=e;const r=y_(t);return Im(a=>{if(n||!r||!a)return O7e;const o={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Kr.Backward]:a.x[Kr.Backward]||o.x===-1,[Kr.Forward]:a.x[Kr.Forward]||o.x===1},y:{[Kr.Backward]:a.y[Kr.Backward]||o.y===-1,[Kr.Forward]:a.y[Kr.Forward]||o.y===1}}},[n,t,r])}function k7e(e,t){const n=t!==null?e.get(t):void 0,r=n?n.node.current:null;return Im(a=>{var o;return t===null?null:(o=r??a)!=null?o:null},[r,t])}function A7e(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 Rg;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Rg||(Rg={}));var C_;(function(e){e.Optimized="optimized"})(C_||(C_={}));const eB=new Map;function M7e(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=y(),p=Tg(f),g=l.useCallback(function(S){S===void 0&&(S=[]),!p.current&&i(v=>v===null?S:v.concat(S.filter(x=>!v.includes(x))))},[p]),h=l.useRef(null),b=Im(S=>{if(f&&!n)return eB;if(!S||S===eB||d.current!==e||o!=null){const v=new Map;for(let x of e){if(!x)continue;if(o&&o.length>0&&!o.includes(x.id)&&x.rect.current){v.set(x.id,x.rect.current);continue}const C=x.node.current,w=C?new Sk(c(C),C):null;x.rect.current=w,w&&v.set(x.id,w)}return v}return S},[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"||h.current!==null||(h.current=setTimeout(()=>{g(),h.current=null},s))},[s,f,g,...r]),{droppableRects:b,measureDroppableContainers:g,measuringScheduled:o!=null};function y(){switch(u){case Rg.Always:return!1;case Rg.BeforeDragging:return n;default:return!n}}}function RX(e,t){return Im(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function P7e(e,t){return RX(e,t)}function D7e(e){let{callback:t,disabled:n}=e;const r=vk(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 Uy(e){let{callback:t,disabled:n}=e;const r=vk(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 L7e(e){return new Sk(df(e),e)}function tB(e,t,n){t===void 0&&(t=L7e);const[r,a]=l.useReducer(s,null),o=D7e({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=Uy({callback:a});return vi(()=>{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 F7e(e){const t=RX(e);return bX(e,t)}const nB=[];function j7e(e){const t=l.useRef(e),n=Im(r=>e?r&&r!==nB&&e&&t.current&&e.parentNode===t.current.parentNode?r:yk(e):nB,[e]);return l.useEffect(()=>{t.current=e},[e]),n}function B7e(e){const[t,n]=l.useState(null),r=l.useRef(e),a=l.useCallback(o=>{const i=Z2(o.target);i&&n(s=>s?(s.set(i,x_(i)),new Map(s)):null)},[]);return l.useEffect(()=>{const o=r.current;if(e!==o){i(o);const s=e.map(c=>{const u=Z2(c);return u?(u.addEventListener("scroll",a,{passive:!0}),[u,x_(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=Z2(c);u==null||u.removeEventListener("scroll",a)})}},[a,e]),l.useMemo(()=>e.length?t?Array.from(t.values()).reduce((o,i)=>ad(o,i),bi):EX(e):bi,[e,t])}function rB(e,t){t===void 0&&(t=[]);const n=l.useRef(null);return l.useEffect(()=>{n.current=null},t),l.useEffect(()=>{const r=e!==bi;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?Pb(e,n.current):bi}function z7e(e){l.useEffect(()=>{if(!zy)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 H7e(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 _X(e){return l.useMemo(()=>e?f7e(e):null,[e])}const eI=[];function U7e(e,t){t===void 0&&(t=df);const[n]=e,r=_X(n?no(n):null),[a,o]=l.useReducer(s,eI),i=Uy({callback:o});return e.length>0&&a===eI&&o(),vi(()=>{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=>wX(c)?r:new Sk(t(c),c)):eI}}function V7e(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Em(t)?t:e}function W7e(e){let{measure:t}=e;const[n,r]=l.useState(null),a=l.useCallback(u=>{for(const{target:d}of u)if(Em(d)){r(f=>{const p=t(d);return f?{...f,width:p.width,height:p.height}:p});break}},[t]),o=Uy({callback:a}),i=l.useCallback(u=>{const d=V7e(u);o==null||o.disconnect(),d&&(o==null||o.observe(d)),r(d?t(d):null)},[t,o]),[s,c]=Mb(i);return l.useMemo(()=>({nodeRef:s,rect:n,setRef:c}),[n,s,c])}const G7e=[{sensor:Hy,options:{}},{sensor:TX,options:{}}],q7e={current:{}},Cv={draggable:{measure:X5},droppable:{measure:X5,strategy:Rg.WhileDragging,frequency:C_.Optimized},dragOverlay:{measure:df}};class $p 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 K7e={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new $p,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Db},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Cv,measureDroppableContainers:Db,windowRect:null,measuringScheduled:!1},Y7e={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Db,draggableNodes:new Map,over:null,measureDroppableContainers:Db},Vy=l.createContext(Y7e),$X=l.createContext(K7e);function X7e(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new $p}}}function Z7e(e,t){switch(t.type){case Dr.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Dr.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 Dr.DragEnd:case Dr.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Dr.RegisterDroppable:{const{element:n}=t,{id:r}=n,a=new $p(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}}}case Dr.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 $p(e.droppable.containers);return i.set(n,{...o,disabled:a}),{...e,droppable:{...e.droppable,containers:i}}}case Dr.UnregisterDroppable:{const{id:n,key:r}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const o=new $p(e.droppable.containers);return o.delete(n),{...e,droppable:{...e.droppable,containers:o}}}default:return e}}function Q7e(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:a}=l.useContext(Vy),o=y_(r),i=y_(n==null?void 0:n.id);return l.useEffect(()=>{if(!t&&!r&&o&&i!=null){if(!bk(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=GBe(d);if(f){f.focus();break}}})}},[r,t,a,i,o]),null}function J7e(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((a,o)=>o({transform:a,...r}),n):n}function eze(e){return l.useMemo(()=>({draggable:{...Cv.draggable,...e==null?void 0:e.draggable},droppable:{...Cv.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Cv.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 tze(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;vi(()=>{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=bX(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=yX(u);p&&p.scrollBy({top:f.y,left:f.x})}},[t,i,s,r,n])}const OX=l.createContext({...bi,scaleX:1,scaleY:1});var Ws;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(Ws||(Ws={}));const NX=l.memo(function(t){var n,r,a,o;let{id:i,accessibility:s,autoScroll:c=!0,children:u,sensors:d=G7e,collisionDetection:f=o7e,measuring:p,modifiers:g,...h}=t;const b=l.useReducer(Z7e,void 0,X7e),[y,S]=b,[v,x]=QBe(),[C,w]=l.useState(Ws.Uninitialized),E=C===Ws.Initialized,{draggable:{active:I,nodes:T,translate:R},droppable:{containers:_}}=y,$=I?T.get(I):null,P=l.useRef({initial:null,translated:null}),D=l.useMemo(()=>{var be;return I!=null?{id:I,data:(be=$==null?void 0:$.data)!=null?be:q7e,rect:P}:null},[I,$]),A=l.useRef(null),[O,N]=l.useState(null),[k,M]=l.useState(null),L=Tg(h,Object.values(h)),F=Tm("DndDescribedBy",i),j=l.useMemo(()=>_.getEnabled(),[_]),B=eze(p),{droppableRects:z,measureDroppableContainers:H,measuringScheduled:V}=M7e(j,{dragging:E,dependencies:[R.x,R.y],config:B.droppable}),te=k7e(T,I),Y=l.useMemo(()=>k?S_(k):null,[k]),J=Ae(),G=P7e(te,B.draggable.measure);tze({activeNode:I?T.get(I):null,config:J.layoutShiftCompensation,initialRect:G,measure:B.draggable.measure});const U=tB(te,B.draggable.measure,G),q=tB(te?te.parentElement:null),X=l.useRef({activatorEvent:null,active:null,activeNode:te,collisionRect:null,collisions:null,droppableRects:z,draggableNodes:T,draggingNode:null,draggingNodeRect:null,droppableContainers:_,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Q=_.getNodeFor((n=X.current.over)==null?void 0:n.id),ee=W7e({measure:B.dragOverlay.measure}),oe=(r=ee.nodeRef.current)!=null?r:te,le=E?(a=ee.rect)!=null?a:U:null,fe=!!(ee.nodeRef.current&&ee.rect),ce=F7e(fe?null:U),Te=_X(oe?no(oe):null),Se=j7e(E?Q??te:null),ve=U7e(Se),ae=J7e(g,{transform:{x:R.x-ce.x,y:R.y-ce.y,scaleX:1,scaleY:1},activatorEvent:k,active:D,activeNodeRect:U,containerNodeRect:q,draggingNodeRect:le,over:X.current.over,overlayNodeRect:ee.rect,scrollableAncestors:Se,scrollableAncestorRects:ve,windowRect:Te}),ie=Y?ad(Y,R):null,ue=B7e(Se),ye=rB(ue),Ee=rB(ue,[U]),Me=ad(ae,ye),Ie=le?l7e(le,ae):null,Ce=D&&Ie?f({active:D,collisionRect:Ie,droppableRects:z,droppableContainers:j,pointerCoordinates:ie}):null,me=r7e(Ce,"id"),[we,_e]=l.useState(null),Ne=fe?ae:ad(ae,Ee),he=i7e(Ne,(o=we==null?void 0:we.rect)!=null?o:null,U),ke=l.useCallback((be,Oe)=>{let{sensor:Fe,options:Ke}=Oe;if(A.current==null)return;const He=T.get(A.current);if(!He)return;const ze=be.nativeEvent,Ze=new Fe({active:A.current,activeNode:He,event:ze,options:Ke,context:X,onStart(Je){const mt=A.current;if(mt==null)return;const ft=T.get(mt);if(!ft)return;const{onDragStart:qe}=L.current,We={active:{id:mt,data:ft.data,rect:P}};Lr.unstable_batchedUpdates(()=>{qe==null||qe(We),w(Ws.Initializing),S({type:Dr.DragStart,initialCoordinates:Je,active:mt}),v({type:"onDragStart",event:We})})},onMove(Je){S({type:Dr.DragMove,coordinates:Je})},onEnd:je(Dr.DragEnd),onCancel:je(Dr.DragCancel)});Lr.unstable_batchedUpdates(()=>{N(Ze),M(be.nativeEvent)});function je(Je){return async function(){const{active:ft,collisions:qe,over:We,scrollAdjustedTranslate:Qe}=X.current;let ct=null;if(ft&&Qe){const{cancelDrop:Rt}=L.current;ct={activatorEvent:ze,active:ft,collisions:qe,delta:Qe,over:We},Je===Dr.DragEnd&&typeof Rt=="function"&&await Promise.resolve(Rt(ct))&&(Je=Dr.DragCancel)}A.current=null,Lr.unstable_batchedUpdates(()=>{S({type:Je}),w(Ws.Uninitialized),_e(null),N(null),M(null);const Rt=Je===Dr.DragEnd?"onDragEnd":"onDragCancel";if(ct){const $t=L.current[Rt];$t==null||$t(ct),v({type:Rt,event:ct})}})}}},[T]),xe=l.useCallback((be,Oe)=>(Fe,Ke)=>{const He=Fe.nativeEvent,ze=T.get(Ke);if(A.current!==null||!ze||He.dndKit||He.defaultPrevented)return;const Ze={active:ze};be(Fe,Oe.options,Ze)===!0&&(He.dndKit={capturedBy:Oe.sensor},A.current=Ke,ke(Fe,Oe))},[T,ke]),ge=A7e(d,xe);z7e(d),vi(()=>{U&&C===Ws.Initializing&&w(Ws.Initialized)},[U,C]),l.useEffect(()=>{const{onDragMove:be}=L.current,{active:Oe,activatorEvent:Fe,collisions:Ke,over:He}=X.current;if(!Oe||!Fe)return;const ze={active:Oe,activatorEvent:Fe,collisions:Ke,delta:{x:Me.x,y:Me.y},over:He};Lr.unstable_batchedUpdates(()=>{be==null||be(ze),v({type:"onDragMove",event:ze})})},[Me.x,Me.y]),l.useEffect(()=>{const{active:be,activatorEvent:Oe,collisions:Fe,droppableContainers:Ke,scrollAdjustedTranslate:He}=X.current;if(!be||A.current==null||!Oe||!He)return;const{onDragOver:ze}=L.current,Ze=Ke.get(me),je=Ze&&Ze.rect.current?{id:Ze.id,rect:Ze.rect.current,data:Ze.data,disabled:Ze.disabled}:null,Je={active:be,activatorEvent:Oe,collisions:Fe,delta:{x:He.x,y:He.y},over:je};Lr.unstable_batchedUpdates(()=>{_e(je),ze==null||ze(Je),v({type:"onDragOver",event:Je})})},[me]),vi(()=>{X.current={activatorEvent:k,active:D,activeNode:te,collisionRect:Ie,collisions:Ce,droppableRects:z,draggableNodes:T,draggingNode:oe,draggingNodeRect:le,droppableContainers:_,over:we,scrollableAncestors:Se,scrollAdjustedTranslate:Me},P.current={initial:le,translated:Ie}},[D,te,Ce,Ie,T,oe,le,z,_,we,Se,Me]),$7e({...J,delta:R,draggingRect:Ie,pointerCoordinates:ie,scrollableAncestors:Se,scrollableAncestorRects:ve});const Pe=l.useMemo(()=>({active:D,activeNode:te,activeNodeRect:U,activatorEvent:k,collisions:Ce,containerNodeRect:q,dragOverlay:ee,draggableNodes:T,droppableContainers:_,droppableRects:z,over:we,measureDroppableContainers:H,scrollableAncestors:Se,scrollableAncestorRects:ve,measuringConfiguration:B,measuringScheduled:V,windowRect:Te}),[D,te,U,k,Ce,q,ee,T,_,z,we,H,Se,ve,B,V,Te]),Ve=l.useMemo(()=>({activatorEvent:k,activators:ge,active:D,activeNodeRect:U,ariaDescribedById:{draggable:F},dispatch:S,draggableNodes:T,over:we,measureDroppableContainers:H}),[k,ge,D,U,S,F,T,we,H]);return se.createElement(hX.Provider,{value:x},se.createElement(Vy.Provider,{value:Ve},se.createElement($X.Provider,{value:Pe},se.createElement(OX.Provider,{value:he},u)),se.createElement(Q7e,{disabled:(s==null?void 0:s.restoreFocus)===!1})),se.createElement(t7e,{...s,hiddenTextDescribedById:F}));function Ae(){const be=(O==null?void 0:O.autoScrollEnabled)===!1,Oe=typeof c=="object"?c.enabled===!1:c===!1,Fe=E&&!be&&!Oe;return typeof c=="object"?{...c,enabled:Fe}:{enabled:Fe}}}),nze=l.createContext(null),aB="button",rze="Droppable";function aze(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const o=Tm(rze),{activators:i,activatorEvent:s,active:c,activeNodeRect:u,ariaDescribedById:d,draggableNodes:f,over:p}=l.useContext(Vy),{role:g=aB,roleDescription:h="draggable",tabIndex:b=0}=a??{},y=(c==null?void 0:c.id)===t,S=l.useContext(y?OX:nze),[v,x]=Mb(),[C,w]=Mb(),E=H7e(i,t),I=Tg(n);vi(()=>(f.set(t,{id:t,key:o,node:v,activatorNode:C,data:I}),()=>{const R=f.get(t);R&&R.key===o&&f.delete(t)}),[f,t]);const T=l.useMemo(()=>({role:g,tabIndex:b,"aria-disabled":r,"aria-pressed":y&&g===aB?!0:void 0,"aria-roledescription":h,"aria-describedby":d.draggable}),[r,g,b,y,h,d.draggable]);return{active:c,activatorEvent:s,activeNodeRect:u,attributes:T,isDragging:y,listeners:r?void 0:E,node:v,over:p,setNodeRef:x,setActivatorNodeRef:w,transform:S}}function oze(){return l.useContext($X)}const ize="Droppable",sze={timeout:25};function lze(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:a}=e;const o=Tm(ize),{active:i,dispatch:s,over:c,measureDroppableContainers:u}=l.useContext(Vy),d=l.useRef({disabled:n}),f=l.useRef(!1),p=l.useRef(null),g=l.useRef(null),{disabled:h,updateMeasurementsFor:b,timeout:y}={...sze,...a},S=Tg(b??r),v=l.useCallback(()=>{if(!f.current){f.current=!0;return}g.current!=null&&clearTimeout(g.current),g.current=setTimeout(()=>{u(Array.isArray(S.current)?S.current:[S.current]),g.current=null},y)},[y]),x=Uy({callback:v,disabled:h||!i}),C=l.useCallback((T,R)=>{x&&(R&&(x.unobserve(R),f.current=!1),T&&x.observe(T))},[x]),[w,E]=Mb(C),I=Tg(t);return l.useEffect(()=>{!x||!w.current||(x.disconnect(),f.current=!1,x.observe(w.current))},[w,x]),vi(()=>(s({type:Dr.RegisterDroppable,element:{id:r,key:o,disabled:n,node:w,rect:p,data:I}}),()=>s({type:Dr.UnregisterDroppable,key:o,id:r})),[r]),l.useEffect(()=>{n!==d.current.disabled&&(s({type:Dr.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:w,over:c,setNodeRef:E}}function Wy(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function cze(e,t){return e.reduce((n,r,a)=>{const o=t.get(r);return o&&(n[a]=o),n},Array(e.length))}function Ph(e){return e!==null&&e>=0}function uze(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=Wy(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}},Dh={scaleX:1,scaleY:1},AX=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,...Dh}:a=i?{x:0,y:s.height+c,...Dh}:{x:0,y:0,...Dh}};function fze(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]),h=i!=null,b=i?g.indexOf(i.id):-1,y=u?g.indexOf(u.id):-1,S=l.useRef(g),v=!uze(g,S.current),x=y!==-1&&b===-1||v,C=dze(o);vi(()=>{v&&h&&d(g)},[v,g,h,d]),l.useEffect(()=>{S.current=g},[g]);const w=l.useMemo(()=>({activeIndex:b,containerId:f,disabled:C,disableTransforms:x,items:g,overIndex:y,useDragOverlay:p,sortedRects:cze(g,c),strategy:a}),[b,f,C.draggable,C.droppable,x,g,y,c,p,a]);return se.createElement(PX.Provider,{value:w},t)}const pze=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return Wy(n,r,a).indexOf(t)},gze=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},mze={duration:200,easing:"ease"},LX="transform",hze=Md.Transition.toString({property:LX,duration:0,easing:"linear"}),vze={roleDescription:"sortable"};function bze(e){let{disabled:t,index:n,node:r,rect:a}=e;const[o,i]=l.useState(null),s=l.useRef(n);return vi(()=>{if(!t&&n!==s.current&&r.current){const c=a.current;if(c){const u=df(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 FX(e){let{animateLayoutChanges:t=gze,attributes:n,disabled:r,data:a,getNewIndex:o=pze,id:i,strategy:s,resizeObserverConfig:c,transition:u=mze}=e;const{items:d,containerId:f,activeIndex:p,disabled:g,disableTransforms:h,sortedRects:b,overIndex:y,useDragOverlay:S,strategy:v}=l.useContext(PX),x=yze(r,g),C=d.indexOf(i),w=l.useMemo(()=>({sortable:{containerId:f,index:C,items:d},...a}),[f,a,C,d]),E=l.useMemo(()=>d.slice(d.indexOf(i)),[d,i]),{rect:I,node:T,isOver:R,setNodeRef:_}=lze({id:i,data:w,disabled:x.droppable,resizeObserverConfig:{updateMeasurementsFor:E,...c}}),{active:$,activatorEvent:P,activeNodeRect:D,attributes:A,setNodeRef:O,listeners:N,isDragging:k,over:M,setActivatorNodeRef:L,transform:F}=aze({id:i,data:w,attributes:{...vze,...n},disabled:x.draggable}),j=HBe(_,O),B=!!$,z=B&&!h&&Ph(p)&&Ph(y),H=!S&&k,V=H&&z?F:null,Y=z?V??(s??v)({rects:b,activeNodeRect:D,activeIndex:p,overIndex:y,index:C}):null,J=Ph(p)&&Ph(y)?o({id:i,items:d,activeIndex:p,overIndex:y}):C,G=$==null?void 0:$.id,U=l.useRef({activeId:G,items:d,newIndex:J,containerId:f}),q=d!==U.current.items,X=t({active:$,containerId:f,isDragging:k,isSorting:B,id:i,index:C,items:d,newIndex:U.current.newIndex,previousItems:U.current.items,previousContainerId:U.current.containerId,transition:u,wasDragging:U.current.activeId!=null}),Q=bze({disabled:!X,index:C,node:T,rect:I});return l.useEffect(()=>{B&&U.current.newIndex!==J&&(U.current.newIndex=J),f!==U.current.containerId&&(U.current.containerId=f),d!==U.current.items&&(U.current.items=d)},[B,J,f,d]),l.useEffect(()=>{if(G===U.current.activeId)return;if(G&&!U.current.activeId){U.current.activeId=G;return}const oe=setTimeout(()=>{U.current.activeId=G},50);return()=>clearTimeout(oe)},[G]),{active:$,activeIndex:p,attributes:A,data:w,rect:I,index:C,newIndex:J,items:d,isOver:R,isSorting:B,isDragging:k,listeners:N,node:T,overIndex:y,over:M,setNodeRef:j,setActivatorNodeRef:L,setDroppableNodeRef:_,setDraggableNodeRef:O,transform:Q??Y,transition:ee()};function ee(){if(Q||q&&U.current.newIndex===C)return hze;if(!(H&&!bk(P)||!u)&&(B||X))return Md.Transition.toString({...u,property:LX})}}function yze(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}}kn.Down,kn.Right,kn.Up,kn.Left;const{useToken:Sze}=Ea,xze=({originNode:e,fileObjectList:t,file:n,onRemove:r,disabled:a})=>{const{token:o}=Sze(),{attributes:i,listeners:s,setNodeRef:c,transform:u,transition:d,isDragging:f}=FX({id:n.uid}),{t:p}=Nt(),g={transform:Md.Transform.toString(u),transition:d,cursor:"move"};return m.jsx("div",{ref:c,style:g,className:f?"is-dragging":"",...i,...s,children:m.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"space-between",alignItems:"center",margin:"8px 0",padding:8,borderRadius:8,border:`1px solid ${o.colorBorder}`},children:[m.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[m.jsxs("span",{style:{fontSize:30,width:48,height:48,textAlign:"center",color:`${o.colorPrimaryText}`},children:[t.indexOf(n)+1,"."]}),m.jsxs("div",{children:[m.jsx("div",{children:n.name}),m.jsxs("div",{style:{fontSize:"smaller",color:`${o.colorTextSecondary}`},children:["in ",n.path,"/"]})]})]}),m.jsx(ut,{title:p("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:m.jsx(Ed,{})})]})})},jX=/[<>:"/\\|?*]/,Op=jX.source.slice(1,-1).split("").join(" ");function Gu(e){return!jX.test(e)}const Ei=new xn(pn()),{useToken:wze}=Ea,oB=99,hu=uk,Zo={id:"1",pId:"-1",value:"1",title:"/",fullPath:"/"},wk=({special:e,filetypeFilter:t=[],isTapList:n=!1,overlay:r="",trackUrl:a=!0,showDirOnly:o=!1,showColumns:i=void 0})=>{const{t:s}=Nt(),{playAudio:c}=gy(),{token:u}=wze(),d=xN(),f=l.useRef(null),p=l.useRef(null),g=l.useRef(null),h=l.useRef(null),b=l.useRef(null),[y,S]=Xe.useMessage(),v=Ki(),C=new URLSearchParams(v.search).get("path")||"",[w,E]=l.useState(C),[I,T]=l.useState([]),[R,_]=l.useState(!1),[$,P]=l.useState(""),[D,A]=l.useState([]),[O,N]=l.useState(Zo.id),[k,M]=l.useState([Zo]),[L,F]=l.useState([]),[j,B]=l.useState(""),[z,H]=l.useState(!1),[V,te]=l.useState(!1),[Y,J]=l.useState(),[G,U]=l.useState(""),[q,X]=l.useState(!1),[Q,ee]=l.useState(!1),[oe,le]=l.useState(0);l.useState(!1),l.useState(0);const[fe,ce]=l.useState(),[Te,Se]=l.useState(!1),[ve,ae]=l.useState(!0),[ie,ue]=l.useState(!1),[ye,Ee]=l.useState(!1),[Me,Ie]=l.useState(!0),[Ce,me]=l.useState(!1),[we,_e]=l.useState(1),[Ne,he]=l.useState(C),[ke,xe]=l.useState(!1),[ge,Pe]=l.useState(!1),[Ve,Ae]=l.useState(null),[be,Oe]=l.useState(""),[Fe,Ke]=l.useState(""),[He,ze]=l.useState(!1),[Ze,je]=l.useState(!1),[Je,mt]=l.useState(0),[ft,qe]=l.useState(!1),[We,Qe]=l.useState([]),[ct,Rt]=l.useState(!1),[$t,vt]=l.useState(!1),[lt,ot]=l.useState(0),[et,bt]=l.useState([]),[rt,St]=l.useState(!1),[Et,tt]=l.useState(!1),[at,Ye]=l.useState(0),[Ge,yt]=l.useState([]);l.useEffect(()=>{(async()=>{const Re=Vt(Zo.id);Ei.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${Re}&special=library`).then(Be=>Be.json()).then(Be=>{var it=Be.files;it=it.filter(Ot=>Ot.isDir&&Ot.name!=="..").sort((Ot,Qt)=>Ot.name===Qt.name?0:Ot.name.toLowerCase()>Qt.name.toLowerCase()?1:-1).map(Ot=>({id:Zo.id+"."+it.indexOf(Ot),pId:Zo.id,value:Zo.id+"."+it.indexOf(Ot),title:Ot.name,fullPath:`${Re}/${Ot.name}/`})),M(k.concat(it))})})()},[]),l.useEffect(()=>{const Re=new URLSearchParams(v.search).get("path")||"";E(Re)},[]),l.useEffect(()=>{if(r){const $e=new URLSearchParams(v.search);$e.set("path",""),E("");const Re=`${window.location.pathname}?${$e.toString()}`;window.history.replaceState(null,"",Re),_(Be=>!Be)}},[r]),l.useEffect(()=>{Ei.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${w}&special=${e}`+(r?`&overlay=${r}`:"")).then($e=>$e.json()).then($e=>{var Re=$e.files;o&&(Re=Re.filter(Be=>Be.isDir)),t.length>0&&(Re=Re.filter(Be=>Be.isDir||t.some(it=>Be.name.endsWith(it)))),T(Re)})},[w,e,o,R]),l.useEffect(()=>{Ce&&setTimeout(()=>{p.current&&p.current.focus()},0)},[Ce]),l.useEffect(()=>{f.current!==null&&b.current&&b.current.setSelectionRange(f.current,f.current)},[j]),l.useEffect(()=>{he(Vt(O))},[O]),l.useEffect(()=>{he(w)},[w]);function Tt(){return"10000000-1e3-4e3-8e3-1e11".replace(/[018]/g,$e=>(parseInt($e)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt($e)/4).toString(16))}const Pt=$e=>{a&&d(`?path=${$e}`),w===$e&&_(Re=>!Re),H(!1),E($e)},en=($e,Re)=>{const Be=$e.split("/").filter(Ot=>Ot),it=[{title:m.jsx("span",{style:{cursor:"pointer"},onClick:()=>Re(""),children:s("fileBrowser.root")}),key:"/"}];return Be.forEach((Ot,Qt)=>{const wn=`/${Be.slice(0,Qt+1).join("/")}`;it.push({title:m.jsx("span",{style:{cursor:"pointer"},onClick:()=>Re(wn),children:Ot}),key:wn})}),m.jsx(Xd,{items:it})},rn=({id:$e})=>new Promise((Re,Be)=>{const it=Vt($e);Ei.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${it}&special=library`).then(Ot=>Ot.json()).then(Ot=>{let Qt=Ot.files;Qt=Qt.filter(wn=>wn.isDir&&wn.name!=="..").sort((wn,Sr)=>wn.name===Sr.name?0:wn.name.toLowerCase()>Sr.name.toLowerCase()?1:-1).map(wn=>({id:$e+"."+Qt.indexOf(wn),pId:$e,value:$e+"."+Qt.indexOf(wn),title:wn.name,fullPath:`${it}/${wn.name}/`})),M(k.concat(Qt)),Re(!0)}).then(()=>{Be()})}),Vt=$e=>{const Re=k.filter(Be=>Be.value===$e)[0];return Re.pId==="-1"?"":Vt(k.filter(Be=>Be.id===Re.pId)[0].id)+"/"+Re.title},tn=($e,Re)=>{for(const Be of Re)if(Be.fullPath===$e)return Be.id;return null},It=($e,Re)=>{let Be=[];for(const it of Re)it.pId===$e&&Be.push(it);return Be},_t=$e=>L.includes($e),kt=m.jsx(Al,{className:"move-file",treeLine:!0,treeDataSimpleMode:!0,value:O,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:N,loadData:rn,treeData:k,treeNodeLabelProp:"fullPath",placeholder:s("fileBrowser.moveFile.destinationPlaceholder"),treeExpandedKeys:L,onTreeExpand:$e=>F($e),disabled:rt||ct}),Tn=$e=>{var Re;!$e.isDir&&((Re=$e.tonieInfo)!=null&&Re.tracks)&&(J($e),te(!0))},Qn=$e=>{Jn((e==="library"?"/library":"/content")+$e),H(!1),P($e),X(!0)},cr=()=>{X(!1)},Jn=async $e=>{try{const Be=await(await Ei.apiGetTeddyCloudApiRaw($e)).json();U(Be)}catch(Re){console.error("Error fetching JSON data:",Re)}},Hr=m.jsx(ut,{type:"primary",onClick:()=>X(!1),children:s("tonies.informationModal.ok")}),Mr=m.jsx(Sn,{className:"json-viewer",footer:Hr,width:800,title:"File: "+$,open:q,onCancel:cr,children:G?m.jsx(ba,{language:"json",code:JSON.stringify(G,null,2)}):"Loading..."}),er=($e,Re)=>{const Be=Re,{trackSeconds:it,...Ot}=Be;H(!1),ce(Ot),P($e),Se(!0)},Kt=()=>{Se(!1)},Ft=m.jsx(Sn,{className:"taf-header-viewer",footer:m.jsx(ut,{type:"primary",onClick:()=>Se(!1),children:s("tonies.informationModal.ok")}),title:s("tonies.tafHeaderOf")+$,open:Te,onCancel:Kt,width:700,children:fe?m.jsx(ba,{language:"json",code:JSON.stringify(fe,null,2)}):"Loading..."}),Gt=$e=>{$e.includes(".tap")&&(Jn((e==="library"?"/library":"/content")+$e),H(!1),P($e),le(Be=>Be+1),ee(!0))},jt=$e=>{console.log("Received values of form: ",$e),ee(!1)},Bt=($e,Re)=>{},wt=($e,Re,Be)=>{H(!1),Ae($e),Oe(Re),Ke(Be),xe(!0)},Ct=()=>{xe(!1),Pe(!1)},cn=()=>{dr(be,Fe),_($e=>!$e),xe(!1)},Rn=()=>{Pe(!0)},ur=async()=>{if(D.length>0){for(const $e of D){const Re=I.find(Be=>Be.name===$e);if(Re){const Be=w+"/"+Re.name,it="?special="+e+(r?`&overlay=${r}`:"");await dr(Be,it)}}_($e=>!$e),Pe(!1),A([])}else Xe.warning("No rows selected for deletion.")},dr=async($e,Re)=>{const Be=Xe.loading(s("fileBrowser.messages.deleting"),0);try{const it=`/api/fileDelete${Re}`,Qt=await(await Ei.apiPostTeddyCloudRaw(it,$e)).text();if(Be(),Qt==="OK"){Xe.success(s("fileBrowser.messages.deleteSuccessful",{file:$e}));const wn=tn($e+"/",k);wn&&M(Sr=>Sr.filter(Ur=>Ur.id!==wn)),Ne===$e+"/"&&he(w)}else Xe.error(`${s("fileBrowser.messages.deleteFailed",{file:$e})}: ${Qt}`)}catch(it){Be(),Xe.error(`${s("fileBrowser.messages.deleteFailed",{file:$e})}: ${it}`)}},yr=()=>{ae(!0),ue(!1),_e($e=>$e+1),H(!1),me(!0)},Ht=()=>{H(!1),me(!1)},Lt=$e=>{const Re=$e.target.value,Be=!Gu(Re.toString());ue(Be),ae(Re==="")},pt=()=>{var Re,Be;const $e=((Be=(Re=p.current)==null?void 0:Re.input)==null?void 0:Be.value)||"";try{Ei.apiPostTeddyCloudRaw("/api/dirCreate?special=library",Ne+"/"+$e).then(it=>it.text()).then(it=>{if(it!=="OK")throw new Error(it);const Ot=tn(Ne+"/",k)||Zo.id,Qt=`${Ot}.${k.length}`,wn=_t(Ot),Sr=It(Ot,k);if(wn||Sr.length>0){const Ur={id:Qt,pId:Ot,value:Qt,title:$e,fullPath:Ne+"/"+$e+"/"};M([...k,Ur].sort((Pk,Dk)=>Pk.title===Dk.title?0:Pk.title.toLowerCase()>Dk.title.toLowerCase()?1:-1)),(He||$t)&&N(Qt)}Xe.success(s("fileBrowser.createDirectory.directoryCreated")),me(!1),_(Ur=>!Ur),he(w)}).catch(it=>{Xe.error(it.message)})}catch{Xe.error("Error while creating directory")}},Dt=ve||ie,yn=m.jsxs(Sn,{title:s("fileBrowser.createDirectory.modalTitle"),open:Ce,onCancel:Ht,onOk:pt,okText:s("fileBrowser.createDirectory.create"),cancelText:s("fileBrowser.createDirectory.cancel"),zIndex:1050,okButtonProps:{disabled:Dt},children:[m.jsxs(bn,{style:{marginBottom:8},children:[s("fileBrowser.createDirectory.parentPath")+" "+Ne+"/"," "]}),m.jsxs(qt.Item,{validateStatus:ie?"error":"",help:ie?s("inputValidator.invalidCharactersDetected",{invalidChar:Op}):"",required:!0,children:[" ",m.jsx(Jt,{ref:p,type:"text",placeholder:s("fileBrowser.createDirectory.placeholder"),status:ie?"error":"",onChange:Lt})]})]},"createDirModal-"+we),fr=async($e,Re,Be)=>{const it="source="+encodeURIComponent($e)+"&target="+encodeURIComponent(Re),Ot=Xe.loading(s(Be?"fileBrowser.messages.moving":"fileBrowser.messages.renaming"),0);try{const Qt=`/api/fileMove${"?special="+e+(r?`&overlay=${r}`:"")}`,Sr=await(await Ei.apiPostTeddyCloudRaw(Qt,it)).text();if(Ot(),Sr==="OK")Xe.success(Be?s("fileBrowser.messages.movingSuccessful",{file:$e}):s("fileBrowser.messages.renamingSuccessful",{file:$e}));else throw Xe.error(`${Be?s("fileBrowser.messages.movingFailed",{file:$e}):s("fileBrowser.messages.renamingFailed",{file:$e})}: ${Sr}`),Sr}catch(Qt){throw Ot(),Xe.error(`${Be?s("fileBrowser.messages.movingFailed",{file:$e}):s("fileBrowser.messages.renamingFailed",{file:$e})}: ${Qt}`),Qt}},mn=$e=>{N(Zo.id),P($e),ze(!0)},ua=()=>{ze(!1),he(w)},Ia=async($e,Re)=>{try{await fr($e+"/"+$,Re+"/"+$,!0),_(Be=>!Be),ze(!1),N(Zo.id)}catch{}},ra=async($e,Re)=>{if(D.length>0){for(const Be of D){const it=I.find(Ot=>Ot.name===Be);it&&!it.isDir&&await fr($e+"/"+it.name,Re+"/"+it.name,!0)}_(Be=>!Be),ze(!1),A([]),N(Zo.id)}else Xe.warning("No rows selected for moving.")},Fa=!O||Vt(O)===w,wi=m.jsxs(Sn,{title:s($?"fileBrowser.moveFile.modalTitle":"fileBrowser.moveFile.modalTitleMultiple"),open:He,onCancel:ua,onOk:()=>$?Ia(w,Vt(O)):ra(w,Vt(O)),okText:s("fileBrowser.moveFile.move"),cancelText:s("fileBrowser.moveFile.cancel"),okButtonProps:{disabled:Fa},children:[m.jsx(An,{message:s("fileBrowser.attention"),description:s("fileBrowser.moveFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),m.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:[m.jsx(Jt,{type:"text",style:{borderTopRightRadius:$?0:"unset",borderBottomRightRadius:$?0:"unset"},disabled:!0,value:w+"/"+($||""),placeholder:w+"/"+($||"")}),m.jsx("div",{children:s("fileBrowser.moveFile.moveTo")}),m.jsxs("div",{style:{display:"flex"},children:[kt,m.jsx(Zt,{title:s("fileBrowser.createDirectory.createDirectory"),children:m.jsx(ut,{icon:m.jsx(LR,{}),onClick:()=>{he(Vt(O)),yr()},style:{borderTopLeftRadius:0,borderBottomLeftRadius:0}})})]})]})]}),Xc=$e=>{P($e),ae(!0),Ee(!Gu($e)),mt(Re=>Re+1),je(!0)},At=()=>{je(!1)},Yt=async($e,Re)=>{try{await fr($e+"/"+$,$e+"/"+Re,!1),_(Be=>!Be),je(!1)}catch{}},Vn=$e=>{const Re=$e.target.value,Be=!Gu(Re.toString()),it=!Re.toString()||Be;Ee(Be),Ie(it),ae(!Re||Re===$)},pr=ve||ye||Me,Wn=m.jsxs(Sn,{title:s("fileBrowser.renameFile.modalTitle"),open:Ze,onCancel:At,onOk:()=>Yt(w,h.current&&h.current.input?h.current.input.value:$),okText:s("fileBrowser.renameFile.rename"),cancelText:s("fileBrowser.renameFile.cancel"),okButtonProps:{disabled:pr},children:[m.jsx(An,{message:s("fileBrowser.attention"),description:s("fileBrowser.renameFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:m.jsx(qt.Item,{validateStatus:ye?"error":"",help:ye?s("inputValidator.invalidCharactersDetected",{invalidChar:Op}):"",required:!0,children:m.jsx(Jt,{ref:h,type:"text",defaultValue:$,onChange:Vn,placeholder:$,status:ye?"error":""})})})]},"renameModal-"+Je),As=()=>{Ye($e=>$e+1),tt(!0)},Zc=()=>{tt(!1)},hf=()=>{bt($e=>[...$e,...Ge]),tt(!1),yt([])},Qc=($e,Re,Be)=>{const it=[];if($e.length>0)for(const Ot of $e){const Qt=$e.find(wn=>wn.name===Ot.name&&hu.some(Sr=>wn.name.toLowerCase().endsWith(Sr)));Qt&&it.push({uid:Tt(),name:Qt.name,path:Re})}yt(it)},_Z=m.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[m.jsx(ut,{onClick:Zc,children:s("tonies.selectFileModal.cancel")}),m.jsx(ut,{type:"primary",onClick:hf,children:s("tonies.selectFileModal.ok")})]}),$Z=m.jsx(Sn,{className:"sticky-footer",title:s("tonies.selectFileModal.selectFile"),open:Et,onOk:hf,onCancel:Zc,width:"auto",footer:_Z,children:m.jsx(dk,{special:"library",maxSelectedRows:oB-et.length-1,trackUrl:!1,filetypeFilter:hu,onFileSelectChange:Qc},at)}),OZ=()=>{ae(!0),Ee(!1),ot(Re=>Re+1),N(Zo.id);const $e=[];for(const Re of D){const Be=I.find(it=>it.name===Re&&hu.some(Ot=>it.name.toLowerCase().endsWith(Ot)));Be&&$e.push({uid:Tt(),name:Be.name,path:w})}bt($e),vt(!0)},NZ=()=>{vt(!1),he(w),bt([])},kZ=async()=>{var it,Ot;St(!0);const $e=(Ot=(it=g==null?void 0:g.current)==null?void 0:it.input)==null?void 0:Ot.value,Re=Xe.loading(s("fileBrowser.encodeFiles.encodingInProgress"),0),Be=et.map(Qt=>`source=${encodeURIComponent(Qt.path+"/"+Qt.name)}`).join("&")+`&target=${encodeURIComponent(Vt(O)+"/"+$e+".taf")}`;try{(await Ei.apiPostTeddyCloudRaw(`/api/fileEncode?special=${e}`,Be)).ok?(Re(),Xe.success(s("fileBrowser.encodeFiles.encodingSuccessful")),vt(!1),N("1"),A([]),_(!R)):(Re(),Xe.error(s("fileBrowser.encodeFiles.encodingFailed")))}catch{Re(),Xe.error(s("fileBrowser.encodeFiles.encodingFailed"))}St(!1)},AZ=vX(Hy,{activationConstraint:{distance:10}}),MZ=({active:$e,over:Re})=>{$e.id!==(Re==null?void 0:Re.id)&&bt(Be=>{const it=Be.findIndex(Qt=>Qt.uid===$e.id),Ot=Be.findIndex(Qt=>Qt.uid===(Re==null?void 0:Re.id));return Wy(Be,it,Ot)})},PZ=$e=>{const Re=et.indexOf($e),Be=et.slice();Be.splice(Re,1),bt(Be)},DZ=()=>{bt($e=>[...$e].sort((Re,Be)=>Re.name.localeCompare(Be.name)))},LZ=$e=>{const Re=$e.target.value,Be=!Gu(Re.toString()),it=et.length>0&&!Re.toString()||Be;Ee(Be),Ie(it),ae(Re==="")},FZ=m.jsxs(Sn,{title:s("fileBrowser.encodeFiles.modalTitle"),open:$t,onCancel:NZ,onOk:kZ,okText:s("fileBrowser.encodeFiles.encode"),cancelText:s("fileBrowser.encodeFiles.cancel"),zIndex:1e3,width:"auto",okButtonProps:{disabled:rt||Me||ve||et.length===0},children:[$Z,m.jsx(NX,{sensors:[AZ],onDragEnd:MZ,children:m.jsxs(DX,{items:et.map($e=>$e.uid),strategy:AX,disabled:rt,children:[m.jsx(ut,{disabled:rt,onClick:As,children:s("fileBrowser.encodeFiles.addFiles")}),et.map($e=>m.jsx(xze,{originNode:m.jsx("div",{children:$e.name}),onRemove:PZ,disabled:rt,fileObjectList:et,file:$e},$e.uid))]})}),m.jsx(Na,{direction:"vertical",style:{display:"flex"},children:et.length>0?m.jsxs(m.Fragment,{children:[m.jsx(Na,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start"},children:m.jsx(ut,{type:"default",disabled:rt,onClick:DZ,children:s("tonies.encoder.sortAlphabetically")})}),m.jsx(Rr,{}),m.jsx("div",{style:{width:"100%"},className:"encoder",children:m.jsxs(Na,{direction:"vertical",style:{width:"100%"},children:[m.jsxs(Na.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[m.jsx(Jt,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:s("tonies.encoder.saveAs")}),kt,m.jsx(Zt,{title:s("fileBrowser.createDirectory.createDirectory"),children:m.jsx(ut,{disabled:rt,icon:m.jsx(LR,{}),onClick:()=>{he(Vt(O)),yr()},style:{borderRadius:0}})}),m.jsx(Jt,{ref:g,addonAfter:".taf",required:!0,status:Me?"error":"",onChange:LZ,disabled:rt})]}),ye?m.jsx("div",{style:{textAlign:"end",color:u.colorErrorText},children:s("inputValidator.invalidCharactersDetected",{invalidChar:Op})}):""]})})]}):m.jsx(m.Fragment,{})})]},"encodeModal-"+lt),jZ=()=>{qe(!0)},Nk=()=>{Qe([]),qe(!1)},BZ={name:"file",multiple:!0,fileList:We,customRequest:async $e=>{const{onSuccess:Re,onError:Be,file:it}=$e;Re("Ok")},onChange($e){const{status:Re,fileList:Be}=$e;Re!=="uploading"&&(Qe(Be),console.log($e.file,$e.fileList))},onDrop($e){console.log("Dropped files",$e.dataTransfer.files)},onRemove:$e=>{Qe(Re=>Re.filter(Be=>Be.uid!==$e.uid))}},zZ=async $e=>{if(!$e.length)return;Rt(!0);let Re=!1;for(let Be=0;Be<$e.length;Be++){const it=$e[Be],Ot=Xe.loading(s("fileBrowser.upload.uploadInProgress",{file:it.name}),0),Qt=new FormData;Qt.append(it.name,it.originFileObj);try{(await Ei.apiPostTeddyCloudFormDataRaw(`/api/fileUpload?path=${encodeURIComponent(w)}&special=${e}`,Qt)).ok?(Ot(),Qe(Sr=>Sr.filter(Ur=>Ur.uid!==it.uid)),Xe.success(s("fileBrowser.upload.uploadSuccessfulForFile",{file:it.name}))):(Re=!0,Ot(),Qe(Sr=>Sr.map(Ur=>Ur.uid===it.uid?{...Ur,status:"Failed"}:Ur)),Xe.error(s("fileBrowser.upload.uploadFailedForFile",{file:it.name})))}catch{Re=!0,Ot(),Xe.error(s("fileBrowser.upload.uploadFailedForFile",{file:it.name})),Qe(Sr=>Sr.map(Ur=>Ur.uid===it.uid?{...Ur,status:"Failed"}:Ur))}}Re?(_(!R),Xe.error(s("fileBrowser.upload.uploadFailed"))):(_(!R),qe(!1),Xe.success(s("fileBrowser.upload.uploadSuccessful"))),Rt(!1)},HZ=m.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[m.jsx(ut,{onClick:Nk,children:s("fileBrowser.upload.cancel")}),m.jsx(ut,{type:"primary",onClick:()=>zZ(We),loading:ct,disabled:We.length===0||ct,children:s(ct?"fileBrowser.upload.uploading":"fileBrowser.upload.upload")})]}),UZ=m.jsx(Sn,{className:"sticky-footer",title:s("fileBrowser.upload.modalTitle"),open:ft,onCancel:Nk,footer:HZ,children:m.jsx("div",{style:{width:"100%",marginBottom:8},children:m.jsxs(mm.Dragger,{...BZ,style:{width:"100%",marginBottom:8},children:[m.jsx("p",{className:"ant-upload-drag-icon",children:m.jsx(eN,{})}),m.jsx("p",{className:"ant-upload-text",children:s("fileBrowser.upload.uploadText")}),m.jsx("p",{className:"ant-upload-hint",children:s("fileBrowser.upload.uploadHint")})]})})}),kk=($e,Re,Be)=>{try{y.open({type:"loading",content:s("fileBrowser.messages.migrationOngoing"),duration:0});const it=`ruid=${$e}&libroot=${Re}`;Ei.apiPostTeddyCloudRaw("/api/migrateContent2Lib",it,Be).then(Ot=>Ot.text()).then(Ot=>{y.destroy(),Ot==="OK"?(y.open({type:"success",content:s("fileBrowser.messages.migrationSuccessful")}),_(Qt=>!Qt)):y.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+Ot})}).catch(Ot=>{y.destroy(),y.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+Ot})})}catch(it){y.destroy(),y.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+it})}},VZ=$e=>{B($e.target.value),f.current=$e.target.selectionStart,H(!0)},WZ=()=>{B(""),f.current=0},GZ=()=>{H(!0)},qZ=()=>{H(!1)},KZ=$e=>D.includes($e.key)?"highlight-row":"",YZ=$e=>{A($e)},XZ=$e=>{const Re=$e===".."?w.split("/").slice(0,-1).join("/"):`${w}/${$e}`;a&&d(`?path=${Re}`),H(!1),A([]),E(Re)},Ak=($e,Re)=>Re.reduce((Be,it)=>{if(Be&&Be[it]!==void 0)return Be[it]},$e),Mk=($e,Re,Be)=>{const it=Array.isArray(Be)?Ak($e,Be):$e[Be],Ot=Array.isArray(Be)?Ak(Re,Be):Re[Be];return it===void 0&&Ot===void 0?0:it===void 0?1:Ot===void 0?-1:typeof it=="string"&&typeof Ot=="string"?it.localeCompare(Ot):typeof it=="number"&&typeof Ot=="number"?it-Ot:(console.log("Unsupported types for sorting:",$e,Re),console.log("Unsupported types for sorting field:",Be,it,Ot),0)},ZZ=($e,Re)=>$e.isDir===Re.isDir?Mk($e,Re,"name"):$e.isDir?-1:1,QZ=$e=>$e>0&&$e<=oB;var Dl=[{title:D.length>0?m.jsxs("div",{style:{display:"flex",gap:8,minHeight:32},children:[I.filter($e=>D.includes($e.name)&&!$e.isDir).length>0?m.jsx(Zt,{title:s("fileBrowser.moveMultiple"),children:m.jsx(ut,{icon:m.jsx(PP,{}),onClick:()=>mn(""),disabled:D.length===0})},"moveMultiple"):"",m.jsx(Zt,{title:s("fileBrowser.deleteMultiple"),children:m.jsx(ut,{icon:m.jsx(Ed,{}),onClick:Rn,disabled:D.length===0})},"deleteMultiple"),QZ(I.filter($e=>D.includes($e.name)&&hu.some(Re=>$e.name.toLowerCase().endsWith(Re))).length)&&e==="library"?m.jsx(Zt,{title:s("fileBrowser.encodeFiles.encodeFiles")+hu.join(", "),children:m.jsx(ut,{icon:m.jsx(DR,{}),onClick:OZ,disabled:D.length===0})},"encodeFiles"):""]}):m.jsx("div",{style:{minHeight:32}}),dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:($e,Re)=>{var Be,it;return Re&&((Be=Re.tonieInfo)!=null&&Be.picture)?m.jsx("img",{src:Re.tonieInfo.picture,alt:s("tonies.content.toniePicture"),onClick:()=>Tn(Re),style:{width:100,cursor:!Re.isDir&&((it=Re==null?void 0:Re.tonieInfo)!=null&&it.tracks)?"help":"default"}},`picture-${Re.name}`):m.jsx(m.Fragment,{})},showOnDirOnly:!1},{title:s("fileBrowser.name"),dataIndex:"name",key:"name",sorter:ZZ,defaultSortOrder:"ascend",render:($e,Re)=>{var Be,it,Ot,Qt,wn;return Re&&m.jsxs("div",{children:[m.jsxs("div",{className:"showSmallDevicesOnly",children:[m.jsxs("div",{children:[m.jsxs("div",{style:{wordBreak:Re.isDir?"normal":"break-word"},children:[Re.isDir?"["+Re.name+"]":Re.name," "]}),!Re.isDir&&Re.size?"("+Wu(Re.size)+")":""]}),m.jsx("div",{children:(Be=Re.tonieInfo)==null?void 0:Be.model}),m.jsx("div",{style:{wordBreak:Re.isDir?"normal":"break-word"},children:((it=Re.tonieInfo)!=null&&it.series?(Ot=Re.tonieInfo)==null?void 0:Ot.series:"")+((Qt=Re.tonieInfo)!=null&&Qt.episode?" - "+((wn=Re.tonieInfo)==null?void 0:wn.episode):"")}),m.jsx("div",{children:!Re.isDir&&new Date(Re.date*1e3).toLocaleString()})]}),m.jsxs("div",{className:"showMediumDevicesOnly",children:[m.jsxs("div",{children:[m.jsxs("div",{style:{wordBreak:Re.isDir?"normal":"break-word"},children:[Re.isDir?"["+Re.name+"]":Re.name," "]}),!Re.isDir&&Re.size?"("+Wu(Re.size)+")":""]}),m.jsx("div",{children:!Re.isDir&&new Date(Re.date*1e3).toLocaleString()})]}),m.jsx("div",{className:"showBigDevicesOnly",children:Re.isDir?"["+Re.name+"]":Re.name})]},`name-${Re.name}`)},filteredValue:[j],onFilter:($e,Re)=>{var it,Ot,Qt,wn;const Be=$e.toLowerCase();return Re.name===".."||Re.name.toLowerCase().includes(Be)||!Re.isDir&&"tafHeader"in Re&&Re.tafHeader.size&&Wu(Re.tafHeader.size).toString().includes(Be)||"tafHeader"in Re&&((it=Re.tafHeader.audioId)==null?void 0:it.toString().includes(Be))||"tonieInfo"in Re&&((Ot=Re.tonieInfo)==null?void 0:Ot.model.toLowerCase().includes(Be))||"tonieInfo"in Re&&((Qt=Re.tonieInfo)==null?void 0:Qt.series.toLowerCase().includes(Be))||"tonieInfo"in Re&&((wn=Re.tonieInfo)==null?void 0:wn.episode.toLowerCase().includes(Be))},showOnDirOnly:!0},{title:s("fileBrowser.size"),dataIndex:"size",key:"size",render:($e,Re)=>m.jsx("div",{children:Re.isDir?"":Wu($e)},`size-${Re.name}`),showOnDirOnly:!1,responsive:["xl"]},{title:s("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:($e,Re)=>{var Be;return m.jsx("div",{children:(Be=Re.tonieInfo)==null?void 0:Be.model},`model-${Re.name}`)}},{title:m.jsxs(m.Fragment,{children:[m.jsxs("div",{className:"showMediumDevicesOnly",children:[s("fileBrowser.model"),"/",s("fileBrowser.series"),"/",s("fileBrowser.episode")]}),m.jsx("div",{className:"showBigDevicesOnly",children:s("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:($e,Re)=>{var Be,it,Ot,Qt,wn,Sr,Ur;return m.jsxs("div",{children:[m.jsxs("div",{className:"showMediumDevicesOnly",children:[m.jsx("div",{children:(Be=Re.tonieInfo)==null?void 0:Be.model}),m.jsx("div",{style:{wordBreak:"break-word"},children:((it=Re.tonieInfo)!=null&&it.series?(Ot=Re.tonieInfo)==null?void 0:Ot.series:"")+((Qt=Re.tonieInfo)!=null&&Qt.episode?" - "+((wn=Re.tonieInfo)==null?void 0:wn.episode):"")})]}),m.jsx("div",{className:"showBigDevicesOnly",children:(Sr=Re.tonieInfo)!=null&&Sr.series?(Ur=Re.tonieInfo)==null?void 0:Ur.series:""})]},`series-${Re.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:s("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:($e,Re)=>{var Be;return m.jsx("div",{children:(Be=Re.tonieInfo)==null?void 0:Be.episode},`episode-${Re.name}`)}},{title:s("fileBrowser.date"),dataIndex:"date",key:"date",render:($e,Re)=>m.jsx("div",{children:new Date($e*1e3).toLocaleString()},`date-${Re.name}`),showOnDirOnly:!0,responsive:["xl"]},{title:m.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:s("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:($e,Re)=>{let Be=[];return Re.tafHeader?(e!=="library"&&(Be.push(m.jsx(Zt,{title:s("fileBrowser.migrateContentToLib"),children:m.jsx(ixe,{onClick:()=>kk(w.replace("/","")+Re.name,!1,r),style:{margin:"0 8px 0 0"}})},`action-migrate-${Re.name}`)),Be.push(m.jsx(Zt,{title:s("fileBrowser.migrateContentToLibRoot"),children:m.jsx(YCe,{onClick:()=>kk(w.replace("/","")+Re.name,!0,r),style:{margin:"0 8px 0 0"}})},`action-migrate-root-${Re.name}`))),Be.push(m.jsx(Zt,{title:s("fileBrowser.playFile"),children:m.jsx(Di,{style:{margin:"0 8px 0 0"},onClick:()=>{var it;return c(encodeURI("/content"+w+"/"+Re.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),Re.tonieInfo,(it=Re.tafHeader)==null?void 0:it.trackSeconds)}})},`action-play-${Re.name}`))):hu.some(it=>Re.name.endsWith(it))&&Be.push(m.jsx(Zt,{title:s("fileBrowser.playFile"),children:m.jsx(Di,{style:{margin:"0 8px 0 0"},onClick:()=>c(encodeURI("/content"+w+"/"+Re.name)+"?special="+e+(r?`&overlay=${r}`:""),Re.tonieInfo)})},`action-play-${Re.name}`)),n&&Re.name.includes(".tap")&&(Be.push(m.jsx(Zt,{title:s("fileBrowser.tap.edit"),children:m.jsx(vg,{style:{margin:"0 8px 0 0"},onClick:()=>Gt(w+"/"+Re.name)})},`action-edit-${Re.name}`)),Be.push(m.jsx(Zt,{title:s("fileBrowser.tap.copy"),children:m.jsx(ZO,{style:{margin:"0 8px 0 0"}})},`action-copy-${Re.name}`))),Re.tafHeader&&Be.push(m.jsx(Zt,{title:s("fileBrowser.tafMeta.edit"),children:m.jsx(vg,{style:{margin:"0 8px 0 0"},onClick:()=>Bt()})},`action-edit-${Re.name}`)),!Re.isDir&&Re.name!==".."&&Be.push(m.jsx(Zt,{title:s("fileBrowser.rename"),children:m.jsx(lwe,{onClick:()=>Xc(Re.name),style:{margin:"0 8px 0 0"}})},`action-rename-${Re.name}`)),!Re.isDir&&Re.name!==".."&&Be.push(m.jsx(Zt,{title:s("fileBrowser.move"),children:m.jsx(PP,{onClick:()=>mn(Re.name),style:{margin:"0 8px 0 0"}})},`action-move-${Re.name}`)),Re.name!==".."&&Be.push(m.jsx(Zt,{title:s("fileBrowser.delete"),children:m.jsx(Ed,{onClick:()=>wt(Re.name,w+"/"+Re.name,"?special="+e+(r?`&overlay=${r}`:"")),style:{margin:"0 8px 0 0"}})},`action-delete-${Re.name}`)),Be},showOnDirOnly:!1}];return Dl.forEach($e=>{$e.hasOwnProperty("sorter")||($e.sorter=(Re,Be)=>Mk(Re,Be,$e.dataIndex))}),o&&(Dl=Dl.filter($e=>$e.showOnDirOnly)),i&&(Dl=Dl.filter($e=>typeof $e.key=="string"?i.includes($e.key):!1)),m.jsxs(m.Fragment,{children:[S,m.jsx(Ad,{title:s("fileBrowser.confirmDeleteModal"),open:ke,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmDeleteDialog",{fileToDelete:Ve}),handleOk:cn,handleCancel:Ct}),m.jsx(Ad,{title:s("fileBrowser.confirmDeleteModal"),open:ge,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmMultipleDeleteDialog"),handleOk:ur,handleCancel:Ct}),Mr,Ft,yn,UZ,wi,Wn,FZ,Y?m.jsx(ck,{open:V,tonieCardOrTAFRecord:Y,onClose:()=>te(!1),overlay:r}):"",m.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[m.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[m.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:s("tonies.currentPath")}),en(w,Pt)]}),e==="library"?m.jsx("div",{style:{width:"100%",marginBottom:8},children:m.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:[m.jsx(ut,{size:"small",onClick:yr,style:{marginBottom:8},children:s("fileBrowser.createDirectory.createDirectory")}),m.jsx(ut,{size:"small",onClick:jZ,style:{marginBottom:8},children:s("fileBrowser.upload.showUploadFilesDragNDrop")})]})}):""]}),m.jsx(Qa,{dataSource:I,columns:Dl,rowKey:$e=>$e.name,pagination:!1,onRow:$e=>({onDoubleClick:()=>{$e.isDir?XZ($e.name):$e.name.includes(".json")||$e.name.includes(".tap")?Qn(w+"/"+$e.name):$e.tafHeader&&er($e.name,$e.tafHeader)}}),rowClassName:KZ,rowSelection:{selectedRowKeys:D,onChange:YZ,getCheckboxProps:$e=>({disabled:$e.name===".."}),onSelectAll:($e,Re)=>{const Be=$e?Re.filter(it=>it.name!=="..").map(it=>it.name):[];A(Be)}},components:{header:{wrapper:$e=>m.jsx("thead",{...$e}),row:$e=>m.jsxs(m.Fragment,{children:[m.jsx("tr",{...$e}),m.jsx("tr",{children:m.jsx("th",{style:{padding:"10px 8px"},colSpan:Dl.length+1,children:m.jsx(Jt,{placeholder:s("fileBrowser.filter"),value:j,onChange:VZ,onFocus:GZ,onBlur:qZ,ref:b,style:{width:"100%"},autoFocus:z,addonAfter:m.jsx(Jr,{onClick:WZ,disabled:j.length===0,style:{color:j.length===0?u.colorTextDisabled:u.colorText,cursor:j.length===0?"default":"pointer"}})})})})]}),cell:$e=>m.jsx("th",{...$e,style:{position:"sticky",top:0,zIndex:20}})}}}),m.jsx(pX,{open:Q,initialValuesJson:G?JSON.stringify(G,null,2):void 0,onCreate:jt,onCancel:()=>{ee(!1)}},oe)]})},{Option:Cze}=Ar,Eze=()=>{const{t:e}=Nt(),{tonieBoxContentDirs:t,overlay:n,handleSelectChange:r}=gk();return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Wo,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Wo,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.content.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[m.jsx("h1",{children:e("tonies.content.title")}),t.length>1?m.jsx(Ar,{id:"contentDirectorySelect",defaultValue:"",onChange:r,style:{maxWidth:"300px"},value:n,title:e("tonies.content.showToniesOfBoxes"),children:t.map(([a,o,i])=>m.jsx(Cze,{value:i,children:o.join(", ")},i))}):""]}),m.jsx(wk,{special:"",overlay:n})]})]})]})},Ize=()=>{const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Wo,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Wo,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.library.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonies.library.title")}),m.jsx(wk,{special:"library"})]})]})]})},{Text:Tze}=bn,Rze=({originNode:e,fileList:t,file:n,onRemove:r,disabled:a})=>{const{attributes:o,listeners:i,setNodeRef:s,transform:c,transition:u,isDragging:d}=FX({id:n.uid}),{t:f}=Nt(),p={transform:Md.Transform.toString(c),transition:u,cursor:"move"};return m.jsx("div",{ref:s,style:p,className:d?"is-dragging":"",...o,...i,children:m.jsxs("div",{className:"ant-upload-list-item ant-upload-list-item-undefined",children:[m.jsx("div",{className:"ant-upload-list-item-thumbnail ant-upload-list-item-file",children:m.jsxs("span",{role:"img","aria-label":"file",className:"anticon anticon-file",children:[t.indexOf(n)+1,"."]})}),m.jsxs("span",{className:"ant-upload-list-item-name",title:n.name,children:[m.jsx("span",{className:"",children:n.name}),m.jsx("br",{}),m.jsx(Tze,{type:"secondary",children:Wu(n.size?n.size:-1)})]}),m.jsx("span",{className:"ant-upload-list-item-actions picture",children:m.jsx(ut,{title:f("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:m.jsx(Ed,{})})})]})})};function _ze(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 h=await p.startRendering(),b=h.numberOfChannels,y=new Float32Array(h.getChannelData(0)),S=b>1?new Float32Array(h.getChannelData(1)):new Float32Array(h.getChannelData(0)),v=new Int16Array(y.length+S.length);for(let x=0,C=0;x{t("Failed to read the file")},a.file&&i.readAsArrayBuffer(a.file)}const $ze=e=>Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&"),Lh=new xn(pn()),{useToken:Oze}=Ea,vu={id:"1",pId:"-1",value:"1",title:"/"},Fh=99,Nze=()=>{const{t:e}=Nt(),{token:t}=Oze(),[n,r]=Xe.useMessage(),[a,o]=l.useState(!1),[i,s]=l.useState([]),[c,u]=l.useState(!1),[d,f]=l.useState(!1),[p,g]=l.useState(""),[h,b]=l.useState(vu.id),[y,S]=l.useState([vu]),[v,x]=l.useState(!1),[C,w]=l.useState(""),[E,I]=l.useState(!1),[T,R]=l.useState(!1),_=l.useRef(null);let $=0;l.useEffect(()=>{(async()=>{const U=new xn(pn());let q=!1;try{const X=await U.apiGetTeddyCloudSettingRaw("debug.web.pcm_encode_console_url");if(!X.ok)throw new Error(`HTTP error! status: ${X.status}`);q=(await X.json()).toString()==="true"}catch(X){console.error("Error fetching debug.web.pcm_encode_console_url: ",X)}o(q)})(),(async()=>{const U=L(vu.id);Lh.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${U}&special=library`).then(q=>q.json()).then(q=>{var X=q.files;X=X.filter(Q=>Q.isDir&&Q.name!=="..").sort((Q,ee)=>Q.name===ee.name?0:Q.name.toLowerCase()>ee.name.toLowerCase()?1:-1).map(Q=>({id:vu.id+"."+X.indexOf(Q),pId:vu.id,value:vu.id+"."+X.indexOf(Q),title:Q.name})),S(y.concat(X))})})()},[]),l.useEffect(()=>{v&&setTimeout(()=>{_.current&&_.current.focus()},0)},[v]),l.useEffect(()=>{$=i.length},[i]);const P=vX(Hy,{activationConstraint:{distance:10}}),D=({active:J,over:G})=>{J.id!==(G==null?void 0:G.id)&&s(U=>{const q=U.findIndex(Q=>Q.uid===J.id),X=U.findIndex(Q=>Q.uid===(G==null?void 0:G.id));return Wy(U,q,X)})},A=({fileList:J})=>{$++,$>Fh&&n.open({type:"error",content:e("tonies.encoder.maxFiles",{maxFiles:Fh})});const G=J.slice(0,Fh);if(G.length===1&&p===""){const q=G[0].name.replace(/\.[^/.]+$/,"");g(q)}s(G)},O=J=>{const G=i.indexOf(J),U=i.slice();U.splice(G,1),s(U)},N=async()=>{u(!0);const J=new FormData;for(const X of i)try{await new Promise((Q,ee)=>_ze(Q,ee,J,i,X,a))}catch(Q){Xe.error(e("tonies.encoder.errorFileProcessing")+" "+Q),u(!1);return}const G=Math.floor(Date.now()/1e3),U={name:p+".taf",audioId:G-1342177280,path:L(h),special:"library"};f(!0);const q=$ze(U);try{const X=await Lh.apiPostTeddyCloudFormDataRaw(`/api/pcmUpload?${q}`,J);X.ok?(Xe.success(e("tonies.encoder.uploadSuccessful")),s([]),g("")):Xe.error(e("tonies.encoder.uploadFailed")+": "+X.statusText),f(!1),u(!1)}catch{Xe.error(e("tonies.encoder.uploadFailed")),f(!1),u(!1)}},k={listType:"picture",multiple:!0,beforeUpload:J=>{const G=J;return G.file=J,i.push(G),s(i),!1},fileList:i,onChange:A,itemRender:(J,G)=>m.jsx(Rze,{originNode:J,fileList:i,file:G,onRemove:O,disabled:c})},M=({id:J})=>new Promise((G,U)=>{const q=L(J);Lh.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${q}&special=library`).then(X=>X.json()).then(X=>{let Q=X.files;Q=Q.filter(ee=>ee.isDir&&ee.name!=="..").sort((ee,oe)=>ee.name===oe.name?0:ee.name.toLowerCase()>oe.name.toLowerCase()?1:-1).map(ee=>({id:J+"."+Q.indexOf(ee),pId:J,value:J+"."+Q.indexOf(ee),title:ee.name})),S(y.concat(Q)),G(!0)}).then(()=>{U()})}),L=J=>{const G=y.filter(U=>U.value===J)[0];return G.pId==="-1"?"":L(y.filter(U=>U.id===G.pId)[0].id)+"/"+G.title},F=()=>{s(J=>[...J].sort((G,U)=>G.name.localeCompare(U.name)))},j=()=>{s([])},B=()=>{x(!0)},z=J=>{R(!Gu(J.target.value.toString())),w(J.target.value)},H=()=>{const J=L(h),G=`${h}.${y.length}`,U={id:G,pId:h,value:G,title:C};try{Lh.apiPostTeddyCloudRaw("/api/dirCreate?special=library",J+"/"+C).then(q=>q.text()).then(q=>{if(q!=="OK")throw new Error(q);S([...y,U].sort((X,Q)=>X.title===Q.title?0:X.title.toLowerCase()>Q.title.toLowerCase()?1:-1)),b(G),Xe.success(e("fileBrowser.createDirectory.directoryCreated")),x(!1),w("")}).catch(q=>{Xe.error(q.message)})}catch{Xe.error("Error while creating directory")}},V=()=>{x(!1),w(""),R(!1)},te=m.jsxs(Sn,{title:e("fileBrowser.createDirectory.modalTitle"),open:v,onCancel:V,onOk:H,okText:e("fileBrowser.createDirectory.create"),cancelText:e("fileBrowser.createDirectory.cancel"),okButtonProps:{disabled:T},children:[m.jsxs("p",{children:[e("fileBrowser.createDirectory.inDirectory")," ",m.jsxs("b",{children:[L(h),"/"]})]}),m.jsx(qt.Item,{validateStatus:T?"error":"",help:T?e("inputValidator.invalidCharactersDetected",{invalidChar:Op}):"",required:!0,children:m.jsx(Jt,{ref:_,autoFocus:!0,placeholder:e("fileBrowser.createDirectory.placeholder"),value:C,status:T?"error":"",onChange:z})})]}),Y=J=>{const G=J.target.value;I(!Gu(G)),g(G)};return m.jsxs(m.Fragment,{children:[r,m.jsx(jn,{children:m.jsx(Wo,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Wo,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.encoder.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonies.encoder.title")}),m.jsxs(Na,{direction:"vertical",style:{display:"flex"},children:[m.jsx(NX,{sensors:[P],onDragEnd:D,children:m.jsx(DX,{items:i.map(J=>J.uid),strategy:AX,disabled:c,children:m.jsxs(mm.Dragger,{...k,disabled:c,children:[m.jsx("p",{className:"ant-upload-drag-icon",children:m.jsx(eN,{})}),m.jsx("p",{className:"ant-upload-text",children:e("tonies.encoder.uploadText",{maxFiles:Fh})}),m.jsx("p",{className:"ant-upload-hint",children:e("tonies.encoder.uploadHint")})]})})}),i.length>0?m.jsxs(m.Fragment,{children:[m.jsxs(Na,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start",flexWrap:"wrap"},children:[m.jsx(ut,{type:"default",disabled:c,onClick:F,children:e("tonies.encoder.sortAlphabetically")}),m.jsx(ut,{type:"default",disabled:c,style:{marginRight:16},onClick:j,children:e("tonies.encoder.clearList")})]}),m.jsx(Rr,{}),m.jsx("div",{style:{width:"100%"},className:"encoder",children:m.jsxs(Na,{direction:"vertical",style:{width:"100%"},children:[m.jsxs(Na.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[m.jsx(Jt,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:e("tonies.encoder.saveAs")}),m.jsx(Al,{treeLine:!0,treeDataSimpleMode:!0,disabled:c,style:{maxWidth:250},value:h,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:b,loadData:M,treeData:y}),m.jsx(Zt,{title:e("fileBrowser.createDirectory.createDirectory"),children:m.jsx(ut,{disabled:c,icon:m.jsx(LR,{}),onClick:B,style:{borderRadius:0}})}),m.jsx(Jt,{addonAfter:".taf",required:!0,defaultValue:p,style:{maxWidth:300},status:i.length>0&&p===""||E?"error":"",onChange:Y,disabled:c})]}),E?m.jsx("div",{style:{textAlign:"end",color:t.colorErrorText},children:e("inputValidator.invalidCharactersDetected",{invalidChar:Op})}):"",m.jsx(Na.Compact,{style:{display:"flex",justifyContent:"flex-end",marginTop:"8px"},children:m.jsx(ut,{type:"primary",onClick:N,disabled:i.length===0||p===""||E,loading:c,children:e(c?d?"tonies.encoder.processing":"tonies.encoder.uploading":"tonies.encoder.upload")})})]})})]}):m.jsx(m.Fragment,{})]})]})]}),te]})},{Paragraph:kze}=bn,Aze=()=>{const{t:e}=Nt(),[t,n]=l.useState(!1),r=a=>{console.log("Received values of form: ",a),n(!1)};return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Wo,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Wo,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.tap.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonies.tap.title")}),m.jsx(An,{message:e("settings.information"),description:m.jsx("div",{children:"Development still in progress - Please be patient or support implementation of this feature!"}),type:"info",showIcon:!0,style:{marginBottom:8}}),m.jsx(wk,{special:"library",filetypeFilter:[".tap"],showColumns:["picture","name","size","date","controls"],isTapList:!0}),m.jsx(kze,{children:m.jsxs("div",{children:[m.jsx(ut,{type:"primary",style:{marginTop:8},onClick:()=>{n(!0)},children:e("tonies.tapEditor.titleCreate")}),m.jsx(pX,{open:t,onCreate:r,onCancel:()=>{n(!1)}})]})})]})]})]})},jh=new xn(pn()),Mze=({overlay:e})=>{var d;const[t,n]=l.useState(),{t:r}=Nt(),[a,o]=l.useState(""),[i,s]=l.useState(!1);l.useEffect(()=>{(async()=>{try{const p=await jh.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,h;s(!0);const p=await jh.apiGetIndexGet(e);(g=p==null?void 0:p.options)!=null&&g.length&&((h=p==null?void 0:p.options)==null?void 0:h.length)>0&&n(p),s(!1)})()},[e,a]);const c=async()=>{try{await jh.apiTriggerWriteConfigGet()}catch{Xe.error("Error while saving config to file.")}},u=async f=>{try{await jh.apiPostTeddyCloudSetting("core.settings_level",f),c(),o(f)}catch{Xe.error("Error while sending data to server.")}};return m.jsxs(m.Fragment,{children:[m.jsx(An,{message:r("settings.warning"),description:m.jsx("div",{children:r("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px"}}),m.jsx(Rr,{children:r("settings.title")}),m.jsx(RY,{initialValues:{test:"test"},onSubmit:f=>{},children:m.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 h=f.iD.split("."),b=g[p-1]?g[p-1].iD.split("."):[];return m.jsxs(se.Fragment,{children:[h.slice(0,-1).map((y,S)=>b[S]!==y?S===0?m.jsxs("h3",{style:{marginLeft:`${S*20}px`,marginBottom:"10px"},children:["Category ",y]},`category-${y}`):m.jsxs("h4",{style:{marginLeft:`${S*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",y]},`category-${y}`):null),m.jsx(_Y,{option:f,overlayId:e},`option-item-${f.iD}`)]},`option-${f.iD}`)})})}),m.jsx(Rr,{children:r("settings.levelLabel")}),m.jsxs(mo.Group,{value:a,onChange:f=>u(f.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:i,children:[m.jsx(mo.Button,{value:"1",children:"Basic"}),m.jsx(mo.Button,{value:"2",children:"Detail"}),m.jsx(mo.Button,{value:"3",children:"Expert"})]})]})},iB=new xn(pn());function BX(){const[e,t]=l.useState([]);return l.useEffect(()=>{async function n(){var r=[];try{const i=await(await iB.apiGetTeddyCloudApiRaw("/api/tonieboxesJson")).json();r=[...r,...i]}catch(o){console.error("Error fetching and transforming toniebox data:",o)}try{const i=await(await iB.apiGetTeddyCloudApiRaw("/api/tonieboxesCustomJson")).json();r=[...r,...i]}catch(o){console.error("Error fetching and transforming custom toniebox data:",o)}const a=r.map(o=>({id:o.id,name:o.name,img_src:o.img_src,crop:o.crop||null}));t(a)}n()},[]),e}const pa=new xn(pn()),{Paragraph:tI,Text:Pze}=bn,{Meta:Dze}=Jd,{useToken:Lze}=Ea,Fze=({tonieboxCard:e,tonieboxImages:t})=>{var xe,ge,Pe,Ve,Ae;const{t:n}=Nt(),{token:r}=Lze(),[a,o]=Xe.useMessage(),[i,s]=l.useState(!1),[c,u]=l.useState(""),[d,f]=l.useState(""),[p,g]=l.useState(""),[h,b]=l.useState(!1),[y,S]=l.useState(null),[v,x]=l.useState(),[C,w]=l.useState(!1),[E,I]=l.useState(!1),[T,R]=l.useState(!1),[_,$]=l.useState(e.boxModel),[P,D]=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,V]=l.useState(0);l.useEffect(()=>{(async()=>{const Oe=await pa.apiGetTonieboxApiAccess(e.ID);z(Oe)})()},[e.ID,C]),l.useEffect(()=>{(async()=>{const He=await pa.apiGetTonieboxStatus(e.ID);s(He)})(),(async()=>{const He=await pa.apiGetTonieboxVersion(e.ID),ze={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};if(He in ze){const Ze=ze[He];u(Ze)}else u("UNKNOWN")})(),(async()=>{const He=await pa.apiGetTonieboxLastRUID(e.ID);if(He!=="ffffffffffffffff"&&He!==""){const ze=await pa.apiGetTonieboxLastRUIDTime(e.ID);(async()=>{const je=await pa.apiGetTagIndex(e.ID);G(je.filter(Je=>Je.ruid===He),ze)})()}})(),i||(async()=>{const ze=await pa.apiGetLastOnline(e.ID);f(ze)})(),(async()=>{const ze=await(await pa.apiGetTeddyCloudSettingRaw("internal.ip",e.ID)).text();g(ze)})(),J(e.boxModel),D(e.boxModel)},[e.ID,e.boxModel]),l.useEffect(()=>{if(p&&c==="CC3200")try{fetch(`http://${p}/api/ajax?cmd=box-battery&sub=stats`).then(be=>be.text()).then(be=>{console.log("Battery Stats fetched --> assume CFW active"),b(!0)}).catch(be=>{console.log("No Battery Stats fetched --> assume CFW not active"),b(!1)})}catch{console.log("No Battery Stats fetched --> assume CFW not active"),b(!1)}},[p,c]);const te=BX(),Y=[{label:n("tonieboxes.editModelModal.unsetBoxName"),value:"-1"}].concat(te.map(be=>({label:be.name,value:be.id}))),J=be=>{const Oe=t.find(Fe=>Fe.id===be);L(Oe?m.jsx("img",{src:Oe.img_src,alt:"",style:{...ae(be),position:"absolute",top:"0",left:"0"}}):m.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"}}))},G=(be,Oe)=>{S(m.jsx(m.Fragment,{children:m.jsx(gt,{to:"/tonies?tonieRUID="+be[0].ruid+"&overlay="+e.ID,children:m.jsx(Zt,{placement:"top",zIndex:2,title:n("tonieboxes.lastPlayedTonie")+be[0].tonieInfo.series+(be[0].tonieInfo.episode?" - "+be[0].tonieInfo.episode:"")+(Oe?" ("+Oe+")":""),children:m.jsx("img",{src:be[0].tonieInfo.picture,alt:"Tonie",style:{position:"absolute",bottom:0,right:0,zIndex:1,padding:8,borderRadius:4,height:"60%"}})})})}))},U=()=>{(async()=>{var Fe,Ke;const Oe=await pa.apiGetIndexGet(e.ID);(Fe=Oe==null?void 0:Oe.options)!=null&&Fe.length&&((Ke=Oe==null?void 0:Oe.options)==null?void 0:Ke.length)>0&&x(Oe)})(),q()},q=()=>{I(!0)},X=async()=>{I(!1)},Q=()=>{I(!1)},ee=()=>{w(!0)},oe=async()=>{w(!1)},le=()=>{w(!1)},fe=()=>{V(be=>be+1),ee()},ce=()=>{D(P===void 0?_:P),R(!0)},Te=()=>{D(_),k(N),O(N),R(!1)},Se=async()=>{J(P),$(P);const be=async()=>{await pa.apiTriggerWriteConfigGet()};try{pa.apiPostTeddyCloudSetting("boxModel",P,e.ID).then(()=>{be()}).catch(Oe=>{Xe.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),Xe.success(n("tonieboxes.editModelModal.successOnModelChange"))}catch(Oe){Xe.error(n("tonieboxes.editModelModal.errorOnModelChange",{error:Oe}))}},ve=async()=>{k(A);const be=async()=>{await pa.apiTriggerWriteConfigGet()};try{pa.apiPostTeddyCloudSetting("boxName",A.toString(),e.ID).then(()=>{be()}).catch(Oe=>{Xe.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),Xe.success(n("tonieboxes.editModelModal.successOnNameChange"))}catch(Oe){Xe.error(n("tonieboxes.editModelModal.errorOnNameChange",{error:Oe}))}},ae=be=>{const Oe=t.find(Fe=>Fe.id===be);if(Oe&&Oe.crop){const[Fe,Ke,He]=Oe.crop;return{width:"100%",height:"auto",transform:`scale(${He}) translateX(${Fe}px) translateY(${Ke}px)`}}else return{width:"100%",height:"auto"}},ie=()=>e.ID.replace(/(.{2})(?=.)/g,"$1:"),ue=async()=>{R(!1),A!==N&&ve(),_!==P&&Se()},ye=m.jsx(m.Fragment,{children:m.jsxs(ut,{type:"primary",onClick:ue,disabled:A===N&&_===P,children:[m.jsx(uq,{},"saveClick")," ",n("tonies.editModal.save")]})}),Ee=m.jsxs(Sn,{title:m.jsx(m.Fragment,{children:m.jsxs("h3",{children:[n("tonieboxes.editModelModal.editModel",{name:e.boxName}),m.jsx("br",{}),m.jsx(Pze,{type:"secondary",children:(c!=="UNKNOWN"?c:"MAC")+": "+ie()})]})}),open:T,footer:ye,onCancel:Te,children:[m.jsx(Rr,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.name")}),m.jsx(tI,{children:m.jsx(Jt,{name:"boxName",value:A,onChange:be=>O(be.target.value),addonBefore:m.jsx(Jr,{onClick:()=>O(N),style:{color:A===N?r.colorTextDisabled:r.colorText,cursor:A===N?"default":"pointer"}})})}),m.jsx(Rr,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.model")}),m.jsx(tI,{children:m.jsx(Ar,{options:Y,value:P,onChange:be=>D(be)})})]}),Me=m.jsxs(Sn,{title:n("tonieboxes.uploadTonieboxCertificatesModal.uploadTonieboxCertificates",{name:e.boxName}),open:E,onOk:X,onCancel:Q,children:[m.jsxs(tI,{children:[n("tonieboxes.uploadTonieboxCertificatesModal.uploadPath")," ",m.jsx("i",{children:(ge=(xe=v==null?void 0:v.options)==null?void 0:xe.find(be=>be.iD==="core.certdir"))==null?void 0:ge.value})," ",m.jsx("small",{children:(Ve=(Pe=v==null?void 0:v.options)==null?void 0:Pe.find(be=>be.iD==="core.certdir"))!=null&&Ve.overlayed?n("tonieboxes.uploadTonieboxCertificatesModal.boxSpecific"):n("tonieboxes.uploadTonieboxCertificatesModal.AttentionGeneralPath")})]}),m.jsx(dX,{overlay:e.ID})]}),Ie=m.jsx(Sn,{title:n("tonieboxes.editTonieboxSettingsModal.editTonieboxSettings",{name:e.boxName}),width:"auto",open:C,onOk:oe,onCancel:le,children:m.jsx(Mze,{overlay:e.ID},H)}),Ce=()=>{try{a.open({type:"loading",content:n("tonieboxes.messages.deleting"),duration:0}),pa.apiPostTeddyCloudSetting("removeOverlay",null,e.ID).then(be=>be.text()).then(be=>{a.destroy(),be==="OK"?(a.open({type:"success",content:n("tonieboxes.messages.deleteSuccessful")}),window.location.reload()):a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+be})}).catch(be=>{a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+be})})}catch(be){a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+be})}},me=()=>{j(!0)},we=()=>{Ce(),j(!1)},_e=()=>{j(!1)},Ne=m.jsx(Ad,{title:n("tonieboxes.confirmDeleteModal"),open:F,okText:n("tonieboxes.delete"),cancelText:n("tonieboxes.cancel"),content:n("tonieboxes.confirmDeleteDialog",{tonieboxToDelete:N}),handleOk:we,handleCancel:_e}),he=async()=>{try{await pa.apiTriggerWriteConfigGet()}catch{Xe.error("Error while saving config to file.")}},ke=async()=>{try{pa.apiPostTeddyCloudSetting("toniebox.api_access",!B,e.ID).then(()=>{he(),z(!B),B?Xe.success(n("tonieboxes.messages.apiAccessDisabled")):Xe.success(n("tonieboxes.messages.apiAccessEnabled"))}).catch(be=>{throw new Error(be.status+" "+be.statusText)})}catch(be){Xe.error(n("tonieboxes.messages.apiAccessNotChangedError")+be)}};return m.jsxs(m.Fragment,{children:[o,m.jsx(Jd,{hoverable:!1,size:"default",style:{background:r.colorBgContainerDisabled,cursor:"default"},title:m.jsx("span",{children:N}),cover:m.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[y,m.jsx("img",{src:(Ae=t.find(be=>be.id==="03-0009"))==null?void 0:Ae.img_src,alt:"",style:{position:"relative",filter:"opacity(0)",width:"100%",height:"auto"}}),M]}),actions:[m.jsx(m.Fragment,{children:B?i?m.jsx(Zt,{title:n("tonieboxes.online"),children:m.jsx(FR,{style:{color:"green",cursor:"default"}})}):m.jsx(Zt,{title:n("tonieboxes.offline")+(d?" - "+n("tonieboxes.lastOnline")+": "+d:""),children:m.jsx(FR,{style:{color:r.colorTextDescription,cursor:"default"}})}):m.jsx(Zt,{title:n("tonieboxes.accessApiDisabled"),children:m.jsx(Pwe,{style:{color:"red",cursor:"pointer"},onClick:ke})})}),m.jsx(vg,{onClick:()=>ce()},"edit"),m.jsx(tN,{style:{marginRight:8},onClick:U},"certificate"),m.jsx(nN,{style:{marginRight:8},onClick:fe},"edit"),m.jsx(Ed,{style:{marginRight:8},onClick:me},"delete")],children:m.jsx(Dze,{description:[(c!=="UNKNOWN"&&c!==void 0&&c!==null?c:"MAC")+" ",h?m.jsx(Zt,{title:n("tonieboxes.linkToBoxCFW"),children:m.jsxs(gt,{to:"http://"+p,target:"_blank",children:[ie()," ",m.jsx(kwe,{})]})}):ie()]})}),Ie,Me,Ee,Ne]})},jze=({tonieboxCards:e})=>{const[t,n]=l.useState(!0),r=BX();return r.length===0&&t?m.jsx("div",{children:"Loading..."}):m.jsx(xl,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:e,renderItem:a=>m.jsx(xl.Item,{id:a.ID,children:m.jsx(Fze,{tonieboxCard:a,tonieboxImages:r})})})},Bze=()=>m.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:m.jsxs("g",{transform:"translate(0.000000,900.000000) scale(0.100000,-0.100000)",fill:"currentColor",stroke:"none",children:[m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"}),m.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"})]})}),Ca=()=>{const{t:e}=Nt(),t=Ki(),[n,r]=l.useState([]),a=s=>{const c=[];s.includes("/tonieboxes/boxsetup")&&(c.push("boxsetup"),s.includes("/tonieboxes/boxsetup/esp32")?c.push("esp32"):s.includes("/tonieboxes/boxsetup/cc3200")?c.push("cc3200"):s.includes("/tonieboxes/boxsetup/cc3235")&&c.push("cc3235")),r(u=>Array.from(new Set([...u,...c])))};l.useEffect(()=>{a(t.pathname)},[t.pathname]);const o=s=>{const c=s.find(d=>!n.includes(d)),u=n.find(d=>!s.includes(d));c?r(d=>[...d,c]):u&&r(d=>d.filter(f=>f!==u))},i=[{key:"tonieboxes",label:m.jsx(gt,{to:"/tonieboxes",style:{marginLeft:8},children:e("tonieboxes.navigationTitle")}),icon:se.createElement(Bze),title:e("tonieboxes.navigationTitle")},{key:"boxsetup",label:m.jsx(gt,{to:"/tonieboxes/boxsetup",style:{color:"currentColor"},children:e("tonieboxes.boxSetup.navigationTitle")}),icon:se.createElement(cq),title:e("tonieboxes.boxSetup.navigationTitle"),children:[{key:"identifyboxversion",label:m.jsx(gt,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}),icon:se.createElement(rm),title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")},{key:"openbox",label:m.jsx(gt,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}),icon:se.createElement(tCe),title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")},{key:"esp32",label:m.jsx(gt,{to:"/tonieboxes/boxsetup/esp32/flashing",style:{color:"currentColor",display:"flex",alignItems:"center",padding:"0 50px 0 0"},children:e("tonieboxes.esp32BoxFlashing.navigationTitle")}),icon:se.createElement(Zf),title:e("tonieboxes.esp32BoxFlashing.navigationTitle"),children:[{key:"esp32legacy",label:m.jsx(gt,{to:"/tonieboxes/boxsetup/esp32/legacy",children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}),icon:se.createElement(Zf),title:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}]},{key:"cc3200",label:m.jsx(gt,{to:"/tonieboxes/boxsetup/cc3200/flashing",children:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}),icon:se.createElement(Zf),title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")},{key:"cc3235",label:m.jsx(gt,{to:"/tonieboxes/boxsetup/cc3235/flashing",children:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}),icon:se.createElement(Zf),title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}];return m.jsx(bm,{mode:"inline",defaultOpenKeys:["sub"],openKeys:n,selectedKeys:[],onOpenChange:o,items:i})},sB=new xn(pn()),zze=()=>{const{t:e}=Nt(),[t,n]=l.useState([]),[r,a]=l.useState(!1);l.useEffect(()=>{(async()=>{const c=await sB.apiGetTonieboxesIndex();n(c)})(),(async()=>{try{const c=await sB.apiGetNewBoxesAllowed();a(c)}catch(c){Xe.error("Fetching new box allowed: "+c)}})()},[]);const o=r?m.jsx(An,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}):"";return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ca,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ca,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonieboxes.title")}),o,m.jsx(jze,{tonieboxCards:t})]})]})]})},Ja=()=>{const{t:e}=Nt(),[t,n]=l.useState([]),r=i=>{const s=[];i.includes("/contribution")&&s.push("contribution"),n(c=>Array.from(new Set([...c,...s])))};l.useEffect(()=>{r(location.pathname)},[location.pathname]);const a=i=>{const s=i.find(u=>!t.includes(u)),c=t.find(u=>!i.includes(u));s?n(u=>[...u,s]):c&&n(u=>u.filter(d=>d!==c))},o=[{key:"community",label:m.jsx(gt,{to:"/community",children:e("community.navigationTitle")}),icon:se.createElement($we),title:e("community.navigationTitle")},{key:"faq",label:m.jsx(gt,{to:"/community/faq",children:e("community.faq.navigationTitle")}),icon:se.createElement(LG),title:e("community.faq.navigationTitle")},{key:"contribution",label:m.jsx(gt,{to:"/community/contribution",style:{color:"currentColor",display:"flex",alignItems:"center",padding:"0 50px 0 0"},children:e("community.contribution.navigationTitle")}),icon:se.createElement(_xe),title:e("community.contribution.navigationTitle"),children:[{key:"toniesJson",label:m.jsx(gt,{to:"/community/contribution/tonies-json",children:e("community.contribution.toniesJson.navigationTitle")}),icon:se.createElement(M0e),title:e("community.contribution.toniesJson.navigationTitle")},{key:"translation",label:m.jsx(gt,{to:"/community/contribution/translations",children:e("community.translations.navigationTitle")}),icon:se.createElement(lq),title:e("community.translations.navigationTitle")}]},{key:"contributors",label:m.jsx(gt,{to:"/community/contributors",children:e("community.contributors.navigationTitle")}),icon:se.createElement(Qxe),title:e("community.contributors.navigationTitle")},{key:"changelog",label:m.jsx(gt,{to:"/community/changelog",children:e("community.changelog.navigationTitle")}),icon:se.createElement(j1e),title:e("community.changelog.navigationTitle")},{key:"Forum",label:m.jsx(gt,{to:"https://forum.revvox.de/",target:"_blank",children:e("community.forum.navigationTitle")}),icon:se.createElement(hxe),title:e("community.forum.navigationTitle")}];return m.jsx(bm,{mode:"inline",defaultOpenKeys:["sub"],openKeys:t,selectedKeys:[],onOpenChange:a,items:o})},{Paragraph:lB}=bn,Hze=()=>{const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ja,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ja,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("community.title")}),m.jsxs(lB,{children:[m.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."]}),m.jsxs(lB,{children:["Your best points of contact are the following locations",m.jsxs("ul",{children:[m.jsxs("li",{children:[m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"}),m.jsx("ul",{children:m.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."})})]}),m.jsxs("li",{children:[m.jsx(gt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"}),m.jsx("ul",{children:m.jsx("li",{children:"The first level support if you need help or if you are interested in getting involved in the development of TeddyCloud."})})]}),m.jsxs("li",{children:[m.jsx(gt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"}),m.jsx("ul",{children:m.jsx("li",{children:"The lively knowledge base for the project, a place to ask questions whose answers can be helpful for others."})})]}),m.jsxs("li",{children:[m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/",target:"_blank",children:"TeddyCloud Wiki"}),m.jsx("ul",{children:m.jsx("li",{children:"A Wiki contains, among other things, how to install TeddyCloud and how to solve possible problems."})})]})]})]})]})]})]})},{Paragraph:bu}=bn,Uze=()=>{const{t:e}=Nt(),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 m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ja,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ja,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("community.contribution.title")}),m.jsxs(bu,{children:[m.jsx(bu,{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!"}),m.jsxs(bu,{children:[m.jsx("h2",{children:"Community values"}),m.jsx(bu,{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."}),m.jsx(bu,{children:"Examples of behaviors that contribute to creating a positive environment include:"}),m.jsx("ul",{children:t.map((r,a)=>m.jsx("li",{children:r},a))})]}),m.jsxs(bu,{children:[m.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.",m.jsx("ul",{children:n.map((r,a)=>m.jsx("li",{children:r},a))})]})]})]})]})]})},Vze=new xn(pn()),{Paragraph:cB}=bn,{Panel:Wze}=yl,Gze=()=>{const{t:e}=Nt(),[t,n]=l.useState({});return l.useEffect(()=>{async function r(){try{const s=(await(await Vze.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()},[]),m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ja,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ja,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")},{title:e("community.contribution.toniesJson.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("community.contribution.toniesJson.title")}),m.jsx(cB,{children:e("community.contribution.toniesJson.text")}),m.jsx(cB,{children:m.jsx(yl,{accordion:!0,children:Object.keys(t).map((r,a)=>m.jsx(Wze,{header:r,children:m.jsx(xl,{children:Array.isArray(t[r])&&t[r].map((o,i)=>m.jsx(xl.Item,{id:o.model,children:m.jsxs("div",{children:[m.jsx("img",{src:o.pic,alt:"",style:{width:"100px",height:"auto"}}),o.model," - ",o.series," -"," ",o.episodes]})},i))})},a))})})]})]})]})},{Paragraph:Bf}=bn,qze=()=>{const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ja,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ja,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contributors.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("community.contributors.title")}),m.jsxs(Bf,{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:",m.jsxs(Bf,{children:[m.jsx("h3",{children:"teddycloud"}),m.jsx("div",{children:"The most neccessary, but mostly invisible part of your TeddyCloud Server."}),m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors"})]}),m.jsxs(Bf,{children:[m.jsx("h3",{children:"teddycloud_web"}),m.jsx("div",{children:"Which is actually this frontend you are using and seeing here."}),m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors"})]}),m.jsxs(Bf,{children:["You can find more contributors to the entire topic complex in the other GitHub repositories at"," ",m.jsx(gt,{to:"https://github.com/orgs/toniebox-reverse-engineering/repositories",target:"_blank",children:"https://github.com/orgs/toniebox-reverse-engineering/repositories"})]})]}),m.jsx(Na,{}),m.jsxs(Bf,{children:[m.jsx("div",{style:{marginBottom:24},children:"A big round of applause for them!"}),m.jsx(pk,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!1,height:150})]})]})]})]})},{Paragraph:uB,Text:nI}=bn,Kze=()=>{const{t:e}=Nt(),t=[{version:"0.6.2",changes:["Stabilization backend","Provide TrackSeconds for Frontend https://github.com/toniebox-reverse-engineering/teddycloud/issues/187","Fixed bug no update of model in content.json if empty https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Added web_version.json for consistency checks, including new setting frontend.ignore_web_version_mismatch","Added frontend setting frontend.confirm_audioplayer_close","Fixed some bugs","gui: Next button in audio player now jumps according tracks of taf","gui: Show error if something went wrong while encoding new taf (Audio Encoder)","gui: Added translation overview page in community contribution section","gui: Improved Audio Encoder, leave selected target folder till reload of page, if only one file is added, take filename as preset for taf filename https://github.com/toniebox-reverse-engineering/teddycloud/issues/223","gui: Fixed filterbug in FileBrowser Component (List + Select) https://github.com/toniebox-reverse-engineering/teddycloud/issues/224","gui: Show warning if web_version of gui does not match expected web_version from backend","gui: Show warning if ogg/opus (taf) is not supported by browser","gui: Integrated frontend.confirm_audioplayer_close","gui: Improved Code Snippet Element, show line numbers and added copy functionality","gui: Added Box setup overview page","gui: Added Box version identification page https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/145","gui: Added Open Toniebox guide page (first version) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/146","gui: Extended CC3200 Firmware flash section, added custom alt Url Patch generation. https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/126","gui: Extended CC3200 Firmware flash section, extended Applying Patches step","gui: Extended CC3235 Firmware flash section, same version as wiki, but additional images flash chip","gui: Added ESP32 Firmware flash legacy section, same version as wiki","gui: some refactoring"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.1...tc_v0.6.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.1...tcw_v0.6.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-2/773",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.2"},{version:"0.6.1",changes:["Stabilization backend","Changed default for setting cloud.prioCustomContent to false","Disabled prioCustomContent if lower audio id is allowed","Added reload tonies(.custom).json api https://github.com/toniebox-reverse-engineering/teddycloud/issues/177","Added moveFile api https://github.com/toniebox-reverse-engineering/teddycloud/issues/198","Added server side taf file encoding","Support TAF files in taps and server side taf file encoding","Added API to extract certificates https://github.com/toniebox-reverse-engineering/teddycloud/issues/103","Initial cert generation generates now a 4096bit long cert https://github.com/toniebox-reverse-engineering/teddycloud/issues/138","Extended settings api","Fixed bug updating empty model information if entry was added in tonies.json https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Fixed some bugs","gui: Fixed bug storing source with html special chars","gui: Fixed bug saving model and source of a tonie/tag at once","gui: Fixed display bug sourceInfo with unknown content","gui: Integrated new reload tonies.json api","gui: Added Moving and renaming of files in library and content","gui: Fixing security weaknesses","gui: Added file upload to library",`gui: If setting "Category frontend: Split content / model" is disabled, don't show the source info in Tonies list and details modal`,"gui: Added encoding functionality in library","gui: Allow playing all encodable files in teddyCloud","gui: ESP32 flash process - integrated remaining manual steps. Certificate extraction is now also automated","gui: Fixed bug tonieboxes if tonieboxes.custom.json was empty or not available https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/133","gui: Added Spanish language - feel free to improve translations as current translation is completely done by ChatGPT."],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.0...tc_v0.6.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.0...tcw_v0.6.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-1/701",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.1"},{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)?m.jsx(gt,{to:i,target:"_blank",rel:"noopener noreferrer",children:i},s):i)};return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ja,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ja,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.changelog.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("community.changelog.title")}),m.jsx(uB,{children:m.jsx(xl,{dataSource:t,renderItem:r=>m.jsxs(m.Fragment,{children:[m.jsxs("h2",{children:["Version ",r.version]}),m.jsxs(uB,{children:[m.jsx("h3",{children:"Changes"}),m.jsx("ul",{children:r.changes.map((a,o)=>m.jsx("li",{children:n(a)},o))})]}),r.commits&&r.commits.length>0&&m.jsxs(m.Fragment,{children:[m.jsx(nI,{strong:!0,children:"All contained commits can be found here (teddy cloud repo):"}),m.jsx("ul",{children:r.commits.map((a,o)=>m.jsx("li",{children:m.jsx(gt,{to:a,target:"_blank",children:a})},o))})]}),r.discussionLink&&m.jsxs(m.Fragment,{children:[m.jsx(nI,{strong:!0,children:"Discussion:"}),m.jsx("ul",{children:m.jsx("li",{children:m.jsx(gt,{to:r.discussionLink,target:"_blank",children:r.discussionLink})})})]}),r.githubReleaseLink&&m.jsxs(m.Fragment,{children:[m.jsx(nI,{strong:!0,children:"GitHub Release:"}),m.jsx("ul",{children:m.jsx("li",{children:m.jsx(gt,{to:r.githubReleaseLink,target:"_blank",children:r.githubReleaseLink})})})]})]})})})]})]})]})};class Ra extends Error{}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const Yze=4,dB=0,fB=1,Xze=2;function ff(e){let t=e.length;for(;--t>=0;)e[t]=0}const Zze=0,zX=1,Qze=2,Jze=3,e9e=258,Ck=29,Rm=256,_g=Rm+1+Ck,od=30,Ek=19,HX=2*_g+1,rc=15,rI=16,t9e=7,Ik=256,UX=16,VX=17,WX=18,E_=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]),Ev=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]),n9e=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),GX=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),r9e=512,ls=new Array((_g+2)*2);ff(ls);const Np=new Array(od*2);ff(Np);const $g=new Array(r9e);ff($g);const Og=new Array(e9e-Jze+1);ff(Og);const Tk=new Array(Ck);ff(Tk);const Fb=new Array(od);ff(Fb);function aI(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 qX,KX,YX;function oI(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const XX=e=>e<256?$g[e]:$g[256+(e>>>7)],Ng=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},qa=(e,t,n)=>{e.bi_valid>rI-n?(e.bi_buf|=t<>rI-e.bi_valid,e.bi_valid+=n-rI):(e.bi_buf|=t<{qa(e,n[t*2],n[t*2+1])},ZX=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},a9e=e=>{e.bi_valid===16?(Ng(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)},o9e=(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,h,b=0;for(p=0;p<=rc;p++)e.bl_count[p]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;uc&&(p=c,b++),n[d*2+1]=p,!(d>r)&&(e.bl_count[p]++,g=0,d>=s&&(g=i[d-s]),h=n[d*2],e.opt_len+=h*(p+g),o&&(e.static_len+=h*(a[d*2+1]+g)));if(b!==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]--,b-=2}while(b>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--)}},QX=(e,t,n)=>{const r=new Array(rc+1);let a=0,o,i;for(o=1;o<=rc;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]=ZX(r[s]++,s))}},i9e=()=>{let e,t,n,r,a;const o=new Array(rc+1);for(n=0,r=0;r>=7;r{let t;for(t=0;t<_g;t++)e.dyn_ltree[t*2]=0;for(t=0;t{e.bi_valid>8?Ng(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},pB=(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?Ai(e,a,t):(i=Og[a],Ai(e,i+Rm+1,t),s=E_[i],s!==0&&(a-=Tk[i],qa(e,a,s)),r--,i=XX(r),Ai(e,i,n),s=Ev[i],s!==0&&(r-=Fb[i],qa(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=HX,i=0;i>1;i>=1;i--)iI(e,n,i);u=o;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],iI(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++,iI(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],o9e(e,t),QX(n,c,e.bl_count)},mB=(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(mB(e,e.dyn_ltree,e.l_desc.max_code),mB(e,e.dyn_dtree,e.d_desc.max_code),I_(e,e.bl_desc),t=Ek-1;t>=3&&e.bl_tree[GX[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},l9e=(e,t,n,r)=>{let a;for(qa(e,t-257,5),qa(e,n-1,5),qa(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 dB;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return fB;for(n=32;n{vB||(i9e(),vB=!0),e.l_desc=new oI(e.dyn_ltree,qX),e.d_desc=new oI(e.dyn_dtree,KX),e.bl_desc=new oI(e.bl_tree,YX),e.bi_buf=0,e.bi_valid=0,JX(e)},tZ=(e,t,n,r)=>{qa(e,(Zze<<1)+(r?1:0),3),eZ(e),Ng(e,n),Ng(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},d9e=e=>{qa(e,zX<<1,3),Ai(e,Ik,ls),a9e(e)},f9e=(e,t,n,r)=>{let a,o,i=0;e.level>0?(e.strm.data_type===Xze&&(e.strm.data_type=c9e(e)),I_(e,e.l_desc),I_(e,e.d_desc),i=s9e(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?tZ(e,t,n,r):e.strategy===Yze||o===a?(qa(e,(zX<<1)+(r?1:0),3),gB(e,ls,Np)):(qa(e,(Qze<<1)+(r?1:0),3),l9e(e,e.l_desc.max_code+1,e.d_desc.max_code+1,i+1),gB(e,e.dyn_ltree,e.dyn_dtree)),JX(e),r&&eZ(e)},p9e=(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[(Og[n]+Rm+1)*2]++,e.dyn_dtree[XX(t)*2]++),e.sym_next===e.sym_end);var g9e=u9e,m9e=tZ,h9e=f9e,v9e=p9e,b9e=d9e,y9e={_tr_init:g9e,_tr_stored_block:m9e,_tr_flush_block:h9e,_tr_tally:v9e,_tr_align:b9e};const S9e=(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 kg=S9e;const x9e=()=>{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},w9e=new Uint32Array(x9e()),C9e=(e,t,n,r)=>{const a=w9e,o=r+n;e^=-1;for(let i=r;i>>8^a[(e^t[i])&255];return e^-1};var Wr=C9e,Oc={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"},pf={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:E9e,_tr_stored_block:T_,_tr_flush_block:I9e,_tr_tally:gl,_tr_align:T9e}=y9e,{Z_NO_FLUSH:ml,Z_PARTIAL_FLUSH:R9e,Z_FULL_FLUSH:_9e,Z_FINISH:Do,Z_BLOCK:bB,Z_OK:oa,Z_STREAM_END:yB,Z_STREAM_ERROR:ji,Z_DATA_ERROR:$9e,Z_BUF_ERROR:sI,Z_DEFAULT_COMPRESSION:O9e,Z_FILTERED:N9e,Z_HUFFMAN_ONLY:Bh,Z_RLE:k9e,Z_FIXED:A9e,Z_DEFAULT_STRATEGY:M9e,Z_UNKNOWN:P9e,Z_DEFLATED:Gy}=pf,D9e=9,L9e=15,F9e=8,j9e=29,B9e=256,R_=B9e+1+j9e,z9e=30,H9e=19,U9e=2*R_+1,V9e=15,hn=3,nl=258,Bi=nl+hn+1,W9e=32,Pd=42,Rk=57,__=69,$_=73,O_=91,N_=103,ac=113,np=666,ka=1,gf=2,Nc=3,mf=4,G9e=3,oc=(e,t)=>(e.msg=Oc[t],t),SB=e=>e*2-(e>4?9:0),Ks=e=>{let t=e.length;for(;--t>=0;)e[t]=0},q9e=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 K9e=(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))},ho=(e,t)=>{I9e(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,lo(e.strm)},_n=(e,t)=>{e.pending_buf[e.pending++]=t},zf=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},k_=(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=kg(e.adler,t,a,n):e.state.wrap===2&&(e.adler=Wr(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},nZ=(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-Bi?e.strstart-(e.w_size-Bi):0,u=e.window,d=e.w_mask,f=e.prev,p=e.strstart+nl;let g=u[r+i-1],h=u[r+i];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+i]!==h||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],h=u[r+i]}}while((t=f[t&d])>c&&--n!==0);return i<=e.lookahead?i:e.lookahead},Dd=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Bi)&&(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),q9e(e),r+=t),e.strm.avail_in===0)break;if(n=k_(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=hn)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=hl(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=hl(e,e.ins_h,e.window[a+hn-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,lo(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&&(k_(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&&(k_(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===Do)&&t!==ml&&e.strm.avail_in===0&&a<=o)&&(r=a>o?o:a,i=t===Do&&e.strm.avail_in===0&&r===a?1:0,T_(e,e.block_start,r,i),e.block_start+=r,lo(e.strm)),i?Nc:ka)},lI=(e,t)=>{let n,r;for(;;){if(e.lookahead=hn&&(e.ins_h=hl(e,e.ins_h,e.window[e.strstart+hn-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-Bi&&(e.match_length=nZ(e,n)),e.match_length>=hn)if(r=gl(e,e.strstart-e.match_start,e.match_length-hn),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=hn){e.match_length--;do e.strstart++,e.ins_h=hl(e,e.ins_h,e.window[e.strstart+hn-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=hl(e,e.ins_h,e.window[e.strstart+1]);else r=gl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(ho(e,!1),e.strm.avail_out===0))return ka}return e.insert=e.strstart{let n,r,a;for(;;){if(e.lookahead=hn&&(e.ins_h=hl(e,e.ins_h,e.window[e.strstart+hn-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=hn-1,n!==0&&e.prev_length4096)&&(e.match_length=hn-1)),e.prev_length>=hn&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-hn,r=gl(e,e.strstart-1-e.prev_match,e.prev_length-hn),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=hl(e,e.ins_h,e.window[e.strstart+hn-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=hn-1,e.strstart++,r&&(ho(e,!1),e.strm.avail_out===0))return ka}else if(e.match_available){if(r=gl(e,0,e.window[e.strstart-1]),r&&ho(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return ka}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=gl(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<=nl){if(Dd(e),e.lookahead<=nl&&t===ml)return ka;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=hn&&e.strstart>0&&(a=e.strstart-1,r=i[a],r===i[++a]&&r===i[++a]&&r===i[++a])){o=e.strstart+nl;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>=hn?(n=gl(e,1,e.match_length-hn),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=gl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(ho(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,t===Do?(ho(e,!0),e.strm.avail_out===0?Nc:mf):e.sym_next&&(ho(e,!1),e.strm.avail_out===0)?ka:gf},X9e=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(Dd(e),e.lookahead===0)){if(t===ml)return ka;break}if(e.match_length=0,n=gl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(ho(e,!1),e.strm.avail_out===0))return ka}return e.insert=0,t===Do?(ho(e,!0),e.strm.avail_out===0?Nc:mf):e.sym_next&&(ho(e,!1),e.strm.avail_out===0)?ka:gf};function Ii(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 rp=[new Ii(0,0,0,0,rZ),new Ii(4,4,8,4,lI),new Ii(4,5,16,8,lI),new Ii(4,6,32,32,lI),new Ii(4,4,16,16,yu),new Ii(8,16,32,32,yu),new Ii(8,16,128,128,yu),new Ii(8,32,128,256,yu),new Ii(32,128,258,1024,yu),new Ii(32,258,258,4096,yu)],Z9e=e=>{e.window_size=2*e.w_size,Ks(e.head),e.max_lazy_match=rp[e.level].max_lazy,e.good_match=rp[e.level].good_length,e.nice_match=rp[e.level].nice_length,e.max_chain_length=rp[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=hn-1,e.match_available=0,e.ins_h=0};function Q9e(){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=Gy,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(U9e*2),this.dyn_dtree=new Uint16Array((2*z9e+1)*2),this.bl_tree=new Uint16Array((2*H9e+1)*2),Ks(this.dyn_ltree),Ks(this.dyn_dtree),Ks(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(V9e+1),this.heap=new Uint16Array(2*R_+1),Ks(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*R_+1),Ks(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 _m=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.status!==Pd&&t.status!==Rk&&t.status!==__&&t.status!==$_&&t.status!==O_&&t.status!==N_&&t.status!==ac&&t.status!==np?1:0},aZ=e=>{if(_m(e))return oc(e,ji);e.total_in=e.total_out=0,e.data_type=P9e;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?Rk:t.wrap?Pd:ac,e.adler=t.wrap===2?0:1,t.last_flush=-2,E9e(t),oa},oZ=e=>{const t=aZ(e);return t===oa&&Z9e(e.state),t},J9e=(e,t)=>_m(e)||e.state.wrap!==2?ji:(e.state.gzhead=t,oa),iZ=(e,t,n,r,a,o)=>{if(!e)return ji;let i=1;if(t===O9e&&(t=6),r<0?(i=0,r=-r):r>15&&(i=2,r-=16),a<1||a>D9e||n!==Gy||r<8||r>15||t<0||t>9||o<0||o>A9e||r===8&&i!==1)return oc(e,ji);r===8&&(r=9);const s=new Q9e;return e.state=s,s.strm=e,s.status=Pd,s.wrap=i,s.gzhead=null,s.w_bits=r,s.w_size=1<iZ(e,t,Gy,L9e,F9e,M9e),tHe=(e,t)=>{if(_m(e)||t>bB||t<0)return e?oc(e,ji):ji;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===np&&t!==Do)return oc(e,e.avail_out===0?sI:ji);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(lo(e),e.avail_out===0)return n.last_flush=-1,oa}else if(e.avail_in===0&&SB(t)<=SB(r)&&t!==Do)return oc(e,sI);if(n.status===np&&e.avail_in!==0)return oc(e,sI);if(n.status===Pd&&n.wrap===0&&(n.status=ac),n.status===Pd){let a=Gy+(n.w_bits-8<<4)<<8,o=-1;if(n.strategy>=Bh||n.level<2?o=0:n.level<6?o=1:n.level===6?o=2:o=3,a|=o<<6,n.strstart!==0&&(a|=W9e),a+=31-a%31,zf(n,a),n.strstart!==0&&(zf(n,e.adler>>>16),zf(n,e.adler&65535)),e.adler=1,n.status=ac,lo(e),n.pending!==0)return n.last_flush=-1,oa}if(n.status===Rk){if(e.adler=0,_n(n,31),_n(n,139),_n(n,8),n.gzhead)_n(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)),_n(n,n.gzhead.time&255),_n(n,n.gzhead.time>>8&255),_n(n,n.gzhead.time>>16&255),_n(n,n.gzhead.time>>24&255),_n(n,n.level===9?2:n.strategy>=Bh||n.level<2?4:0),_n(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(_n(n,n.gzhead.extra.length&255),_n(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Wr(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=__;else if(_n(n,0),_n(n,0),_n(n,0),_n(n,0),_n(n,0),_n(n,n.level===9?2:n.strategy>=Bh||n.level<2?4:0),_n(n,G9e),n.status=ac,lo(e),n.pending!==0)return n.last_flush=-1,oa}if(n.status===__){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=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex+=s,lo(e),n.pending!==0)return n.last_flush=-1,oa;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=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=$_}if(n.status===$_){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=Wr(e.adler,n.pending_buf,n.pending-a,a)),lo(e),n.pending!==0)return n.last_flush=-1,oa;a=0}n.gzindexa&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=O_}if(n.status===O_){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=Wr(e.adler,n.pending_buf,n.pending-a,a)),lo(e),n.pending!==0)return n.last_flush=-1,oa;a=0}n.gzindexa&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a))}n.status=N_}if(n.status===N_){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(lo(e),n.pending!==0))return n.last_flush=-1,oa;_n(n,e.adler&255),_n(n,e.adler>>8&255),e.adler=0}if(n.status=ac,lo(e),n.pending!==0)return n.last_flush=-1,oa}if(e.avail_in!==0||n.lookahead!==0||t!==ml&&n.status!==np){let a=n.level===0?rZ(n,t):n.strategy===Bh?X9e(n,t):n.strategy===k9e?Y9e(n,t):rp[n.level].func(n,t);if((a===Nc||a===mf)&&(n.status=np),a===ka||a===Nc)return e.avail_out===0&&(n.last_flush=-1),oa;if(a===gf&&(t===R9e?T9e(n):t!==bB&&(T_(n,0,0,!1),t===_9e&&(Ks(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),lo(e),e.avail_out===0))return n.last_flush=-1,oa}return t!==Do?oa:n.wrap<=0?yB:(n.wrap===2?(_n(n,e.adler&255),_n(n,e.adler>>8&255),_n(n,e.adler>>16&255),_n(n,e.adler>>24&255),_n(n,e.total_in&255),_n(n,e.total_in>>8&255),_n(n,e.total_in>>16&255),_n(n,e.total_in>>24&255)):(zf(n,e.adler>>>16),zf(n,e.adler&65535)),lo(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?oa:yB)},nHe=e=>{if(_m(e))return ji;const t=e.state.status;return e.state=null,t===ac?oc(e,$9e):oa},rHe=(e,t)=>{let n=t.length;if(_m(e))return ji;const r=e.state,a=r.wrap;if(a===2||a===1&&r.status!==Pd||r.lookahead)return ji;if(a===1&&(e.adler=kg(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){a===0&&(Ks(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,Dd(r);r.lookahead>=hn;){let c=r.strstart,u=r.lookahead-(hn-1);do r.ins_h=hl(r,r.ins_h,r.window[c+hn-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=hn-1,Dd(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=hn-1,r.match_available=0,e.next_in=i,e.input=s,e.avail_in=o,r.wrap=a,oa};var aHe=eHe,oHe=iZ,iHe=oZ,sHe=aZ,lHe=J9e,cHe=tHe,uHe=nHe,dHe=rHe,fHe="pako deflate (from Nodeca project)",kp={deflateInit:aHe,deflateInit2:oHe,deflateReset:iHe,deflateResetKeep:sHe,deflateSetHeader:lHe,deflate:cHe,deflateEnd:uHe,deflateSetDictionary:dHe,deflateInfo:fHe};const pHe=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var gHe=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)pHe(n,r)&&(e[r]=n[r])}}return e},mHe=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;Ag[254]=Ag[254]=1;var hHe=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 vHe=(e,t)=>{if(t<65534&&e.subarray&&sZ)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 vHe(o,a)},yHe=(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+Ag[e[n]]>t?n:t},Mg={string2buf:hHe,buf2string:bHe,utf8border:yHe};function SHe(){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 lZ=SHe;const cZ=Object.prototype.toString,{Z_NO_FLUSH:xHe,Z_SYNC_FLUSH:wHe,Z_FULL_FLUSH:CHe,Z_FINISH:EHe,Z_OK:jb,Z_STREAM_END:IHe,Z_DEFAULT_COMPRESSION:THe,Z_DEFAULT_STRATEGY:RHe,Z_DEFLATED:_He}=pf;function $m(e){this.options=qy.assign({level:THe,method:_He,chunkSize:16384,windowBits:15,memLevel:8,strategy:RHe},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 lZ,this.strm.avail_out=0;let n=kp.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==jb)throw new Error(Oc[n]);if(t.header&&kp.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=Mg.string2buf(t.dictionary):cZ.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=kp.deflateSetDictionary(this.strm,r),n!==jb)throw new Error(Oc[n]);this._dict_set=!0}}$m.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?EHe:xHe,typeof e=="string"?n.input=Mg.string2buf(e):cZ.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===wHe||o===CHe)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(a=kp.deflate(n,o),a===IHe)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=kp.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===jb;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};$m.prototype.onData=function(e){this.chunks.push(e)};$m.prototype.onEnd=function(e){e===jb&&(this.result=qy.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function _k(e,t){const n=new $m(t);if(n.push(e,!0),n.err)throw n.msg||Oc[n.err];return n.result}function $He(e,t){return t=t||{},t.raw=!0,_k(e,t)}function OHe(e,t){return t=t||{},t.gzip=!0,_k(e,t)}var NHe=$m,kHe=_k,AHe=$He,MHe=OHe,PHe=pf,DHe={Deflate:NHe,deflate:kHe,deflateRaw:AHe,gzip:MHe,constants:PHe};const zh=16209,LHe=16191;var FHe=function(t,n){let r,a,o,i,s,c,u,d,f,p,g,h,b,y,S,v,x,C,w,E,I,T,R,_;const $=t.state;r=t.next_in,R=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,h=$.bits,b=$.lencode,y=$.distcode,S=(1<<$.lenbits)-1,v=(1<<$.distbits)-1;e:do{h<15&&(g+=R[r++]<>>24,g>>>=C,h-=C,C=x>>>16&255,C===0)_[o++]=x&65535;else if(C&16){w=x&65535,C&=15,C&&(h>>=C,h-=C),h<15&&(g+=R[r++]<>>24,g>>>=C,h-=C,C=x>>>16&255,C&16){if(E=x&65535,C&=15,hc){t.msg="invalid distance too far back",$.mode=zh;break e}if(g>>>=C,h-=C,C=o-i,E>C){if(C=E-C,C>d&&$.sane){t.msg="invalid distance too far back",$.mode=zh;break e}if(I=0,T=p,f===0){if(I+=u-C,C2;)_[o++]=T[I++],_[o++]=T[I++],_[o++]=T[I++],w-=3;w&&(_[o++]=T[I++],w>1&&(_[o++]=T[I++]))}else{I=o-E;do _[o++]=_[I++],_[o++]=_[I++],_[o++]=_[I++],w-=3;while(w>2);w&&(_[o++]=_[I++],w>1&&(_[o++]=_[I++]))}}else if(C&64){t.msg="invalid distance code",$.mode=zh;break e}else{x=y[(x&65535)+(g&(1<>3,r-=w,h-=w<<3,g&=(1<{const c=s.bits;let u=0,d=0,f=0,p=0,g=0,h=0,b=0,y=0,S=0,v=0,x,C,w,E,I,T=null,R;const _=new Uint16Array(Su+1),$=new Uint16Array(Su+1);let P=null,D,A,O;for(u=0;u<=Su;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===CB||p!==1))return-1;for($[1]=0,u=1;uxB||e===EB&&S>wB)return 1;for(;;){D=u-b,i[d]+1=R?(A=P[i[d]-R],O=T[i[d]-R]):(A=96,O=0),x=1<>b)+C]=D<<24|A<<16|O|0;while(C!==0);for(x=1<>=1;if(x!==0?(v&=x-1,v+=x):v=0,d++,--_[u]===0){if(u===p)break;u=t[n+i[d]]}if(u>g&&(v&E)!==w){for(b===0&&(b=g),I+=f,h=u-b,y=1<xB||e===EB&&S>wB)return 1;w=v&E,a[w]=g<<24|h<<16|I-o|0}}return v!==0&&(a[I+v]=u-b<<24|64<<16|0),s.bits=g,0};var Ap=UHe;const VHe=0,uZ=1,dZ=2,{Z_FINISH:IB,Z_BLOCK:WHe,Z_TREES:Hh,Z_OK:kc,Z_STREAM_END:GHe,Z_NEED_DICT:qHe,Z_STREAM_ERROR:Go,Z_DATA_ERROR:fZ,Z_MEM_ERROR:pZ,Z_BUF_ERROR:KHe,Z_DEFLATED:TB}=pf,Ky=16180,RB=16181,_B=16182,$B=16183,OB=16184,NB=16185,kB=16186,AB=16187,MB=16188,PB=16189,Bb=16190,ts=16191,uI=16192,DB=16193,dI=16194,LB=16195,FB=16196,jB=16197,BB=16198,Uh=16199,Vh=16200,zB=16201,HB=16202,UB=16203,VB=16204,WB=16205,fI=16206,GB=16207,qB=16208,ir=16209,gZ=16210,mZ=16211,YHe=852,XHe=592,ZHe=15,QHe=ZHe,KB=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function JHe(){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 Yc=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.modemZ?1:0},hZ=e=>{if(Yc(e))return Go;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=Ky,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(YHe),t.distcode=t.distdyn=new Int32Array(XHe),t.sane=1,t.back=-1,kc},vZ=e=>{if(Yc(e))return Go;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,hZ(e)},bZ=(e,t)=>{let n;if(Yc(e))return Go;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?Go:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,vZ(e))},yZ=(e,t)=>{if(!e)return Go;const n=new JHe;e.state=n,n.strm=e,n.window=null,n.mode=Ky;const r=bZ(e,t);return r!==kc&&(e.state=null),r},eUe=e=>yZ(e,QHe);let YB=!0,pI,gI;const tUe=e=>{if(YB){pI=new Int32Array(512),gI=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(Ap(uZ,e.lens,0,288,pI,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Ap(dZ,e.lens,0,32,gI,0,e.work,{bits:5}),YB=!1}e.lencode=pI,e.lenbits=9,e.distcode=gI,e.distbits=5},SZ=(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,h,b,y=0,S,v,x,C,w,E,I,T;const R=new Uint8Array(4);let _,$;const P=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Yc(e)||!e.output||!e.input&&e.avail_in!==0)return Go;n=e.state,n.mode===ts&&(n.mode=uI),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,T=kc;e:for(;;)switch(n.mode){case Ky:if(n.wrap===0){n.mode=uI;break}for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Wr(n.check,R,2,0),u=0,d=0,n.mode=RB;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=ir;break}if((u&15)!==TB){e.msg="unknown compression method",n.mode=ir;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=ir;break}n.dmax=1<>8&1),n.flags&512&&n.wrap&4&&(R[0]=u&255,R[1]=u>>>8&255,n.check=Wr(n.check,R,2,0)),u=0,d=0,n.mode=_B;case _B:for(;d<32;){if(s===0)break e;s--,u+=r[o++]<>>8&255,R[2]=u>>>16&255,R[3]=u>>>24&255,n.check=Wr(n.check,R,4,0)),u=0,d=0,n.mode=$B;case $B:for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>8),n.flags&512&&n.wrap&4&&(R[0]=u&255,R[1]=u>>>8&255,n.check=Wr(n.check,R,2,0)),u=0,d=0,n.mode=OB;case OB:if(n.flags&1024){for(;d<16;){if(s===0)break e;s--,u+=r[o++]<>>8&255,n.check=Wr(n.check,R,2,0)),u=0,d=0}else n.head&&(n.head.extra=null);n.mode=NB;case NB: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=Wr(n.check,r,g,o)),s-=g,o+=g,n.length-=g),n.length))break e;n.length=0,n.mode=kB;case kB: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=ts;break;case PB:for(;d<32;){if(s===0)break e;s--,u+=r[o++]<>>=d&7,d-=d&7,n.mode=fI;break}for(;d<3;){if(s===0)break e;s--,u+=r[o++]<>>=1,d-=1,u&3){case 0:n.mode=DB;break;case 1:if(tUe(n),n.mode=Uh,t===Hh){u>>>=2,d-=2;break e}break;case 2:n.mode=FB;break;case 3:e.msg="invalid block type",n.mode=ir}u>>>=2,d-=2;break;case DB: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=ir;break}if(n.length=u&65535,u=0,d=0,n.mode=dI,t===Hh)break e;case dI:n.mode=LB;case LB: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=ts;break;case FB: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=ir;break}n.have=0,n.mode=jB;case jB:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[P[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,_={bits:n.lenbits},T=Ap(VHe,n.lens,0,19,n.lencode,0,n.work,_),n.lenbits=_.bits,T){e.msg="invalid code lengths set",n.mode=ir;break}n.have=0,n.mode=BB;case BB:for(;n.have>>24,v=y>>>16&255,x=y&65535,!(S<=d);){if(s===0)break e;s--,u+=r[o++]<>>=S,d-=S,n.lens[n.have++]=x;else{if(x===16){for($=S+2;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=S,d-=S,n.have===0){e.msg="invalid bit length repeat",n.mode=ir;break}I=n.lens[n.have-1],g=3+(u&3),u>>>=2,d-=2}else if(x===17){for($=S+3;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=S,d-=S,I=0,g=3+(u&7),u>>>=3,d-=3}else{for($=S+7;d<$;){if(s===0)break e;s--,u+=r[o++]<>>=S,d-=S,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=ir;break}for(;g--;)n.lens[n.have++]=I}}if(n.mode===ir)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=ir;break}if(n.lenbits=9,_={bits:n.lenbits},T=Ap(uZ,n.lens,0,n.nlen,n.lencode,0,n.work,_),n.lenbits=_.bits,T){e.msg="invalid literal/lengths set",n.mode=ir;break}if(n.distbits=6,n.distcode=n.distdyn,_={bits:n.distbits},T=Ap(dZ,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,_),n.distbits=_.bits,T){e.msg="invalid distances set",n.mode=ir;break}if(n.mode=Uh,t===Hh)break e;case Uh:n.mode=Vh;case Vh: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,FHe(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===ts&&(n.back=-1);break}for(n.back=0;y=n.lencode[u&(1<>>24,v=y>>>16&255,x=y&65535,!(S<=d);){if(s===0)break e;s--,u+=r[o++]<>C)],S=y>>>24,v=y>>>16&255,x=y&65535,!(C+S<=d);){if(s===0)break e;s--,u+=r[o++]<>>=C,d-=C,n.back+=C}if(u>>>=S,d-=S,n.back+=S,n.length=x,v===0){n.mode=WB;break}if(v&32){n.back=-1,n.mode=ts;break}if(v&64){e.msg="invalid literal/length code",n.mode=ir;break}n.extra=v&15,n.mode=zB;case zB: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=HB;case HB:for(;y=n.distcode[u&(1<>>24,v=y>>>16&255,x=y&65535,!(S<=d);){if(s===0)break e;s--,u+=r[o++]<>C)],S=y>>>24,v=y>>>16&255,x=y&65535,!(C+S<=d);){if(s===0)break e;s--,u+=r[o++]<>>=C,d-=C,n.back+=C}if(u>>>=S,d-=S,n.back+=S,v&64){e.msg="invalid distance code",n.mode=ir;break}n.offset=x,n.extra=v&15,n.mode=UB;case UB: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=ir;break}n.mode=VB;case VB: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=ir;break}g>n.wnext?(g-=n.wnext,h=n.wsize-g):h=n.wnext-g,g>n.length&&(g=n.length),b=n.window}else b=a,h=i-n.offset,g=n.length;g>c&&(g=c),c-=g,n.length-=g;do a[i++]=b[h++];while(--g);n.length===0&&(n.mode=Vh);break;case WB:if(c===0)break e;a[i++]=n.length,c--,n.mode=Vh;break;case fI:if(n.wrap){for(;d<32;){if(s===0)break e;s--,u|=r[o++]<{if(Yc(e))return Go;let t=e.state;return t.window&&(t.window=null),e.state=null,kc},aUe=(e,t)=>{if(Yc(e))return Go;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,kc):Go},oUe=(e,t)=>{const n=t.length;let r,a,o;return Yc(e)||(r=e.state,r.wrap!==0&&r.mode!==Bb)?Go:r.mode===Bb&&(a=1,a=kg(a,t,n,0),a!==r.check)?fZ:(o=SZ(e,t,n,n),o?(r.mode=gZ,pZ):(r.havedict=1,kc))};var iUe=vZ,sUe=bZ,lUe=hZ,cUe=eUe,uUe=yZ,dUe=nUe,fUe=rUe,pUe=aUe,gUe=oUe,mUe="pako inflate (from Nodeca project)",cs={inflateReset:iUe,inflateReset2:sUe,inflateResetKeep:lUe,inflateInit:cUe,inflateInit2:uUe,inflate:dUe,inflateEnd:fUe,inflateGetHeader:pUe,inflateSetDictionary:gUe,inflateInfo:mUe};function hUe(){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 vUe=hUe;const xZ=Object.prototype.toString,{Z_NO_FLUSH:bUe,Z_FINISH:yUe,Z_OK:Pg,Z_STREAM_END:mI,Z_NEED_DICT:hI,Z_STREAM_ERROR:SUe,Z_DATA_ERROR:XB,Z_MEM_ERROR:xUe}=pf;function Om(e){this.options=qy.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 lZ,this.strm.avail_out=0;let n=cs.inflateInit2(this.strm,t.windowBits);if(n!==Pg)throw new Error(Oc[n]);if(this.header=new vUe,cs.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Mg.string2buf(t.dictionary):xZ.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=cs.inflateSetDictionary(this.strm,t.dictionary),n!==Pg)))throw new Error(Oc[n])}Om.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?yUe:bUe,xZ.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=cs.inflate(n,i),o===hI&&a&&(o=cs.inflateSetDictionary(n,a),o===Pg?o=cs.inflate(n,i):o===XB&&(o=hI));n.avail_in>0&&o===mI&&n.state.wrap>0&&e[n.next_in]!==0;)cs.inflateReset(n),o=cs.inflate(n,i);switch(o){case SUe:case XB:case hI:case xUe:return this.onEnd(o),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||o===mI))if(this.options.to==="string"){let c=Mg.utf8border(n.output,n.next_out),u=n.next_out-c,d=Mg.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===Pg&&s===0)){if(o===mI)return o=cs.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(n.avail_in===0)break}}return!0};Om.prototype.onData=function(e){this.chunks.push(e)};Om.prototype.onEnd=function(e){e===Pg&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=qy.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function $k(e,t){const n=new Om(t);if(n.push(e),n.err)throw n.msg||Oc[n.err];return n.result}function wUe(e,t){return t=t||{},t.raw=!0,$k(e,t)}var CUe=Om,EUe=$k,IUe=wUe,TUe=$k,RUe=pf,_Ue={Inflate:CUe,inflate:EUe,inflateRaw:IUe,ungzip:TUe,constants:RUe};const{Deflate:RVe,deflate:$Ue,deflateRaw:_Ve,gzip:$Ve}=DHe,{Inflate:OUe,inflate:OVe,inflateRaw:NVe,ungzip:kVe}=_Ue;var NUe=$Ue,kUe=OUe;class Iv{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 Tv(e){return new Promise(t=>setTimeout(t,e))}async function AUe(e){await e.setRTS(!1),await e.setDTR(!1),await Tv(100),await e.setDTR(!0),await e.setRTS(!1),await Tv(100),await e.setRTS(!0),await e.setDTR(!1),await e.setRTS(!0),await Tv(100),await e.setRTS(!1),await e.setDTR(!1)}function MUe(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 PUe(e,t){const n={D:async r=>await e.setDTR(r),R:async r=>await e.setRTS(r),W:async r=>await Tv(r)};try{if(!MUe(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 DUe=function(t){return atob(t)};const ZB=Ma(DUe);async function LUe(e){switch(e){case 15736195:{const{ESP32ROM:t}=await es(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 es(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 es(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 es(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 es(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 es(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 es(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 es(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 es(async()=>{const{ESP32P4ROM:n}=await import("./esp32p4-DfBdIAkh.js");return{ESP32P4ROM:n}},__vite__mapDeps([9,0,1]));return new t}default:return null}}class vI{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 AUe(this.transport);else{const o=n?"D0|R1|W100|W2000|D1|R0|W50|D0":"D0|R1|W100|D1|R0|W50|D0";await PUe(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 LUe(i);if(this.chip===null)throw new Ra(`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,T)=>{const R=s+this.chip.SPI_MOSI_DLEN_OFFS,_=s+this.chip.SPI_MISO_DLEN_OFFS;I>0&&await this.writeReg(R,I-1),T>0&&await this.writeReg(_,T-1)}:g=async(I,T)=>{const R=d,_=17,$=8,P=I===0?0:I-1,A=(T===0?0:T-1)<<$|P<<_;await this.writeReg(R,A)};const h=1<<18,b=28;if(r>32)throw new Ra("Reading more than 32 bits back from a SPI flash operation is unsupported");if(n.length>64)throw new Ra("Writing more than 64 bytes of data with one SPI command is unsupported");const y=n.length*8,S=await this.readReg(u),v=await this.readReg(f);let x=-2147483648,C;r>0&&(x|=268435456),y>0&&(x|=134217728),await g(y,r),await this.writeReg(u,x);let w=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 Ra("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 Ra("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=ZB(this.chip.ROM_TEXT),n=t.split("").map(function(s){return s.charCodeAt(0)});const r=new Uint8Array(n);t=ZB(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 Ra("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 Ra(`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(NUe(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 h=5e3;const b=new kUe({chunkSize:1});let y=0;for(b.onData=function(v){y+=v.byteLength};n.length>0;){this.debug("Write loop "+r+" "+u+" "+c),this.info("Writing at 0x"+(r+y).toString(16)+"... ("+Math.floor(100*(u+1)/c)+"%)");const v=this.bstrToUi8(n.slice(0,this.FLASH_WRITE_SIZE));if(t.compress){const x=y;b.push(v,!1);const C=y-x;let w=3e3;this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,C)>3e3&&(w=this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,C)),this.IS_STUB===!1&&(h=w),await this.flashDeflBlock(v,u,h),this.IS_STUB&&(h=w)}else throw new Ra("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,h),p=new Date;const S=p.getTime()-g;if(t.compress&&this.info("Wrote "+s+" bytes ("+d+" compressed) at 0x"+r.toString(16)+" in "+S/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 Ra("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 Ra("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}}}const FUe=()=>{const[e,t]=l.useState(0),n=["",".","..","...","....","....."];return l.useEffect(()=>{const r=setInterval(()=>{t(a=>(a+1)%n.length)},666);return()=>clearInterval(r)},[]),m.jsx(m.Fragment,{children:n[e]})},jUe=()=>"serial"in navigator,BUe="/web/assets/tb-esp32-uart-clamp-D_86EMpu.png",zUe="/web/assets/esp32_pcb_clamp-Cw2o3uco.png",HUe="/web/assets/tb-esp32-uart-BDPWj6EB.png",bI=new xn(pn()),{Paragraph:ma}=bn;function wZ(){const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(ma,{children:e("tonieboxes.connectESP32Modal.connectESP32Text1")}),m.jsx(ma,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center"},children:m.jsx(Oa,{src:HUe,style:{height:200,width:"auto"},preview:!1,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103")})}),m.jsx("h5",{children:e("tonieboxes.connectESP32Modal.esp32UartJ103ClampTitle")}),m.jsx(ma,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center",flexWrap:"wrap",gap:16},children:m.jsxs(Oa.PreviewGroup,{children:[m.jsxs("div",{style:{maxWidth:200},children:[m.jsx(Oa,{style:{height:200,width:"auto"},src:BUe,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp")}),m.jsx("p",{style:{marginTop:8},children:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp")})]}),m.jsxs("div",{style:{maxWidth:200},children:[m.jsx(Oa,{style:{height:200,width:"auto"},src:zUe,alt:e("tonieboxes.connectESP32Modal.esp32UartJ103AnalogClamp")}),m.jsx("p",{style:{marginTop:8},children:e("tonieboxes.connectESP32Modal.esp32UartJ103AnalogClamp")})]})]})}),m.jsx(ma,{children:e("tonieboxes.connectESP32Modal.esp32UartJ103Clamp4PinHint")}),m.jsx(ma,{children:e("tonieboxes.connectESP32Modal.connectESP32Text2")}),m.jsx(An,{type:"warning",message:e("tonieboxes.connectESP32Modal.beware"),description:e("tonieboxes.connectESP32Modal.warningText")}),m.jsx("h5",{children:e("tonieboxes.connectESP32Modal.normalMode")}),m.jsx(ma,{children:e("tonieboxes.connectESP32Modal.normalModeText")}),m.jsx(ba,{language:"shell",code:`ESP-ROM:esp32s3-20210327 +Build:Mar 27 2021 +rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) +SPIWP:0xee +mode:DIO, clock div:1 +load:0x3fcd0108,len:0x118 +load:0x403b6000,len:0xb90 +load:0x403ba000,len:0x27f4 +entry 0x403b61c4 ++ gibberish`}),m.jsx("h5",{children:e("tonieboxes.connectESP32Modal.downloadMode")}),m.jsx(ma,{children:e("tonieboxes.connectESP32Modal.downloadModeText")}),m.jsx(ba,{language:"shell",code:`ESP-ROM:esp32s3-20210327 +Build:Mar 27 2021 +rst:0x1 (POWERON),boot:0x0 (DOWNLOAD(USB/UART0)) +waiting for download +J103 Pinout`})]})}function Ok(){const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(ma,{children:e("tonieboxes.boxFlashingCommon.certificatesIntro")}),m.jsx("h4",{children:e("tonieboxes.boxFlashingCommon.dumpCertificates")}),m.jsx(ma,{children:e("tonieboxes.boxFlashingCommon.dumpCertificatesIntro1")}),m.jsx(ma,{children:e("tonieboxes.boxFlashingCommon.dumpCertificatesIntro2")})]})}function CZ(){const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx("h4",{children:e("tonieboxes.boxFlashingCommon.dnsHint")}),m.jsx(ma,{children:e("tonieboxes.boxFlashingCommon.dnsText1")}),m.jsx(An,{type:"warning",showIcon:!0,message:e("tonieboxes.boxFlashingCommon.dnsBeware"),description:e("tonieboxes.boxFlashingCommon.dnsBewareText"),style:{marginBottom:16}}),m.jsx(ma,{children:e("tonieboxes.boxFlashingCommon.dnsText2")}),m.jsx(ma,{children:m.jsx(ba,{language:"shell",code:`uci set dhcp.teddycloud="tag" +uci set dhcp.teddycloud.dhcp_option="3,1.2.3.4" # 1.2.3.4=teddycloud ip + +uci add dhcp host +uci set dhcp.@host[-1].name="toniebox_1" +uci set dhcp.@host[-1].mac="00:11:22:33:44:55" # toniebox mac +uci set dhcp.@host[-1].ip="1.2.3.101" # toniebox_1 ip +uci set dhcp.@host[-1].tag="teddycloud" +uci commit dhcp +/etc/init.d/dnsmasq restart`})})]})}const Yy=({boxVersion:e,isOpen:t,onClose:n})=>{const{t:r}=Nt(),[a,o]=l.useState([]),[i,s]=l.useState(!1);l.useEffect(()=>{t&&c()},[t,i]);const c=async()=>{const f=await bI.apiGetTonieboxesIndex(),p=await Promise.all(f.map(async g=>{const b=await bI.apiGetTonieboxStatus(g.ID)?"Online":"Offline",y=await bI.apiGetTonieboxVersion(g.ID);let v={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"}[y]||"UNKNOWN";return{...g,status:b,version:v}}));o(p)},u=[{title:r("tonieboxes.availableBoxModal.commonName"),dataIndex:"commonName",key:"commonName"},{title:r("tonieboxes.availableBoxModal.boxVersion"),dataIndex:"version",key:"version"},{title:r("tonieboxes.availableBoxModal.status"),dataIndex:"status",key:"status"}],d=m.jsxs(ma,{style:{display:"flex",gap:8,justifyContent:"flex-end",flexWrap:"wrap"},children:[m.jsx(ut,{onClick:()=>s(f=>!f),children:r("tonieboxes.availableBoxModal.recheck")}),m.jsxs(ut,{onClick:n,children:[" ",r("tonieboxes.availableBoxModal.cancel")]}),m.jsx(ut,{type:"primary",onClick:n,children:r("tonieboxes.availableBoxModal.ok")})]});return m.jsxs(Sn,{title:r("tonieboxes.availableBoxModal.availableBoxes",{boxVersion:e}),open:t,onOk:n,onCancel:n,footer:d,children:[m.jsxs(ma,{children:[m.jsx(ma,{children:r("tonieboxes.availableBoxModal.newBoxAvailable",{cc3200Hint:e==="CC3200"?r("tonieboxes.availableBoxModal.cc3200Hint"):""})}),m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/test-troubleshooting/",target:"_blank",children:r("tonieboxes.availableBoxModal.troubleShooting")})]}),m.jsx("h4",{children:r("tonieboxes.availableBoxModal.availableBoxes",{boxVersion:e})}),m.jsx(Qa,{dataSource:a.filter(f=>f.version===e),columns:u,rowKey:"ID",pagination:!1})]})},xu=new xn(pn()),{Paragraph:sr,Text:UUe}=bn,{Step:VUe}=Ns,WUe=()=>{const{t:e}=Nt(),t=kr.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(!1),[g,h]=l.useState("certs/client"),[b,y]=l.useState(""),[S,v]=l.useState(0),[x,C]=l.useState(!1),[w,E]=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}),[I,T]=l.useState(!1),R=921600,_=115200;function $(Ce){const me=new Uint8Array(Ce);let we="";for(let _e=0;_e{(async()=>{const we=await(await xu.apiGetTeddyCloudSettingRaw("core.certdir")).text();h(we)})()},[]),l.useEffect(()=>{T(jUe())},[]),l.useEffect(()=>{if(window.location.protocol!=="https:"){a(!1);const Ce=async()=>{try{return await(await xu.apiGetTeddyCloudSettingRaw("core.server.https_web_port")).text()}catch(_e){console.error("Error fetching https port: ",_e)}},me=async()=>{try{return await(await xu.apiGetTeddyCloudSettingRaw("core.server.http_port")).text()}catch(_e){console.error("Error fetching http port: ",_e)}};(async()=>{const _e=await Ce()||"",Ne=await me()||"",he=new URL(window.location.href);he.protocol="https:",he.port?he.port=he.port===Ne?_e:he.port:he.port=_e,i(he.toString())})()}else a(!0)},[]),l.useEffect(()=>{Q(S,(()=>{switch(S){case 0:return te;case 1:return Y;case 2:return J;case 3:return U;default:return m.jsx("div",{})}})())},[w,t]),l.useEffect(()=>{w.proceed&&Te()},[w.proceed]),l.useEffect(()=>{c(w.actionInProgress)},[w.actionInProgress]);const P=()=>{o&&(window.location.href=o)},D=async Ce=>{if(w.port)return console.log(w.port.getInfo),w.port;E(we=>({...we,showStatus:!0,showProgress:!1,progress:0,state:Ce||"Open serial port"}));let me=null;try{me=await navigator.serial.requestPort(),await me.open({baudRate:115200}),await me.close()}catch(we){return we==="NetworkError"?(E(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"),error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"))):we==="NotFoundError"?E(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.noPortAvailable"),error:!0})):(E(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+we,error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+` ${we}`)),null}return me?(console.log("port done"),E(we=>({...we,port:me})),me):(E(we=>({...we,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.invalidSerialPort"),error:!0})),null)},A=async Ce=>{if(console.log("loadFlashFile"),!Ce.target.files)return;const me=Ce.target.files[0];if(!me)return;E(_e=>({..._e,state:"",chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",error:!1,actionInProgress:!0})),console.log("Read file '"+me+"'");const we=new FileReader;we.onload=async _e=>{var ke;console.log("Connecting to ESP32");const Ne=await D(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadMac"));if(Ne===null||w.connected){E(xe=>({...xe,actionInProgress:!1}));return}E(xe=>({...xe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${w.port}`,showFlash:!1,connected:!0}));let he=null;try{const xe=new Iv(Ne);he=new vI({transport:xe,baudrate:R,romBaudrate:_})}catch(xe){E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${xe}`,connected:!1,actionInProgress:!1,error:!0})),alert(xe),await Ne.close();return}try{E(Oe=>({...Oe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.retrievingMac"),actionInProgress:!0})),await he.main();let xe=await he.chip.readMac(he);E(Oe=>({...Oe,chipMac:xe})),console.log("Chip MAC: "+xe),await Ne.close();const ge=(ke=_e.target)==null?void 0:ke.result,Pe=new Uint8Array(ge),Ve=`ESP32_${xe.replace(/:/g,"")}`,Ae=new Blob([Pe],{type:"application/octet-stream"}),be=URL.createObjectURL(Ae);await N(Pe,Ve),_e.target&&E(Oe=>{var Fe;return{...Oe,patchedFlash:(Fe=_e.target)==null?void 0:Fe.result,showFlash:!0,connected:!1,flashName:"from file",downloadLink:be}}),console.log("Done")}catch(xe){E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${xe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(xe),alert(xe),await Ne.close();return}},we.readAsArrayBuffer(me),E(_e=>({..._e,actionInProgress:!1})),Ce.target.value=""},O=async()=>{let Ce=null,me=null,we="";me=new Uint8Array(1024);const _e=await D(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadFlash"));if(_e===null||w.connected)return;E(xe=>({...xe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${_e.getInfo()}`,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",showFlash:!1,connected:!0,actionInProgress:!0,error:!1}));try{const xe=new Iv(_e);Ce=new vI({transport:xe,baudrate:R,romBaudrate:_})}catch(xe){E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${xe}`,connected:!1,actionInProgress:!1,error:!0})),alert(xe),await _e.close();return}try{E(Ve=>({...Ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await Ce.main(),E(Ve=>({...Ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected")})),we=await Ce.chip.readMac(Ce),E(Ve=>({...Ve,chipMac:we})),console.log("Chip MAC: "+we);const xe=await Ce.chip.getChipDescription(Ce);E(Ve=>({...Ve,chipType:xe}));let ge=await Ce.readFlashId();E(Ve=>({...Ve,flashId:""+ge,flashManuf:""+(ge&255),flashDevice:""+(ge>>8&255)}));let Pe=await Ce.getFlashSize();if(E(Ve=>({...Ve,flashSize:""+Pe})),Pe<0||Pe>16384){E(Ve=>({...Ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await _e.close();return}E(Ve=>({...Ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFlash"),showProgress:!0,progress:0})),me=await Ce.readFlash(0,Pe*1024,(Ve,Ae,be)=>{const Oe=100*Ae/be;E(Fe=>({...Fe,progress:Oe}))}),await _e.close(),E(Ve=>({...Ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFinished"),progress:100,originalFlash:me,connected:!1}))}catch(xe){E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${xe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(xe),alert(xe),await _e.close();return}const Ne=`ESP32_${we.replace(/:/g,"")}`,he=new Blob([me],{type:"application/octet-stream"}),ke=URL.createObjectURL(he);E(xe=>({...xe,downloadLink:ke,showProgress:!1})),await N(me,Ne),console.log("Done")},N=async(Ce,me)=>{try{E(Ne=>({...Ne,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploading"),error:!1}));const we=new FormData;we.append(me,new Blob([Ce.buffer]),me);const _e=await xu.apiPostTeddyCloudFormDataRaw("/api/esp32/uploadFirmware",we);if(_e.ok&&_e.status===200){const Ne=await _e.text();E(he=>({...he,showDownload:!0,filename:Ne,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadSuccessful")+` ${Ne}`+e("tonieboxes.esp32BoxFlashing.esp32flasher.readyToProceed"),proceed:!0,actionInProgress:!1}))}else E(Ne=>({...Ne,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}catch(we){console.error("There was an error when uploading!",we),E(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}},k=async()=>{if(w.wifi_ssid&&!w.wifi_pass||!w.wifi_ssid&&w.wifi_pass){E(me=>({...me,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),showStatus:!0,warningTextWifi:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),error:!0}));return}E(me=>({...me,actionInProgress:!0})),E(me=>({...me,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage"),error:!1}));const Ce=await xu.apiGetTeddyCloudApiRaw(`/api/esp32/patchFirmware?filename=${w.filename}&hostname=${encodeURIComponent(w.hostname)}`+(w.wifi_ssid&&w.wifi_pass?`&wifi_ssid=${encodeURIComponent(w.wifi_ssid)}&wifi_pass=${encodeURIComponent(w.wifi_pass)}`:""));if(E(me=>({...me,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage")})),Ce.ok&&Ce.status===200){const me=await Ce.arrayBuffer();E(Ne=>({...Ne,patchedFlash:me,showFlash:!0,flashName:"patched"}));const we=new Blob([me],{type:"application/octet-stream"}),_e=URL.createObjectURL(we);E(Ne=>({...Ne,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingSuccessful",{size:(me.byteLength/1024/1024).toFixed(0)}),downloadLinkPatched:_e})),Te()}else E(me=>({...me,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFailed"),error:!0}));E(me=>({...me,actionInProgress:!1}))},M=async()=>{const Ce=await D(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(Ce===null||w.connected)return;E(we=>({...we,actionInProgress:!0,error:!1})),E(we=>({...we,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${Ce.getInfo()}`,connected:!0}));let me=null;try{const we=new Iv(Ce);me=new vI({transport:we,baudrate:R,romBaudrate:_})}catch(we){E(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${we}`,connected:!1,actionInProgress:!1,error:!0})),alert(we),await Ce.close();return}try{E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await me.main(),E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let we=await me.chip.readMac(me);E(ge=>({...ge,chipMac:we})),console.log("Chip MAC: "+we);const _e=await me.chip.getChipDescription(me);E(ge=>({...ge,chipType:_e}));let Ne=await me.readFlashId();E(ge=>({...ge,flashId:""+Ne,flashManuf:""+(Ne&255),flashDevice:""+(Ne>>8&255)}));let he=await me.getFlashSize();if(E(ge=>({...ge,flashSize:""+he})),he<0||he>16384){E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await Ce.close();return}E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:(w.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let ke=[];ke.push({data:$(w.patchedFlash),address:0});let xe={fileArray:ke,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(ge,Pe,Ve)=>{const Ae=100*Pe/Ve;E(be=>({...be,progress:Ae}))}};E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:(w.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await me.writeFlash(xe),await Ce.close(),E(ge=>({...ge,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1,proceed:!0}))}catch(we){E(_e=>({..._e,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${we}`,connected:!1,actionInProgress:!1,error:!0})),console.error(we),alert(we),await Ce.close();return}},L=async Ce=>{const me=Xe.loading(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates"),0);Ce&&p(!1);try{const we=await xu.apiPostTeddyCloudRaw(`/api/esp32/extractCerts?filename=${w.filename}`+(Ce?"&overwrite=true":""));if(we.ok&&we.status===200)me(),Xe.success(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesSuccessful",{file:w.filename}));else if(!we.ok&&we.status===409){me();const _e=await we.text();Xe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:w.filename})+": "+_e),y(_e),p(!0)}else me(),Xe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:w.filename})+": "+await we.text())}catch(we){me(),Xe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:w.filename})+": "+we)}},F=[{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}],j=m.jsx(m.Fragment,{children:w.showProgress&&m.jsx("div",{children:m.jsx("div",{children:m.jsx(iy,{percent:w.progress||0,format:Ce=>`${(Ce??0).toFixed(2)}%`})})})}),B=m.jsx(m.Fragment,{children:(w.chipType||w.chipMac)&&m.jsxs("div",{children:[m.jsx(Rr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.infoTable")}),m.jsx("table",{className:"info-table",children:m.jsxs("tbody",{children:[w.chipType&&m.jsxs("tr",{children:[m.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipType")}),m.jsx("td",{children:w.chipType})]}),w.chipMac&&m.jsxs("tr",{children:[m.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipMAC")}),m.jsx("td",{children:w.chipMac})]}),w.flashId&&m.jsxs("tr",{children:[m.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashId")}),m.jsxs("td",{children:["0x",w.flashId.toString()]})]}),w.flashManuf&&m.jsxs("tr",{children:[m.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashManuf")}),m.jsxs("td",{children:["0x",w.flashManuf.toString()]})]}),w.flashDevice&&m.jsxs("tr",{children:[m.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashDevice")}),m.jsxs("td",{children:["0x",w.flashDevice.toString()]})]}),w.flashSize&&m.jsxs("tr",{children:[m.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSize")}),m.jsxs("td",{children:[w.flashSize," KiB"]})]})]})})]})}),z=Ce=>Ce.replace(/[^a-zA-Z0-9-.]/g,"").trim(),H=Ce=>{if(Ce.endsWith("...")){const me=Ce.slice(0,-3);return m.jsxs("div",{style:{display:"flex"},children:[me,m.jsx(FUe,{})]})}return Ce},V=w.showStatus&&m.jsx("div",{className:"status",style:{marginBottom:16,color:w.error?"#CC3010":"unset"},children:m.jsx("i",{children:H(w.state)})}),te=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")}),!w.actionInProgress&&m.jsxs(m.Fragment,{children:[m.jsx(An,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),m.jsx(sr,{style:{marginTop:16},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintReadESP32ImportFlash")}),m.jsx(yl,{size:"small",style:{marginBottom:16},items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectESPCollapseTitle"),children:m.jsx(m.Fragment,{children:wZ()})}]})]}),V,m.jsx("input",{type:"file",style:{display:"none"},ref:n,onChange:A}),j]}),Y=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")}),m.jsxs("div",{children:[!w.actionInProgress&&m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchFlash")}),V,!w.actionInProgress&&w.downloadLink?m.jsxs("div",{style:{marginBottom:16},children:[" ",m.jsx("a",{href:w.downloadLink,download:w.filename,title:w.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})]}):"",m.jsxs(qt,{children:[m.jsx(Rr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameSettings")}),m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchHost")}),m.jsxs(qt.Item,{children:[m.jsxs($a,{align:"middle",style:{display:"flex",alignItems:"center"},children:[m.jsx(En,{style:{flex:"0 0 200px",color:w.warningTextHostname?"#CC3010":"unset"},children:m.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostname")})}),m.jsx(En,{style:{flex:"1 1 auto"},children:m.jsx(Jt,{type:"text",value:w.hostname,onChange:Ce=>{let me=z(Ce.target.value),we="";me.length>12?we=e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong"):we="",E(_e=>({..._e,hostname:me,warningTextHostname:we}))}})})]}),w.warningTextHostname&&m.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong")})]}),m.jsx(Rr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSettings")}),m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchWifi")}),m.jsx(qt.Item,{children:m.jsxs($a,{align:"middle",style:{display:"flex",alignItems:"center"},children:[m.jsx(En,{style:{flex:"0 0 200px",color:w.warningTextWifi?"#CC3010":"unset"},children:m.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSSID")})}),m.jsx(En,{style:{flex:"1 1 auto"},children:m.jsx(Jt,{type:"text",defaultValue:w.wifi_ssid,onChange:Ce=>{let me=Ce.target.value;E(we=>({...we,wifi_ssid:me,warningTextWifi:Ce.target.value&&w.wifi_pass||!Ce.target.value&&!w.wifi_pass?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]})}),m.jsxs(qt.Item,{children:[m.jsxs($a,{align:"middle",style:{display:"flex",alignItems:"center"},children:[m.jsx(En,{style:{flex:"0 0 200px",color:w.warningTextWifi?"#CC3010":"unset"},children:m.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiPassword")})}),m.jsx(En,{style:{flex:"1 1 auto"},children:m.jsx(Jt.Password,{defaultValue:w.wifi_pass,onChange:Ce=>{let me=Ce.target.value;E(we=>({...we,wifi_pass:me,warningTextWifi:Ce.target.value&&w.wifi_ssid||!Ce.target.value&&!w.wifi_ssid?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]}),w.warningTextWifi&&m.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")})]})]})]}),j]}),J=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")}),!w.actionInProgress&&m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintFlashESP32")}),V,!w.actionInProgress&&w.downloadLinkPatched?m.jsxs("div",{style:{marginBottom:16},children:[" ",m.jsx("a",{href:w.downloadLinkPatched,download:"patched_"+w.filename,title:"patched_"+w.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})]}):"",j]}),G=`${g}/${w.chipMac?w.chipMac.replaceAll(":","").toLowerCase():""}`,U=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareFlashed")}),V,j,(w.downloadLink||w.downloadLinkPatched)&&m.jsxs(m.Fragment,{children:[m.jsx(An,{type:"info",style:{marginTop:16},showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates"),description:m.jsxs("div",{children:[m.jsxs(bn,{children:[m.jsx(Rr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.automatically")}),m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint")}),m.jsx(ut,{icon:m.jsx(tN,{}),disabled:s,type:"primary",onClick:()=>ce(),style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates")}),m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint2",{certDir:g,mac:w.chipMac.replaceAll(":","").toLocaleLowerCase()})})]}),m.jsx(Rr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.manually")}),m.jsx(bn,{style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHint")}),m.jsx(bn,{children:m.jsx(yl,{size:"small",items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManually"),children:m.jsxs(bn,{children:[m.jsxs(sr,{children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP1")," ",m.jsx(UUe,{code:!0,children:"docker exec -it bash"}),"."]}),m.jsx(sr,{children:m.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 +mkdir ${G} +teddycloud --esp32-extract data/firmware/`+(w.filename?w.filename:"ESP32_.bin")+` --destination ${G}`})}),m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP2")}),m.jsx(sr,{children:m.jsx("pre",{style:{fontSize:12},children:`mv ${G}/CLIENT.DER ${G}/client.der +mv ${G}/PRIVATE.DER ${g}/${G}/private.der +mv ${G}/CA.DER ${g}/${G}/ca.der`})}),m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP3")}),m.jsx(sr,{children:m.jsx("pre",{style:{fontSize:12},children:`cp ${G}/client.der ${g}/client.der +cp ${G}/private.der ${g}/private.der +cp ${G}/ca.der ${g}/ca.der`})})]})}]})})]})}),m.jsxs(sr,{style:{marginTop:16},children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHint"),m.jsxs("ul",{style:{marginTop:8},children:[w.downloadLink&&m.jsx("li",{children:m.jsx("a",{href:w.downloadLink,download:w.filename,title:w.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})}),w.downloadLinkPatched&&m.jsx("li",{children:m.jsx("a",{href:w.downloadLinkPatched,download:"patched_"+w.filename,title:"patched_"+w.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})})]})]})]})]}),[q,X]=l.useState([te,Y,J,U]),Q=(Ce,me)=>{X(we=>{const _e=[...we];return _e[Ce]=me,_e})},ee=()=>{O()},oe=()=>{n.current&&n.current.click()},le=()=>{k()},fe=()=>{M()},ce=()=>{L()},Te=()=>{E(Ce=>({...Ce,proceed:!1})),v(S+1)},Se=()=>{E(Ce=>({...Ce,state:"",showProgress:!1,error:!1})),v(S-1)},ve=()=>{d(!1),fe()},ae=()=>{d(!1)},ie=m.jsx(ut,{icon:m.jsx(Ts,{}),disabled:s,onClick:()=>Se(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previous")}),ue=()=>{ye()},ye=()=>{C(!0)},Ee=()=>{C(!1)},Me=m.jsx(Yy,{boxVersion:"ESP32",isOpen:x,onClose:Ee}),Ie=I?m.jsxs(m.Fragment,{children:[m.jsx(Rr,{children:e("tonieboxes.esp32BoxFlashing.title")}),m.jsx(Ad,{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:ve,handleCancel:ae}),m.jsx(Ns,{current:S,children:F.map((Ce,me)=>m.jsx(VUe,{title:Ce.title,status:me===S&&me===F.length-1?"finish":me===S?w.error?"error":"process":meoe(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.loadFile")}),m.jsx(ut,{icon:m.jsx(QO,{}),disabled:s,type:"primary",onClick:()=>ee(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.readFlash")})]}),m.jsx(ut,{icon:m.jsx(Za,{}),iconPosition:"end",disabled:!w.proceed&&!w.filename||s,onClick:()=>Te(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),S===1&&m.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[ie,m.jsx("div",{style:{display:"flex",gap:8},children:m.jsx(ut,{icon:m.jsx(XO,{}),disabled:s,type:"primary",onClick:()=>le(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchImage")})}),m.jsx(ut,{icon:m.jsx(Za,{}),iconPosition:"end",disabled:s||!w.showFlash,onClick:()=>Te(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),S===2&&m.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[ie,m.jsx("div",{style:{display:"flex",gap:8},children:m.jsx(ut,{icon:m.jsx(tEe,{}),disabled:s,type:"primary",onClick:()=>d(!0),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashEsp32")})}),m.jsx("div",{})]}),S===3&&m.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[ie,m.jsx("div",{children:m.jsx(ut,{icon:m.jsx(Sl,{}),type:"primary",onClick:ue,children:e("tonieboxes.esp32BoxFlashing.legacy.checkBoxes")})}),m.jsx("div",{})]}),B]})]}):m.jsxs(m.Fragment,{children:[m.jsx(sr,{children:m.jsx(An,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:e("tonieboxes.esp32BoxFlashing.browserNotSupported"),type:"warning",showIcon:!0})}),m.jsxs(sr,{style:{marginTop:16},children:[m.jsxs(sr,{children:[" ",e("tonieboxes.esp32BoxFlashing.hintLegacyApproach")]}),m.jsx(sr,{children:m.jsx(ut,{children:m.jsx(gt,{to:"/tonieboxes/boxsetup/esp32/legacy",children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})})]})]});return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ca,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ca,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.title")}),r?Ie:m.jsxs(m.Fragment,{children:[m.jsx(An,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:m.jsxs(m.Fragment,{children:[m.jsx(sr,{children:e("tonieboxes.esp32BoxFlashing.hint")}),m.jsx(sr,{children:m.jsx(ut,{icon:m.jsx(fq,{}),onClick:P,children:e("tonieboxes.esp32BoxFlashing.redirect")})})]}),type:"warning",showIcon:!0}),m.jsxs(sr,{style:{marginTop:16},children:[m.jsxs(sr,{children:[" ",e("tonieboxes.esp32BoxFlashing.legacy.followLegacyApproach")]}),m.jsx(sr,{children:m.jsx(ut,{children:m.jsx(gt,{to:"/tonieboxes/boxsetup/esp32/legacy",children:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")})})})]})]}),m.jsx(Ad,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwrite"),okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteConfirmButton"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteContent",{error:b}),open:f,handleOk:()=>L(!0),handleCancel:()=>p(!1)}),Me]})]})]})},{Paragraph:GUe}=bn,qUe=()=>{const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(El,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(El,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("home.tonieMeeting.navigationTitle")}]}),m.jsx(Dn,{children:m.jsx(GUe,{children:m.jsx(pk,{maxNoOfGuests:500,toniesSize:150,showQuestionMark:!1})})})]})]})},{Paragraph:QB}=bn,KUe=()=>{const{t:e}=Nt(),t=e("faq",{returnObjects:!0});return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ja,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ja,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.faq.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("community.faq.title")}),m.jsx(QB,{children:e("community.faq.intro")}),m.jsx(QB,{children:t.map((n,r)=>m.jsxs("div",{style:{marginBottom:"20px"},children:[m.jsx("h3",{children:n.question}),m.jsx("p",{children:n.answer})]},r))})]})]})]})},yI=new xn(pn()),YUe=()=>{const{t:e}=Nt(),[t,n]=l.useState(""),[r,a]=l.useState(""),[o,i]=l.useState("");l.useEffect(()=>{yI.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(d=>d.text()).then(d=>n(d)).catch(d=>console.error("Error fetching data:",d)),yI.apiGetTeddyCloudSettingRaw("internal.version.id").then(d=>d.text()).then(d=>a(d)).catch(d=>console.error("Error fetching data:",d)),yI.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)=>m.jsx("ul",{children:Object.keys(d).map(p=>{const g=d[p],h=`${f}.${p}`;return typeof g=="object"&&g.items?m.jsxs("li",{children:[e(`${h}.title`),s(g.items,h+".items")]},p):m.jsx("li",{children:e(h)},p)})}),c=e("home.features.features",{returnObjects:!0}),u=e("home.features.futureFeatures",{returnObjects:!0});return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(El,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(El,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("home.features.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("home.features.title")+" "+r}),m.jsx("p",{children:e("home.features.description")}),m.jsxs("p",{children:["Build:"," ",m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/tree/"+o,target:"_blank",children:t.replace(r,"")})]}),m.jsx("h2",{children:e("home.features.currentlyImplementedFeatures")}),s(c,"home.features.features"),m.jsx("h2",{children:e("home.features.yetToCome")}),s(u,"home.features.futureFeatures")]})]})]})},XUe="/web/assets/cc3235_flash-D2YMWv70.jpg",ZUe="/web/assets/cc3235_smd_grippers-MdbEjaZo.jpg",{Paragraph:Ba}=bn,{Step:QUe}=Ns,JUe=()=>{const{t:e}=Nt(),t=kr.language,[n,r]=l.useState(0),[a,o]=l.useState(!1),i=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.boxFlashingCommon.dns")}],s=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),m.jsx(An,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),m.jsxs(Ba,{children:[e("tonieboxes.cc3235BoxFlashing.preparationText")," ",m.jsx(gt,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.preparationTextLink")})]}),m.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.installCC3200tool")}),m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering/cc3200tool?tab=readme-ov-file#installation",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.installCC3200toolLink")}),m.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.installSerprogFirmware")}),m.jsx(Ba,{children:m.jsx(gt,{to:"https://github.com/stacksmashing/pico-serprog",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.serprogFirmwareLink")})})]}),c=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),Ok(),m.jsx("h4",{children:"CC3235"}),m.jsx(Ba,{children:e("tonieboxes.cc3235BoxFlashing.dumpCertificatesCC3235")}),m.jsx(yl,{size:"small",style:{marginBottom:16},items:[{key:"1",label:e("tonieboxes.cc3235BoxFlashing.flashCollapse.collapseTitle"),children:m.jsx(m.Fragment,{children:m.jsx(Ba,{style:{display:"flex",alignItems:"flex-start",justifyContent:"center"},children:m.jsxs(Oa.PreviewGroup,{children:[m.jsxs("div",{style:{display:"inline-block",margin:"0 20px"},children:[m.jsx(Oa,{src:XUe,height:200,alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flash")}),m.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flash")})]}),m.jsxs("div",{style:{maxWidth:200,display:"inline-block",margin:"0 20px"},children:[m.jsx(Oa,{src:ZUe,height:200,alt:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flashWithSMDGrippers")}),m.jsx("p",{style:{marginTop:8},children:e("tonieboxes.cc3235BoxFlashing.flashCollapse.cc3235flashWithSMDGrippers")})]})]})})})}]}),m.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.readingFlashPico")}),m.jsx(Ba,{children:e("tonieboxes.cc3235BoxFlashing.readingFlashPicoText1")}),m.jsx(Ba,{children:m.jsx(ba,{language:"shell",code:"flashrom -p serprog:dev=/dev/ttyACM0:921600 -r cc32xx-flash.bin --progress"})}),m.jsx(Ba,{children:e("tonieboxes.cc3235BoxFlashing.readingFlashPicoText2")}),m.jsx(Ba,{children:m.jsx(ba,{language:"shell",code:"flashrom -p serprog:dev=/dev/ttyACM0:921600 -r cc32xx-flash.2.bin --progress diff cc32xx-flash.bin cc32xx-flash.2.bin #no output = equal"})}),m.jsx("h5",{children:e("tonieboxes.cc3235BoxFlashing.extractCertificates")}),m.jsx(Ba,{children:e("tonieboxes.cc3235BoxFlashing.useCC3200ToolToExtract")}),m.jsx(Ba,{children:m.jsx(ba,{language:"shell",code:"cc3200tool -if cc32xx-flash.bin -d cc32xx read_all_files extract/"})}),m.jsx("h4",{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacement")}),m.jsx(Ba,{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacementText1")}),m.jsx(Ba,{children:m.jsx(ba,{language:"shell",code:`cc3200tool -if cc32xx-flash.bin -of cc32xx-flash.customca.bin -d cc32xx write_file customca.der /cert/ca.der +flashrom -p serprog:dev=/dev/ttyACM0:921600 -w cc32xx-flash.bin --progress`})}),m.jsx(Ba,{children:e("tonieboxes.cc3235BoxFlashing.flashCAreplacementText2")})]}),u=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.dns")}),CZ()]}),[d,f]=l.useState([s,c,u]),p=(w,E)=>{f(I=>{const T=[...I];return T[w]=E,T})};l.useEffect(()=>{p(n,(()=>{switch(n){case 0:return s;case 1:return c;case 2:return u;default:return m.jsx("div",{})}})())},[n,t,vs()]);const g=()=>{r(n-1)},h=()=>{r(n+1)},b=m.jsx(ut,{icon:m.jsx(Ts,{}),onClick:()=>g(),children:e("tonieboxes.cc3235BoxFlashing.previous")}),y=w=>{r(w)},S=()=>{v()},v=()=>{o(!0)},x=()=>{o(!1)},C=m.jsx(Yy,{boxVersion:"CC3235",isOpen:a,onClose:x});return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ca,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ca,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonieboxes.cc3235BoxFlashing.title")}),m.jsx(Rr,{children:e("tonieboxes.cc3235BoxFlashing.title")}),m.jsxs(Ba,{style:{marginTop:16},children:[m.jsx(Ns,{current:n,onChange:y,children:i.map((w,E)=>m.jsx(QUe,{title:w.title,status:E===n&&E===i.length?"finish":E===n?"process":E{const{t:e}=Nt(),t=kr.language,[n,r]=l.useState(0),[a,o]=l.useState(""),[i,s]=l.useState(""),[c,u]=l.useState(!1),d=j=>j.replace(/[^a-zA-Z0-9-.]/g,"").trim(),f=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.cc3200BoxFlashing.bootloader")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.cc3200BoxFlashing.patches")},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}],p=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),m.jsx(An,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),m.jsxs(Qo,{children:[e("tonieboxes.cc3235BoxFlashing.preparationText")," ",m.jsx(gt,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.cc3235BoxFlashing.preparationTextLink")})]}),m.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installCC3200tool")}),m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering/cc3200tool?tab=readme-ov-file#installation",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installCC3200toolLink")}),m.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.connectToToniebox")}),m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/wiki/cc3200/debug-port/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxLink")})]}),g=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.bootloader")}),m.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installBootloader")}),m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/install/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installBootloaderLink")})]}),h=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),Ok(),m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.dumpCertificatesLink")}),m.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacement")}),m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/flash-ca/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementLink")})]}),b=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.patches")}),m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.patchesMoreInformationLink")}),m.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.customUrlPatch")}),m.jsx(An,{description:e("tonieboxes.cc3200BoxFlashing.customUrlPatchHint"),type:"warning",style:{marginBottom:8}}),m.jsxs(qt,{children:[m.jsx(Qo,{children:e("tonieboxes.cc3200BoxFlashing.hintPatchHost")}),m.jsxs(qt.Item,{children:[m.jsxs($a,{align:"middle",style:{display:"flex",alignItems:"center"},children:[m.jsx(En,{style:{flex:"0 0 200px",color:i?"#CC3010":"unset"},children:m.jsx("label",{children:e("tonieboxes.cc3200BoxFlashing.hostname")})}),m.jsx(En,{style:{flex:"1 1 auto"},children:m.jsx(Jt,{type:"text",value:a,onChange:j=>{let B=d(j.target.value),z="";B.length>12?z=e("tonieboxes.cc3200BoxFlashing.hostnameTooLong"):z="",o(B),s(z)}})})]}),i&&m.jsx("p",{style:{color:"#CC3010"},children:i})]})]})]}),y=[{key:"1",keyName:"activeImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.activeImgDesc"),values:"ofw1, ofw2, ofw3, cfw1, cfw2, cfw3, add1, add2, add3",defaultValue:"ofw1"},{key:"2",keyName:"waitForPress",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForPressDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"waitForBoot",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForBootDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"waitTimeoutInS",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitTimeoutInSDesc"),values:"1-255",defaultValue:"60"},{key:"5",keyName:"minBatteryLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.minBatteryLevelDesc"),values:"",defaultValue:"8869"},{key:"6",keyName:"ofwFixValue",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixValueDesc"),values:"hex array with 4 bytes",defaultValue:'["4C", "01", "10", "00"]'},{key:"7",keyName:"ofwFixFlash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixFlashDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"serialLog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.serialLogDesc"),values:"true, false",defaultValue:"true"},{key:"9",keyName:"logLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logLevelDesc"),values:"0-5",defaultValue:"DEBUG_LOG_LEVEL"},{key:"10",keyName:"logColor",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logColorDesc"),values:"true, false",defaultValue:"false"}],S=[{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.key"),dataIndex:"keyName",key:"keyName",width:120},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.description"),dataIndex:"description",key:"description"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.values"),dataIndex:"values",key:"values"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.default"),dataIndex:"defaultValue",key:"defaultValue"}],v=[{key:"1",keyName:"checkHash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.checkHashDesc"),values:"true, false",defaultValue:"true"},{key:"2",keyName:"hashFile",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.hashFileDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"watchdog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.watchdogDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"ofwFix",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixDesc"),values:"true, false",defaultValue:"false"},{key:"5",keyName:"ofwSimBL",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwSimBLDesc"),values:"true, false",defaultValue:"false"},{key:"6",keyName:"bootFlashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.bootFlashImgDesc"),values:"true, false",defaultValue:"false"},{key:"7",keyName:"flashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.flashImgDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"patches",description:m.jsxs(m.Fragment,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchesDesc")," ",m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/tree/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchDirectory")}),", ",m.jsx(gt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchWiki")})]}),values:'["noCerts.305", "noPass3.305"]',defaultValue:"[]"}],x={general:{activeImg:"ofw2",_descWaitForPress:"Waits for an earpress on startup",waitForPress:!1,_descWaitForBoot:"Waits for an earpress before firmware boot",waitForBoot:!1,waitTimeoutInS:60,_descMinBatteryLevel:"Divide through 2785 to get voltage",minBatteryLevel:8869,ofwFixFlash:"/sys/pre-img.bin",_descSerialLog:"Logging only works with the debug build!",serialLog:!1,_descLogLevel:"0:Trace - 5:Fatal",logLevel:0,_descLogColor:"Use colors in log output",logColor:!1},ofw1:{checkHash:!1,hashFile:!1,watchdog:!0,bootFlashImg:!0,flashImg:"/sys/pre-img.bin"},ofw2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!0,patches:["altCa.305","altUrl.custom.305"]},ofw3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,patches:["altCa.305","altUrl.tc.fritz.box"]},cfw1:{checkHash:!1,hashFile:!1,watchdog:!0},cfw2:{checkHash:!1,hashFile:!1,watchdog:!0},cfw3:{checkHash:!1,hashFile:!1,watchdog:!0},add1:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["blockCheck.310","noCerts.305","noPass3.310","noPrivacy.305","uidCheck.307"]},add2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]},add3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]}},C=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}),m.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesWithNgCfgJson")}),m.jsx(Qo,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.introduction")}),m.jsx(yl,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.collapseTitle"),children:m.jsxs(Qo,{children:[m.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.title")}),m.jsxs(Qo,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part1")," ",m.jsx(gt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/ngCfg.json",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_link")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part2")]}),m.jsx(Qo,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part3")}),m.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.generalSection")}),m.jsx(Qa,{dataSource:y,columns:S,pagination:!1,size:"small"}),m.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSection")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSectionIntro"),m.jsx(Qa,{dataSource:v,columns:S,pagination:!1,size:"small"})]})}],style:{marginBottom:16}}),m.jsx(Qo,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part1")}),m.jsx(Qo,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part2")}),m.jsx(yl,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.examplengCFGJsonCollapse.collapseTitle"),children:m.jsx(Qo,{children:m.jsx(ba,{language:"shell",code:JSON.stringify(x,null,2)})})}],style:{marginBottom:16}}),m.jsx(Qo,{style:{marginTop:16},children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.finish")})]}),[w,E]=l.useState([p,g,h,b,C]),I=(j,B)=>{E(z=>{const H=[...z];return H[j]=B,H})};l.useEffect(()=>{I(n,(()=>{switch(n){case 0:return p;case 1:return g;case 2:return h;case 3:return b;case 4:return C;default:return m.jsx("div",{})}})())},[n,a,t,vs()]);const T=()=>{r(n-1)},R=()=>{r(n+1)},_=m.jsx(ut,{icon:m.jsx(Ts,{}),onClick:()=>T(),children:e("tonieboxes.cc3200BoxFlashing.previous")}),$=j=>{r(j)},P=()=>{D()},D=()=>{u(!0)},A=()=>{u(!1)},O=m.jsx(Yy,{boxVersion:"CC3200",isOpen:c,onClose:A}),N={general:{_desc:"Changes Boxine URLs to custom ones.",_memPos:"",_fwVer:"3.0.5+"},searchAndReplace:[{_desc:"prod.de.tbs.toys to ",search:["70","72","6f","64","2e","64","65","2e","74","62","73","2e","74","6f","79","73","00"],replace:["70","72","6f","64","2e","72","65","76","76","6f","78","00","??","??","??","??","??"]},{_desc:"rtnl.bxcl.de to ",search:["72","74","6e","6c","2e","62","78","63","6c","2e","64","65","00"],replace:["72","74","6e","6c","2e","72","65","76","76","6f","78","00","??"]}]},k=(j,B)=>{const z=j.split("").map(J=>J.charCodeAt(0).toString(16).padStart(2,"0"));z.push("00");const H=z.length,te=B-H;return te>0?z.concat(Array.from({length:te},()=>"??")):z},M=j=>({...N,searchAndReplace:(z=>z.map(H=>{const V=k(j,H.replace.length);return{...H,_desc:`${H._desc}${j}`,replace:V}}))(N.searchAndReplace)}),L=j=>`{ + "general": { + "_desc": "${j.general._desc}", + "_memPos": "${j.general._memPos}", + "_fwVer": "${j.general._fwVer}" + }, + "searchAndReplace": [${j.searchAndReplace.map(B=>`{ + "_desc": "${B._desc}", + "search": ["${B.search.join('", "')}"], + "replace": ["${B.replace.join('", "')}"] + }`).join(", ")}] +}`,F=()=>{(B=>{const z=M(B),H=L(z),V=new Blob([H],{type:"application/json"}),te=URL.createObjectURL(V),Y=document.createElement("a");Y.href=te,Y.download="altUrl.custom.305.json",document.body.appendChild(Y),Y.click(),document.body.removeChild(Y)})(a)};return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ca,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ca,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonieboxes.cc3200BoxFlashing.title")}),m.jsx(Rr,{children:e("tonieboxes.cc3200BoxFlashing.title")}),m.jsxs(Qo,{children:[m.jsx(Ns,{current:n,onChange:$,children:f.map((j,B)=>m.jsx(eVe,{title:j.title,status:B===n&&B===f.length?"finish":B===n?"process":B12||a.length===0,type:"primary",onClick:F,children:e("tonieboxes.cc3200BoxFlashing.createPatch")})}),m.jsx("div",{children:m.jsx(ut,{icon:m.jsx(Za,{}),iconPosition:"end",onClick:()=>R(),children:e("tonieboxes.cc3200BoxFlashing.next")})})]}),n===4&&m.jsxs("div",{style:{display:"flex",justifyContent:"space-between",flexWrap:"wrap",gap:8},children:[_,m.jsx("div",{children:m.jsx(ut,{icon:m.jsx(Sl,{}),type:"primary",onClick:P,children:e("tonieboxes.cc3200BoxFlashing.checkBoxes")})}),m.jsx("div",{})]})]})]}),O]})]})]})},{Paragraph:wu}=bn,{useToken:nVe}=Ea,rVe=new xn(pn()),aVe=()=>{const{t:e}=Nt(),{token:t}=nVe(),[n,r]=l.useState(!0);l.useEffect(()=>{(async()=>{try{const i=await rVe.apiGetNewBoxesAllowed();r(i)}catch(i){Xe.error("Fetching new box allowed: "+i)}})()},[]);const a=[{children:m.jsxs(m.Fragment,{children:[m.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.setupTeddyCloud")}),m.jsx(wu,{children:e("tonieboxes.boxSetup.setupTeddyCloudText")})]}),dot:m.jsx(MR,{}),color:t.colorSuccess,style:{paddingBottom:8}},{children:m.jsxs(m.Fragment,{children:[m.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.identifyTonieboxVersion")}),m.jsx(wu,{children:e("tonieboxes.boxSetup.identifyTonieboxVersionText")}),m.jsx("ul",{children:m.jsx("li",{children:m.jsx(gt,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyTonieboxVersion")})})})]}),dot:m.jsx(rm,{}),style:{paddingBottom:8}},{children:m.jsxs(m.Fragment,{children:[m.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.flashBox")}),m.jsx(wu,{children:e("tonieboxes.boxSetup.flashBoxText")}),m.jsxs("ul",{children:[m.jsx("li",{children:m.jsx(gt,{to:"/tonieboxes/boxsetup/esp32/flashing",children:"ESP32"})}),m.jsx("li",{children:m.jsx(gt,{to:"/tonieboxes/boxsetup/cc3200/flashing",children:"CC3200"})}),m.jsx("li",{children:m.jsx(gt,{to:"/tonieboxes/boxsetup/cc3235/flashing",children:"CC3235"})})]})]}),dot:m.jsx(Zf,{}),style:{paddingBottom:8}},{children:m.jsxs(m.Fragment,{children:[m.jsx("h5",{style:{marginTop:8},children:e("tonieboxes.boxSetup.useIt")}),m.jsx(wu,{children:e("tonieboxes.boxSetup.useItText")})]}),dot:m.jsx(ACe,{}),style:{paddingBottom:8}}];return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ca,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ca,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonieboxes.boxSetup.title")}),!n&&m.jsx(An,{type:"warning",showIcon:!0,message:e("tonieboxes.noNewBoxesAllowed"),description:e("tonieboxes.noNewBoxesAllowedText"),style:{marginBottom:16}}),m.jsx(An,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),m.jsxs(wu,{style:{marginTop:16},children:[e("tonieboxes.boxSetup.boxSetupIntro1")," ",m.jsx(gt,{to:"https://forum.revvox.de/",target:"_blank",children:e("tonieboxes.boxSetup.boxSetupIntroForum")})," ",e("tonieboxes.boxSetup.boxSetupIntro2")," ",m.jsx(gt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:e("tonieboxes.boxSetup.boxSetupIntroTelegram")})," ",e("tonieboxes.boxSetup.boxSetupIntro3")]}),m.jsx(wu,{style:{marginTop:16},children:m.jsx(Zq,{items:a})})," "]})]})]})},oVe="/web/assets/3235_pcb-BE0vs2bl.png",iVe="/web/assets/3200_pcb-Dxz0Vi-z.png",sVe="/web/assets/cc3200-B-jSkbsy.jpg",lVe="/web/assets/cc3235-Cr21bWbC.jpg",cVe="/web/assets/esp32_pcb-CWEYHEzm.png",uVe="/web/assets/esp32-B_b6hCjy.jpg",{Paragraph:Fs}=bn,{useToken:dVe}=Ea,fVe=()=>{const{t:e}=Nt(),{token:t}=dVe(),[n,r]=l.useState(""),[a,o]=l.useState(""),[i,s]=l.useState(null),[c,u]=l.useState(null),d=C=>C.replace(/[^a-zA-Z0-9-:]/g,"").trim(),f=async()=>{s(null),u(null);try{const C=await fetch(`https://api.macvendors.com/${encodeURIComponent(n)}`);if(!C.ok)throw new Error("MAC address not found or invalid");const w=await C.text();s(w)}catch(C){u(C.message)}},[p,g]=l.useState(i!=null&&i.toLowerCase().includes("espressif")?"esp32":"cc3200");l.useEffect(()=>{i!=null&&i.toLowerCase().includes("espressif")?g("esp32"):g("cc3200")},[i]);const h=m.jsxs(m.Fragment,{children:[m.jsx(Fs,{children:e("tonieboxes.boxSetup.identifyVersion.cc3200text")}),m.jsx(Oa,{src:iVe,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB CC3200"})," ",m.jsx(Oa,{src:sVe,height:300,alt:"Chip CC3200"})]}),b=m.jsxs(m.Fragment,{children:[m.jsx(Fs,{children:e("tonieboxes.boxSetup.identifyVersion.cc3235text")}),m.jsx(Oa,{src:oVe,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB CC3235"})," ",m.jsx(Oa,{src:lVe,height:300,alt:"Chip CC3235"})]}),y=m.jsxs(m.Fragment,{children:[m.jsx(Fs,{children:e("tonieboxes.boxSetup.identifyVersion.esp32text")}),m.jsx(Oa,{src:cVe,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB ESP32"})," ",m.jsx(Oa,{src:uVe,height:300,alt:"Chip ESP32"})]}),S=[{key:"cc3200",label:"CC3200",children:h},{key:"cc3235",label:"CC3235",children:b},{key:"esp32",label:"ESP32",children:y}],v=m.jsxs(m.Fragment,{children:[m.jsx(DO,{activeKey:p,onChange:C=>g(C),defaultActiveKey:i!=null&&i.toLowerCase().includes("espressif")?"esp32":"cc3200",items:S.filter(C=>((i==null?void 0:i.toLowerCase().includes("texas"))||!i)&&C.key==="cc3200"||((i==null?void 0:i.toLowerCase().includes("texas"))||!i)&&C.key==="cc3235"||((i==null?void 0:i.toLowerCase().includes("espressif"))||!i)&&C.key==="esp32"),indicator:{size:C=>C-20,align:"center"}}),m.jsxs(Fs,{style:{marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.proceedToFlash1")," ",m.jsxs(gt,{to:`../tonieboxes/boxsetup/${p}/flashing`,children:[p.toUpperCase()," ",e("tonieboxes.boxSetup.identifyVersion.proceedToFlashLinkText")]})]})]}),x=()=>{r(""),s(null),o(""),u(null)};return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ca,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ca,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonieboxes.boxSetup.identifyVersion.title")}),m.jsxs(qt,{children:[m.jsxs(Fs,{children:[e("tonieboxes.boxSetup.identifyVersion.identifyUsingMac")," "]}),m.jsxs(qt.Item,{children:[m.jsxs($a,{align:"middle",style:{display:"flex",alignItems:"center"},children:[m.jsx(En,{style:{flex:"0 0 250px",color:a?"#CC3010":"unset"},children:m.jsx("label",{children:e("tonieboxes.boxSetup.identifyVersion.mac")})}),m.jsx(En,{style:{flex:"1 1 auto"},children:m.jsx(Jt,{type:"text",value:n,onChange:C=>{let w=d(C.target.value),E="";w.length>17?E=e("tonieboxes.boxSetup.identifyVersion.boxMacTooLong"):E="",r(w),o(E)},addonBefore:m.jsx(Jr,{onClick:x,style:{color:n?t.colorText:t.colorTextDisabled,cursor:n?"pointer":"default"}})})})]}),a&&m.jsx("p",{style:{color:"#CC3010"},children:a})]}),m.jsx(ut,{icon:m.jsx(XO,{}),disabled:n.length>17||n.length===0,type:"primary",onClick:f,children:e("tonieboxes.boxSetup.identifyVersion.identify")}),m.jsxs(Fs,{style:{fontSize:"small",marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.macvendors")," ",m.jsx(gt,{to:"https://macvendors.com/",target:"_blank",children:e("tonieboxes.boxSetup.identifyVersion.macvendorsLink")})]})]}),i?m.jsxs(m.Fragment,{children:[m.jsx(An,{style:{marginTop:16},type:"success",description:m.jsxs(m.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.vendor"),": ",m.jsx("b",{children:i})," ",e("tonieboxes.boxSetup.identifyVersion.boxVersion"),i.includes("Espressif")?m.jsx("b",{children:" ESP32"}):m.jsxs(m.Fragment,{children:[m.jsx("b",{children:" CC3200"})," ",e("tonieboxes.boxSetup.identifyVersion.or"),m.jsx("b",{children:" CC3235"})]})," ",e("tonieboxes.boxSetup.identifyVersion.version"),"."]})}),i.toLowerCase().includes("texas")?m.jsx(Fs,{style:{marginTop:16},children:e("tonieboxes.boxSetup.identifyVersion.tiInstruction")}):""]}):c?m.jsx(An,{style:{marginTop:16},type:"error",description:m.jsx(m.Fragment,{children:e("tonieboxes.boxSetup.identifyVersion.errorMac")})}):"",m.jsxs(Fs,{style:{marginTop:16},children:[i?"":m.jsxs(m.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.generalInstruction1")," ",m.jsx(Zt,{title:e("tonieboxes.boxSetup.openBoxGuide.linkTooltip"),children:m.jsx(gt,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.identifyVersion.generalInstructionLinkText")})})," ",e("tonieboxes.boxSetup.identifyVersion.generalInstruction2")]}),v]})]})]})]})},pVe="/web/assets/esp32_write_patched_image_with_esptools-DmsBlrjp.png",{Paragraph:Ti}=bn,{Step:gVe}=Ns,mVe=()=>{const{t:e}=Nt(),t=kr.language,[n,r]=l.useState(0),[a,o]=l.useState(!1),i=[{title:e("tonieboxes.boxFlashingCommon.preparations")},{title:e("tonieboxes.boxFlashingCommon.certificates")},{title:e("tonieboxes.boxFlashingCommon.dns")}],s=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.preparations")}),m.jsx(An,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),m.jsxs(Ti,{children:[e("tonieboxes.esp32BoxFlashing.legacy.preparationText")," ",m.jsx(gt,{to:"https://support.tonies.com/hc/en-us/articles/4415294030482-How-do-I-set-up-a-Wi-Fi-connection-without-the-setup-assistant",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.legacy.preparationTextLink")})]}),m.jsx("h4",{children:e("tonieboxes.esp32BoxFlashing.legacy.installESPTool")}),m.jsx(Ti,{children:e("tonieboxes.esp32BoxFlashing.legacy.installESPToolText")}),m.jsx(Ti,{children:m.jsx(gt,{to:"https://github.com/espressif/esptool",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.legacy.installESPToolLink")})}),m.jsx("h4",{children:e("tonieboxes.esp32BoxFlashing.legacy.connectESP32")}),wZ()]}),c=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.certificates")}),Ok(),m.jsx(Ti,{children:m.jsx(ba,{language:"shell",code:`# extract firmware +esptool.py -b 921600 read_flash 0x0 0x800000 tb.esp32.bin +# extract certficates from firmware +mkdir certs/client/esp32 +mkdir certs/client/ +teddycloud --esp32-extract tb.esp32.bin --destination certs/client/esp32 + +# Copy box certificates to teddyCloud +cp certs/client/esp32/CLIENT.DER certs/client//client.der +cp certs/client/esp32/PRIVATE.DER certs/client//private.der +cp certs/client/esp32/CA.DER certs/client//ca.der + +# In case of first Toniebox setup for TeddyCloud +cp certs/client//client.der certs/client/client.der +cp certs/client//private.der certs/client/private.der +cp certs/client//ca.der certs/client/ca.der + +# Copy certificates to temporary dir +mkdir certs/client/esp32-fakeca +cp certs/client/esp32/CLIENT.DER certs/client/esp32-fakeca/ +cp certs/client/esp32/PRIVATE.DER certs/client/esp32-fakeca/ +cp certs/server/ca.der certs/client/esp32-fakeca/CA.DER`})}),m.jsx(Ti,{children:e("tonieboxes.esp32BoxFlashing.legacy.checkDumpIsOk")}),m.jsx("h5",{children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacement")}),e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText1"),m.jsx(Ti,{children:m.jsx(ba,{language:"shell",code:`# copy firmware backup +cp tb.esp32.bin tb.esp32.fakeca.bin + +# inject new CA into firmware +teddycloud --esp32-inject tb.esp32.fakeca.bin --source certs/client/esp32-fakeca +# modify IP/hostname (optional) +teddycloud --esp32-hostpatch tb.esp32.fakeca.bin --hostname + +# flash firmware with new CA +esptool.py -b 921600 write_flash 0x0 tb.esp32.fakeca.bin`})}),m.jsx(Oa,{preview:!1,src:pVe,alt:e("tonieboxes.esp32BoxFlashing.legacy.flashESPtoolScreen")}),m.jsx(Ti,{style:{marginTop:16},children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText2")}),m.jsx(Ti,{children:e("tonieboxes.esp32BoxFlashing.legacy.flashCAreplacementText3")})]}),u=m.jsxs(m.Fragment,{children:[m.jsx("h3",{children:e("tonieboxes.boxFlashingCommon.dns")}),m.jsx(Ti,{children:e("tonieboxes.esp32BoxFlashing.legacy.skipDnsIfAlreadyDone")}),CZ()]}),[d,f]=l.useState([s,c,u]),p=(w,E)=>{f(I=>{const T=[...I];return T[w]=E,T})};l.useEffect(()=>{p(n,(()=>{switch(n){case 0:return s;case 1:return c;case 2:return u;default:return m.jsx("div",{})}})())},[n,t,vs()]);const g=()=>{r(n-1)},h=()=>{r(n+1)},b=m.jsx(ut,{icon:m.jsx(Ts,{}),onClick:()=>g(),children:e("tonieboxes.esp32BoxFlashing.legacy.previous")}),y=w=>{r(w)},S=()=>{v()},v=()=>{o(!0)},x=()=>{o(!1)},C=m.jsx(Yy,{boxVersion:"ESP32",isOpen:a,onClose:x});return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ca,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ca,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.legacy.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.legacy.title")}),m.jsx(Rr,{children:e("tonieboxes.esp32BoxFlashing.legacy.title")}),m.jsxs(Ti,{style:{marginTop:16},children:[m.jsx(Ns,{current:n,onChange:y,children:i.map((w,E)=>m.jsx(gVe,{title:w.title,status:E===n&&E===i.length?"finish":E===n?"process":E{const r=[];return Object.keys(e).forEach(a=>{const o=n?`${n}.${a}`:a;Array.isArray(e[a])?Array.isArray(t[a])?e[a].forEach((i,s)=>{const c=`${o}[${s}].question`,u=`${o}[${s}].answer`;t[a][s]||r.push(c,u)}):e[a].forEach((i,s)=>{const c=`${o}[${s}].question`,u=`${o}[${s}].answer`;r.push(c,u)}):typeof e[a]=="object"&&e[a]!==null?!(a in t)||typeof t[a]!="object"?r.push(...IZ(e[a],o)):r.push(...EZ(e[a],t[a],o)):a in t||r.push(o)}),r},IZ=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((o,i)=>{n.push(`${a}[${i}].question`,`${a}[${i}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...IZ(e[r],a)):n.push(a)}),n},TZ=(e,t,n="")=>{const r=[];return Object.keys(t).forEach(a=>{const o=n?`${n}.${a}`:a;Array.isArray(t[a])?Array.isArray(e[a])?t[a].forEach((i,s)=>{const c=`${o}[${s}].question`,u=`${o}[${s}].answer`;e[a][s]||r.push(c,u)}):t[a].forEach((i,s)=>{const c=`${o}[${s}].question`,u=`${o}[${s}].answer`;r.push(c,u)}):typeof t[a]=="object"&&t[a]!==null?!e[a]||typeof e[a]!="object"?r.push(o):r.push(...TZ(e[a],t[a],o)):a in e||r.push(o)}),r},hVe=()=>{const{t:e}=Nt(),[t,n]=l.useState({}),[r,a]=l.useState({}),[o,i]=l.useState({}),[s,c]=l.useState(!0),u=["en","fr","de","es"],d="en";return l.useEffect(()=>{(async()=>{const p={};for(let g of u){const b=await(await fetch(`/web/translations/${g}.json`)).json();p[g]=b}n(p),c(!1)})()},[]),l.useEffect(()=>{if(!s&&t[d]){const f=t[d],p={},g={};u.forEach(h=>{if(h!==d){const b=t[h];p[h]=EZ(f,b),g[h]=TZ(f,b)}}),a(p),i(g)}},[s,t]),s?m.jsx("p",{children:"Loading translations..."}):m.jsxs(m.Fragment,{children:[m.jsx("h2",{children:e("community.translations.missingExtraKeysHeadline")}),u.every(f=>{var p,g;return f===d||((p=r[f])==null?void 0:p.length)===0&&((g=o[f])==null?void 0:g.length)===0})?m.jsx("p",{children:e("community.translations.noDiscrepancies")}):m.jsx("div",{children:u.map(f=>{var p,g;return f!==d&&m.jsxs("div",{children:[m.jsxs("h2",{children:[e("community.translations.language"),": ",f.toUpperCase()]}),m.jsx("h3",{children:e("community.translations.missingKeys")}),((p=r[f])==null?void 0:p.length)>0?m.jsx("ul",{children:r[f].map((h,b)=>m.jsx("li",{children:h},b))}):m.jsx("p",{children:e("community.translations.noMissingKeys")}),m.jsxs("h3",{children:[e("community.translations.extraKeys"),":"]}),((g=o[f])==null?void 0:g.length)>0?m.jsx("ul",{children:o[f].map((h,b)=>m.jsx("li",{children:h},b))}):m.jsx("p",{children:e("community.translations.noExtraKeys")})]},f)})})]})},RZ=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((o,i)=>{n.push(`${a}[${i}].question`,`${a}[${i}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...RZ(e[r],a)):n.push(a)}),n},vVe=(e,t)=>{const n=t.split(".");let r=e;for(let a of n){if(a.includes("[")){const[o,i]=a.split("["),s=parseInt(i.replace("]",""),10);if(r=r[o],Array.isArray(r))r=r[s];else return}else r=r?r[a]:void 0;if(r===void 0)return}return typeof r=="string"?r:void 0},bVe=()=>{const{t:e}=Nt(),[t,n]=l.useState({}),[r,a]=l.useState(!0),o=["en","fr","de","es"],i="en";if(l.useEffect(()=>{(async()=>{const f={};for(let p of o){const h=await(await fetch(`/web/translations/${p}.json`)).json();f[p]=h}n(f),a(!1)})()},[]),r)return m.jsx("p",{children:"Loading translations..."});const s=RZ(t[i]),c=[{title:e("community.translations.key"),dataIndex:"key",key:"key",width:"30%",fixed:"left",render:d=>m.jsx("div",{style:{wordWrap:"break-word",wordBreak:"break-all"},children:d})},...o.map(d=>({title:d.toUpperCase(),dataIndex:d,key:d}))],u=s.map(d=>{const f={key:d};return o.forEach(p=>{const g=vVe(t[p],d);f[p]=g||"<"+e("community.translations.missing")+">"}),f});return m.jsxs(m.Fragment,{children:[m.jsx("h2",{children:e("community.translations.allTranslationStrings")}),m.jsx(Qa,{size:"small",columns:c,scroll:{x:"100%"},dataSource:u,rowKey:"key",pagination:!1})]})},{Paragraph:yVe}=bn,SVe=()=>{const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ja,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ja,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.translations.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("community.translations.title")}),m.jsx(yVe,{children:e("community.translations.hint")}),m.jsx(hVe,{}),m.jsx(bVe,{})]})]})]})},{Paragraph:xVe}=bn,wVe=()=>{const{t:e}=Nt();return m.jsxs(m.Fragment,{children:[m.jsx(jn,{children:m.jsx(Ca,{})}),m.jsxs(Bn,{children:[m.jsx(In,{children:m.jsx(Ca,{})}),m.jsx(zn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}]}),m.jsxs(Dn,{children:[m.jsx("h1",{children:e("tonieboxes.boxSetup.openBoxGuide.title")}),m.jsx(xVe,{children:e("tonieboxes.boxSetup.openBoxGuide.intro")}),m.jsxs("ul",{children:[m.jsx("li",{children:m.jsx(gt,{to:e("tonieboxes.boxSetup.openBoxGuide.link1"),target:"_blank",children:e("tonieboxes.boxSetup.openBoxGuide.link1")})}),m.jsx("li",{children:m.jsx(gt,{to:"https://www.youtube.com/watch?v=Cv9ID4-P6_A",target:"_blank",children:"https://www.youtube.com/watch?v=Cv9ID4-P6_A"})})]})]})]})]})};function CVe(){const{defaultAlgorithm:e,darkAlgorithm:t}=Ea,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(vs()==="dark"),s=()=>{a(u=>u==="dark"?"light":u==="light"?"auto":"dark")};l.useEffect(()=>{localStorage.setItem("theme",r),i(vs()==="dark"),vs()==="dark"?n("#000000"):n("#f5f5f5")},[r]);let c;return r==="dark"?c=m.jsx(qwe,{onClick:s}):r==="light"?c=m.jsx(VCe,{onClick:s}):c=m.jsx(H1e,{onClick:s}),m.jsx(yi,{theme:{algorithm:o?t:e,components:{Slider:{dotSize:3,handleSize:6,handleSizeHover:8,railSize:4},Popover:{titleMinWidth:0}}},children:m.jsx("div",{className:"App",children:m.jsx(Gi,{style:{minHeight:"100vh"},children:m.jsx(v$e,{basename:"/web",children:m.jsxs(w$e,{children:[m.jsx(_Be,{themeSwitch:c}),m.jsx(Gi,{children:m.jsxs(u$e,{children:[m.jsx($n,{path:"/",element:m.jsx(uBe,{})}),m.jsx($n,{path:"/home/stats",element:m.jsx(bBe,{})}),m.jsx($n,{path:"/home/features",element:m.jsx(YUe,{})}),m.jsx($n,{path:"/home/toniemeeting",element:m.jsx(qUe,{})}),m.jsx($n,{path:"/tonies",element:m.jsx(DBe,{})}),m.jsx($n,{path:"/tonies/system-sounds",element:m.jsx(jBe,{})}),m.jsx($n,{path:"/tonies/content",element:m.jsx(Eze,{})}),m.jsx($n,{path:"/tonies/library",element:m.jsx(Ize,{})}),m.jsx($n,{path:"/tonies/encoder",element:m.jsx(Nze,{})}),m.jsx($n,{path:"/tonies/tap",element:m.jsx(Aze,{})}),m.jsx($n,{path:"/tonieboxes",element:m.jsx(zze,{})}),m.jsx($n,{path:"/tonieboxes/boxsetup",element:m.jsx(aVe,{})}),m.jsx($n,{path:"/tonieboxes/boxsetup/identifyboxversion",element:m.jsx(fVe,{})}),m.jsx($n,{path:"/tonieboxes/boxsetup/openboxguide",element:m.jsx(wVe,{})}),m.jsx($n,{path:"/tonieboxes/boxsetup/esp32/flashing",element:m.jsx(WUe,{})}),m.jsx($n,{path:"/tonieboxes/boxsetup/esp32/legacy",element:m.jsx(mVe,{})}),m.jsx($n,{path:"/tonieboxes/boxsetup/cc3200/flashing",element:m.jsx(tVe,{})}),m.jsx($n,{path:"/tonieboxes/boxsetup/cc3235/flashing",element:m.jsx(JUe,{})}),m.jsx($n,{path:"/settings",element:m.jsx(CMe,{})}),m.jsx($n,{path:"/settings/certificates",element:m.jsx(q5e,{})}),m.jsx($n,{path:"/settings/rtnl",element:m.jsx(G5e,{})}),m.jsx($n,{path:"/community",element:m.jsx(Hze,{})}),m.jsx($n,{path:"/community/faq",element:m.jsx(KUe,{})}),m.jsx($n,{path:"/community/contribution",element:m.jsx(Uze,{})}),m.jsx($n,{path:"/community/contribution/tonies-json",element:m.jsx(Gze,{})}),m.jsx($n,{path:"/community/contribution/translations",element:m.jsx(SVe,{})}),m.jsx($n,{path:"/community/contributors",element:m.jsx(qze,{})}),m.jsx($n,{path:"/community/changelog",element:m.jsx(Kze,{})}),m.jsx($n,{path:"/uitest",element:m.jsx(E$e,{})}),m.jsx($n,{path:"/*",element:m.jsx(hBe,{})})]})}),m.jsx(ABe,{})]})})})})})}const EVe=SI.createRoot(document.getElementById("root"));EVe.render(m.jsx(se.StrictMode,{children:m.jsx(CVe,{})}))});export default IVe(); diff --git a/contrib/data/www/web/assets/index-P7VsstGm.js b/contrib/data/www/web/assets/index-P7VsstGm.js deleted file mode 100644 index 235677b8..00000000 --- a/contrib/data/www/web/assets/index-P7VsstGm.js +++ /dev/null @@ -1,646 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/esp32-BPYaDt9v.js","assets/rom-Caghk6Eh.js","assets/esp32c2-CtjOOsCE.js","assets/esp32c3-DDsZSfEd.js","assets/esp32c6-BRG5ZpJ8.js","assets/esp32h2-Cf8JbGZQ.js","assets/esp32s3-DkgZlzv1.js","assets/esp32s2-BOsRKhcm.js","assets/esp8266-8VKmCx7J.js","assets/esp32p4-DfBdIAkh.js"])))=>i.map(i=>d[i]); -var Lie=Object.defineProperty;var kie=(e,t,n)=>t in e?Lie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Pie=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Bl=(e,t,n)=>kie(e,typeof t!="symbol"?t+"":t,n);var Cnt=Pie((fi,mi)=>{function EM(e,t){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();var Sa=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Rq={exports:{}},Y_={},wq={exports:{}},gn={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var jm=Symbol.for("react.element"),$ie=Symbol.for("react.portal"),Fie=Symbol.for("react.fragment"),Bie=Symbol.for("react.strict_mode"),Uie=Symbol.for("react.profiler"),jie=Symbol.for("react.provider"),zie=Symbol.for("react.context"),Hie=Symbol.for("react.forward_ref"),Gie=Symbol.for("react.suspense"),Vie=Symbol.for("react.memo"),qie=Symbol.for("react.lazy"),R2=Symbol.iterator;function Wie(e){return e===null||typeof e!="object"?null:(e=R2&&e[R2]||e["@@iterator"],typeof e=="function"?e:null)}var Iq={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Oq=Object.assign,Nq={};function Bd(e,t,n){this.props=e,this.context=t,this.refs=Nq,this.updater=n||Iq}Bd.prototype.isReactComponent={};Bd.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Bd.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Aq(){}Aq.prototype=Bd.prototype;function yM(e,t,n){this.props=e,this.context=t,this.refs=Nq,this.updater=n||Iq}var CM=yM.prototype=new Aq;CM.constructor=yM;Oq(CM,Bd.prototype);CM.isPureReactComponent=!0;var w2=Array.isArray,Dq=Object.prototype.hasOwnProperty,TM={current:null},Mq={key:!0,ref:!0,__self:!0,__source:!0};function Lq(e,t,n){var r,a={},i=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(i=""+t.key),t)Dq.call(t,r)&&!Mq.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(s===1)a.children=n;else if(1>>1,z=L[B];if(0>>1;Ba(G,F))Ja(Y,G)?(L[B]=Y,L[J]=F,B=J):(L[B]=G,L[j]=F,B=j);else if(Ja(Y,F))L[B]=Y,L[J]=F,B=J;else break e}}return $}function a(L,$){var F=L.sortIndex-$.sortIndex;return F!==0?F:L.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var l=[],u=[],d=1,p=null,f=3,m=!1,g=!1,h=!1,v=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(L){for(var $=n(u);$!==null;){if($.callback===null)r(u);else if($.startTime<=L)r(u),$.sortIndex=$.expirationTime,t(l,$);else break;$=n(u)}}function y(L){if(h=!1,E(L),!g)if(n(l)!==null)g=!0,A(C);else{var $=n(u);$!==null&&D(y,$.startTime-L)}}function C(L,$){g=!1,h&&(h=!1,S(R),R=-1),m=!0;var F=f;try{for(E($),p=n(l);p!==null&&(!(p.expirationTime>$)||L&&!O());){var B=p.callback;if(typeof B=="function"){p.callback=null,f=p.priorityLevel;var z=B(p.expirationTime<=$);$=e.unstable_now(),typeof z=="function"?p.callback=z:p===n(l)&&r(l),E($)}else r(l);p=n(l)}if(p!==null)var U=!0;else{var j=n(u);j!==null&&D(y,j.startTime-$),U=!1}return U}finally{p=null,f=F,m=!1}}var T=!1,x=null,R=-1,w=5,I=-1;function O(){return!(e.unstable_now()-IL||125B?(L.sortIndex=F,t(u,L),n(l)===null&&L===n(u)&&(h?(S(R),R=-1):h=!0,D(y,F-B))):(L.sortIndex=z,t(l,L),g||m||(g=!0,A(C))),L},e.unstable_shouldYield=O,e.unstable_wrapCallback=function(L){var $=f;return function(){var F=f;f=$;try{return L.apply(this,arguments)}finally{f=F}}}})(Bq);Fq.exports=Bq;var aoe=Fq.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var ioe=c,hi=aoe;function ft(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u1=Object.prototype.hasOwnProperty,ooe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,O2={},N2={};function soe(e){return u1.call(N2,e)?!0:u1.call(O2,e)?!1:ooe.test(e)?N2[e]=!0:(O2[e]=!0,!1)}function loe(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function coe(e,t,n,r){if(t===null||typeof t>"u"||loe(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function La(e,t,n,r,a,i,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var fa={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fa[e]=new La(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];fa[t]=new La(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fa[e]=new La(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fa[e]=new La(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){fa[e]=new La(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fa[e]=new La(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fa[e]=new La(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fa[e]=new La(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fa[e]=new La(e,5,!1,e.toLowerCase(),null,!1,!1)});var RM=/[\-:]([a-z])/g;function wM(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(RM,wM);fa[t]=new La(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(RM,wM);fa[t]=new La(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(RM,wM);fa[t]=new La(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fa[e]=new La(e,1,!1,e.toLowerCase(),null,!1,!1)});fa.xlinkHref=new La("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fa[e]=new La(e,1,!1,e.toLowerCase(),null,!0,!0)});function IM(e,t,n,r){var a=fa.hasOwnProperty(t)?fa[t]:null;(a!==null?a.type!==0:r||!(2s||a[o]!==i[s]){var l=` -`+a[o].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=o&&0<=s);break}}}finally{sE=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Vp(e):""}function uoe(e){switch(e.tag){case 5:return Vp(e.type);case 16:return Vp("Lazy");case 13:return Vp("Suspense");case 19:return Vp("SuspenseList");case 0:case 2:case 15:return e=lE(e.type,!1),e;case 11:return e=lE(e.type.render,!1),e;case 1:return e=lE(e.type,!0),e;default:return""}}function m1(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 Ru:return"Fragment";case xu:return"Portal";case d1:return"Profiler";case OM:return"StrictMode";case p1:return"Suspense";case f1:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case zq:return(e.displayName||"Context")+".Consumer";case jq:return(e._context.displayName||"Context")+".Provider";case NM:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case AM:return t=e.displayName||null,t!==null?t:m1(e.type)||"Memo";case Bs:t=e._payload,e=e._init;try{return m1(e(t))}catch{}}return null}function doe(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 m1(t);case 8:return t===OM?"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 gl(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Gq(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function poe(e){var t=Gq(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,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(o){r=""+o,i.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $g(e){e._valueTracker||(e._valueTracker=poe(e))}function Vq(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Gq(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Mv(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 g1(e,t){var n=t.checked;return hr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function D2(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=gl(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 qq(e,t){t=t.checked,t!=null&&IM(e,"checked",t,!1)}function h1(e,t){qq(e,t);var n=gl(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")?v1(e,t.type,n):t.hasOwnProperty("defaultValue")&&v1(e,t.type,gl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function M2(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 v1(e,t,n){(t!=="number"||Mv(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qp=Array.isArray;function Wu(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Fg.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ff(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var sf={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},foe=["Webkit","ms","Moz","O"];Object.keys(sf).forEach(function(e){foe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sf[t]=sf[e]})});function Xq(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||sf.hasOwnProperty(e)&&sf[e]?(""+t).trim():t+"px"}function Qq(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=Xq(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var moe=hr({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 S1(e,t){if(t){if(moe[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ft(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ft(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ft(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ft(62))}}function E1(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 y1=null;function DM(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var C1=null,Yu=null,Ku=null;function P2(e){if(e=Vm(e)){if(typeof C1!="function")throw Error(ft(280));var t=e.stateNode;t&&(t=J_(t),C1(e.stateNode,e.type,t))}}function Zq(e){Yu?Ku?Ku.push(e):Ku=[e]:Yu=e}function Jq(){if(Yu){var e=Yu,t=Ku;if(Ku=Yu=null,P2(e),t)for(e=0;e>>=0,e===0?32:31-(xoe(e)/Roe|0)|0}var Bg=64,Ug=4194304;function Wp(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 $v(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,a=e.suspendedLanes,i=e.pingedLanes,o=n&268435455;if(o!==0){var s=o&~a;s!==0?r=Wp(s):(i&=o,i!==0&&(r=Wp(i)))}else o=n&~a,o!==0?r=Wp(o):i!==0&&(r=Wp(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&a)&&(a=r&-r,i=t&-t,a>=i||a===16&&(i&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 Hm(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-io(t),e[t]=n}function Noe(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=cf),V2=" ",q2=!1;function bW(e,t){switch(e){case"keyup":return ase.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function SW(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wu=!1;function ose(e,t){switch(e){case"compositionend":return SW(t);case"keypress":return t.which!==32?null:(q2=!0,V2);case"textInput":return e=t.data,e===V2&&q2?null:e;default:return null}}function sse(e,t){if(wu)return e==="compositionend"||!UM&&bW(e,t)?(e=vW(),Jh=$M=qs=null,wu=!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=X2(n)}}function TW(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?TW(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function xW(){for(var e=window,t=Mv();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Mv(e.document)}return t}function jM(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 hse(e){var t=xW(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&TW(n.ownerDocument.documentElement,n)){if(r!==null&&jM(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,i=Math.min(r.start,a);r=r.end===void 0?i:Math.min(r.end,a),!e.extend&&i>r&&(a=r,r=i,i=a),a=Q2(n,i);var o=Q2(n,r);a&&o&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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,Iu=null,O1=null,df=null,N1=!1;function Z2(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;N1||Iu==null||Iu!==Mv(r)||(r=Iu,"selectionStart"in r&&jM(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}),df&&Gf(df,r)||(df=r,r=Uv(O1,"onSelect"),0Au||(e.current=P1[Au],P1[Au]=null,Au--)}function Kn(e,t){Au++,P1[Au]=e.current,e.current=t}var hl={},Ea=xl(hl),Ga=xl(!1),_c=hl;function ld(e,t){var n=e.type.contextTypes;if(!n)return hl;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},i;for(i in n)a[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Va(e){return e=e.childContextTypes,e!=null}function zv(){sr(Ga),sr(Ea)}function i$(e,t,n){if(Ea.current!==hl)throw Error(ft(168));Kn(Ea,t),Kn(Ga,n)}function LW(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(ft(108,doe(e)||"Unknown",a));return hr({},n,r)}function Hv(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hl,_c=Ea.current,Kn(Ea,e),Kn(Ga,Ga.current),!0}function o$(e,t,n){var r=e.stateNode;if(!r)throw Error(ft(169));n?(e=LW(e,t,_c),r.__reactInternalMemoizedMergedChildContext=e,sr(Ga),sr(Ea),Kn(Ea,e)):sr(Ga),Kn(Ga,n)}var as=null,eb=!1,yE=!1;function kW(e){as===null?as=[e]:as.push(e)}function Ise(e){eb=!0,kW(e)}function Rl(){if(!yE&&as!==null){yE=!0;var e=0,t=Ln;try{var n=as;for(Ln=1;e>=o,a-=o,cs=1<<32-io(t)+a|n<R?(w=x,x=null):w=x.sibling;var I=f(S,x,E[R],y);if(I===null){x===null&&(x=w);break}e&&x&&I.alternate===null&&t(S,x),_=i(I,_,R),T===null?C=I:T.sibling=I,T=I,x=w}if(R===E.length)return n(S,x),dr&&Vl(S,R),C;if(x===null){for(;RR?(w=x,x=null):w=x.sibling;var O=f(S,x,I.value,y);if(O===null){x===null&&(x=w);break}e&&x&&O.alternate===null&&t(S,x),_=i(O,_,R),T===null?C=O:T.sibling=O,T=O,x=w}if(I.done)return n(S,x),dr&&Vl(S,R),C;if(x===null){for(;!I.done;R++,I=E.next())I=p(S,I.value,y),I!==null&&(_=i(I,_,R),T===null?C=I:T.sibling=I,T=I);return dr&&Vl(S,R),C}for(x=r(S,x);!I.done;R++,I=E.next())I=m(x,S,R,I.value,y),I!==null&&(e&&I.alternate!==null&&x.delete(I.key===null?R:I.key),_=i(I,_,R),T===null?C=I:T.sibling=I,T=I);return e&&x.forEach(function(k){return t(S,k)}),dr&&Vl(S,R),C}function v(S,_,E,y){if(typeof E=="object"&&E!==null&&E.type===Ru&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Pg:e:{for(var C=E.key,T=_;T!==null;){if(T.key===C){if(C=E.type,C===Ru){if(T.tag===7){n(S,T.sibling),_=a(T,E.props.children),_.return=S,S=_;break e}}else if(T.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Bs&&c$(C)===T.type){n(S,T.sibling),_=a(T,E.props),_.ref=xp(S,T,E),_.return=S,S=_;break e}n(S,T);break}else t(S,T);T=T.sibling}E.type===Ru?(_=uc(E.props.children,S.mode,y,E.key),_.return=S,S=_):(y=sv(E.type,E.key,E.props,null,S.mode,y),y.ref=xp(S,_,E),y.return=S,S=y)}return o(S);case xu:e:{for(T=E.key;_!==null;){if(_.key===T)if(_.tag===4&&_.stateNode.containerInfo===E.containerInfo&&_.stateNode.implementation===E.implementation){n(S,_.sibling),_=a(_,E.children||[]),_.return=S,S=_;break e}else{n(S,_);break}else t(S,_);_=_.sibling}_=NE(E,S.mode,y),_.return=S,S=_}return o(S);case Bs:return T=E._init,v(S,_,T(E._payload),y)}if(qp(E))return g(S,_,E,y);if(Sp(E))return h(S,_,E,y);Wg(S,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,_!==null&&_.tag===6?(n(S,_.sibling),_=a(_,E),_.return=S,S=_):(n(S,_),_=OE(E,S.mode,y),_.return=S,S=_),o(S)):n(S,_)}return v}var ud=BW(!0),UW=BW(!1),qv=xl(null),Wv=null,Lu=null,VM=null;function qM(){VM=Lu=Wv=null}function WM(e){var t=qv.current;sr(qv),e._currentValue=t}function B1(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 Qu(e,t){Wv=e,VM=Lu=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(ja=!0),e.firstContext=null)}function Fi(e){var t=e._currentValue;if(VM!==e)if(e={context:e,memoizedValue:t,next:null},Lu===null){if(Wv===null)throw Error(ft(308));Lu=e,Wv.dependencies={lanes:0,firstContext:e}}else Lu=Lu.next=e;return t}var Zl=null;function YM(e){Zl===null?Zl=[e]:Zl.push(e)}function jW(e,t,n,r){var a=t.interleaved;return a===null?(n.next=n,YM(t)):(n.next=a.next,a.next=n),t.interleaved=n,vs(e,r)}function vs(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 KM(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zW(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 ds(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function il(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Tn&2){var a=r.pending;return a===null?t.next=t:(t.next=a.next,a.next=t),r.pending=t,vs(e,n)}return a=r.interleaved,a===null?(t.next=t,YM(r)):(t.next=a.next,a.next=t),r.interleaved=t,vs(e,n)}function tv(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,LM(e,n)}}function u$(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var a=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?a=i=o:i=i.next=o,n=n.next}while(n!==null);i===null?a=i=t:i=i.next=t}else a=i=t;n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:i,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 Yv(e,t,n,r){var a=e.updateQueue;Us=!1;var i=a.firstBaseUpdate,o=a.lastBaseUpdate,s=a.shared.pending;if(s!==null){a.shared.pending=null;var l=s,u=l.next;l.next=null,o===null?i=u:o.next=u,o=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==o&&(s===null?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=l))}if(i!==null){var p=a.baseState;o=0,d=u=l=null,s=i;do{var f=s.lane,m=s.eventTime;if((r&f)===f){d!==null&&(d=d.next={eventTime:m,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,h=s;switch(f=t,m=n,h.tag){case 1:if(g=h.payload,typeof g=="function"){p=g.call(m,p,f);break e}p=g;break e;case 3:g.flags=g.flags&-65537|128;case 0:if(g=h.payload,f=typeof g=="function"?g.call(m,p,f):g,f==null)break e;p=hr({},p,f);break e;case 2:Us=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=a.effects,f===null?a.effects=[s]:f.push(s))}else m={eventTime:m,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(u=d=m,l=p):d=d.next=m,o|=f;if(s=s.next,s===null){if(s=a.shared.pending,s===null)break;f=s,s=f.next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}while(!0);if(d===null&&(l=p),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=d,t=a.shared.interleaved,t!==null){a=t;do o|=a.lane,a=a.next;while(a!==t)}else i===null&&(a.shared.lanes=0);Ec|=o,e.lanes=o,e.memoizedState=p}}function d$(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=TE.transition;TE.transition={};try{e(!1),t()}finally{Ln=n,TE.transition=r}}function iY(){return Bi().memoizedState}function Dse(e,t,n){var r=sl(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oY(e))sY(t,n);else if(n=jW(e,t,n,r),n!==null){var a=Da();oo(n,e,r,a),lY(n,t,r)}}function Mse(e,t,n){var r=sl(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oY(e))sY(t,a);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var o=t.lastRenderedState,s=i(o,n);if(a.hasEagerState=!0,a.eagerState=s,po(s,o)){var l=t.interleaved;l===null?(a.next=a,YM(t)):(a.next=l.next,l.next=a),t.interleaved=a;return}}catch{}finally{}n=jW(e,t,a,r),n!==null&&(a=Da(),oo(n,e,r,a),lY(n,t,r))}}function oY(e){var t=e.alternate;return e===gr||t!==null&&t===gr}function sY(e,t){pf=Xv=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function lY(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,LM(e,n)}}var Qv={readContext:Fi,useCallback:ma,useContext:ma,useEffect:ma,useImperativeHandle:ma,useInsertionEffect:ma,useLayoutEffect:ma,useMemo:ma,useReducer:ma,useRef:ma,useState:ma,useDebugValue:ma,useDeferredValue:ma,useTransition:ma,useMutableSource:ma,useSyncExternalStore:ma,useId:ma,unstable_isNewReconciler:!1},Lse={readContext:Fi,useCallback:function(e,t){return xo().memoizedState=[e,t===void 0?null:t],e},useContext:Fi,useEffect:f$,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,rv(4194308,4,eY.bind(null,t,e),n)},useLayoutEffect:function(e,t){return rv(4194308,4,e,t)},useInsertionEffect:function(e,t){return rv(4,2,e,t)},useMemo:function(e,t){var n=xo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=xo();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=Dse.bind(null,gr,e),[r.memoizedState,e]},useRef:function(e){var t=xo();return e={current:e},t.memoizedState=e},useState:p$,useDebugValue:rL,useDeferredValue:function(e){return xo().memoizedState=e},useTransition:function(){var e=p$(!1),t=e[0];return e=Ase.bind(null,e[1]),xo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=gr,a=xo();if(dr){if(n===void 0)throw Error(ft(407));n=n()}else{if(n=t(),Zr===null)throw Error(ft(349));Sc&30||qW(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,f$(YW.bind(null,r,i,e),[e]),r.flags|=2048,Zf(9,WW.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=xo(),t=Zr.identifierPrefix;if(dr){var n=us,r=cs;n=(r&~(1<<32-io(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Xf++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Oo]=t,e[Wf]=r,_Y(e,t,!1,!1),t.stateNode=e;e:{switch(o=E1(n,r),n){case"dialog":ar("cancel",e),ar("close",e),a=r;break;case"iframe":case"object":case"embed":ar("load",e),a=r;break;case"video":case"audio":for(a=0;afd&&(t.flags|=128,r=!0,Rp(i,!1),t.lanes=4194304)}else{if(!r)if(e=Kv(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Rp(i,!0),i.tail===null&&i.tailMode==="hidden"&&!o.alternate&&!dr)return ga(t),null}else 2*Cr()-i.renderingStartTime>fd&&n!==1073741824&&(t.flags|=128,r=!0,Rp(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(n=i.last,n!==null?n.sibling=o:t.child=o,i.last=o)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Cr(),t.sibling=null,n=mr.current,Kn(mr,r?n&1|2:n&1),t):(ga(t),null);case 22:case 23:return cL(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?oi&1073741824&&(ga(t),t.subtreeFlags&6&&(t.flags|=8192)):ga(t),null;case 24:return null;case 25:return null}throw Error(ft(156,t.tag))}function zse(e,t){switch(HM(t),t.tag){case 1:return Va(t.type)&&zv(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return dd(),sr(Ga),sr(Ea),ZM(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return QM(t),null;case 13:if(sr(mr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ft(340));cd()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return sr(mr),null;case 4:return dd(),null;case 10:return WM(t.type._context),null;case 22:case 23:return cL(),null;case 24:return null;default:return null}}var Kg=!1,_a=!1,Hse=typeof WeakSet=="function"?WeakSet:Set,Lt=null;function ku(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){_r(e,t,r)}else n.current=null}function Y1(e,t,n){try{n()}catch(r){_r(e,t,r)}}var T$=!1;function Gse(e,t){if(A1=Fv,e=xW(),jM(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,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var o=0,s=-1,l=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||a!==0&&p.nodeType!==3||(s=o+a),p!==i||r!==0&&p.nodeType!==3||(l=o+r),p.nodeType===3&&(o+=p.nodeValue.length),(m=p.firstChild)!==null;)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===a&&(s=o),f===i&&++d===r&&(l=o),(m=p.nextSibling)!==null)break;p=f,f=p.parentNode}p=m}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(D1={focusedElem:e,selectionRange:n},Fv=!1,Lt=t;Lt!==null;)if(t=Lt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Lt=e;else for(;Lt!==null;){t=Lt;try{var g=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(g!==null){var h=g.memoizedProps,v=g.memoizedState,S=t.stateNode,_=S.getSnapshotBeforeUpdate(t.elementType===t.type?h:Ji(t.type,h),v);S.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ft(163))}}catch(y){_r(t,t.return,y)}if(e=t.sibling,e!==null){e.return=t.return,Lt=e;break}Lt=t.return}return g=T$,T$=!1,g}function ff(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 i=a.destroy;a.destroy=void 0,i!==void 0&&Y1(t,n,i)}a=a.next}while(a!==r)}}function rb(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 K1(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 EY(e){var t=e.alternate;t!==null&&(e.alternate=null,EY(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Oo],delete t[Wf],delete t[k1],delete t[Rse],delete t[wse])),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 yY(e){return e.tag===5||e.tag===3||e.tag===4}function x$(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yY(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 X1(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=jv));else if(r!==4&&(e=e.child,e!==null))for(X1(e,t,n),e=e.sibling;e!==null;)X1(e,t,n),e=e.sibling}function Q1(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(Q1(e,t,n),e=e.sibling;e!==null;)Q1(e,t,n),e=e.sibling}var la=null,eo=!1;function As(e,t,n){for(n=n.child;n!==null;)CY(e,t,n),n=n.sibling}function CY(e,t,n){if(ko&&typeof ko.onCommitFiberUnmount=="function")try{ko.onCommitFiberUnmount(K_,n)}catch{}switch(n.tag){case 5:_a||ku(n,t);case 6:var r=la,a=eo;la=null,As(e,t,n),la=r,eo=a,la!==null&&(eo?(e=la,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):la.removeChild(n.stateNode));break;case 18:la!==null&&(eo?(e=la,n=n.stateNode,e.nodeType===8?EE(e.parentNode,n):e.nodeType===1&&EE(e,n),zf(e)):EE(la,n.stateNode));break;case 4:r=la,a=eo,la=n.stateNode.containerInfo,eo=!0,As(e,t,n),la=r,eo=a;break;case 0:case 11:case 14:case 15:if(!_a&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){a=r=r.next;do{var i=a,o=i.destroy;i=i.tag,o!==void 0&&(i&2||i&4)&&Y1(n,t,o),a=a.next}while(a!==r)}As(e,t,n);break;case 1:if(!_a&&(ku(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){_r(n,t,s)}As(e,t,n);break;case 21:As(e,t,n);break;case 22:n.mode&1?(_a=(r=_a)||n.memoizedState!==null,As(e,t,n),_a=r):As(e,t,n);break;default:As(e,t,n)}}function R$(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Hse),t.forEach(function(r){var a=Jse.bind(null,e,r);n.has(r)||(n.add(r),r.then(a,a))})}}function Ki(e,t){var n=t.deletions;if(n!==null)for(var r=0;ra&&(a=o),r&=~i}if(r=a,r=Cr()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*qse(r/1960))-r,10e?16:e,Ws===null)var r=!1;else{if(e=Ws,Ws=null,e_=0,Tn&6)throw Error(ft(331));var a=Tn;for(Tn|=4,Lt=e.current;Lt!==null;){var i=Lt,o=i.child;if(Lt.flags&16){var s=i.deletions;if(s!==null){for(var l=0;lCr()-sL?cc(e,0):oL|=n),qa(e,t)}function AY(e,t){t===0&&(e.mode&1?(t=Ug,Ug<<=1,!(Ug&130023424)&&(Ug=4194304)):t=1);var n=Da();e=vs(e,t),e!==null&&(Hm(e,t,n),qa(e,n))}function Zse(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),AY(e,n)}function Jse(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(ft(314))}r!==null&&r.delete(t),AY(e,n)}var DY;DY=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ga.current)ja=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ja=!1,Use(e,t,n);ja=!!(e.flags&131072)}else ja=!1,dr&&t.flags&1048576&&PW(t,Vv,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;av(e,t),e=t.pendingProps;var a=ld(t,Ea.current);Qu(t,n),a=eL(null,t,r,e,a,n);var i=tL();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,Va(r)?(i=!0,Hv(t)):i=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,KM(t),a.updater=nb,t.stateNode=a,a._reactInternals=t,j1(t,r,e,n),t=G1(null,t,r,!0,i,n)):(t.tag=0,dr&&i&&zM(t),Ia(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(av(e,t),e=t.pendingProps,a=r._init,r=a(r._payload),t.type=r,a=t.tag=tle(r),e=Ji(r,e),a){case 0:t=H1(null,t,r,e,n);break e;case 1:t=E$(null,t,r,e,n);break e;case 11:t=b$(null,t,r,e,n);break e;case 14:t=S$(null,t,r,Ji(r.type,e),n);break e}throw Error(ft(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ji(r,a),H1(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ji(r,a),E$(e,t,r,a,n);case 3:e:{if(gY(t),e===null)throw Error(ft(387));r=t.pendingProps,i=t.memoizedState,a=i.element,zW(e,t),Yv(t,r,null,n);var o=t.memoizedState;if(r=o.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){a=pd(Error(ft(423)),t),t=y$(e,t,r,n,a);break e}else if(r!==a){a=pd(Error(ft(424)),t),t=y$(e,t,r,n,a);break e}else for(si=al(t.stateNode.containerInfo.firstChild),gi=t,dr=!0,ro=null,n=UW(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(cd(),r===a){t=_s(e,t,n);break e}Ia(e,t,r,n)}t=t.child}return t;case 5:return HW(t),e===null&&F1(t),r=t.type,a=t.pendingProps,i=e!==null?e.memoizedProps:null,o=a.children,M1(r,a)?o=null:i!==null&&M1(r,i)&&(t.flags|=32),mY(e,t),Ia(e,t,o,n),t.child;case 6:return e===null&&F1(t),null;case 13:return hY(e,t,n);case 4:return XM(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ud(t,null,r,n):Ia(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ji(r,a),b$(e,t,r,a,n);case 7:return Ia(e,t,t.pendingProps,n),t.child;case 8:return Ia(e,t,t.pendingProps.children,n),t.child;case 12:return Ia(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,o=a.value,Kn(qv,r._currentValue),r._currentValue=o,i!==null)if(po(i.value,o)){if(i.children===a.children&&!Ga.current){t=_s(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){o=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=ds(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),B1(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)o=i.type===t.type?null:i.child;else if(i.tag===18){if(o=i.return,o===null)throw Error(ft(341));o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),B1(o,n,t),o=i.sibling}else o=i.child;if(o!==null)o.return=i;else for(o=i;o!==null;){if(o===t){o=null;break}if(i=o.sibling,i!==null){i.return=o.return,o=i;break}o=o.return}i=o}Ia(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Qu(t,n),a=Fi(a),r=r(a),t.flags|=1,Ia(e,t,r,n),t.child;case 14:return r=t.type,a=Ji(r,t.pendingProps),a=Ji(r.type,a),S$(e,t,r,a,n);case 15:return pY(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ji(r,a),av(e,t),t.tag=1,Va(r)?(e=!0,Hv(t)):e=!1,Qu(t,n),cY(t,r,a),j1(t,r,a,n),G1(null,t,r,!0,e,n);case 19:return vY(e,t,n);case 22:return fY(e,t,n)}throw Error(ft(156,t.tag))};function MY(e,t){return oW(e,t)}function ele(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 ki(e,t,n,r){return new ele(e,t,n,r)}function dL(e){return e=e.prototype,!(!e||!e.isReactComponent)}function tle(e){if(typeof e=="function")return dL(e)?1:0;if(e!=null){if(e=e.$$typeof,e===NM)return 11;if(e===AM)return 14}return 2}function ll(e,t){var n=e.alternate;return n===null?(n=ki(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 sv(e,t,n,r,a,i){var o=2;if(r=e,typeof e=="function")dL(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Ru:return uc(n.children,a,i,t);case OM:o=8,a|=8;break;case d1:return e=ki(12,n,t,a|2),e.elementType=d1,e.lanes=i,e;case p1:return e=ki(13,n,t,a),e.elementType=p1,e.lanes=i,e;case f1:return e=ki(19,n,t,a),e.elementType=f1,e.lanes=i,e;case Hq:return ib(n,a,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case jq:o=10;break e;case zq:o=9;break e;case NM:o=11;break e;case AM:o=14;break e;case Bs:o=16,r=null;break e}throw Error(ft(130,e==null?e:typeof e,""))}return t=ki(o,n,t,a),t.elementType=e,t.type=r,t.lanes=i,t}function uc(e,t,n,r){return e=ki(7,e,r,t),e.lanes=n,e}function ib(e,t,n,r){return e=ki(22,e,r,t),e.elementType=Hq,e.lanes=n,e.stateNode={isHidden:!1},e}function OE(e,t,n){return e=ki(6,e,null,t),e.lanes=n,e}function NE(e,t,n){return t=ki(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function nle(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=uE(0),this.expirationTimes=uE(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=uE(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function pL(e,t,n,r,a,i,o,s,l){return e=new nle(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=ki(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},KM(i),e}function rle(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($Y)}catch(e){console.error(e)}}$Y(),$q.exports=_i;var Ur=$q.exports;const em=xa(Ur),lle=EM({__proto__:null,default:em},[Ur]);var L$=Ur;c1.createRoot=L$.createRoot,c1.hydrateRoot=L$.hydrateRoot;const cle={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 r_{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||cle,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,l]=o;for(let u=0;u{let[s,l]=o;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},k$=e=>e==null?"":""+e,ule=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},dle=/###/g,P$=e=>e&&e.indexOf("###")>-1?e.replace(dle,"."):e,$$=e=>!e||typeof e=="string",hf=(e,t,n)=>{const r=typeof t!="string"?t:t.split(".");let a=0;for(;a{const{obj:r,k:a}=hf(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let i=t[t.length-1],o=t.slice(0,t.length-1),s=hf(e,o,Object);for(;s.obj===void 0&&o.length;)i=`${o[o.length-1]}.${i}`,o=o.slice(0,o.length-1),s=hf(e,o,Object),s&&s.obj&&typeof s.obj[`${s.k}.${i}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${i}`]=n},ple=(e,t,n,r)=>{const{obj:a,k:i}=hf(e,t,Object);a[i]=a[i]||[],a[i].push(n)},a_=(e,t)=>{const{obj:n,k:r}=hf(e,t);if(n)return n[r]},fle=(e,t,n)=>{const r=a_(e,n);return r!==void 0?r:a_(t,n)},FY=(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]):FY(e[r],t[r],n):e[r]=t[r]);return e},tu=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var mle={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const gle=e=>typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>mle[t]):e;class hle{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 vle=[" ",",","?","!",";"],_le=new hle(20),ble=(e,t,n)=>{t=t||"",n=n||"";const r=vle.filter(o=>t.indexOf(o)<0&&n.indexOf(o)<0);if(r.length===0)return!0;const a=_le.getRegExp(`(${r.map(o=>o==="?"?"\\?":o).join("|")})`);let i=!a.test(e);if(!i){const o=e.indexOf(n);o>0&&!a.test(e.substring(0,o))&&(i=!0)}return i},nA=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 i=0;i-1&&le&&e.indexOf("_")>0?e.replace("_","-"):e;class B$ extends ub{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 i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,o=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"&&i?s.push(...r.split(i)):s.push(r)));const l=a_(this.data,s);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),l||!o||typeof r!="string"?l:nA(this.data&&this.data[t]&&this.data[t][n],r,i)}addResource(t,n,r,a){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(o?r.split(o):r)),t.indexOf(".")>-1&&(s=t.split("."),a=n,n=s[1]),this.addNamespaces(n),F$(this.data,s,a),i.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 i in r)(typeof r[i]=="string"||Array.isArray(r[i]))&&this.addResource(t,n,i,r[i],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,i){let o=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 l=a_(this.data,s)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?FY(l,r,i):l={...l,...r},F$(this.data,s,l),o.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 BY={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,n,r,a))}),t}};const U$={};class o_ extends ub{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),ule(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Do.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 i=n.ns||this.options.defaultNS||[];const o=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!ble(t,r,a);if(o&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:i};const u=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),t=u.join(a)}return typeof i=="string"&&(i=[i]),{key:t,namespaces:i}}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,i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(t[t.length-1],n),l=s[s.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const y=n.nsSeparator||this.options.nsSeparator;return a?{res:`${l}${y}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${y}${o}`}return a?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:o}const p=this.resolve(t,n);let f=p&&p.res;const m=p&&p.usedKey||o,g=p&&p.exactUsedKey||o,h=Object.prototype.toString.apply(f),v=["[object Number]","[object Function]","[object RegExp]"],S=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,_=!this.i18nFormat||this.i18nFormat.handleAsObject;if(_&&f&&(typeof f!="string"&&typeof f!="boolean"&&typeof f!="number")&&v.indexOf(h)<0&&!(typeof S=="string"&&Array.isArray(f))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const y=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,f,{...n,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return a?(p.res=y,p.usedParams=this.getUsedParamsDetails(n),p):y}if(i){const y=Array.isArray(f),C=y?[]:{},T=y?g:m;for(const x in f)if(Object.prototype.hasOwnProperty.call(f,x)){const R=`${T}${i}${x}`;C[x]=this.translate(R,{...n,joinArrays:!1,ns:s}),C[x]===R&&(C[x]=f[x])}f=C}}else if(_&&typeof S=="string"&&Array.isArray(f))f=f.join(S),f&&(f=this.extendTranslation(f,t,n,r));else{let y=!1,C=!1;const T=n.count!==void 0&&typeof n.count!="string",x=o_.hasDefaultValue(n),R=T?this.pluralResolver.getSuffix(u,n.count,n):"",w=n.ordinal&&T?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",I=T&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),O=I&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${w}`]||n.defaultValue;!this.isValidLookup(f)&&x&&(y=!0,f=O),this.isValidLookup(f)||(C=!0,f=o);const P=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:f,M=x&&O!==f&&this.options.updateMissing;if(C||y||M){if(this.logger.log(M?"updateKey":"missingKey",u,l,o,M?O:f),i){const L=this.resolve(o,{...n,keySeparator:!1});L&&L.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 N=[];const A=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&A&&A[0])for(let L=0;L{const B=x&&F!==f?F:P;this.options.missingKeyHandler?this.options.missingKeyHandler(L,l,$,B,M,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(L,l,$,B,M,n),this.emit("missingKey",L,l,$,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?N.forEach(L=>{const $=this.pluralResolver.getSuffixes(L,n);I&&n[`defaultValue${this.options.pluralSeparator}zero`]&&$.indexOf(`${this.options.pluralSeparator}zero`)<0&&$.push(`${this.options.pluralSeparator}zero`),$.forEach(F=>{D([L],o+F,n[`defaultValue${F}`]||O)})}):D(N,o,O))}f=this.extendTranslation(f,t,n,p,r),C&&f===o&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${o}`),(C||y)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,y?f:void 0):f=this.options.parseMissingKeyHandler(f))}return a?(p.res=f,p.usedParams=this.getUsedParamsDetails(n),p):f}extendTranslation(t,n,r,a,i){var o=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 f=t.match(this.interpolator.nestingRegexp);d=f&&f.length}let p=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,r.lng||this.language||a.usedLng,r),u){const f=t.match(this.interpolator.nestingRegexp),m=f&&f.length;d1&&arguments[1]!==void 0?arguments[1]:{},r,a,i,o,s;return typeof t=="string"&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(l,n),d=u.key;a=d;let p=u.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const f=n.count!==void 0&&typeof n.count!="string",m=f&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),g=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",h=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(v=>{this.isValidLookup(r)||(s=v,!U$[`${h[0]}-${v}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(U$[`${h[0]}-${v}`]=!0,this.logger.warn(`key "${a}" for languages "${h.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!!!")),h.forEach(S=>{if(this.isValidLookup(r))return;o=S;const _=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(_,d,S,v,n);else{let y;f&&(y=this.pluralResolver.getSuffix(S,n.count,n));const C=`${this.options.pluralSeparator}zero`,T=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(_.push(d+y),n.ordinal&&y.indexOf(T)===0&&_.push(d+y.replace(T,this.options.pluralSeparator)),m&&_.push(d+C)),g){const x=`${d}${this.options.contextSeparator}${n.context}`;_.push(x),f&&(_.push(x+y),n.ordinal&&y.indexOf(T)===0&&_.push(x+y.replace(T,this.options.pluralSeparator)),m&&_.push(x+C))}}let E;for(;E=_.pop();)this.isValidLookup(r)||(i=E,r=this.getResource(S,v,E,n))}))})}),{res:r,usedKey:a,exactUsedKey:i,usedLng:o,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 i of n)delete a[i]}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 AE=e=>e.charAt(0).toUpperCase()+e.slice(1);class j${constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Do.create("languageUtils")}getScriptPartFromCode(t){if(t=i_(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=i_(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]=AE(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]=AE(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=AE(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(i=>{if(i===a)return i;if(!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),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=[],i=o=>{o&&(this.isSupportedCode(o)?a.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),r.forEach(o=>{a.indexOf(o)<0&&i(this.formatLanguageCode(o))}),a}}let Sle=[{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}],Ele={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 yle=["v1","v2","v3"],Cle=["v4"],z$={zero:0,one:1,two:2,few:3,many:4,other:5},Tle=()=>{const e={};return Sle.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Ele[t.fc]}})}),e};class xle{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=Do.create("pluralResolver"),(!this.options.compatibilityJSON||Cle.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=Tle(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{const r=i_(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:r,type:a});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];const o=new Intl.PluralRules(r,{type:a});return this.pluralRulesCache[i]=o,o}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,i)=>z$[a]-z$[i]).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 i=()=>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()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!yle.includes(this.options.compatibilityJSON)}}const H$=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,i=fle(e,t,n);return!i&&a&&typeof n=="string"&&(i=nA(e,n,r),i===void 0&&(i=nA(t,n,r))),i},DE=e=>e.replace(/\$/g,"$$$$");class Rle{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Do.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:i,prefixEscaped:o,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:d,unescapePrefix:p,nestingPrefix:f,nestingPrefixEscaped:m,nestingSuffix:g,nestingSuffixEscaped:h,nestingOptionsSeparator:v,maxReplaces:S,alwaysFormat:_}=t.interpolation;this.escape=n!==void 0?n:gle,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=i?tu(i):o||"{{",this.suffix=s?tu(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=f?tu(f):m||tu("$t("),this.nestingSuffix=g?tu(g):h||tu(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=S||1e3,this.alwaysFormat=_!==void 0?_:!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 i,o,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=m=>{if(m.indexOf(this.formatSeparator)<0){const S=H$(n,l,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,r,{...a,...n,interpolationkey:m}):S}const g=m.split(this.formatSeparator),h=g.shift().trim(),v=g.join(this.formatSeparator).trim();return this.format(H$(n,l,h,this.options.keySeparator,this.options.ignoreJSONStructure),v,r,{...a,...n,interpolationkey:h})};this.resetRegExp();const d=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,p=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>DE(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?DE(this.escape(m)):DE(m)}].forEach(m=>{for(s=0;i=m.regex.exec(t);){const g=i[1].trim();if(o=u(g),o===void 0)if(typeof d=="function"){const v=d(t,i,a);o=typeof v=="string"?v:""}else if(a&&Object.prototype.hasOwnProperty.call(a,g))o="";else if(p){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${t}`),o="";else typeof o!="string"&&!this.useRawValueToEscape&&(o=k$(o));const h=m.safeValue(o);if(t=t.replace(i[0],h),p?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=i[0].length):m.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,i,o;const s=(l,u)=>{const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const p=l.split(new RegExp(`${d}[ ]*{`));let f=`{${p[1]}`;l=p[0],f=this.interpolate(f,o);const m=f.match(/'/g),g=f.match(/"/g);(m&&m.length%2===0&&!g||g.length%2!==0)&&(f=f.replace(/'/g,'"'));try{o=JSON.parse(f),u&&(o={...u,...o})}catch(h){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,h),`${l}${d}${f}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,l};for(;a=this.nestingRegexp.exec(t);){let l=[];o={...r},o=o.replace&&typeof o.replace!="string"?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const d=a[1].split(this.formatSeparator).map(p=>p.trim());a[1]=d.shift(),l=d,u=!0}if(i=n(s.call(this,a[1].trim(),o),o),i&&a[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=k$(i)),i||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),i=""),u&&(i=l.reduce((d,p)=>this.format(d,p,r.lng,{...r,interpolationkey:a[1].trim()}),i.trim())),t=t.replace(a[0],i),this.regexp.lastIndex=0}return t}}const wle=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(o=>{if(o){const[s,...l]=o.split(":"),u=l.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}},nu=e=>{const t={};return(n,r,a)=>{let i=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(i={...i,[a.interpolationkey]:void 0});const o=r+JSON.stringify(i);let s=t[o];return s||(s=e(i_(r),a),t[o]=s),s(n)}};class Ile{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Do.create("formatter"),this.options=t,this.formats={number:nu((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return i=>a.format(i)}),currency:nu((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return i=>a.format(i)}),datetime:nu((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return i=>a.format(i)}),relativetime:nu((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return i=>a.format(i,r.range||"day")}),list:nu((n,r)=>{const a=new Intl.ListFormat(n,{...r});return i=>a.format(i)})},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()]=nu(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=n.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(s=>s.indexOf(")")>-1)){const s=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,s)].join(this.formatSeparator)}return i.reduce((s,l)=>{const{formatName:u,formatOptions:d}=wle(l);if(this.formats[u]){let p=s;try{const f=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},m=f.locale||f.lng||a.locale||a.lng||r;p=this.formats[u](s,m,{...d,...a,...f})}catch(f){this.logger.warn(f)}return p}else this.logger.warn(`there was no format function for ${u}`);return s},t)}}const Ole=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class Nle extends ub{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=Do.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 i={},o={},s={},l={};return t.forEach(u=>{let d=!0;n.forEach(p=>{const f=`${u}|${p}`;!r.reload&&this.store.hasResourceBundle(u,p)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?o[f]===void 0&&(o[f]=!0):(this.state[f]=1,d=!1,o[f]===void 0&&(o[f]=!0),i[f]===void 0&&(i[f]=!0),l[p]===void 0&&(l[p]=!0)))}),d||(s[u]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const a=t.split("|"),i=a[0],o=a[1];n&&this.emit("failedLoading",i,o,n),!n&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(l=>{ple(l.loaded,[i],o),Ole(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{s[u]||(s[u]={});const d=l.loaded[u];d.length&&d.forEach(p=>{s[u][p]===void 0&&(s[u][p]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!t.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:i,callback:o});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(u&&d&&a{this.read.call(this,t,n,r,a+1,i*2,o)},i);return}o(u,d)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const u=l(t,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return l(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 i=this.queueLoad(t,n,r,a);if(!i.toLoad.length)return i.pending.length||a(),null;i.toLoad.forEach(o=>{this.loadOne(o)})}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],i=r[1];this.read(a,i,"read",void 0,void 0,(o,s)=>{o&&this.logger.warn(`${n}loading namespace ${i} for language ${a} failed`,o),!o&&s&&this.logger.log(`${n}loaded namespace ${i} for language ${a}`,s),this.loaded(t,o,s)})}saveMissing(t,n,r,a,i){let o=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 l={...o,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,a,l):d=u(t,n,r,a),d&&typeof d.then=="function"?d.then(p=>s(null,p)).catch(s):s(null,d)}catch(d){s(d)}else u(t,n,r,a,s,l)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const G$=()=>({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}}),V$=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),Zg=()=>{},Ale=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class tm extends ub{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=V$(t),this.services={},this.logger=Do,this.modules={external:[]},Ale(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=G$();this.options={...a,...this.options,...V$(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 i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?Do.init(i(this.modules.logger),this.options):Do.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=Ile);const p=new j$(this.options);this.store=new B$(this.options.resources,this.options);const f=this.services;f.logger=Do,f.resourceStore=this.store,f.languageUtils=p,f.pluralResolver=new xle(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(f.formatter=i(d),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new Rle(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new Nle(i(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(m){for(var g=arguments.length,h=new Array(g>1?g-1:0),v=1;v1?g-1:0),v=1;v{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Zg),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 l=Ip(),u=()=>{const d=(p,f)=>{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),l.resolve(f),r(p,f)};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),l}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zg;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 i=[],o=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&i.indexOf(u)<0&&i.push(u)})};a?o(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>o(l)),this.options.preload&&this.options.preload.forEach(s=>o(s)),this.services.backendConnector.load(i,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(t,n,r){const a=Ip();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=Zg),this.services.backendConnector.reload(t,n,i=>{a.resolve(),r(i)}),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"&&BY.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=Ip();this.emit("languageChanging",t);const i=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},o=(l,u)=>{u?(i(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(l,function(){return r.t(...arguments)})},s=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const u=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{o(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 i=function(o,s){let l;if(typeof s!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),p=2;p`${l.keyPrefix}${f}${g}`):m=l.keyPrefix?`${l.keyPrefix}${f}${o}`:o,a.t(m,l)};return typeof t=="string"?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}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,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const o=(s,l)=>{const u=this.services.backendConnector.state[`${s}|${l}`];return u===-1||u===0||u===2};if(n.precheck){const s=n.precheck(this,o);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,t)&&(!a||o(i,t)))}loadNamespaces(t,n){const r=Ip();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=Ip();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],i=t.filter(o=>a.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return i.length?(this.options.preload=a.concat(i),this.loadResources(o=>{r.resolve(),n&&n(o)}),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 j$(G$());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 tm(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zg;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},i=new tm(a);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(s=>{i[s]=this[s]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new B$(this.store.data,a),i.services.resourceStore=i.store),i.translator=new o_(i.services,a),i.translator.on("*",function(s){for(var l=arguments.length,u=new Array(l>1?l-1:0),d=1;d{console!=null&&console.warn&&(dc(e[0])&&(e[0]=`react-i18next:: ${e[0]}`),console.warn(...e))},q$={},rA=(...e)=>{dc(e[0])&&q$[e[0]]||(dc(e[0])&&(q$[e[0]]=new Date),Dle(...e))},UY=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},W$=(e,t,n)=>{e.loadNamespaces(t,UY(e,n))},Y$=(e,t,n,r)=>{dc(n)&&(n=[n]),n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,UY(e,r))},Mle=(e,t,n={})=>!t.languages||!t.languages.length?(rA("i18n.languages were undefined or empty",t.languages),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{var i;if(((i=n.bindI18n)==null?void 0:i.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),dc=e=>typeof e=="string",Lle=e=>typeof e=="object"&&e!==null,kle=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ple={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},$le=e=>Ple[e],Fle=e=>e.replace(kle,$le);let aA={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Fle};const Ble=(e={})=>{aA={...aA,...e}},Ule=()=>aA;let jY;const jle=e=>{jY=e},zle=()=>jY,Hle={type:"3rdParty",init(e){Ble(e.options.react),jle(e)}},Gle=c.createContext();class Vle{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{var r;(r=this.usedNamespaces)[n]??(r[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const qle=(e,t)=>{const n=c.useRef();return c.useEffect(()=>{n.current=e},[e,t]),n.current},zY=(e,t,n,r)=>e.getFixedT(t,n,r),Wle=(e,t,n,r)=>c.useCallback(zY(e,t,n,r),[e,t,n,r]),$t=(e,t={})=>{var y,C,T,x;const{i18n:n}=t,{i18n:r,defaultNS:a}=c.useContext(Gle)||{},i=n||r||zle();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Vle),!i){rA("You will need to pass in an i18next instance by using initReactI18next");const R=(I,O)=>dc(O)?O:Lle(O)&&dc(O.defaultValue)?O.defaultValue:Array.isArray(I)?I[I.length-1]:I,w=[R,{},!1];return w.t=R,w.i18n={},w.ready=!1,w}(y=i.options.react)!=null&&y.wait&&rA("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Ule(),...i.options.react,...t},{useSuspense:s,keyPrefix:l}=o;let u=a||((C=i.options)==null?void 0:C.defaultNS);u=dc(u)?[u]:u||["translation"],(x=(T=i.reportNamespaces).addUsedNamespaces)==null||x.call(T,u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every(R=>Mle(R,i,o)),p=Wle(i,t.lng||null,o.nsMode==="fallback"?u:u[0],l),f=()=>p,m=()=>zY(i,t.lng||null,o.nsMode==="fallback"?u:u[0],l),[g,h]=c.useState(f);let v=u.join();t.lng&&(v=`${t.lng}${v}`);const S=qle(v),_=c.useRef(!0);c.useEffect(()=>{const{bindI18n:R,bindI18nStore:w}=o;_.current=!0,!d&&!s&&(t.lng?Y$(i,t.lng,u,()=>{_.current&&h(m)}):W$(i,u,()=>{_.current&&h(m)})),d&&S&&S!==v&&_.current&&h(m);const I=()=>{_.current&&h(m)};return R&&(i==null||i.on(R,I)),w&&(i==null||i.store.on(w,I)),()=>{_.current=!1,i&&(R==null||R.split(" ").forEach(O=>i.off(O,I))),w&&i&&w.split(" ").forEach(O=>i.store.off(O,I))}},[i,v]),c.useEffect(()=>{_.current&&d&&h(f)},[i,l,d]);const E=[g,i,d];if(E.t=g,E.i18n=i,E.ready=d,d||!d&&!s)return E;throw new Promise(R=>{t.lng?Y$(i,t.lng,u,()=>R()):W$(i,u,()=>R())})};function iA(e){"@babel/helpers - typeof";return iA=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},iA(e)}function HY(){return typeof XMLHttpRequest=="function"||(typeof XMLHttpRequest>"u"?"undefined":iA(XMLHttpRequest))==="object"}function Yle(e){return!!e&&typeof e.then=="function"}function Kle(e){return Yle(e)?e:Promise.resolve(e)}function Xle(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 oA={exports:{}},Jg={exports:{}},K$;function Qle(){return K$||(K$=1,function(e,t){var n=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof Sa<"u"&&Sa,r=function(){function i(){this.fetch=!1,this.DOMException=n.DOMException}return i.prototype=n,new i}();(function(i){(function(o){var s=typeof i<"u"&&i||typeof self<"u"&&self||typeof s<"u"&&s,l={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(N){return N&&DataView.prototype.isPrototypeOf(N)}if(l.arrayBuffer)var d=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],p=ArrayBuffer.isView||function(N){return N&&d.indexOf(Object.prototype.toString.call(N))>-1};function f(N){if(typeof N!="string"&&(N=String(N)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(N)||N==="")throw new TypeError('Invalid character in header field name: "'+N+'"');return N.toLowerCase()}function m(N){return typeof N!="string"&&(N=String(N)),N}function g(N){var A={next:function(){var D=N.shift();return{done:D===void 0,value:D}}};return l.iterable&&(A[Symbol.iterator]=function(){return A}),A}function h(N){this.map={},N instanceof h?N.forEach(function(A,D){this.append(D,A)},this):Array.isArray(N)?N.forEach(function(A){this.append(A[0],A[1])},this):N&&Object.getOwnPropertyNames(N).forEach(function(A){this.append(A,N[A])},this)}h.prototype.append=function(N,A){N=f(N),A=m(A);var D=this.map[N];this.map[N]=D?D+", "+A:A},h.prototype.delete=function(N){delete this.map[f(N)]},h.prototype.get=function(N){return N=f(N),this.has(N)?this.map[N]:null},h.prototype.has=function(N){return this.map.hasOwnProperty(f(N))},h.prototype.set=function(N,A){this.map[f(N)]=m(A)},h.prototype.forEach=function(N,A){for(var D in this.map)this.map.hasOwnProperty(D)&&N.call(A,this.map[D],D,this)},h.prototype.keys=function(){var N=[];return this.forEach(function(A,D){N.push(D)}),g(N)},h.prototype.values=function(){var N=[];return this.forEach(function(A){N.push(A)}),g(N)},h.prototype.entries=function(){var N=[];return this.forEach(function(A,D){N.push([D,A])}),g(N)},l.iterable&&(h.prototype[Symbol.iterator]=h.prototype.entries);function v(N){if(N.bodyUsed)return Promise.reject(new TypeError("Already read"));N.bodyUsed=!0}function S(N){return new Promise(function(A,D){N.onload=function(){A(N.result)},N.onerror=function(){D(N.error)}})}function _(N){var A=new FileReader,D=S(A);return A.readAsArrayBuffer(N),D}function E(N){var A=new FileReader,D=S(A);return A.readAsText(N),D}function y(N){for(var A=new Uint8Array(N),D=new Array(A.length),L=0;L-1?A:N}function w(N,A){if(!(this instanceof w))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A=A||{};var D=A.body;if(N instanceof w){if(N.bodyUsed)throw new TypeError("Already read");this.url=N.url,this.credentials=N.credentials,A.headers||(this.headers=new h(N.headers)),this.method=N.method,this.mode=N.mode,this.signal=N.signal,!D&&N._bodyInit!=null&&(D=N._bodyInit,N.bodyUsed=!0)}else this.url=String(N);if(this.credentials=A.credentials||this.credentials||"same-origin",(A.headers||!this.headers)&&(this.headers=new h(A.headers)),this.method=R(A.method||this.method||"GET"),this.mode=A.mode||this.mode||null,this.signal=A.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&D)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(D),(this.method==="GET"||this.method==="HEAD")&&(A.cache==="no-store"||A.cache==="no-cache")){var L=/([?&])_=[^&]*/;if(L.test(this.url))this.url=this.url.replace(L,"$1_="+new Date().getTime());else{var $=/\?/;this.url+=($.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}w.prototype.clone=function(){return new w(this,{body:this._bodyInit})};function I(N){var A=new FormData;return N.trim().split("&").forEach(function(D){if(D){var L=D.split("="),$=L.shift().replace(/\+/g," "),F=L.join("=").replace(/\+/g," ");A.append(decodeURIComponent($),decodeURIComponent(F))}}),A}function O(N){var A=new h,D=N.replace(/\r?\n[\t ]+/g," ");return D.split("\r").map(function(L){return L.indexOf(` -`)===0?L.substr(1,L.length):L}).forEach(function(L){var $=L.split(":"),F=$.shift().trim();if(F){var B=$.join(":").trim();A.append(F,B)}}),A}T.call(w.prototype);function k(N,A){if(!(this instanceof k))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');A||(A={}),this.type="default",this.status=A.status===void 0?200:A.status,this.ok=this.status>=200&&this.status<300,this.statusText=A.statusText===void 0?"":""+A.statusText,this.headers=new h(A.headers),this.url=A.url||"",this._initBody(N)}T.call(k.prototype),k.prototype.clone=function(){return new k(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new h(this.headers),url:this.url})},k.error=function(){var N=new k(null,{status:0,statusText:""});return N.type="error",N};var P=[301,302,303,307,308];k.redirect=function(N,A){if(P.indexOf(A)===-1)throw new RangeError("Invalid status code");return new k(null,{status:A,headers:{location:N}})},o.DOMException=s.DOMException;try{new o.DOMException}catch{o.DOMException=function(A,D){this.message=A,this.name=D;var L=Error(A);this.stack=L.stack},o.DOMException.prototype=Object.create(Error.prototype),o.DOMException.prototype.constructor=o.DOMException}function M(N,A){return new Promise(function(D,L){var $=new w(N,A);if($.signal&&$.signal.aborted)return L(new o.DOMException("Aborted","AbortError"));var F=new XMLHttpRequest;function B(){F.abort()}F.onload=function(){var U={status:F.status,statusText:F.statusText,headers:O(F.getAllResponseHeaders()||"")};U.url="responseURL"in F?F.responseURL:U.headers.get("X-Request-URL");var j="response"in F?F.response:F.responseText;setTimeout(function(){D(new k(j,U))},0)},F.onerror=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},F.ontimeout=function(){setTimeout(function(){L(new TypeError("Network request failed"))},0)},F.onabort=function(){setTimeout(function(){L(new o.DOMException("Aborted","AbortError"))},0)};function z(U){try{return U===""&&s.location.href?s.location.href:U}catch{return U}}F.open($.method,z($.url),!0),$.credentials==="include"?F.withCredentials=!0:$.credentials==="omit"&&(F.withCredentials=!1),"responseType"in F&&(l.blob?F.responseType="blob":l.arrayBuffer&&$.headers.get("Content-Type")&&$.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(F.responseType="arraybuffer")),A&&typeof A.headers=="object"&&!(A.headers instanceof h)?Object.getOwnPropertyNames(A.headers).forEach(function(U){F.setRequestHeader(U,m(A.headers[U]))}):$.headers.forEach(function(U,j){F.setRequestHeader(j,U)}),$.signal&&($.signal.addEventListener("abort",B),F.onreadystatechange=function(){F.readyState===4&&$.signal.removeEventListener("abort",B)}),F.send(typeof $._bodyInit>"u"?null:$._bodyInit)})}return M.polyfill=!0,s.fetch||(s.fetch=M,s.Headers=h,s.Request=w,s.Response=k),o.Headers=h,o.Request=w,o.Response=k,o.fetch=M,o})({})})(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}(Jg,Jg.exports)),Jg.exports}(function(e,t){var n;if(typeof fetch=="function"&&(typeof Sa<"u"&&Sa.fetch?n=Sa.fetch:typeof window<"u"&&window.fetch?n=window.fetch:n=fetch),typeof Xle<"u"&&typeof window>"u"){var r=n||Qle();r.default&&(r=r.default),t.default=r,e.exports=t.default}})(oA,oA.exports);var GY=oA.exports;const VY=xa(GY),X$=EM({__proto__:null,default:VY},[GY]);function Q$(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 Z$(e){for(var t=1;t"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(i["User-Agent"]="i18next-http-backend (node/".concat(global.process.version,"; ").concat(global.process.platform," ").concat(global.process.arch,")")),r&&(i["Content-Type"]="application/json");var o=typeof t.requestOptions=="function"?t.requestOptions(r):t.requestOptions,s=Z$({method:r?"POST":"GET",body:r?t.stringify(r):void 0,headers:i},eF?{}:o),l=typeof t.alternateFetch=="function"&&t.alternateFetch.length>=1?t.alternateFetch:void 0;try{J$(n,s,a,l)}catch(u){if(!o||Object.keys(o).length===0||!u.message||u.message.indexOf("not implemented")<0)return a(u);try{Object.keys(o).forEach(function(d){delete s[d]}),J$(n,s,a,l),eF=!0}catch(d){a(d)}}},nce=function(t,n,r,a){r&&Cc(r)==="object"&&(r=sA("",r).slice(1)),t.queryStringParams&&(n=sA(n,t.queryStringParams));try{var i;nm?i=new nm:i=new s_("MSXML2.XMLHTTP.3.0"),i.open(r?"POST":"GET",n,1),t.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!t.withCredentials,r&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var o=t.customHeaders;if(o=typeof o=="function"?o():o,o)for(var s in o)i.setRequestHeader(s,o[s]);i.onreadystatechange=function(){i.readyState>3&&a(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(r)}catch(l){console&&console.log(l)}},rce=function(t,n,r,a){if(typeof r=="function"&&(a=r,r=void 0),a=a||function(){},ps&&n.indexOf("file:")!==0)return tce(t,n,r,a);if(HY()||typeof ActiveXObject=="function")return nce(t,n,r,a);a(new Error("No fetch and no xhr implementation found!"))};function md(e){"@babel/helpers - typeof";return md=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},md(e)}function tF(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 ME(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};ace(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return oce(e,[{key:"init",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this.services=n,this.options=ME(ME(ME({},lce()),this.options||{}),a),this.allOptions=i,this.services&&this.options.reloadInterval){var o=setInterval(function(){return r.reload()},this.options.reloadInterval);md(o)==="object"&&typeof o.unref=="function"&&o.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,i,o){var s=this,l=this.options.loadPath;typeof this.options.loadPath=="function"&&(l=this.options.loadPath(n,a)),l=Kle(l),l.then(function(u){if(!u)return o(null,{});var d=s.services.interpolator.interpolate(u,{lng:n.join("+"),ns:a.join("+")});s.loadUrl(d,o,r,i)})}},{key:"loadUrl",value:function(n,r,a,i){var o=this,s=typeof a=="string"?[a]:a,l=typeof i=="string"?[i]:i,u=this.options.parseLoadPayload(s,l);this.options.request(this.options,n,u,function(d,p){if(p&&(p.status>=500&&p.status<600||!p.status))return r("failed loading "+n+"; status code: "+p.status,!0);if(p&&p.status>=400&&p.status<500)return r("failed loading "+n+"; status code: "+p.status,!1);if(!p&&d&&d.message&&d.message.toLowerCase().indexOf("failed")>-1&&(d.message.indexOf("fetch")>-1||d.message.toLowerCase().indexOf("network")>-1))return r("failed loading "+n+": "+d.message,!0);if(d)return r(d,!1);var f,m;try{typeof p.data=="string"?f=o.options.parse(p.data,a,i):f=p.data}catch{m="failed parsing "+n+" to json"}if(m)return r(m,!1);r(null,f)})}},{key:"create",value:function(n,r,a,i,o){var s=this;if(this.options.addPath){typeof n=="string"&&(n=[n]);var l=this.options.parsePayload(r,a,i),u=0,d=[],p=[];n.forEach(function(f){var m=s.options.addPath;typeof s.options.addPath=="function"&&(m=s.options.addPath(f,r));var g=s.services.interpolator.interpolate(m,{lng:f,ns:r});s.options.request(s.options,g,l,function(h,v){u+=1,d.push(h),p.push(v),u===n.length&&typeof o=="function"&&o(d,p)})})}}},{key:"reload",value:function(){var n=this,r=this.services,a=r.backendConnector,i=r.languageUtils,o=r.logger,s=a.language;if(!(s&&s.toLowerCase()==="cimode")){var l=[],u=function(p){var f=i.toResolveHierarchy(p);f.forEach(function(m){l.indexOf(m)<0&&l.push(m)})};u(s),this.allOptions.preload&&this.allOptions.preload.forEach(function(d){return u(d)}),l.forEach(function(d){n.allOptions.ns.forEach(function(p){a.read(d,p,"read",null,null,function(f,m){f&&o.warn("loading namespace ".concat(p," for language ").concat(d," failed"),f),!f&&m&&o.log("loaded namespace ".concat(p," for language ").concat(d),m),a.loaded("".concat(d,"|").concat(p),f,m)})})})}}}])}();YY.type="backend";const{slice:cce,forEach:uce}=[];function dce(e){return uce.call(cce.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}const nF=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,pce=(e,t,n)=>{const r=n||{};r.path=r.path||"/";const a=encodeURIComponent(t);let i=`${e}=${a}`;if(r.maxAge>0){const o=r.maxAge-0;if(Number.isNaN(o))throw new Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(o)}`}if(r.domain){if(!nF.test(r.domain))throw new TypeError("option domain is invalid");i+=`; Domain=${r.domain}`}if(r.path){if(!nF.test(r.path))throw new TypeError("option path is invalid");i+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(i+="; HttpOnly"),r.secure&&(i+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return i},rF={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=pce(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 o=a.substring(1).split("&");for(let s=0;s0&&o[s].substring(0,l)===t&&(n=o[s].substring(l+1))}}return n}};let Np=null;const aF=()=>{if(Np!==null)return Np;try{Np=window!=="undefined"&&window.localStorage!==null;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Np=!1}return Np};var gce={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&aF())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&aF()&&window.localStorage.setItem(n,e)}};let Ap=null;const iF=()=>{if(Ap!==null)return Ap;try{Ap=window!=="undefined"&&window.sessionStorage!==null;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Ap=!1}return Ap};var hce={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&iF())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&iF()&&window.sessionStorage.setItem(n,e)}},vce={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let i=0;i0?t:void 0}},_ce={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}},bce={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}},Sce={name:"subdomain",lookup(e){var a,i;let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&((i=(a=window.location)==null?void 0:a.hostname)==null?void 0:i.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i));if(r)return r[n]}};function Ece(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}}class KY{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=dce(n,this.options||{},Ece()),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(fce),this.addDetector(mce),this.addDetector(gce),this.addDetector(hce),this.addDetector(vce),this.addDetector(_ce),this.addDetector(bce),this.addDetector(Sce)}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)}))}}KY.type="languageDetector";ra.use(YY).use(KY).use(Hle).init({supportedLngs:["en","de","fr","es"],fallbackLng:"en",ns:["teddycloud"],defaultNS:"teddycloud",debug:!1,backend:{queryStringParams:{v:"2023072701"},loadPath:"/web/translations/{{lng}}.json"},interpolation:{escapeValue:!1}});var XY={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var i="",o=0;o1&&arguments[1]!==void 0?arguments[1]:{},n=[];return ce.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(br(r)):vf.isFragment(r)&&r.props?n=n.concat(br(r.props.children,t)):n.push(r))}),n}var lA={},xce=function(t){};function Rce(e,t){}function wce(e,t){}function Ice(){lA={}}function JY(e,t,n){!t&&!lA[n]&&(e(!1,n),lA[n]=!0)}function bn(e,t){JY(Rce,e,t)}function eK(e,t){JY(wce,e,t)}bn.preMessage=xce;bn.resetWarned=Ice;bn.noteOnce=eK;function gt(e){"@babel/helpers - typeof";return gt=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},gt(e)}function Oce(e,t){if(gt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(gt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function tK(e){var t=Oce(e,"string");return gt(t)=="symbol"?t:t+""}function W(e,t,n){return(t=tK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function oF(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 ee(e){for(var t=1;t=19;var uA=c.createContext(null);function Ace(e){var t=e.children,n=e.onBatchResize,r=c.useRef(0),a=c.useRef([]),i=c.useContext(uA),o=c.useCallback(function(s,l,u){r.current+=1;var d=r.current;a.current.push({size:s,element:l,data:u}),Promise.resolve().then(function(){d===r.current&&(n==null||n(a.current),a.current=[])}),i==null||i(s,l,u)},[n,i]);return c.createElement(uA.Provider,{value:o},t)}var rK=function(){if(typeof Map<"u")return Map;function e(t,n){var r=-1;return t.some(function(a,i){return a[0]===n?(r=i,!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,i=this.__entries__;a0},e.prototype.connect_=function(){!dA||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),$ce?(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(){!dA||!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=Pce.some(function(i){return!!~r.indexOf(i)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),aK=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof gd(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new qce(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 gd(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 Wce(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}(),oK=typeof WeakMap<"u"?new WeakMap:new rK,sK=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=Fce.getInstance(),r=new Yce(t,n,this);oK.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){sK.prototype[e]=function(){var t;return(t=oK.get(this))[e].apply(t,arguments)}});var Kce=function(){return typeof l_.ResizeObserver<"u"?l_.ResizeObserver:sK}(),Ys=new Map;function Xce(e){e.forEach(function(t){var n,r=t.target;(n=Ys.get(r))===null||n===void 0||n.forEach(function(a){return a(r)})})}var lK=new Kce(Xce);function Qce(e,t){Ys.has(e)||(Ys.set(e,new Set),lK.observe(e)),Ys.get(e).add(t)}function Zce(e,t){Ys.has(e)&&(Ys.get(e).delete(t),Ys.get(e).size||(lK.unobserve(e),Ys.delete(e)))}function Jn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lF(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;cF+=1;var r=cF;function a(i){if(i===0)fK(r),t();else{var o=dK(function(){a(i-1)});bL.set(r,o)}}return a(n),r};Gt.cancel=function(e){var t=bL.get(e);return fK(e),pK(t)};function mK(e){if(Array.isArray(e))return e}function oue(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,i,o,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(d){u=!0,a=d}finally{try{if(!l&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw a}}return s}}function gK(){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 oe(e,t){return mK(e)||oue(e,t)||_L(e,t)||gK()}function om(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 Jr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function fA(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 uF="data-rc-order",dF="data-rc-priority",sue="rc-util-key",mA=new Map;function hK(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):sue}function Cb(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function lue(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function SL(e){return Array.from((mA.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function vK(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Jr())return null;var n=t.csp,r=t.prepend,a=t.priority,i=a===void 0?0:a,o=lue(r),s=o==="prependQueue",l=document.createElement("style");l.setAttribute(uF,o),s&&i&&l.setAttribute(dF,"".concat(i)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var u=Cb(t),d=u.firstChild;if(r){if(s){var p=(t.styles||SL(u)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(uF)))return!1;var m=Number(f.getAttribute(dF)||0);return i>=m});if(p.length)return u.insertBefore(l,p[p.length-1].nextSibling),l}u.insertBefore(l,d)}else u.appendChild(l);return l}function _K(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Cb(t);return(t.styles||SL(n)).find(function(r){return r.getAttribute(hK(t))===e})}function sm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=_K(e,t);if(n){var r=Cb(t);r.removeChild(n)}}function cue(e,t){var n=mA.get(e);if(!n||!fA(document,n)){var r=vK("",t),a=r.parentNode;mA.set(e,a),e.removeChild(r)}}function fs(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=Cb(n),a=SL(r),i=ee(ee({},n),{},{styles:a});cue(r,i);var o=_K(t,i);if(o){var s,l;if((s=i.csp)!==null&&s!==void 0&&s.nonce&&o.nonce!==((l=i.csp)===null||l===void 0?void 0:l.nonce)){var u;o.nonce=(u=i.csp)===null||u===void 0?void 0:u.nonce}return o.innerHTML!==e&&(o.innerHTML=e),o}var d=vK(e,i);return d.setAttribute(hK(i),t),d}function uue(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 Et(e,t){if(e==null)return{};var n,r,a=uue(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function a(i,o){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(i);if(bn(!l,"Warning: There may be circular references"),l)return!1;if(i===o)return!0;if(n&&s>1)return!1;r.add(i);var u=s+1;if(Array.isArray(i)){if(!Array.isArray(o)||i.length!==o.length)return!1;for(var d=0;d1&&arguments[1]!==void 0?arguments[1]:!1,o={map:this.cache};return n.forEach(function(s){if(!o)o=void 0;else{var l;o=(l=o)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=o)!==null&&r!==void 0&&r.value&&i&&(o.value[1]=this.cacheCallTimes++),(a=o)===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 i=this.keys.reduce(function(u,d){var p=oe(u,2),f=p[1];return a.internalGet(d)[1]0,void 0),pF+=1}return er(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,a){return a(n,r)},void 0)}}]),e}(),LE=new EL;function lm(e){var t=Array.isArray(e)?e:[e];return LE.has(t)||LE.set(t,new bK(t)),LE.get(t)}var gue=new WeakMap,kE={};function hue(e,t){for(var n=gue,r=0;r1&&arguments[1]!==void 0?arguments[1]:!1,n=fF.get(e)||"";return n||(Object.keys(e).forEach(function(r){var a=e[r];n+=r,a instanceof bK?n+=a.id:a&>(a)==="object"?n+=bf(a,t):n+=a}),t&&(n=om(n)),fF.set(e,n)),n}function mF(e,t){return om("".concat(t,"_").concat(bf(e,!0)))}var hA=Jr();function Q(e){return typeof e=="number"?"".concat(e,"px"):e}function u_(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 i=ee(ee({},r),{},W(W({},hd,t),so,n)),o=Object.keys(i).map(function(s){var l=i[s];return l?"".concat(s,'="').concat(l,'"'):null}).filter(function(s){return s}).join(" ");return"")}var lv=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()},vue=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 i=oe(a,2),o=i[0],s=i[1];return"".concat(o,":").concat(s,";")}).join(""),"}"):""},SK=function(t,n,r){var a={},i={};return Object.entries(t).forEach(function(o){var s,l,u=oe(o,2),d=u[0],p=u[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[d])i[d]=p;else if((typeof p=="string"||typeof p=="number")&&!(r!=null&&(l=r.ignore)!==null&&l!==void 0&&l[d])){var f,m=lv(d,r==null?void 0:r.prefix);a[m]=typeof p=="number"&&!(r!=null&&(f=r.unitless)!==null&&f!==void 0&&f[d])?"".concat(p,"px"):String(p),i[d]="var(".concat(m,")")}}),[i,vue(a,n,{scope:r==null?void 0:r.scope})]},gF=Jr()?c.useLayoutEffect:c.useEffect,Qt=function(t,n){var r=c.useRef(!0);gF(function(){return t(r.current)},n),gF(function(){return r.current=!1,function(){r.current=!0}},[])},pc=function(t,n){Qt(function(r){if(!r)return t()},n)},_ue=ee({},zm),hF=_ue.useInsertionEffect,bue=function(t,n,r){c.useMemo(t,r),Qt(function(){return n(!0)},r)},Sue=hF?function(e,t,n){return hF(function(){return e(),t()},n)}:bue,Eue=ee({},zm),yue=Eue.useInsertionEffect,Cue=function(t){var n=[],r=!1;function a(i){r||n.push(i)}return c.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(i){return i()})}},t),a},Tue=function(){return function(t){t()}},xue=typeof yue<"u"?Cue:Tue;function yL(e,t,n,r,a){var i=c.useContext(Tb),o=i.cache,s=[e].concat($e(t)),l=gA(s),u=xue([l]),d=function(g){o.opUpdate(l,function(h){var v=h||[void 0,void 0],S=oe(v,2),_=S[0],E=_===void 0?0:_,y=S[1],C=y,T=C||n(),x=[E,T];return g?g(x):x})};c.useMemo(function(){d()},[l]);var p=o.opGet(l),f=p[1];return Sue(function(){a==null||a(f)},function(m){return d(function(g){var h=oe(g,2),v=h[0],S=h[1];return m&&v===0&&(a==null||a(f)),[v+1,S]}),function(){o.opUpdate(l,function(g){var h=g||[],v=oe(h,2),S=v[0],_=S===void 0?0:S,E=v[1],y=_-1;return y===0?(u(function(){(m||!o.opGet(l))&&(r==null||r(E,!1))}),null):[_-1,E]})}},[l]),f}var Rue={},wue="css",Xl=new Map;function Iue(e){Xl.set(e,(Xl.get(e)||0)+1)}function Oue(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(hd,'="').concat(e,'"]'));n.forEach(function(r){if(r[Ks]===t){var a;(a=r.parentNode)===null||a===void 0||a.removeChild(r)}})}}var Nue=0;function Aue(e,t){Xl.set(e,(Xl.get(e)||0)-1);var n=Array.from(Xl.keys()),r=n.filter(function(a){var i=Xl.get(a)||0;return i<=0});n.length-r.length>Nue&&r.forEach(function(a){Oue(a,t),Xl.delete(a)})}var EK=function(t,n,r,a){var i=r.getDerivativeToken(t),o=ee(ee({},i),n);return a&&(o=a(o)),o},yK="token";function Due(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=c.useContext(Tb),a=r.cache.instanceId,i=r.container,o=n.salt,s=o===void 0?"":o,l=n.override,u=l===void 0?Rue:l,d=n.formatToken,p=n.getComputedToken,f=n.cssVar,m=hue(function(){return Object.assign.apply(Object,[{}].concat($e(t)))},t),g=bf(m),h=bf(u),v=f?bf(f):"",S=yL(yK,[s,e.id,g,h,v],function(){var _,E=p?p(m,u,e):EK(m,u,e,d),y=ee({},E),C="";if(f){var T=SK(E,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),x=oe(T,2);E=x[0],C=x[1]}var R=mF(E,s);E._tokenKey=R,y._tokenKey=mF(y,s);var w=(_=f==null?void 0:f.key)!==null&&_!==void 0?_:R;E._themeKey=w,Iue(w);var I="".concat(wue,"-").concat(om(R));return E._hashId=I,[E,I,y,C,(f==null?void 0:f.key)||""]},function(_){Aue(_[0]._themeKey,a)},function(_){var E=oe(_,4),y=E[0],C=E[3];if(f&&C){var T=fs(C,om("css-variables-".concat(y._themeKey)),{mark:so,prepend:"queue",attachTo:i,priority:-999});T[Ks]=a,T.setAttribute(hd,y._themeKey)}});return S}var Mue=function(t,n,r){var a=oe(t,5),i=a[2],o=a[3],s=a[4],l=r||{},u=l.plain;if(!o)return null;var d=i._tokenKey,p=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(p)},m=u_(o,s,d,f,u);return[p,d,m]},Lue={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},CK="comm",TK="rule",xK="decl",kue="@import",Pue="@keyframes",$ue="@layer",RK=Math.abs,CL=String.fromCharCode;function wK(e){return e.trim()}function cv(e,t,n){return e.replace(t,n)}function Fue(e,t,n){return e.indexOf(t,n)}function cm(e,t){return e.charCodeAt(t)|0}function vd(e,t,n){return e.slice(t,n)}function Ro(e){return e.length}function Bue(e){return e.length}function eh(e,t){return t.push(e),e}var xb=1,_d=1,IK=0,ji=0,Dr=0,zd="";function TL(e,t,n,r,a,i,o,s){return{value:e,root:t,parent:n,type:r,props:a,children:i,line:xb,column:_d,length:o,return:"",siblings:s}}function Uue(){return Dr}function jue(){return Dr=ji>0?cm(zd,--ji):0,_d--,Dr===10&&(_d=1,xb--),Dr}function lo(){return Dr=ji2||um(Dr)>3?"":" "}function Vue(e,t){for(;--t&&lo()&&!(Dr<48||Dr>102||Dr>57&&Dr<65||Dr>70&&Dr<97););return Rb(e,uv()+(t<6&&Xs()==32&&lo()==32))}function vA(e){for(;lo();)switch(Dr){case e:return ji;case 34:case 39:e!==34&&e!==39&&vA(Dr);break;case 40:e===41&&vA(e);break;case 92:lo();break}return ji}function que(e,t){for(;lo()&&e+Dr!==57;)if(e+Dr===84&&Xs()===47)break;return"/*"+Rb(t,ji-1)+"*"+CL(e===47?e:lo())}function Wue(e){for(;!um(Xs());)lo();return Rb(e,ji)}function Yue(e){return Hue(dv("",null,null,null,[""],e=zue(e),0,[0],e))}function dv(e,t,n,r,a,i,o,s,l){for(var u=0,d=0,p=o,f=0,m=0,g=0,h=1,v=1,S=1,_=0,E="",y=a,C=i,T=r,x=E;v;)switch(g=_,_=lo()){case 40:if(g!=108&&cm(x,p-1)==58){Fue(x+=cv(PE(_),"&","&\f"),"&\f",RK(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:x+=PE(_);break;case 9:case 10:case 13:case 32:x+=Gue(g);break;case 92:x+=Vue(uv()-1,7);continue;case 47:switch(Xs()){case 42:case 47:eh(Kue(que(lo(),uv()),t,n,l),l),(um(g||1)==5||um(Xs()||1)==5)&&Ro(x)&&vd(x,-1,void 0)!==" "&&(x+=" ");break;default:x+="/"}break;case 123*h:s[u++]=Ro(x)*S;case 125*h:case 59:case 0:switch(_){case 0:case 125:v=0;case 59+d:S==-1&&(x=cv(x,/\f/g,"")),m>0&&(Ro(x)-p||h===0&&g===47)&&eh(m>32?_F(x+";",r,n,p-1,l):_F(cv(x," ","")+";",r,n,p-2,l),l);break;case 59:x+=";";default:if(eh(T=vF(x,t,n,u,d,a,s,E,y=[],C=[],p,i),i),_===123)if(d===0)dv(x,t,T,T,y,i,p,s,C);else switch(f===99&&cm(x,3)===110?100:f){case 100:case 108:case 109:case 115:dv(e,T,T,r&&eh(vF(e,T,T,0,0,a,s,E,a,y=[],p,C),C),a,C,p,s,r?y:C);break;default:dv(x,T,T,T,[""],C,0,s,C)}}u=d=m=0,h=S=1,E=x="",p=o;break;case 58:p=1+Ro(x),m=g;default:if(h<1){if(_==123)--h;else if(_==125&&h++==0&&jue()==125)continue}switch(x+=CL(_),_*h){case 38:S=d>0?1:(x+="\f",-1);break;case 44:s[u++]=(Ro(x)-1)*S,S=1;break;case 64:Xs()===45&&(x+=PE(lo())),f=Xs(),d=p=Ro(E=x+=Wue(uv())),_++;break;case 45:g===45&&Ro(x)==2&&(h=0)}}return i}function vF(e,t,n,r,a,i,o,s,l,u,d,p){for(var f=a-1,m=a===0?i:[""],g=Bue(m),h=0,v=0,S=0;h0?m[_]+" "+E:cv(E,/&\f/g,m[_])))&&(l[S++]=y);return TL(e,t,n,a===0?TK:s,l,u,d,p)}function Kue(e,t,n,r){return TL(e,t,n,CK,CL(Uue()),vd(e,2,-2),0,r)}function _F(e,t,n,r,a){return TL(e,t,n,xK,vd(e,0,r),vd(e,r+1,-1),r,a)}function _A(e,t){for(var n="",r=0;r1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},a=r.root,i=r.injectHash,o=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var u=n.hashPriority,d=n.transformers,p=d===void 0?[]:d;n.linters;var f="",m={};function g(S){var _=S.getName(s);if(!m[_]){var E=e(S.style,n,{root:!1,parentSelectors:o}),y=oe(E,1),C=y[0];m[_]="@keyframes ".concat(S.getName(s)).concat(C)}}function h(S){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return S.forEach(function(E){Array.isArray(E)?h(E,_):E&&_.push(E)}),_}var v=h(Array.isArray(t)?t:[t]);return v.forEach(function(S){var _=typeof S=="string"&&!a?{}:S;if(typeof _=="string")f+="".concat(_,` -`);else if(_._keyframe)g(_);else{var E=p.reduce(function(y,C){var T;return(C==null||(T=C.visit)===null||T===void 0?void 0:T.call(C,y))||y},_);Object.keys(E).forEach(function(y){var C=E[y];if(gt(C)==="object"&&C&&(y!=="animationName"||!C._keyframe)&&!tde(C)){var T=!1,x=y.trim(),R=!1;(a||i)&&s?x.startsWith("@")?T=!0:x==="&"?x=SF("",s,u):x=SF(y,s,u):a&&!s&&(x==="&"||x==="")&&(x="",R=!0);var w=e(C,n,{root:R,injectHash:T,parentSelectors:[].concat($e(o),[x])}),I=oe(w,2),O=I[0],k=I[1];m=ee(ee({},m),k),f+="".concat(x).concat(O)}else{let N=function(A,D){var L=A.replace(/[A-Z]/g,function(F){return"-".concat(F.toLowerCase())}),$=D;!Lue[A]&&typeof $=="number"&&$!==0&&($="".concat($,"px")),A==="animationName"&&D!==null&&D!==void 0&&D._keyframe&&(g(D),$=D.getName(s)),f+="".concat(L,":").concat($,";")};var P,M=(P=C==null?void 0:C.value)!==null&&P!==void 0?P:C;gt(C)==="object"&&C!==null&&C!==void 0&&C[AK]&&Array.isArray(M)?M.forEach(function(A){N(y,A)}):N(y,M)}})}}),a?l&&(f="@layer ".concat(l.name," {").concat(f,"}"),l.dependencies&&(m["@layer ".concat(l.name)]=l.dependencies.map(function(S){return"@layer ".concat(S,", ").concat(l.name,";")}).join(` -`))):f="{".concat(f,"}"),[f,m]};function DK(e,t){return om("".concat(e.join("%")).concat(t))}function rde(){return null}var MK="style";function bA(e,t){var n=e.token,r=e.path,a=e.hashId,i=e.layer,o=e.nonce,s=e.clientOnly,l=e.order,u=l===void 0?0:l,d=c.useContext(Tb),p=d.autoClear;d.mock;var f=d.defaultCache,m=d.hashPriority,g=d.container,h=d.ssrInline,v=d.transformers,S=d.linters,_=d.cache,E=d.layer,y=n._tokenKey,C=[y];E&&C.push("layer"),C.push.apply(C,$e(r));var T=hA,x=yL(MK,C,function(){var k=C.join("|");if(Zue(k)){var P=Jue(k),M=oe(P,2),N=M[0],A=M[1];if(N)return[N,y,A,{},s,u]}var D=t(),L=nde(D,{hashId:a,hashPriority:m,layer:E?i:void 0,path:r.join("-"),transformers:v,linters:S}),$=oe(L,2),F=$[0],B=$[1],z=pv(F),U=DK(C,z);return[z,y,U,B,s,u]},function(k,P){var M=oe(k,3),N=M[2];(P||p)&&hA&&sm(N,{mark:so})},function(k){var P=oe(k,4),M=P[0];P[1];var N=P[2],A=P[3];if(T&&M!==OK){var D={mark:so,prepend:E?!1:"queue",attachTo:g,priority:u},L=typeof o=="function"?o():o;L&&(D.csp={nonce:L});var $=[],F=[];Object.keys(A).forEach(function(z){z.startsWith("@layer")?$.push(z):F.push(z)}),$.forEach(function(z){fs(pv(A[z]),"_layer-".concat(z),ee(ee({},D),{},{prepend:!0}))});var B=fs(M,N,D);B[Ks]=_.instanceId,B.setAttribute(hd,y),F.forEach(function(z){fs(pv(A[z]),"_effect-".concat(z),D)})}}),R=oe(x,3),w=R[0],I=R[1],O=R[2];return function(k){var P;return!h||T||!f?P=c.createElement(rde,null):P=c.createElement("style",_e({},W(W({},hd,I),so,O),{dangerouslySetInnerHTML:{__html:w}})),c.createElement(c.Fragment,null,P,k)}}var ade=function(t,n,r){var a=oe(t,6),i=a[0],o=a[1],s=a[2],l=a[3],u=a[4],d=a[5],p=r||{},f=p.plain;if(u)return null;var m=i,g={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)};return m=u_(i,o,s,g,f),l&&Object.keys(l).forEach(function(h){if(!n[h]){n[h]=!0;var v=pv(l[h]),S=u_(v,o,"_effect-".concat(h),g,f);h.startsWith("@layer")?m=S+m:m+=S}}),[d,s,m]},LK="cssVar",ide=function(t,n){var r=t.key,a=t.prefix,i=t.unitless,o=t.ignore,s=t.token,l=t.scope,u=l===void 0?"":l,d=c.useContext(Tb),p=d.cache.instanceId,f=d.container,m=s._tokenKey,g=[].concat($e(t.path),[r,u,m]),h=yL(LK,g,function(){var v=n(),S=SK(v,r,{prefix:a,unitless:i,ignore:o,scope:u}),_=oe(S,2),E=_[0],y=_[1],C=DK(g,y);return[E,y,C,r]},function(v){var S=oe(v,3),_=S[2];hA&&sm(_,{mark:so})},function(v){var S=oe(v,3),_=S[1],E=S[2];if(_){var y=fs(_,E,{mark:so,prepend:"queue",attachTo:f,priority:-999});y[Ks]=p,y.setAttribute(hd,r)}});return h},ode=function(t,n,r){var a=oe(t,4),i=a[1],o=a[2],s=a[3],l=r||{},u=l.plain;if(!i)return null;var d=-999,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},f=u_(i,s,o,p,u);return[d,o,f]};W(W(W({},MK,ade),yK,Mue),LK,ode);var dn=function(){function e(t,n){Jn(this,e),W(this,"name",void 0),W(this,"style",void 0),W(this,"_keyframe",!0),this.name=t,this.style=n}return er(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 ru(e){return e.notSplit=!0,e}ru(["borderTop","borderBottom"]),ru(["borderTop"]),ru(["borderBottom"]),ru(["borderLeft","borderRight"]),ru(["borderLeft"]),ru(["borderRight"]);var xL=c.createContext({});function kK(e){return mK(e)||uK(e)||_L(e)||gK()}function li(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!li(e,t.slice(0,-1))?e:PK(e,t,n,r)}function sde(e){return gt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function EF(e){return Array.isArray(e)?[]:{}}var lde=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function $u(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=cde,e},$K=c.createContext(void 0);var FK={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"},dde={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},pde=ee(ee({},dde),{},{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 BK={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},d_={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"]},pde),timePickerLocale:Object.assign({},BK)},ei="${label} is not a valid ${type}",zi={locale:"en",Pagination:FK,DatePicker:d_,TimePicker:BK,Calendar:d_,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:ei,method:ei,array:ei,object:ei,number:ei,date:ei,boolean:ei,integer:ei,float:ei,regexp:ei,email:ei,url:ei,hex:ei},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 fv=Object.assign({},zi.Modal),mv=[];const yF=()=>mv.reduce((e,t)=>Object.assign(Object.assign({},e),t),zi.Modal);function fde(e){if(e){const t=Object.assign({},e);return mv.push(t),fv=yF(),()=>{mv=mv.filter(n=>n!==t),fv=yF()}}fv=Object.assign({},zi.Modal)}function UK(){return fv}const RL=c.createContext(void 0),Go=(e,t)=>{const n=c.useContext(RL),r=c.useMemo(()=>{var i;const o=t||zi[e],s=(i=n==null?void 0:n[e])!==null&&i!==void 0?i:{};return Object.assign(Object.assign({},typeof o=="function"?o():o),s||{})},[e,t,n]),a=c.useMemo(()=>{const i=n==null?void 0:n.locale;return n!=null&&n.exist&&!i?zi.locale:i},[n]);return[r,a]},mde="internalMark",gde=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;c.useEffect(()=>fde(t==null?void 0:t.Modal),[t]);const a=c.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return c.createElement(RL.Provider,{value:a},n)};function pa(e,t){hde(e)&&(e="100%");var n=vde(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 th(e){return Math.min(1,Math.max(0,e))}function hde(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function vde(e){return typeof e=="string"&&e.indexOf("%")!==-1}function jK(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function nh(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ec(e){return e.length===1?"0"+e:String(e)}function _de(e,t,n){return{r:pa(e,255)*255,g:pa(t,255)*255,b:pa(n,255)*255}}function CF(e,t,n){e=pa(e,255),t=pa(t,255),n=pa(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=0,s=(r+a)/2;if(r===a)o=0,i=0;else{var l=r-a;switch(o=s>.5?l/(2-r-a):l/(r+a),r){case e:i=(t-n)/l+(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 bde(e,t,n){var r,a,i;if(e=pa(e,360),t=pa(t,100),n=pa(n,100),t===0)a=n,i=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,s=2*n-o;r=$E(s,o,e+1/3),a=$E(s,o,e),i=$E(s,o,e-1/3)}return{r:r*255,g:a*255,b:i*255}}function SA(e,t,n){e=pa(e,255),t=pa(t,255),n=pa(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=r,s=r-a,l=r===0?0:s/r;if(r===a)i=0;else{switch(r){case e:i=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var yA={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 Cu(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,o=!1,s=!1;return typeof e=="string"&&(e=Rde(e)),typeof e=="object"&&(Ko(e.r)&&Ko(e.g)&&Ko(e.b)?(t=_de(e.r,e.g,e.b),o=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Ko(e.h)&&Ko(e.s)&&Ko(e.v)?(r=nh(e.s),a=nh(e.v),t=Sde(e.h,r,a),o=!0,s="hsv"):Ko(e.h)&&Ko(e.s)&&Ko(e.l)&&(r=nh(e.s),i=nh(e.l),t=bde(e.h,r,i),o=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=jK(n),{ok:o,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 Tde="[-\\+]?\\d+%?",xde="[-\\+]?\\d*\\.\\d+%?",Qs="(?:".concat(xde,")|(?:").concat(Tde,")"),FE="[\\s|\\(]+(".concat(Qs,")[,|\\s]+(").concat(Qs,")[,|\\s]+(").concat(Qs,")\\s*\\)?"),BE="[\\s|\\(]+(".concat(Qs,")[,|\\s]+(").concat(Qs,")[,|\\s]+(").concat(Qs,")[,|\\s]+(").concat(Qs,")\\s*\\)?"),Qi={CSS_UNIT:new RegExp(Qs),rgb:new RegExp("rgb"+FE),rgba:new RegExp("rgba"+BE),hsl:new RegExp("hsl"+FE),hsla:new RegExp("hsla"+BE),hsv:new RegExp("hsv"+FE),hsva:new RegExp("hsva"+BE),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 Rde(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(yA[e])e=yA[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Qi.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Qi.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Qi.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Qi.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Qi.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Qi.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Qi.hex8.exec(e),n?{r:ni(n[1]),g:ni(n[2]),b:ni(n[3]),a:TF(n[4]),format:t?"name":"hex8"}:(n=Qi.hex6.exec(e),n?{r:ni(n[1]),g:ni(n[2]),b:ni(n[3]),format:t?"name":"hex"}:(n=Qi.hex4.exec(e),n?{r:ni(n[1]+n[1]),g:ni(n[2]+n[2]),b:ni(n[3]+n[3]),a:TF(n[4]+n[4]),format:t?"name":"hex8"}:(n=Qi.hex3.exec(e),n?{r:ni(n[1]+n[1]),g:ni(n[2]+n[2]),b:ni(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Ko(e){return!!Qi.CSS_UNIT.exec(String(e))}var an=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=Cde(t)),this.originalInput=t;var a=Cu(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,i=t.r/255,o=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.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=jK(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=SA(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=SA(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=CF(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=CF(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),EA(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),Ede(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(pa(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(pa(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="#"+EA(this.r,this.g,this.b,!1),n=0,r=Object.entries(yA);n=0,i=!n&&a&&(t.startsWith("hex")||t==="name");return i?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=th(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=th(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=th(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=th(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(),i=n/100,o={r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,i=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(new e(r));return i},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,i=n.v,o=[],s=1/t;t--;)o.push(new e({h:r,s:a,v:i})),i=(i+s)%1;return o},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],i=360/t,o=1;o=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-rh*t:Math.round(e.h)+rh*t:r=n?Math.round(e.h)+rh*t:Math.round(e.h)-rh*t,r<0?r+=360:r>=360&&(r-=360),r}function IF(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-xF*t:t===HK?r=e.s+xF:r=e.s+wde*t,r>1&&(r=1),n&&t===zK&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function OF(e,t,n){var r;return n?r=e.v+Ide*t:r=e.v-Ode*t,r>1&&(r=1),Number(r.toFixed(2))}function xc(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=Cu(e),a=zK;a>0;a-=1){var i=RF(r),o=ah(Cu({h:wF(i,a,!0),s:IF(i,a,!0),v:OF(i,a,!0)}));n.push(o)}n.push(ah(r));for(var s=1;s<=HK;s+=1){var l=RF(r),u=ah(Cu({h:wF(l,s),s:IF(l,s),v:OF(l,s)}));n.push(u)}return t.theme==="dark"?Nde.map(function(d){var p=d.index,f=d.opacity,m=ah(Ade(Cu(t.backgroundColor||"#141414"),Cu(n[p]),f*100));return m}):n}var Ju={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"},CA=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];CA.primary=CA[5];var TA=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];TA.primary=TA[5];var xA=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];xA.primary=xA[5];var p_=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];p_.primary=p_[5];var RA=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];RA.primary=RA[5];var wA=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];wA.primary=wA[5];var IA=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];IA.primary=IA[5];var OA=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];OA.primary=OA[5];var bd=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];bd.primary=bd[5];var NA=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];NA.primary=NA[5];var AA=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];AA.primary=AA[5];var DA=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];DA.primary=DA[5];var MA=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];MA.primary=MA[5];var UE={red:CA,volcano:TA,orange:xA,gold:p_,yellow:RA,lime:wA,green:IA,cyan:OA,blue:bd,geekblue:NA,purple:AA,magenta:DA,grey:MA};const wL={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"},Sd=Object.assign(Object.assign({},wL),{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 GK(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:a,colorWarning:i,colorError:o,colorInfo:s,colorPrimary:l,colorBgBase:u,colorTextBase:d}=e,p=n(l),f=n(a),m=n(i),g=n(o),h=n(s),v=r(u,d),S=e.colorLink||e.colorInfo,_=n(S);return Object.assign(Object.assign({},v),{colorPrimaryBg:p[1],colorPrimaryBgHover:p[2],colorPrimaryBorder:p[3],colorPrimaryBorderHover:p[4],colorPrimaryHover:p[5],colorPrimary:p[6],colorPrimaryActive:p[7],colorPrimaryTextHover:p[8],colorPrimaryText:p[9],colorPrimaryTextActive:p[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:_[4],colorLink:_[6],colorLinkActive:_[7],colorBgMask:new an("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}const Dde=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 Mde(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},Dde(r))}const VK=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function gv(e){return(e+8)/e}function Lde(e){const t=new Array(10).fill(null).map((n,r)=>{const a=r-1,i=e*Math.pow(Math.E,a/5),o=r>1?Math.floor(i):Math.ceil(i);return Math.floor(o/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:gv(n)}))}const qK=e=>{const t=Lde(e),n=t.map(d=>d.size),r=t.map(d=>d.lineHeight),a=n[1],i=n[0],o=n[2],s=r[1],l=r[0],u=r[2];return{fontSizeSM:i,fontSize:a,fontSizeLG:o,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:u,lineHeightSM:l,fontHeight:Math.round(s*a),fontHeightLG:Math.round(u*o),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function kde(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 Xo=(e,t)=>new an(e).setAlpha(t).toRgbString(),Dp=(e,t)=>new an(e).darken(t).toHexString(),Pde=e=>{const t=xc(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]}},$de=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Xo(r,.88),colorTextSecondary:Xo(r,.65),colorTextTertiary:Xo(r,.45),colorTextQuaternary:Xo(r,.25),colorFill:Xo(r,.15),colorFillSecondary:Xo(r,.06),colorFillTertiary:Xo(r,.04),colorFillQuaternary:Xo(r,.02),colorBgLayout:Dp(n,4),colorBgContainer:Dp(n,0),colorBgElevated:Dp(n,0),colorBgSpotlight:Xo(r,.85),colorBgBlur:"transparent",colorBorder:Dp(n,15),colorBorderSecondary:Dp(n,6)}};function Wm(e){Ju.pink=Ju.magenta,UE.pink=UE.magenta;const t=Object.keys(wL).map(n=>{const r=e[n]===Ju[n]?UE[n]:xc(e[n]);return new Array(10).fill(1).reduce((a,i,o)=>(a[`${n}-${o+1}`]=r[o],a[`${n}${o+1}`]=r[o],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),GK(e,{generateColorPalettes:Pde,generateNeutralColorPalettes:$de})),qK(e.fontSize)),kde(e)),VK(e)),Mde(e))}const WK=lm(Wm),dm={token:Sd,override:{override:Sd},hashed:!0},IL=ce.createContext(dm),pm="ant",OL="anticon",Fde=["outlined","borderless","filled"],Bde=(e,t)=>t||(e?`${pm}-${e}`:pm),lt=c.createContext({getPrefixCls:Bde,iconPrefixCls:OL}),Ude=`-ant-${Date.now()}-${Math.random()}`;function jde(e,t){const n={},r=(o,s)=>{let l=o.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},a=(o,s)=>{const l=new an(o),u=xc(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=u[1],n[`${s}-color-hover`]=u[4],n[`${s}-color-active`]=u[6],n[`${s}-color-outline`]=l.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 o=new an(t.primaryColor),s=xc(o.toRgbString());s.forEach((u,d)=>{n[`primary-${d+1}`]=u}),n["primary-color-deprecated-l-35"]=r(o,u=>u.lighten(35)),n["primary-color-deprecated-l-20"]=r(o,u=>u.lighten(20)),n["primary-color-deprecated-t-20"]=r(o,u=>u.tint(20)),n["primary-color-deprecated-t-50"]=r(o,u=>u.tint(50)),n["primary-color-deprecated-f-12"]=r(o,u=>u.setAlpha(u.getAlpha()*.12));const l=new an(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,u=>u.setAlpha(u.getAlpha()*.3)),n["primary-color-active-deprecated-d-02"]=r(l,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(o=>`--${e}-${o}: ${n[o]};`).join(` -`)} - } - `.trim()}function zde(e,t){const n=jde(e,t);Jr()&&fs(n,`${Ude}-dynamic-theme`)}const ea=c.createContext(!1),NL=e=>{let{children:t,disabled:n}=e;const r=c.useContext(ea);return c.createElement(ea.Provider,{value:n??r},t)},Rc=c.createContext(void 0),Hde=e=>{let{children:t,size:n}=e;const r=c.useContext(Rc);return c.createElement(Rc.Provider,{value:n||r},t)};function Gde(){const e=c.useContext(ea),t=c.useContext(Rc);return{componentDisabled:e,componentSize:t}}var YK=er(function e(){Jn(this,e)}),KK="CALC_UNIT",Vde=new RegExp(KK,"g");function jE(e){return typeof e=="number"?"".concat(e).concat(KK):e}var qde=function(e){Si(n,e);var t=Wi(n);function n(r,a){var i;Jn(this,n),i=t.call(this),W(Ge(i),"result",""),W(Ge(i),"unitlessCssVar",void 0),W(Ge(i),"lowPriority",void 0);var o=gt(r);return i.unitlessCssVar=a,r instanceof n?i.result="(".concat(r.result,")"):o==="number"?i.result=jE(r):o==="string"&&(i.result=r),i}return er(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(jE(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(jE(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 i=this,o=a||{},s=o.unit,l=!0;return typeof s=="boolean"?l=s:Array.from(this.unitlessCssVar).some(function(u){return i.result.includes(u)})&&(l=!1),this.result=this.result.replace(Vde,l?"px":""),typeof this.lowPriority<"u"?"calc(".concat(this.result,")"):this.result}}]),n}(YK),Wde=function(e){Si(n,e);var t=Wi(n);function n(r){var a;return Jn(this,n),a=t.call(this),W(Ge(a),"result",0),r instanceof n?a.result=r.result:typeof r=="number"&&(a.result=r),a}return er(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}(YK),Yde=function(t,n){var r=t==="css"?qde:Wde;return function(a){return new r(a,n)}},NF=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 Wt(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),o=0;o1e4){var r=Date.now();this.lastAccessBeat.forEach(function(a,i){r-a>Zde&&(n.map.delete(i),n.lastAccessBeat.delete(i))}),this.accessBeat=0}}}]),e}(),LF=new Jde;function epe(e,t){return ce.useMemo(function(){var n=LF.get(t);if(n)return n;var r=e();return LF.set(t,r),r},t)}var tpe=function(){return{}};function npe(e){var t=e.useCSP,n=t===void 0?tpe:t,r=e.useToken,a=e.usePrefix,i=e.getResetStyles,o=e.getCommonStyle,s=e.getCompUnitless;function l(f,m,g,h){var v=Array.isArray(f)?f[0]:f;function S(R){return"".concat(String(v)).concat(R.slice(0,1).toUpperCase()).concat(R.slice(1))}var _=(h==null?void 0:h.unitless)||{},E=typeof s=="function"?s(f):{},y=ee(ee({},E),{},W({},S("zIndexPopup"),!0));Object.keys(_).forEach(function(R){y[S(R)]=_[R]});var C=ee(ee({},h),{},{unitless:y,prefixToken:S}),T=d(f,m,g,C),x=u(v,g,C);return function(R){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:R,I=T(R,w),O=oe(I,2),k=O[1],P=x(w),M=oe(P,2),N=M[0],A=M[1];return[N,k,A]}}function u(f,m,g){var h=g.unitless,v=g.injectStyle,S=v===void 0?!0:v,_=g.prefixToken,E=g.ignore,y=function(x){var R=x.rootCls,w=x.cssVar,I=w===void 0?{}:w,O=r(),k=O.realToken;return ide({path:[f],prefix:I.prefix,key:I.key,unitless:h,ignore:E,token:k,scope:R},function(){var P=MF(f,k,m),M=AF(f,k,P,{deprecatedTokens:g==null?void 0:g.deprecatedTokens});return Object.keys(P).forEach(function(N){M[_(N)]=M[N],delete M[N]}),M}),null},C=function(x){var R=r(),w=R.cssVar;return[function(I){return S&&w?ce.createElement(ce.Fragment,null,ce.createElement(y,{rootCls:x,cssVar:w,component:f}),I):I},w==null?void 0:w.key]};return C}function d(f,m,g){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=Array.isArray(f)?f:[f,f],S=oe(v,1),_=S[0],E=v.join("-");return function(y){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:y,T=r(),x=T.theme,R=T.realToken,w=T.hashId,I=T.token,O=T.cssVar,k=a(),P=k.rootPrefixCls,M=k.iconPrefixCls,N=n(),A=O?"css":"js",D=epe(function(){var U=new Set;return O&&Object.keys(h.unitless||{}).forEach(function(j){U.add(lv(j,O.prefix)),U.add(lv(j,NF(_,O.prefix)))}),Yde(A,U)},[A,_,O==null?void 0:O.prefix]),L=Qde(A),$=L.max,F=L.min,B={theme:x,token:I,hashId:w,nonce:function(){return N.nonce},clientOnly:h.clientOnly,layer:{name:"antd"},order:h.order||-999};bA(ee(ee({},B),{},{clientOnly:!1,path:["Shared",P]}),function(){return typeof i=="function"?i(I):[]});var z=bA(ee(ee({},B),{},{path:[E,y,M]}),function(){if(h.injectStyle===!1)return[];var U=Xde(I),j=U.token,G=U.flush,J=MF(_,R,g),Y=".".concat(y),X=AF(_,R,J,{deprecatedTokens:h.deprecatedTokens});O&>(J)==="object"&&Object.keys(J).forEach(function(K){J[K]="var(".concat(lv(K,NF(_,O.prefix)),")")});var V=Ht(j,{componentCls:Y,prefixCls:y,iconCls:".".concat(M),antCls:".".concat(P),calc:D,max:$,min:F},O?J:X),H=m(V,{hashId:w,prefixCls:y,rootPrefixCls:P,iconPrefixCls:M});G(_,X);var q=typeof o=="function"?o(V,y,C,h.resetFont):null;return[h.resetStyle===!1?null:q,H]});return[z,w]}}function p(f,m,g){var h=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=d(f,m,g,ee({resetStyle:!1,order:-998},h)),S=function(E){var y=E.prefixCls,C=E.rootCls,T=C===void 0?y:C;return v(y,T),null};return S}return{genStyleHooks:l,genSubStyleComponent:p,genComponentStyleHook:d}}const fm=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],rpe="5.20.6";function HE(e){return e>=0&&e<=255}function ih(e,t){const{r:n,g:r,b:a,a:i}=new an(e).toRgb();if(i<1)return e;const{r:o,g:s,b:l}=new an(t).toRgb();for(let u=.01;u<=1;u+=.01){const d=Math.round((n-o*(1-u))/u),p=Math.round((r-s*(1-u))/u),f=Math.round((a-l*(1-u))/u);if(HE(d)&&HE(p)&&HE(f))return new an({r:d,g:p,b:f,a:Math.round(u*100)/100}).toRgbString()}return new an({r:n,g:r,b:a,a:1}).toRgbString()}var ape=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[f]});const a=Object.assign(Object.assign({},n),r),i=480,o=576,s=768,l=992,u=1200,d=1600;if(a.motion===!1){const f="0s";a.motionDurationFast=f,a.motionDurationMid=f,a.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},a),{colorFillContent:a.colorFillSecondary,colorFillContentHover:a.colorFill,colorFillAlter:a.colorFillQuaternary,colorBgContainerDisabled:a.colorFillTertiary,colorBorderBg:a.colorBgContainer,colorSplit:ih(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:ih(a.colorErrorBg,a.colorBgContainer),colorWarningOutline:ih(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:ih(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) - `,boxShadowSecondary:` - 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) - `,boxShadowTertiary:` - 0 1px 2px 0 rgba(0, 0, 0, 0.03), - 0 1px 6px -1px rgba(0, 0, 0, 0.02), - 0 2px 4px 0 rgba(0, 0, 0, 0.02) - `,screenXS:i,screenXSMin:i,screenXSMax:o-1,screenSM:o,screenSMMin:o,screenSMMax:s-1,screenMD:s,screenMDMin:s,screenMDMax:l-1,screenLG:l,screenLGMin:l,screenLGMax:u-1,screenXL:u,screenXLMin:u,screenXLMax:d-1,screenXXL:d,screenXXLMin:d,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:` - 0 1px 2px -2px ${new an("rgba(0, 0, 0, 0.16)").toRgbString()}, - 0 3px 6px 0 ${new an("rgba(0, 0, 0, 0.12)").toRgbString()}, - 0 5px 12px 4px ${new an("rgba(0, 0, 0, 0.09)").toRgbString()} - `,boxShadowDrawerRight:` - -6px 0 16px 0 rgba(0, 0, 0, 0.08), - -3px 0 6px -4px rgba(0, 0, 0, 0.12), - -9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerLeft:` - 6px 0 16px 0 rgba(0, 0, 0, 0.08), - 3px 0 6px -4px rgba(0, 0, 0, 0.12), - 9px 0 28px 8px rgba(0, 0, 0, 0.05) - `,boxShadowDrawerUp:` - 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) - `,boxShadowDrawerDown:` - 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 kF=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,i=kF(t,["override"]);let o=Object.assign(Object.assign({},r),{override:a});return o=AL(o),i&&Object.entries(i).forEach(s=>{let[l,u]=s;const{theme:d}=u,p=kF(u,["theme"]);let f=p;d&&(f=ZK(Object.assign(Object.assign({},o),p),{override:p},d)),o[l]=f}),o};function ia(){const{token:e,hashed:t,theme:n,override:r,cssVar:a}=ce.useContext(IL),i=`${rpe}-${t||""}`,o=n||WK,[s,l,u]=Due(o,[Sd,e],{salt:i,override:r,getComputedToken:ZK,formatToken:AL,cssVar:a&&{prefix:a.prefix,key:a.key,unitless:QK,ignore:ipe,preserve:ope}});return[o,u,t?l:"",s,a]}const DL=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),vi={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},on=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}},Hd=()=>({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"}}),mo=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),spe=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"}}}),lpe=(e,t,n,r)=>{const a=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:a,o={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},s),o),{[a]:o})}},bs=e=>({outline:`${Q(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),Bo=e=>({"&:focus-visible":Object.assign({},bs(e))}),JK=(e,t)=>{const[n,r]=ia();return bA({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({},Hd()),{[`.${e} .${e}-icon`]:{display:"block"}})}])},{genStyleHooks:cn,genComponentStyleHook:cpe,genSubStyleComponent:Gd}=npe({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=c.useContext(lt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,a]=ia();return{theme:e,realToken:t,hashId:n,token:r,cssVar:a}},useCSP:()=>{const{csp:e,iconPrefixCls:t}=c.useContext(lt);return JK(t,e),e??{}},getResetStyles:e=>[{"&":spe(e)}],getCommonStyle:lpe,getCompUnitless:()=>QK});function eX(e,t){return fm.reduce((n,r)=>{const a=e[`${r}1`],i=e[`${r}3`],o=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:a,lightBorderColor:i,darkColor:o,textColor:s}))},{})}const upe=Object.assign({},zm),{useId:PF}=upe,dpe=()=>"",ppe=typeof PF>"u"?dpe:PF;function fpe(e,t,n){var r;Il();const a=e||{},i=a.inherit===!1||!t?Object.assign(Object.assign({},dm),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:dm.hashed,cssVar:t==null?void 0:t.cssVar}):t,o=ppe();return wl(()=>{var s,l;if(!e)return t;const u=Object.assign({},i.components);Object.keys(e.components||{}).forEach(f=>{u[f]=Object.assign(Object.assign({},u[f]),e.components[f])});const d=`css-var-${o.replace(/:/g,"")}`,p=((s=a.cssVar)!==null&&s!==void 0?s:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof i.cssVar=="object"?i.cssVar:{}),typeof a.cssVar=="object"?a.cssVar:{}),{key:typeof a.cssVar=="object"&&((l=a.cssVar)===null||l===void 0?void 0:l.key)||d});return Object.assign(Object.assign(Object.assign({},i),a),{token:Object.assign(Object.assign({},i.token),a.token),components:u,cssVar:p})},[a,i],(s,l)=>s.some((u,d)=>{const p=l[d];return!Ui(u,p,!0)}))}var mpe=["children"],tX=c.createContext({});function gpe(e){var t=e.children,n=Et(e,mpe);return c.createElement(tX.Provider,{value:n},t)}var hpe=function(e){Si(n,e);var t=Wi(n);function n(){return Jn(this,n),t.apply(this,arguments)}return er(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component);function vpe(e){var t=c.useReducer(function(s){return s+1},0),n=oe(t,2),r=n[1],a=c.useRef(e),i=Wt(function(){return a.current}),o=Wt(function(s){a.current=typeof s=="function"?s(a.current):s,r()});return[i,o]}var Ps="none",oh="appear",sh="enter",lh="leave",$F="none",no="prepare",Fu="start",Bu="active",ML="end",nX="prepared";function FF(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 _pe(e,t){var n={animationend:FF("Animation","AnimationEnd"),transitionend:FF("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var bpe=_pe(Jr(),typeof window<"u"?window:{}),rX={};if(Jr()){var Spe=document.createElement("div");rX=Spe.style}var ch={};function aX(e){if(ch[e])return ch[e];var t=bpe[e];if(t)for(var n=Object.keys(t),r=n.length,a=0;a1&&arguments[1]!==void 0?arguments[1]:2;t();var i=Gt(function(){a<=1?r({isCanceled:function(){return i!==e.current}}):n(r,a-1)});e.current=i}return c.useEffect(function(){return function(){t()}},[]),[n,t]};var Cpe=[no,Fu,Bu,ML],Tpe=[no,nX],cX=!1,xpe=!0;function uX(e){return e===Bu||e===ML}const Rpe=function(e,t,n){var r=wc($F),a=oe(r,2),i=a[0],o=a[1],s=ype(),l=oe(s,2),u=l[0],d=l[1];function p(){o(no,!0)}var f=t?Tpe:Cpe;return lX(function(){if(i!==$F&&i!==ML){var m=f.indexOf(i),g=f[m+1],h=n(i);h===cX?o(g,!0):g&&u(function(v){function S(){v.isCanceled()||o(g,!0)}h===!0?S():Promise.resolve(h).then(S)})}},[e,i]),c.useEffect(function(){return function(){d()}},[]),[p,i]};function wpe(e,t,n,r){var a=r.motionEnter,i=a===void 0?!0:a,o=r.motionAppear,s=o===void 0?!0:o,l=r.motionLeave,u=l===void 0?!0:l,d=r.motionDeadline,p=r.motionLeaveImmediately,f=r.onAppearPrepare,m=r.onEnterPrepare,g=r.onLeavePrepare,h=r.onAppearStart,v=r.onEnterStart,S=r.onLeaveStart,_=r.onAppearActive,E=r.onEnterActive,y=r.onLeaveActive,C=r.onAppearEnd,T=r.onEnterEnd,x=r.onLeaveEnd,R=r.onVisibleChanged,w=wc(),I=oe(w,2),O=I[0],k=I[1],P=vpe(Ps),M=oe(P,2),N=M[0],A=M[1],D=wc(null),L=oe(D,2),$=L[0],F=L[1],B=N(),z=c.useRef(!1),U=c.useRef(null);function j(){return n()}var G=c.useRef(!1);function J(){A(Ps),F(null,!0)}var Y=Wt(function(Ee){var ge=N();if(ge!==Ps){var re=j();if(!(Ee&&!Ee.deadline&&Ee.target!==re)){var ne=G.current,ae;ge===oh&&ne?ae=C==null?void 0:C(re,Ee):ge===sh&&ne?ae=T==null?void 0:T(re,Ee):ge===lh&&ne&&(ae=x==null?void 0:x(re,Ee)),ne&&ae!==!1&&J()}}}),X=Epe(Y),V=oe(X,1),H=V[0],q=function(ge){switch(ge){case oh:return W(W(W({},no,f),Fu,h),Bu,_);case sh:return W(W(W({},no,m),Fu,v),Bu,E);case lh:return W(W(W({},no,g),Fu,S),Bu,y);default:return{}}},K=c.useMemo(function(){return q(B)},[B]),Z=Rpe(B,!e,function(Ee){if(Ee===no){var ge=K[no];return ge?ge(j()):cX}if(ue in K){var re;F(((re=K[ue])===null||re===void 0?void 0:re.call(K,j(),null))||null)}return ue===Bu&&B!==Ps&&(H(j()),d>0&&(clearTimeout(U.current),U.current=setTimeout(function(){Y({deadline:!0})},d))),ue===nX&&J(),xpe}),te=oe(Z,2),se=te[0],ue=te[1],me=uX(ue);G.current=me,lX(function(){k(t);var Ee=z.current;z.current=!0;var ge;!Ee&&t&&s&&(ge=oh),Ee&&t&&i&&(ge=sh),(Ee&&!t&&u||!Ee&&p&&!t&&u)&&(ge=lh);var re=q(ge);ge&&(e||re[no])?(A(ge),se()):A(Ps)},[t]),c.useEffect(function(){(B===oh&&!s||B===sh&&!i||B===lh&&!u)&&A(Ps)},[s,i,u]),c.useEffect(function(){return function(){z.current=!1,clearTimeout(U.current)}},[]);var de=c.useRef(!1);c.useEffect(function(){O&&(de.current=!0),O!==void 0&&B===Ps&&((de.current||O)&&(R==null||R(O)),de.current=!0)},[O,B]);var Te=$;return K[no]&&ue===Fu&&(Te=ee({transition:"none"},Te)),[B,ue,Te,O??t]}function Ipe(e){var t=e;gt(e)==="object"&&(t=e.transitionSupport);function n(a,i){return!!(a.motionName&&t&&i!==!1)}var r=c.forwardRef(function(a,i){var o=a.visible,s=o===void 0?!0:o,l=a.removeOnLeave,u=l===void 0?!0:l,d=a.forceRender,p=a.children,f=a.motionName,m=a.leavedClassName,g=a.eventProps,h=c.useContext(tX),v=h.motion,S=n(a,v),_=c.useRef(),E=c.useRef();function y(){try{return _.current instanceof HTMLElement?_.current:_f(E.current)}catch{return null}}var C=wpe(S,s,y,a),T=oe(C,4),x=T[0],R=T[1],w=T[2],I=T[3],O=c.useRef(I);I&&(O.current=!0);var k=c.useCallback(function($){_.current=$,am(i,$)},[i]),P,M=ee(ee({},g),{},{visible:s});if(!p)P=null;else if(x===Ps)I?P=p(ee({},M),k):!u&&O.current&&m?P=p(ee(ee({},M),{},{className:m}),k):d||!u&&!m?P=p(ee(ee({},M),{},{style:{display:"none"}}),k):P=null;else{var N;R===no?N="prepare":uX(R)?N="active":R===Fu&&(N="start");var A=jF(f,"".concat(x,"-").concat(N));P=p(ee(ee({},M),{},{className:ie(jF(f,x),W(W({},A,A&&N),f,typeof f=="string")),style:w}),k)}if(c.isValidElement(P)&&fo(P)){var D=P,L=D.ref;L||(P=c.cloneElement(P,{ref:k}))}return c.createElement(hpe,{ref:E},P)});return r.displayName="CSSMotion",r}const ta=Ipe(sX);var kA="add",PA="keep",$A="remove",GE="removed";function Ope(e){var t;return e&>(e)==="object"&&"key"in e?t=e:t={key:e},ee(ee({},t),{},{key:String(t.key)})}function FA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Ope)}function Npe(){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,i=FA(e),o=FA(t);i.forEach(function(u){for(var d=!1,p=r;p1});return l.forEach(function(u){n=n.filter(function(d){var p=d.key,f=d.status;return p!==u||f!==$A}),n.forEach(function(d){d.key===u&&(d.status=PA)})}),n}var Ape=["component","children","onVisibleChanged","onAllRemoved"],Dpe=["status"],Mpe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Lpe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ta,n=function(r){Si(i,r);var a=Wi(i);function i(){var o;Jn(this,i);for(var s=arguments.length,l=new Array(s),u=0;unull;var $pe=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 jpe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:a}=e;t!==void 0&&(f_=t),n!==void 0&&(dX=n),"holderRender"in e&&(fX=a),r&&(Upe(r)?zde(hv(),r):pX=r)},mX=()=>({getPrefixCls:(e,t)=>t||(e?`${hv()}-${e}`:hv()),getIconPrefixCls:Bpe,getRootPrefixCls:()=>f_||hv(),getTheme:()=>pX,holderRender:fX}),zpe=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:a,anchor:i,form:o,locale:s,componentSize:l,direction:u,space:d,virtual:p,dropdownMatchSelectWidth:f,popupMatchSelectWidth:m,popupOverflow:g,legacyLocale:h,parentContext:v,iconPrefixCls:S,theme:_,componentDisabled:E,segmented:y,statistic:C,spin:T,calendar:x,carousel:R,cascader:w,collapse:I,typography:O,checkbox:k,descriptions:P,divider:M,drawer:N,skeleton:A,steps:D,image:L,layout:$,list:F,mentions:B,modal:z,progress:U,result:j,slider:G,breadcrumb:J,menu:Y,pagination:X,input:V,textArea:H,empty:q,badge:K,radio:Z,rate:te,switch:se,transfer:ue,avatar:me,message:de,tag:Te,table:Ee,card:ge,tabs:re,timeline:ne,timePicker:ae,upload:le,notification:pe,tree:Re,colorPicker:Se,datePicker:Pe,rangePicker:fe,flex:ve,wave:Ae,dropdown:ye,warning:be,tour:Ne,floatButtonGroup:Ie,variant:xe,inputNumber:ke,treeSelect:rt}=e,Me=c.useCallback((pt,We)=>{const{prefixCls:Ve}=e;if(We)return We;const Ze=Ve||v.getPrefixCls("");return pt?`${Ze}-${pt}`:Ze},[v.getPrefixCls,e.prefixCls]),Ce=S||v.iconPrefixCls||OL,De=n||v.csp;JK(Ce,De);const Ue=fpe(_,v.theme,{prefixCls:Me("")}),Ye={csp:De,autoInsertSpaceInButton:r,alert:a,anchor:i,locale:s||h,direction:u,space:d,virtual:p,popupMatchSelectWidth:m??f,popupOverflow:g,getPrefixCls:Me,iconPrefixCls:Ce,theme:Ue,segmented:y,statistic:C,spin:T,calendar:x,carousel:R,cascader:w,collapse:I,typography:O,checkbox:k,descriptions:P,divider:M,drawer:N,skeleton:A,steps:D,image:L,input:V,textArea:H,layout:$,list:F,mentions:B,modal:z,progress:U,result:j,slider:G,breadcrumb:J,menu:Y,pagination:X,empty:q,badge:K,radio:Z,rate:te,switch:se,transfer:ue,avatar:me,message:de,tag:Te,table:Ee,card:ge,tabs:re,timeline:ne,timePicker:ae,upload:le,notification:pe,tree:Re,colorPicker:Se,datePicker:Pe,rangePicker:fe,flex:ve,wave:Ae,dropdown:ye,warning:be,tour:Ne,floatButtonGroup:Ie,variant:xe,inputNumber:ke,treeSelect:rt},He=Object.assign({},v);Object.keys(Ye).forEach(pt=>{Ye[pt]!==void 0&&(He[pt]=Ye[pt])}),Fpe.forEach(pt=>{const We=e[pt];We&&(He[pt]=We)}),typeof r<"u"&&(He.button=Object.assign({autoInsertSpace:r},He.button));const ze=wl(()=>He,He,(pt,We)=>{const Ve=Object.keys(pt),Ze=Object.keys(We);return Ve.length!==Ze.length||Ve.some(dt=>pt[dt]!==We[dt])}),Xe=c.useMemo(()=>({prefixCls:Ce,csp:De}),[Ce,De]);let Be=c.createElement(c.Fragment,null,c.createElement(Ppe,{dropdownMatchSelectWidth:f}),t);const Je=c.useMemo(()=>{var pt,We,Ve,Ze;return $u(((pt=zi.Form)===null||pt===void 0?void 0:pt.defaultValidateMessages)||{},((Ve=(We=ze.locale)===null||We===void 0?void 0:We.Form)===null||Ve===void 0?void 0:Ve.defaultValidateMessages)||{},((Ze=ze.form)===null||Ze===void 0?void 0:Ze.validateMessages)||{},(o==null?void 0:o.validateMessages)||{})},[ze,o==null?void 0:o.validateMessages]);Object.keys(Je).length>0&&(Be=c.createElement($K.Provider,{value:Je},Be)),s&&(Be=c.createElement(gde,{locale:s,_ANT_MARK__:mde},Be)),(Ce||De)&&(Be=c.createElement(xL.Provider,{value:Xe},Be)),l&&(Be=c.createElement(Hde,{size:l},Be)),Be=c.createElement(kpe,null,Be);const mt=c.useMemo(()=>{const pt=Ue||{},{algorithm:We,token:Ve,components:Ze,cssVar:dt}=pt,It=$pe(pt,["algorithm","token","components","cssVar"]),Nt=We&&(!Array.isArray(We)||We.length>0)?lm(We):WK,ht={};Object.entries(Ze||{}).forEach(ot=>{let[et,vt]=ot;const nt=Object.assign({},vt);"algorithm"in nt&&(nt.algorithm===!0?nt.theme=Nt:(Array.isArray(nt.algorithm)||typeof nt.algorithm=="function")&&(nt.theme=lm(nt.algorithm)),delete nt.algorithm),ht[et]=nt});const ct=Object.assign(Object.assign({},Sd),Ve);return Object.assign(Object.assign({},It),{theme:Nt,token:ct,components:ht,override:Object.assign({override:ct},ht),cssVar:dt})},[Ue]);return _&&(Be=c.createElement(IL.Provider,{value:mt},Be)),ze.warning&&(Be=c.createElement(ude.Provider,{value:ze.warning},Be)),E!==void 0&&(Be=c.createElement(NL,{disabled:E},Be)),c.createElement(lt.Provider,{value:ze},Be)},_o=e=>{const t=c.useContext(lt),n=c.useContext(RL);return c.createElement(zpe,Object.assign({parentContext:t,legacyLocale:n},e))};_o.ConfigContext=lt;_o.SizeContext=Rc;_o.config=jpe;_o.useConfig=Gde;Object.defineProperty(_o,"SizeContext",{get:()=>Rc});var Hpe={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 gX(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function Gpe(e){return gX(e)instanceof ShadowRoot}function m_(e){return Gpe(e)?gX(e):null}function Vpe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function qpe(e,t){bn(e,"[@ant-design/icons] ".concat(t))}function zF(e){return gt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(gt(e.icon)==="object"||typeof e.icon=="function")}function HF(){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[Vpe(n)]=r}return t},{})}function BA(e,t,n){return n?ce.createElement(e.tag,ee(ee({key:t},HF(e.attrs)),n),(e.children||[]).map(function(r,a){return BA(r,"".concat(t,"-").concat(e.tag,"-").concat(a))})):ce.createElement(e.tag,ee({key:t},HF(e.attrs)),(e.children||[]).map(function(r,a){return BA(r,"".concat(t,"-").concat(e.tag,"-").concat(a))}))}function hX(e){return xc(e)[0]}function vX(e){return e?Array.isArray(e)?e:[e]:[]}var Wpe=` -.anticon { - display: inline-flex; - align-items: center; - color: inherit; - font-style: normal; - line-height: 0; - text-align: center; - text-transform: none; - vertical-align: -0.125em; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.anticon > * { - line-height: 1; -} - -.anticon svg { - display: inline-block; -} - -.anticon::before { - display: none; -} - -.anticon .anticon-icon { - display: block; -} - -.anticon[tabindex] { - cursor: pointer; -} - -.anticon-spin::before, -.anticon-spin { - display: inline-block; - -webkit-animation: loadingCircle 1s infinite linear; - animation: loadingCircle 1s infinite linear; -} - -@-webkit-keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} - -@keyframes loadingCircle { - 100% { - -webkit-transform: rotate(360deg); - transform: rotate(360deg); - } -} -`,Ype=function(t){var n=c.useContext(xL),r=n.csp,a=n.prefixCls,i=Wpe;a&&(i=i.replace(/anticon/g,a)),c.useEffect(function(){var o=t.current,s=m_(o);fs(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:s})},[])},Kpe=["icon","className","onClick","style","primaryColor","secondaryColor"],Sf={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Xpe(e){var t=e.primaryColor,n=e.secondaryColor;Sf.primaryColor=t,Sf.secondaryColor=n||hX(t),Sf.calculated=!!n}function Qpe(){return ee({},Sf)}var Vd=function(t){var n=t.icon,r=t.className,a=t.onClick,i=t.style,o=t.primaryColor,s=t.secondaryColor,l=Et(t,Kpe),u=c.useRef(),d=Sf;if(o&&(d={primaryColor:o,secondaryColor:s||hX(o)}),Ype(u),qpe(zF(n),"icon should be icon definiton, but got ".concat(n)),!zF(n))return null;var p=n;return p&&typeof p.icon=="function"&&(p=ee(ee({},p),{},{icon:p.icon(d.primaryColor,d.secondaryColor)})),BA(p.icon,"svg-".concat(p.name),ee(ee({className:r,onClick:a,style:i,"data-icon":p.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:u}))};Vd.displayName="IconReact";Vd.getTwoToneColors=Qpe;Vd.setTwoToneColors=Xpe;function _X(e){var t=vX(e),n=oe(t,2),r=n[0],a=n[1];return Vd.setTwoToneColors({primaryColor:r,secondaryColor:a})}function Zpe(){var e=Vd.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Jpe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];_X(bd.primary);var at=c.forwardRef(function(e,t){var n=e.className,r=e.icon,a=e.spin,i=e.rotate,o=e.tabIndex,s=e.onClick,l=e.twoToneColor,u=Et(e,Jpe),d=c.useContext(xL),p=d.prefixCls,f=p===void 0?"anticon":p,m=d.rootClassName,g=ie(m,f,W(W({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!a||r.name==="loading"),n),h=o;h===void 0&&s&&(h=-1);var v=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,S=vX(l),_=oe(S,2),E=_[0],y=_[1];return c.createElement("span",_e({role:"img","aria-label":r.name},u,{ref:t,tabIndex:h,onClick:s,className:g}),c.createElement(Vd,{icon:r,primaryColor:E,secondaryColor:y,style:v}))});at.displayName="AntdIcon";at.getTwoToneColor=Zpe;at.setTwoToneColor=_X;var efe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Hpe}))},Ym=c.forwardRef(efe),tfe={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"},nfe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:tfe}))},Bc=c.forwardRef(nfe),rfe={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"},afe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:rfe}))},na=c.forwardRef(afe),ife={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"},ofe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:ife}))},wb=c.forwardRef(ofe),sfe={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"},lfe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:sfe}))},kL=c.forwardRef(lfe),cfe=`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 - encType form formAction formEncType formMethod formNoValidate formTarget frameBorder - headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity - is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media - mediaGroup method min minLength multiple muted name noValidate nonce open - optimum pattern placeholder poster preload radioGroup readOnly rel required - reversed role rowSpan rows sandbox scope scoped scrolling seamless selected - shape size sizes span spellCheck src srcDoc srcLang srcSet start step style - summary tabIndex target title type useMap value width wmode wrap`,ufe=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown - onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick - onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown - 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`,dfe="".concat(cfe," ").concat(ufe).split(/[\s\n]+/),pfe="aria-",ffe="data-";function GF(e,t){return e.indexOf(t)===0}function Qn(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=ee({},t);var r={};return Object.keys(e).forEach(function(a){(n.aria&&(a==="role"||GF(a,pfe))||n.data&&GF(a,ffe)||n.attr&&dfe.includes(a))&&(r[a]=e[a])}),r}function bX(e){return e&&ce.isValidElement(e)&&e.type===ce.Fragment}const PL=(e,t,n)=>ce.isValidElement(e)?ce.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function Tr(e,t){return PL(e,e,t)}const uh=(e,t,n,r,a)=>({background:e,border:`${Q(r.lineWidth)} ${r.lineType} ${t}`,[`${a}-icon`]:{color:n}}),mfe=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:a,fontSize:i,fontSizeLG:o,lineHeight:s,borderRadiusLG:l,motionEaseInOutCirc:u,withDescriptionIconSize:d,colorText:p,colorTextHeading:f,withDescriptionPadding:m,defaultPadding:g}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"flex",alignItems:"center",padding:g,wordWrap:"break-word",borderRadius:l,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:s},"&-message":{color:f},[`&${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:m,[`${t}-icon`]:{marginInlineEnd:a,fontSize:d,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:f,fontSize:o},[`${t}-description`]:{display:"block",color:p}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},gfe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:a,colorWarning:i,colorWarningBorder:o,colorWarningBg:s,colorError:l,colorErrorBorder:u,colorErrorBg:d,colorInfo:p,colorInfoBorder:f,colorInfoBg:m}=e;return{[t]:{"&-success":uh(a,r,n,e,t),"&-info":uh(m,f,p,e,t),"&-warning":uh(s,o,i,e,t),"&-error":Object.assign(Object.assign({},uh(d,u,l,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},hfe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:a,fontSizeIcon:i,colorIcon:o,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:a},[`${t}-close-icon`]:{marginInlineStart:a,padding:0,overflow:"hidden",fontSize:i,lineHeight:Q(i),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:o,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:o,transition:`color ${r}`,"&:hover":{color:s}}}}},vfe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),_fe=cn("Alert",e=>[mfe(e),gfe(e),hfe(e)],vfe);var VF=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=bfe[r]||null;return t?PL(t,c.createElement("span",{className:`${n}-icon`},t),()=>({className:ie(`${n}-icon`,{[t.props.className]:t.props.className})})):c.createElement(a,{className:`${n}-icon`})},Efe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:a,ariaProps:i}=e,o=r===!0||r===void 0?c.createElement(na,null):r;return t?c.createElement("button",Object.assign({type:"button",onClick:a,className:`${n}-close-icon`,tabIndex:0},i),o):null},SX=c.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:a,banner:i,className:o,rootClassName:s,style:l,onMouseEnter:u,onMouseLeave:d,onClick:p,afterClose:f,showIcon:m,closable:g,closeText:h,closeIcon:v,action:S,id:_}=e,E=VF(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[y,C]=c.useState(!1),T=c.useRef(null);c.useImperativeHandle(t,()=>({nativeElement:T.current}));const{getPrefixCls:x,direction:R,alert:w}=c.useContext(lt),I=x("alert",r),[O,k,P]=_fe(I),M=z=>{var U;C(!0),(U=e.onClose)===null||U===void 0||U.call(e,z)},N=c.useMemo(()=>e.type!==void 0?e.type:i?"warning":"info",[e.type,i]),A=c.useMemo(()=>typeof g=="object"&&g.closeIcon||h?!0:typeof g=="boolean"?g:v!==!1&&v!==null&&v!==void 0?!0:!!(w!=null&&w.closable),[h,v,g,w==null?void 0:w.closable]),D=i&&m===void 0?!0:m,L=ie(I,`${I}-${N}`,{[`${I}-with-description`]:!!n,[`${I}-no-icon`]:!D,[`${I}-banner`]:!!i,[`${I}-rtl`]:R==="rtl"},w==null?void 0:w.className,o,s,P,k),$=Qn(E,{aria:!0,data:!0}),F=c.useMemo(()=>{var z,U;return typeof g=="object"&&g.closeIcon?g.closeIcon:h||(v!==void 0?v:typeof(w==null?void 0:w.closable)=="object"&&(!((z=w==null?void 0:w.closable)===null||z===void 0)&&z.closeIcon)?(U=w==null?void 0:w.closable)===null||U===void 0?void 0:U.closeIcon:w==null?void 0:w.closeIcon)},[v,g,h,w==null?void 0:w.closeIcon]),B=c.useMemo(()=>{const z=g??(w==null?void 0:w.closable);return typeof z=="object"?VF(z,["closeIcon"]):{}},[g,w==null?void 0:w.closable]);return O(c.createElement(ta,{visible:!y,motionName:`${I}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:z=>({maxHeight:z.offsetHeight}),onLeaveEnd:f},(z,U)=>{let{className:j,style:G}=z;return c.createElement("div",Object.assign({id:_,ref:aa(T,U),"data-show":!y,className:ie(L,j),style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.style),l),G),onMouseEnter:u,onMouseLeave:d,onClick:p,role:"alert"},$),D?c.createElement(Sfe,{description:n,icon:e.icon,prefixCls:I,type:N}):null,c.createElement("div",{className:`${I}-content`},a?c.createElement("div",{className:`${I}-message`},a):null,n?c.createElement("div",{className:`${I}-description`},n):null),S?c.createElement("div",{className:`${I}-action`},S):null,c.createElement(Efe,{isClosable:A,prefixCls:I,closeIcon:F,handleClose:M,ariaProps:B}))}))});function yfe(e,t,n){return t=Tc(t),cK(e,yb()?Reflect.construct(t,n||[],Tc(e).constructor):t.apply(e,n))}let Cfe=function(e){function t(){var n;return Jn(this,t),n=yfe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Si(t,e),er(t,[{key:"componentDidCatch",value:function(r,a){this.setState({error:r,info:a})}},{key:"render",value:function(){const{message:r,description:a,id:i,children:o}=this.props,{error:s,info:l}=this.state,u=(l==null?void 0:l.componentStack)||null,d=typeof r>"u"?(s||"").toString():r,p=typeof a>"u"?u:a;return s?c.createElement(SX,{id:i,type:"error",message:d,description:c.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},p)}):o}}])}(c.Component);const Xn=SX;Xn.ErrorBoundary=Cfe;const qF=e=>typeof e=="object"&&e!=null&&e.nodeType===1,WF=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",VE=(e,t)=>{if(e.clientHeight{const a=(i=>{if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!a&&(a.clientHeightit||i>e&&o=t&&s>=n?i-e-r:o>t&&sn?o-t+a:0,Tfe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},YF=(e,t)=>{var n,r,a,i;if(typeof document>"u")return[];const{scrollMode:o,block:s,inline:l,boundary:u,skipOverflowHiddenElements:d}=t,p=typeof u=="function"?u:A=>A!==u;if(!qF(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,m=[];let g=e;for(;qF(g)&&p(g);){if(g=Tfe(g),g===f){m.push(g);break}g!=null&&g===document.body&&VE(g)&&!VE(document.documentElement)||g!=null&&VE(g,d)&&m.push(g)}const h=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,v=(i=(a=window.visualViewport)==null?void 0:a.height)!=null?i:innerHeight,{scrollX:S,scrollY:_}=window,{height:E,width:y,top:C,right:T,bottom:x,left:R}=e.getBoundingClientRect(),{top:w,right:I,bottom:O,left:k}=(A=>{const D=window.getComputedStyle(A);return{top:parseFloat(D.scrollMarginTop)||0,right:parseFloat(D.scrollMarginRight)||0,bottom:parseFloat(D.scrollMarginBottom)||0,left:parseFloat(D.scrollMarginLeft)||0}})(e);let P=s==="start"||s==="nearest"?C-w:s==="end"?x+O:C+E/2-w+O,M=l==="center"?R+y/2-k+I:l==="end"?T+I:R-k;const N=[];for(let A=0;A=0&&R>=0&&x<=v&&T<=h&&C>=F&&x<=z&&R>=U&&T<=B)return N;const j=getComputedStyle(D),G=parseInt(j.borderLeftWidth,10),J=parseInt(j.borderTopWidth,10),Y=parseInt(j.borderRightWidth,10),X=parseInt(j.borderBottomWidth,10);let V=0,H=0;const q="offsetWidth"in D?D.offsetWidth-D.clientWidth-G-Y:0,K="offsetHeight"in D?D.offsetHeight-D.clientHeight-J-X:0,Z="offsetWidth"in D?D.offsetWidth===0?0:$/D.offsetWidth:0,te="offsetHeight"in D?D.offsetHeight===0?0:L/D.offsetHeight:0;if(f===D)V=s==="start"?P:s==="end"?P-v:s==="nearest"?dh(_,_+v,v,J,X,_+P,_+P+E,E):P-v/2,H=l==="start"?M:l==="center"?M-h/2:l==="end"?M-h:dh(S,S+h,h,G,Y,S+M,S+M+y,y),V=Math.max(0,V+_),H=Math.max(0,H+S);else{V=s==="start"?P-F-J:s==="end"?P-z+X+K:s==="nearest"?dh(F,z,L,J,X+K,P,P+E,E):P-(F+L/2)+K/2,H=l==="start"?M-U-G:l==="center"?M-(U+$/2)+q/2:l==="end"?M-B+Y+q:dh(U,B,$,G,Y+q,M,M+y,y);const{scrollLeft:se,scrollTop:ue}=D;V=te===0?0:Math.max(0,Math.min(ue+V/te,D.scrollHeight-L/te+K)),H=Z===0?0:Math.max(0,Math.min(se+H/Z,D.scrollWidth-$/Z+q)),P+=ue-V,M+=se-H}N.push({el:D,top:V,left:H})}return N},xfe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function Rfe(e,t){if(!e.isConnected||!(a=>{let i=a;for(;i&&i.parentNode;){if(i.parentNode===document)return!0;i=i.parentNode instanceof ShadowRoot?i.parentNode.host:i.parentNode}return!1})(e))return;const n=(a=>{const i=window.getComputedStyle(a);return{top:parseFloat(i.scrollMarginTop)||0,right:parseFloat(i.scrollMarginRight)||0,bottom:parseFloat(i.scrollMarginBottom)||0,left:parseFloat(i.scrollMarginLeft)||0}})(e);if((a=>typeof a=="object"&&typeof a.behavior=="function")(t))return t.behavior(YF(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:a,top:i,left:o}of YF(e,xfe(t))){const s=i-n.top+n.bottom,l=o-n.left+n.right;a.scroll({top:s,left:l,behavior:r})}}function UA(e){return e!=null&&e===e.window}const wfe=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return UA(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!UA(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 Ife(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 Ofe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:a=450}=t,i=n(),o=wfe(i),s=Date.now(),l=()=>{const d=Date.now()-s,p=Ife(d>a?a:d,o,e,a);UA(i)?i.scrollTo(window.pageXOffset,p):i instanceof Document||i.constructor.name==="HTMLDocument"?i.documentElement.scrollTop=p:i.scrollTop=p,d{const[,,,,t]=ia();return t?`${e}-css-var`:""};var Fe={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>=Fe.F1&&n<=Fe.F12)return!1;switch(n){case Fe.ALT:case Fe.CAPS_LOCK:case Fe.CONTEXT_MENU:case Fe.CTRL:case Fe.DOWN:case Fe.END:case Fe.ESC:case Fe.HOME:case Fe.INSERT:case Fe.LEFT:case Fe.MAC_FF_META:case Fe.META:case Fe.NUMLOCK:case Fe.NUM_CENTER:case Fe.PAGE_DOWN:case Fe.PAGE_UP:case Fe.PAUSE:case Fe.PRINT_SCREEN:case Fe.RIGHT:case Fe.SHIFT:case Fe.UP:case Fe.WIN_KEY:case Fe.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=Fe.ZERO&&t<=Fe.NINE||t>=Fe.NUM_ZERO&&t<=Fe.NUM_MULTIPLY||t>=Fe.A&&t<=Fe.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case Fe.SPACE:case Fe.QUESTION_MARK:case Fe.NUM_PLUS:case Fe.NUM_MINUS:case Fe.NUM_PERIOD:case Fe.NUM_DIVISION:case Fe.SEMICOLON:case Fe.DASH:case Fe.EQUALS:case Fe.COMMA:case Fe.PERIOD:case Fe.SLASH:case Fe.APOSTROPHE:case Fe.SINGLE_QUOTE:case Fe.OPEN_SQUARE_BRACKET:case Fe.BACKSLASH:case Fe.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},EX=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.className,i=e.duration,o=i===void 0?4.5:i,s=e.showProgress,l=e.pauseOnHover,u=l===void 0?!0:l,d=e.eventKey,p=e.content,f=e.closable,m=e.closeIcon,g=m===void 0?"x":m,h=e.props,v=e.onClick,S=e.onNoticeClose,_=e.times,E=e.hovering,y=c.useState(!1),C=oe(y,2),T=C[0],x=C[1],R=c.useState(0),w=oe(R,2),I=w[0],O=w[1],k=c.useState(0),P=oe(k,2),M=P[0],N=P[1],A=E||T,D=o>0&&s,L=function(){S(d)},$=function(G){(G.key==="Enter"||G.code==="Enter"||G.keyCode===Fe.ENTER)&&L()};c.useEffect(function(){if(!A&&o>0){var j=Date.now()-M,G=setTimeout(function(){L()},o*1e3-M);return function(){u&&clearTimeout(G),N(Date.now()-j)}}},[o,A,_]),c.useEffect(function(){if(!A&&D&&(u||M===0)){var j=performance.now(),G,J=function Y(){cancelAnimationFrame(G),G=requestAnimationFrame(function(X){var V=X+M-j,H=Math.min(V/(o*1e3),1);O(H*100),H<1&&Y()})};return J(),function(){u&&cancelAnimationFrame(G)}}},[o,M,A,D,_]);var F=c.useMemo(function(){return gt(f)==="object"&&f!==null?f:f?{closeIcon:g}:{}},[f,g]),B=Qn(F,!0),z=100-(!I||I<0?0:I>100?100:I),U="".concat(n,"-notice");return c.createElement("div",_e({},h,{ref:t,className:ie(U,a,W({},"".concat(U,"-closable"),f)),style:r,onMouseEnter:function(G){var J;x(!0),h==null||(J=h.onMouseEnter)===null||J===void 0||J.call(h,G)},onMouseLeave:function(G){var J;x(!1),h==null||(J=h.onMouseLeave)===null||J===void 0||J.call(h,G)},onClick:v}),c.createElement("div",{className:"".concat(U,"-content")},p),f&&c.createElement("a",_e({tabIndex:0,className:"".concat(U,"-close"),onKeyDown:$,"aria-label":"Close"},B,{onClick:function(G){G.preventDefault(),G.stopPropagation(),L()}}),F.closeIcon),D&&c.createElement("progress",{className:"".concat(U,"-progress"),max:"100",value:z},z+"%"))}),yX=ce.createContext({}),Nfe=function(t){var n=t.children,r=t.classNames;return ce.createElement(yX.Provider,{value:{classNames:r}},n)},KF=8,XF=3,QF=16,Afe=function(t){var n={offset:KF,threshold:XF,gap:QF};if(t&>(t)==="object"){var r,a,i;n.offset=(r=t.offset)!==null&&r!==void 0?r:KF,n.threshold=(a=t.threshold)!==null&&a!==void 0?a:XF,n.gap=(i=t.gap)!==null&&i!==void 0?i:QF}return[!!t,n]},Dfe=["className","style","classNames","styles"],Mfe=function(t){var n=t.configList,r=t.placement,a=t.prefixCls,i=t.className,o=t.style,s=t.motion,l=t.onAllNoticeRemoved,u=t.onNoticeClose,d=t.stack,p=c.useContext(yX),f=p.classNames,m=c.useRef({}),g=c.useState(null),h=oe(g,2),v=h[0],S=h[1],_=c.useState([]),E=oe(_,2),y=E[0],C=E[1],T=n.map(function(A){return{config:A,key:String(A.key)}}),x=Afe(d),R=oe(x,2),w=R[0],I=R[1],O=I.offset,k=I.threshold,P=I.gap,M=w&&(y.length>0||T.length<=k),N=typeof s=="function"?s(r):s;return c.useEffect(function(){w&&y.length>1&&C(function(A){return A.filter(function(D){return T.some(function(L){var $=L.key;return D===$})})})},[y,T,w]),c.useEffect(function(){var A;if(w&&m.current[(A=T[T.length-1])===null||A===void 0?void 0:A.key]){var D;S(m.current[(D=T[T.length-1])===null||D===void 0?void 0:D.key])}},[T,w]),ce.createElement(LL,_e({key:r,className:ie(a,"".concat(a,"-").concat(r),f==null?void 0:f.list,i,W(W({},"".concat(a,"-stack"),!!w),"".concat(a,"-stack-expanded"),M)),style:o,keys:T,motionAppear:!0},N,{onAllRemoved:function(){l(r)}}),function(A,D){var L=A.config,$=A.className,F=A.style,B=A.index,z=L,U=z.key,j=z.times,G=String(U),J=L,Y=J.className,X=J.style,V=J.classNames,H=J.styles,q=Et(J,Dfe),K=T.findIndex(function(ae){return ae.key===G}),Z={};if(w){var te=T.length-1-(K>-1?K:B-1),se=r==="top"||r==="bottom"?"-50%":"0";if(te>0){var ue,me,de;Z.height=M?(ue=m.current[G])===null||ue===void 0?void 0:ue.offsetHeight:v==null?void 0:v.offsetHeight;for(var Te=0,Ee=0;Ee-1?m.current[G]=le:delete m.current[G]},prefixCls:a,classNames:V,styles:H,className:ie(Y,f==null?void 0:f.notice),style:X,times:j,key:U,eventKey:U,onNoticeClose:u,hovering:w&&y.length>0})))})},Lfe=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,a=e.container,i=e.motion,o=e.maxCount,s=e.className,l=e.style,u=e.onAllRemoved,d=e.stack,p=e.renderNotifications,f=c.useState([]),m=oe(f,2),g=m[0],h=m[1],v=function(w){var I,O=g.find(function(k){return k.key===w});O==null||(I=O.onClose)===null||I===void 0||I.call(O),h(function(k){return k.filter(function(P){return P.key!==w})})};c.useImperativeHandle(t,function(){return{open:function(w){h(function(I){var O=$e(I),k=O.findIndex(function(N){return N.key===w.key}),P=ee({},w);if(k>=0){var M;P.times=(((M=I[k])===null||M===void 0?void 0:M.times)||0)+1,O[k]=P}else P.times=0,O.push(P);return o>0&&O.length>o&&(O=O.slice(-o)),O})},close:function(w){v(w)},destroy:function(){h([])}}});var S=c.useState({}),_=oe(S,2),E=_[0],y=_[1];c.useEffect(function(){var R={};g.forEach(function(w){var I=w.placement,O=I===void 0?"topRight":I;O&&(R[O]=R[O]||[],R[O].push(w))}),Object.keys(E).forEach(function(w){R[w]=R[w]||[]}),y(R)},[g]);var C=function(w){y(function(I){var O=ee({},I),k=O[w]||[];return k.length||delete O[w],O})},T=c.useRef(!1);if(c.useEffect(function(){Object.keys(E).length>0?T.current=!0:T.current&&(u==null||u(),T.current=!1)},[E]),!a)return null;var x=Object.keys(E);return Ur.createPortal(c.createElement(c.Fragment,null,x.map(function(R){var w=E[R],I=c.createElement(Mfe,{key:R,configList:w,placement:R,prefixCls:r,className:s==null?void 0:s(R),style:l==null?void 0:l(R),motion:i,onNoticeClose:v,onAllNoticeRemoved:C,stack:d});return p?p(I,{prefixCls:r,key:R}):I})),a)}),kfe=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],Pfe=function(){return document.body},ZF=0;function $fe(){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?Pfe:t,r=e.motion,a=e.prefixCls,i=e.maxCount,o=e.className,s=e.style,l=e.onAllRemoved,u=e.stack,d=e.renderNotifications,p=Et(e,kfe),f=c.useState(),m=oe(f,2),g=m[0],h=m[1],v=c.useRef(),S=c.createElement(Lfe,{container:g,ref:v,prefixCls:a,motion:r,maxCount:i,className:o,style:s,onAllRemoved:l,stack:u,renderNotifications:d}),_=c.useState([]),E=oe(_,2),y=E[0],C=E[1],T=c.useMemo(function(){return{open:function(R){var w=$fe(p,R);(w.key===null||w.key===void 0)&&(w.key="rc-notification-".concat(ZF),ZF+=1),C(function(I){return[].concat($e(I),[{type:"open",config:w}])})},close:function(R){C(function(w){return[].concat($e(w),[{type:"close",key:R}])})},destroy:function(){C(function(R){return[].concat($e(R),[{type:"destroy"}])})}}},[]);return c.useEffect(function(){h(n())}),c.useEffect(function(){v.current&&y.length&&(y.forEach(function(x){switch(x.type){case"open":v.current.open(x.config);break;case"close":v.current.close(x.key);break;case"destroy":v.current.destroy();break}}),C(function(x){return x.filter(function(R){return!y.includes(R)})}))},[y]),[T,S]}var Bfe={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"},Ufe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Bfe}))},Ss=c.forwardRef(Ufe);const Km=ce.createContext(void 0),Wl=100,jfe=10,CX=Wl*jfe,TX={Modal:Wl,Drawer:Wl,Popover:Wl,Popconfirm:Wl,Tooltip:Wl,Tour:Wl},zfe={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function Hfe(e){return e in TX}function bo(e,t){const[,n]=ia(),r=ce.useContext(Km),a=Hfe(e);let i;if(t!==void 0)i=[t,t];else{let o=r??0;a?o+=(r?0:n.zIndexPopupBase)+TX[e]:o+=zfe[e],i=[r===void 0?t:o,o]}return i}const Gfe=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:a,colorSuccess:i,colorError:o,colorWarning:s,colorInfo:l,fontSizeLG:u,motionEaseInOutCirc:d,motionDurationSlow:p,marginXS:f,paddingXS:m,borderRadiusLG:g,zIndexPopup:h,contentPadding:v,contentBg:S}=e,_=`${t}-notice`,E=new dn("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:m,transform:"translateY(0)",opacity:1}}),y=new dn("MessageMoveOut",{"0%":{maxHeight:e.height,padding:m,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:m,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:u},[`${_}-content`]:{display:"inline-block",padding:v,background:S,borderRadius:g,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:i},[`${t}-error > ${n}`]:{color:o},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, - ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},on(e)),{color:a,position:"fixed",top:f,width:"100%",pointerEvents:"none",zIndex:h,[`${t}-move-up`]:{animationFillMode:"forwards"},[` - ${t}-move-up-appear, - ${t}-move-up-enter - `]:{animationName:E,animationDuration:p,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:y,animationDuration:p,animationPlayState:"paused",animationTimingFunction:d},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${_}-wrapper`]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]},Vfe=e=>({zIndexPopup:e.zIndexPopupBase+CX+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),xX=cn("Message",e=>{const t=Ht(e,{height:150});return[Gfe(t)]},Vfe);var qfe=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 c.createElement("div",{className:ie(`${t}-custom-content`,`${t}-${n}`)},r||Wfe[n],c.createElement("span",null,a))},Yfe=e=>{const{prefixCls:t,className:n,type:r,icon:a,content:i}=e,o=qfe(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=c.useContext(lt),l=t||s("message"),u=Zn(l),[d,p,f]=xX(l,u);return d(c.createElement(EX,Object.assign({},o,{prefixCls:l,className:ie(n,p,`${l}-notice-pure-panel`,f,u),eventKey:"pure",duration:null,content:c.createElement(RX,{prefixCls:l,type:r,icon:a},i)})))};function Kfe(e,t){return{motionName:t??`${e}-move-up`}}function $L(e){let t;const n=new Promise(a=>{t=e(()=>{a(!0)})}),r=()=>{t==null||t()};return r.then=(a,i)=>n.then(a,i),r.promise=n,r}var Xfe=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=Zn(n),[a,i,o]=xX(n,r);return a(c.createElement(Nfe,{classNames:{list:ie(i,o,r)}},t))},eme=(e,t)=>{let{prefixCls:n,key:r}=t;return c.createElement(Jfe,{prefixCls:n,key:r},e)},tme=c.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:a,maxCount:i,duration:o=Zfe,rtl:s,transitionName:l,onAllRemoved:u}=e,{getPrefixCls:d,getPopupContainer:p,message:f,direction:m}=c.useContext(lt),g=r||d("message"),h=()=>({left:"50%",transform:"translateX(-50%)",top:n??Qfe}),v=()=>ie({[`${g}-rtl`]:s??m==="rtl"}),S=()=>Kfe(g,l),_=c.createElement("span",{className:`${g}-close-x`},c.createElement(na,{className:`${g}-close-icon`})),[E,y]=Ffe({prefixCls:g,style:h,className:v,motion:S,closable:!1,closeIcon:_,duration:o,getContainer:()=>(a==null?void 0:a())||(p==null?void 0:p())||document.body,maxCount:i,onAllRemoved:u,renderNotifications:eme});return c.useImperativeHandle(t,()=>Object.assign(Object.assign({},E),{prefixCls:g,message:f})),y});let JF=0;function wX(e){const t=c.useRef(null);return Il(),[c.useMemo(()=>{const r=l=>{var u;(u=t.current)===null||u===void 0||u.close(l)},a=l=>{if(!t.current){const T=()=>{};return T.then=()=>{},T}const{open:u,prefixCls:d,message:p}=t.current,f=`${d}-notice`,{content:m,icon:g,type:h,key:v,className:S,style:_,onClose:E}=l,y=Xfe(l,["content","icon","type","key","className","style","onClose"]);let C=v;return C==null&&(JF+=1,C=`antd-message-${JF}`),$L(T=>(u(Object.assign(Object.assign({},y),{key:C,content:c.createElement(RX,{prefixCls:d,type:h,icon:g},m),placement:"top",className:ie(h&&`${f}-${h}`,S,p==null?void 0:p.className),style:Object.assign(Object.assign({},p==null?void 0:p.style),_),onClose:()=>{E==null||E(),T()}})),()=>{r(C)}))},o={open:a,destroy:l=>{var u;l!==void 0?r(l):(u=t.current)===null||u===void 0||u.destroy()}};return["info","success","warning","error","loading"].forEach(l=>{const u=(d,p,f)=>{let m;d&&typeof d=="object"&&"content"in d?m=d:m={content:d};let g,h;typeof p=="function"?h=p:(g=p,h=f);const v=Object.assign(Object.assign({onClose:h,duration:g},m),{type:l});return a(v)};o[l]=u}),o},[]),c.createElement(tme,Object.assign({key:"message-holder"},e,{ref:t}))]}function nme(e){return wX(e)}function rme(){const[e,t]=c.useState([]),n=c.useCallback(r=>(t(a=>[].concat($e(a),[r])),()=>{t(a=>a.filter(i=>i!==r))}),[]);return[e,n]}function zn(){zn=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(A,D,L){A[D]=L.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(A,D,L){return Object.defineProperty(A,D,{value:L,enumerable:!0,configurable:!0,writable:!0}),A[D]}try{u({},"")}catch{u=function(L,$,F){return L[$]=F}}function d(A,D,L,$){var F=D&&D.prototype instanceof S?D:S,B=Object.create(F.prototype),z=new M($||[]);return a(B,"_invoke",{value:I(A,L,z)}),B}function p(A,D,L){try{return{type:"normal",arg:A.call(D,L)}}catch($){return{type:"throw",arg:$}}}t.wrap=d;var f="suspendedStart",m="suspendedYield",g="executing",h="completed",v={};function S(){}function _(){}function E(){}var y={};u(y,o,function(){return this});var C=Object.getPrototypeOf,T=C&&C(C(N([])));T&&T!==n&&r.call(T,o)&&(y=T);var x=E.prototype=S.prototype=Object.create(y);function R(A){["next","throw","return"].forEach(function(D){u(A,D,function(L){return this._invoke(D,L)})})}function w(A,D){function L(F,B,z,U){var j=p(A[F],A,B);if(j.type!=="throw"){var G=j.arg,J=G.value;return J&>(J)=="object"&&r.call(J,"__await")?D.resolve(J.__await).then(function(Y){L("next",Y,z,U)},function(Y){L("throw",Y,z,U)}):D.resolve(J).then(function(Y){G.value=Y,z(G)},function(Y){return L("throw",Y,z,U)})}U(j.arg)}var $;a(this,"_invoke",{value:function(B,z){function U(){return new D(function(j,G){L(B,z,j,G)})}return $=$?$.then(U,U):U()}})}function I(A,D,L){var $=f;return function(F,B){if($===g)throw Error("Generator is already running");if($===h){if(F==="throw")throw B;return{value:e,done:!0}}for(L.method=F,L.arg=B;;){var z=L.delegate;if(z){var U=O(z,L);if(U){if(U===v)continue;return U}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if($===f)throw $=h,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);$=g;var j=p(A,D,L);if(j.type==="normal"){if($=L.done?h:m,j.arg===v)continue;return{value:j.arg,done:L.done}}j.type==="throw"&&($=h,L.method="throw",L.arg=j.arg)}}}function O(A,D){var L=D.method,$=A.iterator[L];if($===e)return D.delegate=null,L==="throw"&&A.iterator.return&&(D.method="return",D.arg=e,O(A,D),D.method==="throw")||L!=="return"&&(D.method="throw",D.arg=new TypeError("The iterator does not provide a '"+L+"' method")),v;var F=p($,A.iterator,D.arg);if(F.type==="throw")return D.method="throw",D.arg=F.arg,D.delegate=null,v;var B=F.arg;return B?B.done?(D[A.resultName]=B.value,D.next=A.nextLoc,D.method!=="return"&&(D.method="next",D.arg=e),D.delegate=null,v):B:(D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,v)}function k(A){var D={tryLoc:A[0]};1 in A&&(D.catchLoc=A[1]),2 in A&&(D.finallyLoc=A[2],D.afterLoc=A[3]),this.tryEntries.push(D)}function P(A){var D=A.completion||{};D.type="normal",delete D.arg,A.completion=D}function M(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(k,this),this.reset(!0)}function N(A){if(A||A===""){var D=A[o];if(D)return D.call(A);if(typeof A.next=="function")return A;if(!isNaN(A.length)){var L=-1,$=function F(){for(;++L=0;--F){var B=this.tryEntries[F],z=B.completion;if(B.tryLoc==="root")return $("end");if(B.tryLoc<=this.prev){var U=r.call(B,"catchLoc"),j=r.call(B,"finallyLoc");if(U&&j){if(this.prev=0;--$){var F=this.tryEntries[$];if(F.tryLoc<=this.prev&&r.call(F,"finallyLoc")&&this.prev=0;--L){var $=this.tryEntries[L];if($.finallyLoc===D)return this.complete($.completion,$.afterLoc),P($),v}},catch:function(D){for(var L=this.tryEntries.length-1;L>=0;--L){var $=this.tryEntries[L];if($.tryLoc===D){var F=$.completion;if(F.type==="throw"){var B=F.arg;P($)}return B}}throw Error("illegal catch attempt")},delegateYield:function(D,L,$){return this.delegate={iterator:N(D),resultName:L,nextLoc:$},this.method==="next"&&(this.arg=e),v}},t}function eB(e,t,n,r,a,i,o){try{var s=e[i](o),l=s.value}catch(u){return void n(u)}s.done?t(l):Promise.resolve(l).then(r,a)}function ci(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var i=e.apply(t,n);function o(l){eB(i,r,a,o,s,"next",l)}function s(l){eB(i,r,a,o,s,"throw",l)}o(void 0)})}}var Xm=ee({},lle),ame=Xm.version,ime=Xm.render,ome=Xm.unmountComponentAtNode,Ib;try{var sme=Number((ame||"").split(".")[0]);sme>=18&&(Ib=Xm.createRoot)}catch{}function tB(e){var t=Xm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&>(t)==="object"&&(t.usingClientEntryPoint=e)}var g_="__rc_react_root__";function lme(e,t){tB(!0);var n=t[g_]||Ib(t);tB(!1),n.render(e),t[g_]=n}function cme(e,t){ime(e,t)}function FL(e,t){if(Ib){lme(e,t);return}cme(e,t)}function ume(e){return jA.apply(this,arguments)}function jA(){return jA=ci(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var a;(a=t[g_])===null||a===void 0||a.unmount(),delete t[g_]}));case 1:case"end":return r.stop()}},e)})),jA.apply(this,arguments)}function dme(e){ome(e)}function IX(e){return zA.apply(this,arguments)}function zA(){return zA=ci(zn().mark(function e(t){return zn().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(Ib===void 0){r.next=2;break}return r.abrupt("return",ume(t));case 2:dme(t);case 3:case"end":return r.stop()}},e)})),zA.apply(this,arguments)}const qE=()=>({height:0,opacity:0}),nB=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},pme=e=>({height:e?e.offsetHeight:0}),WE=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",Ed=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:pm}-motion-collapse`,onAppearStart:qE,onEnterStart:qE,onAppearActive:nB,onEnterActive:nB,onLeaveStart:pme,onLeaveActive:qE,onAppearEnd:WE,onEnterEnd:WE,onLeaveEnd:WE,motionDeadline:500}},ya=(e,t,n)=>n!==void 0?n:`${e}-${t}`,qd=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(),i=a.width,o=a.height;if(i||o)return!0}}return!1},fme=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(",")}}}}},mme=cpe("Wave",e=>[fme(e)]),Ob=`${pm}-wave-target`;function gme(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 YE(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&gme(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function hme(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return YE(t)?t:YE(n)?n:YE(r)?r:null}function KE(e){return Number.isNaN(e)?0:e}const vme=e=>{const{className:t,target:n,component:r}=e,a=c.useRef(null),[i,o]=c.useState(null),[s,l]=c.useState([]),[u,d]=c.useState(0),[p,f]=c.useState(0),[m,g]=c.useState(0),[h,v]=c.useState(0),[S,_]=c.useState(!1),E={left:u,top:p,width:m,height:h,borderRadius:s.map(T=>`${T}px`).join(" ")};i&&(E["--wave-color"]=i);function y(){const T=getComputedStyle(n);o(hme(n));const x=T.position==="static",{borderLeftWidth:R,borderTopWidth:w}=T;d(x?n.offsetLeft:KE(-parseFloat(R))),f(x?n.offsetTop:KE(-parseFloat(w))),g(n.offsetWidth),v(n.offsetHeight);const{borderTopLeftRadius:I,borderTopRightRadius:O,borderBottomLeftRadius:k,borderBottomRightRadius:P}=T;l([I,O,P,k].map(M=>KE(parseFloat(M))))}if(c.useEffect(()=>{if(n){const T=Gt(()=>{y(),_(!0)});let x;return typeof ResizeObserver<"u"&&(x=new ResizeObserver(y),x.observe(n)),()=>{Gt.cancel(T),x==null||x.disconnect()}}},[]),!S)return null;const C=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(Ob));return c.createElement(ta,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(T,x)=>{var R;if(x.deadline||x.propertyName==="opacity"){const w=(R=a.current)===null||R===void 0?void 0:R.parentElement;IX(w).then(()=>{w==null||w.remove()})}return!1}},(T,x)=>{let{className:R}=T;return c.createElement("div",{ref:aa(a,x),className:ie(t,R,{"wave-quick":C}),style:E})})},_me=(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),FL(c.createElement(vme,Object.assign({},t,{target:e})),a)},bme=(e,t,n)=>{const{wave:r}=c.useContext(lt),[,a,i]=ia(),o=Wt(u=>{const d=e.current;if(r!=null&&r.disabled||!d)return;const p=d.querySelector(`.${Ob}`)||d,{showEffect:f}=r||{};(f||_me)(p,{className:t,token:a,component:n,event:u,hashId:i})}),s=c.useRef();return u=>{Gt.cancel(s.current),s.current=Gt(()=>{o(u)})}},Qm=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:a}=c.useContext(lt),i=c.useRef(null),o=a("wave"),[,s]=mme(o),l=bme(i,ie(o,s),r);if(ce.useEffect(()=>{const d=i.current;if(!d||d.nodeType!==1||n)return;const p=f=>{!qd(f.target)||!d.getAttribute||d.getAttribute("disabled")||d.disabled||d.className.includes("disabled")||d.className.includes("-leave")||l(f)};return d.addEventListener("click",p,!0),()=>{d.removeEventListener("click",p,!0)}},[n]),!ce.isValidElement(t))return t??null;const u=fo(t)?aa(t.ref,i):i;return Tr(t,{ref:u})},xr=e=>{const t=ce.useContext(Rc);return ce.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},Sme=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},Eme=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"}}}},yme=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}}}},OX=cn("Space",e=>{const t=Ht(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[Eme(t),yme(t),Sme(t)]},()=>({}),{resetStyle:!1});var NX=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=c.useContext(Nb),r=c.useMemo(()=>{if(!n)return"";const{compactDirection:a,isFirstItem:i,isLastItem:o}=n,s=a==="vertical"?"-vertical-":"-";return ie(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:i,[`${e}-compact${s}last-item`]:o,[`${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}},Cme=e=>{let{children:t}=e;return c.createElement(Nb.Provider,{value:null},t)},Tme=e=>{var{children:t}=e,n=NX(e,["children"]);return c.createElement(Nb.Provider,{value:n},t)},xme=e=>{const{getPrefixCls:t,direction:n}=c.useContext(lt),{size:r,direction:a,block:i,prefixCls:o,className:s,rootClassName:l,children:u}=e,d=NX(e,["size","direction","block","prefixCls","className","rootClassName","children"]),p=xr(E=>r??E),f=t("space-compact",o),[m,g]=OX(f),h=ie(f,g,{[`${f}-rtl`]:n==="rtl",[`${f}-block`]:i,[`${f}-vertical`]:a==="vertical"},s,l),v=c.useContext(Nb),S=br(u),_=c.useMemo(()=>S.map((E,y)=>{const C=(E==null?void 0:E.key)||`${f}-item-${y}`;return c.createElement(Tme,{key:C,compactSize:p,compactDirection:a,isFirstItem:y===0&&(!v||(v==null?void 0:v.isFirstItem)),isLastItem:y===S.length-1&&(!v||(v==null?void 0:v.isLastItem))},E)}),[r,S,v]);return S.length===0?null:m(c.createElement("div",Object.assign({className:h},d),_))};var Rme=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}=c.useContext(lt),{prefixCls:r,size:a,className:i}=e,o=Rme(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=ia();let u="";switch(a){case"large":u="lg";break;case"small":u="sm";break}const d=ie(s,{[`${s}-${u}`]:u,[`${s}-rtl`]:n==="rtl"},i,l);return c.createElement(AX.Provider,{value:a},c.createElement("div",Object.assign({},o,{className:d})))},rB=/^[\u4e00-\u9fa5]{2}$/,HA=rB.test.bind(rB);function DX(e){return e==="danger"?{danger:!0}:{type:e}}function aB(e){return typeof e=="string"}function XE(e){return e==="text"||e==="link"}function Ime(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&aB(e.type)&&HA(e.props.children)?Tr(e,{children:e.props.children.split("").join(n)}):aB(e)?HA(e)?ce.createElement("span",null,e.split("").join(n)):ce.createElement("span",null,e):bX(e)?ce.createElement("span",null,e):e}function Ome(e,t){let n=!1;const r=[];return ce.Children.forEach(e,a=>{const i=typeof a,o=i==="string"||i==="number";if(n&&o){const s=r.length-1,l=r[s];r[s]=`${l}${a}`}else r.push(a);n=o}),ce.Children.map(r,a=>Ime(a,t))}const MX=c.forwardRef((e,t)=>{const{className:n,style:r,children:a,prefixCls:i}=e,o=ie(`${i}-icon`,n);return ce.createElement("span",{ref:t,className:o,style:r},a)}),iB=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:a,iconClassName:i}=e,o=ie(`${n}-loading-icon`,r);return ce.createElement(MX,{prefixCls:n,className:o,style:a,ref:t},ce.createElement(Ss,{className:i}))}),QE=()=>({width:0,opacity:0,transform:"scale(0)"}),ZE=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),Nme=e=>{const{prefixCls:t,loading:n,existIcon:r,className:a,style:i}=e,o=!!n;return r?ce.createElement(iB,{prefixCls:t,className:a,style:i}):ce.createElement(ta,{visible:o,motionName:`${t}-loading-icon-motion`,motionLeave:o,removeOnLeave:!0,onAppearStart:QE,onAppearActive:ZE,onEnterStart:QE,onEnterActive:ZE,onLeaveStart:ZE,onLeaveActive:QE},(s,l)=>{let{className:u,style:d}=s;return ce.createElement(iB,{prefixCls:t,className:a,style:Object.assign(Object.assign({},i),d),ref:l,iconClassName:u})})},oB=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Ame=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:a,colorErrorHover:i}=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}},oB(`${t}-primary`,a),oB(`${t}-danger`,i)]}},LX=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return Ht(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},kX=e=>{var t,n,r,a,i,o;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(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:gv(s),p=(i=e.contentLineHeightSM)!==null&&i!==void 0?i:gv(l),f=(o=e.contentLineHeightLG)!==null&&o!==void 0?o:gv(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:l,contentFontSizeLG:u,contentLineHeight:d,contentLineHeightSM:p,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*d)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*p)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-u*f)/2-e.lineWidth,0)}},Dme=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:`${Q(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({},Bo(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"}}}},Es=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Mme=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),Lme=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),kme=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),mm=(e,t,n,r,a,i,o,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Es(e,Object.assign({background:t},o),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:a||void 0,borderColor:i||void 0}})}),BL=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},kme(e))}),PX=e=>Object.assign({},BL(e)),h_=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),$X=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},PX(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Es(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),mm(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},Es(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),mm(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),BL(e))}),Pme=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},PX(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),Es(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),mm(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},Es(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),mm(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),BL(e))}),$me=e=>Object.assign(Object.assign({},$X(e)),{borderStyle:"dashed"}),Fme=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Es(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),h_(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Es(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),h_(e))}),Bme=e=>Object.assign(Object.assign(Object.assign({},Es(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),h_(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},h_(e)),Es(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),Ume=e=>{const{componentCls:t}=e;return{[`${t}-default`]:$X(e),[`${t}-primary`]:Pme(e),[`${t}-dashed`]:$me(e),[`${t}-link`]:Fme(e),[`${t}-text`]:Bme(e),[`${t}-ghost`]:mm(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},UL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:a,lineHeight:i,borderRadius:o,buttonPaddingHorizontal:s,iconCls:l,buttonPaddingVertical:u}=e,d=`${n}-icon-only`;return[{[t]:{fontSize:a,lineHeight:i,height:r,padding:`${Q(u)} ${Q(s)}`,borderRadius:o,[`&${d}`]:{width:r,paddingInline:0,[`&${n}-compact-item`]:{flex:"none"},[`&${n}-round`]:{width:"auto"},[l]:{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}`]:Mme(e)},{[`${n}${n}-round${t}`]:Lme(e)}]},jme=e=>{const t=Ht(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return UL(t,e.componentCls)},zme=e=>{const t=Ht(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 UL(t,`${e.componentCls}-sm`)},Hme=e=>{const t=Ht(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return UL(t,`${e.componentCls}-lg`)},Gme=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},Vme=cn("Button",e=>{const t=LX(e);return[Dme(t),jme(t),zme(t),Hme(t),Gme(t),Ume(t),Ame(t)]},kX,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function qme(e,t,n){const{focusElCls:r,focus:a,borderElCls:i}=n,o=i?"> *":"",s=["hover",a?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${o}`).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] ${o}`]:{zIndex:0}})}}function Wme(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 Zm(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({},qme(e,r,t)),Wme(n,r,t))}}function Yme(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 Kme(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 Xme(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},Yme(e,t)),Kme(e.componentCls,t))}}const Qme=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% + ${Q(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% + ${Q(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},Zme=Gd(["Button","compact"],e=>{const t=LX(e);return[Zm(t),Xme(t),Qme(t)]},kX);var Jme=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:i=!1,prefixCls:o,type:s,danger:l=!1,shape:u="default",size:d,styles:p,disabled:f,className:m,rootClassName:g,children:h,icon:v,iconPosition:S="start",ghost:_=!1,block:E=!1,htmlType:y="button",classNames:C,style:T={},autoInsertSpace:x}=e,R=Jme(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),w=s||"default",{getPrefixCls:I,direction:O,button:k}=c.useContext(lt),P=(n=x??(k==null?void 0:k.autoInsertSpace))!==null&&n!==void 0?n:!0,M=I("btn",o),[N,A,D]=Vme(M),L=c.useContext(ea),$=f??L,F=c.useContext(AX),B=c.useMemo(()=>ege(i),[i]),[z,U]=c.useState(B.loading),[j,G]=c.useState(!1),Y=aa(t,c.createRef()),X=c.Children.count(h)===1&&!v&&!XE(w);c.useEffect(()=>{let ae=null;B.delay>0?ae=setTimeout(()=>{ae=null,U(!0)},B.delay):U(B.loading);function le(){ae&&(clearTimeout(ae),ae=null)}return le},[B]),c.useEffect(()=>{if(!Y||!Y.current||!P)return;const ae=Y.current.textContent;X&&HA(ae)?j||G(!0):j&&G(!1)},[Y]);const V=ae=>{const{onClick:le}=e;if(z||$){ae.preventDefault();return}le==null||le(ae)},{compactSize:H,compactItemClassnames:q}=ws(M,O),K={large:"lg",small:"sm",middle:void 0},Z=xr(ae=>{var le,pe;return(pe=(le=d??H)!==null&&le!==void 0?le:F)!==null&&pe!==void 0?pe:ae}),te=Z&&K[Z]||"",se=z?"loading":v,ue=An(R,["navigate"]),me=ie(M,A,D,{[`${M}-${u}`]:u!=="default"&&u,[`${M}-${w}`]:w,[`${M}-${te}`]:te,[`${M}-icon-only`]:!h&&h!==0&&!!se,[`${M}-background-ghost`]:_&&!XE(w),[`${M}-loading`]:z,[`${M}-two-chinese-chars`]:j&&P&&!z,[`${M}-block`]:E,[`${M}-dangerous`]:l,[`${M}-rtl`]:O==="rtl",[`${M}-icon-end`]:S==="end"},q,m,g,k==null?void 0:k.className),de=Object.assign(Object.assign({},k==null?void 0:k.style),T),Te=ie(C==null?void 0:C.icon,(r=k==null?void 0:k.classNames)===null||r===void 0?void 0:r.icon),Ee=Object.assign(Object.assign({},(p==null?void 0:p.icon)||{}),((a=k==null?void 0:k.styles)===null||a===void 0?void 0:a.icon)||{}),ge=v&&!z?ce.createElement(MX,{prefixCls:M,className:Te,style:Ee},v):ce.createElement(Nme,{existIcon:!!v,prefixCls:M,loading:z}),re=h||h===0?Ome(h,X&&P):null;if(ue.href!==void 0)return N(ce.createElement("a",Object.assign({},ue,{className:ie(me,{[`${M}-disabled`]:$}),href:$?void 0:ue.href,style:de,onClick:V,ref:Y,tabIndex:$?-1:0}),ge,re));let ne=ce.createElement("button",Object.assign({},R,{type:y,className:me,style:de,onClick:V,disabled:$,ref:Y}),ge,re,!!q&&ce.createElement(Zme,{key:"compact",prefixCls:M}));return XE(w)||(ne=ce.createElement(Qm,{component:"Button",disabled:z},ne)),N(ne)}),Rt=tge;Rt.Group=wme;Rt.__ANT_BUTTON=!0;function JE(e){return!!(e!=null&&e.then)}const FX=e=>{const{type:t,children:n,prefixCls:r,buttonProps:a,close:i,autoFocus:o,emitEvent:s,isSilent:l,quitOnNullishReturnValue:u,actionFn:d}=e,p=c.useRef(!1),f=c.useRef(null),[m,g]=wc(!1),h=function(){i==null||i.apply(void 0,arguments)};c.useEffect(()=>{let _=null;return o&&(_=setTimeout(()=>{var E;(E=f.current)===null||E===void 0||E.focus()})),()=>{_&&clearTimeout(_)}},[]);const v=_=>{JE(_)&&(g(!0),_.then(function(){g(!1,!0),h.apply(void 0,arguments),p.current=!1},E=>{if(g(!1,!0),p.current=!1,!(l!=null&&l()))return Promise.reject(E)}))},S=_=>{if(p.current)return;if(p.current=!0,!d){h();return}let E;if(s){if(E=d(_),u&&!JE(E)){p.current=!1,h(_);return}}else if(d.length)E=d(i),p.current=!1;else if(E=d(),!JE(E)){h();return}v(E)};return c.createElement(Rt,Object.assign({},DX(t),{onClick:S,loading:m,prefixCls:r},a,{ref:f}),n)},Jm=ce.createContext({}),{Provider:BX}=Jm,sB=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:a,rootPrefixCls:i,close:o,onCancel:s,onConfirm:l}=c.useContext(Jm);return a?ce.createElement(FX,{isSilent:r,actionFn:s,close:function(){o==null||o.apply(void 0,arguments),l==null||l(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${i}-btn`},n):null},lB=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:a,okTextLocale:i,okType:o,onConfirm:s,onOk:l}=c.useContext(Jm);return ce.createElement(FX,{isSilent:n,type:o||"primary",actionFn:l,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${a}-btn`},i)};var UX=c.createContext(null),cB=[];function nge(e,t){var n=c.useState(function(){if(!Jr())return null;var g=document.createElement("div");return g}),r=oe(n,1),a=r[0],i=c.useRef(!1),o=c.useContext(UX),s=c.useState(cB),l=oe(s,2),u=l[0],d=l[1],p=o||(i.current?void 0:function(g){d(function(h){var v=[g].concat($e(h));return v})});function f(){a.parentElement||document.body.appendChild(a),i.current=!0}function m(){var g;(g=a.parentElement)===null||g===void 0||g.removeChild(a),i.current=!1}return Qt(function(){return e?o?o(f):f():m(),m},[e]),Qt(function(){u.length&&(u.forEach(function(g){return g()}),d(cB))},[u]),[a,p]}var ey;function jX(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,i;if(e){var o=getComputedStyle(e);r.scrollbarColor=o.scrollbarColor,r.scrollbarWidth=o.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),u=parseInt(s.height,10);try{var d=l?"width: ".concat(s.width,";"):"",p=u?"height: ".concat(s.height,";"):"";fs(` -#`.concat(t,`::-webkit-scrollbar { -`).concat(d,` -`).concat(p,` -}`),t)}catch(g){console.error(g),a=l,i=u}}document.body.appendChild(n);var f=e&&a&&!isNaN(a)?a:n.offsetWidth-n.clientWidth,m=e&&i&&!isNaN(i)?i:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),sm(t),{width:f,height:m}}function uB(e){return typeof document>"u"?0:(ey===void 0&&(ey=jX()),ey.width)}function GA(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:jX(e)}function rge(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var age="rc-util-locker-".concat(Date.now()),dB=0;function ige(e){var t=!!e,n=c.useState(function(){return dB+=1,"".concat(age,"_").concat(dB)}),r=oe(n,1),a=r[0];Qt(function(){if(t){var i=GA(document.body).width,o=rge();fs(` -html body { - overflow-y: hidden; - `.concat(o?"width: calc(100% - ".concat(i,"px);"):"",` -}`),a)}else sm(a);return function(){sm(a)}},[t,a])}var oge=!1;function sge(e){return oge}var pB=function(t){return t===!1?!1:!Jr()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},eg=c.forwardRef(function(e,t){var n=e.open,r=e.autoLock,a=e.getContainer;e.debug;var i=e.autoDestroy,o=i===void 0?!0:i,s=e.children,l=c.useState(n),u=oe(l,2),d=u[0],p=u[1],f=d||n;c.useEffect(function(){(o||n)&&p(n)},[n,o]);var m=c.useState(function(){return pB(a)}),g=oe(m,2),h=g[0],v=g[1];c.useEffect(function(){var O=pB(a);v(O??null)});var S=nge(f&&!h),_=oe(S,2),E=_[0],y=_[1],C=h??E;ige(r&&n&&Jr()&&(C===E||C===document.body));var T=null;if(s&&fo(s)&&t){var x=s;T=x.ref}var R=Rs(T,t);if(!f||!Jr()||h===void 0)return null;var w=C===!1||sge(),I=s;return t&&(I=c.cloneElement(s,{ref:R})),c.createElement(UX.Provider,{value:y},w?I:Ur.createPortal(I,C))}),zX=c.createContext({});function lge(){var e=ee({},zm);return e.useId}var fB=0,mB=lge();const HX=mB?function(t){var n=mB();return t||n}:function(t){var n=c.useState("ssr-id"),r=oe(n,2),a=r[0],i=r[1];return c.useEffect(function(){var o=fB;fB+=1,i("rc_unique_".concat(o))},[]),t||a};function gB(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function hB(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 cge(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,a=r.defaultView||r.parentWindow;return n.left+=hB(a),n.top+=hB(a,!0),n}const uge=c.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var vB={width:0,height:0,overflow:"hidden",outline:"none"},dge={outline:"none"},GX=ce.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.title,o=e.ariaId,s=e.footer,l=e.closable,u=e.closeIcon,d=e.onClose,p=e.children,f=e.bodyStyle,m=e.bodyProps,g=e.modalRender,h=e.onMouseDown,v=e.onMouseUp,S=e.holderRef,_=e.visible,E=e.forceRender,y=e.width,C=e.height,T=e.classNames,x=e.styles,R=ce.useContext(zX),w=R.panel,I=Rs(S,w),O=c.useRef(),k=c.useRef(),P=c.useRef();ce.useImperativeHandle(t,function(){return{focus:function(){var U;(U=P.current)===null||U===void 0||U.focus({preventScroll:!0})},changeActive:function(U){var j=document,G=j.activeElement;U&&G===k.current?O.current.focus({preventScroll:!0}):!U&&G===O.current&&k.current.focus({preventScroll:!0})}}});var M={};y!==void 0&&(M.width=y),C!==void 0&&(M.height=C);var N=s?ce.createElement("div",{className:ie("".concat(n,"-footer"),T==null?void 0:T.footer),style:ee({},x==null?void 0:x.footer)},s):null,A=i?ce.createElement("div",{className:ie("".concat(n,"-header"),T==null?void 0:T.header),style:ee({},x==null?void 0:x.header)},ce.createElement("div",{className:"".concat(n,"-title"),id:o},i)):null,D=c.useMemo(function(){return gt(l)==="object"&&l!==null?l:l?{closeIcon:u??ce.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,u,n]),L=Qn(D,!0),$=gt(l)==="object"&&l.disabled,F=l?ce.createElement("button",_e({type:"button",onClick:d,"aria-label":"Close"},L,{className:"".concat(n,"-close"),disabled:$}),D.closeIcon):null,B=ce.createElement("div",{className:ie("".concat(n,"-content"),T==null?void 0:T.content),style:x==null?void 0:x.content},F,A,ce.createElement("div",_e({className:ie("".concat(n,"-body"),T==null?void 0:T.body),style:ee(ee({},f),x==null?void 0:x.body)},m),p),N);return ce.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":i?o:null,"aria-modal":"true",ref:I,style:ee(ee({},a),M),className:ie(n,r),onMouseDown:h,onMouseUp:v},ce.createElement("div",{tabIndex:0,ref:O,style:vB,"aria-hidden":"true"}),ce.createElement("div",{ref:P,tabIndex:-1,style:dge},ce.createElement(uge,{shouldUpdate:_||E},g?g(B):B)),ce.createElement("div",{tabIndex:0,ref:k,style:vB,"aria-hidden":"true"}))}),VX=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,a=e.style,i=e.className,o=e.visible,s=e.forceRender,l=e.destroyOnClose,u=e.motionName,d=e.ariaId,p=e.onVisibleChanged,f=e.mousePosition,m=c.useRef(),g=c.useState(),h=oe(g,2),v=h[0],S=h[1],_={};v&&(_.transformOrigin=v);function E(){var y=cge(m.current);S(f&&(f.x||f.y)?"".concat(f.x-y.left,"px ").concat(f.y-y.top,"px"):"")}return c.createElement(ta,{visible:o,onVisibleChanged:p,onAppearPrepare:E,onEnterPrepare:E,forceRender:s,motionName:u,removeOnLeave:l,ref:m},function(y,C){var T=y.className,x=y.style;return c.createElement(GX,_e({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:C,style:ee(ee(ee({},x),a),_),className:ie(i,T)}))})});VX.displayName="Content";var pge=function(t){var n=t.prefixCls,r=t.style,a=t.visible,i=t.maskProps,o=t.motionName,s=t.className;return c.createElement(ta,{key:"mask",visible:a,motionName:o,leavedClassName:"".concat(n,"-mask-hidden")},function(l,u){var d=l.className,p=l.style;return c.createElement("div",_e({ref:u,style:ee(ee({},p),r),className:ie("".concat(n,"-mask"),d,s)},i))})},fge=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,a=t.zIndex,i=t.visible,o=i===void 0?!1:i,s=t.keyboard,l=s===void 0?!0:s,u=t.focusTriggerAfterClose,d=u===void 0?!0:u,p=t.wrapStyle,f=t.wrapClassName,m=t.wrapProps,g=t.onClose,h=t.afterOpenChange,v=t.afterClose,S=t.transitionName,_=t.animation,E=t.closable,y=E===void 0?!0:E,C=t.mask,T=C===void 0?!0:C,x=t.maskTransitionName,R=t.maskAnimation,w=t.maskClosable,I=w===void 0?!0:w,O=t.maskStyle,k=t.maskProps,P=t.rootClassName,M=t.classNames,N=t.styles,A=c.useRef(),D=c.useRef(),L=c.useRef(),$=c.useState(o),F=oe($,2),B=F[0],z=F[1],U=HX();function j(){fA(D.current,document.activeElement)||(A.current=document.activeElement)}function G(){if(!fA(D.current,document.activeElement)){var se;(se=L.current)===null||se===void 0||se.focus()}}function J(se){if(se)G();else{if(z(!1),T&&A.current&&d){try{A.current.focus({preventScroll:!0})}catch{}A.current=null}B&&(v==null||v())}h==null||h(se)}function Y(se){g==null||g(se)}var X=c.useRef(!1),V=c.useRef(),H=function(){clearTimeout(V.current),X.current=!0},q=function(){V.current=setTimeout(function(){X.current=!1})},K=null;I&&(K=function(ue){X.current?X.current=!1:D.current===ue.target&&Y(ue)});function Z(se){if(l&&se.keyCode===Fe.ESC){se.stopPropagation(),Y(se);return}o&&se.keyCode===Fe.TAB&&L.current.changeActive(!se.shiftKey)}c.useEffect(function(){o&&(z(!0),j())},[o]),c.useEffect(function(){return function(){clearTimeout(V.current)}},[]);var te=ee(ee(ee({zIndex:a},p),N==null?void 0:N.wrapper),{},{display:B?null:"none"});return c.createElement("div",_e({className:ie("".concat(r,"-root"),P)},Qn(t,{data:!0})),c.createElement(pge,{prefixCls:r,visible:T&&o,motionName:gB(r,x,R),style:ee(ee({zIndex:a},O),N==null?void 0:N.mask),maskProps:k,className:M==null?void 0:M.mask}),c.createElement("div",_e({tabIndex:-1,onKeyDown:Z,className:ie("".concat(r,"-wrap"),f,M==null?void 0:M.wrapper),ref:D,onClick:K,style:te},m),c.createElement(VX,_e({},t,{onMouseDown:H,onMouseUp:q,ref:L,closable:y,ariaId:U,prefixCls:r,visible:o&&B,onClose:Y,onVisibleChanged:J,motionName:gB(r,S,_)}))))},jL=function(t){var n=t.visible,r=t.getContainer,a=t.forceRender,i=t.destroyOnClose,o=i===void 0?!1:i,s=t.afterClose,l=t.panelRef,u=c.useState(n),d=oe(u,2),p=d[0],f=d[1],m=c.useMemo(function(){return{panel:l}},[l]);return c.useEffect(function(){n&&f(!0)},[n]),!a&&o&&!p?null:c.createElement(zX.Provider,{value:m},c.createElement(eg,{open:n||a||p,autoDestroy:!1,getContainer:r,autoLock:n||p},c.createElement(fge,_e({},t,{destroyOnClose:o,afterClose:function(){s==null||s(),f(!1)}}))))};jL.displayName="Dialog";var tc="RC_FORM_INTERNAL_HOOKS",Fn=function(){bn(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},Ic=c.createContext({getFieldValue:Fn,getFieldsValue:Fn,getFieldError:Fn,getFieldWarning:Fn,getFieldsError:Fn,isFieldsTouched:Fn,isFieldTouched:Fn,isFieldValidating:Fn,isFieldsValidating:Fn,resetFields:Fn,setFields:Fn,setFieldValue:Fn,setFieldsValue:Fn,validateFields:Fn,submit:Fn,getInternalHooks:function(){return Fn(),{dispatch:Fn,initEntityValue:Fn,registerField:Fn,useSubscribe:Fn,setInitialValues:Fn,destroyForm:Fn,setCallbacks:Fn,registerWatch:Fn,getFields:Fn,setValidateMessages:Fn,setPreserve:Fn,getInitialValue:Fn}}}),gm=c.createContext(null);function VA(e){return e==null?[]:Array.isArray(e)?e:[e]}function mge(e){return e&&!!e._init}function qA(){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 WA=qA();function gge(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function hge(e,t,n){if(yb())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&im(a,n.prototype),a}function YA(e){var t=typeof Map=="function"?new Map:void 0;return YA=function(r){if(r===null||!gge(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 hge(r,arguments,Tc(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),im(a,r)},YA(e)}var vge=/%[sdj%]/g,_ge=function(){};function KA(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 ui(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)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 o}return e}function bge(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Hr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||bge(t)&&typeof e=="string"&&!e)}function Sge(e,t,n){var r=[],a=0,i=e.length;function o(s){r.push.apply(r,$e(s||[])),a++,a===i&&n(r)}e.forEach(function(s){t(s,o)})}function _B(e,t,n){var r=0,a=e.length;function i(o){if(o&&o.length){n(o);return}var s=r;r=r+1,st.max?a.push(ui(i.messages[p].max,t.fullField,t.max)):s&&l&&(dt.max)&&a.push(ui(i.messages[p].range,t.fullField,t.min,t.max))},qX=function(t,n,r,a,i,o){t.required&&(!r.hasOwnProperty(t.field)||Hr(n,o||t.type))&&a.push(ui(i.messages.required,t.fullField))},ph;const Ige=function(){if(ph)return ph;var e="[a-fA-F\\d:]",t=function(T){return T&&T.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}|:))")],i="(?:%[0-9a-zA-Z]{1,})?",o="(?:".concat(a.join("|"),")").concat(i),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(o,"$)")),l=new RegExp("^".concat(n,"$")),u=new RegExp("^".concat(o,"$")),d=function(T){return T&&T.exact?s:new RegExp("(?:".concat(t(T)).concat(n).concat(t(T),")|(?:").concat(t(T)).concat(o).concat(t(T),")"),"g")};d.v4=function(C){return C&&C.exact?l:new RegExp("".concat(t(C)).concat(n).concat(t(C)),"g")},d.v6=function(C){return C&&C.exact?u:new RegExp("".concat(t(C)).concat(o).concat(t(C)),"g")};var p="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",m=d.v4().source,g=d.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",S="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",_="(?::\\d{2,5})?",E='(?:[/?#][^\\s"]*)?',y="(?:".concat(p,"|www\\.)").concat(f,"(?:localhost|").concat(m,"|").concat(g,"|").concat(h).concat(v).concat(S,")").concat(_).concat(E);return ph=new RegExp("(?:^".concat(y,"$)"),"i"),ph};var yB={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},Kp={integer:function(t){return Kp.number(t)&&parseInt(t,10)===t},float:function(t){return Kp.number(t)&&!Kp.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 gt(t)==="object"&&!Kp.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(yB.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Ige())},hex:function(t){return typeof t=="string"&&!!t.match(yB.hex)}},Oge=function(t,n,r,a,i){if(t.required&&n===void 0){qX(t,n,r,a,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;o.indexOf(s)>-1?Kp[s](n)||a.push(ui(i.messages.types[s],t.fullField,t.type)):s&>(n)!==t.type&&a.push(ui(i.messages.types[s],t.fullField,t.type))},Nge=function(t,n,r,a,i){(/^\s+$/.test(n)||n==="")&&a.push(ui(i.messages.whitespace,t.fullField))};const hn={required:qX,whitespace:Nge,type:Oge,range:wge,enum:xge,pattern:Rge};var Age=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i)}r(o)},Dge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();hn.required(t,n,a,o,i,"array"),n!=null&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},Mge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},Lge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"date")&&!t.required)return r();if(hn.required(t,n,a,o,i),!Hr(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),hn.type(t,l,a,o,i),l&&hn.range(t,l.getTime(),a,o,i)}}r(o)},kge="enum",Pge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn[kge](t,n,a,o,i)}r(o)},$ge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},Fge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},Bge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},Uge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i))}r(o)},jge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),n!==void 0&&hn.type(t,n,a,o,i)}r(o)},zge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"string")&&!t.required)return r();hn.required(t,n,a,o,i),Hr(n,"string")||hn.pattern(t,n,a,o,i)}r(o)},Hge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n)&&!t.required)return r();hn.required(t,n,a,o,i),Hr(n)||hn.type(t,n,a,o,i)}r(o)},Gge=function(t,n,r,a,i){var o=[],s=Array.isArray(n)?"array":gt(n);hn.required(t,n,a,o,i,s),r(o)},Vge=function(t,n,r,a,i){var o=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(Hr(n,"string")&&!t.required)return r();hn.required(t,n,a,o,i,"string"),Hr(n,"string")||(hn.type(t,n,a,o,i),hn.range(t,n,a,o,i),hn.pattern(t,n,a,o,i),t.whitespace===!0&&hn.whitespace(t,n,a,o,i))}r(o)},ty=function(t,n,r,a,i){var o=t.type,s=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(Hr(n,o)&&!t.required)return r();hn.required(t,n,a,s,i,o),Hr(n,o)||hn.type(t,n,a,s,i)}r(s)};const Ef={string:Vge,method:Bge,number:Uge,boolean:Mge,regexp:Hge,integer:Fge,float:$ge,array:Dge,object:jge,enum:Pge,pattern:zge,date:Lge,url:ty,hex:ty,email:ty,required:Gge,any:Age};var tg=function(){function e(t){Jn(this,e),W(this,"rules",null),W(this,"_messages",WA),this.define(t)}return er(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(gt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(a){var i=n[a];r.rules[a]=Array.isArray(i)?i:[i]})}},{key:"messages",value:function(n){return n&&(this._messages=EB(qA(),n)),this._messages}},{key:"validate",value:function(n){var r=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},o=n,s=a,l=i;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,o),Promise.resolve(o);function u(g){var h=[],v={};function S(E){if(Array.isArray(E)){var y;h=(y=h).concat.apply(y,$e(E))}else h.push(E)}for(var _=0;_0&&arguments[0]!==void 0?arguments[0]:[],R=Array.isArray(x)?x:[x];!s.suppressWarning&&R.length&&e.warning("async-validator:",R),R.length&&v.message!==void 0&&(R=[].concat(v.message));var w=R.map(SB(v,o));if(s.first&&w.length)return m[v.field]=1,h(w);if(!S)h(w);else{if(v.required&&!g.value)return v.message!==void 0?w=[].concat(v.message).map(SB(v,o)):s.error&&(w=[s.error(v,ui(s.messages.required,v.field))]),h(w);var I={};v.defaultField&&Object.keys(g.value).map(function(P){I[P]=v.defaultField}),I=ee(ee({},I),g.rule.fields);var O={};Object.keys(I).forEach(function(P){var M=I[P],N=Array.isArray(M)?M:[M];O[P]=N.map(_.bind(null,P))});var k=new e(O);k.messages(s.messages),g.rule.options&&(g.rule.options.messages=s.messages,g.rule.options.error=s.error),k.validate(g.value,g.rule.options||s,function(P){var M=[];w&&w.length&&M.push.apply(M,$e(w)),P&&P.length&&M.push.apply(M,$e(P)),h(M.length?M:null)})}}var y;if(v.asyncValidator)y=v.asyncValidator(v,g.value,E,g.source,s);else if(v.validator){try{y=v.validator(v,g.value,E,g.source,s)}catch(x){var C,T;(C=(T=console).error)===null||C===void 0||C.call(T,x),s.suppressValidatorError||setTimeout(function(){throw x},0),E(x.message)}y===!0?E():y===!1?E(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||"".concat(v.fullField||v.field," fails")):y instanceof Array?E(y):y instanceof Error&&E(y.message)}y&&y.then&&y.then(function(){return E()},function(x){return E(x)})},function(g){u(g)},o)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!Ef.hasOwnProperty(n.type))throw new Error(ui("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"?Ef.required:Ef[this.getType(n)]||void 0}}]),e}();W(tg,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ef[t]=n});W(tg,"warning",_ge);W(tg,"messages",WA);W(tg,"validators",Ef);var ti="'${name}' is not a valid ${type}",WX={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:ti,method:ti,array:ti,object:ti,number:ti,date:ti,boolean:ti,integer:ti,float:ti,regexp:ti,email:ti,url:ti,hex:ti},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}"}},CB=tg;function qge(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var TB="CODE_LOGIC_ERROR";function XA(e,t,n,r,a){return QA.apply(this,arguments)}function QA(){return QA=ci(zn().mark(function e(t,n,r,a,i){var o,s,l,u,d,p,f,m,g;return zn().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return o=ee({},r),delete o.ruleIndex,CB.warning=function(){},o.validator&&(s=o.validator,o.validator=function(){try{return s.apply(void 0,arguments)}catch(S){return console.error(S),Promise.reject(TB)}}),l=null,o&&o.type==="array"&&o.defaultField&&(l=o.defaultField,delete o.defaultField),u=new CB(W({},t,[o])),d=$u(WX,a.validateMessages),u.messages(d),p=[],v.prev=10,v.next=13,Promise.resolve(u.validate(W({},t,n),ee({},a)));case 13:v.next=18;break;case 15:v.prev=15,v.t0=v.catch(10),v.t0.errors&&(p=v.t0.errors.map(function(S,_){var E=S.message,y=E===TB?d.default:E;return c.isValidElement(y)?c.cloneElement(y,{key:"error_".concat(_)}):y}));case 18:if(!(!p.length&&l)){v.next=23;break}return v.next=21,Promise.all(n.map(function(S,_){return XA("".concat(t,".").concat(_),S,l,a,i)}));case 21:return f=v.sent,v.abrupt("return",f.reduce(function(S,_){return[].concat($e(S),$e(_))},[]));case 23:return m=ee(ee({},r),{},{name:t,enum:(r.enum||[]).join(", ")},i),g=p.map(function(S){return typeof S=="string"?qge(S,m):S}),v.abrupt("return",g);case 26:case"end":return v.stop()}},e,null,[[10,15]])})),QA.apply(this,arguments)}function Wge(e,t,n,r,a,i){var o=e.join("."),s=n.map(function(d,p){var f=d.validator,m=ee(ee({},d),{},{ruleIndex:p});return f&&(m.validator=function(g,h,v){var S=!1,_=function(){for(var C=arguments.length,T=new Array(C),x=0;x2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return YX(t,r,n)})}function YX(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 Xge(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||gt(e)!=="object"||gt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),a=new Set([].concat(n,r));return $e(a).every(function(i){var o=e[i],s=t[i];return typeof o=="function"&&typeof s=="function"?!0:o===s})}function Qge(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&>(t.target)==="object"&&e in t.target?t.target[e]:t}function RB(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var a=e[t],i=t-n;return i>0?[].concat($e(e.slice(0,n)),[a],$e(e.slice(n,t)),$e(e.slice(t+1,r))):i<0?[].concat($e(e.slice(0,t)),$e(e.slice(t+1,n+1)),[a],$e(e.slice(n+1,r))):e}var Zge=["name"],yi=[];function ny(e,t,n,r,a,i){return typeof e=="function"?e(t,n,"source"in i?{source:i.source}:{}):r!==a}var zL=function(e){Si(n,e);var t=Wi(n);function n(r){var a;if(Jn(this,n),a=t.call(this,r),W(Ge(a),"state",{resetCount:0}),W(Ge(a),"cancelRegisterFunc",null),W(Ge(a),"mounted",!1),W(Ge(a),"touched",!1),W(Ge(a),"dirty",!1),W(Ge(a),"validatePromise",void 0),W(Ge(a),"prevValidating",void 0),W(Ge(a),"errors",yi),W(Ge(a),"warnings",yi),W(Ge(a),"cancelRegister",function(){var l=a.props,u=l.preserve,d=l.isListField,p=l.name;a.cancelRegisterFunc&&a.cancelRegisterFunc(d,u,yr(p)),a.cancelRegisterFunc=null}),W(Ge(a),"getNamePath",function(){var l=a.props,u=l.name,d=l.fieldContext,p=d.prefixName,f=p===void 0?[]:p;return u!==void 0?[].concat($e(f),$e(u)):[]}),W(Ge(a),"getRules",function(){var l=a.props,u=l.rules,d=u===void 0?[]:u,p=l.fieldContext;return d.map(function(f){return typeof f=="function"?f(p):f})}),W(Ge(a),"refresh",function(){a.mounted&&a.setState(function(l){var u=l.resetCount;return{resetCount:u+1}})}),W(Ge(a),"metaCache",null),W(Ge(a),"triggerMetaEvent",function(l){var u=a.props.onMetaChange;if(u){var d=ee(ee({},a.getMeta()),{},{destroy:l});Ui(a.metaCache,d)||u(d),a.metaCache=d}else a.metaCache=null}),W(Ge(a),"onStoreChange",function(l,u,d){var p=a.props,f=p.shouldUpdate,m=p.dependencies,g=m===void 0?[]:m,h=p.onReset,v=d.store,S=a.getNamePath(),_=a.getValue(l),E=a.getValue(v),y=u&&ed(u,S);switch(d.type==="valueUpdate"&&d.source==="external"&&!Ui(_,E)&&(a.touched=!0,a.dirty=!0,a.validatePromise=null,a.errors=yi,a.warnings=yi,a.triggerMetaEvent()),d.type){case"reset":if(!u||y){a.touched=!1,a.dirty=!1,a.validatePromise=void 0,a.errors=yi,a.warnings=yi,a.triggerMetaEvent(),h==null||h(),a.refresh();return}break;case"remove":{if(f&&ny(f,l,v,_,E,d)){a.reRender();return}break}case"setField":{var C=d.data;if(y){"touched"in C&&(a.touched=C.touched),"validating"in C&&!("originRCField"in C)&&(a.validatePromise=C.validating?Promise.resolve([]):null),"errors"in C&&(a.errors=C.errors||yi),"warnings"in C&&(a.warnings=C.warnings||yi),a.dirty=!0,a.triggerMetaEvent(),a.reRender();return}else if("value"in C&&ed(u,S,!0)){a.reRender();return}if(f&&!S.length&&ny(f,l,v,_,E,d)){a.reRender();return}break}case"dependenciesUpdate":{var T=g.map(yr);if(T.some(function(x){return ed(d.relatedFields,x)})){a.reRender();return}break}default:if(y||(!g.length||S.length||f)&&ny(f,l,v,_,E,d)){a.reRender();return}break}f===!0&&a.reRender()}),W(Ge(a),"validateRules",function(l){var u=a.getNamePath(),d=a.getValue(),p=l||{},f=p.triggerName,m=p.validateOnly,g=m===void 0?!1:m,h=Promise.resolve().then(ci(zn().mark(function v(){var S,_,E,y,C,T,x;return zn().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(a.mounted){w.next=2;break}return w.abrupt("return",[]);case 2:if(S=a.props,_=S.validateFirst,E=_===void 0?!1:_,y=S.messageVariables,C=S.validateDebounce,T=a.getRules(),f&&(T=T.filter(function(I){return I}).filter(function(I){var O=I.validateTrigger;if(!O)return!0;var k=VA(O);return k.includes(f)})),!(C&&f)){w.next=10;break}return w.next=8,new Promise(function(I){setTimeout(I,C)});case 8:if(a.validatePromise===h){w.next=10;break}return w.abrupt("return",[]);case 10:return x=Wge(u,d,T,l,E,y),x.catch(function(I){return I}).then(function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:yi;if(a.validatePromise===h){var O;a.validatePromise=null;var k=[],P=[];(O=I.forEach)===null||O===void 0||O.call(I,function(M){var N=M.rule.warningOnly,A=M.errors,D=A===void 0?yi:A;N?P.push.apply(P,$e(D)):k.push.apply(k,$e(D))}),a.errors=k,a.warnings=P,a.triggerMetaEvent(),a.reRender()}}),w.abrupt("return",x);case 13:case"end":return w.stop()}},v)})));return g||(a.validatePromise=h,a.dirty=!0,a.errors=yi,a.warnings=yi,a.triggerMetaEvent(),a.reRender()),h}),W(Ge(a),"isFieldValidating",function(){return!!a.validatePromise}),W(Ge(a),"isFieldTouched",function(){return a.touched}),W(Ge(a),"isFieldDirty",function(){if(a.dirty||a.props.initialValue!==void 0)return!0;var l=a.props.fieldContext,u=l.getInternalHooks(tc),d=u.getInitialValue;return d(a.getNamePath())!==void 0}),W(Ge(a),"getErrors",function(){return a.errors}),W(Ge(a),"getWarnings",function(){return a.warnings}),W(Ge(a),"isListField",function(){return a.props.isListField}),W(Ge(a),"isList",function(){return a.props.isList}),W(Ge(a),"isPreserve",function(){return a.props.preserve}),W(Ge(a),"getMeta",function(){a.prevValidating=a.isFieldValidating();var l={touched:a.isFieldTouched(),validating:a.prevValidating,errors:a.errors,warnings:a.warnings,name:a.getNamePath(),validated:a.validatePromise===null};return l}),W(Ge(a),"getOnlyChild",function(l){if(typeof l=="function"){var u=a.getMeta();return ee(ee({},a.getOnlyChild(l(a.getControlled(),u,a.props.fieldContext))),{},{isFunction:!0})}var d=br(l);return d.length!==1||!c.isValidElement(d[0])?{child:d,isFunction:!1}:{child:d[0],isFunction:!1}}),W(Ge(a),"getValue",function(l){var u=a.props.fieldContext.getFieldsValue,d=a.getNamePath();return li(l||u(!0),d)}),W(Ge(a),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=a.props,d=u.name,p=u.trigger,f=u.validateTrigger,m=u.getValueFromEvent,g=u.normalize,h=u.valuePropName,v=u.getValueProps,S=u.fieldContext,_=f!==void 0?f:S.validateTrigger,E=a.getNamePath(),y=S.getInternalHooks,C=S.getFieldsValue,T=y(tc),x=T.dispatch,R=a.getValue(),w=v||function(M){return W({},h,M)},I=l[p],O=d!==void 0?w(R):{},k=ee(ee({},l),O);k[p]=function(){a.touched=!0,a.dirty=!0,a.triggerMetaEvent();for(var M,N=arguments.length,A=new Array(N),D=0;D=0&&I<=O.length?(d.keys=[].concat($e(d.keys.slice(0,I)),[d.id],$e(d.keys.slice(I))),E([].concat($e(O.slice(0,I)),[w],$e(O.slice(I))))):(d.keys=[].concat($e(d.keys),[d.id]),E([].concat($e(O),[w]))),d.id+=1},remove:function(w){var I=C(),O=new Set(Array.isArray(w)?w:[w]);O.size<=0||(d.keys=d.keys.filter(function(k,P){return!O.has(P)}),E(I.filter(function(k,P){return!O.has(P)})))},move:function(w,I){if(w!==I){var O=C();w<0||w>=O.length||I<0||I>=O.length||(d.keys=RB(d.keys,w,I),E(RB(O,w,I)))}}},x=_||[];return Array.isArray(x)||(x=[]),r(x.map(function(R,w){var I=d.keys[w];return I===void 0&&(d.keys[w]=d.id,I=d.keys[w],d.id+=1),{name:w,key:I,isListField:!0}}),T,v)})))}function Jge(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(a,i){e.forEach(function(o,s){o.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&i(r),a(r))})})}):Promise.resolve([])}var XX="__@field_split__";function ry(e){return e.map(function(t){return"".concat(gt(t),":").concat(t)}).join(XX)}var iu=function(){function e(){Jn(this,e),W(this,"kvs",new Map)}return er(e,[{key:"set",value:function(n,r){this.kvs.set(ry(n),r)}},{key:"get",value:function(n){return this.kvs.get(ry(n))}},{key:"update",value:function(n,r){var a=this.get(n),i=r(a);i?this.set(n,i):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(ry(n))}},{key:"map",value:function(n){return $e(this.kvs.entries()).map(function(r){var a=oe(r,2),i=a[0],o=a[1],s=i.split(XX);return n({key:s.map(function(l){var u=l.match(/^([^:]*):(.*)$/),d=oe(u,3),p=d[1],f=d[2];return p==="number"?Number(f):f}),value:o})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var a=r.key,i=r.value;return n[a.join(".")]=i,null}),n}}]),e}(),ehe=["name"],the=er(function e(t){var n=this;Jn(this,e),W(this,"formHooked",!1),W(this,"forceRootUpdate",void 0),W(this,"subscribable",!0),W(this,"store",{}),W(this,"fieldEntities",[]),W(this,"initialValues",{}),W(this,"callbacks",{}),W(this,"validateMessages",null),W(this,"preserve",null),W(this,"lastValidatePromise",null),W(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}}),W(this,"getInternalHooks",function(r){return r===tc?(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}):(bn(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),W(this,"useSubscribe",function(r){n.subscribable=r}),W(this,"prevWithoutPreserves",null),W(this,"setInitialValues",function(r,a){if(n.initialValues=r||{},a){var i,o=$u(r,n.store);(i=n.prevWithoutPreserves)===null||i===void 0||i.map(function(s){var l=s.key;o=to(o,l,li(r,l))}),n.prevWithoutPreserves=null,n.updateStore(o)}}),W(this,"destroyForm",function(r){if(r)n.updateStore({});else{var a=new iu;n.getFieldEntities(!0).forEach(function(i){n.isMergedPreserve(i.isPreserve())||a.set(i.getNamePath(),!0)}),n.prevWithoutPreserves=a}}),W(this,"getInitialValue",function(r){var a=li(n.initialValues,r);return r.length?$u(a):a}),W(this,"setCallbacks",function(r){n.callbacks=r}),W(this,"setValidateMessages",function(r){n.validateMessages=r}),W(this,"setPreserve",function(r){n.preserve=r}),W(this,"watchList",[]),W(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(a){return a!==r})}}),W(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var a=n.getFieldsValue(),i=n.getFieldsValue(!0);n.watchList.forEach(function(o){o(a,i,r)})}}),W(this,"timeoutId",null),W(this,"warningUnhooked",function(){}),W(this,"updateStore",function(r){n.store=r}),W(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}),W(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,a=new iu;return n.getFieldEntities(r).forEach(function(i){var o=i.getNamePath();a.set(o,i)}),a}),W(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var a=n.getFieldsMap(!0);return r.map(function(i){var o=yr(i);return a.get(o)||{INVALIDATE_NAME_PATH:yr(i)}})}),W(this,"getFieldsValue",function(r,a){n.warningUnhooked();var i,o,s;if(r===!0||Array.isArray(r)?(i=r,o=a):r&>(r)==="object"&&(s=r.strict,o=r.filter),i===!0&&!o)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(i)?i:null),u=[];return l.forEach(function(d){var p,f,m="INVALIDATE_NAME_PATH"in d?d.INVALIDATE_NAME_PATH:d.getNamePath();if(s){var g,h;if((g=(h=d).isList)!==null&&g!==void 0&&g.call(h))return}else if(!i&&(p=(f=d).isListField)!==null&&p!==void 0&&p.call(f))return;if(!o)u.push(m);else{var v="getMeta"in d?d.getMeta():null;o(v)&&u.push(m)}}),xB(n.store,u.map(yr))}),W(this,"getFieldValue",function(r){n.warningUnhooked();var a=yr(r);return li(n.store,a)}),W(this,"getFieldsError",function(r){n.warningUnhooked();var a=n.getFieldEntitiesForNamePathList(r);return a.map(function(i,o){return i&&!("INVALIDATE_NAME_PATH"in i)?{name:i.getNamePath(),errors:i.getErrors(),warnings:i.getWarnings()}:{name:yr(r[o]),errors:[],warnings:[]}})}),W(this,"getFieldError",function(r){n.warningUnhooked();var a=yr(r),i=n.getFieldsError([a])[0];return i.errors}),W(this,"getFieldWarning",function(r){n.warningUnhooked();var a=yr(r),i=n.getFieldsError([a])[0];return i.warnings}),W(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,a=new Array(r),i=0;i0&&arguments[0]!==void 0?arguments[0]:{},a=new iu,i=n.getFieldEntities(!0);i.forEach(function(l){var u=l.props.initialValue,d=l.getNamePath();if(u!==void 0){var p=a.get(d)||new Set;p.add({entity:l,value:u}),a.set(d,p)}});var o=function(u){u.forEach(function(d){var p=d.props.initialValue;if(p!==void 0){var f=d.getNamePath(),m=n.getInitialValue(f);if(m!==void 0)bn(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var g=a.get(f);if(g&&g.size>1)bn(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(g){var h=n.getFieldValue(f),v=d.isListField();!v&&(!r.skipExist||h===void 0)&&n.updateStore(to(n.store,f,$e(g)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var u=a.get(l);if(u){var d;(d=s).push.apply(d,$e($e(u).map(function(p){return p.entity})))}})):s=i,o(s)}),W(this,"resetFields",function(r){n.warningUnhooked();var a=n.store;if(!r){n.updateStore($u(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(a,null,{type:"reset"}),n.notifyWatch();return}var i=r.map(yr);i.forEach(function(o){var s=n.getInitialValue(o);n.updateStore(to(n.store,o,s))}),n.resetWithFieldInitialValue({namePathList:i}),n.notifyObservers(a,i,{type:"reset"}),n.notifyWatch(i)}),W(this,"setFields",function(r){n.warningUnhooked();var a=n.store,i=[];r.forEach(function(o){var s=o.name,l=Et(o,ehe),u=yr(s);i.push(u),"value"in l&&n.updateStore(to(n.store,u,l.value)),n.notifyObservers(a,[u],{type:"setField",data:o})}),n.notifyWatch(i)}),W(this,"getFields",function(){var r=n.getFieldEntities(!0),a=r.map(function(i){var o=i.getNamePath(),s=i.getMeta(),l=ee(ee({},s),{},{name:o,value:n.getFieldValue(o)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return a}),W(this,"initEntityValue",function(r){var a=r.props.initialValue;if(a!==void 0){var i=r.getNamePath(),o=li(n.store,i);o===void 0&&n.updateStore(to(n.store,i,a))}}),W(this,"isMergedPreserve",function(r){var a=r!==void 0?r:n.preserve;return a??!0}),W(this,"registerField",function(r){n.fieldEntities.push(r);var a=r.getNamePath();if(n.notifyWatch([a]),r.props.initialValue!==void 0){var i=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(i,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(p){return p!==r}),!n.isMergedPreserve(s)&&(!o||l.length>1)){var u=o?void 0:n.getInitialValue(a);if(a.length&&n.getFieldValue(a)!==u&&n.fieldEntities.every(function(p){return!YX(p.getNamePath(),a)})){var d=n.store;n.updateStore(to(d,a,u,!0)),n.notifyObservers(d,[a],{type:"remove"}),n.triggerDependenciesUpdate(d,a)}}n.notifyWatch([a])}}),W(this,"dispatch",function(r){switch(r.type){case"updateValue":{var a=r.namePath,i=r.value;n.updateValue(a,i);break}case"validateField":{var o=r.namePath,s=r.triggerName;n.validateFields([o],{triggerName:s});break}}}),W(this,"notifyObservers",function(r,a,i){if(n.subscribable){var o=ee(ee({},i),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,a,o)})}else n.forceRootUpdate()}),W(this,"triggerDependenciesUpdate",function(r,a){var i=n.getDependencyChildrenFields(a);return i.length&&n.validateFields(i),n.notifyObservers(r,i,{type:"dependenciesUpdate",relatedFields:[a].concat($e(i))}),i}),W(this,"updateValue",function(r,a){var i=yr(r),o=n.store;n.updateStore(to(n.store,i,a)),n.notifyObservers(o,[i],{type:"valueUpdate",source:"internal"}),n.notifyWatch([i]);var s=n.triggerDependenciesUpdate(o,i),l=n.callbacks.onValuesChange;if(l){var u=xB(n.store,[i]);l(u,n.getFieldsValue())}n.triggerOnFieldsChange([i].concat($e(s)))}),W(this,"setFieldsValue",function(r){n.warningUnhooked();var a=n.store;if(r){var i=$u(n.store,r);n.updateStore(i)}n.notifyObservers(a,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),W(this,"setFieldValue",function(r,a){n.setFields([{name:r,value:a}])}),W(this,"getDependencyChildrenFields",function(r){var a=new Set,i=[],o=new iu;n.getFieldEntities().forEach(function(l){var u=l.props.dependencies;(u||[]).forEach(function(d){var p=yr(d);o.update(p,function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return f.add(l),f})})});var s=function l(u){var d=o.get(u)||new Set;d.forEach(function(p){if(!a.has(p)){a.add(p);var f=p.getNamePath();p.isFieldDirty()&&f.length&&(i.push(f),l(f))}})};return s(r),i}),W(this,"triggerOnFieldsChange",function(r,a){var i=n.callbacks.onFieldsChange;if(i){var o=n.getFields();if(a){var s=new iu;a.forEach(function(u){var d=u.name,p=u.errors;s.set(d,p)}),o.forEach(function(u){u.errors=s.get(u.name)||u.errors})}var l=o.filter(function(u){var d=u.name;return ed(r,d)});l.length&&i(l,o)}}),W(this,"validateFields",function(r,a){n.warningUnhooked();var i,o;Array.isArray(r)||typeof r=="string"||typeof a=="string"?(i=r,o=a):o=r;var s=!!i,l=s?i.map(yr):[],u=[],d=String(Date.now()),p=new Set,f=o||{},m=f.recursive,g=f.dirty;n.getFieldEntities(!0).forEach(function(_){if(s||l.push(_.getNamePath()),!(!_.props.rules||!_.props.rules.length)&&!(g&&!_.isFieldDirty())){var E=_.getNamePath();if(p.add(E.join(d)),!s||ed(l,E,m)){var y=_.validateRules(ee({validateMessages:ee(ee({},WX),n.validateMessages)},o));u.push(y.then(function(){return{name:E,errors:[],warnings:[]}}).catch(function(C){var T,x=[],R=[];return(T=C.forEach)===null||T===void 0||T.call(C,function(w){var I=w.rule.warningOnly,O=w.errors;I?R.push.apply(R,$e(O)):x.push.apply(x,$e(O))}),x.length?Promise.reject({name:E,errors:x,warnings:R}):{name:E,errors:x,warnings:R}}))}}});var h=Jge(u);n.lastValidatePromise=h,h.catch(function(_){return _}).then(function(_){var E=_.map(function(y){var C=y.name;return C});n.notifyObservers(n.store,E,{type:"validateFinish"}),n.triggerOnFieldsChange(E,_)});var v=h.then(function(){return n.lastValidatePromise===h?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(_){var E=_.filter(function(y){return y&&y.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:E,outOfDate:n.lastValidatePromise!==h})});v.catch(function(_){return _});var S=l.filter(function(_){return p.has(_.join(d))});return n.triggerOnFieldsChange(S),v}),W(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var a=n.callbacks.onFinish;if(a)try{a(r)}catch(i){console.error(i)}}).catch(function(r){var a=n.callbacks.onFinishFailed;a&&a(r)})}),this.forceRootUpdate=t});function GL(e){var t=c.useRef(),n=c.useState({}),r=oe(n,2),a=r[1];if(!t.current)if(e)t.current=e;else{var i=function(){a({})},o=new the(i);t.current=o.getForm()}return[t.current]}var eD=c.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),QX=function(t){var n=t.validateMessages,r=t.onFormChange,a=t.onFormFinish,i=t.children,o=c.useContext(eD),s=c.useRef({});return c.createElement(eD.Provider,{value:ee(ee({},o),{},{validateMessages:ee(ee({},o.validateMessages),n),triggerFormChange:function(u,d){r&&r(u,{changedFields:d,forms:s.current}),o.triggerFormChange(u,d)},triggerFormFinish:function(u,d){a&&a(u,{values:d,forms:s.current}),o.triggerFormFinish(u,d)},registerForm:function(u,d){u&&(s.current=ee(ee({},s.current),{},W({},u,d))),o.registerForm(u,d)},unregisterForm:function(u){var d=ee({},s.current);delete d[u],s.current=d,o.unregisterForm(u)}})},i)},nhe=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],rhe=function(t,n){var r=t.name,a=t.initialValues,i=t.fields,o=t.form,s=t.preserve,l=t.children,u=t.component,d=u===void 0?"form":u,p=t.validateMessages,f=t.validateTrigger,m=f===void 0?"onChange":f,g=t.onValuesChange,h=t.onFieldsChange,v=t.onFinish,S=t.onFinishFailed,_=t.clearOnDestroy,E=Et(t,nhe),y=c.useRef(null),C=c.useContext(eD),T=GL(o),x=oe(T,1),R=x[0],w=R.getInternalHooks(tc),I=w.useSubscribe,O=w.setInitialValues,k=w.setCallbacks,P=w.setValidateMessages,M=w.setPreserve,N=w.destroyForm;c.useImperativeHandle(n,function(){return ee(ee({},R),{},{nativeElement:y.current})}),c.useEffect(function(){return C.registerForm(r,R),function(){C.unregisterForm(r)}},[C,R,r]),P(ee(ee({},C.validateMessages),p)),k({onValuesChange:g,onFieldsChange:function(j){if(C.triggerFormChange(r,j),h){for(var G=arguments.length,J=new Array(G>1?G-1:0),Y=1;Y{}}),JX=c.createContext(null),eQ=e=>{const t=An(e,["prefixCls"]);return c.createElement(QX,Object.assign({},t))},VL=c.createContext({prefixCls:""}),Gr=c.createContext({}),ihe=e=>{let{children:t,status:n,override:r}=e;const a=c.useContext(Gr),i=c.useMemo(()=>{const o=Object.assign({},a);return r&&delete o.isFormItemInput,n&&(delete o.status,delete o.hasFeedback,delete o.feedbackIcon),o},[n,r,a]);return c.createElement(Gr.Provider,{value:i},t)},tQ=c.createContext(void 0),Uo=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let a=r;return n&&(a=ce.createElement(ihe,{override:!0,status:!0},a)),t&&(a=ce.createElement(Cme,null,a)),a};function yd(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function IB(e){const{closable:t,closeIcon:n}=e||{};return ce.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 OB(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{a&&Object.keys(a).forEach(i=>{a[i]!==void 0&&(e[i]=a[i])})}),e}const ohe={};function qL(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ohe;const r=IB(e),a=IB(t),i=ce.useMemo(()=>Object.assign({closeIcon:ce.createElement(na,null)},n),[n]),o=ce.useMemo(()=>r===!1?!1:r?OB(i,a,r):a===!1?!1:a?OB(i,a):i.closable?i:!1,[r,a,i]);return ce.useMemo(()=>{if(o===!1)return[!1,null];const{closeIconRender:s}=i,{closeIcon:l}=o;let u=l;if(u!=null){s&&(u=s(l));const d=Qn(o,!0);Object.keys(d).length&&(u=ce.isValidElement(u)?ce.cloneElement(u,d):ce.createElement("span",Object.assign({},d),u))}return[!0,u]},[o,i])}var nQ=function(t){if(Jr()&&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},she=function(t,n){if(!nQ(t))return!1;var r=document.createElement("div"),a=r.style[t];return r.style[t]=n,r.style[t]!==a};function tD(e,t){return!Array.isArray(e)&&t!==void 0?she(e,t):nQ(e)}const lhe=()=>Jr()&&window.document.documentElement,Ab=e=>{const{prefixCls:t,className:n,style:r,size:a,shape:i}=e,o=ie({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),s=ie({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),l=c.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return c.createElement("span",{className:ie(t,o,s,n),style:Object.assign(Object.assign({},l),r)})},che=new dn("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Db=e=>({height:e,lineHeight:Q(e)}),td=e=>Object.assign({width:e},Db(e)),uhe=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:che,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),ay=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},Db(e)),dhe=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},td(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},td(a)),[`${t}${t}-sm`]:Object.assign({},td(i))}},phe=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:n},ay(t,s)),[`${r}-lg`]:Object.assign({},ay(a,s)),[`${r}-sm`]:Object.assign({},ay(i,s))}},NB=e=>Object.assign({width:e},Db(e)),fhe=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:a,calc:i}=e;return{[t]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:r,borderRadius:a},NB(i(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},NB(n)),{maxWidth:i(n).mul(4).equal(),maxHeight:i(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},iy=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},oy=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},Db(e)),mhe=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:a,controlHeightSM:i,gradientFromColor:o,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:o,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},oy(r,s))},iy(e,r,n)),{[`${n}-lg`]:Object.assign({},oy(a,s))}),iy(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},oy(i,s))}),iy(e,i,`${n}-sm`))},ghe=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:o,skeletonImageCls:s,controlHeight:l,controlHeightLG:u,controlHeightSM:d,gradientFromColor:p,padding:f,marginSM:m,borderRadius:g,titleHeight:h,blockRadius:v,paragraphLiHeight:S,controlHeightXS:_,paragraphMarginTop:E}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:p},td(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},td(u)),[`${n}-sm`]:Object.assign({},td(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:h,background:p,borderRadius:v,[`+ ${a}`]:{marginBlockStart:d}},[a]:{padding:0,"> li":{width:"100%",height:S,listStyle:"none",background:p,borderRadius:v,"+ li":{marginBlockStart:_}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${a} > li`]:{borderRadius:g}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:m,[`+ ${a}`]:{marginBlockStart:E}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},mhe(e)),dhe(e)),phe(e)),fhe(e)),[`${t}${t}-block`]:{width:"100%",[i]:{width:"100%"},[o]:{width:"100%"}},[`${t}${t}-active`]:{[` - ${r}, - ${a} > li, - ${n}, - ${i}, - ${o}, - ${s} - `]:Object.assign({},uhe(e))}}},hhe=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}},Yd=cn("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Ht(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[ghe(r)]},hhe,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),vhe=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,shape:i="circle",size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Yd(l),f=An(e,["prefixCls","className"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(Ab,Object.assign({prefixCls:`${l}-avatar`,shape:i,size:o},f))))},_he=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i=!1,size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Yd(l),f=An(e,["prefixCls"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:i},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(Ab,Object.assign({prefixCls:`${l}-button`,size:o},f))))},bhe="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",She=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i}=e,{getPrefixCls:o}=c.useContext(lt),s=o("skeleton",t),[l,u,d]=Yd(s),p=ie(s,`${s}-element`,{[`${s}-active`]:i},n,r,u,d);return l(c.createElement("div",{className:p},c.createElement("div",{className:ie(`${s}-image`,n),style:a},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},c.createElement("title",null,"Image placeholder"),c.createElement("path",{d:bhe,className:`${s}-image-path`})))))},Ehe=e=>{const{prefixCls:t,className:n,rootClassName:r,active:a,block:i,size:o="default"}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Yd(l),f=An(e,["prefixCls"]),m=ie(l,`${l}-element`,{[`${l}-active`]:a,[`${l}-block`]:i},n,r,d,p);return u(c.createElement("div",{className:m},c.createElement(Ab,Object.assign({prefixCls:`${l}-input`,size:o},f))))};var yhe={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"},Che=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:yhe}))},The=c.forwardRef(Che);const xhe=e=>{const{prefixCls:t,className:n,rootClassName:r,style:a,active:i,children:o}=e,{getPrefixCls:s}=c.useContext(lt),l=s("skeleton",t),[u,d,p]=Yd(l),f=ie(l,`${l}-element`,{[`${l}-active`]:i},d,n,r,p),m=o??c.createElement(The,null);return u(c.createElement("div",{className:f},c.createElement("div",{className:ie(`${l}-image`,n),style:a},m)))},Rhe=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},whe=e=>{const{prefixCls:t,className:n,style:r,rows:a}=e,i=$e(Array(a)).map((o,s)=>c.createElement("li",{key:s,style:{width:Rhe(s,e)}}));return c.createElement("ul",{className:ie(t,n),style:r},i)},Ihe=e=>{let{prefixCls:t,className:n,width:r,style:a}=e;return c.createElement("h3",{className:ie(t,n),style:Object.assign({width:r},a)})};function sy(e){return e&&typeof e=="object"?e:{}}function Ohe(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Nhe(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Ahe(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Ol=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:a,style:i,children:o,avatar:s=!1,title:l=!0,paragraph:u=!0,active:d,round:p}=e,{getPrefixCls:f,direction:m,skeleton:g}=c.useContext(lt),h=f("skeleton",t),[v,S,_]=Yd(h);if(n||!("loading"in e)){const E=!!s,y=!!l,C=!!u;let T;if(E){const w=Object.assign(Object.assign({prefixCls:`${h}-avatar`},Ohe(y,C)),sy(s));T=c.createElement("div",{className:`${h}-header`},c.createElement(Ab,Object.assign({},w)))}let x;if(y||C){let w;if(y){const O=Object.assign(Object.assign({prefixCls:`${h}-title`},Nhe(E,C)),sy(l));w=c.createElement(Ihe,Object.assign({},O))}let I;if(C){const O=Object.assign(Object.assign({prefixCls:`${h}-paragraph`},Ahe(E,y)),sy(u));I=c.createElement(whe,Object.assign({},O))}x=c.createElement("div",{className:`${h}-content`},w,I)}const R=ie(h,{[`${h}-with-avatar`]:E,[`${h}-active`]:d,[`${h}-rtl`]:m==="rtl",[`${h}-round`]:p},g==null?void 0:g.className,r,a,S,_);return v(c.createElement("div",{className:R,style:Object.assign(Object.assign({},g==null?void 0:g.style),i)},T,x))}return o??null};Ol.Button=_he;Ol.Avatar=vhe;Ol.Input=Ehe;Ol.Image=She;Ol.Node=xhe;function AB(){}const Dhe=c.createContext({add:AB,remove:AB});function rQ(e){const t=c.useContext(Dhe),n=c.useRef();return Wt(a=>{if(a){const i=e?a.querySelector(e):a;t.add(i),n.current=i}else t.remove(n.current)})}const DB=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=c.useContext(Jm);return ce.createElement(Rt,Object.assign({onClick:n},e),t)},MB=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:a}=c.useContext(Jm);return ce.createElement(Rt,Object.assign({},DX(n),{loading:e,onClick:a},t),r)};function aQ(e,t){return ce.createElement("span",{className:`${e}-close-x`},t||ce.createElement(na,{className:`${e}-close-icon`}))}const iQ=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:i,onCancel:o,okButtonProps:s,cancelButtonProps:l,footer:u}=e,[d]=Go("Modal",UK()),p=t||(d==null?void 0:d.okText),f=r||(d==null?void 0:d.cancelText),m={confirmLoading:a,okButtonProps:s,cancelButtonProps:l,okTextLocale:p,cancelTextLocale:f,okType:n,onOk:i,onCancel:o},g=ce.useMemo(()=>m,$e(Object.values(m)));let h;return typeof u=="function"||typeof u>"u"?(h=ce.createElement(ce.Fragment,null,ce.createElement(DB,null),ce.createElement(MB,null)),typeof u=="function"&&(h=u(h,{OkBtn:MB,CancelBtn:DB})),h=ce.createElement(BX,{value:g},h)):h=u,ce.createElement(NL,{disabled:!1},h)},ng=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`}}}),Mhe=e=>({animationDuration:e,animationFillMode:"both"}),Lhe=e=>({animationDuration:e,animationFillMode:"both"}),Mb=function(e,t,n,r){const i=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` - ${i}${e}-enter, - ${i}${e}-appear - `]:Object.assign(Object.assign({},Mhe(r)),{animationPlayState:"paused"}),[`${i}${e}-leave`]:Object.assign(Object.assign({},Lhe(r)),{animationPlayState:"paused"}),[` - ${i}${e}-enter${e}-enter-active, - ${i}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${i}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},khe=new dn("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Phe=new dn("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),WL=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,a=t?"&":"";return[Mb(r,khe,Phe,e.motionDurationMid,t),{[` - ${a}${r}-enter, - ${a}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${a}${r}-leave`]:{animationTimingFunction:"linear"}}]},$he=new dn("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Fhe=new dn("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Bhe=new dn("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Uhe=new dn("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),jhe=new dn("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),zhe=new dn("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),Hhe=new dn("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),Ghe=new dn("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),Vhe={"move-up":{inKeyframes:Hhe,outKeyframes:Ghe},"move-down":{inKeyframes:$he,outKeyframes:Fhe},"move-left":{inKeyframes:Bhe,outKeyframes:Uhe},"move-right":{inKeyframes:jhe,outKeyframes:zhe}},Cd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Vhe[t];return[Mb(r,a,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},Lb=new dn("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),kb=new dn("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Pb=new dn("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),$b=new dn("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),qhe=new dn("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),Whe=new dn("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),Yhe=new dn("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),Khe=new dn("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),Xhe={"slide-up":{inKeyframes:Lb,outKeyframes:kb},"slide-down":{inKeyframes:Pb,outKeyframes:$b},"slide-left":{inKeyframes:qhe,outKeyframes:Whe},"slide-right":{inKeyframes:Yhe,outKeyframes:Khe}},jo=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=Xhe[t];return[Mb(r,a,i,e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},YL=new dn("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),Qhe=new dn("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),LB=new dn("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),kB=new dn("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),Zhe=new dn("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),Jhe=new dn("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),eve=new dn("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),tve=new dn("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),nve=new dn("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),rve=new dn("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),ave=new dn("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),ive=new dn("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),ove={zoom:{inKeyframes:YL,outKeyframes:Qhe},"zoom-big":{inKeyframes:LB,outKeyframes:kB},"zoom-big-fast":{inKeyframes:LB,outKeyframes:kB},"zoom-left":{inKeyframes:eve,outKeyframes:tve},"zoom-right":{inKeyframes:nve,outKeyframes:rve},"zoom-up":{inKeyframes:Zhe,outKeyframes:Jhe},"zoom-down":{inKeyframes:ave,outKeyframes:ive}},Kd=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:a,outKeyframes:i}=ove[t];return[Mb(r,a,i,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` - ${r}-enter, - ${r}-appear - `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function PB(e){return{position:e,inset:0}}const oQ=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({},PB("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},PB("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:WL(e)}]},sve=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:`${Q(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},on(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${Q(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:Q(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Bo(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${Q(e.borderRadiusLG)} ${Q(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:`${Q(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"}}}]},lve=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},sQ=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Ht(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()})},lQ=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${Q(e.paddingMD)} ${Q(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${Q(e.padding)} ${Q(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${Q(e.paddingXS)} ${Q(e.padding)}`:0,footerBorderTop:e.wireframe?`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${Q(e.padding*2)} ${Q(e.padding*2)} ${Q(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),cQ=cn("Modal",e=>{const t=sQ(e);return[sve(t),lve(t),oQ(t),Kd(t,"zoom")]},lQ,{unitless:{titleLineHeight:!0}});var cve=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{nD={x:e.pageX,y:e.pageY},setTimeout(()=>{nD=null},100)};lhe()&&document.documentElement.addEventListener("click",uve,!0);const uQ=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:a,modal:i}=c.useContext(lt),o=z=>{const{onCancel:U}=e;U==null||U(z)},s=z=>{const{onOk:U}=e;U==null||U(z)},{prefixCls:l,className:u,rootClassName:d,open:p,wrapClassName:f,centered:m,getContainer:g,focusTriggerAfterClose:h=!0,style:v,visible:S,width:_=520,footer:E,classNames:y,styles:C,children:T,loading:x}=e,R=cve(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),w=r("modal",l),I=r(),O=Zn(w),[k,P,M]=cQ(w,O),N=ie(f,{[`${w}-centered`]:!!m,[`${w}-wrap-rtl`]:a==="rtl"}),A=E!==null&&!x?c.createElement(iQ,Object.assign({},e,{onOk:s,onCancel:o})):null,[D,L]=qL(yd(e),yd(i),{closable:!0,closeIcon:c.createElement(na,{className:`${w}-close-icon`}),closeIconRender:z=>aQ(w,z)}),$=rQ(`.${w}-content`),[F,B]=bo("Modal",R.zIndex);return k(c.createElement(Uo,{form:!0,space:!0},c.createElement(Km.Provider,{value:B},c.createElement(jL,Object.assign({width:_},R,{zIndex:F,getContainer:g===void 0?n:g,prefixCls:w,rootClassName:ie(P,d,M,O),footer:A,visible:p??S,mousePosition:(t=R.mousePosition)!==null&&t!==void 0?t:nD,onClose:o,closable:D,closeIcon:L,focusTriggerAfterClose:h,transitionName:ya(I,"zoom",e.transitionName),maskTransitionName:ya(I,"fade",e.maskTransitionName),className:ie(P,u,i==null?void 0:i.className),style:Object.assign(Object.assign({},i==null?void 0:i.style),v),classNames:Object.assign(Object.assign(Object.assign({},i==null?void 0:i.classNames),y),{wrapper:ie(N,y==null?void 0:y.wrapper)}),styles:Object.assign(Object.assign({},i==null?void 0:i.styles),C),panelRef:$}),x?c.createElement(Ol,{active:!0,title:!1,paragraph:{rows:4},className:`${w}-body-skeleton`}):T))))},dve=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:a,fontSize:i,lineHeight:o,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:u}=e,d=`${t}-confirm`;return{[d]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${d}-body-wrapper`]:Object.assign({},mo()),[`&${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(l).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% - ${Q(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:i,lineHeight:o},[`${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}}},pve=Gd(["Modal","confirm"],e=>{const t=sQ(e);return[dve(t)]},lQ,{order:-1e3});var fve=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_,$e(Object.values(_))),y=c.createElement(c.Fragment,null,c.createElement(sB,null),c.createElement(lB,null)),C=e.title!==void 0&&e.title!==null,T=`${i}-body`;return c.createElement("div",{className:`${i}-body-wrapper`},c.createElement("div",{className:ie(T,{[`${T}-has-title`]:C})},p,c.createElement("div",{className:`${i}-paragraph`},C&&c.createElement("span",{className:`${i}-title`},e.title),c.createElement("div",{className:`${i}-content`},e.content))),l===void 0||typeof l=="function"?c.createElement(BX,{value:E},c.createElement("div",{className:`${i}-btns`},typeof l=="function"?l(y,{OkBtn:lB,CancelBtn:sB}):y)):l,c.createElement(pve,{prefixCls:t}))}const mve=e=>{const{close:t,zIndex:n,afterClose:r,open:a,keyboard:i,centered:o,getContainer:s,maskStyle:l,direction:u,prefixCls:d,wrapClassName:p,rootPrefixCls:f,bodyStyle:m,closable:g=!1,closeIcon:h,modalRender:v,focusTriggerAfterClose:S,onConfirm:_,styles:E}=e,y=`${d}-confirm`,C=e.width||416,T=e.style||{},x=e.mask===void 0?!0:e.mask,R=e.maskClosable===void 0?!1:e.maskClosable,w=ie(y,`${y}-${e.type}`,{[`${y}-rtl`]:u==="rtl"},e.className),[,I]=ia(),O=c.useMemo(()=>n!==void 0?n:I.zIndexPopupBase+CX,[n,I]);return c.createElement(uQ,{prefixCls:d,className:w,wrapClassName:ie({[`${y}-centered`]:!!e.centered},p),onCancel:()=>{t==null||t({triggerCancel:!0}),_==null||_(!1)},open:a,title:"",footer:null,transitionName:ya(f||"","zoom",e.transitionName),maskTransitionName:ya(f||"","fade",e.maskTransitionName),mask:x,maskClosable:R,style:T,styles:Object.assign({body:m,mask:l},E),width:C,zIndex:O,afterClose:r,keyboard:i,centered:o,getContainer:s,closable:g,closeIcon:h,modalRender:v,focusTriggerAfterClose:S},c.createElement(dQ,Object.assign({},e,{confirmPrefixCls:y})))},pQ=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:a}=e;return c.createElement(_o,{prefixCls:t,iconPrefixCls:n,direction:r,theme:a},c.createElement(mve,Object.assign({},e)))},nc=[];let fQ="";function mQ(){return fQ}const gve=e=>{var t,n;const{prefixCls:r,getContainer:a,direction:i}=e,o=UK(),s=c.useContext(lt),l=mQ()||s.getPrefixCls(),u=r||`${l}-modal`;let d=a;return d===!1&&(d=void 0),ce.createElement(pQ,Object.assign({},e,{rootPrefixCls:l,prefixCls:u,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:i??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:o,getContainer:d}))};function rg(e){const t=mX(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:s,open:!0}),a;function i(){for(var u,d=arguments.length,p=new Array(d),f=0;fh==null?void 0:h.triggerCancel)){var g;(u=e.onCancel)===null||u===void 0||(g=u).call.apply(g,[e,()=>{}].concat($e(p.slice(1))))}for(let h=0;h{const d=t.getPrefixCls(void 0,mQ()),p=t.getIconPrefixCls(),f=t.getTheme(),m=ce.createElement(gve,Object.assign({},u));FL(ce.createElement(_o,{prefixCls:d,iconPrefixCls:p,theme:f},t.holderRender?t.holderRender(m):m),n)})}function s(){for(var u=arguments.length,d=new Array(u),p=0;p{typeof e.afterClose=="function"&&e.afterClose(),i.apply(this,d)}}),r.visible&&delete r.visible,o(r)}function l(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),o(r)}return o(r),nc.push(s),{destroy:s,update:l}}function gQ(e){return Object.assign(Object.assign({},e),{type:"warning"})}function hQ(e){return Object.assign(Object.assign({},e),{type:"info"})}function vQ(e){return Object.assign(Object.assign({},e),{type:"success"})}function _Q(e){return Object.assign(Object.assign({},e),{type:"error"})}function bQ(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function hve(e){let{rootPrefixCls:t}=e;fQ=t}var vve=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,i=vve(e,["afterClose","config"]);const[o,s]=c.useState(!0),[l,u]=c.useState(a),{direction:d,getPrefixCls:p}=c.useContext(lt),f=p("modal"),m=p(),g=()=>{var _;r(),(_=l.afterClose)===null||_===void 0||_.call(l)},h=function(){var _;s(!1);for(var E=arguments.length,y=new Array(E),C=0;CR==null?void 0:R.triggerCancel)){var x;(_=l.onCancel)===null||_===void 0||(x=_).call.apply(x,[l,()=>{}].concat($e(y.slice(1))))}};c.useImperativeHandle(t,()=>({destroy:h,update:_=>{u(E=>Object.assign(Object.assign({},E),_))}}));const v=(n=l.okCancel)!==null&&n!==void 0?n:l.type==="confirm",[S]=Go("Modal",zi.Modal);return c.createElement(pQ,Object.assign({prefixCls:f,rootPrefixCls:m},l,{close:h,open:o,afterClose:g,okText:l.okText||(v?S==null?void 0:S.okText:S==null?void 0:S.justOkText),direction:l.direction||d,cancelText:l.cancelText||(S==null?void 0:S.cancelText)},i))},bve=c.forwardRef(_ve);let $B=0;const Sve=c.memo(c.forwardRef((e,t)=>{const[n,r]=rme();return c.useImperativeHandle(t,()=>({patchElement:r}),[]),c.createElement(c.Fragment,null,n)}));function Eve(){const e=c.useRef(null),[t,n]=c.useState([]);c.useEffect(()=>{t.length&&($e(t).forEach(o=>{o()}),n([]))},[t]);const r=c.useCallback(i=>function(s){var l;$B+=1;const u=c.createRef();let d;const p=new Promise(v=>{d=v});let f=!1,m;const g=c.createElement(bve,{key:`modal-${$B}`,config:i(s),ref:u,afterClose:()=>{m==null||m()},isSilent:()=>f,onConfirm:v=>{d(v)}});return m=(l=e.current)===null||l===void 0?void 0:l.patchElement(g),m&&nc.push(m),{destroy:()=>{function v(){var S;(S=u.current)===null||S===void 0||S.destroy()}u.current?v():n(S=>[].concat($e(S),[v]))},update:v=>{function S(){var _;(_=u.current)===null||_===void 0||_.update(v)}u.current?S():n(_=>[].concat($e(_),[S]))},then:v=>(f=!0,p.then(v))}},[]);return[c.useMemo(()=>({info:r(hQ),success:r(vQ),error:r(_Q),warning:r(gQ),confirm:r(bQ)}),[]),c.createElement(Sve,{key:"modal-holder",ref:e})]}const yve=ce.createContext({});function SQ(e){return t=>c.createElement(_o,{theme:{token:{motion:!1,zIndexPopupBase:0}}},c.createElement(e,Object.assign({},t)))}const ag=(e,t,n,r)=>SQ(i=>{const{prefixCls:o,style:s}=i,l=c.useRef(null),[u,d]=c.useState(0),[p,f]=c.useState(0),[m,g]=ln(!1,{value:i.open}),{getPrefixCls:h}=c.useContext(lt),v=h(t||"select",o);c.useEffect(()=>{if(g(!0),typeof ResizeObserver<"u"){const E=new ResizeObserver(C=>{const T=C[0].target;d(T.offsetHeight+8),f(T.offsetWidth)}),y=setInterval(()=>{var C;const T=n?`.${n(v)}`:`.${v}-dropdown`,x=(C=l.current)===null||C===void 0?void 0:C.querySelector(T);x&&(clearInterval(y),E.observe(x))},10);return()=>{clearInterval(y),E.disconnect()}}},[]);let S=Object.assign(Object.assign({},i),{style:Object.assign(Object.assign({},s),{margin:0}),open:m,visible:m,getPopupContainer:()=>l.current});r&&(S=r(S));const _={paddingBottom:u,position:"relative",minWidth:p};return c.createElement("div",{ref:l,style:_},c.createElement(e,Object.assign({},S)))}),Fb=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,i=t.children,o=t.onMouseDown,s=t.onClick,l=typeof r=="function"?r(a):r;return c.createElement("span",{className:n,onMouseDown:function(d){d.preventDefault(),o==null||o(d)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},l!==void 0?l:c.createElement("span",{className:ie(n.split(/\s+/).map(function(u){return"".concat(u,"-icon")}))},i))},Cve=function(t,n,r,a,i){var o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,u=ce.useMemo(function(){if(gt(a)==="object")return a.clearIcon;if(i)return i},[a,i]),d=ce.useMemo(function(){return!!(!o&&a&&(r.length||s)&&!(l==="combobox"&&s===""))},[a,o,r.length,s,l]);return{allowClear:d,clearIcon:ce.createElement(Bb,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:u},"×")}},EQ=c.createContext(null);function yQ(){return c.useContext(EQ)}function Tve(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=c.useState(!1),n=oe(t,2),r=n[0],a=n[1],i=c.useRef(null),o=function(){window.clearTimeout(i.current)};c.useEffect(function(){return o},[]);var s=function(u,d){o(),i.current=window.setTimeout(function(){a(u),d&&d()},e)};return[r,s,o]}function CQ(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=c.useRef(null),n=c.useRef(null);c.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 xve(e,t,n,r){var a=c.useRef(null);a.current={open:t,triggerOpen:n,customizedTrigger:r},c.useEffect(function(){function i(o){var s;if(!((s=a.current)!==null&&s!==void 0&&s.customizedTrigger)){var l=o.target;l.shadowRoot&&o.composed&&(l=o.composedPath()[0]||l),a.current.open&&e().filter(function(u){return u}).every(function(u){return!u.contains(l)&&u!==l})&&a.current.triggerOpen(!1)}}return window.addEventListener("mousedown",i),function(){return window.removeEventListener("mousedown",i)}},[])}function Rve(e){return![Fe.ESC,Fe.SHIFT,Fe.BACKSPACE,Fe.TAB,Fe.WIN_KEY,Fe.ALT,Fe.META,Fe.WIN_KEY_RIGHT,Fe.CTRL,Fe.SEMICOLON,Fe.EQUALS,Fe.CAPS_LOCK,Fe.CONTEXT_MENU,Fe.F1,Fe.F2,Fe.F3,Fe.F4,Fe.F5,Fe.F6,Fe.F7,Fe.F8,Fe.F9,Fe.F10,Fe.F11,Fe.F12].includes(e)}var wve=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],ou=void 0;function Ive(e,t){var n=e.prefixCls,r=e.invalidate,a=e.item,i=e.renderItem,o=e.responsive,s=e.responsiveDisabled,l=e.registerSize,u=e.itemKey,d=e.className,p=e.style,f=e.children,m=e.display,g=e.order,h=e.component,v=h===void 0?"div":h,S=Et(e,wve),_=o&&!m;function E(R){l(u,R)}c.useEffect(function(){return function(){E(null)}},[]);var y=i&&a!==ou?i(a):f,C;r||(C={opacity:_?0:1,height:_?0:ou,overflowY:_?"hidden":ou,order:o?g:ou,pointerEvents:_?"none":ou,position:_?"absolute":ou});var T={};_&&(T["aria-hidden"]=!0);var x=c.createElement(v,_e({className:ie(!r&&n,d),style:ee(ee({},C),p)},T,S,{ref:t}),y);return o&&(x=c.createElement(da,{onResize:function(w){var I=w.offsetWidth;E(I)},disabled:s},x)),x}var yf=c.forwardRef(Ive);yf.displayName="Item";function Ove(e){if(typeof MessageChannel>"u")Gt(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Nve(){var e=c.useRef(null),t=function(r){e.current||(e.current=[],Ove(function(){Ur.unstable_batchedUpdates(function(){e.current.forEach(function(a){a()}),e.current=null})})),e.current.push(r)};return t}function Mp(e,t){var n=c.useState(t),r=oe(n,2),a=r[0],i=r[1],o=Wt(function(s){e(function(){i(s)})});return[a,o]}var v_=ce.createContext(null),Ave=["component"],Dve=["className"],Mve=["className"],Lve=function(t,n){var r=c.useContext(v_);if(!r){var a=t.component,i=a===void 0?"div":a,o=Et(t,Ave);return c.createElement(i,_e({},o,{ref:n}))}var s=r.className,l=Et(r,Dve),u=t.className,d=Et(t,Mve);return c.createElement(v_.Provider,{value:null},c.createElement(yf,_e({ref:n,className:ie(s,u)},l,d)))},TQ=c.forwardRef(Lve);TQ.displayName="RawItem";var kve=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],xQ="responsive",RQ="invalidate";function Pve(e){return"+ ".concat(e.length," ...")}function $ve(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,a=e.data,i=a===void 0?[]:a,o=e.renderItem,s=e.renderRawItem,l=e.itemKey,u=e.itemWidth,d=u===void 0?10:u,p=e.ssr,f=e.style,m=e.className,g=e.maxCount,h=e.renderRest,v=e.renderRawRest,S=e.suffix,_=e.component,E=_===void 0?"div":_,y=e.itemComponent,C=e.onVisibleChange,T=Et(e,kve),x=p==="full",R=Nve(),w=Mp(R,null),I=oe(w,2),O=I[0],k=I[1],P=O||0,M=Mp(R,new Map),N=oe(M,2),A=N[0],D=N[1],L=Mp(R,0),$=oe(L,2),F=$[0],B=$[1],z=Mp(R,0),U=oe(z,2),j=U[0],G=U[1],J=Mp(R,0),Y=oe(J,2),X=Y[0],V=Y[1],H=c.useState(null),q=oe(H,2),K=q[0],Z=q[1],te=c.useState(null),se=oe(te,2),ue=se[0],me=se[1],de=c.useMemo(function(){return ue===null&&x?Number.MAX_SAFE_INTEGER:ue||0},[ue,O]),Te=c.useState(!1),Ee=oe(Te,2),ge=Ee[0],re=Ee[1],ne="".concat(r,"-item"),ae=Math.max(F,j),le=g===xQ,pe=i.length&&le,Re=g===RQ,Se=pe||typeof g=="number"&&i.length>g,Pe=c.useMemo(function(){var Xe=i;return pe?O===null&&x?Xe=i:Xe=i.slice(0,Math.min(i.length,P/d)):typeof g=="number"&&(Xe=i.slice(0,g)),Xe},[i,d,O,g,pe]),fe=c.useMemo(function(){return pe?i.slice(de+1):i.slice(Pe.length)},[i,Pe,pe,de]),ve=c.useCallback(function(Xe,Be){var Je;return typeof l=="function"?l(Xe):(Je=l&&(Xe==null?void 0:Xe[l]))!==null&&Je!==void 0?Je:Be},[l]),Ae=c.useCallback(o||function(Xe){return Xe},[o]);function ye(Xe,Be,Je){ue===Xe&&(Be===void 0||Be===K)||(me(Xe),Je||(re(XeP){ye(mt-1,Xe-pt-X+j);break}}S&&ke(0)+X>P&&Z(null)}},[P,A,j,X,ve,Pe]);var rt=ge&&!!fe.length,Me={};K!==null&&pe&&(Me={position:"absolute",left:K,top:0});var Ce={prefixCls:ne,responsive:pe,component:y,invalidate:Re},De=s?function(Xe,Be){var Je=ve(Xe,Be);return c.createElement(v_.Provider,{key:Je,value:ee(ee({},Ce),{},{order:Be,item:Xe,itemKey:Je,registerSize:Ne,display:Be<=de})},s(Xe,Be))}:function(Xe,Be){var Je=ve(Xe,Be);return c.createElement(yf,_e({},Ce,{order:Be,key:Je,item:Xe,renderItem:Ae,itemKey:Je,registerSize:Ne,display:Be<=de}))},Ue,Ye={order:rt?de:Number.MAX_SAFE_INTEGER,className:"".concat(ne,"-rest"),registerSize:Ie,display:rt};if(v)v&&(Ue=c.createElement(v_.Provider,{value:ee(ee({},Ce),Ye)},v(fe)));else{var He=h||Pve;Ue=c.createElement(yf,_e({},Ce,Ye),typeof He=="function"?He(fe):He)}var ze=c.createElement(E,_e({className:ie(!Re&&r,m),style:f,ref:t},T),Pe.map(De),Se?Ue:null,S&&c.createElement(yf,_e({},Ce,{responsive:le,responsiveDisabled:!pe,order:de,className:"".concat(ne,"-suffix"),registerSize:xe,display:!0,style:Me}),S));return le&&(ze=c.createElement(da,{onResize:be,disabled:!pe},ze)),ze}var co=c.forwardRef($ve);co.displayName="Overflow";co.Item=TQ;co.RESPONSIVE=xQ;co.INVALIDATE=RQ;var Fve=function(t,n){var r,a=t.prefixCls,i=t.id,o=t.inputElement,s=t.disabled,l=t.tabIndex,u=t.autoFocus,d=t.autoComplete,p=t.editable,f=t.activeDescendantId,m=t.value,g=t.maxLength,h=t.onKeyDown,v=t.onMouseDown,S=t.onChange,_=t.onPaste,E=t.onCompositionStart,y=t.onCompositionEnd,C=t.open,T=t.attrs,x=o||c.createElement("input",null),R=x,w=R.ref,I=R.props,O=I.onKeyDown,k=I.onChange,P=I.onMouseDown,M=I.onCompositionStart,N=I.onCompositionEnd,A=I.style;return"maxLength"in x.props,x=c.cloneElement(x,ee(ee(ee({type:"search"},I),{},{id:i,ref:aa(n,w),disabled:s,tabIndex:l,autoComplete:d||"off",autoFocus:u,className:ie("".concat(a,"-selection-search-input"),(r=x)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":C||!1,"aria-haspopup":"listbox","aria-owns":"".concat(i,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(i,"_list"),"aria-activedescendant":C?f:void 0},T),{},{value:p?m:"",maxLength:g,readOnly:!p,unselectable:p?null:"on",style:ee(ee({},A),{},{opacity:p?null:0}),onKeyDown:function(L){h(L),O&&O(L)},onMouseDown:function(L){v(L),P&&P(L)},onChange:function(L){S(L),k&&k(L)},onCompositionStart:function(L){E(L),M&&M(L)},onCompositionEnd:function(L){y(L),N&&N(L)},onPaste:_})),x},wQ=c.forwardRef(Fve);function IQ(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var Bve=typeof window<"u"&&window.document&&window.document.documentElement,Uve=Bve;function jve(e){return e!=null}function zve(e){return!e&&e!==0}function FB(e){return["string","number"].includes(gt(e))}function OQ(e){var t=void 0;return e&&(FB(e.title)?t=e.title.toString():FB(e.label)&&(t=e.label.toString())),t}function Hve(e,t){Uve?c.useLayoutEffect(e,t):c.useEffect(e,t)}function Gve(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var BB=function(t){t.preventDefault(),t.stopPropagation()},Vve=function(t){var n=t.id,r=t.prefixCls,a=t.values,i=t.open,o=t.searchValue,s=t.autoClearSearchValue,l=t.inputRef,u=t.placeholder,d=t.disabled,p=t.mode,f=t.showSearch,m=t.autoFocus,g=t.autoComplete,h=t.activeDescendantId,v=t.tabIndex,S=t.removeIcon,_=t.maxTagCount,E=t.maxTagTextLength,y=t.maxTagPlaceholder,C=y===void 0?function(Z){return"+ ".concat(Z.length," ...")}:y,T=t.tagRender,x=t.onToggleOpen,R=t.onRemove,w=t.onInputChange,I=t.onInputPaste,O=t.onInputKeyDown,k=t.onInputMouseDown,P=t.onInputCompositionStart,M=t.onInputCompositionEnd,N=c.useRef(null),A=c.useState(0),D=oe(A,2),L=D[0],$=D[1],F=c.useState(!1),B=oe(F,2),z=B[0],U=B[1],j="".concat(r,"-selection"),G=i||p==="multiple"&&s===!1||p==="tags"?o:"",J=p==="tags"||p==="multiple"&&s===!1||f&&(i||z);Hve(function(){$(N.current.scrollWidth)},[G]);var Y=function(te,se,ue,me,de){return c.createElement("span",{title:OQ(te),className:ie("".concat(j,"-item"),W({},"".concat(j,"-item-disabled"),ue))},c.createElement("span",{className:"".concat(j,"-item-content")},se),me&&c.createElement(Bb,{className:"".concat(j,"-item-remove"),onMouseDown:BB,onClick:de,customizeIcon:S},"×"))},X=function(te,se,ue,me,de,Te){var Ee=function(re){BB(re),x(!i)};return c.createElement("span",{onMouseDown:Ee},T({label:se,value:te,disabled:ue,closable:me,onClose:de,isMaxTag:!!Te}))},V=function(te){var se=te.disabled,ue=te.label,me=te.value,de=!d&&!se,Te=ue;if(typeof E=="number"&&(typeof ue=="string"||typeof ue=="number")){var Ee=String(Te);Ee.length>E&&(Te="".concat(Ee.slice(0,E),"..."))}var ge=function(ne){ne&&ne.stopPropagation(),R(te)};return typeof T=="function"?X(me,Te,se,de,ge):Y(te,Te,se,de,ge)},H=function(te){var se=typeof C=="function"?C(te):C;return typeof T=="function"?X(void 0,se,!1,!1,void 0,!0):Y({title:se},se,!1)},q=c.createElement("div",{className:"".concat(j,"-search"),style:{width:L},onFocus:function(){U(!0)},onBlur:function(){U(!1)}},c.createElement(wQ,{ref:l,open:i,prefixCls:r,id:n,inputElement:null,disabled:d,autoFocus:m,autoComplete:g,editable:J,activeDescendantId:h,value:G,onKeyDown:O,onMouseDown:k,onChange:w,onPaste:I,onCompositionStart:P,onCompositionEnd:M,tabIndex:v,attrs:Qn(t,!0)}),c.createElement("span",{ref:N,className:"".concat(j,"-search-mirror"),"aria-hidden":!0},G," ")),K=c.createElement(co,{prefixCls:"".concat(j,"-overflow"),data:a,renderItem:V,renderRest:H,suffix:q,itemKey:Gve,maxCount:_});return c.createElement(c.Fragment,null,K,!a.length&&!G&&c.createElement("span",{className:"".concat(j,"-placeholder")},u))},qve=function(t){var n=t.inputElement,r=t.prefixCls,a=t.id,i=t.inputRef,o=t.disabled,s=t.autoFocus,l=t.autoComplete,u=t.activeDescendantId,d=t.mode,p=t.open,f=t.values,m=t.placeholder,g=t.tabIndex,h=t.showSearch,v=t.searchValue,S=t.activeValue,_=t.maxLength,E=t.onInputKeyDown,y=t.onInputMouseDown,C=t.onInputChange,T=t.onInputPaste,x=t.onInputCompositionStart,R=t.onInputCompositionEnd,w=t.title,I=c.useState(!1),O=oe(I,2),k=O[0],P=O[1],M=d==="combobox",N=M||h,A=f[0],D=v||"";M&&S&&!k&&(D=S),c.useEffect(function(){M&&P(!1)},[M,S]);var L=d!=="combobox"&&!p&&!h?!1:!!D,$=w===void 0?OQ(A):w,F=c.useMemo(function(){return A?null:c.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:L?{visibility:"hidden"}:void 0},m)},[A,L,m,r]);return c.createElement(c.Fragment,null,c.createElement("span",{className:"".concat(r,"-selection-search")},c.createElement(wQ,{ref:i,prefixCls:r,id:a,open:p,inputElement:n,disabled:o,autoFocus:s,autoComplete:l,editable:N,activeDescendantId:u,value:D,onKeyDown:E,onMouseDown:y,onChange:function(z){P(!0),C(z)},onPaste:T,onCompositionStart:x,onCompositionEnd:R,tabIndex:g,attrs:Qn(t,!0),maxLength:M?_:void 0})),!M&&A?c.createElement("span",{className:"".concat(r,"-selection-item"),title:$,style:L?{visibility:"hidden"}:void 0},A.label):null,F)},Wve=function(t,n){var r=c.useRef(null),a=c.useRef(!1),i=t.prefixCls,o=t.open,s=t.mode,l=t.showSearch,u=t.tokenWithEnter,d=t.disabled,p=t.autoClearSearchValue,f=t.onSearch,m=t.onSearchSubmit,g=t.onToggleOpen,h=t.onInputKeyDown,v=t.domRef;c.useImperativeHandle(n,function(){return{focus:function(L){r.current.focus(L)},blur:function(){r.current.blur()}}});var S=CQ(0),_=oe(S,2),E=_[0],y=_[1],C=function(L){var $=L.which;($===Fe.UP||$===Fe.DOWN)&&L.preventDefault(),h&&h(L),$===Fe.ENTER&&s==="tags"&&!a.current&&!o&&(m==null||m(L.target.value)),Rve($)&&g(!0)},T=function(){y(!0)},x=c.useRef(null),R=function(L){f(L,!0,a.current)!==!1&&g(!0)},w=function(){a.current=!0},I=function(L){a.current=!1,s!=="combobox"&&R(L.target.value)},O=function(L){var $=L.target.value;if(u&&x.current&&/[\r\n]/.test(x.current)){var F=x.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");$=$.replace(F,x.current)}x.current=null,R($)},k=function(L){var $=L.clipboardData,F=$==null?void 0:$.getData("text");x.current=F||""},P=function(L){var $=L.target;if($!==r.current){var F=document.body.style.msTouchAction!==void 0;F?setTimeout(function(){r.current.focus()}):r.current.focus()}},M=function(L){var $=E();L.target!==r.current&&!$&&!(s==="combobox"&&d)&&L.preventDefault(),(s!=="combobox"&&(!l||!$)||!o)&&(o&&p!==!1&&f("",!0,!1),g())},N={inputRef:r,onInputKeyDown:C,onInputMouseDown:T,onInputChange:O,onInputPaste:k,onInputCompositionStart:w,onInputCompositionEnd:I},A=s==="multiple"||s==="tags"?c.createElement(Vve,_e({},t,N)):c.createElement(qve,_e({},t,N));return c.createElement("div",{ref:v,className:"".concat(i,"-selector"),onClick:P,onMouseDown:M},A)},Yve=c.forwardRef(Wve);function Kve(e){var t=e.prefixCls,n=e.align,r=e.arrow,a=e.arrowPos,i=r||{},o=i.className,s=i.content,l=a.x,u=l===void 0?0:l,d=a.y,p=d===void 0?0:d,f=c.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(n.autoArrow!==!1){var g=n.points[0],h=n.points[1],v=g[0],S=g[1],_=h[0],E=h[1];v===_||!["t","b"].includes(v)?m.top=p:v==="t"?m.top=0:m.bottom=0,S===E||!["l","r"].includes(S)?m.left=u:S==="l"?m.left=0:m.right=0}return c.createElement("div",{ref:f,className:ie("".concat(t,"-arrow"),o),style:m},s)}function Xve(e){var t=e.prefixCls,n=e.open,r=e.zIndex,a=e.mask,i=e.motion;return a?c.createElement(ta,_e({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(o){var s=o.className;return c.createElement("div",{style:{zIndex:r},className:ie("".concat(t,"-mask"),s)})}):null}var Qve=c.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),Zve=c.forwardRef(function(e,t){var n=e.popup,r=e.className,a=e.prefixCls,i=e.style,o=e.target,s=e.onVisibleChanged,l=e.open,u=e.keepDom,d=e.fresh,p=e.onClick,f=e.mask,m=e.arrow,g=e.arrowPos,h=e.align,v=e.motion,S=e.maskMotion,_=e.forceRender,E=e.getPopupContainer,y=e.autoDestroy,C=e.portal,T=e.zIndex,x=e.onMouseEnter,R=e.onMouseLeave,w=e.onPointerEnter,I=e.ready,O=e.offsetX,k=e.offsetY,P=e.offsetR,M=e.offsetB,N=e.onAlign,A=e.onPrepare,D=e.stretch,L=e.targetWidth,$=e.targetHeight,F=typeof n=="function"?n():n,B=l||u,z=(E==null?void 0:E.length)>0,U=c.useState(!E||!z),j=oe(U,2),G=j[0],J=j[1];if(Qt(function(){!G&&z&&o&&J(!0)},[G,z,o]),!G)return null;var Y="auto",X={left:"-1000vw",top:"-1000vh",right:Y,bottom:Y};if(I||!l){var V,H=h.points,q=h.dynamicInset||((V=h._experimental)===null||V===void 0?void 0:V.dynamicInset),K=q&&H[0][1]==="r",Z=q&&H[0][0]==="b";K?(X.right=P,X.left=Y):(X.left=O,X.right=Y),Z?(X.bottom=M,X.top=Y):(X.top=k,X.bottom=Y)}var te={};return D&&(D.includes("height")&&$?te.height=$:D.includes("minHeight")&&$&&(te.minHeight=$),D.includes("width")&&L?te.width=L:D.includes("minWidth")&&L&&(te.minWidth=L)),l||(te.pointerEvents="none"),c.createElement(C,{open:_||B,getContainer:E&&function(){return E(o)},autoDestroy:y},c.createElement(Xve,{prefixCls:a,open:l,zIndex:T,mask:f,motion:S}),c.createElement(da,{onResize:N,disabled:!l},function(se){return c.createElement(ta,_e({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:_,leavedClassName:"".concat(a,"-hidden")},v,{onAppearPrepare:A,onEnterPrepare:A,visible:l,onVisibleChanged:function(me){var de;v==null||(de=v.onVisibleChanged)===null||de===void 0||de.call(v,me),s(me)}}),function(ue,me){var de=ue.className,Te=ue.style,Ee=ie(a,de,r);return c.createElement("div",{ref:aa(se,t,me),className:Ee,style:ee(ee(ee(ee({"--arrow-x":"".concat(g.x||0,"px"),"--arrow-y":"".concat(g.y||0,"px")},X),te),Te),{},{boxSizing:"border-box",zIndex:T},i),onMouseEnter:x,onMouseLeave:R,onPointerEnter:w,onClick:p},m&&c.createElement(Kve,{prefixCls:a,arrow:m,arrowPos:g,align:h}),c.createElement(Qve,{cache:!l&&!d},F))})}))}),Jve=c.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,a=fo(n),i=c.useCallback(function(s){am(t,r?r(s):s)},[r]),o=Rs(i,n.ref);return a?c.cloneElement(n,{ref:o}):n}),UB=c.createContext(null);function jB(e){return e?Array.isArray(e)?e:[e]:[]}function e_e(e,t,n,r){return c.useMemo(function(){var a=jB(n??t),i=jB(r??t),o=new Set(a),s=new Set(i);return e&&(o.has("hover")&&(o.delete("hover"),o.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[o,s]},[e,t,n,r])}function t_e(){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 n_e(e,t,n,r){for(var a=n.points,i=Object.keys(e),o=0;o1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function Lp(e){return hm(parseFloat(e),0)}function HB(e,t){var n=ee({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var a=ig(r).getComputedStyle(r),i=a.overflow,o=a.overflowClipMargin,s=a.borderTopWidth,l=a.borderBottomWidth,u=a.borderLeftWidth,d=a.borderRightWidth,p=r.getBoundingClientRect(),f=r.offsetHeight,m=r.clientHeight,g=r.offsetWidth,h=r.clientWidth,v=Lp(s),S=Lp(l),_=Lp(u),E=Lp(d),y=hm(Math.round(p.width/g*1e3)/1e3),C=hm(Math.round(p.height/f*1e3)/1e3),T=(g-h-_-E)*y,x=(f-m-v-S)*C,R=v*C,w=S*C,I=_*y,O=E*y,k=0,P=0;if(i==="clip"){var M=Lp(o);k=M*y,P=M*C}var N=p.x+I-k,A=p.y+R-P,D=N+p.width+2*k-I-O-T,L=A+p.height+2*P-R-w-x;n.left=Math.max(n.left,N),n.top=Math.max(n.top,A),n.right=Math.min(n.right,D),n.bottom=Math.min(n.bottom,L)}}),n}function GB(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 VB(e,t){var n=t||[],r=oe(n,2),a=r[0],i=r[1];return[GB(e.width,a),GB(e.height,i)]}function qB(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function su(e,t){var n=t[0],r=t[1],a,i;return n==="t"?i=e.y:n==="b"?i=e.y+e.height:i=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:i}}function Ds(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 r_e(e,t,n,r,a,i,o){var s=c.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[r]||{}}),l=oe(s,2),u=l[0],d=l[1],p=c.useRef(0),f=c.useMemo(function(){return t?rD(t):[]},[t]),m=c.useRef({}),g=function(){m.current={}};e||g();var h=Wt(function(){if(t&&n&&e){let pn=function(Or,Sr){var sa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ae,Ja=j.x+Or,Yo=j.y+Sr,Dt=Ja+Z,Kt=Yo+K,Vn=Math.max(Ja,sa.left),fr=Math.max(Yo,sa.top),qn=Math.min(Dt,sa.right),Ns=Math.min(Kt,sa.bottom);return Math.max(0,(qn-Vn)*(Ns-fr))},Ir=function(){vt=j.y+Je,nt=vt+K,bt=j.x+Be,Ct=bt+Z};var mn=pn,pr=Ir,_,E,y,C,T=t,x=T.ownerDocument,R=ig(T),w=R.getComputedStyle(T),I=w.width,O=w.height,k=w.position,P=T.style.left,M=T.style.top,N=T.style.right,A=T.style.bottom,D=T.style.overflow,L=ee(ee({},a[r]),i),$=x.createElement("div");(_=T.parentElement)===null||_===void 0||_.appendChild($),$.style.left="".concat(T.offsetLeft,"px"),$.style.top="".concat(T.offsetTop,"px"),$.style.position=k,$.style.height="".concat(T.offsetHeight,"px"),$.style.width="".concat(T.offsetWidth,"px"),T.style.left="0",T.style.top="0",T.style.right="auto",T.style.bottom="auto",T.style.overflow="hidden";var F;if(Array.isArray(n))F={x:n[0],y:n[1],width:0,height:0};else{var B,z,U=n.getBoundingClientRect();U.x=(B=U.x)!==null&&B!==void 0?B:U.left,U.y=(z=U.y)!==null&&z!==void 0?z:U.top,F={x:U.x,y:U.y,width:U.width,height:U.height}}var j=T.getBoundingClientRect();j.x=(E=j.x)!==null&&E!==void 0?E:j.left,j.y=(y=j.y)!==null&&y!==void 0?y:j.top;var G=x.documentElement,J=G.clientWidth,Y=G.clientHeight,X=G.scrollWidth,V=G.scrollHeight,H=G.scrollTop,q=G.scrollLeft,K=j.height,Z=j.width,te=F.height,se=F.width,ue={left:0,top:0,right:J,bottom:Y},me={left:-q,top:-H,right:X-q,bottom:V-H},de=L.htmlRegion,Te="visible",Ee="visibleFirst";de!=="scroll"&&de!==Ee&&(de=Te);var ge=de===Ee,re=HB(me,f),ne=HB(ue,f),ae=de===Te?ne:re,le=ge?ne:ae;T.style.left="auto",T.style.top="auto",T.style.right="0",T.style.bottom="0";var pe=T.getBoundingClientRect();T.style.left=P,T.style.top=M,T.style.right=N,T.style.bottom=A,T.style.overflow=D,(C=T.parentElement)===null||C===void 0||C.removeChild($);var Re=hm(Math.round(Z/parseFloat(I)*1e3)/1e3),Se=hm(Math.round(K/parseFloat(O)*1e3)/1e3);if(Re===0||Se===0||rm(n)&&!qd(n))return;var Pe=L.offset,fe=L.targetOffset,ve=VB(j,Pe),Ae=oe(ve,2),ye=Ae[0],be=Ae[1],Ne=VB(F,fe),Ie=oe(Ne,2),xe=Ie[0],ke=Ie[1];F.x-=xe,F.y-=ke;var rt=L.points||[],Me=oe(rt,2),Ce=Me[0],De=Me[1],Ue=qB(De),Ye=qB(Ce),He=su(F,Ue),ze=su(j,Ye),Xe=ee({},L),Be=He.x-ze.x+ye,Je=He.y-ze.y+be,mt=pn(Be,Je),pt=pn(Be,Je,ne),We=su(F,["t","l"]),Ve=su(j,["t","l"]),Ze=su(F,["b","r"]),dt=su(j,["b","r"]),It=L.overflow||{},Nt=It.adjustX,ht=It.adjustY,ct=It.shiftX,ot=It.shiftY,et=function(Sr){return typeof Sr=="boolean"?Sr:Sr>=0},vt,nt,bt,Ct;Ir();var tt=et(ht),it=Ye[0]===Ue[0];if(tt&&Ye[0]==="t"&&(nt>le.bottom||m.current.bt)){var Ke=Je;it?Ke-=K-te:Ke=We.y-dt.y-be;var qe=pn(Be,Ke),_t=pn(Be,Ke,ne);qe>mt||qe===mt&&(!ge||_t>=pt)?(m.current.bt=!0,Je=Ke,be=-be,Xe.points=[Ds(Ye,0),Ds(Ue,0)]):m.current.bt=!1}if(tt&&Ye[0]==="b"&&(vtmt||kt===mt&&(!ge||tn>=pt)?(m.current.tb=!0,Je=xt,be=-be,Xe.points=[Ds(Ye,0),Ds(Ue,0)]):m.current.tb=!1}var nn=et(Nt),rn=Ye[1]===Ue[1];if(nn&&Ye[1]==="l"&&(Ct>le.right||m.current.rl)){var Vt=Be;rn?Vt-=Z-se:Vt=We.x-dt.x-ye;var yt=pn(Vt,Je),Ot=pn(Vt,Je,ne);yt>mt||yt===mt&&(!ge||Ot>=pt)?(m.current.rl=!0,Be=Vt,ye=-ye,Xe.points=[Ds(Ye,1),Ds(Ue,1)]):m.current.rl=!1}if(nn&&Ye[1]==="r"&&(btmt||En===mt&&(!ge||Hn>=pt)?(m.current.lr=!0,Be=Mt,ye=-ye,Xe.points=[Ds(Ye,1),Ds(Ue,1)]):m.current.lr=!1}Ir();var lr=ct===!0?0:ct;typeof lr=="number"&&(btne.right&&(Be-=Ct-ne.right-ye,F.x>ne.right-lr&&(Be+=F.x-ne.right+lr)));var tr=ot===!0?0:ot;typeof tr=="number"&&(vtne.bottom&&(Je-=nt-ne.bottom-be,F.y>ne.bottom-tr&&(Je+=F.y-ne.bottom+tr)));var Rr=j.x+Be,wr=Rr+Z,Gn=j.y+Je,Yt=Gn+K,Bt=F.x,qt=Bt+se,Ut=F.y,jt=Ut+te,St=Math.max(Rr,Bt),Tt=Math.min(wr,qt),sn=(St+Tt)/2,yn=sn-Rr,nr=Math.max(Gn,Ut),cr=Math.min(Yt,jt),vr=(nr+cr)/2,zt=vr-Gn;o==null||o(t,Xe);var Ft=pe.right-j.x-(Be+j.width),ut=pe.bottom-j.y-(Je+j.height);Re===1&&(Be=Math.round(Be),Ft=Math.round(Ft)),Se===1&&(Je=Math.round(Je),ut=Math.round(ut));var Pt={ready:!0,offsetX:Be/Re,offsetY:Je/Se,offsetR:Ft/Re,offsetB:ut/Se,arrowX:yn/Re,arrowY:zt/Se,scaleX:Re,scaleY:Se,align:Xe};d(Pt)}}),v=function(){p.current+=1;var E=p.current;Promise.resolve().then(function(){p.current===E&&h()})},S=function(){d(function(E){return ee(ee({},E),{},{ready:!1})})};return Qt(S,[r]),Qt(function(){e||S()},[e]),[u.ready,u.offsetX,u.offsetY,u.offsetR,u.offsetB,u.arrowX,u.arrowY,u.scaleX,u.scaleY,u.align,v]}function a_e(e,t,n,r,a){Qt(function(){if(e&&t&&n){let f=function(){r(),a()};var p=f,i=t,o=n,s=rD(i),l=rD(o),u=ig(o),d=new Set([u].concat($e(s),$e(l)));return d.forEach(function(m){m.addEventListener("scroll",f,{passive:!0})}),u.addEventListener("resize",f,{passive:!0}),r(),function(){d.forEach(function(m){m.removeEventListener("scroll",f),u.removeEventListener("resize",f)})}}},[e,t,n])}function i_e(e,t,n,r,a,i,o,s){var l=c.useRef(e);l.current=e,c.useEffect(function(){if(t&&r&&(!a||i)){var u=function(m){var g;l.current&&!o(((g=m.composedPath)===null||g===void 0||(g=g.call(m))===null||g===void 0?void 0:g[0])||m.target)&&s(!1)},d=ig(r);d.addEventListener("mousedown",u,!0),d.addEventListener("contextmenu",u,!0);var p=m_(n);return p&&(p.addEventListener("mousedown",u,!0),p.addEventListener("contextmenu",u,!0)),function(){d.removeEventListener("mousedown",u,!0),d.removeEventListener("contextmenu",u,!0),p&&(p.removeEventListener("mousedown",u,!0),p.removeEventListener("contextmenu",u,!0))}}},[t,n,r,a,i])}var o_e=["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 s_e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:eg,t=c.forwardRef(function(n,r){var a=n.prefixCls,i=a===void 0?"rc-trigger-popup":a,o=n.children,s=n.action,l=s===void 0?"hover":s,u=n.showAction,d=n.hideAction,p=n.popupVisible,f=n.defaultPopupVisible,m=n.onPopupVisibleChange,g=n.afterPopupVisibleChange,h=n.mouseEnterDelay,v=n.mouseLeaveDelay,S=v===void 0?.1:v,_=n.focusDelay,E=n.blurDelay,y=n.mask,C=n.maskClosable,T=C===void 0?!0:C,x=n.getPopupContainer,R=n.forceRender,w=n.autoDestroy,I=n.destroyPopupOnHide,O=n.popup,k=n.popupClassName,P=n.popupStyle,M=n.popupPlacement,N=n.builtinPlacements,A=N===void 0?{}:N,D=n.popupAlign,L=n.zIndex,$=n.stretch,F=n.getPopupClassNameFromAlign,B=n.fresh,z=n.alignPoint,U=n.onPopupClick,j=n.onPopupAlign,G=n.arrow,J=n.popupMotion,Y=n.maskMotion,X=n.popupTransitionName,V=n.popupAnimation,H=n.maskTransitionName,q=n.maskAnimation,K=n.className,Z=n.getTriggerDOMNode,te=Et(n,o_e),se=w||I||!1,ue=c.useState(!1),me=oe(ue,2),de=me[0],Te=me[1];Qt(function(){Te(Fb())},[]);var Ee=c.useRef({}),ge=c.useContext(UB),re=c.useMemo(function(){return{registerSubPopup:function(Kt,Vn){Ee.current[Kt]=Vn,ge==null||ge.registerSubPopup(Kt,Vn)}}},[ge]),ne=HX(),ae=c.useState(null),le=oe(ae,2),pe=le[0],Re=le[1],Se=c.useRef(null),Pe=Wt(function(Dt){Se.current=Dt,rm(Dt)&&pe!==Dt&&Re(Dt),ge==null||ge.registerSubPopup(ne,Dt)}),fe=c.useState(null),ve=oe(fe,2),Ae=ve[0],ye=ve[1],be=c.useRef(null),Ne=Wt(function(Dt){rm(Dt)&&Ae!==Dt&&(ye(Dt),be.current=Dt)}),Ie=c.Children.only(o),xe=(Ie==null?void 0:Ie.props)||{},ke={},rt=Wt(function(Dt){var Kt,Vn,fr=Ae;return(fr==null?void 0:fr.contains(Dt))||((Kt=m_(fr))===null||Kt===void 0?void 0:Kt.host)===Dt||Dt===fr||(pe==null?void 0:pe.contains(Dt))||((Vn=m_(pe))===null||Vn===void 0?void 0:Vn.host)===Dt||Dt===pe||Object.values(Ee.current).some(function(qn){return(qn==null?void 0:qn.contains(Dt))||Dt===qn})}),Me=zB(i,J,V,X),Ce=zB(i,Y,q,H),De=c.useState(f||!1),Ue=oe(De,2),Ye=Ue[0],He=Ue[1],ze=p??Ye,Xe=Wt(function(Dt){p===void 0&&He(Dt)});Qt(function(){He(p||!1)},[p]);var Be=c.useRef(ze);Be.current=ze;var Je=c.useRef([]);Je.current=[];var mt=Wt(function(Dt){var Kt;Xe(Dt),((Kt=Je.current[Je.current.length-1])!==null&&Kt!==void 0?Kt:ze)!==Dt&&(Je.current.push(Dt),m==null||m(Dt))}),pt=c.useRef(),We=function(){clearTimeout(pt.current)},Ve=function(Kt){var Vn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;We(),Vn===0?mt(Kt):pt.current=setTimeout(function(){mt(Kt)},Vn*1e3)};c.useEffect(function(){return We},[]);var Ze=c.useState(!1),dt=oe(Ze,2),It=dt[0],Nt=dt[1];Qt(function(Dt){(!Dt||ze)&&Nt(!0)},[ze]);var ht=c.useState(null),ct=oe(ht,2),ot=ct[0],et=ct[1],vt=c.useState(null),nt=oe(vt,2),bt=nt[0],Ct=nt[1],tt=function(Kt){Ct([Kt.clientX,Kt.clientY])},it=r_e(ze,pe,z&&bt!==null?bt:Ae,M,A,D,j),Ke=oe(it,11),qe=Ke[0],_t=Ke[1],xt=Ke[2],kt=Ke[3],tn=Ke[4],nn=Ke[5],rn=Ke[6],Vt=Ke[7],yt=Ke[8],Ot=Ke[9],Mt=Ke[10],En=e_e(de,l,u,d),Hn=oe(En,2),lr=Hn[0],tr=Hn[1],Rr=lr.has("click"),wr=tr.has("click")||tr.has("contextMenu"),Gn=Wt(function(){It||Mt()}),Yt=function(){Be.current&&z&&wr&&Ve(!1)};a_e(ze,Ae,pe,Gn,Yt),Qt(function(){Gn()},[bt,M]),Qt(function(){ze&&!(A!=null&&A[M])&&Gn()},[JSON.stringify(D)]);var Bt=c.useMemo(function(){var Dt=n_e(A,i,Ot,z);return ie(Dt,F==null?void 0:F(Ot))},[Ot,F,A,i,z]);c.useImperativeHandle(r,function(){return{nativeElement:be.current,popupElement:Se.current,forceAlign:Gn}});var qt=c.useState(0),Ut=oe(qt,2),jt=Ut[0],St=Ut[1],Tt=c.useState(0),sn=oe(Tt,2),yn=sn[0],nr=sn[1],cr=function(){if($&&Ae){var Kt=Ae.getBoundingClientRect();St(Kt.width),nr(Kt.height)}},vr=function(){cr(),Gn()},zt=function(Kt){Nt(!1),Mt(),g==null||g(Kt)},Ft=function(){return new Promise(function(Kt){cr(),et(function(){return Kt})})};Qt(function(){ot&&(Mt(),ot(),et(null))},[ot]);function ut(Dt,Kt,Vn,fr){ke[Dt]=function(qn){var Ns;fr==null||fr(qn),Ve(Kt,Vn);for(var _p=arguments.length,bp=new Array(_p>1?_p-1:0),$l=1;$l<_p;$l++)bp[$l-1]=arguments[$l];(Ns=xe[Dt])===null||Ns===void 0||Ns.call.apply(Ns,[xe,qn].concat(bp))}}(Rr||wr)&&(ke.onClick=function(Dt){var Kt;Be.current&&wr?Ve(!1):!Be.current&&Rr&&(tt(Dt),Ve(!0));for(var Vn=arguments.length,fr=new Array(Vn>1?Vn-1:0),qn=1;qn1?Vn-1:0),qn=1;qn1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,a=[],i=NQ(n,!1),o=i.label,s=i.value,l=i.options,u=i.groupLabel;function d(p,f){Array.isArray(p)&&p.forEach(function(m){if(f||!(l in m)){var g=m[s];a.push({key:WB(m,a.length),groupOption:f,data:m,label:m[o],value:g})}else{var h=m[u];h===void 0&&r&&(h=m.label),a.push({key:WB(m,a.length),group:!0,data:m,label:h}),d(m[l],!0)}})}return d(e,!1),a}function iD(e){var t=ee({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return bn(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var f_e=function(t,n,r){if(!n||!n.length)return null;var a=!1,i=function s(l,u){var d=kK(u),p=d[0],f=d.slice(1);if(!p)return[l];var m=l.split(p);return a=a||m.length>1,m.reduce(function(g,h){return[].concat($e(g),$e(s(h,f)))},[]).filter(Boolean)},o=i(t,n);return a?typeof r<"u"?o.slice(0,r):o:null},KL=c.createContext(null);function m_e(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return c.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 i=a.label,o=a.value;return["number","string"].includes(gt(i))?i:o}).join(", ")),n.length>r?", ...":null)}var g_e=["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"],h_e=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],oD=function(t){return t==="tags"||t==="multiple"},AQ=c.forwardRef(function(e,t){var n,r=e.id,a=e.prefixCls,i=e.className,o=e.showSearch,s=e.tagRender,l=e.direction,u=e.omitDomProps,d=e.displayValues,p=e.onDisplayValuesChange,f=e.emptyOptions,m=e.notFoundContent,g=m===void 0?"Not Found":m,h=e.onClear,v=e.mode,S=e.disabled,_=e.loading,E=e.getInputElement,y=e.getRawInputElement,C=e.open,T=e.defaultOpen,x=e.onDropdownVisibleChange,R=e.activeValue,w=e.onActiveValueChange,I=e.activeDescendantId,O=e.searchValue,k=e.autoClearSearchValue,P=e.onSearch,M=e.onSearchSplit,N=e.tokenSeparators,A=e.allowClear,D=e.suffixIcon,L=e.clearIcon,$=e.OptionList,F=e.animation,B=e.transitionName,z=e.dropdownStyle,U=e.dropdownClassName,j=e.dropdownMatchSelectWidth,G=e.dropdownRender,J=e.dropdownAlign,Y=e.placement,X=e.builtinPlacements,V=e.getPopupContainer,H=e.showAction,q=H===void 0?[]:H,K=e.onFocus,Z=e.onBlur,te=e.onKeyUp,se=e.onKeyDown,ue=e.onMouseDown,me=Et(e,g_e),de=oD(v),Te=(o!==void 0?o:de)||v==="combobox",Ee=ee({},me);h_e.forEach(function(Yt){delete Ee[Yt]}),u==null||u.forEach(function(Yt){delete Ee[Yt]});var ge=c.useState(!1),re=oe(ge,2),ne=re[0],ae=re[1];c.useEffect(function(){ae(Fb())},[]);var le=c.useRef(null),pe=c.useRef(null),Re=c.useRef(null),Se=c.useRef(null),Pe=c.useRef(null),fe=c.useRef(!1),ve=Tve(),Ae=oe(ve,3),ye=Ae[0],be=Ae[1],Ne=Ae[2];c.useImperativeHandle(t,function(){var Yt,Bt;return{focus:(Yt=Se.current)===null||Yt===void 0?void 0:Yt.focus,blur:(Bt=Se.current)===null||Bt===void 0?void 0:Bt.blur,scrollTo:function(Ut){var jt;return(jt=Pe.current)===null||jt===void 0?void 0:jt.scrollTo(Ut)},nativeElement:le.current||pe.current}});var Ie=c.useMemo(function(){var Yt;if(v!=="combobox")return O;var Bt=(Yt=d[0])===null||Yt===void 0?void 0:Yt.value;return typeof Bt=="string"||typeof Bt=="number"?String(Bt):""},[O,v,d]),xe=v==="combobox"&&typeof E=="function"&&E()||null,ke=typeof y=="function"&&y(),rt=Rs(pe,ke==null||(n=ke.props)===null||n===void 0?void 0:n.ref),Me=c.useState(!1),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1];Qt(function(){Ue(!0)},[]);var Ye=ln(!1,{defaultValue:T,value:C}),He=oe(Ye,2),ze=He[0],Xe=He[1],Be=De?ze:!1,Je=!g&&f;(S||Je&&Be&&v==="combobox")&&(Be=!1);var mt=Je?!1:Be,pt=c.useCallback(function(Yt){var Bt=Yt!==void 0?Yt:!Be;S||(Xe(Bt),Be!==Bt&&(x==null||x(Bt)))},[S,Be,Xe,x]),We=c.useMemo(function(){return(N||[]).some(function(Yt){return[` -`,`\r -`].includes(Yt)})},[N]),Ve=c.useContext(KL)||{},Ze=Ve.maxCount,dt=Ve.rawValues,It=function(Bt,qt,Ut){if(!(de&&aD(Ze)&&(dt==null?void 0:dt.size)>=Ze)){var jt=!0,St=Bt;w==null||w(null);var Tt=f_e(Bt,N,aD(Ze)?Ze-dt.size:void 0),sn=Ut?null:Tt;return v!=="combobox"&&sn&&(St="",M==null||M(sn),pt(!1),jt=!1),P&&Ie!==St&&P(St,{source:qt?"typing":"effect"}),jt}},Nt=function(Bt){!Bt||!Bt.trim()||P(Bt,{source:"submit"})};c.useEffect(function(){!Be&&!de&&v!=="combobox"&&It("",!1,!1)},[Be]),c.useEffect(function(){ze&&S&&Xe(!1),S&&!fe.current&&be(!1)},[S]);var ht=CQ(),ct=oe(ht,2),ot=ct[0],et=ct[1],vt=c.useRef(!1),nt=function(Bt){var qt=ot(),Ut=Bt.key,jt=Ut==="Enter";if(jt&&(v!=="combobox"&&Bt.preventDefault(),Be||pt(!0)),et(!!Ie),Ut==="Backspace"&&!qt&&de&&!Ie&&d.length){for(var St=$e(d),Tt=null,sn=St.length-1;sn>=0;sn-=1){var yn=St[sn];if(!yn.disabled){St.splice(sn,1),Tt=yn;break}}Tt&&p(St,{type:"remove",values:[Tt]})}for(var nr=arguments.length,cr=new Array(nr>1?nr-1:0),vr=1;vr1?qt-1:0),jt=1;jt1?Tt-1:0),yn=1;yn"u"?"undefined":gt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const MQ=function(e,t,n,r){var a=c.useRef(!1),i=c.useRef(null);function o(){clearTimeout(i.current),a.current=!0,i.current=setTimeout(function(){a.current=!1},50)}var s=c.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(l,u){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,p=l?u<0&&s.current.left||u>0&&s.current.right:u<0&&s.current.top||u>0&&s.current.bottom;return d&&p?(clearTimeout(i.current),a.current=!1):(!p||a.current)&&o(),!a.current&&p}};function E_e(e,t,n,r,a,i,o){var s=c.useRef(0),l=c.useRef(null),u=c.useRef(null),d=c.useRef(!1),p=MQ(t,n,r,a);function f(_,E){Gt.cancel(l.current),s.current+=E,u.current=E,!p(!1,E)&&(YB||_.preventDefault(),l.current=Gt(function(){var y=d.current?10:1;o(s.current*y),s.current=0}))}function m(_,E){o(E,!0),YB||_.preventDefault()}var g=c.useRef(null),h=c.useRef(null);function v(_){if(e){Gt.cancel(h.current),h.current=Gt(function(){g.current=null},2);var E=_.deltaX,y=_.deltaY,C=_.shiftKey,T=E,x=y;(g.current==="sx"||!g.current&&C&&y&&!E)&&(T=y,x=0,g.current="sx");var R=Math.abs(T),w=Math.abs(x);g.current===null&&(g.current=i&&R>w?"x":"y"),g.current==="y"?f(_,x):m(_,T)}}function S(_){e&&(d.current=_.detail===u.current)}return[v,S]}function y_e(e,t,n,r){var a=c.useMemo(function(){return[new Map,[]]},[e,n.id,r]),i=oe(a,2),o=i[0],s=i[1],l=function(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:d,f=o.get(d),m=o.get(p);if(f===void 0||m===void 0)for(var g=e.length,h=s.length;h0&&arguments[0]!==void 0?arguments[0]:!1;d();var g=function(){s.current.forEach(function(v,S){if(v&&v.offsetParent){var _=_f(v),E=_.offsetHeight;l.current.get(S)!==E&&l.current.set(S,_.offsetHeight)}}),o(function(v){return v+1})};m?g():u.current=Gt(g)}function f(m,g){var h=e(m);s.current.get(h),g?(s.current.set(h,g),p()):s.current.delete(h)}return c.useEffect(function(){return d},[]),[f,p,l.current,i]}var KB=14/15;function x_e(e,t,n){var r=c.useRef(!1),a=c.useRef(0),i=c.useRef(0),o=c.useRef(null),s=c.useRef(null),l,u=function(m){if(r.current){var g=Math.ceil(m.touches[0].pageX),h=Math.ceil(m.touches[0].pageY),v=a.current-g,S=i.current-h,_=Math.abs(v)>Math.abs(S);_?a.current=g:i.current=h,n(_,_?v:S)&&m.preventDefault(),clearInterval(s.current),s.current=setInterval(function(){_?v*=KB:S*=KB;var E=Math.floor(_?v:S);(!n(_,E,!0)||Math.abs(E)<=.1)&&clearInterval(s.current)},16)}},d=function(){r.current=!1,l()},p=function(m){l(),m.touches.length===1&&!r.current&&(r.current=!0,a.current=Math.ceil(m.touches[0].pageX),i.current=Math.ceil(m.touches[0].pageY),o.current=m.target,o.current.addEventListener("touchmove",u,{passive:!1}),o.current.addEventListener("touchend",d,{passive:!0}))};l=function(){o.current&&(o.current.removeEventListener("touchmove",u),o.current.removeEventListener("touchend",d))},Qt(function(){return e&&t.current.addEventListener("touchstart",p,{passive:!0}),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",p),l(),clearInterval(s.current)}},[e])}var R_e=10;function w_e(e,t,n,r,a,i,o,s){var l=c.useRef(),u=c.useState(null),d=oe(u,2),p=d[0],f=d[1];return Qt(function(){if(p&&p.times=0;M-=1){var N=a(t[M]),A=n.get(N);if(A===void 0){_=!0;break}if(P-=A,P<=0)break}switch(C){case"top":y=x-v;break;case"bottom":y=R-S+v;break;default:{var D=e.current.scrollTop,L=D+S;xL&&(E="bottom")}}y!==null&&o(y),y!==p.lastTop&&(_=!0)}_&&f(ee(ee({},p),{},{times:p.times+1,targetAlign:E,lastTop:y}))}},[p,e.current]),function(m){if(m==null){s();return}if(Gt.cancel(l.current),typeof m=="number")o(m);else if(m&>(m)==="object"){var g,h=m.align;"index"in m?g=m.index:g=t.findIndex(function(_){return a(_)===m.key});var v=m.offset,S=v===void 0?0:v;f({times:0,index:g,offset:S,originAlign:h})}}}function XB(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var QB=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,a=e.scrollOffset,i=e.scrollRange,o=e.onStartMove,s=e.onStopMove,l=e.onScroll,u=e.horizontal,d=e.spinSize,p=e.containerSize,f=e.style,m=e.thumbStyle,g=c.useState(!1),h=oe(g,2),v=h[0],S=h[1],_=c.useState(null),E=oe(_,2),y=E[0],C=E[1],T=c.useState(null),x=oe(T,2),R=x[0],w=x[1],I=!r,O=c.useRef(),k=c.useRef(),P=c.useState(!1),M=oe(P,2),N=M[0],A=M[1],D=c.useRef(),L=function(){clearTimeout(D.current),A(!0),D.current=setTimeout(function(){A(!1)},3e3)},$=i-p||0,F=p-d||0,B=c.useMemo(function(){if(a===0||$===0)return 0;var H=a/$;return H*F},[a,$,F]),z=function(q){q.stopPropagation(),q.preventDefault()},U=c.useRef({top:B,dragging:v,pageY:y,startTop:R});U.current={top:B,dragging:v,pageY:y,startTop:R};var j=function(q){S(!0),C(XB(q,u)),w(U.current.top),o(),q.stopPropagation(),q.preventDefault()};c.useEffect(function(){var H=function(te){te.preventDefault()},q=O.current,K=k.current;return q.addEventListener("touchstart",H,{passive:!1}),K.addEventListener("touchstart",j,{passive:!1}),function(){q.removeEventListener("touchstart",H),K.removeEventListener("touchstart",j)}},[]);var G=c.useRef();G.current=$;var J=c.useRef();J.current=F,c.useEffect(function(){if(v){var H,q=function(te){var se=U.current,ue=se.dragging,me=se.pageY,de=se.startTop;Gt.cancel(H);var Te=O.current.getBoundingClientRect(),Ee=p/(u?Te.width:Te.height);if(ue){var ge=(XB(te,u)-me)*Ee,re=de;!I&&u?re-=ge:re+=ge;var ne=G.current,ae=J.current,le=ae?re/ae:0,pe=Math.ceil(le*ne);pe=Math.max(pe,0),pe=Math.min(pe,ne),H=Gt(function(){l(pe,u)})}},K=function(){S(!1),s()};return window.addEventListener("mousemove",q,{passive:!0}),window.addEventListener("touchmove",q,{passive:!0}),window.addEventListener("mouseup",K,{passive:!0}),window.addEventListener("touchend",K,{passive:!0}),function(){window.removeEventListener("mousemove",q),window.removeEventListener("touchmove",q),window.removeEventListener("mouseup",K),window.removeEventListener("touchend",K),Gt.cancel(H)}}},[v]),c.useEffect(function(){return L(),function(){clearTimeout(D.current)}},[a]),c.useImperativeHandle(t,function(){return{delayHidden:L}});var Y="".concat(n,"-scrollbar"),X={position:"absolute",visibility:N?null:"hidden"},V={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return u?(X.height=8,X.left=0,X.right=0,X.bottom=0,V.height="100%",V.width=d,I?V.left=B:V.right=B):(X.width=8,X.top=0,X.bottom=0,I?X.right=0:X.left=0,V.width="100%",V.height=d,V.top=B),c.createElement("div",{ref:O,className:ie(Y,W(W(W({},"".concat(Y,"-horizontal"),u),"".concat(Y,"-vertical"),!u),"".concat(Y,"-visible"),N)),style:ee(ee({},X),f),onMouseDown:z,onMouseMove:L},c.createElement("div",{ref:k,className:ie("".concat(Y,"-thumb"),W({},"".concat(Y,"-thumb-moving"),v)),style:ee(ee({},V),m),onMouseDown:j}))}),I_e=20;function ZB(){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,I_e),Math.floor(n)}var O_e=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],N_e=[],A_e={overflowY:"auto",overflowAnchor:"none"};function D_e(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,a=e.className,i=e.height,o=e.itemHeight,s=e.fullHeight,l=s===void 0?!0:s,u=e.style,d=e.data,p=e.children,f=e.itemKey,m=e.virtual,g=e.direction,h=e.scrollWidth,v=e.component,S=v===void 0?"div":v,_=e.onScroll,E=e.onVirtualScroll,y=e.onVisibleChange,C=e.innerProps,T=e.extraRender,x=e.styles,R=Et(e,O_e),w=c.useCallback(function(tt){return typeof f=="function"?f(tt):tt==null?void 0:tt[f]},[f]),I=T_e(w),O=oe(I,4),k=O[0],P=O[1],M=O[2],N=O[3],A=!!(m!==!1&&i&&o),D=c.useMemo(function(){return Object.values(M.maps).reduce(function(tt,it){return tt+it},0)},[M.id,M.maps]),L=A&&d&&(Math.max(o*d.length,D)>i||!!h),$=g==="rtl",F=ie(r,W({},"".concat(r,"-rtl"),$),a),B=d||N_e,z=c.useRef(),U=c.useRef(),j=c.useRef(),G=c.useState(0),J=oe(G,2),Y=J[0],X=J[1],V=c.useState(0),H=oe(V,2),q=H[0],K=H[1],Z=c.useState(!1),te=oe(Z,2),se=te[0],ue=te[1],me=function(){ue(!0)},de=function(){ue(!1)},Te={getKey:w};function Ee(tt){X(function(it){var Ke;typeof tt=="function"?Ke=tt(it):Ke=tt;var qe=De(Ke);return z.current.scrollTop=qe,qe})}var ge=c.useRef({start:0,end:B.length}),re=c.useRef(),ne=S_e(B,w),ae=oe(ne,1),le=ae[0];re.current=le;var pe=c.useMemo(function(){if(!A)return{scrollHeight:void 0,start:0,end:B.length-1,offset:void 0};if(!L){var tt;return{scrollHeight:((tt=U.current)===null||tt===void 0?void 0:tt.offsetHeight)||0,start:0,end:B.length-1,offset:void 0}}for(var it=0,Ke,qe,_t,xt=B.length,kt=0;kt=Y&&Ke===void 0&&(Ke=kt,qe=it),Vt>Y+i&&_t===void 0&&(_t=kt),it=Vt}return Ke===void 0&&(Ke=0,qe=0,_t=Math.ceil(i/o)),_t===void 0&&(_t=B.length-1),_t=Math.min(_t+1,B.length-1),{scrollHeight:it,start:Ke,end:_t,offset:qe}},[L,A,Y,B,N,i]),Re=pe.scrollHeight,Se=pe.start,Pe=pe.end,fe=pe.offset;ge.current.start=Se,ge.current.end=Pe;var ve=c.useState({width:0,height:i}),Ae=oe(ve,2),ye=Ae[0],be=Ae[1],Ne=function(it){be({width:it.offsetWidth,height:it.offsetHeight})},Ie=c.useRef(),xe=c.useRef(),ke=c.useMemo(function(){return ZB(ye.width,h)},[ye.width,h]),rt=c.useMemo(function(){return ZB(ye.height,Re)},[ye.height,Re]),Me=Re-i,Ce=c.useRef(Me);Ce.current=Me;function De(tt){var it=tt;return Number.isNaN(Ce.current)||(it=Math.min(it,Ce.current)),it=Math.max(it,0),it}var Ue=Y<=0,Ye=Y>=Me,He=q<=0,ze=q>=h,Xe=MQ(Ue,Ye,He,ze),Be=function(){return{x:$?-q:q,y:Y}},Je=c.useRef(Be()),mt=Wt(function(tt){if(E){var it=ee(ee({},Be()),tt);(Je.current.x!==it.x||Je.current.y!==it.y)&&(E(it),Je.current=it)}});function pt(tt,it){var Ke=tt;it?(Ur.flushSync(function(){K(Ke)}),mt()):Ee(Ke)}function We(tt){var it=tt.currentTarget.scrollTop;it!==Y&&Ee(it),_==null||_(tt),mt()}var Ve=function(it){var Ke=it,qe=h?h-ye.width:0;return Ke=Math.max(Ke,0),Ke=Math.min(Ke,qe),Ke},Ze=Wt(function(tt,it){it?(Ur.flushSync(function(){K(function(Ke){var qe=Ke+($?-tt:tt);return Ve(qe)})}),mt()):Ee(function(Ke){var qe=Ke+tt;return qe})}),dt=E_e(A,Ue,Ye,He,ze,!!h,Ze),It=oe(dt,2),Nt=It[0],ht=It[1];x_e(A,z,function(tt,it,Ke){return Xe(tt,it,Ke)?!1:(Nt({preventDefault:function(){},deltaX:tt?it:0,deltaY:tt?0:it}),!0)}),Qt(function(){function tt(Ke){A&&Ke.preventDefault()}var it=z.current;return it.addEventListener("wheel",Nt,{passive:!1}),it.addEventListener("DOMMouseScroll",ht,{passive:!0}),it.addEventListener("MozMousePixelScroll",tt,{passive:!1}),function(){it.removeEventListener("wheel",Nt),it.removeEventListener("DOMMouseScroll",ht),it.removeEventListener("MozMousePixelScroll",tt)}},[A]),Qt(function(){if(h){var tt=Ve(q);K(tt),mt({x:tt})}},[ye.width,h]);var ct=function(){var it,Ke;(it=Ie.current)===null||it===void 0||it.delayHidden(),(Ke=xe.current)===null||Ke===void 0||Ke.delayHidden()},ot=w_e(z,B,M,o,w,function(){return P(!0)},Ee,ct);c.useImperativeHandle(t,function(){return{nativeElement:j.current,getScrollInfo:Be,scrollTo:function(it){function Ke(qe){return qe&>(qe)==="object"&&("left"in qe||"top"in qe)}Ke(it)?(it.left!==void 0&&K(Ve(it.left)),ot(it.top)):ot(it)}}}),Qt(function(){if(y){var tt=B.slice(Se,Pe+1);y(tt,B)}},[Se,Pe,B]);var et=y_e(B,w,M,o),vt=T==null?void 0:T({start:Se,end:Pe,virtual:L,offsetX:q,offsetY:fe,rtl:$,getSize:et}),nt=__e(B,Se,Pe,h,q,k,p,Te),bt=null;i&&(bt=ee(W({},l?"height":"maxHeight",i),A_e),A&&(bt.overflowY="hidden",h&&(bt.overflowX="hidden"),se&&(bt.pointerEvents="none")));var Ct={};return $&&(Ct.dir="rtl"),c.createElement("div",_e({ref:j,style:ee(ee({},u),{},{position:"relative"}),className:F},Ct,R),c.createElement(da,{onResize:Ne},c.createElement(S,{className:"".concat(r,"-holder"),style:bt,ref:z,onScroll:We,onMouseEnter:ct},c.createElement(DQ,{prefixCls:r,height:Re,offsetX:q,offsetY:fe,scrollWidth:h,onInnerResize:P,ref:U,innerProps:C,rtl:$,extra:vt},nt))),L&&Re>i&&c.createElement(QB,{ref:Ie,prefixCls:r,scrollOffset:Y,scrollRange:Re,rtl:$,onScroll:pt,onStartMove:me,onStopMove:de,spinSize:rt,containerSize:ye.height,style:x==null?void 0:x.verticalScrollBar,thumbStyle:x==null?void 0:x.verticalScrollBarThumb}),L&&h>ye.width&&c.createElement(QB,{ref:xe,prefixCls:r,scrollOffset:q,scrollRange:h,rtl:$,onScroll:pt,onStartMove:me,onStopMove:de,spinSize:ke,containerSize:ye.width,horizontal:!0,style:x==null?void 0:x.horizontalScrollBar,thumbStyle:x==null?void 0:x.horizontalScrollBarThumb}))}var Ub=c.forwardRef(D_e);Ub.displayName="List";function M_e(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var L_e=["disabled","title","children","style","className"];function JB(e){return typeof e=="string"||typeof e=="number"}var k_e=function(t,n){var r=yQ(),a=r.prefixCls,i=r.id,o=r.open,s=r.multiple,l=r.mode,u=r.searchValue,d=r.toggleOpen,p=r.notFoundContent,f=r.onPopupScroll,m=c.useContext(KL),g=m.maxCount,h=m.flattenOptions,v=m.onActiveValue,S=m.defaultActiveFirstOption,_=m.onSelect,E=m.menuItemSelectedIcon,y=m.rawValues,C=m.fieldNames,T=m.virtual,x=m.direction,R=m.listHeight,w=m.listItemHeight,I=m.optionRender,O="".concat(a,"-item"),k=wl(function(){return h},[o,h],function(H,q){return q[0]&&H[1]!==q[1]}),P=c.useRef(null),M=c.useMemo(function(){return s&&aD(g)&&(y==null?void 0:y.size)>=g},[s,g,y==null?void 0:y.size]),N=function(q){q.preventDefault()},A=function(q){var K;(K=P.current)===null||K===void 0||K.scrollTo(typeof q=="number"?{index:q}:q)},D=function(q){for(var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Z=k.length,te=0;te1&&arguments[1]!==void 0?arguments[1]:!1;B(q);var Z={source:K?"keyboard":"mouse"},te=k[q];if(!te){v(null,-1,Z);return}v(te.value,q,Z)};c.useEffect(function(){z(S!==!1?D(0):-1)},[k.length,u]);var U=c.useCallback(function(H){return y.has(H)&&l!=="combobox"},[l,$e(y).toString(),y.size]);c.useEffect(function(){var H=setTimeout(function(){if(!s&&o&&y.size===1){var K=Array.from(y)[0],Z=k.findIndex(function(te){var se=te.data;return se.value===K});Z!==-1&&(z(Z),A(Z))}});if(o){var q;(q=P.current)===null||q===void 0||q.scrollTo(void 0)}return function(){return clearTimeout(H)}},[o,u]);var j=function(q){q!==void 0&&_(q,{selected:!y.has(q)}),s||d(!1)};if(c.useImperativeHandle(n,function(){return{onKeyDown:function(q){var K=q.which,Z=q.ctrlKey;switch(K){case Fe.N:case Fe.P:case Fe.UP:case Fe.DOWN:{var te=0;if(K===Fe.UP?te=-1:K===Fe.DOWN?te=1:M_e()&&Z&&(K===Fe.N?te=1:K===Fe.P&&(te=-1)),te!==0){var se=D(F+te,te);A(se),z(se,!0)}break}case Fe.ENTER:{var ue,me=k[F];me&&!(me!=null&&(ue=me.data)!==null&&ue!==void 0&&ue.disabled)&&!M?j(me.value):j(void 0),o&&q.preventDefault();break}case Fe.ESC:d(!1),o&&q.stopPropagation()}},onKeyUp:function(){},scrollTo:function(q){A(q)}}}),k.length===0)return c.createElement("div",{role:"listbox",id:"".concat(i,"_list"),className:"".concat(O,"-empty"),onMouseDown:N},p);var G=Object.keys(C).map(function(H){return C[H]}),J=function(q){return q.label};function Y(H,q){var K=H.group;return{role:K?"presentation":"option",id:"".concat(i,"_list_").concat(q)}}var X=function(q){var K=k[q];if(!K)return null;var Z=K.data||{},te=Z.value,se=K.group,ue=Qn(Z,!0),me=J(K);return K?c.createElement("div",_e({"aria-label":typeof me=="string"&&!se?me:null},ue,{key:q},Y(K,q),{"aria-selected":U(te)}),te):null},V={role:"listbox",id:"".concat(i,"_list")};return c.createElement(c.Fragment,null,T&&c.createElement("div",_e({},V,{style:{height:0,width:0,overflow:"hidden"}}),X(F-1),X(F),X(F+1)),c.createElement(Ub,{itemKey:"key",ref:P,data:k,height:R,itemHeight:w,fullHeight:!1,onMouseDown:N,onScroll:f,virtual:T,direction:x,innerProps:T?null:V},function(H,q){var K=H.group,Z=H.groupOption,te=H.data,se=H.label,ue=H.value,me=te.key;if(K){var de,Te=(de=te.title)!==null&&de!==void 0?de:JB(se)?se.toString():void 0;return c.createElement("div",{className:ie(O,"".concat(O,"-group"),te.className),title:Te},se!==void 0?se:me)}var Ee=te.disabled,ge=te.title;te.children;var re=te.style,ne=te.className,ae=Et(te,L_e),le=An(ae,G),pe=U(ue),Re=Ee||!pe&&M,Se="".concat(O,"-option"),Pe=ie(O,Se,ne,W(W(W(W({},"".concat(Se,"-grouped"),Z),"".concat(Se,"-active"),F===q&&!Re),"".concat(Se,"-disabled"),Re),"".concat(Se,"-selected"),pe)),fe=J(H),ve=!E||typeof E=="function"||pe,Ae=typeof fe=="number"?fe:fe||ue,ye=JB(Ae)?Ae.toString():void 0;return ge!==void 0&&(ye=ge),c.createElement("div",_e({},Qn(le),T?{}:Y(H,q),{"aria-selected":pe,className:Pe,title:ye,onMouseMove:function(){F===q||Re||z(q)},onClick:function(){Re||j(ue)},style:re}),c.createElement("div",{className:"".concat(Se,"-content")},typeof I=="function"?I(H,{index:q}):Ae),c.isValidElement(E)||pe,ve&&c.createElement(Bb,{className:"".concat(O,"-option-state"),customizeIcon:E,customizeIconProps:{value:ue,disabled:Re,isSelected:pe}},pe?"✓":null))}))},P_e=c.forwardRef(k_e);const $_e=function(e,t){var n=c.useRef({values:new Map,options:new Map}),r=c.useMemo(function(){var i=n.current,o=i.values,s=i.options,l=e.map(function(p){if(p.label===void 0){var f;return ee(ee({},p),{},{label:(f=o.get(p.value))===null||f===void 0?void 0:f.label})}return p}),u=new Map,d=new Map;return l.forEach(function(p){u.set(p.value,p),d.set(p.value,t.get(p.value)||s.get(p.value))}),n.current.values=u,n.current.options=d,l},[e,t]),a=c.useCallback(function(i){return t.get(i)||n.current.options.get(i)},[t]);return[r,a]};function ly(e,t){return IQ(e).join("").toUpperCase().includes(t)}const F_e=function(e,t,n,r,a){return c.useMemo(function(){if(!n||r===!1)return e;var i=t.options,o=t.label,s=t.value,l=[],u=typeof r=="function",d=n.toUpperCase(),p=u?r:function(m,g){return a?ly(g[a],d):g[i]?ly(g[o!=="children"?o:"label"],d):ly(g[s],d)},f=u?function(m){return iD(m)}:function(m){return m};return e.forEach(function(m){if(m[i]){var g=p(n,f(m));if(g)l.push(m);else{var h=m[i].filter(function(v){return p(n,f(v))});h.length&&l.push(ee(ee({},m),{},W({},i,h)))}return}p(n,f(m))&&l.push(m)}),l},[e,r,a,n,t])};var e3=0,B_e=Jr();function U_e(){var e;return B_e?(e=e3,e3+=1):e="TEST_OR_SSR",e}function LQ(e){var t=c.useState(),n=oe(t,2),r=n[0],a=n[1];return c.useEffect(function(){a("rc_select_".concat(U_e()))},[]),e||r}var j_e=["children","value"],z_e=["children"];function H_e(e){var t=e,n=t.key,r=t.props,a=r.children,i=r.value,o=Et(r,j_e);return ee({key:n,value:i!==void 0?i:n,children:a},o)}function kQ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return br(e).map(function(n,r){if(!c.isValidElement(n)||!n.type)return null;var a=n,i=a.type.isSelectOptGroup,o=a.key,s=a.props,l=s.children,u=Et(s,z_e);return t||!i?H_e(n):ee(ee({key:"__RC_SELECT_GRP__".concat(o===null?r:o,"__"),label:o},u),{},{options:kQ(l)})}).filter(function(n){return n})}var G_e=function(t,n,r,a,i){return c.useMemo(function(){var o=t,s=!t;s&&(o=kQ(n));var l=new Map,u=new Map,d=function(m,g,h){h&&typeof h=="string"&&m.set(g[h],g)},p=function f(m){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,h=0;h0?We(dt.options):dt.options}):dt})},ye=c.useMemo(function(){return _?Ae(ve):ve},[ve,_,H]),be=c.useMemo(function(){return p_e(ye,{fieldNames:Y,childrenAsData:G})},[ye,Y,G]),Ne=function(Ve){var Ze=ue(Ve);if(Ee(Ze),F&&(Ze.length!==ae.length||Ze.some(function(Nt,ht){var ct;return((ct=ae[ht])===null||ct===void 0?void 0:ct.value)!==(Nt==null?void 0:Nt.value)}))){var dt=$?Ze:Ze.map(function(Nt){return Nt.value}),It=Ze.map(function(Nt){return iD(le(Nt.value))});F(j?dt:dt[0],j?It:It[0])}},Ie=c.useState(null),xe=oe(Ie,2),ke=xe[0],rt=xe[1],Me=c.useState(0),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1],Ye=R!==void 0?R:r!=="combobox",He=c.useCallback(function(We,Ve){var Ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},dt=Ze.source,It=dt===void 0?"keyboard":dt;Ue(Ve),o&&r==="combobox"&&We!==null&&It==="keyboard"&&rt(String(We))},[o,r]),ze=function(Ve,Ze,dt){var It=function(){var tt,it=le(Ve);return[$?{label:it==null?void 0:it[Y.label],value:Ve,key:(tt=it==null?void 0:it.key)!==null&&tt!==void 0?tt:Ve}:Ve,iD(it)]};if(Ze&&m){var Nt=It(),ht=oe(Nt,2),ct=ht[0],ot=ht[1];m(ct,ot)}else if(!Ze&&g&&dt!=="clear"){var et=It(),vt=oe(et,2),nt=vt[0],bt=vt[1];g(nt,bt)}},Xe=t3(function(We,Ve){var Ze,dt=j?Ve.selected:!0;dt?Ze=j?[].concat($e(ae),[We]):[We]:Ze=ae.filter(function(It){return It.value!==We}),Ne(Ze),ze(We,dt),r==="combobox"?rt(""):(!oD||f)&&(q(""),rt(""))}),Be=function(Ve,Ze){Ne(Ve);var dt=Ze.type,It=Ze.values;(dt==="remove"||dt==="clear")&&It.forEach(function(Nt){ze(Nt.value,!1,dt)})},Je=function(Ve,Ze){if(q(Ve),rt(null),Ze.source==="submit"){var dt=(Ve||"").trim();if(dt){var It=Array.from(new Set([].concat($e(Re),[dt])));Ne(It),ze(dt,!0),q("")}return}Ze.source!=="blur"&&(r==="combobox"&&Ne(Ve),d==null||d(Ve))},mt=function(Ve){var Ze=Ve;r!=="tags"&&(Ze=Ve.map(function(It){var Nt=te.get(It);return Nt==null?void 0:Nt.value}).filter(function(It){return It!==void 0}));var dt=Array.from(new Set([].concat($e(Re),$e(Ze))));Ne(dt),dt.forEach(function(It){ze(It,!0)})},pt=c.useMemo(function(){var We=I!==!1&&v!==!1;return ee(ee({},K),{},{flattenOptions:be,onActiveValue:He,defaultActiveFirstOption:Ye,onSelect:Xe,menuItemSelectedIcon:w,rawValues:Re,fieldNames:Y,virtual:We,direction:O,listHeight:P,listItemHeight:N,childrenAsData:G,maxCount:B,optionRender:T})},[B,K,be,He,Ye,Xe,w,Re,Y,I,v,O,P,N,G,T]);return c.createElement(KL.Provider,{value:pt},c.createElement(AQ,_e({},z,{id:U,prefixCls:i,ref:t,omitDomProps:q_e,mode:r,displayValues:pe,onDisplayValuesChange:Be,direction:O,searchValue:H,onSearch:Je,autoClearSearchValue:f,onSearchSplit:mt,dropdownMatchSelectWidth:v,OptionList:P_e,emptyOptions:!be.length,activeValue:ke,activeDescendantId:"".concat(U,"_list_").concat(De)})))}),ZL=Y_e;ZL.Option=QL;ZL.OptGroup=XL;function Cs(e,t,n){return ie({[`${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 Nl=(e,t)=>t||e,K_e=()=>{const[,e]=ia(),n=new an(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return c.createElement("svg",{style:n,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,"empty image"),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("g",{transform:"translate(24 31.67)"},c.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),c.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"}),c.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)"}),c.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"}),c.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"})),c.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"}),c.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},c.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),c.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},X_e=()=>{const[,e]=ia(),{colorFill:t,colorFillTertiary:n,colorFillQuaternary:r,colorBgContainer:a}=e,{borderColor:i,shadowColor:o,contentColor:s}=c.useMemo(()=>({borderColor:new an(t).onBackground(a).toHexShortString(),shadowColor:new an(n).onBackground(a).toHexShortString(),contentColor:new an(r).onBackground(a).toHexShortString()}),[t,n,r,a]);return c.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},c.createElement("title",null,"Simple Empty"),c.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},c.createElement("ellipse",{fill:o,cx:"32",cy:"33",rx:"32",ry:"7"}),c.createElement("g",{fillRule:"nonzero",stroke:i},c.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"}),c.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}))))},Q_e=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:a,fontSize:i,lineHeight:o}=e;return{[t]:{marginInline:r,fontSize:i,lineHeight:o,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}}}}},Z_e=cn("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,a=Ht(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[Q_e(a)]});var J_e=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=PQ,description:i,children:o,imageStyle:s,style:l}=e,u=J_e(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:d,direction:p,empty:f}=c.useContext(lt),m=d("empty",r),[g,h,v]=Z_e(m),[S]=Go("Empty"),_=typeof i<"u"?i:S==null?void 0:S.description,E=typeof _=="string"?_:"empty";let y=null;return typeof a=="string"?y=c.createElement("img",{alt:E,src:a}):y=a,g(c.createElement("div",Object.assign({className:ie(h,v,m,f==null?void 0:f.className,{[`${m}-normal`]:a===$Q,[`${m}-rtl`]:p==="rtl"},t,n),style:Object.assign(Object.assign({},f==null?void 0:f.style),l)},u),c.createElement("div",{className:`${m}-image`,style:s},y),_&&c.createElement("div",{className:`${m}-description`},_),o&&c.createElement("div",{className:`${m}-footer`},o)))};ls.PRESENTED_IMAGE_DEFAULT=PQ;ls.PRESENTED_IMAGE_SIMPLE=$Q;const jb=e=>{const{componentName:t}=e,{getPrefixCls:n}=c.useContext(lt),r=n("empty");switch(t){case"Table":case"List":return ce.createElement(ls,{image:ls.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return ce.createElement(ls,{image:ls.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return ce.createElement(ls,null)}},Uc=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,a;const{variant:i,[e]:o}=c.useContext(lt),s=c.useContext(tQ),l=o==null?void 0:o.variant;let u;typeof t<"u"?u=t:n===!1?u="borderless":u=(a=(r=s??l)!==null&&r!==void 0?r:i)!==null&&a!==void 0?a:"outlined";const d=Fde.includes(u);return[u,d]},ebe=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 FQ(e,t){return e||ebe(t)}const n3=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"}},tbe=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,a=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,o=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},on(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, - ${i}${s}bottomLeft - `]:{animationName:Lb},[` - ${a}${s}topLeft, - ${i}${s}topLeft, - ${a}${s}topRight, - ${i}${s}topRight - `]:{animationName:Pb},[`${o}${s}bottomLeft`]:{animationName:kb},[` - ${o}${s}topLeft, - ${o}${s}topRight - `]:{animationName:$b},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},n3(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},vi),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary},[`&:has(+ ${r}-option-selected:not(${r}-option-disabled))`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${r}-option-selected:not(${r}-option-disabled)`]:{borderStartStartRadius:0,borderStartEndRadius:0}}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},n3(e)),{color:e.colorTextDisabled})}),"&-rtl":{direction:"rtl"}})},jo(e,"slide-up"),jo(e,"slide-down"),Cd(e,"move-up"),Cd(e,"move-down")]},BQ=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:a}=e,i=e.max(e.calc(n).sub(r).equal(),0),o=e.max(e.calc(i).sub(a).equal(),0);return{basePadding:i,containerPadding:o,itemHeight:Q(t),itemLineHeight:Q(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},nbe=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},UQ=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:a,paddingXS:i,multipleItemColorDisabled:o,multipleItemBorderColorDisabled:s,colorIcon:l,colorIconHover:u,INTERNAL_FIXED_ITEM_MARGIN:d}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:d,borderRadius:r,cursor:"default",transition:`font-size ${a}, line-height ${a}, height ${a}`,marginInlineEnd:e.calc(d).mul(2).equal(),paddingInlineStart:i,paddingInlineEnd:e.calc(i).div(2).equal(),[`${t}-disabled&`]:{color:o,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(i).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},Hd()),{display:"inline-flex",alignItems:"center",color:l,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:u}})}}}},rbe=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,a=`${n}-selection-overflow`,i=e.multipleSelectItemHeight,o=nbe(e),s=t?`${n}-${t}`:"",l=BQ(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},UQ(e)),{[`${n}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Q(r)} 0`,lineHeight:Q(i),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:Q(l.itemLineHeight)},[`${a}-item + ${a}-item`]:{[`${n}-selection-search`]:{marginInlineStart:0}},[`${a}-item-suffix`]:{height:"100%"},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(o).equal(),"\n &-input,\n &-mirror\n ":{height:i,fontFamily:e.fontFamily,lineHeight:Q(i),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.inputPaddingHorizontalBase,insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function cy(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",a={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` - &${n}-show-arrow ${n}-selector, - &${n}-allow-clear ${n}-selector - `]:{paddingInlineEnd:e.calc(e.fontSizeIcon).add(e.controlPaddingHorizontal).equal()}}};return[rbe(e,t),a]}const abe=e=>{const{componentCls:t}=e,n=Ht(e,{selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS}),r=Ht(e,{fontSize:e.fontSizeLG,selectHeight:e.controlHeightLG,multipleSelectItemHeight:e.multipleItemHeightLG,borderRadius:e.borderRadiusLG,borderRadiusSM:e.borderRadius});return[cy(e),cy(n,"sm"),{[`${t}-multiple${t}-sm`]:{[`${t}-selection-placeholder`]:{insetInline:e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal()},[`${t}-selection-search`]:{marginInlineStart:2}}},cy(r,"lg")]};function uy(e,t){const{componentCls:n,inputPaddingHorizontalBase:r,borderRadius:a}=e,i=e.calc(e.controlHeight).sub(e.calc(e.lineWidth).mul(2)).equal(),o=t?`${n}-${t}`:"";return{[`${n}-single${o}`]:{fontSize:e.fontSize,height:e.controlHeight,[`${n}-selector`]:Object.assign(Object.assign({},on(e,!0)),{display:"flex",borderRadius:a,[`${n}-selection-search`]:{position:"absolute",top:0,insetInlineStart:r,insetInlineEnd:r,bottom:0,"&-input":{width:"100%",WebkitAppearance:"textfield"}},[` - ${n}-selection-item, - ${n}-selection-placeholder - `]:{padding:0,lineHeight:Q(i),transition:`all ${e.motionDurationSlow}, visibility 0s`,alignSelf:"center"},[`${n}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${n}-selection-item:empty:after`,`${n}-selection-placeholder:empty:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[` - &${n}-show-arrow ${n}-selection-item, - &${n}-show-arrow ${n}-selection-placeholder - `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",padding:`0 ${Q(r)}`,[`${n}-selection-search-input`]:{height:i},"&:after":{lineHeight:Q(i)}}},[`&${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 ${Q(r)}`,"&:after":{display:"none"}}}}}}}function ibe(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[uy(e),uy(Ht(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 ${Q(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()}}}},uy(Ht(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const obe=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:a,controlHeightSM:i,controlHeightLG:o,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:u,colorText:d,fontWeightStrong:p,controlItemBgActive:f,controlItemBgHover:m,colorBgContainer:g,colorFillSecondary:h,colorBgContainerDisabled:v,colorTextDisabled:S}=e,_=s*2,E=r*2,y=Math.min(a-_,a-E),C=Math.min(i-_,i-E),T=Math.min(o-_,o-E);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:u+50,optionSelectedColor:d,optionSelectedFontWeight:p,optionSelectedBg:f,optionActiveBg:m,optionPadding:`${(a-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:a,selectorBg:g,clearBg:g,singleItemHeightLG:o,multipleItemBg:h,multipleItemBorderColor:"transparent",multipleItemHeight:y,multipleItemHeightSM:C,multipleItemHeightLG:T,multipleSelectorBgDisabled:v,multipleItemColorDisabled:S,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25)}},jQ=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:a}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${Q(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 ${Q(a)} ${t.activeShadowColor}`,outline:0}}}},r3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},jQ(e,t))}),sbe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},jQ(e,{borderColor:e.colorBorder,hoverBorderHover:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadowColor:e.controlOutline})),r3(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeShadowColor:e.colorErrorOutline})),r3(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:`${Q(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),zQ=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${Q(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}}}},a3=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},zQ(e,t))}),lbe=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},zQ(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.colorPrimary,color:e.colorText})),a3(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),a3(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:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),cbe=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:`${Q(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}}}}),ube=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},sbe(e)),lbe(e)),cbe(e))}),dbe=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"}}}},pbe=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"}}}},fbe=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:a}=e;return{[n]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},dbe(e)),pbe(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},vi),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},vi),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},Hd()),{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,background:e.colorBgBase}}),[`${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}},mbe=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},fbe(e),ibe(e),abe(e),tbe(e),{[`${t}-rtl`]:{direction:"rtl"}},Zm(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},HQ=cn("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Ht(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[mbe(r),ube(r)]},obe,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var gbe={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"},hbe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:gbe}))},zb=c.forwardRef(hbe),vbe={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"},_be=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:vbe}))},Hb=c.forwardRef(_be),bbe={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"},Sbe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:bbe}))},Gb=c.forwardRef(Sbe);function JL(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:a,loading:i,multiple:o,hasFeedback:s,prefixCls:l,showSuffixIcon:u,feedbackIcon:d,showArrow:p,componentName:f}=e;const m=n??c.createElement(Bc,null),g=_=>t===null&&!s&&!p?null:c.createElement(c.Fragment,null,u!==!1&&_,s&&d);let h=null;if(t!==void 0)h=g(t);else if(i)h=g(c.createElement(Ss,{spin:!0}));else{const _=`${l}-suffix`;h=E=>{let{open:y,showSearch:C}=E;return g(y&&C?c.createElement(Gb,{className:_}):c.createElement(Hb,{className:_}))}}let v=null;r!==void 0?v=r:o?v=c.createElement(zb,null):v=null;let S=null;return a!==void 0?S=a:S=c.createElement(na,null),{clearIcon:m,suffixIcon:h,itemIcon:v,removeIcon:S}}function GQ(e,t){return t!==void 0?t:e!==null}var Ebe=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:i,rootClassName:o,getPopupContainer:s,popupClassName:l,dropdownClassName:u,listHeight:d=256,placement:p,listItemHeight:f,size:m,disabled:g,notFoundContent:h,status:v,builtinPlacements:S,dropdownMatchSelectWidth:_,popupMatchSelectWidth:E,direction:y,style:C,allowClear:T,variant:x,dropdownStyle:R,transitionName:w,tagRender:I,maxCount:O}=e,k=Ebe(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:M,renderEmpty:N,direction:A,virtual:D,popupMatchSelectWidth:L,popupOverflow:$,select:F}=c.useContext(lt),[,B]=ia(),z=f??(B==null?void 0:B.controlHeight),U=M("select",r),j=M(),G=y??A,{compactSize:J,compactItemClassnames:Y}=ws(U,G),[X,V]=Uc("select",x,a),H=Zn(U),[q,K,Z]=HQ(U,H),te=c.useMemo(()=>{const{mode:xe}=e;if(xe!=="combobox")return xe===VQ?"combobox":xe},[e.mode]),se=te==="multiple"||te==="tags",ue=GQ(e.suffixIcon,e.showArrow),me=(n=E??_)!==null&&n!==void 0?n:L,{status:de,hasFeedback:Te,isFormItemInput:Ee,feedbackIcon:ge}=c.useContext(Gr),re=Nl(de,v);let ne;h!==void 0?ne=h:te==="combobox"?ne=null:ne=(N==null?void 0:N("Select"))||c.createElement(jb,{componentName:"Select"});const{suffixIcon:ae,itemIcon:le,removeIcon:pe,clearIcon:Re}=JL(Object.assign(Object.assign({},k),{multiple:se,hasFeedback:Te,feedbackIcon:ge,showSuffixIcon:ue,prefixCls:U,componentName:"Select"})),Se=T===!0?{clearIcon:Re}:T,Pe=An(k,["suffixIcon","itemIcon"]),fe=ie(l||u,{[`${U}-dropdown-${G}`]:G==="rtl"},o,Z,H,K),ve=xr(xe=>{var ke;return(ke=m??J)!==null&&ke!==void 0?ke:xe}),Ae=c.useContext(ea),ye=g??Ae,be=ie({[`${U}-lg`]:ve==="large",[`${U}-sm`]:ve==="small",[`${U}-rtl`]:G==="rtl",[`${U}-${X}`]:V,[`${U}-in-form-item`]:Ee},Cs(U,re,Te),Y,F==null?void 0:F.className,i,o,Z,H,K),Ne=c.useMemo(()=>p!==void 0?p:G==="rtl"?"bottomRight":"bottomLeft",[p,G]),[Ie]=bo("SelectLike",R==null?void 0:R.zIndex);return q(c.createElement(ZL,Object.assign({ref:t,virtual:D,showSearch:F==null?void 0:F.showSearch},Pe,{style:Object.assign(Object.assign({},F==null?void 0:F.style),C),dropdownMatchSelectWidth:me,transitionName:ya(j,"slide-up",w),builtinPlacements:FQ(S,$),listHeight:d,listItemHeight:z,mode:te,prefixCls:U,placement:Ne,direction:G,suffixIcon:ae,menuItemSelectedIcon:le,removeIcon:pe,allowClear:Se,notFoundContent:ne,className:be,getPopupContainer:s||P,dropdownClassName:fe,disabled:ye,dropdownStyle:Object.assign(Object.assign({},R),{zIndex:Ie}),maxCount:se?O:void 0,tagRender:se?I:void 0})))},$r=c.forwardRef(ybe),Cbe=ag($r);$r.SECRET_COMBOBOX_MODE_DO_NOT_USE=VQ;$r.Option=QL;$r.OptGroup=XL;$r._InternalPanelDoNotUseOrYouWillBeFired=Cbe;const Oc=["xxl","xl","lg","md","sm","xs"],Tbe=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)`}),xbe=e=>{const t=e,n=[].concat(Oc).reverse();return n.forEach((r,a)=>{const i=r.toUpperCase(),o=`screen${i}Min`,s=`screen${i}`;if(!(t[o]<=t[s]))throw new Error(`${o}<=${s} fails : !(${t[o]}<=${t[s]})`);if(a{const n=new Map;let r=-1,a={};return{matchHandlers:{},dispatch(i){return a=i,n.forEach(o=>o(a)),n.size>=1},subscribe(i){return n.size||this.register(),r+=1,n.set(r,i),i(a),r},unsubscribe(i){n.delete(i),n.size||this.unregister()},unregister(){Object.keys(t).forEach(i=>{const o=t[i],s=this.matchHandlers[o];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(i=>{const o=t[i],s=u=>{let{matches:d}=u;this.dispatch(Object.assign(Object.assign({},a),{[i]:d}))},l=window.matchMedia(o);l.addListener(s),this.matchHandlers[o]={mql:l,listener:s},s(l)})},responsiveMap:t}},[e])}function ek(){const[,e]=c.useReducer(t=>t+1,0);return e}function Vb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=c.useRef({}),n=ek(),r=qQ();return Qt(()=>{const a=r.subscribe(i=>{t.current=i,e&&n()});return()=>r.unsubscribe(a)},[]),t.current}const __=e=>e?typeof e=="function"?e():e:null;function tk(e){var t=e.children,n=e.prefixCls,r=e.id,a=e.overlayInnerStyle,i=e.className,o=e.style;return c.createElement("div",{className:ie("".concat(n,"-content"),i),style:o},c.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:a},typeof t=="function"?t():t))}var lu={shiftX:64,adjustY:1},cu={adjustX:1,shiftY:!0},Ci=[0,0],Rbe={left:{points:["cr","cl"],overflow:cu,offset:[-4,0],targetOffset:Ci},right:{points:["cl","cr"],overflow:cu,offset:[4,0],targetOffset:Ci},top:{points:["bc","tc"],overflow:lu,offset:[0,-4],targetOffset:Ci},bottom:{points:["tc","bc"],overflow:lu,offset:[0,4],targetOffset:Ci},topLeft:{points:["bl","tl"],overflow:lu,offset:[0,-4],targetOffset:Ci},leftTop:{points:["tr","tl"],overflow:cu,offset:[-4,0],targetOffset:Ci},topRight:{points:["br","tr"],overflow:lu,offset:[0,-4],targetOffset:Ci},rightTop:{points:["tl","tr"],overflow:cu,offset:[4,0],targetOffset:Ci},bottomRight:{points:["tr","br"],overflow:lu,offset:[0,4],targetOffset:Ci},rightBottom:{points:["bl","br"],overflow:cu,offset:[4,0],targetOffset:Ci},bottomLeft:{points:["tl","bl"],overflow:lu,offset:[0,4],targetOffset:Ci},leftBottom:{points:["br","bl"],overflow:cu,offset:[-4,0],targetOffset:Ci}},wbe=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],Ibe=function(t,n){var r=t.overlayClassName,a=t.trigger,i=a===void 0?["hover"]:a,o=t.mouseEnterDelay,s=o===void 0?0:o,l=t.mouseLeaveDelay,u=l===void 0?.1:l,d=t.overlayStyle,p=t.prefixCls,f=p===void 0?"rc-tooltip":p,m=t.children,g=t.onVisibleChange,h=t.afterVisibleChange,v=t.transitionName,S=t.animation,_=t.motion,E=t.placement,y=E===void 0?"right":E,C=t.align,T=C===void 0?{}:C,x=t.destroyTooltipOnHide,R=x===void 0?!1:x,w=t.defaultVisible,I=t.getTooltipContainer,O=t.overlayInnerStyle;t.arrowContent;var k=t.overlay,P=t.id,M=t.showArrow,N=M===void 0?!0:M,A=Et(t,wbe),D=c.useRef(null);c.useImperativeHandle(n,function(){return D.current});var L=ee({},A);"visible"in t&&(L.popupVisible=t.visible);var $=function(){return c.createElement(tk,{key:"content",prefixCls:f,id:P,overlayInnerStyle:O},k)};return c.createElement(og,_e({popupClassName:r,prefixCls:f,popup:$,action:i,builtinPlacements:Rbe,popupPlacement:y,ref:D,popupAlign:T,getPopupContainer:I,onPopupVisibleChange:g,afterPopupVisibleChange:h,popupTransitionName:v,popupAnimation:S,popupMotion:_,defaultPopupVisible:w,autoDestroy:R,mouseLeaveDelay:u,popupStyle:d,mouseEnterDelay:s,arrow:N},L),m)};const Obe=c.forwardRef(Ibe);function qb(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,a=t/2,i=0,o=a,s=r*1/Math.sqrt(2),l=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)),p=2*a-u,f=d,m=2*a-s,g=l,h=2*a-i,v=o,S=a*Math.sqrt(2)+r*(Math.sqrt(2)-2),_=r*(Math.sqrt(2)-1),E=`polygon(${_}px 100%, 50% ${_}px, ${2*a-_}px 100%, ${_}px 100%)`,y=`path('M ${i} ${o} A ${r} ${r} 0 0 0 ${s} ${l} L ${u} ${d} A ${n} ${n} 0 0 1 ${p} ${f} L ${m} ${g} A ${r} ${r} 0 0 0 ${h} ${v} Z')`;return{arrowShadowWidth:S,arrowPath:y,arrowPolygon:E}}const WQ=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:a,arrowPath:i,arrowShadowWidth:o,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[a,i]},content:'""'},"&::after":{content:'""',position:"absolute",width:o,height:o,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Q(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},YQ=8;function Wb(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?YQ:r}}function fh(e,t){return e?t:{}}function nk(e,t,n){const{componentCls:r,boxShadowPopoverArrow:a,arrowOffsetVertical:i,arrowOffsetHorizontal:o}=e,{arrowDistance:s=0,arrowPlacement:l={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"},WQ(e,t,a)),{"&:before":{background:t}})]},fh(!!l.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":o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${Q(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}})),fh(!!l.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":o,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:o}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${Q(o)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:o}}}})),fh(!!l.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:i},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:i}})),fh(!!l.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:i},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:i}}))}}function Nbe(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const a=r&&typeof r=="object"?r:{},i={};switch(e){case"top":case"bottom":i.shiftX=t.arrowOffsetHorizontal*2+n,i.shiftY=!0,i.adjustY=!0;break;case"left":case"right":i.shiftY=t.arrowOffsetVertical*2+n,i.shiftX=!0,i.adjustX=!0;break}const o=Object.assign(Object.assign({},i),a);return o.shiftX||(o.adjustX=!0),o.shiftY||(o.adjustY=!0),o}const i3={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"]}},Abe={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"]}},Dbe=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function KQ(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:a,borderRadius:i,visibleFirst:o}=e,s=t/2,l={};return Object.keys(i3).forEach(u=>{const d=r&&Abe[u]||i3[u],p=Object.assign(Object.assign({},d),{offset:[0,0],dynamicInset:!0});switch(l[u]=p,Dbe.has(u)&&(p.autoArrow=!1),u){case"top":case"topLeft":case"topRight":p.offset[1]=-s-a;break;case"bottom":case"bottomLeft":case"bottomRight":p.offset[1]=s+a;break;case"left":case"leftTop":case"leftBottom":p.offset[0]=-s-a;break;case"right":case"rightTop":case"rightBottom":p.offset[0]=s+a;break}const f=Wb({contentRadius:i,limitVerticalRadius:!0});if(r)switch(u){case"topLeft":case"bottomLeft":p.offset[0]=-f.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":p.offset[0]=f.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":p.offset[1]=-f.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":p.offset[1]=f.arrowOffsetHorizontal*2-s;break}p.overflow=Nbe(u,f,t,n),o&&(p.htmlRegion="visibleFirst")}),l}const Mbe=e=>{const{componentCls:t,tooltipMaxWidth:n,tooltipColor:r,tooltipBg:a,tooltipBorderRadius:i,zIndexPopup:o,controlHeight:s,boxShadowSecondary:l,paddingSM:u,paddingXS:d}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),{position:"absolute",zIndex:o,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:`${Q(e.calc(u).div(2).equal())} ${Q(d)}`,color:r,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:a,borderRadius:i,boxShadow:l,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${t}-inner`]:{borderRadius:e.min(i,YQ)}},[`${t}-content`]:{position:"relative"}}),eX(e,(p,f)=>{let{darkColor:m}=f;return{[`&${t}-${p}`]:{[`${t}-inner`]:{backgroundColor:m},[`${t}-arrow`]:{"--antd-arrow-background-color":m}}}})),{"&-rtl":{direction:"rtl"}})},nk(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Lbe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},Wb({contentRadius:e.borderRadius,limitVerticalRadius:!0})),qb(Ht(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),XQ=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return cn("Tooltip",r=>{const{borderRadius:a,colorTextLightSolid:i,colorBgSpotlight:o}=r,s=Ht(r,{tooltipMaxWidth:250,tooltipColor:i,tooltipBorderRadius:a,tooltipBg:o});return[Mbe(s),Kd(r,"zoom-big-fast")]},Lbe,{resetStyle:!1,injectStyle:t})(e)},kbe=fm.map(e=>`${e}-inverse`),Pbe=["success","processing","error","default","warning"];function QQ(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat($e(kbe),$e(fm)).includes(e):fm.includes(e)}function $be(e){return Pbe.includes(e)}function ZQ(e,t){const n=QQ(t),r=ie({[`${e}-${t}`]:t&&n}),a={},i={};return t&&!n&&(a.background=t,i["--antd-arrow-background-color"]=t),{className:r,overlayStyle:a,arrowStyle:i}}const Fbe=e=>{const{prefixCls:t,className:n,placement:r="top",title:a,color:i,overlayInnerStyle:o}=e,{getPrefixCls:s}=c.useContext(lt),l=s("tooltip",t),[u,d,p]=XQ(l),f=ZQ(l,i),m=f.arrowStyle,g=Object.assign(Object.assign({},o),f.overlayStyle),h=ie(d,p,l,`${l}-pure`,`${l}-placement-${r}`,n,f.className);return u(c.createElement("div",{className:h,style:m},c.createElement("div",{className:`${l}-arrow`}),c.createElement(tk,Object.assign({},e,{className:d,prefixCls:l,overlayInnerStyle:g}),a)))};var Bbe=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:i,getTooltipContainer:o,overlayClassName:s,color:l,overlayInnerStyle:u,children:d,afterOpenChange:p,afterVisibleChange:f,destroyTooltipOnHide:m,arrow:g=!0,title:h,overlay:v,builtinPlacements:S,arrowPointAtCenter:_=!1,autoAdjustOverflow:E=!0}=e,y=!!g,[,C]=ia(),{getPopupContainer:T,getPrefixCls:x,direction:R}=c.useContext(lt),w=Il(),I=c.useRef(null),O=()=>{var ne;(ne=I.current)===null||ne===void 0||ne.forceAlign()};c.useImperativeHandle(t,()=>{var ne;return{forceAlign:O,forcePopupAlign:()=>{w.deprecated(!1,"forcePopupAlign","forceAlign"),O()},nativeElement:(ne=I.current)===null||ne===void 0?void 0:ne.nativeElement}});const[k,P]=ln(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),M=!h&&!v&&h!==0,N=ne=>{var ae,le;P(M?!1:ne),M||((ae=e.onOpenChange)===null||ae===void 0||ae.call(e,ne),(le=e.onVisibleChange)===null||le===void 0||le.call(e,ne))},A=c.useMemo(()=>{var ne,ae;let le=_;return typeof g=="object"&&(le=(ae=(ne=g.pointAtCenter)!==null&&ne!==void 0?ne:g.arrowPointAtCenter)!==null&&ae!==void 0?ae:_),S||KQ({arrowPointAtCenter:le,autoAdjustOverflow:E,arrowWidth:y?C.sizePopupArrow:0,borderRadius:C.borderRadius,offset:C.marginXXS,visibleFirst:!0})},[_,g,S,C]),D=c.useMemo(()=>h===0?h:v||h||"",[v,h]),L=c.createElement(Uo,{space:!0},typeof D=="function"?D():D),{getPopupContainer:$,placement:F="top",mouseEnterDelay:B=.1,mouseLeaveDelay:z=.1,overlayStyle:U,rootClassName:j}=e,G=Bbe(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),J=x("tooltip",a),Y=x(),X=e["data-popover-inject"];let V=k;!("open"in e)&&!("visible"in e)&&M&&(V=!1);const H=c.isValidElement(d)&&!bX(d)?d:c.createElement("span",null,d),q=H.props,K=!q.className||typeof q.className=="string"?ie(q.className,i||`${J}-open`):q.className,[Z,te,se]=XQ(J,!X),ue=ZQ(J,l),me=ue.arrowStyle,de=Object.assign(Object.assign({},u),ue.overlayStyle),Te=ie(s,{[`${J}-rtl`]:R==="rtl"},ue.className,j,te,se),[Ee,ge]=bo("Tooltip",G.zIndex),re=c.createElement(Obe,Object.assign({},G,{zIndex:Ee,showArrow:y,placement:F,mouseEnterDelay:B,mouseLeaveDelay:z,prefixCls:J,overlayClassName:Te,overlayStyle:Object.assign(Object.assign({},me),U),getTooltipContainer:$||o||T,ref:I,builtinPlacements:A,overlay:L,visible:V,onVisibleChange:N,afterVisibleChange:p??f,overlayInnerStyle:de,arrowContent:c.createElement("span",{className:`${J}-arrow-content`}),motion:{motionName:ya(Y,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!m}),V?Tr(H,{className:K}):H);return Z(c.createElement(Km.Provider,{value:ge},re))}),Jt=Ube;Jt._InternalPanelDoNotUseOrYouWillBeFired=Fbe;const jbe=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:a,innerPadding:i,boxShadowSecondary:o,colorTextHeading:s,borderRadiusLG:l,zIndexPopup:u,titleMarginBottom:d,colorBgElevated:p,popoverBg:f,titleBorderBottom:m,innerContentPadding:g,titlePadding:h}=e;return[{[t]:Object.assign(Object.assign({},on(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":p,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:l,boxShadow:o,padding:i},[`${t}-title`]:{minWidth:r,marginBottom:d,color:s,fontWeight:a,borderBottom:m,padding:h},[`${t}-inner-content`]:{color:n,padding:g}})},nk(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},zbe=e=>{const{componentCls:t}=e;return{[t]:fm.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Hbe=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:a,wireframe:i,zIndexPopupBase:o,borderRadiusLG:s,marginXS:l,lineType:u,colorSplit:d,paddingSM:p}=e,f=n-r,m=f/2,g=f/2-t,h=a;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:o+30},qb(e)),Wb({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:i?0:12,titleMarginBottom:i?0:l,titlePadding:i?`${m}px ${h}px ${g}px`:0,titleBorderBottom:i?`${t}px ${u} ${d}`:"none",innerContentPadding:i?`${p}px ${h}px`:0})},JQ=cn("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Ht(e,{popoverBg:t,popoverColor:n});return[jbe(r),zbe(r),Kd(r,"zoom-big")]},Hbe,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var Gbe=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:c.createElement(c.Fragment,null,t&&c.createElement("div",{className:`${r}-title`},t),n&&c.createElement("div",{className:`${r}-inner-content`},n))},Vbe=e=>{const{hashId:t,prefixCls:n,className:r,style:a,placement:i="top",title:o,content:s,children:l}=e,u=__(o),d=__(s),p=ie(t,n,`${n}-pure`,`${n}-placement-${i}`,r);return c.createElement("div",{className:p,style:a},c.createElement("div",{className:`${n}-arrow`}),c.createElement(tk,Object.assign({},e,{className:t,prefixCls:n}),l||c.createElement(eZ,{prefixCls:n,title:u,content:d})))},qbe=e=>{const{prefixCls:t,className:n}=e,r=Gbe(e,["prefixCls","className"]),{getPrefixCls:a}=c.useContext(lt),i=a("popover",t),[o,s,l]=JQ(i);return o(c.createElement(Vbe,Object.assign({},r,{prefixCls:i,hashId:s,className:ie(n,l)})))};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{var n,r;const{prefixCls:a,title:i,content:o,overlayClassName:s,placement:l="top",trigger:u="hover",children:d,mouseEnterDelay:p=.1,mouseLeaveDelay:f=.1,onOpenChange:m,overlayStyle:g={}}=e,h=Wbe(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle"]),{getPrefixCls:v}=c.useContext(lt),S=v("popover",a),[_,E,y]=JQ(S),C=v(),T=ie(s,E,y),[x,R]=ln(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),w=(M,N)=>{R(M,!0),m==null||m(M,N)},I=M=>{M.keyCode===Fe.ESC&&w(!1,M)},O=M=>{w(M)},k=__(i),P=__(o);return _(c.createElement(Jt,Object.assign({placement:l,trigger:u,mouseEnterDelay:p,mouseLeaveDelay:f,overlayStyle:g},h,{prefixCls:S,overlayClassName:T,ref:t,open:x,onOpenChange:O,overlay:k||P?c.createElement(eZ,{prefixCls:S,title:k,content:P}):null,transitionName:ya(C,"zoom-big",h.transitionName),"data-popover-inject":!0}),Tr(d,{onKeyDown:M=>{var N,A;c.isValidElement(d)&&((A=d==null?void 0:(N=d.props).onKeyDown)===null||A===void 0||A.call(N,M)),I(M)}})))}),tZ=Ybe;tZ._InternalPanelDoNotUseOrYouWillBeFired=qbe;var Kbe={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"},Xbe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Kbe}))},$i=c.forwardRef(Xbe),Qbe=Fe.ESC,Zbe=Fe.TAB;function Jbe(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,a=e.autoFocus,i=e.overlayRef,o=c.useRef(!1),s=function(){if(t){var p,f;(p=n.current)===null||p===void 0||(f=p.focus)===null||f===void 0||f.call(p),r==null||r(!1)}},l=function(){var p;return(p=i.current)!==null&&p!==void 0&&p.focus?(i.current.focus(),o.current=!0,!0):!1},u=function(p){switch(p.keyCode){case Qbe:s();break;case Zbe:{var f=!1;o.current||(f=l()),f?p.preventDefault():s();break}}};c.useEffect(function(){return t?(window.addEventListener("keydown",u),a&&Gt(l,3),function(){window.removeEventListener("keydown",u),o.current=!1}):function(){o.current=!1}},[t])}var eSe=c.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,a=e.prefixCls,i=c.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),o=aa(t,i==null?void 0:i.ref);return ce.createElement(ce.Fragment,null,r&&ce.createElement("div",{className:"".concat(a,"-arrow")}),ce.cloneElement(i,{ref:fo(i)?o:void 0}))}),uu={adjustX:1,adjustY:1},du=[0,0],tSe={topLeft:{points:["bl","tl"],overflow:uu,offset:[0,-4],targetOffset:du},top:{points:["bc","tc"],overflow:uu,offset:[0,-4],targetOffset:du},topRight:{points:["br","tr"],overflow:uu,offset:[0,-4],targetOffset:du},bottomLeft:{points:["tl","bl"],overflow:uu,offset:[0,4],targetOffset:du},bottom:{points:["tc","bc"],overflow:uu,offset:[0,4],targetOffset:du},bottomRight:{points:["tr","br"],overflow:uu,offset:[0,4],targetOffset:du}},nSe=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function rSe(e,t){var n,r=e.arrow,a=r===void 0?!1:r,i=e.prefixCls,o=i===void 0?"rc-dropdown":i,s=e.transitionName,l=e.animation,u=e.align,d=e.placement,p=d===void 0?"bottomLeft":d,f=e.placements,m=f===void 0?tSe:f,g=e.getPopupContainer,h=e.showAction,v=e.hideAction,S=e.overlayClassName,_=e.overlayStyle,E=e.visible,y=e.trigger,C=y===void 0?["hover"]:y,T=e.autoFocus,x=e.overlay,R=e.children,w=e.onVisibleChange,I=Et(e,nSe),O=ce.useState(),k=oe(O,2),P=k[0],M=k[1],N="visible"in e?E:P,A=ce.useRef(null),D=ce.useRef(null),L=ce.useRef(null);ce.useImperativeHandle(t,function(){return A.current});var $=function(X){M(X),w==null||w(X)};Jbe({visible:N,triggerRef:L,onVisibleChange:$,autoFocus:T,overlayRef:D});var F=function(X){var V=e.onOverlayClick;M(!1),V&&V(X)},B=function(){return ce.createElement(eSe,{ref:D,overlay:x,prefixCls:o,arrow:a})},z=function(){return typeof x=="function"?B:B()},U=function(){var X=e.minOverlayWidthMatchTrigger,V=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?X:!V},j=function(){var X=e.openClassName;return X!==void 0?X:"".concat(o,"-open")},G=ce.cloneElement(R,{className:ie((n=R.props)===null||n===void 0?void 0:n.className,N&&j()),ref:fo(R)?aa(L,R.ref):void 0}),J=v;return!J&&C.indexOf("contextMenu")!==-1&&(J=["click"]),ce.createElement(og,_e({builtinPlacements:m},I,{prefixCls:o,ref:A,popupClassName:ie(S,W({},"".concat(o,"-show-arrow"),a)),popupStyle:_,action:C,showAction:h,hideAction:J,popupPlacement:p,popupAlign:u,popupTransitionName:s,popupAnimation:l,popupVisible:N,stretch:U()?"minWidth":"",popup:z(),onPopupVisibleChange:$,onPopupClick:F,getPopupContainer:g}),G)}const nZ=ce.forwardRef(rSe);var rZ=c.createContext(null);function aZ(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function iZ(e){var t=c.useContext(rZ);return aZ(t,e)}var aSe=["children","locked"],go=c.createContext(null);function iSe(e,t){var n=ee({},e);return Object.keys(t).forEach(function(r){var a=t[r];a!==void 0&&(n[r]=a)}),n}function vm(e){var t=e.children,n=e.locked,r=Et(e,aSe),a=c.useContext(go),i=wl(function(){return iSe(a,r)},[a,r],function(o,s){return!n&&(o[0]!==s[0]||!Ui(o[1],s[1],!0))});return c.createElement(go.Provider,{value:i},t)}var oSe=[],oZ=c.createContext(null);function Yb(){return c.useContext(oZ)}var sZ=c.createContext(oSe);function Xd(e){var t=c.useContext(sZ);return c.useMemo(function(){return e!==void 0?[].concat($e(t),[e]):t},[t,e])}var lZ=c.createContext(null),rk=c.createContext({});function o3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(qd(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),a=e.getAttribute("tabindex"),i=Number(a),o=null;return a&&!Number.isNaN(i)?o=i:r&&o===null&&(o=0),r&&e.disabled&&(o=null),o!==null&&(o>=0||t&&o<0)}return!1}function sSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=$e(e.querySelectorAll("*")).filter(function(r){return o3(r,t)});return o3(e,t)&&n.unshift(e),n}var sD=Fe.LEFT,lD=Fe.RIGHT,cD=Fe.UP,vv=Fe.DOWN,_v=Fe.ENTER,cZ=Fe.ESC,kp=Fe.HOME,Pp=Fe.END,s3=[cD,vv,sD,lD];function lSe(e,t,n,r){var a,i,o,s,l="prev",u="next",d="children",p="parent";if(e==="inline"&&r===_v)return{inlineTrigger:!0};var f=(a={},W(a,cD,l),W(a,vv,u),a),m=(i={},W(i,sD,n?u:l),W(i,lD,n?l:u),W(i,vv,d),W(i,_v,d),i),g=(o={},W(o,cD,l),W(o,vv,u),W(o,_v,d),W(o,cZ,p),W(o,sD,n?d:p),W(o,lD,n?p:d),o),h={inline:f,horizontal:m,vertical:g,inlineSub:f,horizontalSub:g,verticalSub:g},v=(s=h["".concat(e).concat(t?"":"Sub")])===null||s===void 0?void 0:s[r];switch(v){case l:return{offset:-1,sibling:!0};case u:return{offset:1,sibling:!0};case p:return{offset:-1,sibling:!1};case d:return{offset:1,sibling:!1};default:return null}}function cSe(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function uSe(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function ak(e,t){var n=sSe(e,!0);return n.filter(function(r){return t.has(r)})}function l3(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var a=ak(e,t),i=a.length,o=a.findIndex(function(s){return n===s});return r<0?o===-1?o=i-1:o-=1:r>0&&(o+=1),o=(o+i)%i,a[o]}var uD=function(t,n){var r=new Set,a=new Map,i=new Map;return t.forEach(function(o){var s=document.querySelector("[data-menu-id='".concat(aZ(n,o),"']"));s&&(r.add(s),i.set(s,o),a.set(o,s))}),{elements:r,key2element:a,element2key:i}};function dSe(e,t,n,r,a,i,o,s,l,u){var d=c.useRef(),p=c.useRef();p.current=t;var f=function(){Gt.cancel(d.current)};return c.useEffect(function(){return function(){f()}},[]),function(m){var g=m.which;if([].concat(s3,[_v,cZ,kp,Pp]).includes(g)){var h=i(),v=uD(h,r),S=v,_=S.elements,E=S.key2element,y=S.element2key,C=E.get(t),T=uSe(C,_),x=y.get(T),R=lSe(e,o(x,!0).length===1,n,g);if(!R&&g!==kp&&g!==Pp)return;(s3.includes(g)||[kp,Pp].includes(g))&&m.preventDefault();var w=function(D){if(D){var L=D,$=D.querySelector("a");$!=null&&$.getAttribute("href")&&(L=$);var F=y.get(D);s(F),f(),d.current=Gt(function(){p.current===F&&L.focus()})}};if([kp,Pp].includes(g)||R.sibling||!T){var I;!T||e==="inline"?I=a.current:I=cSe(T);var O,k=ak(I,_);g===kp?O=k[0]:g===Pp?O=k[k.length-1]:O=l3(I,_,T,R.offset),w(O)}else if(R.inlineTrigger)l(x);else if(R.offset>0)l(x,!0),f(),d.current=Gt(function(){v=uD(h,r);var A=T.getAttribute("aria-controls"),D=document.getElementById(A),L=l3(D,v.elements);w(L)},5);else if(R.offset<0){var P=o(x,!0),M=P[P.length-2],N=E.get(M);l(M,!1),w(N)}}u==null||u(m)}}function pSe(e){Promise.resolve().then(e)}var ik="__RC_UTIL_PATH_SPLIT__",c3=function(t){return t.join(ik)},fSe=function(t){return t.split(ik)},dD="rc-menu-more";function mSe(){var e=c.useState({}),t=oe(e,2),n=t[1],r=c.useRef(new Map),a=c.useRef(new Map),i=c.useState([]),o=oe(i,2),s=o[0],l=o[1],u=c.useRef(0),d=c.useRef(!1),p=function(){d.current||n({})},f=c.useCallback(function(E,y){var C=c3(y);a.current.set(C,E),r.current.set(E,C),u.current+=1;var T=u.current;pSe(function(){T===u.current&&p()})},[]),m=c.useCallback(function(E,y){var C=c3(y);a.current.delete(C),r.current.delete(E)},[]),g=c.useCallback(function(E){l(E)},[]),h=c.useCallback(function(E,y){var C=r.current.get(E)||"",T=fSe(C);return y&&s.includes(T[0])&&T.unshift(dD),T},[s]),v=c.useCallback(function(E,y){return E.filter(function(C){return C!==void 0}).some(function(C){var T=h(C,!0);return T.includes(y)})},[h]),S=function(){var y=$e(r.current.keys());return s.length&&y.push(dD),y},_=c.useCallback(function(E){var y="".concat(r.current.get(E)).concat(ik),C=new Set;return $e(a.current.keys()).forEach(function(T){T.startsWith(y)&&C.add(a.current.get(T))}),C},[]);return c.useEffect(function(){return function(){d.current=!0}},[]),{registerPath:f,unregisterPath:m,refreshOverflowKeys:g,isSubPathKey:v,getKeyPath:h,getKeys:S,getSubPathKeys:_}}function Xp(e){var t=c.useRef(e);t.current=e;var n=c.useCallback(function(){for(var r,a=arguments.length,i=new Array(a),o=0;o1&&(_.motionAppear=!1);var E=_.onVisibleChanged;return _.onVisibleChanged=function(y){return!f.current&&!y&&v(!0),E==null?void 0:E(y)},h?null:c.createElement(vm,{mode:i,locked:!f.current},c.createElement(ta,_e({visible:S},_,{forceRender:l,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(y){var C=y.className,T=y.style;return c.createElement(ok,{id:t,className:C,style:T},a)}))}var ASe=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],DSe=["active"],MSe=c.forwardRef(function(e,t){var n,r=e.style,a=e.className,i=e.title,o=e.eventKey;e.warnKey;var s=e.disabled,l=e.internalPopupClose,u=e.children,d=e.itemIcon,p=e.expandIcon,f=e.popupClassName,m=e.popupOffset,g=e.popupStyle,h=e.onClick,v=e.onMouseEnter,S=e.onMouseLeave,_=e.onTitleClick,E=e.onTitleMouseEnter,y=e.onTitleMouseLeave,C=Et(e,ASe),T=iZ(o),x=c.useContext(go),R=x.prefixCls,w=x.mode,I=x.openKeys,O=x.disabled,k=x.overflowDisabled,P=x.activeKey,M=x.selectedKeys,N=x.itemIcon,A=x.expandIcon,D=x.onItemClick,L=x.onOpenChange,$=x.onActive,F=c.useContext(rk),B=F._internalRenderSubMenuItem,z=c.useContext(lZ),U=z.isSubPathKey,j=Xd(),G="".concat(R,"-submenu"),J=O||s,Y=c.useRef(),X=c.useRef(),V=d??N,H=p??A,q=I.includes(o),K=!k&&q,Z=U(M,o),te=uZ(o,J,E,y),se=te.active,ue=Et(te,DSe),me=c.useState(!1),de=oe(me,2),Te=de[0],Ee=de[1],ge=function(Ie){J||Ee(Ie)},re=function(Ie){ge(!0),v==null||v({key:o,domEvent:Ie})},ne=function(Ie){ge(!1),S==null||S({key:o,domEvent:Ie})},ae=c.useMemo(function(){return se||(w!=="inline"?Te||U([P],o):!1)},[w,se,P,Te,o,U]),le=dZ(j.length),pe=function(Ie){J||(_==null||_({key:o,domEvent:Ie}),w==="inline"&&L(o,!q))},Re=Xp(function(Ne){h==null||h(b_(Ne)),D(Ne)}),Se=function(Ie){w!=="inline"&&L(o,Ie)},Pe=function(){$(o)},fe=T&&"".concat(T,"-popup"),ve=c.createElement("div",_e({role:"menuitem",style:le,className:"".concat(G,"-title"),tabIndex:J?null:-1,ref:Y,title:typeof i=="string"?i:null,"data-menu-id":k&&T?null:T,"aria-expanded":K,"aria-haspopup":!0,"aria-controls":fe,"aria-disabled":J,onClick:pe,onFocus:Pe},ue),i,c.createElement(pZ,{icon:w!=="horizontal"?H:void 0,props:ee(ee({},e),{},{isOpen:K,isSubMenu:!0})},c.createElement("i",{className:"".concat(G,"-arrow")}))),Ae=c.useRef(w);if(w!=="inline"&&j.length>1?Ae.current="vertical":Ae.current=w,!k){var ye=Ae.current;ve=c.createElement(OSe,{mode:ye,prefixCls:G,visible:!l&&K&&w!=="inline",popupClassName:f,popupOffset:m,popupStyle:g,popup:c.createElement(vm,{mode:ye==="horizontal"?"vertical":ye},c.createElement(ok,{id:fe,ref:X},u)),disabled:J,onVisibleChange:Se},ve)}var be=c.createElement(co.Item,_e({ref:t,role:"none"},C,{component:"li",style:r,className:ie(G,"".concat(G,"-").concat(w),a,(n={},W(n,"".concat(G,"-open"),K),W(n,"".concat(G,"-active"),ae),W(n,"".concat(G,"-selected"),Z),W(n,"".concat(G,"-disabled"),J),n)),onMouseEnter:re,onMouseLeave:ne}),ve,!k&&c.createElement(NSe,{id:fe,open:K,keyPath:j},u));return B&&(be=B(be,e,{selected:Z,active:ae,open:K,disabled:J})),c.createElement(vm,{onItemClick:Re,mode:w==="horizontal"?"vertical":w,itemIcon:V,expandIcon:H},be)}),Kb=c.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Xd(n),i=sk(r,a),o=Yb();c.useEffect(function(){if(o)return o.registerPath(n,a),function(){o.unregisterPath(n,a)}},[a]);var s;return o?s=i:s=c.createElement(MSe,_e({ref:t},e),i),c.createElement(sZ.Provider,{value:a},s)});function lk(e){var t=e.className,n=e.style,r=c.useContext(go),a=r.prefixCls,i=Yb();return i?null:c.createElement("li",{role:"separator",className:ie("".concat(a,"-item-divider"),t),style:n})}var LSe=["className","title","eventKey","children"],kSe=c.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var a=e.children,i=Et(e,LSe),o=c.useContext(go),s=o.prefixCls,l="".concat(s,"-item-group");return c.createElement("li",_e({ref:t,role:"presentation"},i,{onClick:function(d){return d.stopPropagation()},className:ie(l,n)}),c.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:typeof r=="string"?r:void 0},r),c.createElement("ul",{role:"group",className:"".concat(l,"-list")},a))}),ck=c.forwardRef(function(e,t){var n=e.eventKey,r=e.children,a=Xd(n),i=sk(r,a),o=Yb();return o?i:c.createElement(kSe,_e({ref:t},An(e,["warnKey"])),i)}),PSe=["label","children","key","type"];function pD(e,t){var n=t.item,r=t.group,a=t.submenu,i=t.divider;return(e||[]).map(function(o,s){if(o&>(o)==="object"){var l=o,u=l.label,d=l.children,p=l.key,f=l.type,m=Et(l,PSe),g=p??"tmp-".concat(s);return d||f==="group"?f==="group"?c.createElement(r,_e({key:g},m,{title:u}),pD(d,t)):c.createElement(a,_e({key:g},m,{title:u}),pD(d,t)):f==="divider"?c.createElement(i,_e({key:g},m)):c.createElement(n,_e({key:g},m),u)}return null}).filter(function(o){return o})}function d3(e,t,n,r){var a=e,i=ee({divider:lk,item:sg,group:ck,submenu:Kb},r);return t&&(a=pD(t,i)),sk(a,n)}var $Se=["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"],Ul=[],FSe=c.forwardRef(function(e,t){var n,r,a=e,i=a.prefixCls,o=i===void 0?"rc-menu":i,s=a.rootClassName,l=a.style,u=a.className,d=a.tabIndex,p=d===void 0?0:d,f=a.items,m=a.children,g=a.direction,h=a.id,v=a.mode,S=v===void 0?"vertical":v,_=a.inlineCollapsed,E=a.disabled,y=a.disabledOverflow,C=a.subMenuOpenDelay,T=C===void 0?.1:C,x=a.subMenuCloseDelay,R=x===void 0?.1:x,w=a.forceSubMenuRender,I=a.defaultOpenKeys,O=a.openKeys,k=a.activeKey,P=a.defaultActiveFirst,M=a.selectable,N=M===void 0?!0:M,A=a.multiple,D=A===void 0?!1:A,L=a.defaultSelectedKeys,$=a.selectedKeys,F=a.onSelect,B=a.onDeselect,z=a.inlineIndent,U=z===void 0?24:z,j=a.motion,G=a.defaultMotions,J=a.triggerSubMenuAction,Y=J===void 0?"hover":J,X=a.builtinPlacements,V=a.itemIcon,H=a.expandIcon,q=a.overflowedIndicator,K=q===void 0?"...":q,Z=a.overflowedIndicatorPopupClassName,te=a.getPopupContainer,se=a.onClick,ue=a.onOpenChange,me=a.onKeyDown;a.openAnimation,a.openTransitionName;var de=a._internalRenderMenuItem,Te=a._internalRenderSubMenuItem,Ee=a._internalComponents,ge=Et(a,$Se),re=c.useMemo(function(){return[d3(m,f,Ul,Ee),d3(m,f,Ul,{})]},[m,f,Ee]),ne=oe(re,2),ae=ne[0],le=ne[1],pe=c.useState(!1),Re=oe(pe,2),Se=Re[0],Pe=Re[1],fe=c.useRef(),ve=hSe(h),Ae=g==="rtl",ye=ln(I,{value:O,postState:function(Ut){return Ut||Ul}}),be=oe(ye,2),Ne=be[0],Ie=be[1],xe=function(Ut){var jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function St(){Ie(Ut),ue==null||ue(Ut)}jt?Ur.flushSync(St):St()},ke=c.useState(Ne),rt=oe(ke,2),Me=rt[0],Ce=rt[1],De=c.useRef(!1),Ue=c.useMemo(function(){return(S==="inline"||S==="vertical")&&_?["vertical",_]:[S,!1]},[S,_]),Ye=oe(Ue,2),He=Ye[0],ze=Ye[1],Xe=He==="inline",Be=c.useState(He),Je=oe(Be,2),mt=Je[0],pt=Je[1],We=c.useState(ze),Ve=oe(We,2),Ze=Ve[0],dt=Ve[1];c.useEffect(function(){pt(He),dt(ze),De.current&&(Xe?Ie(Me):xe(Ul))},[He,ze]);var It=c.useState(0),Nt=oe(It,2),ht=Nt[0],ct=Nt[1],ot=ht>=ae.length-1||mt!=="horizontal"||y;c.useEffect(function(){Xe&&Ce(Ne)},[Ne]),c.useEffect(function(){return De.current=!0,function(){De.current=!1}},[]);var et=mSe(),vt=et.registerPath,nt=et.unregisterPath,bt=et.refreshOverflowKeys,Ct=et.isSubPathKey,tt=et.getKeyPath,it=et.getKeys,Ke=et.getSubPathKeys,qe=c.useMemo(function(){return{registerPath:vt,unregisterPath:nt}},[vt,nt]),_t=c.useMemo(function(){return{isSubPathKey:Ct}},[Ct]);c.useEffect(function(){bt(ot?Ul:ae.slice(ht+1).map(function(qt){return qt.key}))},[ht,ot]);var xt=ln(k||P&&((n=ae[0])===null||n===void 0?void 0:n.key),{value:k}),kt=oe(xt,2),tn=kt[0],nn=kt[1],rn=Xp(function(qt){nn(qt)}),Vt=Xp(function(){nn(void 0)});c.useImperativeHandle(t,function(){return{list:fe.current,focus:function(Ut){var jt,St=it(),Tt=uD(St,ve),sn=Tt.elements,yn=Tt.key2element,nr=Tt.element2key,cr=ak(fe.current,sn),vr=tn??(cr[0]?nr.get(cr[0]):(jt=ae.find(function(ut){return!ut.props.disabled}))===null||jt===void 0?void 0:jt.key),zt=yn.get(vr);if(vr&&zt){var Ft;zt==null||(Ft=zt.focus)===null||Ft===void 0||Ft.call(zt,Ut)}}}});var yt=ln(L||[],{value:$,postState:function(Ut){return Array.isArray(Ut)?Ut:Ut==null?Ul:[Ut]}}),Ot=oe(yt,2),Mt=Ot[0],En=Ot[1],Hn=function(Ut){if(N){var jt=Ut.key,St=Mt.includes(jt),Tt;D?St?Tt=Mt.filter(function(yn){return yn!==jt}):Tt=[].concat($e(Mt),[jt]):Tt=[jt],En(Tt);var sn=ee(ee({},Ut),{},{selectedKeys:Tt});St?B==null||B(sn):F==null||F(sn)}!D&&Ne.length&&mt!=="inline"&&xe(Ul)},lr=Xp(function(qt){se==null||se(b_(qt)),Hn(qt)}),tr=Xp(function(qt,Ut){var jt=Ne.filter(function(Tt){return Tt!==qt});if(Ut)jt.push(qt);else if(mt!=="inline"){var St=Ke(qt);jt=jt.filter(function(Tt){return!St.has(Tt)})}Ui(Ne,jt,!0)||xe(jt,!0)}),Rr=function(Ut,jt){var St=jt??!Ne.includes(Ut);tr(Ut,St)},wr=dSe(mt,tn,Ae,ve,fe,it,tt,nn,Rr,me);c.useEffect(function(){Pe(!0)},[]);var Gn=c.useMemo(function(){return{_internalRenderMenuItem:de,_internalRenderSubMenuItem:Te}},[de,Te]),Yt=mt!=="horizontal"||y?ae:ae.map(function(qt,Ut){return c.createElement(vm,{key:qt.key,overflowDisabled:Ut>ht},qt)}),Bt=c.createElement(co,_e({id:h,ref:fe,prefixCls:"".concat(o,"-overflow"),component:"ul",itemComponent:sg,className:ie(o,"".concat(o,"-root"),"".concat(o,"-").concat(mt),u,(r={},W(r,"".concat(o,"-inline-collapsed"),Ze),W(r,"".concat(o,"-rtl"),Ae),r),s),dir:g,style:l,role:"menu",tabIndex:p,data:Yt,renderRawItem:function(Ut){return Ut},renderRawRest:function(Ut){var jt=Ut.length,St=jt?ae.slice(-jt):null;return c.createElement(Kb,{eventKey:dD,title:K,disabled:ot,internalPopupClose:jt===0,popupClassName:Z},St)},maxCount:mt!=="horizontal"||y?co.INVALIDATE:co.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Ut){ct(Ut)},onKeyDown:wr},ge));return c.createElement(rk.Provider,{value:Gn},c.createElement(rZ.Provider,{value:ve},c.createElement(vm,{prefixCls:o,rootClassName:s,mode:mt,openKeys:Ne,rtl:Ae,disabled:E,motion:Se?j:null,defaultMotions:Se?G:null,activeKey:tn,onActive:rn,onInactive:Vt,selectedKeys:Mt,inlineIndent:U,subMenuOpenDelay:T,subMenuCloseDelay:R,forceSubMenuRender:w,builtinPlacements:X,triggerSubMenuAction:Y,getPopupContainer:te,itemIcon:V,expandIcon:H,onItemClick:lr,onOpenChange:tr},c.createElement(lZ.Provider,{value:_t},Bt),c.createElement("div",{style:{display:"none"},"aria-hidden":!0},c.createElement(oZ.Provider,{value:qe},le)))))}),Qd=FSe;Qd.Item=sg;Qd.SubMenu=Kb;Qd.ItemGroup=ck;Qd.Divider=lk;var BSe={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"},USe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:BSe}))},jSe=c.forwardRef(USe),zSe={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"},HSe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:zSe}))},Nc=c.forwardRef(HSe);const GSe=e=>!isNaN(parseFloat(e))&&isFinite(e),mZ=c.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var VSe=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}`}})(),Qb=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:a,children:i,defaultCollapsed:o=!1,theme:s="dark",style:l={},collapsible:u=!1,reverseArrow:d=!1,width:p=200,collapsedWidth:f=80,zeroWidthTriggerStyle:m,breakpoint:g,onCollapse:h,onBreakpoint:v}=e,S=VSe(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:_}=c.useContext(mZ),[E,y]=c.useState("collapsed"in e?e.collapsed:o),[C,T]=c.useState(!1);c.useEffect(()=>{"collapsed"in e&&y(e.collapsed)},[e.collapsed]);const x=(P,M)=>{"collapsed"in e||y(P),h==null||h(P,M)},R=c.useRef();R.current=P=>{T(P.matches),v==null||v(P.matches),E!==P.matches&&x(P.matches,"responsive")},c.useEffect(()=>{function P(N){return R.current(N)}let M;if(typeof window<"u"){const{matchMedia:N}=window;if(N&&g&&g in p3){M=N(`screen and (max-width: ${p3[g]})`);try{M.addEventListener("change",P)}catch{M.addListener(P)}P(M)}}return()=>{try{M==null||M.removeEventListener("change",P)}catch{M==null||M.removeListener(P)}}},[g]),c.useEffect(()=>{const P=qSe("ant-sider-");return _.addSider(P),()=>_.removeSider(P)},[]);const w=()=>{x(!E,"clickTrigger")},{getPrefixCls:I}=c.useContext(lt),O=()=>{const P=I("layout-sider",n),M=An(S,["collapsed"]),N=E?f:p,A=GSe(N)?`${N}px`:String(N),D=parseFloat(String(f||0))===0?c.createElement("span",{onClick:w,className:ie(`${P}-zero-width-trigger`,`${P}-zero-width-trigger-${d?"right":"left"}`),style:m},a||c.createElement(jSe,null)):null,F={expanded:d?c.createElement($i,null):c.createElement(Nc,null),collapsed:d?c.createElement(Nc,null):c.createElement($i,null)}[E?"collapsed":"expanded"],B=a!==null?D||c.createElement("div",{className:`${P}-trigger`,onClick:w,style:{width:A}},a||F):null,z=Object.assign(Object.assign({},l),{flex:`0 0 ${A}`,maxWidth:A,minWidth:A,width:A}),U=ie(P,`${P}-${s}`,{[`${P}-collapsed`]:!!E,[`${P}-has-trigger`]:u&&a!==null&&!D,[`${P}-below`]:!!C,[`${P}-zero-width`]:parseFloat(A)===0},r);return c.createElement("aside",Object.assign({className:U},M,{style:z,ref:t}),c.createElement("div",{className:`${P}-children`},i),u||C&&D?B:null)},k=c.useMemo(()=>({siderCollapsed:E}),[E]);return c.createElement(Xb.Provider,{value:k},O())});var WSe={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"},YSe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:WSe}))},uk=c.forwardRef(YSe);const S_=c.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var KSe=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=KSe(e,["prefixCls","className","dashed"]),{getPrefixCls:i}=c.useContext(lt),o=i("menu",t),s=ie({[`${o}-item-divider-dashed`]:!!r},n);return c.createElement(lk,Object.assign({className:s},a))},hZ=e=>{var t;const{className:n,children:r,icon:a,title:i,danger:o}=e,{prefixCls:s,firstLevel:l,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:p}=c.useContext(S_),f=_=>{const E=c.createElement("span",{className:`${s}-title-content`},r);return(!a||c.isValidElement(r)&&r.type==="span")&&r&&_&&l&&typeof r=="string"?c.createElement("div",{className:`${s}-inline-collapsed-noicon`},r.charAt(0)):E},{siderCollapsed:m}=c.useContext(Xb);let g=i;typeof i>"u"?g=l?r:"":i===!1&&(g="");const h={title:g};!m&&!p&&(h.title=null,h.open=!1);const v=br(r).length;let S=c.createElement(sg,Object.assign({},An(e,["title","icon","danger"]),{className:ie({[`${s}-item-danger`]:o,[`${s}-item-only-child`]:(a?v+1:v)===1},n),title:typeof i=="string"?i:void 0}),Tr(a,{className:ie(c.isValidElement(a)?(t=a.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),f(p));return d||(S=c.createElement(Jt,Object.assign({},h,{placement:u==="rtl"?"left":"right",overlayClassName:`${s}-inline-collapsed-tooltip`}),S)),S};var XSe=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=XSe(e,["children"]),a=c.useContext(E_),i=c.useMemo(()=>Object.assign(Object.assign({},a),r),[a,r.prefixCls,r.mode,r.selectable,r.rootClassName]),o=Nce(n),s=Rs(t,o?n.ref:null);return c.createElement(E_.Provider,{value:i},c.createElement(Uo,{space:!0},o?c.cloneElement(n,{ref:s}):n))}),QSe=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:a,lineWidth:i,lineType:o,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${Q(i)} ${o} ${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"}}}},ZSe=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(${Q(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${Q(n)})`}}}}},f3=e=>Object.assign({},bs(e)),m3=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:a,groupTitleColor:i,itemBg:o,subMenuItemBg:s,itemSelectedBg:l,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:p,motionDurationSlow:f,motionEaseInOut:m,motionEaseOut:g,itemPaddingInline:h,motionDurationMid:v,itemHoverColor:S,lineType:_,colorSplit:E,itemDisabledColor:y,dangerItemColor:C,dangerItemHoverColor:T,dangerItemSelectedColor:x,dangerItemActiveBg:R,dangerItemSelectedBg:w,popupBg:I,itemHoverBg:O,itemActiveBg:k,menuSubMenuBg:P,horizontalItemSelectedColor:M,horizontalItemSelectedBg:N,horizontalItemBorderRadius:A,horizontalItemHoverBg:D}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:o,[`&${n}-root:focus-visible`]:Object.assign({},f3(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:a}},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},f3(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${y} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:S}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:O},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:C,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:T}},[`&${n}-item:active`]:{background:R}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:a,[`&${n}-item-danger`]:{color:x},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:l,[`&${n}-item-danger`]:{backgroundColor:w}},[`&${n}-submenu > ${n}`]:{backgroundColor:P},[`&${n}-popup > ${n}`]:{backgroundColor:I},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:I},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:p,marginTop:e.calc(p).mul(-1).equal(),marginBottom:0,borderRadius:A,"&::after":{position:"absolute",insetInline:h,bottom:0,borderBottom:`${Q(u)} solid transparent`,transition:`border-color ${f} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:D,"&::after":{borderBottomWidth:u,borderBottomColor:M}},"&-selected":{color:M,backgroundColor:N,"&:hover":{backgroundColor:N},"&::after":{borderBottomWidth:u,borderBottomColor:M}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${Q(p)} ${_} ${E}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:s},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Q(d)} solid ${a}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${g}`,`opacity ${v} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:x}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${m}`,`opacity ${v} ${m}`].join(",")}}}}}},g3=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:a,menuArrowSize:i,marginXS:o,itemMarginBlock:s,itemWidth:l,itemPaddingInline:u}=e,d=e.calc(i).add(a).add(o).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:Q(n),paddingInline:u,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:l},[`> ${t}-item, - > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:Q(n)},[`${t}-item-group-list ${t}-submenu-title, - ${t}-submenu-title`]:{paddingInlineEnd:d}}},JSe=e=>{const{componentCls:t,iconCls:n,itemHeight:r,colorTextLightSolid:a,dropdownWidth:i,controlHeightLG:o,motionEaseOut:s,paddingXL:l,itemMarginInline:u,fontSizeLG:d,motionDurationFast:p,motionDurationSlow:f,paddingXS:m,boxShadowSecondary:g,collapsedWidth:h,collapsedIconSize:v}=e,S={height:r,lineHeight:Q(r),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},g3(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},g3(e)),{boxShadow:g})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${Q(e.calc(o).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 ${f}`,`background ${f}`,`padding ${p} ${s}`].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`]:S,[`& ${t}-item-group-title`]:{paddingInlineStart:l}},[`${t}-item`]:S}},{[`${t}-inline-collapsed`]:{width:h,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,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% - ${Q(e.calc(d).div(2).equal())} - ${Q(u)})`,textOverflow:"clip",[` - ${t}-submenu-arrow, - ${t}-submenu-expand-icon - `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:v,lineHeight:Q(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({},vi),{paddingInline:m})}}]},h3=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:r,motionEaseInOut:a,motionEaseOut:i,iconCls:o,iconSize:s,iconMarginInlineEnd:l}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding calc(${n} + 0.1s) ${a}`].join(","),[`${t}-item-icon, ${o}`]:{minWidth:s,fontSize:s,transition:[`font-size ${r} ${i}`,`margin ${n} ${a}`,`color ${n}`].join(","),"+ span":{marginInlineStart:l,opacity:1,transition:[`opacity ${n} ${a}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},Hd()),[`&${t}-item-only-child`]:{[`> ${o}, > ${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"}}}},v3=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:r,borderRadius:a,menuArrowSize:i,menuArrowOffset:o}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${r}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).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(${Q(e.calc(o).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${Q(o)})`}}}}},eEe=e=>{const{antCls:t,componentCls:n,fontSize:r,motionDurationSlow:a,motionDurationMid:i,motionEaseInOut:o,paddingXS:s,padding:l,colorSplit:u,lineWidth:d,zIndexPopup:p,borderRadiusLG:f,subMenuItemBorderRadius:m,menuArrowSize:g,menuArrowOffset:h,lineType:v,groupTitleLineHeight:S,groupTitleFontSize:_}=e;return[{"":{[n]:Object.assign(Object.assign({},mo()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),mo()),{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:`${Q(s)} ${Q(l)}`,fontSize:_,lineHeight:S,transition:`all ${a}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${a} ${o}`,`background ${a} ${o}`,`padding ${i} ${o}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${a} ${o}`,`padding ${a} ${o}`].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:v,borderWidth:0,borderTopWidth:d,marginBlock:d,padding:0,"&-dashed":{borderStyle:"dashed"}}}),h3(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${Q(e.calc(r).mul(2).equal())} ${Q(l)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:p,borderRadius:f,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:f},h3(e)),v3(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:m},[`${n}-submenu-title::after`]:{transition:`transform ${a} ${o}`}})},"\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}}}),v3(e)),{[`&-inline-collapsed ${n}-submenu-arrow, - &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Q(h)})`},"&::after":{transform:`rotate(45deg) translateX(${Q(e.calc(h).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${Q(e.calc(g).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${Q(e.calc(h).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${Q(h)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},tEe=e=>{var t,n,r;const{colorPrimary:a,colorError:i,colorTextDisabled:o,colorErrorBg:s,colorText:l,colorTextDescription:u,colorBgContainer:d,colorFillAlter:p,colorFillContent:f,lineWidth:m,lineWidthBold:g,controlItemBgActive:h,colorBgTextHover:v,controlHeightLG:S,lineHeight:_,colorBgElevated:E,marginXXS:y,padding:C,fontSize:T,controlHeightSM:x,fontSizeLG:R,colorTextLightSolid:w,colorErrorHover:I}=e,O=(t=e.activeBarWidth)!==null&&t!==void 0?t:0,k=(n=e.activeBarBorderWidth)!==null&&n!==void 0?n:m,P=(r=e.itemMarginInline)!==null&&r!==void 0?r:e.marginXXS,M=new an(w).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:l,itemColor:l,colorItemTextHover:l,itemHoverColor:l,colorItemTextHoverHorizontal:a,horizontalItemHoverColor:a,colorGroupTitle:u,groupTitleColor:u,colorItemTextSelected:a,itemSelectedColor:a,colorItemTextSelectedHorizontal:a,horizontalItemSelectedColor:a,colorItemBg:d,itemBg:d,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:f,itemActiveBg:h,colorSubItemBg:p,subMenuItemBg:p,colorItemBgSelected:h,itemSelectedBg:h,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:O,colorActiveBarHeight:g,activeBarHeight:g,colorActiveBarBorderSize:m,activeBarBorderWidth:k,colorItemTextDisabled:o,itemDisabledColor:o,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,colorDangerItemBgActive:s,dangerItemActiveBg:s,colorDangerItemBgSelected:s,dangerItemSelectedBg:s,itemMarginInline:P,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:S,groupTitleLineHeight:_,collapsedWidth:S*2,popupBg:E,itemMarginBlock:y,itemPaddingInline:C,horizontalLineHeight:`${S*1.15}px`,iconSize:T,iconMarginInlineEnd:x-T,collapsedIconSize:R,groupTitleFontSize:T,darkItemDisabledColor:new an(w).setAlpha(.25).toRgbString(),darkItemColor:M,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:w,darkItemSelectedBg:a,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:M,darkItemHoverColor:w,darkDangerItemHoverColor:I,darkDangerItemSelectedColor:w,darkDangerItemActiveBg:i,itemWidth:O?`calc(100% + ${k}px)`:`calc(100% - ${P*2}px)`}},nEe=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 cn("Menu",a=>{const{colorBgElevated:i,controlHeightLG:o,fontSize:s,darkItemColor:l,darkDangerItemColor:u,darkItemBg:d,darkSubMenuItemBg:p,darkItemSelectedColor:f,darkItemSelectedBg:m,darkDangerItemSelectedBg:g,darkItemHoverBg:h,darkGroupTitleColor:v,darkItemHoverColor:S,darkItemDisabledColor:_,darkDangerItemHoverColor:E,darkDangerItemSelectedColor:y,darkDangerItemActiveBg:C,popupBg:T,darkPopupBg:x}=a,R=a.calc(s).div(7).mul(5).equal(),w=Ht(a,{menuArrowSize:R,menuHorizontalHeight:a.calc(o).mul(1.15).equal(),menuArrowOffset:a.calc(R).mul(.25).equal(),menuSubMenuBg:i,calc:a.calc,popupBg:T}),I=Ht(w,{itemColor:l,itemHoverColor:S,groupTitleColor:v,itemSelectedColor:f,itemBg:d,popupBg:x,subMenuItemBg:p,itemActiveBg:"transparent",itemSelectedBg:m,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:h,itemDisabledColor:_,dangerItemColor:u,dangerItemHoverColor:E,dangerItemSelectedColor:y,dangerItemActiveBg:C,dangerItemSelectedBg:g,menuSubMenuBg:p,horizontalItemSelectedColor:f,horizontalItemSelectedBg:m});return[eEe(w),QSe(w),JSe(w),m3(w,"light"),m3(I,"dark"),ZSe(w),ng(w),jo(w,"slide-up"),jo(w,"slide-down"),Kd(w,"zoom-big")]},tEe,{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)},_Z=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:i}=e,o=c.useContext(S_),{prefixCls:s,inlineCollapsed:l,theme:u}=o,d=Xd();let p;if(!r)p=l&&!d.length&&a&&typeof a=="string"?c.createElement("div",{className:`${s}-inline-collapsed-noicon`},a.charAt(0)):c.createElement("span",{className:`${s}-title-content`},a);else{const g=c.isValidElement(a)&&a.type==="span";p=c.createElement(c.Fragment,null,Tr(r,{className:ie(c.isValidElement(r)?(t=r.props)===null||t===void 0?void 0:t.className:"",`${s}-item-icon`)}),g?a:c.createElement("span",{className:`${s}-title-content`},a))}const f=c.useMemo(()=>Object.assign(Object.assign({},o),{firstLevel:!1}),[o]),[m]=bo("Menu");return c.createElement(S_.Provider,{value:f},c.createElement(Kb,Object.assign({},An(e,["icon"]),{title:p,popupClassName:ie(s,n,`${s}-${i||u}`),popupStyle:{zIndex:m}})))};var rEe=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=c.useContext(E_),a=r||{},{getPrefixCls:i,getPopupContainer:o,direction:s,menu:l}=c.useContext(lt),u=i(),{prefixCls:d,className:p,style:f,theme:m="light",expandIcon:g,_internalDisableMenuItemTitleTooltip:h,inlineCollapsed:v,siderCollapsed:S,rootClassName:_,mode:E,selectable:y,onClick:C,overflowedIndicatorPopupClassName:T}=e,x=rEe(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),R=An(x,["collapsedWidth"]);(n=a.validator)===null||n===void 0||n.call(a,{mode:E});const w=Wt(function(){var z;C==null||C.apply(void 0,arguments),(z=a.onClick)===null||z===void 0||z.call(a)}),I=a.mode||E,O=y??a.selectable,k=c.useMemo(()=>S!==void 0?S:v,[v,S]),P={horizontal:{motionName:`${u}-slide-up`},inline:Ed(u),other:{motionName:`${u}-zoom-big`}},M=i("menu",d||a.prefixCls),N=Zn(M),[A,D,L]=nEe(M,N,!r),$=ie(`${M}-${m}`,l==null?void 0:l.className,p),F=c.useMemo(()=>{var z,U;if(typeof g=="function"||dy(g))return g||null;if(typeof a.expandIcon=="function"||dy(a.expandIcon))return a.expandIcon||null;if(typeof(l==null?void 0:l.expandIcon)=="function"||dy(l==null?void 0:l.expandIcon))return(l==null?void 0:l.expandIcon)||null;const j=(z=g??(a==null?void 0:a.expandIcon))!==null&&z!==void 0?z:l==null?void 0:l.expandIcon;return Tr(j,{className:ie(`${M}-submenu-expand-icon`,c.isValidElement(j)?(U=j.props)===null||U===void 0?void 0:U.className:void 0)})},[g,a==null?void 0:a.expandIcon,l==null?void 0:l.expandIcon,M]),B=c.useMemo(()=>({prefixCls:M,inlineCollapsed:k||!1,direction:s,firstLevel:!0,theme:m,mode:I,disableMenuItemTitleTooltip:h}),[M,k,s,h,m]);return A(c.createElement(E_.Provider,{value:null},c.createElement(S_.Provider,{value:B},c.createElement(Qd,Object.assign({getPopupContainer:o,overflowedIndicator:c.createElement(uk,null),overflowedIndicatorPopupClassName:ie(M,`${M}-${m}`,T),mode:I,selectable:O,onClick:w},R,{inlineCollapsed:k,style:Object.assign(Object.assign({},l==null?void 0:l.style),f),className:$,prefixCls:M,direction:s,defaultMotions:P,expandIcon:F,ref:t,rootClassName:ie(_,D,a.rootClassName,L,N),_internalComponents:aEe})))))}),zo=c.forwardRef((e,t)=>{const n=c.useRef(null),r=c.useContext(Xb);return c.useImperativeHandle(t,()=>({menu:n.current,focus:a=>{var i;(i=n.current)===null||i===void 0||i.focus(a)}})),c.createElement(iEe,Object.assign({ref:n},e,r))});zo.Item=hZ;zo.SubMenu=_Z;zo.Divider=gZ;zo.ItemGroup=ck;const oEe=e=>{const{componentCls:t,menuCls:n,colorError:r,colorTextLightSolid:a}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:r,"&:hover":{color:a,backgroundColor:r}}}}}},sEe=e=>{const{componentCls:t,menuCls:n,zIndexPopup:r,dropdownArrowDistance:a,sizePopupArrow:i,antCls:o,iconCls:s,motionDurationMid:l,paddingBlock:u,fontSize:d,dropdownEdgeChildPadding:p,colorTextDisabled:f,fontSizeIcon:m,controlPaddingHorizontal:g,colorBgElevated:h}=e;return[{[t]:{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:r,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(a).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${o}-btn`]:{[`& > ${s}-down, & > ${o}-btn-icon > ${s}-down`]:{fontSize:m}},[`${t}-wrap`]:{position:"relative",[`${o}-btn > ${s}-down`]:{fontSize:m},[`${s}-down::before`]:{transition:`transform ${l}`}},[`${t}-wrap-open`]:{[`${s}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomLeft, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomLeft, - &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottom, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottom, - &${o}-slide-down-enter${o}-slide-down-enter-active${t}-placement-bottomRight, - &${o}-slide-down-appear${o}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Lb},[`&${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topLeft, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topLeft, - &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-top, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-top, - &${o}-slide-up-enter${o}-slide-up-enter-active${t}-placement-topRight, - &${o}-slide-up-appear${o}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Pb},[`&${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomLeft, - &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottom, - &${o}-slide-down-leave${o}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:kb},[`&${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topLeft, - &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-top, - &${o}-slide-up-leave${o}-slide-up-leave-active${t}-placement-topRight`]:{animationName:$b}}},nk(e,h,{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({},on(e)),{[n]:Object.assign(Object.assign({padding:p,listStyleType:"none",backgroundColor:h,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Bo(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${Q(u)} ${Q(g)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:d,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${Q(u)} ${Q(g)}`,color:e.colorText,fontWeight:"normal",fontSize:d,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Bo(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:h,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Q(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:m,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${Q(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(g).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:h,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[jo(e,"slide-up"),jo(e,"slide-down"),Cd(e,"move-up"),Cd(e,"move-down"),Kd(e,"zoom-big")]]},lEe=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},Wb({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),qb(e)),cEe=cn("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:a}=e,i=Ht(e,{menuCls:`${a}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[sEe(i),oEe(i)]},lEe,{resetStyle:!1}),lg=e=>{var t;const{menu:n,arrow:r,prefixCls:a,children:i,trigger:o,disabled:s,dropdownRender:l,getPopupContainer:u,overlayClassName:d,rootClassName:p,overlayStyle:f,open:m,onOpenChange:g,visible:h,onVisibleChange:v,mouseEnterDelay:S=.15,mouseLeaveDelay:_=.1,autoAdjustOverflow:E=!0,placement:y="",overlay:C,transitionName:T}=e,{getPopupContainer:x,getPrefixCls:R,direction:w,dropdown:I}=c.useContext(lt);Il();const O=c.useMemo(()=>{const Z=R();return T!==void 0?T:y.includes("top")?`${Z}-slide-down`:`${Z}-slide-up`},[R,y,T]),k=c.useMemo(()=>y?y.includes("Center")?y.slice(0,y.indexOf("Center")):y:w==="rtl"?"bottomRight":"bottomLeft",[y,w]),P=R("dropdown",a),M=Zn(P),[N,A,D]=cEe(P,M),[,L]=ia(),$=c.Children.only(i),F=Tr($,{className:ie(`${P}-trigger`,{[`${P}-rtl`]:w==="rtl"},$.props.className),disabled:(t=$.props.disabled)!==null&&t!==void 0?t:s}),B=s?[]:o,z=!!(B!=null&&B.includes("contextMenu")),[U,j]=ln(!1,{value:m??h}),G=Wt(Z=>{g==null||g(Z,{source:"trigger"}),v==null||v(Z),j(Z)}),J=ie(d,p,A,D,M,I==null?void 0:I.className,{[`${P}-rtl`]:w==="rtl"}),Y=KQ({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:E,offset:L.marginXXS,arrowWidth:r?L.sizePopupArrow:0,borderRadius:L.borderRadius}),X=c.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(g==null||g(!1,{source:"menu"}),j(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),V=()=>{let Z;return n!=null&&n.items?Z=c.createElement(zo,Object.assign({},n)):typeof C=="function"?Z=C():Z=C,l&&(Z=l(Z)),Z=c.Children.only(typeof Z=="string"?c.createElement("span",null,Z):Z),c.createElement(vZ,{prefixCls:`${P}-menu`,rootClassName:ie(D,M),expandIcon:c.createElement("span",{className:`${P}-menu-submenu-arrow`},c.createElement($i,{className:`${P}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:X,validator:te=>{}},Z)},[H,q]=bo("Dropdown",f==null?void 0:f.zIndex);let K=c.createElement(nZ,Object.assign({alignPoint:z},An(e,["rootClassName"]),{mouseEnterDelay:S,mouseLeaveDelay:_,visible:U,builtinPlacements:Y,arrow:!!r,overlayClassName:J,prefixCls:P,getPopupContainer:u||x,transitionName:O,trigger:B,overlay:V,placement:k,onVisibleChange:G,overlayStyle:Object.assign(Object.assign(Object.assign({},I==null?void 0:I.style),f),{zIndex:H})}),F);return H&&(K=c.createElement(Km.Provider,{value:q},K)),N(K)};function uEe(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const dEe=ag(lg,"dropdown",e=>e,uEe),pEe=e=>c.createElement(dEe,Object.assign({},e),c.createElement("span",null));lg._InternalPanelDoNotUseOrYouWillBeFired=pEe;const Zb=e=>{let{children:t}=e;const{getPrefixCls:n}=c.useContext(lt),r=n("breadcrumb");return c.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};Zb.__ANT_BREADCRUMB_SEPARATOR=!0;var fEe=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 bZ(e,t,n,r){if(n==null)return null;const{className:a,onClick:i}=t,o=fEe(t,["className","onClick"]),s=Object.assign(Object.assign({},Qn(o,{data:!0,aria:!0})),{onClick:i});return r!==void 0?c.createElement("a",Object.assign({},s,{className:ie(`${e}-link`,a),href:r}),n):c.createElement("span",Object.assign({},s,{className:ie(`${e}-link`,a)}),n)}function gEe(e,t){return(r,a,i,o,s)=>{if(t)return t(r,a,i,o);const l=mEe(r,a);return bZ(e,r,l,s)}}var fD=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:i,dropdownProps:o,href:s}=e,u=(d=>{if(a||i){const p=Object.assign({},o);if(a){const f=a||{},{items:m}=f,g=fD(f,["items"]);p.menu=Object.assign(Object.assign({},g),{items:m==null?void 0:m.map((h,v)=>{var{key:S,title:_,label:E,path:y}=h,C=fD(h,["key","title","label","path"]);let T=E??_;return y&&(T=c.createElement("a",{href:`${s}${y}`},T)),Object.assign(Object.assign({},C),{key:S??v,label:T})})})}else i&&(p.overlay=i);return c.createElement(lg,Object.assign({placement:"bottom"},p),c.createElement("span",{className:`${t}-overlay-link`},d,c.createElement(Hb,null)))}return d})(r);return u!=null?c.createElement(c.Fragment,null,c.createElement("li",null,u),n&&c.createElement(Zb,null,n)):null},EZ=e=>{const{prefixCls:t,children:n,href:r}=e,a=fD(e,["prefixCls","children","href"]),{getPrefixCls:i}=c.useContext(lt),o=i("breadcrumb",t);return c.createElement(SZ,Object.assign({},a,{prefixCls:o}),bZ(o,a,n,r))};EZ.__ANT_BREADCRUMB_ITEM=!0;const hEe=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},on(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 ${Q(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}},Bo(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 ${Q(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"}})}},vEe=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),_Ee=cn("Breadcrumb",e=>{const t=Ht(e,{});return hEe(t)},vEe);var _3=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:o}=i,s=_3(i,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:o})})}),a}function SEe(e,t){return c.useMemo(()=>e||(t?t.map(bEe):null),[e,t])}var EEe=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},Zd=e=>{const{prefixCls:t,separator:n="/",style:r,className:a,rootClassName:i,routes:o,items:s,children:l,itemRender:u,params:d={}}=e,p=EEe(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:f,direction:m,breadcrumb:g}=c.useContext(lt);let h;const v=f("breadcrumb",t),[S,_,E]=_Ee(v),y=SEe(s,o),C=gEe(v,u);if(y&&y.length>0){const R=[],w=s||o;h=y.map((I,O)=>{const{path:k,key:P,type:M,menu:N,overlay:A,onClick:D,className:L,separator:$,dropdownProps:F}=I,B=yEe(d,k);B!==void 0&&R.push(B);const z=P??O;if(M==="separator")return c.createElement(Zb,{key:z},$);const U={},j=O===y.length-1;N?U.menu=N:A&&(U.overlay=A);let{href:G}=I;return R.length&&B!==void 0&&(G=`#/${R.join("/")}`),c.createElement(SZ,Object.assign({key:z},U,Qn(I,{data:!0,aria:!0}),{className:L,dropdownProps:F,href:G,separator:j?"":n,onClick:D,prefixCls:v}),C(I,d,w,R,G))})}else if(l){const R=br(l).length;h=br(l).map((w,I)=>{if(!w)return w;const O=I===R-1;return Tr(w,{separator:O?"":n,key:I})})}const T=ie(v,g==null?void 0:g.className,{[`${v}-rtl`]:m==="rtl"},a,i,_,E),x=Object.assign(Object.assign({},g==null?void 0:g.style),r);return S(c.createElement("nav",Object.assign({className:T,style:x},p),c.createElement("ol",null,h)))};Zd.Item=EZ;Zd.Separator=Zb;var yZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",s="minute",l="hour",u="day",d="week",p="month",f="quarter",m="year",g="date",h="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|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,_={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(M){var N=["th","st","nd","rd"],A=M%100;return"["+M+(N[(A-20)%10]||N[A]||N[0])+"]"}},E=function(M,N,A){var D=String(M);return!D||D.length>=N?M:""+Array(N+1-D.length).join(A)+M},y={s:E,z:function(M){var N=-M.utcOffset(),A=Math.abs(N),D=Math.floor(A/60),L=A%60;return(N<=0?"+":"-")+E(D,2,"0")+":"+E(L,2,"0")},m:function M(N,A){if(N.date()1)return M(F[0])}else{var B=N.name;T[B]=N,L=B}return!D&&L&&(C=L),L||!D&&C},I=function(M,N){if(R(M))return M.clone();var A=typeof N=="object"?N:{};return A.date=M,A.args=arguments,new k(A)},O=y;O.l=w,O.i=R,O.w=function(M,N){return I(M,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var k=function(){function M(A){this.$L=w(A.locale,null,!0),this.parse(A),this.$x=this.$x||A.x||{},this[x]=!0}var N=M.prototype;return N.parse=function(A){this.$d=function(D){var L=D.date,$=D.utc;if(L===null)return new Date(NaN);if(O.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var F=L.match(v);if(F){var B=F[2]-1||0,z=(F[7]||"0").substring(0,3);return $?new Date(Date.UTC(F[1],B,F[3]||1,F[4]||0,F[5]||0,F[6]||0,z)):new Date(F[1],B,F[3]||1,F[4]||0,F[5]||0,F[6]||0,z)}}return new Date(L)}(A),this.init()},N.init=function(){var A=this.$d;this.$y=A.getFullYear(),this.$M=A.getMonth(),this.$D=A.getDate(),this.$W=A.getDay(),this.$H=A.getHours(),this.$m=A.getMinutes(),this.$s=A.getSeconds(),this.$ms=A.getMilliseconds()},N.$utils=function(){return O},N.isValid=function(){return this.$d.toString()!==h},N.isSame=function(A,D){var L=I(A);return this.startOf(D)<=L&&L<=this.endOf(D)},N.isAfter=function(A,D){return I(A)25){var d=o(this).startOf(r).add(1,r).date(u),p=o(this).endOf(n);if(d.isBefore(p))return 1}var f=o(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),m=this.diff(f,n,!0);return m<0?o(this).startOf("week").week():Math.ceil(m)},s.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(xZ);var IEe=xZ.exports;const OEe=xa(IEe);var RZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),i=this.week(),o=this.year();return i===1&&a===11?o+1:a===0&&i>=52?o-1:o}}})})(RZ);var NEe=RZ.exports;const AEe=xa(NEe);var wZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(o){var s=this,l=this.$locale();if(!this.isValid())return i.bind(this)(o);var u=this.$utils(),d=(o||"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(p){switch(p){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),p==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),p==="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 p}});return i.bind(this)(d)}}})})(wZ);var DEe=wZ.exports;const MEe=xa(DEe);var IZ={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Sa,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|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d/,i=/\d\d/,o=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},u=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(S){this[v]=+S}},p=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var _=S.match(/([+-]|\d\d)/g),E=60*_[1]+(+_[2]||0);return E===0?0:_[0]==="+"?-E:E}(v)}],f=function(v){var S=l[v];return S&&(S.indexOf?S:S.s.concat(S.f))},m=function(v,S){var _,E=l.meridiem;if(E){for(var y=1;y<=24;y+=1)if(v.indexOf(E(y,0,S))>-1){_=y>12;break}}else _=v===(S?"pm":"PM");return _},g={A:[s,function(v){this.afternoon=m(v,!1)}],a:[s,function(v){this.afternoon=m(v,!0)}],Q:[a,function(v){this.month=3*(v-1)+1}],S:[a,function(v){this.milliseconds=100*+v}],SS:[i,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[o,d("seconds")],ss:[o,d("seconds")],m:[o,d("minutes")],mm:[o,d("minutes")],H:[o,d("hours")],h:[o,d("hours")],HH:[o,d("hours")],hh:[o,d("hours")],D:[o,d("day")],DD:[i,d("day")],Do:[s,function(v){var S=l.ordinal,_=v.match(/\d+/);if(this.day=_[0],S)for(var E=1;E<=31;E+=1)S(E).replace(/\[|\]/g,"")===v&&(this.day=E)}],w:[o,d("week")],ww:[i,d("week")],M:[o,d("month")],MM:[i,d("month")],MMM:[s,function(v){var S=f("months"),_=(f("monthsShort")||S.map(function(E){return E.slice(0,3)})).indexOf(v)+1;if(_<1)throw new Error;this.month=_%12||_}],MMMM:[s,function(v){var S=f("months").indexOf(v)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,d("year")],YY:[i,function(v){this.year=u(v)}],YYYY:[/\d{4}/,d("year")],Z:p,ZZ:p};function h(v){var S,_;S=v,_=l&&l.formats;for(var E=(v=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(I,O,k){var P=k&&k.toUpperCase();return O||_[k]||n[k]||_[P].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(M,N,A){return N||A.slice(1)})})).match(r),y=E.length,C=0;C-1)return new Date((L==="X"?1e3:1)*D);var B=h(L)(D),z=B.year,U=B.month,j=B.day,G=B.hours,J=B.minutes,Y=B.seconds,X=B.milliseconds,V=B.zone,H=B.week,q=new Date,K=j||(z||U?1:q.getDate()),Z=z||q.getFullYear(),te=0;z&&!U||(te=U>0?U-1:q.getMonth());var se,ue=G||0,me=J||0,de=Y||0,Te=X||0;return V?new Date(Date.UTC(Z,te,K,ue,me,de,Te+60*V.offset*1e3)):$?new Date(Date.UTC(Z,te,K,ue,me,de,Te)):(se=new Date(Z,te,K,ue,me,de,Te),H&&(se=F(se).week(H).toDate()),se)}catch{return new Date("")}}(T,w,x,_),this.init(),P&&P!==!0&&(this.$L=this.locale(P).$L),k&&T!=this.format(w)&&(this.$d=new Date("")),l={}}else if(w instanceof Array)for(var M=w.length,N=1;N<=M;N+=1){R[1]=w[N-1];var A=_.apply(this,R);if(A.isValid()){this.$d=A.$d,this.$L=A.$L,this.init();break}N===M&&(this.$d=new Date(""))}else y.call(this,C)}}})})(IZ);var LEe=IZ.exports;const kEe=xa(LEe);Fa.extend(kEe);Fa.extend(MEe);Fa.extend(xEe);Fa.extend(wEe);Fa.extend(OEe);Fa.extend(AEe);Fa.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(i){var o=(i||"").replace("Wo","wo");return r.bind(this)(o)}});var PEe={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"},jl=function(t){var n=PEe[t];return n||t.split("_")[0]},b3=function(){eK(!1,"Not match any format. Please help to fire a issue about this.")},$Ee={getNow:function(){return Fa()},getFixedDate:function(t){return Fa(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 Fa().locale(jl(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(jl(t)).weekday(0)},getWeek:function(t,n){return n.locale(jl(t)).week()},getShortWeekDays:function(t){return Fa().locale(jl(t)).localeData().weekdaysMin()},getShortMonths:function(t){return Fa().locale(jl(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(jl(t)).format(r)},parse:function(t,n,r){for(var a=jl(t),i=0;i2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=c.useState([!1,!1]),a=oe(r,2),i=a[0],o=a[1],s=function(d,p){o(function(f){return Cf(f,p,d)})},l=c.useMemo(function(){return i.map(function(u,d){if(u)return!0;var p=e[d];return p?!!(!n[d]&&!p||p&&t(p,{activeIndex:d})):!1})},[e,i,t,n]);return[l,s]}function kZ(e,t,n,r,a){var i="",o=[];return e&&o.push(a?"hh":"HH"),t&&o.push("mm"),n&&o.push("ss"),i=o.join(":"),r&&(i+=".SSS"),a&&(i+=" A"),i}function BEe(e,t,n,r,a,i){var o=e.fieldDateTimeFormat,s=e.fieldDateFormat,l=e.fieldTimeFormat,u=e.fieldMonthFormat,d=e.fieldYearFormat,p=e.fieldWeekFormat,f=e.fieldQuarterFormat,m=e.yearFormat,g=e.cellYearFormat,h=e.cellQuarterFormat,v=e.dayFormat,S=e.cellDateFormat,_=kZ(t,n,r,a,i);return ee(ee({},e),{},{fieldDateTimeFormat:o||"YYYY-MM-DD ".concat(_),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:l||_,fieldMonthFormat:u||"YYYY-MM",fieldYearFormat:d||"YYYY",fieldWeekFormat:p||"gggg-wo",fieldQuarterFormat:f||"YYYY-[Q]Q",yearFormat:m||"YYYY",cellYearFormat:g||"YYYY",cellQuarterFormat:h||"[Q]Q",cellDateFormat:S||v||"D"})}function PZ(e,t){var n=t.showHour,r=t.showMinute,a=t.showSecond,i=t.showMillisecond,o=t.use12Hours;return ce.useMemo(function(){return BEe(e,n,r,a,i,o)},[e,n,r,a,i,o])}function $p(e,t,n){return n??t.some(function(r){return e.includes(r)})}var UEe=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function jEe(e){var t=eS(e,UEe),n=e.format,r=e.picker,a=null;return n&&(a=n,Array.isArray(a)&&(a=a[0]),a=gt(a)==="object"?a.format:a),r==="time"&&(t.format=a),[t,a]}function zEe(e){return e&&typeof e=="string"}function $Z(e,t,n,r){return[e,t,n,r].some(function(a){return a!==void 0})}function FZ(e,t,n,r,a){var i=t,o=n,s=r;if(!e&&!i&&!o&&!s&&!a)i=!0,o=!0,s=!0;else if(e){var l,u,d,p=[i,o,s].some(function(g){return g===!1}),f=[i,o,s].some(function(g){return g===!0}),m=p?!0:!f;i=(l=i)!==null&&l!==void 0?l:m,o=(u=o)!==null&&u!==void 0?u:m,s=(d=s)!==null&&d!==void 0?d:m}return[i,o,s,a]}function BZ(e){var t=e.showTime,n=jEe(e),r=oe(n,2),a=r[0],i=r[1],o=t&>(t)==="object"?t:{},s=ee(ee({defaultOpenValue:o.defaultOpenValue||o.defaultValue},a),o),l=s.showMillisecond,u=s.showHour,d=s.showMinute,p=s.showSecond,f=$Z(u,d,p,l),m=FZ(f,u,d,p,l),g=oe(m,3);return u=g[0],d=g[1],p=g[2],[s,ee(ee({},s),{},{showHour:u,showMinute:d,showSecond:p,showMillisecond:l}),s.format,i]}function UZ(e,t,n,r,a){var i=e==="time";if(e==="datetime"||i){for(var o=r,s=AZ(e,a,null),l=s,u=[t,n],d=0;d1&&(o=t.addDate(o,-7)),o}function zr(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 y_(e,t,n){var r=t,a=["getHour","getMinute","getSecond","getMillisecond"],i=["setHour","setMinute","setSecond","setMillisecond"];return i.forEach(function(o,s){n?r=e[o](r,e[a[s]](n)):r=e[o](r,0)}),r}function qEe(e,t,n,r,a){var i=Wt(function(o,s){return!!(n&&n(o,s)||r&&e.isAfter(r,o)&&!ba(e,t,r,o,s.type)||a&&e.isAfter(o,a)&&!ba(e,t,a,o,s.type))});return i}function WEe(e,t,n){return c.useMemo(function(){var r=AZ(e,t,n),a=jc(r),i=a[0],o=gt(i)==="object"&&i.type==="mask"?i.format:null;return[a.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),o]},[e,t,n])}function YEe(e,t,n){return typeof e[0]=="function"||n?!0:t}function KEe(e,t,n,r){var a=Wt(function(i,o){var s=ee({type:t},o);if(delete s.activeIndex,!e.isValidate(i)||n&&n(i,s))return!0;if((t==="date"||t==="time")&&r){var l,u=o&&o.activeIndex===1?"end":"start",d=((l=r.disabledTime)===null||l===void 0?void 0:l.call(r,i,u,{from:s.from}))||{},p=d.disabledHours,f=d.disabledMinutes,m=d.disabledSeconds,g=d.disabledMilliseconds,h=r.disabledHours,v=r.disabledMinutes,S=r.disabledSeconds,_=p||h,E=f||v,y=m||S,C=e.getHour(i),T=e.getMinute(i),x=e.getSecond(i),R=e.getMillisecond(i);if(_&&_().includes(C)||E&&E(C).includes(T)||y&&y(C,T).includes(x)||g&&g(C,T,x).includes(R))return!0}return!1});return a}function gh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=c.useMemo(function(){var r=e&&jc(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function HZ(e,t){var n=e.generateConfig,r=e.locale,a=e.picker,i=a===void 0?"date":a,o=e.prefixCls,s=o===void 0?"rc-picker":o,l=e.styles,u=l===void 0?{}:l,d=e.classNames,p=d===void 0?{}:d,f=e.order,m=f===void 0?!0:f,g=e.components,h=g===void 0?{}:g,v=e.inputRender,S=e.allowClear,_=e.clearIcon,E=e.needConfirm,y=e.multiple,C=e.format,T=e.inputReadOnly,x=e.disabledDate,R=e.minDate,w=e.maxDate,I=e.showTime,O=e.value,k=e.defaultValue,P=e.pickerValue,M=e.defaultPickerValue,N=gh(O),A=gh(k),D=gh(P),L=gh(M),$=i==="date"&&I?"datetime":i,F=$==="time"||$==="datetime",B=F||y,z=E??F,U=BZ(e),j=oe(U,4),G=j[0],J=j[1],Y=j[2],X=j[3],V=PZ(r,J),H=c.useMemo(function(){return UZ($,Y,X,G,V)},[$,Y,X,G,V]),q=c.useMemo(function(){return ee(ee({},e),{},{prefixCls:s,locale:V,picker:i,styles:u,classNames:p,order:m,components:ee({input:v},h),clearIcon:HEe(s,S,_),showTime:H,value:N,defaultValue:A,pickerValue:D,defaultPickerValue:L},t==null?void 0:t())},[e]),K=WEe($,V,C),Z=oe(K,2),te=Z[0],se=Z[1],ue=YEe(te,T,y),me=qEe(n,r,x,R,w),de=KEe(n,i,me,H),Te=c.useMemo(function(){return ee(ee({},q),{},{needConfirm:z,inputReadOnly:ue,disabledDate:me})},[q,z,ue,me]);return[Te,$,B,te,se,de]}function XEe(e,t,n){var r=ln(t,{value:e}),a=oe(r,2),i=a[0],o=a[1],s=ce.useRef(e),l=ce.useRef(),u=function(){Gt.cancel(l.current)},d=Wt(function(){o(s.current),n&&i!==s.current&&n(s.current)}),p=Wt(function(f,m){u(),s.current=f,f||m?d():l.current=Gt(d)});return ce.useEffect(function(){return u},[]),[i,p]}function GZ(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,i=XEe(a,t||!1,r),o=oe(i,2),s=o[0],l=o[1];function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!p.inherit||s)&&l(d,p.force)}return[s,u]}function VZ(e){var t=c.useRef();return c.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(a){var i;(i=t.current)===null||i===void 0||i.focus(a)},blur:function(){var a;(a=t.current)===null||a===void 0||a.blur()}}}),t}function qZ(e,t){return c.useMemo(function(){return e||(t?(bn(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=oe(n,2),a=r[0],i=r[1];return{label:a,value:i}})):[])},[e,t])}function gk(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=c.useRef(t);r.current=t,pc(function(){if(e)r.current(e);else{var a=Gt(function(){r.current(e)},n);return function(){Gt.cancel(a)}}},[e])}function WZ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=c.useState(0),a=oe(r,2),i=a[0],o=a[1],s=c.useState(!1),l=oe(s,2),u=l[0],d=l[1],p=c.useRef([]),f=c.useRef(null),m=function(S){d(S)},g=function(S){return S&&(f.current=S),f.current},h=function(S){var _=p.current,E=new Set(_.filter(function(C){return S[C]||t[C]})),y=_[_.length-1]===0?1:0;return E.size>=2||e[y]?null:y};return gk(u||n,function(){u||(p.current=[])}),c.useEffect(function(){u&&p.current.push(i)},[u,i]),[u,m,g,i,o,h,p.current]}function QEe(e,t,n,r,a,i){var o=n[n.length-1],s=function(u,d){var p=oe(e,2),f=p[0],m=p[1],g=ee(ee({},d),{},{from:DZ(e,n)});return o===1&&t[0]&&f&&!ba(r,a,f,u,g.type)&&r.isAfter(f,u)||o===0&&t[1]&&m&&!ba(r,a,m,u,g.type)&&r.isAfter(u,m)?!0:i==null?void 0:i(u,g)};return s}function Zp(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 fy=[];function YZ(e,t,n,r,a,i,o,s){var l=arguments.length>8&&arguments[8]!==void 0?arguments[8]:fy,u=arguments.length>9&&arguments[9]!==void 0?arguments[9]:fy,d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:fy,p=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,m=arguments.length>13?arguments[13]:void 0,g=o==="time",h=i||0,v=function(D){var L=e.getNow();return g&&(L=y_(e,L)),l[D]||n[D]||L},S=oe(u,2),_=S[0],E=S[1],y=ln(function(){return v(0)},{value:_}),C=oe(y,2),T=C[0],x=C[1],R=ln(function(){return v(1)},{value:E}),w=oe(R,2),I=w[0],O=w[1],k=c.useMemo(function(){var A=[T,I][h];return g?A:y_(e,A,d[h])},[g,T,I,h,e,d]),P=function(D){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",$=[x,O][h];$(D);var F=[T,I];F[h]=D,p&&(!ba(e,t,T,F[0],o)||!ba(e,t,I,F[1],o))&&p(F,{source:L,range:h===1?"end":"start",mode:r})},M=function(D,L){if(s){var $={date:"month",week:"month",month:"year",quarter:"year"},F=$[o];if(F&&!ba(e,t,D,L,F))return Zp(e,o,L,-1);if(o==="year"&&D){var B=Math.floor(e.getYear(D)/10),z=Math.floor(e.getYear(L)/10);if(B!==z)return Zp(e,o,L,-1)}}return L},N=c.useRef(null);return Qt(function(){if(a&&!l[h]){var A=g?null:e.getNow();if(N.current!==null&&N.current!==h?A=[T,I][h^1]:n[h]?A=h===0?n[0]:M(n[0],n[1]):n[h^1]&&(A=n[h^1]),A){f&&e.isAfter(f,A)&&(A=f);var D=s?Zp(e,o,A,1):A;m&&e.isAfter(D,m)&&(A=s?Zp(e,o,m,-1):m),P(A,"reset")}}},[a,h,n[h]]),c.useEffect(function(){a?N.current=h:N.current=null},[a,h]),Qt(function(){a&&l&&l[h]&&P(l[h],"reset")},[a,h]),[k,P]}function KZ(e,t){var n=c.useRef(e),r=c.useState({}),a=oe(r,2),i=a[1],o=function(u){return u&&t!==void 0?t:n.current},s=function(u){n.current=u,i({})};return[o,s,o(!0)]}var ZEe=[];function XZ(e,t,n){var r=function(o){return o.map(function(s){return zr(s,{generateConfig:e,locale:t,format:n[0]})})},a=function(o,s){for(var l=Math.max(o.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]:[],i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,o=[],s=n>=1?n|0:1,l=e;l<=t;l+=s){var u=a.includes(l);(!u||!r)&&o.push({label:dk(l,i),value:l,disabled:u})}return o}function hk(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,i=r.hourStep,o=i===void 0?1:i,s=r.minuteStep,l=s===void 0?1:s,u=r.secondStep,d=u===void 0?1:u,p=r.millisecondStep,f=p===void 0?100:p,m=r.hideDisabledOptions,g=r.disabledTime,h=r.disabledHours,v=r.disabledMinutes,S=r.disabledSeconds,_=c.useMemo(function(){return n||e.getNow()},[n,e]),E=c.useCallback(function(L){var $=(g==null?void 0:g(L))||{};return[$.disabledHours||h||hh,$.disabledMinutes||v||hh,$.disabledSeconds||S||hh,$.disabledMilliseconds||hh]},[g,h,v,S]),y=c.useMemo(function(){return E(_)},[_,E]),C=oe(y,4),T=C[0],x=C[1],R=C[2],w=C[3],I=c.useCallback(function(L,$,F,B){var z=vh(0,23,o,m,L()),U=a?z.map(function(Y){return ee(ee({},Y),{},{label:dk(Y.value%12||12,2)})}):z,j=function(X){return vh(0,59,l,m,$(X))},G=function(X,V){return vh(0,59,d,m,F(X,V))},J=function(X,V,H){return vh(0,999,f,m,B(X,V,H),3)};return[U,j,G,J]},[m,o,a,f,l,d]),O=c.useMemo(function(){return I(T,x,R,w)},[I,T,x,R,w]),k=oe(O,4),P=k[0],M=k[1],N=k[2],A=k[3],D=function($,F){var B=function(){return P},z=M,U=N,j=A;if(F){var G=E(F),J=oe(G,4),Y=J[0],X=J[1],V=J[2],H=J[3],q=I(Y,X,V,H),K=oe(q,4),Z=K[0],te=K[1],se=K[2],ue=K[3];B=function(){return Z},z=te,U=se,j=ue}var me=eye($,B,z,U,j,e);return me};return[D,P,M,N,A]}function tye(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,a=e.showNow,i=e.showTime,o=e.onSubmit,s=e.onNow,l=e.invalid,u=e.needConfirm,d=e.generateConfig,p=e.disabledDate,f=c.useContext(So),m=f.prefixCls,g=f.locale,h=f.button,v=h===void 0?"button":h,S=d.getNow(),_=hk(d,i,S),E=oe(_,1),y=E[0],C=r==null?void 0:r(t),T=p(S,{type:t}),x=function(){if(!T){var M=y(S);s(M)}},R="".concat(m,"-now"),w="".concat(R,"-btn"),I=a&&c.createElement("li",{className:R},c.createElement("a",{className:ie(w,T&&"".concat(w,"-disabled")),"aria-disabled":T,onClick:x},n==="date"?g.today:g.now)),O=u&&c.createElement("li",{className:"".concat(m,"-ok")},c.createElement(v,{disabled:l,onClick:o},g.ok)),k=(I||O)&&c.createElement("ul",{className:"".concat(m,"-ranges")},I,O);return!C&&!k?null:c.createElement("div",{className:"".concat(m,"-footer")},C&&c.createElement("div",{className:"".concat(m,"-footer-extra")},C),k)}function tJ(e,t,n){function r(a,i){var o=a.findIndex(function(l){return ba(e,t,l,i,n)});if(o===-1)return[].concat($e(a),[i]);var s=$e(a);return s.splice(o,1),s}return r}var zc=c.createContext(null);function nS(){return c.useContext(zc)}function Jd(e,t){var n=e.prefixCls,r=e.generateConfig,a=e.locale,i=e.disabledDate,o=e.minDate,s=e.maxDate,l=e.cellRender,u=e.hoverValue,d=e.hoverRangeValue,p=e.onHover,f=e.values,m=e.pickerValue,g=e.onSelect,h=e.prevIcon,v=e.nextIcon,S=e.superPrevIcon,_=e.superNextIcon,E=r.getNow(),y={now:E,values:f,pickerValue:m,prefixCls:n,disabledDate:i,minDate:o,maxDate:s,cellRender:l,hoverValue:u,hoverRangeValue:d,onHover:p,locale:a,generateConfig:r,onSelect:g,panelType:t,prevIcon:h,nextIcon:v,superPrevIcon:S,superNextIcon:_};return[y,E]}var cl=c.createContext({});function cg(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,a=e.getCellDate,i=e.prefixColumn,o=e.rowClassName,s=e.titleFormat,l=e.getCellText,u=e.getCellClassName,d=e.headerCells,p=e.cellSelection,f=p===void 0?!0:p,m=e.disabledDate,g=nS(),h=g.prefixCls,v=g.panelType,S=g.now,_=g.disabledDate,E=g.cellRender,y=g.onHover,C=g.hoverValue,T=g.hoverRangeValue,x=g.generateConfig,R=g.values,w=g.locale,I=g.onSelect,O=m||_,k="".concat(h,"-cell"),P=c.useContext(cl),M=P.onCellDblClick,N=function(U){return R.some(function(j){return j&&ba(x,w,U,j,v)})},A=[],D=0;D1&&arguments[1]!==void 0?arguments[1]:!1;re(Ne),v==null||v(Ne),Ie&&ne(Ne)},le=function(Ne,Ie){V(Ne),Ie&&ae(Ie),ne(Ie,Ne)},pe=function(Ne){if(de(Ne),ae(Ne),X!==y){var Ie=["decade","year"],xe=[].concat(Ie,["month"]),ke={quarter:[].concat(Ie,["quarter"]),week:[].concat($e(xe),["week"]),date:[].concat($e(xe),["date"])},rt=ke[y]||xe,Me=rt.indexOf(X),Ce=rt[Me+1];Ce&&le(Ce,Ne)}},Re=c.useMemo(function(){var be,Ne;if(Array.isArray(x)){var Ie=oe(x,2);be=Ie[0],Ne=Ie[1]}else be=x;return!be&&!Ne?null:(be=be||Ne,Ne=Ne||be,a.isAfter(be,Ne)?[Ne,be]:[be,Ne])},[x,a]),Se=pk(R,w,I),Pe=k[H]||pye[H]||rS,fe=c.useContext(cl),ve=c.useMemo(function(){return ee(ee({},fe),{},{hideHeader:P})},[fe,P]),Ae="".concat(M,"-panel"),ye=eS(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return c.createElement(cl.Provider,{value:ve},c.createElement("div",{ref:N,tabIndex:l,className:ie(Ae,W({},"".concat(Ae,"-rtl"),i==="rtl"))},c.createElement(Pe,_e({},ye,{showTime:j,prefixCls:M,locale:z,generateConfig:a,onModeChange:le,pickerValue:ge,onPickerValueChange:function(Ne){ae(Ne,!0)},value:ue[0],onSelect:pe,values:ue,cellRender:Se,hoverRangeValue:Re,hoverValue:T}))))}var my=c.memo(c.forwardRef(fye));function mye(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,a=e.onPickerValueChange,i=e.needConfirm,o=e.onSubmit,s=e.range,l=e.hoverValue,u=c.useContext(So),d=u.prefixCls,p=u.generateConfig,f=c.useCallback(function(_,E){return Zp(p,t,_,E)},[p,t]),m=c.useMemo(function(){return f(r,1)},[r,f]),g=function(E){a(f(E,-1))},h={onCellDblClick:function(){i&&o()}},v=t==="time",S=ee(ee({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:v});return s?S.hoverRangeValue=l:S.hoverValue=l,n?c.createElement("div",{className:"".concat(d,"-panels")},c.createElement(cl.Provider,{value:ee(ee({},h),{},{hideNext:!0})},c.createElement(my,S)),c.createElement(cl.Provider,{value:ee(ee({},h),{},{hidePrev:!0})},c.createElement(my,_e({},S,{pickerValue:m,onPickerValueChange:g})))):c.createElement(cl.Provider,{value:ee({},h)},c.createElement(my,S))}function E3(e){return typeof e=="function"?e():e}function gye(e){var t=e.prefixCls,n=e.presets,r=e.onClick,a=e.onHover;return n.length?c.createElement("div",{className:"".concat(t,"-presets")},c.createElement("ul",null,n.map(function(i,o){var s=i.label,l=i.value;return c.createElement("li",{key:o,onClick:function(){r(E3(l))},onMouseEnter:function(){a(E3(l))},onMouseLeave:function(){a(null)}},s)}))):null}function rJ(e){var t=e.panelRender,n=e.internalMode,r=e.picker,a=e.showNow,i=e.range,o=e.multiple,s=e.activeOffset,l=s===void 0?0:s,u=e.placement,d=e.presets,p=e.onPresetHover,f=e.onPresetSubmit,m=e.onFocus,g=e.onBlur,h=e.onPanelMouseDown,v=e.direction,S=e.value,_=e.onSelect,E=e.isInvalid,y=e.defaultOpenValue,C=e.onOk,T=e.onSubmit,x=c.useContext(So),R=x.prefixCls,w="".concat(R,"-panel"),I=v==="rtl",O=c.useRef(null),k=c.useRef(null),P=c.useState(0),M=oe(P,2),N=M[0],A=M[1],D=c.useState(0),L=oe(D,2),$=L[0],F=L[1],B=function(me){me.offsetWidth&&A(me.offsetWidth)};c.useEffect(function(){if(i){var ue,me=((ue=O.current)===null||ue===void 0?void 0:ue.offsetWidth)||0,de=N-me;l<=de?F(0):F(l+me-N)}},[N,l,i]);function z(ue){return ue.filter(function(me){return me})}var U=c.useMemo(function(){return z(jc(S))},[S]),j=r==="time"&&!U.length,G=c.useMemo(function(){return j?z([y]):U},[j,U,y]),J=j?y:U,Y=c.useMemo(function(){return G.length?G.some(function(ue){return E(ue)}):!0},[G,E]),X=function(){j&&_(y),C(),T()},V=c.createElement("div",{className:"".concat(R,"-panel-layout")},c.createElement(gye,{prefixCls:R,presets:d,onClick:f,onHover:p}),c.createElement("div",null,c.createElement(mye,_e({},e,{value:J})),c.createElement(tye,_e({},e,{showNow:o?!1:a,invalid:Y,onSubmit:X}))));t&&(V=t(V));var H="".concat(w,"-container"),q="marginLeft",K="marginRight",Z=c.createElement("div",{onMouseDown:h,tabIndex:-1,className:ie(H,"".concat(R,"-").concat(n,"-panel-container")),style:W(W({},I?K:q,$),I?q:K,"auto"),onFocus:m,onBlur:g},V);if(i){var te=Jb(u,I),se=OZ(te,I);Z=c.createElement("div",{onMouseDown:h,ref:k,className:ie("".concat(R,"-range-wrapper"),"".concat(R,"-").concat(r,"-range-wrapper"))},c.createElement("div",{ref:O,className:"".concat(R,"-range-arrow"),style:W({},se,l)}),c.createElement(da,{onResize:B},Z))}return Z}function aJ(e,t){var n=e.format,r=e.maskFormat,a=e.generateConfig,i=e.locale,o=e.preserveInvalidOnBlur,s=e.inputReadOnly,l=e.required,u=e["aria-required"],d=e.onSubmit,p=e.onFocus,f=e.onBlur,m=e.onInputChange,g=e.onInvalid,h=e.open,v=e.onOpenChange,S=e.onKeyDown,_=e.onChange,E=e.activeHelp,y=e.name,C=e.autoComplete,T=e.id,x=e.value,R=e.invalid,w=e.placeholder,I=e.disabled,O=e.activeIndex,k=e.allHelp,P=e.picker,M=function(z,U){var j=a.locale.parse(i.locale,z,[U]);return j&&a.isValidate(j)?j:null},N=n[0],A=c.useCallback(function(B){return zr(B,{locale:i,format:N,generateConfig:a})},[i,a,N]),D=c.useMemo(function(){return x.map(A)},[x,A]),L=c.useMemo(function(){var B=P==="time"?8:10,z=typeof N=="function"?N(a.getNow()).length:N.length;return Math.max(B,z)+2},[N,P,a]),$=function(z){for(var U=0;U=s&&n<=l)return i;var u=Math.min(Math.abs(n-s),Math.abs(n-l));u0?Xe:Be));var We=pt+Ye,Ve=Be-Xe+1;return String(Xe+(Ve+We-Xe)%Ve)};switch(Ne){case"Backspace":case"Delete":Ie="",xe=rt;break;case"ArrowLeft":Ie="",Me(-1);break;case"ArrowRight":Ie="",Me(1);break;case"ArrowUp":Ie="",xe=Ce(1);break;case"ArrowDown":Ie="",xe=Ce(-1);break;default:isNaN(Number(Ne))||(Ie=B+Ne,xe=Ie);break}if(Ie!==null&&(z(Ie),Ie.length>=ke&&(Me(1),z(""))),xe!==null){var De=q.slice(0,me)+dk(xe,ke)+q.slice(de);Ee(De.slice(0,o.length))}H({})},ve=c.useRef();Qt(function(){if(!(!P||!o||ne.current)){if(!te.match(q)){Ee(o);return}return Z.current.setSelectionRange(me,de),ve.current=Gt(function(){Z.current.setSelectionRange(me,de)}),function(){Gt.cancel(ve.current)}}},[te,o,P,q,G,me,de,V,Ee]);var Ae=o?{onFocus:pe,onBlur:Se,onKeyDown:fe,onMouseDown:ae,onMouseUp:le,onPaste:re}:{};return c.createElement("div",{ref:K,className:ie(I,W(W({},"".concat(I,"-active"),n&&a),"".concat(I,"-placeholder"),u))},c.createElement(w,_e({ref:Z,"aria-invalid":h,autoComplete:"off"},S,{onKeyDown:Pe,onBlur:Re},Ae,{value:q,onChange:ge})),c.createElement(aS,{type:"suffix",icon:i}),v)}),yye=["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"],Cye=["index"];function Tye(e,t){var n=e.id,r=e.clearIcon,a=e.suffixIcon,i=e.separator,o=i===void 0?"~":i,s=e.activeIndex;e.activeHelp,e.allHelp;var l=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,p=e.style,f=e.onClick,m=e.onClear,g=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var h=e.disabled,v=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var _=e.onActiveOffset,E=e.placement,y=e.onMouseDown;e.required,e["aria-required"];var C=e.autoFocus,T=Et(e,yye),x=S==="rtl",R=c.useContext(So),w=R.prefixCls,I=c.useMemo(function(){if(typeof n=="string")return[n];var q=n||{};return[q.start,q.end]},[n]),O=c.useRef(),k=c.useRef(),P=c.useRef(),M=function(K){var Z;return(Z=[k,P][K])===null||Z===void 0?void 0:Z.current};c.useImperativeHandle(t,function(){return{nativeElement:O.current,focus:function(K){if(gt(K)==="object"){var Z,te=K||{},se=te.index,ue=se===void 0?0:se,me=Et(te,Cye);(Z=M(ue))===null||Z===void 0||Z.focus(me)}else{var de;(de=M(K??0))===null||de===void 0||de.focus()}},blur:function(){var K,Z;(K=M(0))===null||K===void 0||K.blur(),(Z=M(1))===null||Z===void 0||Z.blur()}}});var N=iJ(T),A=c.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),D=aJ(ee(ee({},e),{},{id:I,placeholder:A})),L=oe(D,1),$=L[0],F=Jb(E,x),B=OZ(F,x),z=F==null?void 0:F.toLowerCase().endsWith("right"),U=c.useState({position:"absolute",width:0}),j=oe(U,2),G=j[0],J=j[1],Y=Wt(function(){var q=M(s);if(q){var K=q.nativeElement,Z=K.offsetWidth,te=K.offsetLeft,se=K.offsetParent,ue=(se==null?void 0:se.offsetWidth)||0,me=z?ue-Z-te:te;J(function(de){return ee(ee({},de),{},W({width:Z},B,me))}),_(me)}});c.useEffect(function(){Y()},[s]);var X=r&&(g[0]&&!h[0]||g[1]&&!h[1]),V=C&&!h[0],H=C&&!V&&!h[1];return c.createElement(da,{onResize:Y},c.createElement("div",_e({},N,{className:ie(w,"".concat(w,"-range"),W(W(W(W({},"".concat(w,"-focused"),l),"".concat(w,"-disabled"),h.every(function(q){return q})),"".concat(w,"-invalid"),v.some(function(q){return q})),"".concat(w,"-rtl"),x),d),style:p,ref:O,onClick:f,onMouseDown:function(K){var Z=K.target;Z!==k.current.inputElement&&Z!==P.current.inputElement&&K.preventDefault(),y==null||y(K)}}),c.createElement(hD,_e({ref:k},$(0),{autoFocus:V,"date-range":"start"})),c.createElement("div",{className:"".concat(w,"-range-separator")},o),c.createElement(hD,_e({ref:P},$(1),{autoFocus:H,"date-range":"end"})),c.createElement("div",{className:"".concat(w,"-active-bar"),style:G}),c.createElement(aS,{type:"suffix",icon:a}),X&&c.createElement(gD,{icon:r,onClear:m})))}var xye=c.forwardRef(Tye);function C3(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function bh(e){return e===1?"end":"start"}function Rye(e,t){var n=HZ(e,function(){var zt=e.disabled,Ft=e.allowEmpty,ut=C3(zt,!1),Pt=C3(Ft,!1);return{disabled:ut,allowEmpty:Pt}}),r=oe(n,6),a=r[0],i=r[1],o=r[2],s=r[3],l=r[4],u=r[5],d=a.prefixCls,p=a.styles,f=a.classNames,m=a.placement,g=a.defaultValue,h=a.value,v=a.needConfirm,S=a.onKeyDown,_=a.disabled,E=a.allowEmpty,y=a.disabledDate,C=a.minDate,T=a.maxDate,x=a.defaultOpen,R=a.open,w=a.onOpenChange,I=a.locale,O=a.generateConfig,k=a.picker,P=a.showNow,M=a.showToday,N=a.showTime,A=a.mode,D=a.onPanelChange,L=a.onCalendarChange,$=a.onOk,F=a.defaultPickerValue,B=a.pickerValue,z=a.onPickerValueChange,U=a.inputReadOnly,j=a.suffixIcon,G=a.onFocus,J=a.onBlur,Y=a.presets,X=a.ranges,V=a.components,H=a.cellRender,q=a.dateRender,K=a.monthCellRender,Z=a.onClick,te=VZ(t),se=GZ(R,x,_,w),ue=oe(se,2),me=ue[0],de=ue[1],Te=function(Ft,ut){(_.some(function(Pt){return!Pt})||!Ft)&&de(Ft,ut)},Ee=ZZ(O,I,s,!0,!1,g,h,L,$),ge=oe(Ee,5),re=ge[0],ne=ge[1],ae=ge[2],le=ge[3],pe=ge[4],Re=ae(),Se=WZ(_,E,me),Pe=oe(Se,7),fe=Pe[0],ve=Pe[1],Ae=Pe[2],ye=Pe[3],be=Pe[4],Ne=Pe[5],Ie=Pe[6],xe=function(Ft,ut){ve(!0),G==null||G(Ft,{range:bh(ut??ye)})},ke=function(Ft,ut){ve(!1),J==null||J(Ft,{range:bh(ut??ye)})},rt=c.useMemo(function(){if(!N)return null;var zt=N.disabledTime,Ft=zt?function(ut){var Pt=bh(ye),mn=DZ(Re,Ie,ye);return zt(ut,Pt,{from:mn})}:void 0;return ee(ee({},N),{},{disabledTime:Ft})},[N,ye,Re,Ie]),Me=ln([k,k],{value:A}),Ce=oe(Me,2),De=Ce[0],Ue=Ce[1],Ye=De[ye]||k,He=Ye==="date"&&rt?"datetime":Ye,ze=He===k&&He!=="time",Xe=eJ(k,Ye,P,M,!0),Be=JZ(a,re,ne,ae,le,_,s,fe,me,u),Je=oe(Be,2),mt=Je[0],pt=Je[1],We=QEe(Re,_,Ie,O,I,y),Ve=LZ(Re,u,E),Ze=oe(Ve,2),dt=Ze[0],It=Ze[1],Nt=YZ(O,I,Re,De,me,ye,i,ze,F,B,rt==null?void 0:rt.defaultOpenValue,z,C,T),ht=oe(Nt,2),ct=ht[0],ot=ht[1],et=Wt(function(zt,Ft,ut){var Pt=Cf(De,ye,Ft);if((Pt[0]!==De[0]||Pt[1]!==De[1])&&Ue(Pt),D&&ut!==!1){var mn=$e(Re);zt&&(mn[ye]=zt),D(mn,Pt)}}),vt=function(Ft,ut){return Cf(Re,ut,Ft)},nt=function(Ft,ut){var Pt=Re;Ft&&(Pt=vt(Ft,ye));var mn=Ne(Pt);le(Pt),mt(ye,mn===null),mn===null?Te(!1,{force:!0}):ut||te.current.focus({index:mn})},bt=function(Ft){var ut,Pt=Ft.target.getRootNode();if(!te.current.nativeElement.contains((ut=Pt.activeElement)!==null&&ut!==void 0?ut:document.activeElement)){var mn=_.findIndex(function(pr){return!pr});mn>=0&&te.current.focus({index:mn})}Te(!0),Z==null||Z(Ft)},Ct=function(){pt(null),Te(!1,{force:!0})},tt=c.useState(null),it=oe(tt,2),Ke=it[0],qe=it[1],_t=c.useState(null),xt=oe(_t,2),kt=xt[0],tn=xt[1],nn=c.useMemo(function(){return kt||Re},[Re,kt]);c.useEffect(function(){me||tn(null)},[me]);var rn=c.useState(0),Vt=oe(rn,2),yt=Vt[0],Ot=Vt[1],Mt=qZ(Y,X),En=function(Ft){tn(Ft),qe("preset")},Hn=function(Ft){var ut=pt(Ft);ut&&Te(!1,{force:!0})},lr=function(Ft){nt(Ft)},tr=function(Ft){tn(Ft?vt(Ft,ye):null),qe("cell")},Rr=function(Ft){Te(!0),xe(Ft)},wr=function(){Ae("panel")},Gn=function(Ft){var ut=Cf(Re,ye,Ft);le(ut),!v&&!o&&i===He&&nt(Ft)},Yt=function(){Te(!1)},Bt=pk(H,q,K,bh(ye)),qt=Re[ye]||null,Ut=Wt(function(zt){return u(zt,{activeIndex:ye})}),jt=c.useMemo(function(){var zt=Qn(a,!1),Ft=An(a,[].concat($e(Object.keys(zt)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return Ft},[a]),St=c.createElement(rJ,_e({},jt,{showNow:Xe,showTime:rt,range:!0,multiplePanel:ze,activeOffset:yt,placement:m,disabledDate:We,onFocus:Rr,onBlur:ke,onPanelMouseDown:wr,picker:k,mode:Ye,internalMode:He,onPanelChange:et,format:l,value:qt,isInvalid:Ut,onChange:null,onSelect:Gn,pickerValue:ct,defaultOpenValue:jc(N==null?void 0:N.defaultOpenValue)[ye],onPickerValueChange:ot,hoverValue:nn,onHover:tr,needConfirm:v,onSubmit:nt,onOk:pe,presets:Mt,onPresetHover:En,onPresetSubmit:Hn,onNow:lr,cellRender:Bt})),Tt=function(Ft,ut){var Pt=vt(Ft,ut);le(Pt)},sn=function(){Ae("input")},yn=function(Ft,ut){Ae("input"),Te(!0,{inherit:!0}),ye!==ut&&me&&!v&&o&&nt(null,!0),be(ut),xe(Ft,ut)},nr=function(Ft,ut){if(Te(!1),!v&&Ae()==="input"){var Pt=Ne(Re);mt(ye,Pt===null)}ke(Ft,ut)},cr=function(Ft,ut){Ft.key==="Tab"&&nt(null,!0),S==null||S(Ft,ut)},vr=c.useMemo(function(){return{prefixCls:d,locale:I,generateConfig:O,button:V.button,input:V.input}},[d,I,O,V.button,V.input]);return Qt(function(){me&&ye!==void 0&&et(null,k,!1)},[me,ye,k]),Qt(function(){var zt=Ae();!me&&zt==="input"&&(Te(!1),nt(null,!0)),!me&&o&&!v&&zt==="panel"&&(Te(!0),nt())},[me]),c.createElement(So.Provider,{value:vr},c.createElement(NZ,_e({},MZ(a),{popupElement:St,popupStyle:p.popup,popupClassName:f.popup,visible:me,onClose:Yt,range:!0}),c.createElement(xye,_e({},a,{ref:te,suffixIcon:j,activeIndex:fe||me?ye:null,activeHelp:!!kt,allHelp:!!kt&&Ke==="preset",focused:fe,onFocus:yn,onBlur:nr,onKeyDown:cr,onSubmit:nt,value:nn,maskFormat:l,onChange:Tt,onInputChange:sn,format:s,inputReadOnly:U,disabled:_,open:me,onOpenChange:Te,onClick:bt,onClear:Ct,invalid:dt,onInvalid:It,onActiveOffset:Ot}))))}var wye=c.forwardRef(Rye);function Iye(e){var t=e.prefixCls,n=e.value,r=e.onRemove,a=e.removeIcon,i=a===void 0?"×":a,o=e.formatDate,s=e.disabled,l=e.maxTagCount,u=e.placeholder,d="".concat(t,"-selector"),p="".concat(t,"-selection"),f="".concat(p,"-overflow");function m(v,S){return c.createElement("span",{className:ie("".concat(p,"-item")),title:typeof v=="string"?v:null},c.createElement("span",{className:"".concat(p,"-item-content")},v),!s&&S&&c.createElement("span",{onMouseDown:function(E){E.preventDefault()},onClick:S,className:"".concat(p,"-item-remove")},i))}function g(v){var S=o(v),_=function(y){y&&y.stopPropagation(),r(v)};return m(S,_)}function h(v){var S="+ ".concat(v.length," ...");return m(S)}return c.createElement("div",{className:d},c.createElement(co,{prefixCls:f,data:n,renderItem:g,renderRest:h,itemKey:function(S){return o(S)},maxCount:l}),!n.length&&c.createElement("span",{className:"".concat(t,"-selection-placeholder")},u))}var Oye=["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 Nye(e,t){e.id;var n=e.open,r=e.clearIcon,a=e.suffixIcon;e.activeHelp,e.allHelp;var i=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var o=e.locale,s=e.generateConfig,l=e.placeholder,u=e.className,d=e.style,p=e.onClick,f=e.onClear,m=e.internalPicker,g=e.value,h=e.onChange,v=e.onSubmit;e.onInputChange;var S=e.multiple,_=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var E=e.disabled,y=e.invalid;e.inputReadOnly;var C=e.direction;e.onOpenChange;var T=e.onMouseDown;e.required,e["aria-required"];var x=e.autoFocus,R=e.removeIcon,w=Et(e,Oye),I=C==="rtl",O=c.useContext(So),k=O.prefixCls,P=c.useRef(),M=c.useRef();c.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(G){var J;(J=M.current)===null||J===void 0||J.focus(G)},blur:function(){var G;(G=M.current)===null||G===void 0||G.blur()}}});var N=iJ(w),A=function(G){h([G])},D=function(G){var J=g.filter(function(Y){return Y&&!ba(s,o,Y,G,m)});h(J),n||v()},L=aJ(ee(ee({},e),{},{onChange:A}),function(j){var G=j.valueTexts;return{value:G[0]||"",active:i}}),$=oe(L,2),F=$[0],B=$[1],z=!!(r&&g.length&&!E),U=S?c.createElement(c.Fragment,null,c.createElement(Iye,{prefixCls:k,value:g,onRemove:D,formatDate:B,maxTagCount:_,disabled:E,removeIcon:R,placeholder:l}),c.createElement("input",{className:"".concat(k,"-multiple-input"),value:g.map(B).join(","),ref:M,readOnly:!0,autoFocus:x}),c.createElement(aS,{type:"suffix",icon:a}),z&&c.createElement(gD,{icon:r,onClear:f})):c.createElement(hD,_e({ref:M},F(),{autoFocus:x,suffixIcon:a,clearIcon:z&&c.createElement(gD,{icon:r,onClear:f}),showActiveCls:!1}));return c.createElement("div",_e({},N,{className:ie(k,W(W(W(W(W({},"".concat(k,"-multiple"),S),"".concat(k,"-focused"),i),"".concat(k,"-disabled"),E),"".concat(k,"-invalid"),y),"".concat(k,"-rtl"),I),u),style:d,ref:P,onClick:p,onMouseDown:function(G){var J,Y=G.target;Y!==((J=M.current)===null||J===void 0?void 0:J.inputElement)&&G.preventDefault(),T==null||T(G)}}),U)}var Aye=c.forwardRef(Nye);function Dye(e,t){var n=HZ(e),r=oe(n,6),a=r[0],i=r[1],o=r[2],s=r[3],l=r[4],u=r[5],d=a,p=d.prefixCls,f=d.styles,m=d.classNames,g=d.order,h=d.defaultValue,v=d.value,S=d.needConfirm,_=d.onChange,E=d.onKeyDown,y=d.disabled,C=d.disabledDate,T=d.minDate,x=d.maxDate,R=d.defaultOpen,w=d.open,I=d.onOpenChange,O=d.locale,k=d.generateConfig,P=d.picker,M=d.showNow,N=d.showToday,A=d.showTime,D=d.mode,L=d.onPanelChange,$=d.onCalendarChange,F=d.onOk,B=d.multiple,z=d.defaultPickerValue,U=d.pickerValue,j=d.onPickerValueChange,G=d.inputReadOnly,J=d.suffixIcon,Y=d.removeIcon,X=d.onFocus,V=d.onBlur,H=d.presets,q=d.components,K=d.cellRender,Z=d.dateRender,te=d.monthCellRender,se=d.onClick,ue=VZ(t);function me(St){return St===null?null:B?St:St[0]}var de=tJ(k,O,i),Te=GZ(w,R,[y],I),Ee=oe(Te,2),ge=Ee[0],re=Ee[1],ne=function(Tt,sn,yn){if($){var nr=ee({},yn);delete nr.range,$(me(Tt),me(sn),nr)}},ae=function(Tt){F==null||F(me(Tt))},le=ZZ(k,O,s,!1,g,h,v,ne,ae),pe=oe(le,5),Re=pe[0],Se=pe[1],Pe=pe[2],fe=pe[3],ve=pe[4],Ae=Pe(),ye=WZ([y]),be=oe(ye,4),Ne=be[0],Ie=be[1],xe=be[2],ke=be[3],rt=function(Tt){Ie(!0),X==null||X(Tt,{})},Me=function(Tt){Ie(!1),V==null||V(Tt,{})},Ce=ln(P,{value:D}),De=oe(Ce,2),Ue=De[0],Ye=De[1],He=Ue==="date"&&A?"datetime":Ue,ze=eJ(P,Ue,M,N),Xe=_&&function(St,Tt){_(me(St),me(Tt))},Be=JZ(ee(ee({},a),{},{onChange:Xe}),Re,Se,Pe,fe,[],s,Ne,ge,u),Je=oe(Be,2),mt=Je[1],pt=LZ(Ae,u),We=oe(pt,2),Ve=We[0],Ze=We[1],dt=c.useMemo(function(){return Ve.some(function(St){return St})},[Ve]),It=function(Tt,sn){if(j){var yn=ee(ee({},sn),{},{mode:sn.mode[0]});delete yn.range,j(Tt[0],yn)}},Nt=YZ(k,O,Ae,[Ue],ge,ke,i,!1,z,U,jc(A==null?void 0:A.defaultOpenValue),It,T,x),ht=oe(Nt,2),ct=ht[0],ot=ht[1],et=Wt(function(St,Tt,sn){if(Ye(Tt),L&&sn!==!1){var yn=St||Ae[Ae.length-1];L(yn,Tt)}}),vt=function(){mt(Pe()),re(!1,{force:!0})},nt=function(Tt){!y&&!ue.current.nativeElement.contains(document.activeElement)&&ue.current.focus(),re(!0),se==null||se(Tt)},bt=function(){mt(null),re(!1,{force:!0})},Ct=c.useState(null),tt=oe(Ct,2),it=tt[0],Ke=tt[1],qe=c.useState(null),_t=oe(qe,2),xt=_t[0],kt=_t[1],tn=c.useMemo(function(){var St=[xt].concat($e(Ae)).filter(function(Tt){return Tt});return B?St:St.slice(0,1)},[Ae,xt,B]),nn=c.useMemo(function(){return!B&&xt?[xt]:Ae.filter(function(St){return St})},[Ae,xt,B]);c.useEffect(function(){ge||kt(null)},[ge]);var rn=qZ(H),Vt=function(Tt){kt(Tt),Ke("preset")},yt=function(Tt){var sn=B?de(Pe(),Tt):[Tt],yn=mt(sn);yn&&!B&&re(!1,{force:!0})},Ot=function(Tt){yt(Tt)},Mt=function(Tt){kt(Tt),Ke("cell")},En=function(Tt){re(!0),rt(Tt)},Hn=function(Tt){xe("panel");var sn=B?de(Pe(),Tt):[Tt];fe(sn),!S&&!o&&i===He&&vt()},lr=function(){re(!1)},tr=pk(K,Z,te),Rr=c.useMemo(function(){var St=Qn(a,!1),Tt=An(a,[].concat($e(Object.keys(St)),["onChange","onCalendarChange","style","className","onPanelChange"]));return ee(ee({},Tt),{},{multiple:a.multiple})},[a]),wr=c.createElement(rJ,_e({},Rr,{showNow:ze,showTime:A,disabledDate:C,onFocus:En,onBlur:Me,picker:P,mode:Ue,internalMode:He,onPanelChange:et,format:l,value:Ae,isInvalid:u,onChange:null,onSelect:Hn,pickerValue:ct,defaultOpenValue:A==null?void 0:A.defaultOpenValue,onPickerValueChange:ot,hoverValue:tn,onHover:Mt,needConfirm:S,onSubmit:vt,onOk:ve,presets:rn,onPresetHover:Vt,onPresetSubmit:yt,onNow:Ot,cellRender:tr})),Gn=function(Tt){fe(Tt)},Yt=function(){xe("input")},Bt=function(Tt){xe("input"),re(!0,{inherit:!0}),rt(Tt)},qt=function(Tt){re(!1),Me(Tt)},Ut=function(Tt,sn){Tt.key==="Tab"&&vt(),E==null||E(Tt,sn)},jt=c.useMemo(function(){return{prefixCls:p,locale:O,generateConfig:k,button:q.button,input:q.input}},[p,O,k,q.button,q.input]);return Qt(function(){ge&&ke!==void 0&&et(null,P,!1)},[ge,ke,P]),Qt(function(){var St=xe();!ge&&St==="input"&&(re(!1),vt()),!ge&&o&&!S&&St==="panel"&&(re(!0),vt())},[ge]),c.createElement(So.Provider,{value:jt},c.createElement(NZ,_e({},MZ(a),{popupElement:wr,popupStyle:f.popup,popupClassName:m.popup,visible:ge,onClose:lr}),c.createElement(Aye,_e({},a,{ref:ue,suffixIcon:J,removeIcon:Y,activeHelp:!!xt,allHelp:!!xt&&it==="preset",focused:Ne,onFocus:Bt,onBlur:qt,onKeyDown:Ut,onSubmit:vt,value:nn,maskFormat:l,onChange:Gn,onInputChange:Yt,internalPicker:i,format:s,inputReadOnly:G,disabled:y,open:ge,onOpenChange:re,onClick:nt,onClear:bt,invalid:dt,onInvalid:function(Tt){Ze(Tt,0)}}))))}var Mye=c.forwardRef(Dye);const oJ=c.createContext(null),Lye=oJ.Provider,sJ=c.createContext(null),kye=sJ.Provider;var Pye=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],lJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,a=e.className,i=e.style,o=e.checked,s=e.disabled,l=e.defaultChecked,u=l===void 0?!1:l,d=e.type,p=d===void 0?"checkbox":d,f=e.title,m=e.onChange,g=Et(e,Pye),h=c.useRef(null),v=c.useRef(null),S=ln(u,{value:o}),_=oe(S,2),E=_[0],y=_[1];c.useImperativeHandle(t,function(){return{focus:function(R){var w;(w=h.current)===null||w===void 0||w.focus(R)},blur:function(){var R;(R=h.current)===null||R===void 0||R.blur()},input:h.current,nativeElement:v.current}});var C=ie(r,a,W(W({},"".concat(r,"-checked"),E),"".concat(r,"-disabled"),s)),T=function(R){s||("checked"in e||y(R.target.checked),m==null||m({target:ee(ee({},e),{},{type:p,checked:R.target.checked}),stopPropagation:function(){R.stopPropagation()},preventDefault:function(){R.preventDefault()},nativeEvent:R.nativeEvent}))};return c.createElement("span",{className:C,title:f,style:i,ref:v},c.createElement("input",_e({},g,{className:"".concat(r,"-input"),ref:h,onChange:T,disabled:s,checked:!!E,type:p})),c.createElement("span",{className:"".concat(r,"-inner")}))});const $ye=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},on(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"}})}},Fye=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:a,motionDurationSlow:i,motionDurationMid:o,motionEaseInOutCirc:s,colorBgContainer:l,colorBorder:u,lineWidth:d,colorBgContainerDisabled:p,colorTextDisabled:f,paddingXS:m,dotColorDisabled:g,lineType:h,radioColor:v,radioBgColor:S,calc:_}=e,E=`${t}-inner`,C=_(a).sub(_(4).mul(2)),T=_(1).mul(a).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},on(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:`${Q(d)} ${h} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${E}`]:{borderColor:r},[`${t}-input:focus-visible + ${E}`]:Object.assign({},bs(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:T,height:T,marginBlockStart:_(1).mul(a).div(-2).equal({unit:!0}),marginInlineStart:_(1).mul(a).div(-2).equal({unit:!0}),backgroundColor:v,borderBlockStart:0,borderInlineStart:0,borderRadius:T,transform:"scale(0)",opacity:0,transition:`all ${i} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:T,height:T,backgroundColor:l,borderColor:u,borderStyle:"solid",borderWidth:d,borderRadius:"50%",transition:`all ${o}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[E]:{borderColor:r,backgroundColor:S,"&::after":{transform:`scale(${e.calc(e.dotSize).div(a).equal()})`,opacity:1,transition:`all ${i} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[E]:{backgroundColor:p,borderColor:u,cursor:"not-allowed","&::after":{backgroundColor:g}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[E]:{"&::after":{transform:`scale(${_(C).div(a).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:m,paddingInlineEnd:m}})}},Bye=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:a,lineType:i,colorBorder:o,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:u,fontSize:d,buttonBg:p,fontSizeLG:f,controlHeightLG:m,controlHeightSM:g,paddingXS:h,borderRadius:v,borderRadiusSM:S,borderRadiusLG:_,buttonCheckedBg:E,buttonSolidCheckedColor:y,colorTextDisabled:C,colorBgContainerDisabled:T,buttonCheckedBgDisabled:x,buttonCheckedColorDisabled:R,colorPrimary:w,colorPrimaryHover:I,colorPrimaryActive:O,buttonSolidCheckedBg:k,buttonSolidCheckedHoverBg:P,buttonSolidCheckedActiveBg:M,calc:N}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:u,paddingBlock:0,color:t,fontSize:d,lineHeight:Q(N(n).sub(N(a).mul(2)).equal()),background:p,border:`${Q(a)} ${i} ${o}`,borderBlockStartWidth:N(a).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:a,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].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:N(a).mul(-1).equal(),insetInlineStart:N(a).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:a,paddingInline:0,backgroundColor:o,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${Q(a)} ${i} ${o}`,borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v},"&:first-child:last-child":{borderRadius:v},[`${r}-group-large &`]:{height:m,fontSize:f,lineHeight:Q(N(m).sub(N(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:_,borderEndStartRadius:_},"&:last-child":{borderStartEndRadius:_,borderEndEndRadius:_}},[`${r}-group-small &`]:{height:g,paddingInline:N(h).sub(a).equal(),paddingBlock:0,lineHeight:Q(N(g).sub(N(a).mul(2)).equal()),"&:first-child":{borderStartStartRadius:S,borderEndStartRadius:S},"&:last-child":{borderStartEndRadius:S,borderEndEndRadius:S}},"&:hover":{position:"relative",color:w},"&:has(:focus-visible)":Object.assign({},bs(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:w,background:E,borderColor:w,"&::before":{backgroundColor:w},"&:first-child":{borderColor:w},"&:hover":{color:I,borderColor:I,"&::before":{backgroundColor:I}},"&:active":{color:O,borderColor:O,"&::before":{backgroundColor:O}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:y,background:k,borderColor:k,"&:hover":{color:y,background:P,borderColor:P},"&:active":{color:y,background:M,borderColor:M}},"&-disabled":{color:C,backgroundColor:T,borderColor:o,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:T,borderColor:o}},[`&-disabled${r}-button-wrapper-checked`]:{color:R,backgroundColor:x,borderColor:o,boxShadow:"none"}}}},Uye=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:a,fontSizeLG:i,colorText:o,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:u,colorTextLightSolid:d,colorPrimary:p,colorPrimaryHover:f,colorPrimaryActive:m,colorWhite:g}=e,h=4,v=i,S=t?v-h*2:v-(h+a)*2;return{radioSize:v,dotSize:S,dotColorDisabled:l,buttonSolidCheckedColor:d,buttonSolidCheckedBg:p,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:m,buttonBg:s,buttonCheckedBg:s,buttonColor:o,buttonCheckedBgDisabled:u,buttonCheckedColorDisabled:l,buttonPaddingInline:n-a,wrapperMarginInlineEnd:r,radioColor:t?p:g,radioBgColor:t?s:p}},cJ=cn("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${Q(n)} ${t}`,i=Ht(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[$ye(i),Fye(i),Bye(i)]},Uye,{unitless:{radioSize:!0,dotSize:!0}});var jye=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=c.useContext(oJ),i=c.useContext(sJ),{getPrefixCls:o,direction:s,radio:l}=c.useContext(lt),u=c.useRef(null),d=aa(t,u),{isFormItemInput:p}=c.useContext(Gr),f=M=>{var N,A;(N=e.onChange)===null||N===void 0||N.call(e,M),(A=a==null?void 0:a.onChange)===null||A===void 0||A.call(a,M)},{prefixCls:m,className:g,rootClassName:h,children:v,style:S,title:_}=e,E=jye(e,["prefixCls","className","rootClassName","children","style","title"]),y=o("radio",m),C=((a==null?void 0:a.optionType)||i)==="button",T=C?`${y}-button`:y,x=Zn(y),[R,w,I]=cJ(y,x),O=Object.assign({},E),k=c.useContext(ea);a&&(O.name=a.name,O.onChange=f,O.checked=e.value===a.value,O.disabled=(n=O.disabled)!==null&&n!==void 0?n:a.disabled),O.disabled=(r=O.disabled)!==null&&r!==void 0?r:k;const P=ie(`${T}-wrapper`,{[`${T}-wrapper-checked`]:O.checked,[`${T}-wrapper-disabled`]:O.disabled,[`${T}-wrapper-rtl`]:s==="rtl",[`${T}-wrapper-in-form-item`]:p},l==null?void 0:l.className,g,h,w,I,x);return R(c.createElement(Qm,{component:"Radio",disabled:O.disabled},c.createElement("label",{className:P,style:Object.assign(Object.assign({},l==null?void 0:l.style),S),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:_},c.createElement(lJ,Object.assign({},O,{className:ie(O.className,{[Ob]:!C}),type:"radio",prefixCls:T,ref:d})),v!==void 0?c.createElement("span",null,v):null)))},C_=c.forwardRef(zye),Hye=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=c.useContext(lt),{prefixCls:a,className:i,rootClassName:o,options:s,buttonStyle:l="outline",disabled:u,children:d,size:p,style:f,id:m,optionType:g,name:h,defaultValue:v,value:S,onChange:_,onMouseEnter:E,onMouseLeave:y,onFocus:C,onBlur:T}=e,[x,R]=ln(v,{value:S}),w=c.useCallback(F=>{const B=x,z=F.target.value;"value"in e||R(z),z!==B&&(_==null||_(F))},[x,R,_]),I=n("radio",a),O=`${I}-group`,k=Zn(I),[P,M,N]=cJ(I,k);let A=d;s&&s.length>0&&(A=s.map(F=>typeof F=="string"||typeof F=="number"?c.createElement(C_,{key:F.toString(),prefixCls:I,disabled:u,value:F,checked:x===F},F):c.createElement(C_,{key:`radio-group-value-options-${F.value}`,prefixCls:I,disabled:F.disabled||u,value:F.value,checked:x===F.value,title:F.title,style:F.style,id:F.id,required:F.required},F.label)));const D=xr(p),L=ie(O,`${O}-${l}`,{[`${O}-${D}`]:D,[`${O}-rtl`]:r==="rtl"},i,o,M,N,k),$=c.useMemo(()=>({onChange:w,value:x,disabled:u,name:h,optionType:g}),[w,x,u,h,g]);return P(c.createElement("div",Object.assign({},Qn(e,{aria:!0,data:!0}),{className:L,style:f,onMouseEnter:E,onMouseLeave:y,onFocus:C,onBlur:T,id:m,ref:t}),c.createElement(Lye,{value:$},A)))}),Gye=c.memo(Hye);var Vye=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}=c.useContext(lt),{prefixCls:r}=e,a=Vye(e,["prefixCls"]),i=n("radio",r);return c.createElement(kye,{value:"button"},c.createElement(C_,Object.assign({prefixCls:i},a,{type:"radio",ref:t})))},Wye=c.forwardRef(qye),di=C_;di.Button=Wye;di.Group=Gye;di.__ANT_RADIO=!0;function ug(e){return Ht(e,{inputAffixPadding:e.paddingXXS})}const dg=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:a,controlHeightSM:i,controlHeightLG:o,fontSizeLG:s,lineHeightLG:l,paddingSM:u,controlPaddingHorizontalSM:d,controlPaddingHorizontal:p,colorFillAlter:f,colorPrimaryHover:m,colorPrimary:g,controlOutlineWidth:h,controlOutline:v,colorErrorOutline:S,colorWarningOutline:_,colorBgContainer:E}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-a,0),paddingBlockSM:Math.max(Math.round((i-n*r)/2*10)/10-a,0),paddingBlockLG:Math.ceil((o-s*l)/2*10)/10-a,paddingInline:u-a,paddingInlineSM:d-a,paddingInlineLG:p-a,addonBg:f,activeBorderColor:g,hoverBorderColor:m,activeShadow:`0 0 0 ${h}px ${v}`,errorActiveShadow:`0 0 0 ${h}px ${S}`,warningActiveShadow:`0 0 0 ${h}px ${_}`,hoverBg:E,activeBg:E,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},Yye=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),iS=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({},Yye(Ht(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),vk=(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}}),T3=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},vk(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),_k=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},vk(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},iS(e))}),T3(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),T3(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),x3=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),uJ=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},x3(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),x3(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},iS(e))}})}),bk=(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)}},dJ=(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}}),R3=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},dJ(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),Sk=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},dJ(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},iS(e))}),R3(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),R3(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),w3=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),pJ=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:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},w3(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),w3(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:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),Ek=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),fJ=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:a}=e;return{padding:`${Q(t)} ${Q(a)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},yk=e=>({padding:`${Q(e.paddingBlockSM)} ${Q(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),pg=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Q(e.paddingBlock)} ${Q(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},Ek(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({},fJ(e)),"&-sm":Object.assign({},yk(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),mJ=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({},fJ(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},yk(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 ${Q(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${Q(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Q(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:`${Q(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${n}-select-selector`]:{color:e.colorPrimary}}},[`${n}-cascader-picker`]:{margin:`-9px ${Q(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"},mo()),{[`${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 - `]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderInlineEndWidth:e.lineWidth},[t]:{float:"none"},[`& > ${n}-select > ${n}-select-selector, - & > ${n}-select-auto-complete ${t}, - & > ${n}-cascader-picker ${t}, - & > ${t}-group-wrapper ${t}`]:{borderInlineEndWidth:e.lineWidth,borderRadius:0,"&:hover, &:focus":{zIndex:1}},[`& > ${n}-select-focused`]:{zIndex:1},[`& > ${n}-select > ${n}-select-arrow`]:{zIndex:1},[`& > *:first-child, - & > ${n}-select:first-child > ${n}-select-selector, - & > ${n}-select-auto-complete:first-child ${t}, - & > ${n}-cascader-picker:first-child ${t}`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius},[`& > *:last-child, - & > ${n}-select:last-child > ${n}-select-selector, - & > ${n}-cascader-picker:last-child ${t}, - & > ${n}-cascader-picker-focused:last-child ${t}`]:{borderInlineEndWidth:e.lineWidth,borderStartEndRadius:e.borderRadius,borderEndEndRadius:e.borderRadius},[`& > ${n}-select-auto-complete ${t}`]:{verticalAlign:"top"},[`${t}-group-wrapper + ${t}-group-wrapper`]:{marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),[`${t}-affix-wrapper`]:{borderRadius:0}},[`${t}-group-wrapper:not(:last-child)`]:{[`&${t}-search > ${t}-group`]:{[`& > ${t}-group-addon > ${t}-search-button`]:{borderRadius:0},[`& > ${t}`]:{borderStartStartRadius:e.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:e.borderRadius}}}})}},Kye=e=>{const{componentCls:t,controlHeightSM:n,lineWidth:r,calc:a}=e,o=a(n).sub(a(r).mul(2)).sub(16).div(2).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),pg(e)),_k(e)),Sk(e)),bk(e)),{'&[type="color"]':{height:e.controlHeight,[`&${t}-lg`]:{height:e.controlHeightLG},[`&${t}-sm`]:{height:n,paddingTop:o,paddingBottom:o}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},Xye=e=>{const{componentCls:t}=e;return{[`${t}-clear-icon`]:{margin:0,color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextTertiary},"&:active":{color:e.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${Q(e.inputAffixPadding)}`}}}},Qye=e=>{const{componentCls:t,inputAffixPadding:n,colorTextDescription:r,motionDurationSlow:a,colorIcon:i,colorIconHover:o,iconCls:s}=e,l=`${t}-affix-wrapper`,u=`${t}-affix-wrapper-disabled`;return{[l]:Object.assign(Object.assign(Object.assign(Object.assign({},pg(e)),{display:"inline-flex",[`&:not(${t}-disabled):hover`]:{zIndex:1,[`${t}-search-with-button &`]:{zIndex:0}},"&-focused, &:focus":{zIndex:1},[`> input${t}`]:{padding:0},[`> input${t}, > textarea${t}`]:{fontSize:"inherit",border:"none",borderRadius:0,outline:"none",background:"transparent",color:"inherit","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[t]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:e.paddingXS}},"&-show-count-suffix":{color:r},"&-show-count-has-suffix":{marginInlineEnd:e.paddingXXS},"&-prefix":{marginInlineEnd:n},"&-suffix":{marginInlineStart:n}}}),Xye(e)),{[`${s}${t}-password-icon`]:{color:i,cursor:"pointer",transition:`all ${a}`,"&:hover":{color:o}}}),[u]:{[`${s}${t}-password-icon`]:{color:i,cursor:"not-allowed","&:hover":{color:i}}}}},Zye=e=>{const{componentCls:t,borderRadiusLG:n,borderRadiusSM:r}=e;return{[`${t}-group`]:Object.assign(Object.assign(Object.assign({},on(e)),mJ(e)),{"&-rtl":{direction:"rtl"},"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${t}-group-addon`]:{borderRadius:n,fontSize:e.inputFontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:r}}},uJ(e)),pJ(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}},[`&:not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}-affix-wrapper`]:{borderStartEndRadius:0,borderEndEndRadius:0}}})})}},Jye=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-search`;return{[r]:{[t]:{"&:hover, &:focus":{borderColor:e.colorPrimaryHover,[`+ ${t}-group-addon ${r}-button:not(${n}-btn-primary)`]:{borderInlineStartColor:e.colorPrimaryHover}}},[`${t}-affix-wrapper`]:{borderRadius:0},[`${t}-lg`]:{lineHeight:e.calc(e.lineHeightLG).sub(2e-4).equal()},[`> ${t}-group`]:{[`> ${t}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${r}-button`]:{marginInlineEnd:-1,paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderEndStartRadius:0,boxShadow:"none"},[`${r}-button:not(${n}-btn-primary)`]:{color:e.colorTextDescription,"&:hover":{color:e.colorPrimaryHover},"&:active":{color:e.colorPrimaryActive},[`&${n}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${r}-button`]:{height:e.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${r}-button`]:{height:e.controlHeightLG},[`&-small ${r}-button`]:{height:e.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${t}-compact-item`]:{[`&:not(${t}-compact-last-item)`]:{[`${t}-group-addon`]:{[`${t}-search-button`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal(),borderRadius:0}}},[`&:not(${t}-compact-first-item)`]:{[`${t},${t}-affix-wrapper`]:{borderRadius:0}},[`> ${t}-group-addon ${t}-search-button, - > ${t}, - ${t}-affix-wrapper`]:{"&:hover, &:focus, &:active":{zIndex:2}},[`> ${t}-affix-wrapper-focused`]:{zIndex:2}}}}},eCe=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}}}}}},tCe=e=>{const{componentCls:t}=e;return{[`${t}-out-of-range`]:{[`&, & input, & textarea, ${t}-show-count-suffix, ${t}-data-count`]:{color:e.colorError}}}},Ck=cn("Input",e=>{const t=Ht(e,ug(e));return[Kye(t),eCe(t),Qye(t),Zye(t),Jye(t),tCe(t),Zm(t)]},dg,{resetFont:!1}),hy=(e,t)=>{const{componentCls:n,controlHeight:r}=e,a=t?`${n}-${t}`:"",i=BQ(e);return[{[`${n}-multiple${a}`]:{paddingBlock:i.containerPadding,paddingInlineStart:i.basePadding,minHeight:r,[`${n}-selection-item`]:{height:i.itemHeight,lineHeight:Q(i.itemLineHeight)}}}]},nCe=e=>{const{componentCls:t,calc:n,lineWidth:r}=e,a=Ht(e,{fontHeight:e.fontSize,selectHeight:e.controlHeightSM,multipleSelectItemHeight:e.multipleItemHeightSM,borderRadius:e.borderRadiusSM,borderRadiusSM:e.borderRadiusXS,controlHeight:e.controlHeightSM}),i=Ht(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[hy(a,"small"),hy(e),hy(i,"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"}}},UQ(e)),{[`${t}-multiple-input`]:{width:0,height:0,border:0,visibility:"hidden",position:"absolute",zIndex:-1}})}]},rCe=e=>{const{pickerCellCls:t,pickerCellInnerCls:n,cellHeight:r,borderRadiusSM:a,motionDurationMid:i,cellHoverBg:o,lineWidth:s,lineType:l,colorPrimary:u,cellActiveWithRangeBg:d,colorTextLightSolid:p,colorTextDisabled:f,cellBgDisabled:m,colorFillSecondary:g}=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:Q(r),borderRadius:a,transition:`background ${i}`},[`&:hover:not(${t}-in-view), - &:hover:not(${t}-selected):not(${t}-range-start):not(${t}-range-end)`]:{[n]:{background:o}},[`&-in-view${t}-today ${n}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${Q(s)} ${l} ${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:p,background:u},[`&${t}-disabled ${n}`]:{background:g}},[`&-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:f,pointerEvents:"none",[n]:{background:"transparent"},"&::before":{background:m}},[`&-disabled${t}-today ${n}::before`]:{borderColor:f}}},aCe=e=>{const{componentCls:t,pickerCellCls:n,pickerCellInnerCls:r,pickerYearMonthCellWidth:a,pickerControlIconSize:i,cellWidth:o,paddingSM:s,paddingXS:l,paddingXXS:u,colorBgContainer:d,lineWidth:p,lineType:f,borderRadiusLG:m,colorPrimary:g,colorTextHeading:h,colorSplit:v,pickerControlIconBorderWidth:S,colorIcon:_,textHeight:E,motionDurationMid:y,colorIconHover:C,fontWeightStrong:T,cellHeight:x,pickerCellPaddingVertical:R,colorTextDisabled:w,colorText:I,fontSize:O,motionDurationSlow:k,withoutTimeCellHeight:P,pickerQuarterPanelContentHeight:M,borderRadiusSM:N,colorTextLightSolid:A,cellHoverBg:D,timeColumnHeight:L,timeColumnWidth:$,timeCellHeight:F,controlItemBgActive:B,marginXXS:z,pickerDatePanelPaddingHorizontal:U,pickerControlIconMargin:j}=e,G=e.calc(o).mul(7).add(e.calc(U).mul(2)).equal();return{[t]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:d,borderRadius:m,outline:"none","&-focused":{borderColor:g},"&-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:G},"&-header":{display:"flex",padding:`0 ${Q(l)}`,color:h,borderBottom:`${Q(p)} ${f} ${v}`,"> *":{flex:"none"},button:{padding:0,color:_,lineHeight:Q(E),background:"transparent",border:0,cursor:"pointer",transition:`color ${y}`,fontSize:"inherit",display:"inline-flex",alignItems:"center",justifyContent:"center"},"> button":{minWidth:"1.6em",fontSize:O,"&:hover":{color:C},"&:disabled":{opacity:.25,pointerEvents:"none"}},"&-view":{flex:"auto",fontWeight:T,lineHeight:Q(E),"> button":{color:"inherit",fontWeight:"inherit","&:not(:first-child)":{marginInlineStart:l},"&:hover":{color:g}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",width:i,height:i,"&::before":{position:"absolute",top:0,insetInlineStart:0,width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${Q(S)} 0`,borderInlineWidth:`${Q(S)} 0`,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:j,insetInlineStart:j,display:"inline-block",width:i,height:i,border:"0 solid currentcolor",borderBlockWidth:`${Q(S)} 0`,borderInlineWidth:`${Q(S)} 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:x,fontWeight:"normal"},th:{height:e.calc(x).add(e.calc(R).mul(2)).equal(),color:I,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${Q(R)} 0`,color:w,cursor:"pointer","&-in-view":{color:I}},rCe(e)),"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-content`]:{height:e.calc(P).mul(4).equal()},[r]:{padding:`0 ${Q(l)}`}},"&-quarter-panel":{[`${t}-content`]:{height:M}},"&-decade-panel":{[r]:{padding:`0 ${Q(e.calc(l).div(2).equal())}`},[`${t}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${t}-body`]:{padding:`0 ${Q(l)}`},[r]:{width:a}},"&-date-panel":{[`${t}-body`]:{padding:`${Q(l)} ${Q(U)}`},[`${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 ${y}`},"&:first-child:before":{borderStartStartRadius:N,borderEndStartRadius:N},"&:last-child:before":{borderStartEndRadius:N,borderEndEndRadius:N}},"&:hover td":{"&:before":{background:D}},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:g},[`&${t}-cell-week`]:{color:new an(A).setAlpha(.5).toHexString()},[r]:{color:A}}},"&-range-hover td:before":{background:B}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${Q(l)} ${Q(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${Q(p)} ${f} ${v}`},[`${t}-date-panel, - ${t}-time-panel`]:{transition:`opacity ${k}`},"&-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:L},"&-column":{flex:"1 0 auto",width:$,margin:`${Q(u)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${y}`,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:`${Q(p)} ${f} ${v}`},"&-active":{background:new an(B).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:z,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc($).sub(e.calc(z).mul(2)).equal(),height:F,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc($).sub(F).div(2).equal(),color:I,lineHeight:Q(F),borderRadius:N,cursor:"pointer",transition:`background ${y}`,"&:hover":{background:D}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:B}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:w,background:"transparent",cursor:"not-allowed"}}}}}}}}},iCe=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:a,antCls:i,colorPrimary:o,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:u,colorSplit:d}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${Q(r)} ${u} ${d}`,"&-extra":{padding:`0 ${Q(a)}`,lineHeight:Q(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${Q(r)} ${u} ${d}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:Q(a),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:Q(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${i}-tag-blue`]:{color:o,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},oCe=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()}},sCe=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:a,paddingXXS:i,lineWidth:o}=e,s=i*2,l=o*2,u=Math.min(n-s,n-l),d=Math.min(r-s,r-l),p=Math.min(a-s,a-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(i/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new an(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new an(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:p,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},lCe=e=>Object.assign(Object.assign(Object.assign(Object.assign({},dg(e)),sCe(e)),qb(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),cCe=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},_k(e)),Sk(e)),bk(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},vy=(e,t,n,r)=>{const a=e.calc(n).add(2).equal(),i=e.max(e.calc(t).sub(a).div(2).equal(),0),o=e.max(e.calc(t).sub(a).sub(i).equal(),0);return{padding:`${Q(i)} ${Q(r)} ${Q(o)}`}},uCe=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}}}}},dCe=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:a,lineWidth:i,lineType:o,colorBorder:s,borderRadius:l,motionDurationMid:u,colorTextDisabled:d,colorTextPlaceholder:p,controlHeightLG:f,fontSizeLG:m,controlHeightSM:g,paddingInlineSM:h,paddingXS:v,marginXS:S,colorTextDescription:_,lineWidthBold:E,colorPrimary:y,motionDurationSlow:C,zIndexPopup:T,paddingXXS:x,sizePopupArrow:R,colorBgElevated:w,borderRadiusLG:I,boxShadowSecondary:O,borderRadiusSM:k,colorSplit:P,cellHoverBg:M,presetsWidth:N,presetsMaxWidth:A,boxShadowPopoverArrow:D,fontHeight:L,fontHeightLG:$,lineHeightLG:F}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},on(e)),vy(e,r,L,a)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,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}`},Ek(p)),{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:p}}},"&-large":Object.assign(Object.assign({},vy(e,f,$,a)),{[`${t}-input > input`]:{fontSize:m,lineHeight:F}}),"&-small":Object.assign({},vy(e,g,L,h)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(v).div(2).equal(),color:d,lineHeight:1,pointerEvents:"none",transition:`opacity ${u}, color ${u}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:S}}},[`${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:_}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:m,color:d,fontSize:m,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:_},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(i).mul(-1).equal(),height:E,background:y,opacity:0,transition:`all ${C} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${Q(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:a},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:h}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},on(e)),aCe(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:T,[`&${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, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:Pb},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, - &${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:Lb},[`&${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:$b},[`&${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:kb},[`${t}-panel > ${t}-time-panel`]:{paddingTop:x},[`${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 ${C} ease-out`},WQ(e,w,D)),{"&:before":{insetInlineStart:e.calc(a).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:w,borderRadius:I,boxShadow:O,transition:`margin ${C}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:N,maxWidth:A,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:v,borderInlineEnd:`${Q(i)} ${o} ${P}`,li:Object.assign(Object.assign({},vi),{borderRadius:k,paddingInline:v,paddingBlock:e.calc(g).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${C}`,"+ li":{marginTop:S},"&:hover":{background:M}})}},[`${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:`${Q(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"}}}})},jo(e,"slide-up"),jo(e,"slide-down"),Cd(e,"move-up"),Cd(e,"move-down")]},gJ=cn("DatePicker",e=>{const t=Ht(ug(e),oCe(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[iCe(t),dCe(t),cCe(t),uCe(t),nCe(t),Zm(e,{focusElCls:`${e.componentCls}-focused`})]},lCe);var pCe={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"},fCe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:pCe}))},hJ=c.forwardRef(fCe);const oS=c.createContext(null);var mCe=function(t){var n=t.activeTabOffset,r=t.horizontal,a=t.rtl,i=t.indicator,o=i===void 0?{}:i,s=o.size,l=o.align,u=l===void 0?"center":l,d=c.useState(),p=oe(d,2),f=p[0],m=p[1],g=c.useRef(),h=ce.useCallback(function(S){return typeof s=="function"?s(S):typeof s=="number"?s:S},[s]);function v(){Gt.cancel(g.current)}return c.useEffect(function(){var S={};if(n)if(r){S.width=h(n.width);var _=a?"right":"left";u==="start"&&(S[_]=n[_]),u==="center"&&(S[_]=n[_]+n.width/2,S.transform=a?"translateX(50%)":"translateX(-50%)"),u==="end"&&(S[_]=n[_]+n.width,S.transform="translateX(-100%)")}else S.height=h(n.height),u==="start"&&(S.top=n.top),u==="center"&&(S.top=n.top+n.height/2,S.transform="translateY(-50%)"),u==="end"&&(S.top=n.top+n.height,S.transform="translateY(-100%)");return v(),g.current=Gt(function(){m(S)}),v},[n,r,a,u,h]),{style:f}},I3={width:0,height:0,left:0,top:0};function gCe(e,t,n){return c.useMemo(function(){for(var r,a=new Map,i=t.get((r=e[0])===null||r===void 0?void 0:r.key)||I3,o=i.left+i.width,s=0;sM?(k=I,T.current="x"):(k=O,T.current="y"),t(-k,-k)&&w.preventDefault()}var R=c.useRef(null);R.current={onTouchStart:E,onTouchMove:y,onTouchEnd:C,onWheel:x},c.useEffect(function(){function w(P){R.current.onTouchStart(P)}function I(P){R.current.onTouchMove(P)}function O(P){R.current.onTouchEnd(P)}function k(P){R.current.onWheel(P)}return document.addEventListener("touchmove",I,{passive:!1}),document.addEventListener("touchend",O,{passive:!0}),e.current.addEventListener("touchstart",w,{passive:!0}),e.current.addEventListener("wheel",k,{passive:!1}),function(){document.removeEventListener("touchmove",I),document.removeEventListener("touchend",O)}},[])}function vJ(e){var t=c.useState(0),n=oe(t,2),r=n[0],a=n[1],i=c.useRef(0),o=c.useRef();return o.current=e,pc(function(){var s;(s=o.current)===null||s===void 0||s.call(o)},[r]),function(){i.current===r&&(i.current+=1,a(i.current))}}function _Ce(e){var t=c.useRef([]),n=c.useState({}),r=oe(n,2),a=r[1],i=c.useRef(typeof e=="function"?e():e),o=vJ(function(){var l=i.current;t.current.forEach(function(u){l=u(l)}),t.current=[],i.current=l,a({})});function s(l){t.current.push(l),o()}return[i.current,s]}var D3={width:0,height:0,left:0,top:0,right:0};function bCe(e,t,n,r,a,i,o){var s=o.tabs,l=o.tabPosition,u=o.rtl,d,p,f;return["top","bottom"].includes(l)?(d="width",p=u?"right":"left",f=Math.abs(n)):(d="height",p="top",f=-n),c.useMemo(function(){if(!s.length)return[0,0];for(var m=s.length,g=m,h=0;hf+t){g=h-1;break}}for(var S=0,_=m-1;_>=0;_-=1){var E=e.get(s[_].key)||D3;if(E[p]=g?[0,0]:[S,g]},[e,t,r,a,i,f,l,s.map(function(m){return m.key}).join("_"),u])}function M3(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var SCe="TABS_DQ";function _J(e){return String(e).replace(/"/g,SCe)}function bJ(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var SJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,i=e.style;return!r||r.showAdd===!1?null:c.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:i,"aria-label":(a==null?void 0:a.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),L3=c.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,a=e.extra;if(!a)return null;var i,o={};return gt(a)==="object"&&!c.isValidElement(a)?o=a:o.right=a,n==="right"&&(i=o.right),n==="left"&&(i=o.left),i?c.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},i):null}),ECe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,a=e.tabs,i=e.locale,o=e.mobile,s=e.more,l=s===void 0?{}:s,u=e.style,d=e.className,p=e.editable,f=e.tabBarGutter,m=e.rtl,g=e.removeAriaLabel,h=e.onTabClick,v=e.getPopupContainer,S=e.popupClassName,_=c.useState(!1),E=oe(_,2),y=E[0],C=E[1],T=c.useState(null),x=oe(T,2),R=x[0],w=x[1],I=l.icon,O=I===void 0?"More":I,k="".concat(r,"-more-popup"),P="".concat(n,"-dropdown"),M=R!==null?"".concat(k,"-").concat(R):null,N=i==null?void 0:i.dropdownAriaLabel;function A(U,j){U.preventDefault(),U.stopPropagation(),p.onEdit("remove",{key:j,event:U})}var D=c.createElement(Qd,{onClick:function(j){var G=j.key,J=j.domEvent;h(G,J),C(!1)},prefixCls:"".concat(P,"-menu"),id:k,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[R],"aria-label":N!==void 0?N:"expanded dropdown"},a.map(function(U){var j=U.closable,G=U.disabled,J=U.closeIcon,Y=U.key,X=U.label,V=bJ(j,J,p,G);return c.createElement(sg,{key:Y,id:"".concat(k,"-").concat(Y),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(Y),disabled:G},c.createElement("span",null,X),V&&c.createElement("button",{type:"button","aria-label":g||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(q){q.stopPropagation(),A(q,Y)}},J||p.removeIcon||"×"))}));function L(U){for(var j=a.filter(function(V){return!V.disabled}),G=j.findIndex(function(V){return V.key===R})||0,J=j.length,Y=0;Yot?"left":"right"})}),P=oe(k,2),M=P[0],N=P[1],A=O3(0,function(ct,ot){!O&&h&&h({direction:ct>ot?"top":"bottom"})}),D=oe(A,2),L=D[0],$=D[1],F=c.useState([0,0]),B=oe(F,2),z=B[0],U=B[1],j=c.useState([0,0]),G=oe(j,2),J=G[0],Y=G[1],X=c.useState([0,0]),V=oe(X,2),H=V[0],q=V[1],K=c.useState([0,0]),Z=oe(K,2),te=Z[0],se=Z[1],ue=_Ce(new Map),me=oe(ue,2),de=me[0],Te=me[1],Ee=gCe(E,de,J[0]),ge=Sh(z,O),re=Sh(J,O),ne=Sh(H,O),ae=Sh(te,O),le=gePe?Pe:ct}var ve=c.useRef(null),Ae=c.useState(),ye=oe(Ae,2),be=ye[0],Ne=ye[1];function Ie(){Ne(Date.now())}function xe(){ve.current&&clearTimeout(ve.current)}vCe(x,function(ct,ot){function et(vt,nt){vt(function(bt){var Ct=fe(bt+nt);return Ct})}return le?(O?et(N,ct):et($,ot),xe(),Ie(),!0):!1}),c.useEffect(function(){return xe(),be&&(ve.current=setTimeout(function(){Ne(0)},100)),xe},[be]);var ke=bCe(Ee,pe,O?M:L,re,ne,ae,ee(ee({},e),{},{tabs:E})),rt=oe(ke,2),Me=rt[0],Ce=rt[1],De=Wt(function(){var ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o,ot=Ee.get(ct)||{width:0,height:0,left:0,right:0,top:0};if(O){var et=M;s?ot.rightM+pe&&(et=ot.right+ot.width-pe):ot.left<-M?et=-ot.left:ot.left+ot.width>-M+pe&&(et=-(ot.left+ot.width-pe)),$(0),N(fe(et))}else{var vt=L;ot.top<-L?vt=-ot.top:ot.top+ot.height>-L+pe&&(vt=-(ot.top+ot.height-pe)),N(0),$(fe(vt))}}),Ue={};p==="top"||p==="bottom"?Ue[s?"marginRight":"marginLeft"]=f:Ue.marginTop=f;var Ye=E.map(function(ct,ot){var et=ct.key;return c.createElement(CCe,{id:a,prefixCls:_,key:et,tab:ct,style:ot===0?void 0:Ue,closable:ct.closable,editable:u,active:et===o,renderWrapper:m,removeAriaLabel:d==null?void 0:d.removeAriaLabel,onClick:function(nt){g(et,nt)},onFocus:function(){De(et),Ie(),x.current&&(s||(x.current.scrollLeft=0),x.current.scrollTop=0)}})}),He=function(){return Te(function(){var ot,et=new Map,vt=(ot=R.current)===null||ot===void 0?void 0:ot.getBoundingClientRect();return E.forEach(function(nt){var bt,Ct=nt.key,tt=(bt=R.current)===null||bt===void 0?void 0:bt.querySelector('[data-node-key="'.concat(_J(Ct),'"]'));if(tt){var it=TCe(tt,vt),Ke=oe(it,4),qe=Ke[0],_t=Ke[1],xt=Ke[2],kt=Ke[3];et.set(Ct,{width:qe,height:_t,left:xt,top:kt})}}),et})};c.useEffect(function(){He()},[E.map(function(ct){return ct.key}).join("_")]);var ze=vJ(function(){var ct=pu(y),ot=pu(C),et=pu(T);U([ct[0]-ot[0]-et[0],ct[1]-ot[1]-et[1]]);var vt=pu(I);q(vt);var nt=pu(w);se(nt);var bt=pu(R);Y([bt[0]-vt[0],bt[1]-vt[1]]),He()}),Xe=E.slice(0,Me),Be=E.slice(Ce+1),Je=[].concat($e(Xe),$e(Be)),mt=Ee.get(o),pt=mCe({activeTabOffset:mt,horizontal:O,indicator:v,rtl:s}),We=pt.style;c.useEffect(function(){De()},[o,Se,Pe,M3(mt),M3(Ee),O]),c.useEffect(function(){ze()},[s]);var Ve=!!Je.length,Ze="".concat(_,"-nav-wrap"),dt,It,Nt,ht;return O?s?(It=M>0,dt=M!==Pe):(dt=M<0,It=M!==Se):(Nt=L<0,ht=L!==Se),c.createElement(da,{onResize:ze},c.createElement("div",{ref:Rs(t,y),role:"tablist",className:ie("".concat(_,"-nav"),n),style:r,onKeyDown:function(){Ie()}},c.createElement(L3,{ref:C,position:"left",extra:l,prefixCls:_}),c.createElement(da,{onResize:ze},c.createElement("div",{className:ie(Ze,W(W(W(W({},"".concat(Ze,"-ping-left"),dt),"".concat(Ze,"-ping-right"),It),"".concat(Ze,"-ping-top"),Nt),"".concat(Ze,"-ping-bottom"),ht)),ref:x},c.createElement(da,{onResize:ze},c.createElement("div",{ref:R,className:"".concat(_,"-nav-list"),style:{transform:"translate(".concat(M,"px, ").concat(L,"px)"),transition:be?"none":void 0}},Ye,c.createElement(SJ,{ref:I,prefixCls:_,locale:d,editable:u,style:ee(ee({},Ye.length===0?void 0:Ue),{},{visibility:Ve?"hidden":null})}),c.createElement("div",{className:ie("".concat(_,"-ink-bar"),W({},"".concat(_,"-ink-bar-animated"),i.inkBar)),style:We}))))),c.createElement(yCe,_e({},e,{removeAriaLabel:d==null?void 0:d.removeAriaLabel,ref:w,prefixCls:_,tabs:Je,className:!Ve&&Re,tabMoving:!!be})),c.createElement(L3,{ref:T,position:"right",extra:l,prefixCls:_})))}),EJ=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.id,o=e.active,s=e.tabKey,l=e.children;return c.createElement("div",{id:i&&"".concat(i,"-panel-").concat(s),role:"tabpanel",tabIndex:o?0:-1,"aria-labelledby":i&&"".concat(i,"-tab-").concat(s),"aria-hidden":!o,style:a,className:ie(n,o&&"".concat(n,"-active"),r),ref:t},l)}),xCe=["renderTabBar"],RCe=["label","key"],wCe=function(t){var n=t.renderTabBar,r=Et(t,xCe),a=c.useContext(oS),i=a.tabs;if(n){var o=ee(ee({},r),{},{panes:i.map(function(s){var l=s.label,u=s.key,d=Et(s,RCe);return c.createElement(EJ,_e({tab:l,key:u,tabKey:u},d))})});return n(o,k3)}return c.createElement(k3,r)},ICe=["key","forceRender","style","className","destroyInactiveTabPane"],OCe=function(t){var n=t.id,r=t.activeKey,a=t.animated,i=t.tabPosition,o=t.destroyInactiveTabPane,s=c.useContext(oS),l=s.prefixCls,u=s.tabs,d=a.tabPane,p="".concat(l,"-tabpane");return c.createElement("div",{className:ie("".concat(l,"-content-holder"))},c.createElement("div",{className:ie("".concat(l,"-content"),"".concat(l,"-content-").concat(i),W({},"".concat(l,"-content-animated"),d))},u.map(function(f){var m=f.key,g=f.forceRender,h=f.style,v=f.className,S=f.destroyInactiveTabPane,_=Et(f,ICe),E=m===r;return c.createElement(ta,_e({key:m,visible:E,forceRender:g,removeOnLeave:!!(o||S),leavedClassName:"".concat(p,"-hidden")},a.tabPaneMotion),function(y,C){var T=y.style,x=y.className;return c.createElement(EJ,_e({},_,{prefixCls:p,id:n,tabKey:m,animated:d,active:E,style:ee(ee({},h),T),className:ie(v,x),ref:C}))})})))};function NCe(){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=ee({inkBar:!0},gt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var ACe=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],P3=0,DCe=c.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tabs":r,i=e.className,o=e.items,s=e.direction,l=e.activeKey,u=e.defaultActiveKey,d=e.editable,p=e.animated,f=e.tabPosition,m=f===void 0?"top":f,g=e.tabBarGutter,h=e.tabBarStyle,v=e.tabBarExtraContent,S=e.locale,_=e.more,E=e.destroyInactiveTabPane,y=e.renderTabBar,C=e.onChange,T=e.onTabClick,x=e.onTabScroll,R=e.getPopupContainer,w=e.popupClassName,I=e.indicator,O=Et(e,ACe),k=c.useMemo(function(){return(o||[]).filter(function(te){return te&>(te)==="object"&&"key"in te})},[o]),P=s==="rtl",M=NCe(p),N=c.useState(!1),A=oe(N,2),D=A[0],L=A[1];c.useEffect(function(){L(Fb())},[]);var $=ln(function(){var te;return(te=k[0])===null||te===void 0?void 0:te.key},{value:l,defaultValue:u}),F=oe($,2),B=F[0],z=F[1],U=c.useState(function(){return k.findIndex(function(te){return te.key===B})}),j=oe(U,2),G=j[0],J=j[1];c.useEffect(function(){var te=k.findIndex(function(ue){return ue.key===B});if(te===-1){var se;te=Math.max(0,Math.min(G,k.length-1)),z((se=k[te])===null||se===void 0?void 0:se.key)}J(te)},[k.map(function(te){return te.key}).join("_"),B,G]);var Y=ln(null,{value:n}),X=oe(Y,2),V=X[0],H=X[1];c.useEffect(function(){n||(H("rc-tabs-".concat(P3)),P3+=1)},[]);function q(te,se){T==null||T(te,se);var ue=te!==B;z(te),ue&&(C==null||C(te))}var K={id:V,activeKey:B,animated:M,tabPosition:m,rtl:P,mobile:D},Z=ee(ee({},K),{},{editable:d,locale:S,more:_,tabBarGutter:g,onTabClick:q,onTabScroll:x,extra:v,style:h,panes:null,getPopupContainer:R,popupClassName:w,indicator:I});return c.createElement(oS.Provider,{value:{tabs:k,prefixCls:a}},c.createElement("div",_e({ref:t,id:n,className:ie(a,"".concat(a,"-").concat(m),W(W(W({},"".concat(a,"-mobile"),D),"".concat(a,"-editable"),d),"".concat(a,"-rtl"),P),i)},O),c.createElement(wCe,_e({},Z,{renderTabBar:y})),c.createElement(OCe,_e({destroyInactiveTabPane:E},K,{animated:M}))))});const MCe={motionAppear:!1,motionEnter:!0,motionLeave:!0};function LCe(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({},MCe),{motionName:ya(e,"switch")})),n}var kCe=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 $Ce(e,t){if(e)return e;const n=br(t).map(r=>{if(c.isValidElement(r)){const{key:a,props:i}=r,o=i||{},{tab:s}=o,l=kCe(o,["tab"]);return Object.assign(Object.assign({key:String(a)},l),{label:s})}return null});return PCe(n)}const FCe=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}`}}}}},[jo(e,"slide-up"),jo(e,"slide-down")]]},BCe=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:a,colorBorderSecondary:i,itemSelectedColor:o}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${Q(e.lineWidth)} ${e.lineType} ${i}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:o,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:Q(a)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:Q(a)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Q(e.borderRadiusLG)} 0 0 ${Q(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 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},UCe=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},on(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:`${Q(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({},vi),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${Q(e.paddingXXS)} ${Q(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"}}})}})}},jCe=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:a,verticalItemPadding:i,verticalItemMargin:o,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:`${Q(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:i,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:o},[`${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:Q(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${Q(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:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},zCe=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:a,horizontalItemPaddingLG:i}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:a,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${Q(e.borderRadius)} ${Q(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${Q(e.borderRadius)} ${Q(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Q(e.borderRadius)} ${Q(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Q(e.borderRadius)} 0 0 ${Q(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},HCe=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:a,tabsHorizontalItemMargin:i,horizontalItemPadding:o,itemSelectedColor:s,itemColor:l}=e,u=`${t}-tab`;return{[u]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:o,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":Object.assign({"&:focus:not(:focus-visible), &:active":{color:n}},Bo(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:i}}}},GCe=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:a,calc:i}=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:Q(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:Q(e.marginXS)},marginLeft:{_skip_check_:!0,value:Q(i(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"}}}}},VCe=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:a,itemHoverColor:i,itemActiveColor:o,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},on(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 ${Q(e.paddingXS)}`,background:"transparent",border:`${Q(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:i},"&:active, &:focus:not(:focus-visible)":{color:o}},Bo(e))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),HCe(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"}}}}}},qCe=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}},WCe=cn("Tabs",e=>{const t=Ht(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Q(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${Q(e.horizontalItemGutter)}`});return[zCe(t),GCe(t),jCe(t),UCe(t),BCe(t),VCe(t),FCe(t)]},qCe),YCe=()=>null;var KCe=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,i,o,s,l,u,d,p;const{type:f,className:m,rootClassName:g,size:h,onEdit:v,hideAdd:S,centered:_,addIcon:E,removeIcon:y,moreIcon:C,more:T,popupClassName:x,children:R,items:w,animated:I,style:O,indicatorSize:k,indicator:P}=e,M=KCe(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:N}=M,{direction:A,tabs:D,getPrefixCls:L,getPopupContainer:$}=c.useContext(lt),F=L("tabs",N),B=Zn(F),[z,U,j]=WCe(F,B);let G;f==="editable-card"&&(G={onEdit:(K,Z)=>{let{key:te,event:se}=Z;v==null||v(K==="add"?se:te,K)},removeIcon:(t=y??(D==null?void 0:D.removeIcon))!==null&&t!==void 0?t:c.createElement(na,null),addIcon:(E??(D==null?void 0:D.addIcon))||c.createElement(hJ,null),showAdd:S!==!0});const J=L(),Y=xr(h),X=$Ce(w,R),V=LCe(F,I),H=Object.assign(Object.assign({},D==null?void 0:D.style),O),q={align:(n=P==null?void 0:P.align)!==null&&n!==void 0?n:(r=D==null?void 0:D.indicator)===null||r===void 0?void 0:r.align,size:(s=(i=(a=P==null?void 0:P.size)!==null&&a!==void 0?a:k)!==null&&i!==void 0?i:(o=D==null?void 0:D.indicator)===null||o===void 0?void 0:o.size)!==null&&s!==void 0?s:D==null?void 0:D.indicatorSize};return z(c.createElement(DCe,Object.assign({direction:A,getPopupContainer:$},M,{items:X,className:ie({[`${F}-${Y}`]:Y,[`${F}-card`]:["card","editable-card"].includes(f),[`${F}-editable-card`]:f==="editable-card",[`${F}-centered`]:_},D==null?void 0:D.className,m,g,U,j,B),popupClassName:ie(x,U,j,B),style:H,editable:G,more:Object.assign({icon:(p=(d=(u=(l=D==null?void 0:D.more)===null||l===void 0?void 0:l.icon)!==null&&u!==void 0?u:D==null?void 0:D.moreIcon)!==null&&d!==void 0?d:C)!==null&&p!==void 0?p:c.createElement(uk,null),transitionName:`${J}-slide-up`},T),prefixCls:F,animated:V,indicator:q})))};Tk.TabPane=YCe;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{prefixCls:t,className:n,hoverable:r=!0}=e,a=XCe(e,["prefixCls","className","hoverable"]);const{getPrefixCls:i}=c.useContext(lt),o=i("card",t),s=ie(`${o}-grid`,n,{[`${o}-grid-hoverable`]:r});return c.createElement("div",Object.assign({},a,{className:s}))},QCe=e=>{const{antCls:t,componentCls:n,headerHeight:r,cardPaddingBase:a,tabsMarginBottom:i}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${Q(a)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`},mo()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},vi),{[` - > ${n}-typography, - > ${n}-typography-edit-content - `]:{insetInlineStart:0,marginTop:0,marginBottom:0}}),[`${t}-tabs-top`]:{clear:"both",marginBottom:i,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,"&-bar":{borderBottom:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`}}})},ZCe=e=>{const{cardPaddingBase:t,colorBorderSecondary:n,cardShadow:r,lineWidth:a}=e;return{width:"33.33%",padding:t,border:0,borderRadius:0,boxShadow:` - ${Q(a)} 0 0 0 ${n}, - 0 ${Q(a)} 0 0 ${n}, - ${Q(a)} ${Q(a)} 0 0 ${n}, - ${Q(a)} 0 0 0 ${n} inset, - 0 ${Q(a)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},JCe=e=>{const{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${Q(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)}`},mo()),{"& > 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:Q(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:Q(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${Q(e.lineWidth)} ${e.lineType} ${i}`}}})},e0e=e=>Object.assign(Object.assign({margin:`${Q(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},mo()),{"&-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},vi),"&-description":{color:e.colorTextDescription}}),t0e=e=>{const{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${Q(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${Q(e.padding)} ${Q(n)}`}}},n0e=e=>{const{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},r0e=e=>{const{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:o,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:QCe(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:o,borderRadius:`0 0 ${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)}`},mo()),[`${t}-grid`]:ZCe(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${Q(e.borderRadiusLG)} ${Q(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:JCe(e),[`${t}-meta`]:e0e(e)}),[`${t}-bordered`]:{border:`${Q(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:`${Q(e.borderRadiusLG)} ${Q(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`]:t0e(e),[`${t}-loading`]:n0e(e),[`${t}-rtl`]:{direction:"rtl"}}},a0e=e=>{const{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${Q(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"}}}}},i0e=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}),o0e=cn("Card",e=>{const t=Ht(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[r0e(t),a0e(t)]},i0e);var $3=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 c.createElement("ul",{className:t,style:r},n.map((a,i)=>{const o=`action-${i}`;return c.createElement("li",{style:{width:`${100/n.length}%`},key:o},c.createElement("span",null,a))}))},l0e=c.forwardRef((e,t)=>{const{prefixCls:n,className:r,rootClassName:a,style:i,extra:o,headStyle:s={},bodyStyle:l={},title:u,loading:d,bordered:p=!0,size:f,type:m,cover:g,actions:h,tabList:v,children:S,activeTabKey:_,defaultActiveTabKey:E,tabBarExtraContent:y,hoverable:C,tabProps:T={},classNames:x,styles:R}=e,w=$3(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:I,direction:O,card:k}=c.useContext(lt),P=de=>{var Te;(Te=e.onTabChange)===null||Te===void 0||Te.call(e,de)},M=de=>{var Te;return ie((Te=k==null?void 0:k.classNames)===null||Te===void 0?void 0:Te[de],x==null?void 0:x[de])},N=de=>{var Te;return Object.assign(Object.assign({},(Te=k==null?void 0:k.styles)===null||Te===void 0?void 0:Te[de]),R==null?void 0:R[de])},A=c.useMemo(()=>{let de=!1;return c.Children.forEach(S,Te=>{(Te==null?void 0:Te.type)===yJ&&(de=!0)}),de},[S]),D=I("card",n),[L,$,F]=o0e(D),B=c.createElement(Ol,{loading:!0,active:!0,paragraph:{rows:4},title:!1},S),z=_!==void 0,U=Object.assign(Object.assign({},T),{[z?"activeKey":"defaultActiveKey"]:z?_:E,tabBarExtraContent:y});let j;const G=xr(f),J=!G||G==="default"?"large":G,Y=v?c.createElement(Tk,Object.assign({size:J},U,{className:`${D}-head-tabs`,onChange:P,items:v.map(de=>{var{tab:Te}=de,Ee=$3(de,["tab"]);return Object.assign({label:Te},Ee)})})):null;if(u||o||Y){const de=ie(`${D}-head`,M("header")),Te=ie(`${D}-head-title`,M("title")),Ee=ie(`${D}-extra`,M("extra")),ge=Object.assign(Object.assign({},s),N("header"));j=c.createElement("div",{className:de,style:ge},c.createElement("div",{className:`${D}-head-wrapper`},u&&c.createElement("div",{className:Te,style:N("title")},u),o&&c.createElement("div",{className:Ee,style:N("extra")},o)),Y)}const X=ie(`${D}-cover`,M("cover")),V=g?c.createElement("div",{className:X,style:N("cover")},g):null,H=ie(`${D}-body`,M("body")),q=Object.assign(Object.assign({},l),N("body")),K=c.createElement("div",{className:H,style:q},d?B:S),Z=ie(`${D}-actions`,M("actions")),te=h!=null&&h.length?c.createElement(s0e,{actionClasses:Z,actionStyle:N("actions"),actions:h}):null,se=An(w,["onTabChange"]),ue=ie(D,k==null?void 0:k.className,{[`${D}-loading`]:d,[`${D}-bordered`]:p,[`${D}-hoverable`]:C,[`${D}-contain-grid`]:A,[`${D}-contain-tabs`]:v==null?void 0:v.length,[`${D}-${G}`]:G,[`${D}-type-${m}`]:!!m,[`${D}-rtl`]:O==="rtl"},r,a,$,F),me=Object.assign(Object.assign({},k==null?void 0:k.style),i);return L(c.createElement("div",Object.assign({ref:t},se,{className:ue,style:me}),j,V,K,te))});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{const{prefixCls:t,className:n,avatar:r,title:a,description:i}=e,o=c0e(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:s}=c.useContext(lt),l=s("card",t),u=ie(`${l}-meta`,n),d=r?c.createElement("div",{className:`${l}-meta-avatar`},r):null,p=a?c.createElement("div",{className:`${l}-meta-title`},a):null,f=i?c.createElement("div",{className:`${l}-meta-description`},i):null,m=p||f?c.createElement("div",{className:`${l}-meta-detail`},p,f):null;return c.createElement("div",Object.assign({},o,{className:u}),d,m)},tp=l0e;tp.Grid=yJ;tp.Meta=u0e;function d0e(e,t,n){var r=n||{},a=r.noTrailing,i=a===void 0?!1:a,o=r.noLeading,s=o===void 0?!1:o,l=r.debounceMode,u=l===void 0?void 0:l,d,p=!1,f=0;function m(){d&&clearTimeout(d)}function g(v){var S=v||{},_=S.upcomingOnly,E=_===void 0?!1:_;m(),p=!E}function h(){for(var v=arguments.length,S=new Array(v),_=0;_e?s?(f=Date.now(),i||(d=setTimeout(u?T:C,e))):C():i!==!0&&(d=setTimeout(u?T:C,u===void 0?e-y:e))}return h.cancel=g,h}function p0e(e,t,n){var r={},a=r.atBegin,i=a===void 0?!1:a;return d0e(e,t,{debounceMode:i!==!1})}function Ua(e,t){return e[t]}var f0e=["children"];function CJ(e,t){return"".concat(e,"-").concat(t)}function m0e(e){return e&&e.type&&e.type.isTreeNode}function fg(e,t){return e??t}function Td(e){var t=e||{},n=t.title,r=t._title,a=t.key,i=t.children,o=n||"title";return{title:o,_title:r||[o],key:a||"key",children:i||"children"}}function TJ(e){function t(n){var r=br(n);return r.map(function(a){if(!m0e(a))return bn(!a,"Tree/TreeNode can only accept TreeNode as children."),null;var i=a.key,o=a.props,s=o.children,l=Et(o,f0e),u=ee({key:i},l),d=t(s);return d.length&&(u.children=d),u}).filter(function(a){return a})}return t(e)}function _y(e,t,n){var r=Td(n),a=r._title,i=r.key,o=r.children,s=new Set(t===!0?[]:t),l=[];function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return d.map(function(f,m){for(var g=CJ(p?p.pos:"0",m),h=fg(f[i],g),v,S=0;S1&&arguments[1]!==void 0?arguments[1]:{},n=t.initWrapper,r=t.processEntity,a=t.onProcessFinished,i=t.externalGetKey,o=t.childrenPropName,s=t.fieldNames,l=arguments.length>2?arguments[2]:void 0,u=i||l,d={},p={},f={posEntities:d,keyEntities:p};return n&&(f=n(f)||f),g0e(e,function(m){var g=m.node,h=m.index,v=m.pos,S=m.key,_=m.parentPos,E=m.level,y=m.nodes,C={node:g,nodes:y,index:h,key:S,pos:v,level:E},T=fg(S,v);d[v]=C,p[T]=C,C.parent=d[_],C.parent&&(C.parent.children=C.parent.children||[],C.parent.children.push(C)),r&&r(C,f)},{externalGetKey:u,childrenPropName:o,fieldNames:s}),a&&a(f),f}function Tf(e,t){var n=t.expandedKeys,r=t.selectedKeys,a=t.loadedKeys,i=t.loadingKeys,o=t.checkedKeys,s=t.halfCheckedKeys,l=t.dragOverNodeKey,u=t.dropPosition,d=t.keyEntities,p=Ua(d,e),f={eventKey:e,expanded:n.indexOf(e)!==-1,selected:r.indexOf(e)!==-1,loaded:a.indexOf(e)!==-1,loading:i.indexOf(e)!==-1,checked:o.indexOf(e)!==-1,halfChecked:s.indexOf(e)!==-1,pos:String(p?p.pos:""),dragOver:l===e&&u===0,dragOverGapTop:l===e&&u===-1,dragOverGapBottom:l===e&&u===1};return f}function Ar(e){var t=e.data,n=e.expanded,r=e.selected,a=e.checked,i=e.loaded,o=e.loading,s=e.halfChecked,l=e.dragOver,u=e.dragOverGapTop,d=e.dragOverGapBottom,p=e.pos,f=e.active,m=e.eventKey,g=ee(ee({},t),{},{expanded:n,selected:r,checked:a,loaded:i,loading:o,halfChecked:s,dragOver:l,dragOverGapTop:u,dragOverGapBottom:d,pos:p,active:f,key:m});return"props"in g||Object.defineProperty(g,"props",{get:function(){return bn(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),e}}),g}function xJ(e,t){var n=new Set;return e.forEach(function(r){t.has(r)||n.add(r)}),n}function h0e(e){var t=e||{},n=t.disabled,r=t.disableCheckbox,a=t.checkable;return!!(n||r)||a===!1}function v0e(e,t,n,r){for(var a=new Set(e),i=new Set,o=0;o<=n;o+=1){var s=t.get(o)||new Set;s.forEach(function(p){var f=p.key,m=p.node,g=p.children,h=g===void 0?[]:g;a.has(f)&&!r(m)&&h.filter(function(v){return!r(v.node)}).forEach(function(v){a.add(v.key)})})}for(var l=new Set,u=n;u>=0;u-=1){var d=t.get(u)||new Set;d.forEach(function(p){var f=p.parent,m=p.node;if(!(r(m)||!p.parent||l.has(p.parent.key))){if(r(p.parent.node)){l.add(f.key);return}var g=!0,h=!1;(f.children||[]).filter(function(v){return!r(v.node)}).forEach(function(v){var S=v.key,_=a.has(S);g&&!_&&(g=!1),!h&&(_||i.has(S))&&(h=!0)}),g&&a.add(f.key),h&&i.add(f.key),l.add(f.key)}})}return{checkedKeys:Array.from(a),halfCheckedKeys:Array.from(xJ(i,a))}}function _0e(e,t,n,r,a){for(var i=new Set(e),o=new Set(t),s=0;s<=r;s+=1){var l=n.get(s)||new Set;l.forEach(function(f){var m=f.key,g=f.node,h=f.children,v=h===void 0?[]:h;!i.has(m)&&!o.has(m)&&!a(g)&&v.filter(function(S){return!a(S.node)}).forEach(function(S){i.delete(S.key)})})}o=new Set;for(var u=new Set,d=r;d>=0;d-=1){var p=n.get(d)||new Set;p.forEach(function(f){var m=f.parent,g=f.node;if(!(a(g)||!f.parent||u.has(f.parent.key))){if(a(f.parent.node)){u.add(m.key);return}var h=!0,v=!1;(m.children||[]).filter(function(S){return!a(S.node)}).forEach(function(S){var _=S.key,E=i.has(_);h&&!E&&(h=!1),!v&&(E||o.has(_))&&(v=!0)}),h||i.delete(m.key),v&&o.add(m.key),u.add(m.key)}})}return{checkedKeys:Array.from(i),halfCheckedKeys:Array.from(xJ(o,i))}}function ms(e,t,n,r){var a=[],i;r?i=r:i=h0e;var o=new Set(e.filter(function(d){var p=!!Ua(n,d);return p||a.push(d),p})),s=new Map,l=0;Object.keys(n).forEach(function(d){var p=n[d],f=p.level,m=s.get(f);m||(m=new Set,s.set(f,m)),m.add(p),l=Math.max(l,f)}),bn(!a.length,"Tree missing follow keys: ".concat(a.slice(0,100).map(function(d){return"'".concat(d,"'")}).join(", ")));var u;return t===!0?u=v0e(o,s,l,i):u=_0e(o,t.halfCheckedKeys,s,l,i),u}const b0e=e=>{const{checkboxCls:t}=e,n=`${t}-wrapper`;return[{[`${t}-group`]:Object.assign(Object.assign({},on(e)),{display:"inline-flex",flexWrap:"wrap",columnGap:e.marginXS,[`> ${e.antCls}-row`]:{flex:1}}),[n]:Object.assign(Object.assign({},on(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({},on(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({},bs(e))},[`${t}-inner`]:{boxSizing:"border-box",display:"block",width:e.checkboxSize,height:e.checkboxSize,direction:"ltr",backgroundColor:e.colorBgContainer,border:`${Q(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:`${Q(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 xk(e,t){const n=Ht(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[b0e(n)]}const RJ=cn("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[xk(n,e)]}),wJ=ce.createContext(null);var S0e=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:i,children:o,indeterminate:s=!1,style:l,onMouseEnter:u,onMouseLeave:d,skipGroup:p=!1,disabled:f}=e,m=S0e(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:g,direction:h,checkbox:v}=c.useContext(lt),S=c.useContext(wJ),{isFormItemInput:_}=c.useContext(Gr),E=c.useContext(ea),y=(n=(S==null?void 0:S.disabled)||f)!==null&&n!==void 0?n:E,C=c.useRef(m.value);c.useEffect(()=>{S==null||S.registerValue(m.value)},[]),c.useEffect(()=>{if(!p)return m.value!==C.current&&(S==null||S.cancelValue(C.current),S==null||S.registerValue(m.value),C.current=m.value),()=>S==null?void 0:S.cancelValue(m.value)},[m.value]);const T=g("checkbox",r),x=Zn(T),[R,w,I]=RJ(T,x),O=Object.assign({},m);S&&!p&&(O.onChange=function(){m.onChange&&m.onChange.apply(m,arguments),S.toggleOption&&S.toggleOption({label:o,value:m.value})},O.name=S.name,O.checked=S.value.includes(m.value));const k=ie(`${T}-wrapper`,{[`${T}-rtl`]:h==="rtl",[`${T}-wrapper-checked`]:O.checked,[`${T}-wrapper-disabled`]:y,[`${T}-wrapper-in-form-item`]:_},v==null?void 0:v.className,a,i,I,x,w),P=ie({[`${T}-indeterminate`]:s},Ob,w),M=s?"mixed":void 0;return R(c.createElement(Qm,{component:"Checkbox",disabled:y},c.createElement("label",{className:k,style:Object.assign(Object.assign({},v==null?void 0:v.style),l),onMouseEnter:u,onMouseLeave:d},c.createElement(lJ,Object.assign({"aria-checked":M},O,{prefixCls:T,className:P,disabled:y,ref:t})),o!==void 0&&c.createElement("span",null,o))))},IJ=c.forwardRef(E0e);var y0e=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:i,className:o,rootClassName:s,style:l,onChange:u}=e,d=y0e(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:p,direction:f}=c.useContext(lt),[m,g]=c.useState(d.value||n||[]),[h,v]=c.useState([]);c.useEffect(()=>{"value"in d&&g(d.value||[])},[d.value]);const S=c.useMemo(()=>a.map(N=>typeof N=="string"||typeof N=="number"?{label:N,value:N}:N),[a]),_=N=>{v(A=>A.filter(D=>D!==N))},E=N=>{v(A=>[].concat($e(A),[N]))},y=N=>{const A=m.indexOf(N.value),D=$e(m);A===-1?D.push(N.value):D.splice(A,1),"value"in d||g(D),u==null||u(D.filter(L=>h.includes(L)).sort((L,$)=>{const F=S.findIndex(z=>z.value===L),B=S.findIndex(z=>z.value===$);return F-B}))},C=p("checkbox",i),T=`${C}-group`,x=Zn(C),[R,w,I]=RJ(C,x),O=An(d,["value","disabled"]),k=a.length?S.map(N=>c.createElement(IJ,{prefixCls:C,key:N.value.toString(),disabled:"disabled"in N?N.disabled:d.disabled,value:N.value,checked:m.includes(N.value),onChange:N.onChange,className:`${T}-item`,style:N.style,title:N.title,id:N.id,required:N.required},N.label)):r,P={toggleOption:y,value:m,disabled:d.disabled,name:d.name,registerValue:E,cancelValue:_},M=ie(T,{[`${T}-rtl`]:f==="rtl"},o,s,I,x,w);return R(c.createElement("div",Object.assign({className:M,style:l},O,{ref:t}),c.createElement(wJ.Provider,{value:P},k)))}),Ts=IJ;Ts.Group=C0e;Ts.__ANT_CHECKBOX=!0;const OJ=c.createContext({}),T0e=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"}}}},x0e=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},R0e=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:a}=e,i={};for(let o=a;o>=0;o--)o===0?(i[`${r}${t}-${o}`]={display:"none"},i[`${r}-push-${o}`]={insetInlineStart:"auto"},i[`${r}-pull-${o}`]={insetInlineEnd:"auto"},i[`${r}${t}-push-${o}`]={insetInlineStart:"auto"},i[`${r}${t}-pull-${o}`]={insetInlineEnd:"auto"},i[`${r}${t}-offset-${o}`]={marginInlineStart:0},i[`${r}${t}-order-${o}`]={order:0}):(i[`${r}${t}-${o}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${o/a*100}%`,maxWidth:`${o/a*100}%`}],i[`${r}${t}-push-${o}`]={insetInlineStart:`${o/a*100}%`},i[`${r}${t}-pull-${o}`]={insetInlineEnd:`${o/a*100}%`},i[`${r}${t}-offset-${o}`]={marginInlineStart:`${o/a*100}%`},i[`${r}${t}-order-${o}`]={order:o});return i[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},i},vD=(e,t)=>R0e(e,t),w0e=(e,t,n)=>({[`@media (min-width: ${Q(t)})`]:Object.assign({},vD(e,n))}),I0e=()=>({}),O0e=()=>({}),N0e=cn("Grid",T0e,I0e),A0e=cn("Grid",e=>{const t=Ht(e,{gridColumns:24}),n={"-sm":t.screenSMMin,"-md":t.screenMDMin,"-lg":t.screenLGMin,"-xl":t.screenXLMin,"-xxl":t.screenXXLMin};return[x0e(t),vD(t,""),vD(t,"-xs"),Object.keys(n).map(r=>w0e(t,n[r],r)).reduce((r,a)=>Object.assign(Object.assign({},r),a),{})]},O0e);var D0e=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}=c.useContext(lt),{gutter:a,wrap:i}=c.useContext(OJ),{prefixCls:o,span:s,order:l,offset:u,push:d,pull:p,className:f,children:m,flex:g,style:h}=e,v=D0e(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),S=n("col",o),[_,E,y]=A0e(S),C={};let T={};M0e.forEach(w=>{let I={};const O=e[w];typeof O=="number"?I.span=O:typeof O=="object"&&(I=O||{}),delete v[w],T=Object.assign(Object.assign({},T),{[`${S}-${w}-${I.span}`]:I.span!==void 0,[`${S}-${w}-order-${I.order}`]:I.order||I.order===0,[`${S}-${w}-offset-${I.offset}`]:I.offset||I.offset===0,[`${S}-${w}-push-${I.push}`]:I.push||I.push===0,[`${S}-${w}-pull-${I.pull}`]:I.pull||I.pull===0,[`${S}-rtl`]:r==="rtl"}),I.flex&&(T[`${S}-${w}-flex`]=!0,C[`--${S}-${w}-flex`]=F3(I.flex))});const x=ie(S,{[`${S}-${s}`]:s!==void 0,[`${S}-order-${l}`]:l,[`${S}-offset-${u}`]:u,[`${S}-push-${d}`]:d,[`${S}-pull-${p}`]:p},f,T,E,y),R={};if(a&&a[0]>0){const w=a[0]/2;R.paddingLeft=w,R.paddingRight=w}return g&&(R.flex=F3(g),i===!1&&!R.minWidth&&(R.minWidth=0)),_(c.createElement("div",Object.assign({},v,{style:Object.assign(Object.assign(Object.assign({},R),h),C),className:x,ref:t}),m))});var L0e=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 i=0;i{a()},[JSON.stringify(e),t]),n}const Oa=c.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:a,className:i,style:o,children:s,gutter:l=0,wrap:u}=e,d=L0e(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:p,direction:f}=c.useContext(lt),[m,g]=c.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[h,v]=c.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),S=B3(a,h),_=B3(r,h),E=c.useRef(l),y=qQ();c.useEffect(()=>{const D=y.subscribe(L=>{v(L);const $=E.current||0;(!Array.isArray($)&&typeof $=="object"||Array.isArray($)&&(typeof $[0]=="object"||typeof $[1]=="object"))&&g(L)});return()=>y.unsubscribe(D)},[]);const C=()=>{const D=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach(($,F)=>{if(typeof $=="object")for(let B=0;B0?I[0]/-2:void 0;P&&(k.marginLeft=P,k.marginRight=P);const[M,N]=I;k.rowGap=N;const A=c.useMemo(()=>({gutter:[M,N],wrap:u}),[M,N,u]);return x(c.createElement(OJ.Provider,{value:A},c.createElement("div",Object.assign({},d,{className:O,style:Object.assign(Object.assign({},k),o),ref:t}),s)))});var NJ=ce.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,a=e.className,i=e.style,o=e.children,s=e.isActive,l=e.role,u=ce.useState(s||r),d=oe(u,2),p=d[0],f=d[1];return ce.useEffect(function(){(r||s)&&f(!0)},[r,s]),p?ce.createElement("div",{ref:t,className:ie("".concat(n,"-content"),W(W({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),a),style:i,role:l},ce.createElement("div",{className:"".concat(n,"-content-box")},o)):null});NJ.displayName="PanelContent";var k0e=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],AJ=ce.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,a=e.headerClass,i=e.isActive,o=e.onItemClick,s=e.forceRender,l=e.className,u=e.prefixCls,d=e.collapsible,p=e.accordion,f=e.panelKey,m=e.extra,g=e.header,h=e.expandIcon,v=e.openMotion,S=e.destroyInactivePanel,_=e.children,E=Et(e,k0e),y=d==="disabled",C=d==="header",T=d==="icon",x=m!=null&&typeof m!="boolean",R=function(){o==null||o(f)},w=function(N){(N.key==="Enter"||N.keyCode===Fe.ENTER||N.which===Fe.ENTER)&&R()},I=typeof h=="function"?h(e):ce.createElement("i",{className:"arrow"});I&&(I=ce.createElement("div",{className:"".concat(u,"-expand-icon"),onClick:["header","icon"].includes(d)?R:void 0},I));var O=ie(W(W(W({},"".concat(u,"-item"),!0),"".concat(u,"-item-active"),i),"".concat(u,"-item-disabled"),y),l),k=ie(a,W(W(W({},"".concat(u,"-header"),!0),"".concat(u,"-header-collapsible-only"),C),"".concat(u,"-icon-collapsible-only"),T)),P={className:k,"aria-expanded":i,"aria-disabled":y,onKeyDown:w};return!C&&!T&&(P.onClick=R,P.role=p?"tab":"button",P.tabIndex=y?-1:0),ce.createElement("div",_e({},E,{ref:t,className:O}),ce.createElement("div",P,r&&I,ce.createElement("span",{className:"".concat(u,"-header-text"),onClick:d==="header"?R:void 0},g),x&&ce.createElement("div",{className:"".concat(u,"-extra")},m)),ce.createElement(ta,_e({visible:i,leavedClassName:"".concat(u,"-content-hidden")},v,{forceRender:s,removeOnLeave:S}),function(M,N){var A=M.className,D=M.style;return ce.createElement(NJ,{ref:N,prefixCls:u,className:A,style:D,isActive:i,forceRender:s,role:p?"tabpanel":void 0},_)}))}),P0e=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],$0e=function(t,n){var r=n.prefixCls,a=n.accordion,i=n.collapsible,o=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,u=n.openMotion,d=n.expandIcon;return t.map(function(p,f){var m=p.children,g=p.label,h=p.key,v=p.collapsible,S=p.onItemClick,_=p.destroyInactivePanel,E=Et(p,P0e),y=String(h??f),C=v??i,T=_??o,x=function(I){C!=="disabled"&&(s(I),S==null||S(I))},R=!1;return a?R=l[0]===y:R=l.indexOf(y)>-1,ce.createElement(AJ,_e({},E,{prefixCls:r,key:y,panelKey:y,isActive:R,accordion:a,openMotion:u,expandIcon:d,header:g,collapsible:C,onItemClick:x,destroyInactivePanel:T}),m)})},F0e=function(t,n,r){if(!t)return null;var a=r.prefixCls,i=r.accordion,o=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,u=r.activeKey,d=r.openMotion,p=r.expandIcon,f=t.key||String(n),m=t.props,g=m.header,h=m.headerClass,v=m.destroyInactivePanel,S=m.collapsible,_=m.onItemClick,E=!1;i?E=u[0]===f:E=u.indexOf(f)>-1;var y=S??o,C=function(R){y!=="disabled"&&(l(R),_==null||_(R))},T={key:f,panelKey:f,header:g,headerClass:h,isActive:E,prefixCls:a,destroyInactivePanel:v??s,openMotion:d,accordion:i,children:t.props.children,onItemClick:C,expandIcon:p,collapsible:y};return typeof t.type=="string"?t:(Object.keys(T).forEach(function(x){typeof T[x]>"u"&&delete T[x]}),ce.cloneElement(t,T))};function B0e(e,t,n){return Array.isArray(e)?$0e(e,n):br(t).map(function(r,a){return F0e(r,a,n)})}function U0e(e){var t=e;if(!Array.isArray(t)){var n=gt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var j0e=ce.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,a=e.destroyInactivePanel,i=a===void 0?!1:a,o=e.style,s=e.accordion,l=e.className,u=e.children,d=e.collapsible,p=e.openMotion,f=e.expandIcon,m=e.activeKey,g=e.defaultActiveKey,h=e.onChange,v=e.items,S=ie(r,l),_=ln([],{value:m,onChange:function(w){return h==null?void 0:h(w)},defaultValue:g,postState:U0e}),E=oe(_,2),y=E[0],C=E[1],T=function(w){return C(function(){if(s)return y[0]===w?[]:[w];var I=y.indexOf(w),O=I>-1;return O?y.filter(function(k){return k!==w}):[].concat($e(y),[w])})};bn(!u,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var x=B0e(v,u,{prefixCls:r,accordion:s,openMotion:p,expandIcon:f,collapsible:d,destroyInactivePanel:i,onItemClick:T,activeKey:y});return ce.createElement("div",_e({ref:t,className:S,style:o,role:s?"tablist":void 0},Qn(e,{aria:!0,data:!0})),x)});const Rk=Object.assign(j0e,{Panel:AJ});Rk.Panel;const z0e=c.forwardRef((e,t)=>{const{getPrefixCls:n}=c.useContext(lt),{prefixCls:r,className:a,showArrow:i=!0}=e,o=n("collapse",r),s=ie({[`${o}-no-arrow`]:!i},a);return c.createElement(Rk.Panel,Object.assign({ref:t},e,{prefixCls:o,className:s}))}),H0e=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:a,headerPadding:i,collapseHeaderPaddingSM:o,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:u,lineType:d,colorBorder:p,colorText:f,colorTextHeading:m,colorTextDisabled:g,fontSizeLG:h,lineHeight:v,lineHeightLG:S,marginSM:_,paddingSM:E,paddingLG:y,paddingXS:C,motionDurationSlow:T,fontSizeIcon:x,contentPadding:R,fontHeight:w,fontHeightLG:I}=e,O=`${Q(u)} ${d} ${p}`;return{[t]:Object.assign(Object.assign({},on(e)),{backgroundColor:a,border:O,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:O,"&:last-child":{[` - &, - & > ${t}-header`]:{borderRadius:`0 0 ${Q(l)} ${Q(l)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:i,color:m,lineHeight:v,cursor:"pointer",transition:`all ${T}, visibility 0s`,[`> ${t}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${t}-expand-icon`]:{height:w,display:"flex",alignItems:"center",paddingInlineEnd:_},[`${t}-arrow`]:Object.assign(Object.assign({},Hd()),{fontSize:x,transition:`transform ${T}`,svg:{transition:`transform ${T}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}},[`${t}-icon-collapsible-only`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:f,backgroundColor:n,borderTop:O,[`& > ${t}-content-box`]:{padding:R},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:o,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(E).sub(C).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},"&-large":{[`> ${t}-item`]:{fontSize:h,lineHeight:S,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:I,marginInlineStart:e.calc(y).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:y}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${Q(l)} ${Q(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:g,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:_}}}}})}},G0e=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},V0e=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}}}},q0e=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}}}}}},W0e=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),Y0e=cn("Collapse",e=>{const t=Ht(e,{collapseHeaderPaddingSM:`${Q(e.paddingXS)} ${Q(e.paddingSM)}`,collapseHeaderPaddingLG:`${Q(e.padding)} ${Q(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[H0e(t),V0e(t),q0e(t),G0e(t),ng(t)]},W0e),K0e=c.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:a}=c.useContext(lt),{prefixCls:i,className:o,rootClassName:s,style:l,bordered:u=!0,ghost:d,size:p,expandIconPosition:f="start",children:m,expandIcon:g}=e,h=xr(O=>{var k;return(k=p??O)!==null&&k!==void 0?k:"middle"}),v=n("collapse",i),S=n(),[_,E,y]=Y0e(v),C=c.useMemo(()=>f==="left"?"start":f==="right"?"end":f,[f]),T=g??(a==null?void 0:a.expandIcon),x=c.useCallback(function(){let O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const k=typeof T=="function"?T(O):c.createElement($i,{rotate:O.isActive?90:void 0,"aria-label":O.isActive?"expanded":"collapsed"});return Tr(k,()=>{var P;return{className:ie((P=k==null?void 0:k.props)===null||P===void 0?void 0:P.className,`${v}-arrow`)}})},[T,v]),R=ie(`${v}-icon-position-${C}`,{[`${v}-borderless`]:!u,[`${v}-rtl`]:r==="rtl",[`${v}-ghost`]:!!d,[`${v}-${h}`]:h!=="middle"},a==null?void 0:a.className,o,s,E,y),w=Object.assign(Object.assign({},Ed(S)),{motionAppear:!1,leavedClassName:`${v}-content-hidden`}),I=c.useMemo(()=>m?br(m).map((O,k)=>{var P,M;if(!((P=O.props)===null||P===void 0)&&P.disabled){const N=(M=O.key)!==null&&M!==void 0?M:String(k),{disabled:A,collapsible:D}=O.props,L=Object.assign(Object.assign({},An(O.props,["disabled"])),{key:N,collapsible:D??(A?"disabled":void 0)});return Tr(O,L)}return O}):null,[m]);return _(c.createElement(Rk,Object.assign({ref:t,openMotion:w},An(e,["rootClassName"]),{expandIcon:x,prefixCls:v,className:R,style:Object.assign(Object.assign({},a==null?void 0:a.style),l)}),I))}),xd=Object.assign(K0e,{Panel:z0e}),X0e=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:a,textPaddingInline:i,orientationMargin:o,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},on(e)),{borderBlockStart:`${Q(a)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Q(a)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Q(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${Q(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:`${Q(a)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${o} * 100%)`},"&::after":{width:`calc(100% - ${o} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${o} * 100%)`},"&::after":{width:`calc(${o} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:i},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${Q(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:`${Q(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}}})}},Q0e=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Z0e=cn("Divider",e=>{const t=Ht(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[X0e(t)]},Q0e,{unitless:{orientationMargin:!0}});var J0e=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}=c.useContext(lt),{prefixCls:a,type:i="horizontal",orientation:o="center",orientationMargin:s,className:l,rootClassName:u,children:d,dashed:p,variant:f="solid",plain:m,style:g}=e,h=J0e(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),v=t("divider",a),[S,_,E]=Z0e(v),y=!!d,C=o==="left"&&s!=null,T=o==="right"&&s!=null,x=ie(v,r==null?void 0:r.className,_,E,`${v}-${i}`,{[`${v}-with-text`]:y,[`${v}-with-text-${o}`]:y,[`${v}-dashed`]:!!p,[`${v}-${f}`]:f!=="solid",[`${v}-plain`]:!!m,[`${v}-rtl`]:n==="rtl",[`${v}-no-default-orientation-margin-left`]:C,[`${v}-no-default-orientation-margin-right`]:T},l,u),R=c.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),w=Object.assign(Object.assign({},C&&{marginLeft:R}),T&&{marginRight:R});return S(c.createElement("div",Object.assign({className:x,style:Object.assign(Object.assign({},r==null?void 0:r.style),g)},h,{role:"separator"}),d&&i!=="vertical"&&c.createElement("span",{className:`${v}-inner-text`,style:w},d)))};var eTe={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"},tTe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:eTe}))},nTe=c.forwardRef(tTe);function _D(){return typeof BigInt=="function"}function DJ(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function mc(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("."),i=a[0]||"0",o=a[1]||"0";i==="0"&&o==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:i,decimalStr:o,fullStr:"".concat(s).concat(r)}}function wk(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function rc(e){var t=String(e);if(wk(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(".")&&Ik(t)?t.length-t.indexOf(".")-1:0}function lS(e){var t=String(e);if(wk(e)){if(e>Number.MAX_SAFE_INTEGER)return String(_D()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":mc("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),aTe=function(){function e(t){if(Jn(this,e),W(this,"origin",""),W(this,"number",void 0),W(this,"empty",void 0),DJ(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return er(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()?"":lS(this.number):this.origin}}]),e}();function Zi(e){return _D()?new rTe(e):new aTe(e)}function Sv(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var a=mc(e),i=a.negativeStr,o=a.integerStr,s=a.decimalStr,l="".concat(t).concat(s),u="".concat(i).concat(o);if(n>=0){var d=Number(s[n]);if(d>=5&&!r){var p=Zi(e).add("".concat(i,"0.").concat("0".repeat(n)).concat(10-d));return Sv(p.toString(),t,n,r)}return n===0?u:"".concat(u).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return l===".0"?u:"".concat(u).concat(l)}function iTe(e){return!!(e.addonBefore||e.addonAfter)}function oTe(e){return!!(e.prefix||e.suffix||e.allowClear)}function U3(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 T_(e,t,n,r){if(n){var a=t;if(t.type==="click"){a=U3(t,e,""),n(a);return}if(e.type!=="file"&&r!==void 0){a=U3(t,e,r),n(a);return}n(a)}}function MJ(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 Ok=ce.forwardRef(function(e,t){var n,r,a=e.inputElement,i=e.children,o=e.prefixCls,s=e.prefix,l=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,f=e.style,m=e.disabled,g=e.readOnly,h=e.focused,v=e.triggerFocus,S=e.allowClear,_=e.value,E=e.handleReset,y=e.hidden,C=e.classes,T=e.classNames,x=e.dataAttrs,R=e.styles,w=e.components,I=e.onClear,O=i??a,k=(w==null?void 0:w.affixWrapper)||"span",P=(w==null?void 0:w.groupWrapper)||"span",M=(w==null?void 0:w.wrapper)||"span",N=(w==null?void 0:w.groupAddon)||"span",A=c.useRef(null),D=function(te){var se;(se=A.current)!==null&&se!==void 0&&se.contains(te.target)&&(v==null||v())},L=oTe(e),$=c.cloneElement(O,{value:_,className:ie(O.props.className,!L&&(T==null?void 0:T.variant))||null}),F=c.useRef(null);if(ce.useImperativeHandle(t,function(){return{nativeElement:F.current||A.current}}),L){var B=null;if(S){var z=!m&&!g&&_,U="".concat(o,"-clear-icon"),j=gt(S)==="object"&&S!==null&&S!==void 0&&S.clearIcon?S.clearIcon:"✖";B=ce.createElement("span",{onClick:function(te){E==null||E(te),I==null||I()},onMouseDown:function(te){return te.preventDefault()},className:ie(U,W(W({},"".concat(U,"-hidden"),!z),"".concat(U,"-has-suffix"),!!l)),role:"button",tabIndex:-1},j)}var G="".concat(o,"-affix-wrapper"),J=ie(G,W(W(W(W(W({},"".concat(o,"-disabled"),m),"".concat(G,"-disabled"),m),"".concat(G,"-focused"),h),"".concat(G,"-readonly"),g),"".concat(G,"-input-with-clear-btn"),l&&S&&_),C==null?void 0:C.affixWrapper,T==null?void 0:T.affixWrapper,T==null?void 0:T.variant),Y=(l||S)&&ce.createElement("span",{className:ie("".concat(o,"-suffix"),T==null?void 0:T.suffix),style:R==null?void 0:R.suffix},B,l);$=ce.createElement(k,_e({className:J,style:R==null?void 0:R.affixWrapper,onClick:D},x==null?void 0:x.affixWrapper,{ref:A}),s&&ce.createElement("span",{className:ie("".concat(o,"-prefix"),T==null?void 0:T.prefix),style:R==null?void 0:R.prefix},s),$,Y)}if(iTe(e)){var X="".concat(o,"-group"),V="".concat(X,"-addon"),H="".concat(X,"-wrapper"),q=ie("".concat(o,"-wrapper"),X,C==null?void 0:C.wrapper,T==null?void 0:T.wrapper),K=ie(H,W({},"".concat(H,"-disabled"),m),C==null?void 0:C.group,T==null?void 0:T.groupWrapper);$=ce.createElement(P,{className:K,ref:F},ce.createElement(M,{className:q},u&&ce.createElement(N,{className:V},u),$,d&&ce.createElement(N,{className:V},d)))}return ce.cloneElement($,{className:ie((n=$.props)===null||n===void 0?void 0:n.className,p)||null,style:ee(ee({},(r=$.props)===null||r===void 0?void 0:r.style),f),hidden:y})}),sTe=["show"];function LJ(e,t){return c.useMemo(function(){var n={};t&&(n.show=gt(t)==="object"&&t.formatter?t.formatter:!!t),n=ee(ee({},n),e);var r=n,a=r.show,i=Et(r,sTe);return ee(ee({},i),{},{show:!!a,showFormatter:typeof a=="function"?a:void 0,strategy:i.strategy||function(o){return o.length}})},[e,t])}var lTe=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],cTe=c.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,a=e.onFocus,i=e.onBlur,o=e.onPressEnter,s=e.onKeyDown,l=e.onKeyUp,u=e.prefixCls,d=u===void 0?"rc-input":u,p=e.disabled,f=e.htmlSize,m=e.className,g=e.maxLength,h=e.suffix,v=e.showCount,S=e.count,_=e.type,E=_===void 0?"text":_,y=e.classes,C=e.classNames,T=e.styles,x=e.onCompositionStart,R=e.onCompositionEnd,w=Et(e,lTe),I=c.useState(!1),O=oe(I,2),k=O[0],P=O[1],M=c.useRef(!1),N=c.useRef(!1),A=c.useRef(null),D=c.useRef(null),L=function(ae){A.current&&MJ(A.current,ae)},$=ln(e.defaultValue,{value:e.value}),F=oe($,2),B=F[0],z=F[1],U=B==null?"":String(B),j=c.useState(null),G=oe(j,2),J=G[0],Y=G[1],X=LJ(S,v),V=X.max||g,H=X.strategy(U),q=!!V&&H>V;c.useImperativeHandle(t,function(){var ne;return{focus:L,blur:function(){var le;(le=A.current)===null||le===void 0||le.blur()},setSelectionRange:function(le,pe,Re){var Se;(Se=A.current)===null||Se===void 0||Se.setSelectionRange(le,pe,Re)},select:function(){var le;(le=A.current)===null||le===void 0||le.select()},input:A.current,nativeElement:((ne=D.current)===null||ne===void 0?void 0:ne.nativeElement)||A.current}}),c.useEffect(function(){P(function(ne){return ne&&p?!1:ne})},[p]);var K=function(ae,le,pe){var Re=le;if(!M.current&&X.exceedFormatter&&X.max&&X.strategy(le)>X.max){if(Re=X.exceedFormatter(le,{max:X.max}),le!==Re){var Se,Pe;Y([((Se=A.current)===null||Se===void 0?void 0:Se.selectionStart)||0,((Pe=A.current)===null||Pe===void 0?void 0:Pe.selectionEnd)||0])}}else if(pe.source==="compositionEnd")return;z(Re),A.current&&T_(A.current,ae,r,Re)};c.useEffect(function(){if(J){var ne;(ne=A.current)===null||ne===void 0||ne.setSelectionRange.apply(ne,$e(J))}},[J]);var Z=function(ae){K(ae,ae.target.value,{source:"change"})},te=function(ae){M.current=!1,K(ae,ae.currentTarget.value,{source:"compositionEnd"}),R==null||R(ae)},se=function(ae){o&&ae.key==="Enter"&&!N.current&&(N.current=!0,o(ae)),s==null||s(ae)},ue=function(ae){ae.key==="Enter"&&(N.current=!1),l==null||l(ae)},me=function(ae){P(!0),a==null||a(ae)},de=function(ae){P(!1),i==null||i(ae)},Te=function(ae){z(""),L(),A.current&&T_(A.current,ae,r)},Ee=q&&"".concat(d,"-out-of-range"),ge=function(){var ae=An(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return ce.createElement("input",_e({autoComplete:n},ae,{onChange:Z,onFocus:me,onBlur:de,onKeyDown:se,onKeyUp:ue,className:ie(d,W({},"".concat(d,"-disabled"),p),C==null?void 0:C.input),style:T==null?void 0:T.input,ref:A,size:f,type:E,onCompositionStart:function(pe){M.current=!0,x==null||x(pe)},onCompositionEnd:te}))},re=function(){var ae=Number(V)>0;if(h||X.show){var le=X.showFormatter?X.showFormatter({value:U,count:H,maxLength:V}):"".concat(H).concat(ae?" / ".concat(V):"");return ce.createElement(ce.Fragment,null,X.show&&ce.createElement("span",{className:ie("".concat(d,"-show-count-suffix"),W({},"".concat(d,"-show-count-has-suffix"),!!h),C==null?void 0:C.count),style:ee({},T==null?void 0:T.count)},le),h)}return null};return ce.createElement(Ok,_e({},w,{prefixCls:d,className:ie(m,Ee),handleReset:Te,value:U,focused:k,triggerFocus:L,suffix:re(),disabled:p,classes:y,classNames:C,styles:T}),ge())});function uTe(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,a){if(t[a])return t[a];var i=r[a];return typeof i=="function"?i.bind(r):i}}):e}function dTe(e,t){var n=c.useRef(null);function r(){try{var i=e.selectionStart,o=e.selectionEnd,s=e.value,l=s.substring(0,i),u=s.substring(o);n.current={start:i,end:o,value:s,beforeTxt:l,afterTxt:u}}catch{}}function a(){if(e&&n.current&&t)try{var i=e.value,o=n.current,s=o.beforeTxt,l=o.afterTxt,u=o.start,d=i.length;if(i.startsWith(s))d=s.length;else if(i.endsWith(l))d=i.length-n.current.afterTxt.length;else{var p=s[u-1],f=i.indexOf(p,u-1);f!==-1&&(d=f+1)}e.setSelectionRange(d,d)}catch(m){bn(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(m.message))}}return[r,a]}var pTe=function(){var t=c.useState(!1),n=oe(t,2),r=n[0],a=n[1];return Qt(function(){a(Fb())},[]),r},fTe=200,mTe=600;function gTe(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,a=e.upDisabled,i=e.downDisabled,o=e.onStep,s=c.useRef(),l=c.useRef([]),u=c.useRef();u.current=o;var d=function(){clearTimeout(s.current)},p=function(E,y){E.preventDefault(),d(),u.current(y);function C(){u.current(y),s.current=setTimeout(C,fTe)}s.current=setTimeout(C,mTe)};c.useEffect(function(){return function(){d(),l.current.forEach(function(_){return Gt.cancel(_)})}},[]);var f=pTe();if(f)return null;var m="".concat(t,"-handler"),g=ie(m,"".concat(m,"-up"),W({},"".concat(m,"-up-disabled"),a)),h=ie(m,"".concat(m,"-down"),W({},"".concat(m,"-down-disabled"),i)),v=function(){return l.current.push(Gt(d))},S={unselectable:"on",role:"button",onMouseUp:v,onMouseLeave:v};return c.createElement("div",{className:"".concat(m,"-wrap")},c.createElement("span",_e({},S,{onMouseDown:function(E){p(E,!0)},"aria-label":"Increase Value","aria-disabled":a,className:g}),n||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),c.createElement("span",_e({},S,{onMouseDown:function(E){p(E,!1)},"aria-label":"Decrease Value","aria-disabled":i,className:h}),r||c.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function j3(e){var t=typeof e=="number"?lS(e):mc(e).fullStr,n=t.includes(".");return n?mc(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const hTe=function(){var e=c.useRef(0),t=function(){Gt.cancel(e.current)};return c.useEffect(function(){return t},[]),function(n){t(),e.current=Gt(function(){n()})}};var vTe=["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"],_Te=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],z3=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},H3=function(t){var n=Zi(t);return n.isInvalidate()?null:n},bTe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.style,i=e.min,o=e.max,s=e.step,l=s===void 0?1:s,u=e.defaultValue,d=e.value,p=e.disabled,f=e.readOnly,m=e.upHandler,g=e.downHandler,h=e.keyboard,v=e.changeOnWheel,S=v===void 0?!1:v,_=e.controls,E=_===void 0?!0:_;e.classNames;var y=e.stringMode,C=e.parser,T=e.formatter,x=e.precision,R=e.decimalSeparator,w=e.onChange,I=e.onInput,O=e.onPressEnter,k=e.onStep,P=e.changeOnBlur,M=P===void 0?!0:P,N=e.domRef,A=Et(e,vTe),D="".concat(n,"-input"),L=c.useRef(null),$=c.useState(!1),F=oe($,2),B=F[0],z=F[1],U=c.useRef(!1),j=c.useRef(!1),G=c.useRef(!1),J=c.useState(function(){return Zi(d??u)}),Y=oe(J,2),X=Y[0],V=Y[1];function H(De){d===void 0&&V(De)}var q=c.useCallback(function(De,Ue){if(!Ue)return x>=0?x:Math.max(rc(De),rc(l))},[x,l]),K=c.useCallback(function(De){var Ue=String(De);if(C)return C(Ue);var Ye=Ue;return R&&(Ye=Ye.replace(R,".")),Ye.replace(/[^\w.-]+/g,"")},[C,R]),Z=c.useRef(""),te=c.useCallback(function(De,Ue){if(T)return T(De,{userTyping:Ue,input:String(Z.current)});var Ye=typeof De=="number"?lS(De):De;if(!Ue){var He=q(Ye,Ue);if(Ik(Ye)&&(R||He>=0)){var ze=R||".";Ye=Sv(Ye,ze,He)}}return Ye},[T,q,R]),se=c.useState(function(){var De=u??d;return X.isInvalidate()&&["string","number"].includes(gt(De))?Number.isNaN(De)?"":De:te(X.toString(),!1)}),ue=oe(se,2),me=ue[0],de=ue[1];Z.current=me;function Te(De,Ue){de(te(De.isInvalidate()?De.toString(!1):De.toString(!Ue),Ue))}var Ee=c.useMemo(function(){return H3(o)},[o,x]),ge=c.useMemo(function(){return H3(i)},[i,x]),re=c.useMemo(function(){return!Ee||!X||X.isInvalidate()?!1:Ee.lessEquals(X)},[Ee,X]),ne=c.useMemo(function(){return!ge||!X||X.isInvalidate()?!1:X.lessEquals(ge)},[ge,X]),ae=dTe(L.current,B),le=oe(ae,2),pe=le[0],Re=le[1],Se=function(Ue){return Ee&&!Ue.lessEquals(Ee)?Ee:ge&&!ge.lessEquals(Ue)?ge:null},Pe=function(Ue){return!Se(Ue)},fe=function(Ue,Ye){var He=Ue,ze=Pe(He)||He.isEmpty();if(!He.isEmpty()&&!Ye&&(He=Se(He)||He,ze=!0),!f&&!p&&ze){var Xe=He.toString(),Be=q(Xe,Ye);return Be>=0&&(He=Zi(Sv(Xe,".",Be)),Pe(He)||(He=Zi(Sv(Xe,".",Be,!0)))),He.equals(X)||(H(He),w==null||w(He.isEmpty()?null:z3(y,He)),d===void 0&&Te(He,Ye)),He}return X},ve=hTe(),Ae=function De(Ue){if(pe(),Z.current=Ue,de(Ue),!j.current){var Ye=K(Ue),He=Zi(Ye);He.isNaN()||fe(He,!0)}I==null||I(Ue),ve(function(){var ze=Ue;C||(ze=Ue.replace(/。/g,".")),ze!==Ue&&De(ze)})},ye=function(){j.current=!0},be=function(){j.current=!1,Ae(L.current.value)},Ne=function(Ue){Ae(Ue.target.value)},Ie=function(Ue){var Ye;if(!(Ue&&re||!Ue&&ne)){U.current=!1;var He=Zi(G.current?j3(l):l);Ue||(He=He.negate());var ze=(X||Zi(0)).add(He.toString()),Xe=fe(ze,!1);k==null||k(z3(y,Xe),{offset:G.current?j3(l):l,type:Ue?"up":"down"}),(Ye=L.current)===null||Ye===void 0||Ye.focus()}},xe=function(Ue){var Ye=Zi(K(me)),He;Ye.isNaN()?He=fe(X,Ue):He=fe(Ye,Ue),d!==void 0?Te(X,!1):He.isNaN()||Te(He,!1)},ke=function(){U.current=!0},rt=function(Ue){var Ye=Ue.key,He=Ue.shiftKey;U.current=!0,G.current=He,Ye==="Enter"&&(j.current||(U.current=!1),xe(!1),O==null||O(Ue)),h!==!1&&!j.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ye)&&(Ie(Ye==="Up"||Ye==="ArrowUp"),Ue.preventDefault())},Me=function(){U.current=!1,G.current=!1};c.useEffect(function(){if(S&&B){var De=function(He){Ie(He.deltaY<0),He.preventDefault()},Ue=L.current;if(Ue)return Ue.addEventListener("wheel",De,{passive:!1}),function(){return Ue.removeEventListener("wheel",De)}}});var Ce=function(){M&&xe(!1),z(!1),U.current=!1};return pc(function(){X.isInvalidate()||Te(X,!1)},[x,T]),pc(function(){var De=Zi(d);V(De);var Ue=Zi(K(me));(!De.equals(Ue)||!U.current||T)&&Te(De,U.current)},[d]),pc(function(){T&&Re()},[me]),c.createElement("div",{ref:N,className:ie(n,r,W(W(W(W(W({},"".concat(n,"-focused"),B),"".concat(n,"-disabled"),p),"".concat(n,"-readonly"),f),"".concat(n,"-not-a-number"),X.isNaN()),"".concat(n,"-out-of-range"),!X.isInvalidate()&&!Pe(X))),style:a,onFocus:function(){z(!0)},onBlur:Ce,onKeyDown:rt,onKeyUp:Me,onCompositionStart:ye,onCompositionEnd:be,onBeforeInput:ke},E&&c.createElement(gTe,{prefixCls:n,upNode:m,downNode:g,upDisabled:re,downDisabled:ne,onStep:Ie}),c.createElement("div",{className:"".concat(D,"-wrap")},c.createElement("input",_e({autoComplete:"off",role:"spinbutton","aria-valuemin":i,"aria-valuemax":o,"aria-valuenow":X.isInvalidate()?null:X.toString(),step:l},A,{ref:aa(L,t),className:D,value:me,onChange:Ne,disabled:p,readOnly:f}))))}),STe=c.forwardRef(function(e,t){var n=e.disabled,r=e.style,a=e.prefixCls,i=a===void 0?"rc-input-number":a,o=e.value,s=e.prefix,l=e.suffix,u=e.addonBefore,d=e.addonAfter,p=e.className,f=e.classNames,m=Et(e,_Te),g=c.useRef(null),h=c.useRef(null),v=c.useRef(null),S=function(E){v.current&&MJ(v.current,E)};return c.useImperativeHandle(t,function(){return uTe(v.current,{nativeElement:g.current.nativeElement||h.current})}),c.createElement(Ok,{className:p,triggerFocus:S,prefixCls:i,value:o,disabled:n,style:r,prefix:s,suffix:l,addonAfter:d,addonBefore:u,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:g},c.createElement(bTe,_e({prefixCls:i,disabled:n,ref:v,domRef:h,className:f==null?void 0:f.input},m)))});const ETe=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto";return Object.assign(Object.assign({},dg(e)),{controlWidth:90,handleWidth:e.controlHeightSM-e.lineWidth*2,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new an(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0})},G3=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:a}=e;const i=t==="lg"?a:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:i,borderEndEndRadius:i},[`${n}-handler-up`]:{borderStartEndRadius:i},[`${n}-handler-down`]:{borderEndEndRadius:i}}}},yTe=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:a,inputFontSizeSM:i,inputFontSizeLG:o,controlHeightLG:s,controlHeightSM:l,colorError:u,paddingInlineSM:d,paddingBlockSM:p,paddingBlockLG:f,paddingInlineLG:m,colorTextDescription:g,motionDurationMid:h,handleHoverColor:v,handleOpacity:S,paddingInline:_,paddingBlock:E,handleBg:y,handleActiveBg:C,colorTextDisabled:T,borderRadiusSM:x,borderRadiusLG:R,controlWidth:w,handleBorderColor:I,filledHandleBg:O,lineHeightLG:k,calc:P}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),pg(e)),{display:"inline-block",width:w,margin:0,padding:0,borderRadius:a}),_k(e,{[`${t}-handler-wrap`]:{background:y,[`${t}-handler-down`]:{borderBlockStart:`${Q(n)} ${r} ${I}`}}})),Sk(e,{[`${t}-handler-wrap`]:{background:O,[`${t}-handler-down`]:{borderBlockStart:`${Q(n)} ${r} ${I}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:y}}})),bk(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:o,lineHeight:k,borderRadius:R,[`input${t}-input`]:{height:P(s).sub(P(n).mul(2)).equal(),padding:`${Q(f)} ${Q(m)}`}},"&-sm":{padding:0,fontSize:i,borderRadius:x,[`input${t}-input`]:{height:P(l).sub(P(n).mul(2)).equal(),padding:`${Q(p)} ${Q(d)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:u}}},"&-group":Object.assign(Object.assign(Object.assign({},on(e)),mJ(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:x}}},uJ(e)),pJ(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({},on(e)),{width:"100%",padding:`${Q(E)} ${Q(_)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:a,outline:0,transition:`all ${h} linear`,appearance:"textfield",fontSize:"inherit"}),Ek(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:S,height:"100%",borderStartStartRadius:0,borderStartEndRadius:a,borderEndEndRadius:a,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${h}`,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:g,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Q(n)} ${r} ${I}`,transition:`all ${h} linear`,"&:active":{background:C},"&:hover":{height:"60%",[` - ${t}-handler-up-inner, - ${t}-handler-down-inner - `]:{color:v}},"&-up-inner, &-down-inner":Object.assign(Object.assign({},Hd()),{color:g,transition:`all ${h} linear`,userSelect:"none"})},[`${t}-handler-up`]:{borderStartEndRadius:a},[`${t}-handler-down`]:{borderEndEndRadius:a}},G3(e,"lg")),G3(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:T}})}]},CTe=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:a,controlWidth:i,borderRadiusLG:o,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:u,paddingBlockLG:d,paddingBlockSM:p,motionDurationMid:f}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${Q(n)} 0`}},pg(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:i,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:o,paddingInlineStart:l,[`input${t}-input`]:{padding:`${Q(d)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:u,[`input${t}-input`]:{padding:`${Q(p)} 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 ${f}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},TTe=cn("InputNumber",e=>{const t=Ht(e,ug(e));return[yTe(t),CTe(t),Zm(t)]},ETe,{unitless:{handleOpacity:!0}});var xTe=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}=c.useContext(lt),a=c.useRef(null);c.useImperativeHandle(t,()=>a.current);const{className:i,rootClassName:o,size:s,disabled:l,prefixCls:u,addonBefore:d,addonAfter:p,prefix:f,suffix:m,bordered:g,readOnly:h,status:v,controls:S,variant:_}=e,E=xTe(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),y=n("input-number",u),C=Zn(y),[T,x,R]=TTe(y,C),{compactSize:w,compactItemClassnames:I}=ws(y,r);let O=c.createElement(nTe,{className:`${y}-handler-up-inner`}),k=c.createElement(Hb,{className:`${y}-handler-down-inner`});const P=typeof S=="boolean"?S:void 0;typeof S=="object"&&(O=typeof S.upIcon>"u"?O:c.createElement("span",{className:`${y}-handler-up-inner`},S.upIcon),k=typeof S.downIcon>"u"?k:c.createElement("span",{className:`${y}-handler-down-inner`},S.downIcon));const{hasFeedback:M,status:N,isFormItemInput:A,feedbackIcon:D}=c.useContext(Gr),L=Nl(N,v),$=xr(X=>{var V;return(V=s??w)!==null&&V!==void 0?V:X}),F=c.useContext(ea),B=l??F,[z,U]=Uc("inputNumber",_,g),j=M&&c.createElement(c.Fragment,null,D),G=ie({[`${y}-lg`]:$==="large",[`${y}-sm`]:$==="small",[`${y}-rtl`]:r==="rtl",[`${y}-in-form-item`]:A},x),J=`${y}-group`,Y=c.createElement(STe,Object.assign({ref:a,disabled:B,className:ie(R,C,i,o,I),upHandler:O,downHandler:k,prefixCls:y,readOnly:h,controls:P,prefix:f,suffix:j||m,addonBefore:d&&c.createElement(Uo,{form:!0,space:!0},d),addonAfter:p&&c.createElement(Uo,{form:!0,space:!0},p),classNames:{input:G,variant:ie({[`${y}-${z}`]:U},Cs(y,L,M)),affixWrapper:ie({[`${y}-affix-wrapper-sm`]:$==="small",[`${y}-affix-wrapper-lg`]:$==="large",[`${y}-affix-wrapper-rtl`]:r==="rtl",[`${y}-affix-wrapper-without-controls`]:S===!1},x),wrapper:ie({[`${J}-rtl`]:r==="rtl"},x),groupWrapper:ie({[`${y}-group-wrapper-sm`]:$==="small",[`${y}-group-wrapper-lg`]:$==="large",[`${y}-group-wrapper-rtl`]:r==="rtl",[`${y}-group-wrapper-${z}`]:U},Cs(`${y}-group-wrapper`,L,M),x)}},E));return T(Y)}),PJ=kJ,RTe=e=>c.createElement(_o,{theme:{components:{InputNumber:{handleVisible:!0}}}},c.createElement(kJ,Object.assign({},e)));PJ._InternalPanelDoNotUseOrYouWillBeFired=RTe;const wTe=e=>{const{getPrefixCls:t,direction:n}=c.useContext(lt),{prefixCls:r,className:a}=e,i=t("input-group",r),o=t("input"),[s,l]=Ck(o),u=ie(i,{[`${i}-lg`]:e.size==="large",[`${i}-sm`]:e.size==="small",[`${i}-compact`]:e.compact,[`${i}-rtl`]:n==="rtl"},l,a),d=c.useContext(Gr),p=c.useMemo(()=>Object.assign(Object.assign({},d),{isFormItemInput:!1}),[d]);return s(c.createElement("span",{className:u,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},c.createElement(Gr.Provider,{value:p},e.children)))},$J=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:ce.createElement(Bc,null)}),t};function FJ(e,t){const n=c.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var a,i,o,s;!((a=e.current)===null||a===void 0)&&a.input&&((i=e.current)===null||i===void 0?void 0:i.input.getAttribute("type"))==="password"&&(!((o=e.current)===null||o===void 0)&&o.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return c.useEffect(()=>(t&&r(),()=>n.current.forEach(a=>{a&&clearTimeout(a)})),[]),r}function ITe(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var OTe=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:i,size:o,disabled:s,onBlur:l,onFocus:u,suffix:d,allowClear:p,addonAfter:f,addonBefore:m,className:g,style:h,styles:v,rootClassName:S,onChange:_,classNames:E,variant:y}=e,C=OTe(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:T,direction:x,input:R}=ce.useContext(lt),w=T("input",r),I=c.useRef(null),O=Zn(w),[k,P,M]=Ck(w,O),{compactSize:N,compactItemClassnames:A}=ws(w,x),D=xr(Z=>{var te;return(te=o??N)!==null&&te!==void 0?te:Z}),L=ce.useContext(ea),$=s??L,{status:F,hasFeedback:B,feedbackIcon:z}=c.useContext(Gr),U=Nl(F,i),j=ITe(e)||!!B;c.useRef(j);const G=FJ(I,!0),J=Z=>{G(),l==null||l(Z)},Y=Z=>{G(),u==null||u(Z)},X=Z=>{G(),_==null||_(Z)},V=(B||d)&&ce.createElement(ce.Fragment,null,d,B&&z),H=$J(p??(R==null?void 0:R.allowClear)),[q,K]=Uc("input",y,a);return k(ce.createElement(cTe,Object.assign({ref:aa(t,I),prefixCls:w,autoComplete:R==null?void 0:R.autoComplete},C,{disabled:$,onBlur:J,onFocus:Y,style:Object.assign(Object.assign({},R==null?void 0:R.style),h),styles:Object.assign(Object.assign({},R==null?void 0:R.styles),v),suffix:V,allowClear:H,className:ie(g,S,M,O,A,R==null?void 0:R.className),onChange:X,addonBefore:m&&ce.createElement(Uo,{form:!0,space:!0},m),addonAfter:f&&ce.createElement(Uo,{form:!0,space:!0},f),classNames:Object.assign(Object.assign(Object.assign({},E),R==null?void 0:R.classNames),{input:ie({[`${w}-sm`]:D==="small",[`${w}-lg`]:D==="large",[`${w}-rtl`]:x==="rtl"},E==null?void 0:E.input,(n=R==null?void 0:R.classNames)===null||n===void 0?void 0:n.input,P),variant:ie({[`${w}-${q}`]:K},Cs(w,U)),affixWrapper:ie({[`${w}-affix-wrapper-sm`]:D==="small",[`${w}-affix-wrapper-lg`]:D==="large",[`${w}-affix-wrapper-rtl`]:x==="rtl"},P),wrapper:ie({[`${w}-group-rtl`]:x==="rtl"},P),groupWrapper:ie({[`${w}-group-wrapper-sm`]:D==="small",[`${w}-group-wrapper-lg`]:D==="large",[`${w}-group-wrapper-rtl`]:x==="rtl",[`${w}-group-wrapper-${q}`]:K},Cs(`${w}-group-wrapper`,U,B),P)})})))}),ATe=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}}}},DTe=cn(["Input","OTP"],e=>{const t=Ht(e,ug(e));return[ATe(t)]},dg);var MTe=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:i,mask:o}=e,s=MTe(e,["value","onChange","onActiveChange","index","mask"]),l=n&&typeof o=="string"?o:n,u=g=>{r(i,g.target.value)},d=c.useRef(null);c.useImperativeHandle(t,()=>d.current);const p=()=>{Gt(()=>{var g;const h=(g=d.current)===null||g===void 0?void 0:g.input;document.activeElement===h&&h&&h.select()})},f=g=>{let{key:h}=g;h==="ArrowLeft"?a(i-1):h==="ArrowRight"&&a(i+1),p()},m=g=>{g.key==="Backspace"&&!n&&a(i-1),p()};return c.createElement(cS,Object.assign({},s,{ref:d,value:l,onInput:u,onFocus:p,onKeyDown:f,onKeyUp:m,onMouseDown:p,onMouseUp:p,type:o===!0?"password":"text"}))});var kTe=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:i,value:o,onChange:s,formatter:l,variant:u,disabled:d,status:p,autoFocus:f,mask:m}=e,g=kTe(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask"]),{getPrefixCls:h,direction:v}=c.useContext(lt),S=h("otp",n),_=Qn(g,{aria:!0,data:!0,attr:!0}),E=Zn(S),[y,C,T]=DTe(S,E),x=xr(B=>a??B),R=c.useContext(Gr),w=Nl(R.status,p),I=c.useMemo(()=>Object.assign(Object.assign({},R),{status:w,hasFeedback:!1,feedbackIcon:null}),[R,w]),O=c.useRef(null),k=c.useRef({});c.useImperativeHandle(t,()=>({focus:()=>{var B;(B=k.current[0])===null||B===void 0||B.focus()},blur:()=>{var B;for(let z=0;zl?l(B):B,[M,N]=c.useState(Eh(P(i||"")));c.useEffect(()=>{o!==void 0&&N(Eh(o))},[o]);const A=Wt(B=>{N(B),s&&B.length===r&&B.every(z=>z)&&B.some((z,U)=>M[U]!==z)&&s(B.join(""))}),D=Wt((B,z)=>{let U=$e(M);for(let G=0;G=0&&!U[G];G-=1)U.pop();const j=P(U.map(G=>G||" ").join(""));return U=Eh(j).map((G,J)=>G===" "&&!U[J]?U[J]:G),U}),L=(B,z)=>{var U;const j=D(B,z),G=Math.min(B+z.length,r-1);G!==B&&((U=k.current[G])===null||U===void 0||U.focus()),A(j)},$=B=>{var z;(z=k.current[B])===null||z===void 0||z.focus()},F={variant:u,disabled:d,status:w,mask:m};return y(c.createElement("div",Object.assign({},_,{ref:O,className:ie(S,{[`${S}-sm`]:x==="small",[`${S}-lg`]:x==="large",[`${S}-rtl`]:v==="rtl"},T,C)}),c.createElement(Gr.Provider,{value:I},Array.from({length:r}).map((B,z)=>{const U=`otp-${z}`,j=M[z]||"";return c.createElement(LTe,Object.assign({ref:G=>{k.current[z]=G},key:U,index:z,size:x,htmlSize:1,className:`${S}-input`,onChange:L,value:j,onActiveChange:$,autoFocus:z===0&&f},F))}))))});var $Te={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"},FTe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:$Te}))},BTe=c.forwardRef(FTe),UTe={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"},jTe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:UTe}))},uS=c.forwardRef(jTe),zTe=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?c.createElement(uS,null):c.createElement(BTe,null),GTe={click:"onClick",hover:"onMouseOver"},VTe=c.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:a=!0,iconRender:i=HTe}=e,o=c.useContext(ea),s=n??o,l=typeof a=="object"&&a.visible!==void 0,[u,d]=c.useState(()=>l?a.visible:!1),p=c.useRef(null);c.useEffect(()=>{l&&d(a.visible)},[l,a]);const f=FJ(p),m=()=>{s||(u&&f(),d(I=>{var O;const k=!I;return typeof a=="object"&&((O=a.onVisibleChange)===null||O===void 0||O.call(a,k)),k}))},g=I=>{const O=GTe[r]||"",k=i(u),P={[O]:m,className:`${I}-icon`,key:"passwordIcon",onMouseDown:M=>{M.preventDefault()},onMouseUp:M=>{M.preventDefault()}};return c.cloneElement(c.isValidElement(k)?k:c.createElement("span",null,k),P)},{className:h,prefixCls:v,inputPrefixCls:S,size:_}=e,E=zTe(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:y}=c.useContext(lt),C=y("input",S),T=y("input-password",v),x=a&&g(T),R=ie(T,h,{[`${T}-${_}`]:!!_}),w=Object.assign(Object.assign({},An(E,["suffix","iconRender","visibilityToggle"])),{type:u?"text":"password",className:R,prefixCls:C,suffix:x});return _&&(w.size=_),c.createElement(cS,Object.assign({ref:aa(t,p)},w))});var qTe=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:i,suffix:o,enterButton:s=!1,addonAfter:l,loading:u,disabled:d,onSearch:p,onChange:f,onCompositionStart:m,onCompositionEnd:g}=e,h=qTe(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:v,direction:S}=c.useContext(lt),_=c.useRef(!1),E=v("input-search",n),y=v("input",r),{compactSize:C}=ws(E,S),T=xr(F=>{var B;return(B=i??C)!==null&&B!==void 0?B:F}),x=c.useRef(null),R=F=>{F!=null&&F.target&&F.type==="click"&&p&&p(F.target.value,F,{source:"clear"}),f==null||f(F)},w=F=>{var B;document.activeElement===((B=x.current)===null||B===void 0?void 0:B.input)&&F.preventDefault()},I=F=>{var B,z;p&&p((z=(B=x.current)===null||B===void 0?void 0:B.input)===null||z===void 0?void 0:z.value,F,{source:"input"})},O=F=>{_.current||u||I(F)},k=typeof s=="boolean"?c.createElement(Gb,null):null,P=`${E}-button`;let M;const N=s||{},A=N.type&&N.type.__ANT_BUTTON===!0;A||N.type==="button"?M=Tr(N,Object.assign({onMouseDown:w,onClick:F=>{var B,z;(z=(B=N==null?void 0:N.props)===null||B===void 0?void 0:B.onClick)===null||z===void 0||z.call(B,F),I(F)},key:"enterButton"},A?{className:P,size:T}:{})):M=c.createElement(Rt,{className:P,type:s?"primary":void 0,size:T,disabled:d,key:"enterButton",onMouseDown:w,onClick:I,loading:u,icon:k},s),l&&(M=[M,Tr(l,{key:"addonAfter"})]);const D=ie(E,{[`${E}-rtl`]:S==="rtl",[`${E}-${T}`]:!!T,[`${E}-with-button`]:!!s},a),L=F=>{_.current=!0,m==null||m(F)},$=F=>{_.current=!1,g==null||g(F)};return c.createElement(cS,Object.assign({ref:aa(x,t),onPressEnter:O},h,{size:T,onCompositionStart:L,onCompositionEnd:$,prefixCls:y,addonAfter:M,suffix:o,onChange:R,className:D,disabled:d}))});var YTe=` - min-height:0 !important; - max-height:none !important; - height:0 !important; - visibility:hidden !important; - overflow:hidden !important; - position:absolute !important; - z-index:-1000 !important; - top:0 !important; - right:0 !important; - pointer-events: none !important; -`,KTe=["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"],by={},Ti;function XTe(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&&by[n])return by[n];var r=window.getComputedStyle(e),a=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),o=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),s=KTe.map(function(u){return"".concat(u,":").concat(r.getPropertyValue(u))}).join(";"),l={sizingStyle:s,paddingSize:i,borderSize:o,boxSizing:a};return t&&n&&(by[n]=l),l}function QTe(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;Ti||(Ti=document.createElement("textarea"),Ti.setAttribute("tab-index","-1"),Ti.setAttribute("aria-hidden","true"),document.body.appendChild(Ti)),e.getAttribute("wrap")?Ti.setAttribute("wrap",e.getAttribute("wrap")):Ti.removeAttribute("wrap");var a=XTe(e,t),i=a.paddingSize,o=a.borderSize,s=a.boxSizing,l=a.sizingStyle;Ti.setAttribute("style","".concat(l,";").concat(YTe)),Ti.value=e.value||e.placeholder||"";var u=void 0,d=void 0,p,f=Ti.scrollHeight;if(s==="border-box"?f+=o:s==="content-box"&&(f-=i),n!==null||r!==null){Ti.value=" ";var m=Ti.scrollHeight-i;n!==null&&(u=m*n,s==="border-box"&&(u=u+i+o),f=Math.max(u,f)),r!==null&&(d=m*r,s==="border-box"&&(d=d+i+o),p=f>d?"":"hidden",f=Math.min(d,f))}var g={height:f,overflowY:p,resize:"none"};return u&&(g.minHeight=u),d&&(g.maxHeight=d),g}var ZTe=["prefixCls","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],Sy=0,Ey=1,yy=2,JTe=c.forwardRef(function(e,t){var n=e,r=n.prefixCls,a=n.defaultValue,i=n.value,o=n.autoSize,s=n.onResize,l=n.className,u=n.style,d=n.disabled,p=n.onChange;n.onInternalAutoSize;var f=Et(n,ZTe),m=ln(a,{value:i,postState:function(j){return j??""}}),g=oe(m,2),h=g[0],v=g[1],S=function(j){v(j.target.value),p==null||p(j)},_=c.useRef();c.useImperativeHandle(t,function(){return{textArea:_.current}});var E=c.useMemo(function(){return o&>(o)==="object"?[o.minRows,o.maxRows]:[]},[o]),y=oe(E,2),C=y[0],T=y[1],x=!!o,R=function(){try{if(document.activeElement===_.current){var j=_.current,G=j.selectionStart,J=j.selectionEnd,Y=j.scrollTop;_.current.setSelectionRange(G,J),_.current.scrollTop=Y}}catch{}},w=c.useState(yy),I=oe(w,2),O=I[0],k=I[1],P=c.useState(),M=oe(P,2),N=M[0],A=M[1],D=function(){k(Sy)};Qt(function(){x&&D()},[i,C,T,x]),Qt(function(){if(O===Sy)k(Ey);else if(O===Ey){var U=QTe(_.current,!1,C,T);k(yy),A(U)}else R()},[O]);var L=c.useRef(),$=function(){Gt.cancel(L.current)},F=function(j){O===yy&&(s==null||s(j),o&&($(),L.current=Gt(function(){D()})))};c.useEffect(function(){return $},[]);var B=x?N:null,z=ee(ee({},u),B);return(O===Sy||O===Ey)&&(z.overflowY="hidden",z.overflowX="hidden"),c.createElement(da,{onResize:F,disabled:!(o||s)},c.createElement("textarea",_e({},f,{ref:_,style:z,className:ie(r,l,W({},"".concat(r,"-disabled"),d)),disabled:d,value:h,onChange:S})))}),exe=["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"],txe=ce.forwardRef(function(e,t){var n,r=e.defaultValue,a=e.value,i=e.onFocus,o=e.onBlur,s=e.onChange,l=e.allowClear,u=e.maxLength,d=e.onCompositionStart,p=e.onCompositionEnd,f=e.suffix,m=e.prefixCls,g=m===void 0?"rc-textarea":m,h=e.showCount,v=e.count,S=e.className,_=e.style,E=e.disabled,y=e.hidden,C=e.classNames,T=e.styles,x=e.onResize,R=e.onClear,w=e.onPressEnter,I=e.readOnly,O=e.autoSize,k=e.onKeyDown,P=Et(e,exe),M=ln(r,{value:a,defaultValue:r}),N=oe(M,2),A=N[0],D=N[1],L=A==null?"":String(A),$=ce.useState(!1),F=oe($,2),B=F[0],z=F[1],U=ce.useRef(!1),j=ce.useState(null),G=oe(j,2),J=G[0],Y=G[1],X=c.useRef(null),V=c.useRef(null),H=function(){var be;return(be=V.current)===null||be===void 0?void 0:be.textArea},q=function(){H().focus()};c.useImperativeHandle(t,function(){var ye;return{resizableTextArea:V.current,focus:q,blur:function(){H().blur()},nativeElement:((ye=X.current)===null||ye===void 0?void 0:ye.nativeElement)||H()}}),c.useEffect(function(){z(function(ye){return!E&&ye})},[E]);var K=ce.useState(null),Z=oe(K,2),te=Z[0],se=Z[1];ce.useEffect(function(){if(te){var ye;(ye=H()).setSelectionRange.apply(ye,$e(te))}},[te]);var ue=LJ(v,h),me=(n=ue.max)!==null&&n!==void 0?n:u,de=Number(me)>0,Te=ue.strategy(L),Ee=!!me&&Te>me,ge=function(be,Ne){var Ie=Ne;!U.current&&ue.exceedFormatter&&ue.max&&ue.strategy(Ne)>ue.max&&(Ie=ue.exceedFormatter(Ne,{max:ue.max}),Ne!==Ie&&se([H().selectionStart||0,H().selectionEnd||0])),D(Ie),T_(be.currentTarget,be,s,Ie)},re=function(be){U.current=!0,d==null||d(be)},ne=function(be){U.current=!1,ge(be,be.currentTarget.value),p==null||p(be)},ae=function(be){ge(be,be.target.value)},le=function(be){be.key==="Enter"&&w&&w(be),k==null||k(be)},pe=function(be){z(!0),i==null||i(be)},Re=function(be){z(!1),o==null||o(be)},Se=function(be){D(""),q(),T_(H(),be,s)},Pe=f,fe;ue.show&&(ue.showFormatter?fe=ue.showFormatter({value:L,count:Te,maxLength:me}):fe="".concat(Te).concat(de?" / ".concat(me):""),Pe=ce.createElement(ce.Fragment,null,Pe,ce.createElement("span",{className:ie("".concat(g,"-data-count"),C==null?void 0:C.count),style:T==null?void 0:T.count},fe)));var ve=function(be){var Ne;x==null||x(be),(Ne=H())!==null&&Ne!==void 0&&Ne.style.height&&Y(!0)},Ae=!O&&!h&&!l;return ce.createElement(Ok,{ref:X,value:L,allowClear:l,handleReset:Se,suffix:Pe,prefixCls:g,classNames:ee(ee({},C),{},{affixWrapper:ie(C==null?void 0:C.affixWrapper,W(W({},"".concat(g,"-show-count"),h),"".concat(g,"-textarea-allow-clear"),l))}),disabled:E,focused:B,className:ie(S,Ee&&"".concat(g,"-out-of-range")),style:ee(ee({},_),J&&!Ae?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof fe=="string"?fe:void 0}},hidden:y,readOnly:I,onClear:R},ce.createElement(JTe,_e({},P,{autoSize:O,maxLength:u,onKeyDown:le,onChange:ae,onFocus:pe,onBlur:Re,onCompositionStart:re,onCompositionEnd:ne,className:ie(C==null?void 0:C.textarea),style:ee(ee({},T==null?void 0:T.textarea),{},{resize:_==null?void 0:_.resize}),disabled:E,prefixCls:g,onResize:ve,ref:V,readOnly:I})))}),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{var n,r;const{prefixCls:a,bordered:i=!0,size:o,disabled:s,status:l,allowClear:u,classNames:d,rootClassName:p,className:f,style:m,styles:g,variant:h}=e,v=nxe(e,["prefixCls","bordered","size","disabled","status","allowClear","classNames","rootClassName","className","style","styles","variant"]),{getPrefixCls:S,direction:_,textArea:E}=c.useContext(lt),y=xr(o),C=c.useContext(ea),T=s??C,{status:x,hasFeedback:R,feedbackIcon:w}=c.useContext(Gr),I=Nl(x,l),O=c.useRef(null);c.useImperativeHandle(t,()=>{var F;return{resizableTextArea:(F=O.current)===null||F===void 0?void 0:F.resizableTextArea,focus:B=>{var z,U;NTe((U=(z=O.current)===null||z===void 0?void 0:z.resizableTextArea)===null||U===void 0?void 0:U.textArea,B)},blur:()=>{var B;return(B=O.current)===null||B===void 0?void 0:B.blur()}}});const k=S("input",a),P=Zn(k),[M,N,A]=Ck(k,P),[D,L]=Uc("textArea",h,i),$=$J(u??(E==null?void 0:E.allowClear));return M(c.createElement(txe,Object.assign({autoComplete:E==null?void 0:E.autoComplete},v,{style:Object.assign(Object.assign({},E==null?void 0:E.style),m),styles:Object.assign(Object.assign({},E==null?void 0:E.styles),g),disabled:T,allowClear:$,className:ie(A,P,f,p,E==null?void 0:E.className),classNames:Object.assign(Object.assign(Object.assign({},d),E==null?void 0:E.classNames),{textarea:ie({[`${k}-sm`]:y==="small",[`${k}-lg`]:y==="large"},N,d==null?void 0:d.textarea,(n=E==null?void 0:E.classNames)===null||n===void 0?void 0:n.textarea),variant:ie({[`${k}-${D}`]:L},Cs(k,I)),affixWrapper:ie(`${k}-textarea-affix-wrapper`,{[`${k}-affix-wrapper-rtl`]:_==="rtl",[`${k}-affix-wrapper-sm`]:y==="small",[`${k}-affix-wrapper-lg`]:y==="large",[`${k}-textarea-show-count`]:e.showCount||((r=e.count)===null||r===void 0?void 0:r.show)},N)}),prefixCls:k,suffix:R&&c.createElement("span",{className:`${k}-textarea-suffix`},w),ref:O})))}),en=cS;en.Group=wTe;en.Search=WTe;en.TextArea=BJ;en.Password=VTe;en.OTP=PTe;function bD(e,t,n){return(e-t)/(n-t)}function Nk(e,t,n,r){var a=bD(t,n,r),i={};switch(e){case"rtl":i.right="".concat(a*100,"%"),i.transform="translateX(50%)";break;case"btt":i.bottom="".concat(a*100,"%"),i.transform="translateY(50%)";break;case"ttb":i.top="".concat(a*100,"%"),i.transform="translateY(-50%)";break;default:i.left="".concat(a*100,"%"),i.transform="translateX(-50%)";break}return i}function Uu(e,t){return Array.isArray(e)?e[t]:e}var Hc=c.createContext({min:0,max:0,direction:"ltr",step:1,includedStart:0,includedEnd:0,tabIndex:0,keyboard:!0,styles:{},classNames:{}}),rxe=c.createContext({}),axe=["prefixCls","value","valueIndex","onStartMove","onDelete","style","render","dragging","draggingDelete","onOffsetChange","onChangeComplete","onFocus","onMouseEnter"],V3=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.value,a=e.valueIndex,i=e.onStartMove,o=e.onDelete,s=e.style,l=e.render,u=e.dragging,d=e.draggingDelete,p=e.onOffsetChange,f=e.onChangeComplete,m=e.onFocus,g=e.onMouseEnter,h=Et(e,axe),v=c.useContext(Hc),S=v.min,_=v.max,E=v.direction,y=v.disabled,C=v.keyboard,T=v.range,x=v.tabIndex,R=v.ariaLabelForHandle,w=v.ariaLabelledByForHandle,I=v.ariaValueTextFormatterForHandle,O=v.styles,k=v.classNames,P="".concat(n,"-handle"),M=function(j){y||i(j,a)},N=function(j){m==null||m(j,a)},A=function(j){g(j,a)},D=function(j){if(!y&&C){var G=null;switch(j.which||j.keyCode){case Fe.LEFT:G=E==="ltr"||E==="btt"?-1:1;break;case Fe.RIGHT:G=E==="ltr"||E==="btt"?1:-1;break;case Fe.UP:G=E!=="ttb"?1:-1;break;case Fe.DOWN:G=E!=="ttb"?-1:1;break;case Fe.HOME:G="min";break;case Fe.END:G="max";break;case Fe.PAGE_UP:G=2;break;case Fe.PAGE_DOWN:G=-2;break;case Fe.BACKSPACE:case Fe.DELETE:o(a);break}G!==null&&(j.preventDefault(),p(G,a))}},L=function(j){switch(j.which||j.keyCode){case Fe.LEFT:case Fe.RIGHT:case Fe.UP:case Fe.DOWN:case Fe.HOME:case Fe.END:case Fe.PAGE_UP:case Fe.PAGE_DOWN:f==null||f();break}},$=Nk(E,r,S,_),F={};if(a!==null){var B;F={tabIndex:y?null:Uu(x,a),role:"slider","aria-valuemin":S,"aria-valuemax":_,"aria-valuenow":r,"aria-disabled":y,"aria-label":Uu(R,a),"aria-labelledby":Uu(w,a),"aria-valuetext":(B=Uu(I,a))===null||B===void 0?void 0:B(r),"aria-orientation":E==="ltr"||E==="rtl"?"horizontal":"vertical",onMouseDown:M,onTouchStart:M,onFocus:N,onMouseEnter:A,onKeyDown:D,onKeyUp:L}}var z=c.createElement("div",_e({ref:t,className:ie(P,W(W(W({},"".concat(P,"-").concat(a+1),a!==null&&T),"".concat(P,"-dragging"),u),"".concat(P,"-dragging-delete"),d),k.handle),style:ee(ee(ee({},$),s),O.handle)},F,h));return l&&(z=l(z,{index:a,prefixCls:n,value:r,dragging:u,draggingDelete:d})),z}),ixe=["prefixCls","style","onStartMove","onOffsetChange","values","handleRender","activeHandleRender","draggingIndex","draggingDelete","onFocus"],oxe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,a=e.onStartMove,i=e.onOffsetChange,o=e.values,s=e.handleRender,l=e.activeHandleRender,u=e.draggingIndex,d=e.draggingDelete,p=e.onFocus,f=Et(e,ixe),m=c.useRef({}),g=c.useState(!1),h=oe(g,2),v=h[0],S=h[1],_=c.useState(-1),E=oe(_,2),y=E[0],C=E[1],T=function(O){C(O),S(!0)},x=function(O,k){T(k),p==null||p(O)},R=function(O,k){T(k)};c.useImperativeHandle(t,function(){return{focus:function(O){var k;(k=m.current[O])===null||k===void 0||k.focus()},hideHelp:function(){Ur.flushSync(function(){S(!1)})}}});var w=ee({prefixCls:n,onStartMove:a,onOffsetChange:i,render:s,onFocus:x,onMouseEnter:R},f);return c.createElement(c.Fragment,null,o.map(function(I,O){var k=u===O;return c.createElement(V3,_e({ref:function(M){M?m.current[O]=M:delete m.current[O]},dragging:k,draggingDelete:k&&d,style:Uu(r,O),key:O,value:I,valueIndex:O},w))}),l&&v&&c.createElement(V3,_e({key:"a11y"},w,{value:o[y],valueIndex:null,dragging:u!==-1,draggingDelete:d,render:l,style:{pointerEvents:"none"},tabIndex:null,"aria-hidden":!0})))}),sxe=function(t){var n=t.prefixCls,r=t.style,a=t.children,i=t.value,o=t.onClick,s=c.useContext(Hc),l=s.min,u=s.max,d=s.direction,p=s.includedStart,f=s.includedEnd,m=s.included,g="".concat(n,"-text"),h=Nk(d,i,l,u);return c.createElement("span",{className:ie(g,W({},"".concat(g,"-active"),m&&p<=i&&i<=f)),style:ee(ee({},h),r),onMouseDown:function(S){S.stopPropagation()},onClick:function(){o(i)}},a)},lxe=function(t){var n=t.prefixCls,r=t.marks,a=t.onClick,i="".concat(n,"-mark");return r.length?c.createElement("div",{className:i},r.map(function(o){var s=o.value,l=o.style,u=o.label;return c.createElement(sxe,{key:s,prefixCls:i,style:l,value:s,onClick:a},u)})):null},cxe=function(t){var n=t.prefixCls,r=t.value,a=t.style,i=t.activeStyle,o=c.useContext(Hc),s=o.min,l=o.max,u=o.direction,d=o.included,p=o.includedStart,f=o.includedEnd,m="".concat(n,"-dot"),g=d&&p<=r&&r<=f,h=ee(ee({},Nk(u,r,s,l)),typeof a=="function"?a(r):a);return g&&(h=ee(ee({},h),typeof i=="function"?i(r):i)),c.createElement("span",{className:ie(m,W({},"".concat(m,"-active"),g)),style:h})},uxe=function(t){var n=t.prefixCls,r=t.marks,a=t.dots,i=t.style,o=t.activeStyle,s=c.useContext(Hc),l=s.min,u=s.max,d=s.step,p=c.useMemo(function(){var f=new Set;if(r.forEach(function(g){f.add(g.value)}),a&&d!==null)for(var m=l;m<=u;)f.add(m),m+=d;return Array.from(f)},[l,u,d,a,r]);return c.createElement("div",{className:"".concat(n,"-step")},p.map(function(f){return c.createElement(cxe,{prefixCls:n,key:f,value:f,style:i,activeStyle:o})}))},q3=function(t){var n=t.prefixCls,r=t.style,a=t.start,i=t.end,o=t.index,s=t.onStartMove,l=t.replaceCls,u=c.useContext(Hc),d=u.direction,p=u.min,f=u.max,m=u.disabled,g=u.range,h=u.classNames,v="".concat(n,"-track"),S=bD(a,p,f),_=bD(i,p,f),E=function(x){!m&&s&&s(x,-1)},y={};switch(d){case"rtl":y.right="".concat(S*100,"%"),y.width="".concat(_*100-S*100,"%");break;case"btt":y.bottom="".concat(S*100,"%"),y.height="".concat(_*100-S*100,"%");break;case"ttb":y.top="".concat(S*100,"%"),y.height="".concat(_*100-S*100,"%");break;default:y.left="".concat(S*100,"%"),y.width="".concat(_*100-S*100,"%")}var C=l||ie(v,W(W({},"".concat(v,"-").concat(o+1),o!==null&&g),"".concat(n,"-track-draggable"),s),h.track);return c.createElement("div",{className:C,style:ee(ee({},y),r),onMouseDown:E,onTouchStart:E})},dxe=function(t){var n=t.prefixCls,r=t.style,a=t.values,i=t.startPoint,o=t.onStartMove,s=c.useContext(Hc),l=s.included,u=s.range,d=s.min,p=s.styles,f=s.classNames,m=c.useMemo(function(){if(!u){if(a.length===0)return[];var h=i??d,v=a[0];return[{start:Math.min(h,v),end:Math.max(h,v)}]}for(var S=[],_=0;_pxe&&d3&&arguments[3]!==void 0?arguments[3]:"unit";if(typeof h=="number"){var _,E=g[v],y=E+h,C=[];r.forEach(function(I){C.push(I.value)}),C.push(e,t),C.push(s(E));var T=h>0?1:-1;S==="unit"?C.push(s(E+T*n)):C.push(s(y)),C=C.filter(function(I){return I!==null}).filter(function(I){return h<0?I<=E:I>=E}),S==="unit"&&(C=C.filter(function(I){return I!==E}));var x=S==="unit"?E:y;_=C[0];var R=Math.abs(_-x);if(C.forEach(function(I){var O=Math.abs(I-x);O1){var w=$e(g);return w[v]=_,m(w,h-T,v,S)}return _}else{if(h==="min")return e;if(h==="max")return t}},d=function(g,h,v){var S=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"unit",_=g[v],E=u(g,h,v,S);return{value:E,changed:E!==_}},p=function(g){return i===null&&g===0||typeof i=="number"&&g3&&arguments[3]!==void 0?arguments[3]:"unit",_=g.map(l),E=_[v],y=u(_,h,v,S);if(_[v]=y,a===!1){var C=i||0;v>0&&_[v-1]!==E&&(_[v]=Math.max(_[v],_[v-1]+C)),v<_.length-1&&_[v+1]!==E&&(_[v]=Math.min(_[v],_[v+1]-C))}else if(typeof i=="number"||i===null){for(var T=v+1;T<_.length;T+=1)for(var x=!0;p(_[T]-_[T-1])&&x;){var R=d(_,1,T);_[T]=R.value,x=R.changed}for(var w=v;w>0;w-=1)for(var I=!0;p(_[w]-_[w-1])&&I;){var O=d(_,-1,w-1);_[w-1]=O.value,I=O.changed}for(var k=_.length-1;k>0;k-=1)for(var P=!0;p(_[k]-_[k-1])&&P;){var M=d(_,-1,k-1);_[k-1]=M.value,P=M.changed}for(var N=0;N<_.length-1;N+=1)for(var A=!0;p(_[N+1]-_[N])&&A;){var D=d(_,1,N+1);_[N+1]=D.value,A=D.changed}}return{value:_[v],values:_}};return[l,f]}function gxe(e){return c.useMemo(function(){if(e===!0||!e)return[!!e,!1,!1,0];var t=e.editable,n=e.draggableTrack,r=e.minCount,a=e.maxCount;return[!0,t,!t&&n,r||0,a]},[e])}var hxe=c.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-slider":n,a=e.className,i=e.style,o=e.classNames,s=e.styles,l=e.disabled,u=l===void 0?!1:l,d=e.keyboard,p=d===void 0?!0:d,f=e.autoFocus,m=e.onFocus,g=e.onBlur,h=e.min,v=h===void 0?0:h,S=e.max,_=S===void 0?100:S,E=e.step,y=E===void 0?1:E,C=e.value,T=e.defaultValue,x=e.range,R=e.count,w=e.onChange,I=e.onBeforeChange,O=e.onAfterChange,k=e.onChangeComplete,P=e.allowCross,M=P===void 0?!0:P,N=e.pushable,A=N===void 0?!1:N,D=e.reverse,L=e.vertical,$=e.included,F=$===void 0?!0:$,B=e.startPoint,z=e.trackStyle,U=e.handleStyle,j=e.railStyle,G=e.dotStyle,J=e.activeDotStyle,Y=e.marks,X=e.dots,V=e.handleRender,H=e.activeHandleRender,q=e.track,K=e.tabIndex,Z=K===void 0?0:K,te=e.ariaLabelForHandle,se=e.ariaLabelledByForHandle,ue=e.ariaValueTextFormatterForHandle,me=c.useRef(null),de=c.useRef(null),Te=c.useMemo(function(){return L?D?"ttb":"btt":D?"rtl":"ltr"},[D,L]),Ee=gxe(x),ge=oe(Ee,5),re=ge[0],ne=ge[1],ae=ge[2],le=ge[3],pe=ge[4],Re=c.useMemo(function(){return isFinite(v)?v:0},[v]),Se=c.useMemo(function(){return isFinite(_)?_:100},[_]),Pe=c.useMemo(function(){return y!==null&&y<=0?1:y},[y]),fe=c.useMemo(function(){return typeof A=="boolean"?A?Pe:!1:A>=0?A:!1},[A,Pe]),ve=c.useMemo(function(){return Object.keys(Y||{}).map(function(Ke){var qe=Y[Ke],_t={value:Number(Ke)};return qe&>(qe)==="object"&&!c.isValidElement(qe)&&("label"in qe||"style"in qe)?(_t.style=qe.style,_t.label=qe.label):_t.label=qe,_t}).filter(function(Ke){var qe=Ke.label;return qe||typeof qe=="number"}).sort(function(Ke,qe){return Ke.value-qe.value})},[Y]),Ae=mxe(Re,Se,Pe,ve,M,fe),ye=oe(Ae,2),be=ye[0],Ne=ye[1],Ie=ln(T,{value:C}),xe=oe(Ie,2),ke=xe[0],rt=xe[1],Me=c.useMemo(function(){var Ke=ke==null?[]:Array.isArray(ke)?ke:[ke],qe=oe(Ke,1),_t=qe[0],xt=_t===void 0?Re:_t,kt=ke===null?[]:[xt];if(re){if(kt=$e(Ke),R||ke===void 0){var tn=R>=0?R+1:2;for(kt=kt.slice(0,tn);kt.length=0&&me.current.focus(Ke)}Nt(null)},[It]);var ct=c.useMemo(function(){return ae&&Pe===null?!1:ae},[ae,Pe]),ot=Wt(function(Ke,qe){pt(Ke,qe),I==null||I(Ce(Me))}),et=Xe!==-1;c.useEffect(function(){if(!et){var Ke=Me.lastIndexOf(Be);me.current.focus(Ke)}},[et]);var vt=c.useMemo(function(){return $e(mt).sort(function(Ke,qe){return Ke-qe})},[mt]),nt=c.useMemo(function(){return re?[vt[0],vt[vt.length-1]]:[Re,vt[0]]},[vt,re,Re]),bt=oe(nt,2),Ct=bt[0],tt=bt[1];c.useImperativeHandle(t,function(){return{focus:function(){me.current.focus(0)},blur:function(){var qe,_t=document,xt=_t.activeElement;(qe=de.current)!==null&&qe!==void 0&&qe.contains(xt)&&(xt==null||xt.blur())}}}),c.useEffect(function(){f&&me.current.focus(0)},[]);var it=c.useMemo(function(){return{min:Re,max:Se,direction:Te,disabled:u,keyboard:p,step:Pe,included:F,includedStart:Ct,includedEnd:tt,range:re,tabIndex:Z,ariaLabelForHandle:te,ariaLabelledByForHandle:se,ariaValueTextFormatterForHandle:ue,styles:s||{},classNames:o||{}}},[Re,Se,Te,u,p,Pe,F,Ct,tt,re,Z,te,se,ue,s,o]);return c.createElement(Hc.Provider,{value:it},c.createElement("div",{ref:de,className:ie(r,a,W(W(W(W({},"".concat(r,"-disabled"),u),"".concat(r,"-vertical"),L),"".concat(r,"-horizontal"),!L),"".concat(r,"-with-marks"),ve.length)),style:i,onMouseDown:Ve},c.createElement("div",{className:ie("".concat(r,"-rail"),o==null?void 0:o.rail),style:ee(ee({},j),s==null?void 0:s.rail)}),q!==!1&&c.createElement(dxe,{prefixCls:r,style:z,values:Me,startPoint:B,onStartMove:ct?ot:void 0}),c.createElement(uxe,{prefixCls:r,marks:ve,dots:X,style:G,activeStyle:J}),c.createElement(oxe,{ref:me,prefixCls:r,style:U,values:mt,draggingIndex:Xe,draggingDelete:Je,onStartMove:ot,onOffsetChange:ht,onFocus:m,onBlur:g,handleRender:V,activeHandleRender:H,onChangeComplete:Ue,onDelete:ne?Ye:void 0}),c.createElement(lxe,{prefixCls:r,marks:ve,onClick:We})))});const Y3=c.forwardRef((e,t)=>{const{open:n,draggingDelete:r}=e,a=c.useRef(null),i=n&&!r,o=c.useRef(null);function s(){Gt.cancel(o.current),o.current=null}function l(){o.current=Gt(()=>{var u;(u=a.current)===null||u===void 0||u.forceAlign(),o.current=null})}return c.useEffect(()=>(i?l():s(),s),[i,e.title]),c.createElement(Jt,Object.assign({ref:aa(a,t)},e,{open:i}))}),vxe=e=>{const{componentCls:t,antCls:n,controlSize:r,dotSize:a,marginFull:i,marginPart:o,colorFillContentHover:s,handleColorDisabled:l,calc:u,handleSize:d,handleSizeHover:p,handleActiveColor:f,handleActiveOutlineColor:m,handleLineWidth:g,handleLineWidthHover:h,motionDurationMid:v}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"relative",height:r,margin:`${Q(o)} ${Q(i)}`,padding:0,cursor:"pointer",touchAction:"none","&-vertical":{margin:`${Q(i)} ${Q(o)}`},[`${t}-rail`]:{position:"absolute",backgroundColor:e.railBg,borderRadius:e.borderRadiusXS,transition:`background-color ${v}`},[`${t}-track,${t}-tracks`]:{position:"absolute",transition:`background-color ${v}`},[`${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 ${Q(g)} ${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(g).mul(-1).equal(),insetBlockStart:u(g).mul(-1).equal(),width:u(d).add(u(g).mul(2)).equal(),height:u(d).add(u(g).mul(2)).equal(),backgroundColor:"transparent"},"&::after":{content:'""',position:"absolute",insetBlockStart:0,insetInlineStart:0,width:d,height:d,backgroundColor:e.colorBgElevated,boxShadow:`0 0 0 ${Q(g)} ${e.handleColor}`,outline:"0px solid transparent",borderRadius:"50%",cursor:"pointer",transition:` - inset-inline-start ${v}, - inset-block-start ${v}, - width ${v}, - height ${v}, - box-shadow ${v}, - outline ${v} - `},"&:hover, &:active, &:focus":{"&::before":{insetInlineStart:u(p).sub(d).div(2).add(h).mul(-1).equal(),insetBlockStart:u(p).sub(d).div(2).add(h).mul(-1).equal(),width:u(p).add(u(h).mul(2)).equal(),height:u(p).add(u(h).mul(2)).equal()},"&::after":{boxShadow:`0 0 0 ${Q(h)} ${f}`,outline:`6px solid ${m}`,width:p,height:p,insetInlineStart:e.calc(d).sub(p).div(2).equal(),insetBlockStart:e.calc(d).sub(p).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:`${Q(g)} 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 ${Q(g)} ${l}`,insetInlineStart:0,insetBlockStart:0},[` - ${t}-mark-text, - ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},UJ=(e,t)=>{const{componentCls:n,railSize:r,handleSize:a,dotSize:i,marginFull:o,calc:s}=e,l=t?"paddingBlock":"paddingInline",u=t?"width":"height",d=t?"height":"width",p=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",m=s(r).mul(3).sub(a).div(2).equal(),g=s(a).sub(r).div(2).equal(),h=t?{borderWidth:`${Q(g)} 0`,transform:`translateY(${Q(s(g).mul(-1).equal())})`}:{borderWidth:`0 ${Q(g)}`,transform:`translateX(${Q(e.calc(g).mul(-1).equal())})`};return{[l]:r,[d]:s(r).mul(3).equal(),[`${n}-rail`]:{[u]:"100%",[d]:r},[`${n}-track,${n}-tracks`]:{[d]:r},[`${n}-track-draggable`]:Object.assign({},h),[`${n}-handle`]:{[p]:m},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:o).equal(),[u]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[u]:"100%",[d]:r},[`${n}-dot`]:{position:"absolute",[p]:s(r).sub(i).div(2).equal()}}},_xe=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},UJ(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},bxe=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},UJ(e,!1)),{height:"100%"})}},Sxe=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,a=e.lineWidth+1,i=e.lineWidth+1*1.5,o=e.colorPrimary,s=new an(o).setAlpha(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:a,handleLineWidthHover:i,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:o,handleActiveOutlineColor:s,handleColorDisabled:new an(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexShortString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},Exe=cn("Slider",e=>{const t=Ht(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[vxe(t),_xe(t),bxe(t)]},Sxe),yxe=c.createContext({});function Cy(){const[e,t]=c.useState(!1),n=c.useRef(),r=()=>{Gt.cancel(n.current)},a=i=>{r(),i?t(i):n.current=Gt(()=>{t(i)})};return c.useEffect(()=>r,[]),[e,a]}var Cxe=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 xxe=ce.forwardRef((e,t)=>{const{prefixCls:n,range:r,className:a,rootClassName:i,style:o,disabled:s,tooltipPrefixCls:l,tipFormatter:u,tooltipVisible:d,getTooltipPopupContainer:p,tooltipPlacement:f,tooltip:m={},onChangeComplete:g}=e,h=Cxe(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete"]),{vertical:v}=e,{direction:S,slider:_,getPrefixCls:E,getPopupContainer:y}=ce.useContext(lt),C=ce.useContext(ea),T=s??C,{handleRender:x,direction:R}=ce.useContext(yxe),I=(R||S)==="rtl",[O,k]=Cy(),[P,M]=Cy(),N=Object.assign({},m),{open:A,placement:D,getPopupContainer:L,prefixCls:$,formatter:F}=N,B=A??d,z=(O||P)&&B!==!1,U=Txe(F,u),[j,G]=Cy(),J=me=>{g==null||g(me),G(!1)},Y=(me,de)=>me||(de?I?"left":"right":"top"),X=E("slider",n),[V,H,q]=Exe(X),K=ie(a,_==null?void 0:_.className,i,{[`${X}-rtl`]:I,[`${X}-lock`]:j},H,q);I&&!h.vertical&&(h.reverse=!h.reverse),ce.useEffect(()=>{const me=()=>{Gt(()=>{M(!1)},1)};return document.addEventListener("mouseup",me),()=>{document.removeEventListener("mouseup",me)}},[]);const Z=r&&!B,te=x||((me,de)=>{const{index:Te}=de,Ee=me.props;function ge(le,pe,Re){var Se,Pe,fe,ve;Re&&((Pe=(Se=h)[le])===null||Pe===void 0||Pe.call(Se,pe)),(ve=(fe=Ee)[le])===null||ve===void 0||ve.call(fe,pe)}const re=Object.assign(Object.assign({},Ee),{onMouseEnter:le=>{k(!0),ge("onMouseEnter",le)},onMouseLeave:le=>{k(!1),ge("onMouseLeave",le)},onMouseDown:le=>{M(!0),G(!0),ge("onMouseDown",le)},onFocus:le=>{var pe;M(!0),(pe=h.onFocus)===null||pe===void 0||pe.call(h,le),ge("onFocus",le,!0)},onBlur:le=>{var pe;M(!1),(pe=h.onBlur)===null||pe===void 0||pe.call(h,le),ge("onBlur",le,!0)}}),ne=ce.cloneElement(me,re),ae=(!!B||z)&&U!==null;return Z?ne:ce.createElement(Y3,Object.assign({},N,{prefixCls:E("tooltip",$??l),title:U?U(de.value):"",open:ae,placement:Y(D??f,v),key:Te,overlayClassName:`${X}-tooltip`,getPopupContainer:L||p||y}),ne)}),se=Z?(me,de)=>{const Te=ce.cloneElement(me,{style:Object.assign(Object.assign({},me.props.style),{visibility:"hidden"})});return ce.createElement(Y3,Object.assign({},N,{prefixCls:E("tooltip",$??l),title:U?U(de.value):"",open:U!==null&&z,placement:Y(D??f,v),key:"tooltip",overlayClassName:`${X}-tooltip`,getPopupContainer:L||p||y,draggingDelete:de.draggingDelete}),Te)}:void 0,ue=Object.assign(Object.assign({},_==null?void 0:_.style),o);return V(ce.createElement(hxe,Object.assign({},h,{step:h.step,range:r,className:K,style:ue,disabled:T,ref:t,prefixCls:X,handleRender:te,activeHandleRender:se,onChangeComplete:J})))});var Rxe={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"},wxe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Rxe}))},jJ=c.forwardRef(wxe),Ixe={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"},Oxe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Ixe}))},zJ=c.forwardRef(Oxe),Nxe={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"},Axe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Nxe}))},Dxe=c.forwardRef(Axe);function Mxe(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 Lxe(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 Ak(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 HJ(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:a}=JL(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[c.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),a]}const[kxe,Pxe]=["week","WeekPicker"],[$xe,Fxe]=["month","MonthPicker"],[Bxe,Uxe]=["year","YearPicker"],[jxe,zxe]=["quarter","QuarterPicker"],[GJ,K3]=["time","TimePicker"],Hxe=e=>c.createElement(Rt,Object.assign({size:"small",type:"primary"},e));function VJ(e){return c.useMemo(()=>Object.assign({button:Hxe},e),[e])}var Gxe=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);ac.forwardRef((n,r)=>{var a;const{prefixCls:i,getPopupContainer:o,components:s,className:l,style:u,placement:d,size:p,disabled:f,bordered:m=!0,placeholder:g,popupClassName:h,dropdownClassName:v,status:S,rootClassName:_,variant:E,picker:y}=n,C=Gxe(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),T=c.useRef(null),{getPrefixCls:x,direction:R,getPopupContainer:w,rangePicker:I}=c.useContext(lt),O=x("picker",i),{compactSize:k,compactItemClassnames:P}=ws(O,R),M=x(),[N,A]=Uc("rangePicker",E,m),D=Zn(O),[L,$,F]=gJ(O,D),[B]=HJ(n,O),z=VJ(s),U=xr(te=>{var se;return(se=p??k)!==null&&se!==void 0?se:te}),j=c.useContext(ea),G=f??j,J=c.useContext(Gr),{hasFeedback:Y,status:X,feedbackIcon:V}=J,H=c.createElement(c.Fragment,null,y===GJ?c.createElement(zJ,null):c.createElement(jJ,null),Y&&V);c.useImperativeHandle(r,()=>T.current);const[q]=Go("Calendar",d_),K=Object.assign(Object.assign({},q),n.locale),[Z]=bo("DatePicker",(a=n.popupStyle)===null||a===void 0?void 0:a.zIndex);return L(c.createElement(Uo,{space:!0},c.createElement(wye,Object.assign({separator:c.createElement("span",{"aria-label":"to",className:`${O}-separator`},c.createElement(Dxe,null)),disabled:G,ref:T,popupAlign:Ak(R,d),placement:d,placeholder:Lxe(K,y,g),suffixIcon:H,prevIcon:c.createElement("span",{className:`${O}-prev-icon`}),nextIcon:c.createElement("span",{className:`${O}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${O}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${O}-super-next-icon`}),transitionName:`${M}-slide-up`,picker:y},C,{className:ie({[`${O}-${U}`]:U,[`${O}-${N}`]:A},Cs(O,Nl(X,S),Y),$,P,l,I==null?void 0:I.className,F,D,_),style:Object.assign(Object.assign({},I==null?void 0:I.style),u),locale:K.lang,prefixCls:O,getPopupContainer:o||w,generateConfig:e,components:z,direction:R,classNames:{popup:ie($,h||v,F,D,_)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:Z})},allowClear:B}))))});var qxe=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=(l,u)=>{const d=u===K3?"timePicker":"datePicker";return c.forwardRef((f,m)=>{var g;const{prefixCls:h,getPopupContainer:v,components:S,style:_,className:E,rootClassName:y,size:C,bordered:T,placement:x,placeholder:R,popupClassName:w,dropdownClassName:I,disabled:O,status:k,variant:P,onCalendarChange:M}=f,N=qxe(f,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:A,direction:D,getPopupContainer:L,[d]:$}=c.useContext(lt),F=A("picker",h),{compactSize:B,compactItemClassnames:z}=ws(F,D),U=c.useRef(null),[j,G]=Uc("datePicker",P,T),J=Zn(F),[Y,X,V]=gJ(F,J);c.useImperativeHandle(m,()=>U.current);const H={showToday:!0},q=l||f.picker,K=A(),{onSelect:Z,multiple:te}=N,se=Z&&l==="time"&&!te,ue=(ve,Ae,ye)=>{M==null||M(ve,Ae,ye),se&&Z(ve)},[me,de]=HJ(f,F),Te=VJ(S),Ee=xr(ve=>{var Ae;return(Ae=C??B)!==null&&Ae!==void 0?Ae:ve}),ge=c.useContext(ea),re=O??ge,ne=c.useContext(Gr),{hasFeedback:ae,status:le,feedbackIcon:pe}=ne,Re=c.createElement(c.Fragment,null,q==="time"?c.createElement(zJ,null):c.createElement(jJ,null),ae&&pe),[Se]=Go("DatePicker",d_),Pe=Object.assign(Object.assign({},Se),f.locale),[fe]=bo("DatePicker",(g=f.popupStyle)===null||g===void 0?void 0:g.zIndex);return Y(c.createElement(Uo,{space:!0},c.createElement(Mye,Object.assign({ref:U,placeholder:Mxe(Pe,q,R),suffixIcon:Re,dropdownAlign:Ak(D,x),placement:x,prevIcon:c.createElement("span",{className:`${F}-prev-icon`}),nextIcon:c.createElement("span",{className:`${F}-next-icon`}),superPrevIcon:c.createElement("span",{className:`${F}-super-prev-icon`}),superNextIcon:c.createElement("span",{className:`${F}-super-next-icon`}),transitionName:`${K}-slide-up`,picker:l,onCalendarChange:ue},H,N,{locale:Pe.lang,className:ie({[`${F}-${Ee}`]:Ee,[`${F}-${j}`]:G},Cs(F,Nl(le,k),ae),X,z,$==null?void 0:$.className,E,V,J,y),style:Object.assign(Object.assign({},$==null?void 0:$.style),_),prefixCls:F,getPopupContainer:v||L,generateConfig:e,components:Te,direction:D,disabled:re,classNames:{popup:ie(X,V,J,y,w||I)},styles:{popup:Object.assign(Object.assign({},f.popupStyle),{zIndex:fe})},allowClear:me,removeIcon:de}))))})},n=t(),r=t(kxe,Pxe),a=t($xe,Fxe),i=t(Bxe,Uxe),o=t(jxe,zxe),s=t(GJ,K3);return{DatePicker:n,WeekPicker:r,MonthPicker:a,YearPicker:i,TimePicker:s,QuarterPicker:o}},qJ=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:a,TimePicker:i,QuarterPicker:o}=Wxe(e),s=Vxe(e),l=t;return l.WeekPicker=n,l.MonthPicker=r,l.YearPicker=a,l.RangePicker=s,l.TimePicker=i,l.QuarterPicker=o,l},np=qJ($Ee);function WJ(e){const t=Ak(e.direction,e.placement);return t.overflow.adjustY=!1,t.overflow.adjustX=!1,Object.assign(Object.assign({},e),{dropdownAlign:t})}const Yxe=ag(np,"picker",null,WJ);np._InternalPanelDoNotUseOrYouWillBeFired=Yxe;const Kxe=ag(np.RangePicker,"picker",null,WJ);np._InternalRangePanelDoNotUseOrYouWillBeFired=Kxe;np.generatePicker=qJ;var X3=c.createContext(null),YJ=c.createContext({}),Xxe=["prefixCls","className","containerRef"],Qxe=function(t){var n=t.prefixCls,r=t.className,a=t.containerRef,i=Et(t,Xxe),o=c.useContext(YJ),s=o.panel,l=Rs(s,a);return c.createElement("div",_e({className:ie("".concat(n,"-content"),r),role:"dialog",ref:l},Qn(t,{aria:!0}),{"aria-modal":"true"},i))};function Q3(e){return typeof e=="string"&&String(Number(e))===e?(bn(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var Z3={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function Zxe(e,t){var n,r,a,i=e.prefixCls,o=e.open,s=e.placement,l=e.inline,u=e.push,d=e.forceRender,p=e.autoFocus,f=e.keyboard,m=e.classNames,g=e.rootClassName,h=e.rootStyle,v=e.zIndex,S=e.className,_=e.id,E=e.style,y=e.motion,C=e.width,T=e.height,x=e.children,R=e.mask,w=e.maskClosable,I=e.maskMotion,O=e.maskClassName,k=e.maskStyle,P=e.afterOpenChange,M=e.onClose,N=e.onMouseEnter,A=e.onMouseOver,D=e.onMouseLeave,L=e.onClick,$=e.onKeyDown,F=e.onKeyUp,B=e.styles,z=e.drawerRender,U=c.useRef(),j=c.useRef(),G=c.useRef();c.useImperativeHandle(t,function(){return U.current});var J=function(re){var ne=re.keyCode,ae=re.shiftKey;switch(ne){case Fe.TAB:{if(ne===Fe.TAB){if(!ae&&document.activeElement===G.current){var le;(le=j.current)===null||le===void 0||le.focus({preventScroll:!0})}else if(ae&&document.activeElement===j.current){var pe;(pe=G.current)===null||pe===void 0||pe.focus({preventScroll:!0})}}break}case Fe.ESC:{M&&f&&(re.stopPropagation(),M(re));break}}};c.useEffect(function(){if(o&&p){var ge;(ge=U.current)===null||ge===void 0||ge.focus({preventScroll:!0})}},[o]);var Y=c.useState(!1),X=oe(Y,2),V=X[0],H=X[1],q=c.useContext(X3),K;typeof u=="boolean"?K=u?{}:{distance:0}:K=u||{};var Z=(n=(r=(a=K)===null||a===void 0?void 0:a.distance)!==null&&r!==void 0?r:q==null?void 0:q.pushDistance)!==null&&n!==void 0?n:180,te=c.useMemo(function(){return{pushDistance:Z,push:function(){H(!0)},pull:function(){H(!1)}}},[Z]);c.useEffect(function(){if(o){var ge;q==null||(ge=q.push)===null||ge===void 0||ge.call(q)}else{var re;q==null||(re=q.pull)===null||re===void 0||re.call(q)}},[o]),c.useEffect(function(){return function(){var ge;q==null||(ge=q.pull)===null||ge===void 0||ge.call(q)}},[]);var se=R&&c.createElement(ta,_e({key:"mask"},I,{visible:o}),function(ge,re){var ne=ge.className,ae=ge.style;return c.createElement("div",{className:ie("".concat(i,"-mask"),ne,m==null?void 0:m.mask,O),style:ee(ee(ee({},ae),k),B==null?void 0:B.mask),onClick:w&&o?M:void 0,ref:re})}),ue=typeof y=="function"?y(s):y,me={};if(V&&Z)switch(s){case"top":me.transform="translateY(".concat(Z,"px)");break;case"bottom":me.transform="translateY(".concat(-Z,"px)");break;case"left":me.transform="translateX(".concat(Z,"px)");break;default:me.transform="translateX(".concat(-Z,"px)");break}s==="left"||s==="right"?me.width=Q3(C):me.height=Q3(T);var de={onMouseEnter:N,onMouseOver:A,onMouseLeave:D,onClick:L,onKeyDown:$,onKeyUp:F},Te=c.createElement(ta,_e({key:"panel"},ue,{visible:o,forceRender:d,onVisibleChanged:function(re){P==null||P(re)},removeOnLeave:!1,leavedClassName:"".concat(i,"-content-wrapper-hidden")}),function(ge,re){var ne=ge.className,ae=ge.style,le=c.createElement(Qxe,_e({id:_,containerRef:re,prefixCls:i,className:ie(S,m==null?void 0:m.content),style:ee(ee({},E),B==null?void 0:B.content)},Qn(e,{aria:!0}),de),x);return c.createElement("div",_e({className:ie("".concat(i,"-content-wrapper"),m==null?void 0:m.wrapper,ne),style:ee(ee(ee({},me),ae),B==null?void 0:B.wrapper)},Qn(e,{data:!0})),z?z(le):le)}),Ee=ee({},h);return v&&(Ee.zIndex=v),c.createElement(X3.Provider,{value:te},c.createElement("div",{className:ie(i,"".concat(i,"-").concat(s),g,W(W({},"".concat(i,"-open"),o),"".concat(i,"-inline"),l)),style:Ee,tabIndex:-1,ref:U,onKeyDown:J},se,c.createElement("div",{tabIndex:0,ref:j,style:Z3,"aria-hidden":"true","data-sentinel":"start"}),Te,c.createElement("div",{tabIndex:0,ref:G,style:Z3,"aria-hidden":"true","data-sentinel":"end"})))}var Jxe=c.forwardRef(Zxe),eRe=function(t){var n=t.open,r=n===void 0?!1:n,a=t.prefixCls,i=a===void 0?"rc-drawer":a,o=t.placement,s=o===void 0?"right":o,l=t.autoFocus,u=l===void 0?!0:l,d=t.keyboard,p=d===void 0?!0:d,f=t.width,m=f===void 0?378:f,g=t.mask,h=g===void 0?!0:g,v=t.maskClosable,S=v===void 0?!0:v,_=t.getContainer,E=t.forceRender,y=t.afterOpenChange,C=t.destroyOnClose,T=t.onMouseEnter,x=t.onMouseOver,R=t.onMouseLeave,w=t.onClick,I=t.onKeyDown,O=t.onKeyUp,k=t.panelRef,P=c.useState(!1),M=oe(P,2),N=M[0],A=M[1],D=c.useState(!1),L=oe(D,2),$=L[0],F=L[1];Qt(function(){F(!0)},[]);var B=$?r:!1,z=c.useRef(),U=c.useRef();Qt(function(){B&&(U.current=document.activeElement)},[B]);var j=function(V){var H;if(A(V),y==null||y(V),!V&&U.current&&!((H=z.current)!==null&&H!==void 0&&H.contains(U.current))){var q;(q=U.current)===null||q===void 0||q.focus({preventScroll:!0})}},G=c.useMemo(function(){return{panel:k}},[k]);if(!E&&!N&&!B&&C)return null;var J={onMouseEnter:T,onMouseOver:x,onMouseLeave:R,onClick:w,onKeyDown:I,onKeyUp:O},Y=ee(ee({},t),{},{open:B,prefixCls:i,placement:s,autoFocus:u,keyboard:p,width:m,mask:h,maskClosable:S,inline:_===!1,afterOpenChange:j,ref:z},J);return c.createElement(YJ.Provider,{value:G},c.createElement(eg,{open:B||E||N,autoDestroy:!1,getContainer:_,autoLock:h&&(B||N)},c.createElement(Jxe,Y)))};const KJ=e=>{var t,n;const{prefixCls:r,title:a,footer:i,extra:o,loading:s,onClose:l,headerStyle:u,bodyStyle:d,footerStyle:p,children:f,classNames:m,styles:g}=e,{drawer:h}=c.useContext(lt),v=c.useCallback(C=>c.createElement("button",{type:"button",onClick:l,"aria-label":"Close",className:`${r}-close`},C),[l]),[S,_]=qL(yd(e),yd(h),{closable:!0,closeIconRender:v}),E=c.useMemo(()=>{var C,T;return!a&&!S?null:c.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(C=h==null?void 0:h.styles)===null||C===void 0?void 0:C.header),u),g==null?void 0:g.header),className:ie(`${r}-header`,{[`${r}-header-close-only`]:S&&!a&&!o},(T=h==null?void 0:h.classNames)===null||T===void 0?void 0:T.header,m==null?void 0:m.header)},c.createElement("div",{className:`${r}-header-title`},_,a&&c.createElement("div",{className:`${r}-title`},a)),o&&c.createElement("div",{className:`${r}-extra`},o))},[S,_,o,u,r,a]),y=c.useMemo(()=>{var C,T;if(!i)return null;const x=`${r}-footer`;return c.createElement("div",{className:ie(x,(C=h==null?void 0:h.classNames)===null||C===void 0?void 0:C.footer,m==null?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},(T=h==null?void 0:h.styles)===null||T===void 0?void 0:T.footer),p),g==null?void 0:g.footer)},i)},[i,p,r]);return c.createElement(c.Fragment,null,E,c.createElement("div",{className:ie(`${r}-body`,m==null?void 0:m.body,(t=h==null?void 0:h.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=h==null?void 0:h.styles)===null||n===void 0?void 0:n.body),d),g==null?void 0:g.body)},s?c.createElement(Ol,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):f),y)},tRe=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},XJ=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),QJ=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},XJ({opacity:e},{opacity:1})),nRe=(e,t)=>[QJ(.7,t),XJ({transform:tRe(e)},{transform:"none"})],rRe=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:QJ(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,a)=>Object.assign(Object.assign({},r),{[`&-${a}`]:nRe(a,n)}),{})}}},aRe=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:u,paddingLG:d,fontSizeLG:p,lineHeightLG:f,lineWidth:m,lineType:g,colorSplit:h,marginXS:v,colorIcon:S,colorIconHover:_,colorBgTextHover:E,colorBgTextActive:y,colorText:C,fontWeightStrong:T,footerPaddingBlock:x,footerPaddingInline:R,calc:w}=e,I=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:i,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"},[I]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${I}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${I}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${I}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${I}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Q(u)} ${Q(d)}`,fontSize:p,lineHeight:f,borderBottom:`${Q(m)} ${g} ${h}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:w(p).add(l).equal(),height:w(p).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:S,fontWeight:T,fontSize:p,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:_,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:y}},Bo(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:p,lineHeight:f},[`${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:`${Q(x)} ${Q(R)}`,borderTop:`${Q(m)} ${g} ${h}`},"&-rtl":{direction:"rtl"}}}},iRe=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),ZJ=cn("Drawer",e=>{const t=Ht(e,{});return[aRe(t),rRe(t)]},iRe);var JJ=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:i=!0,push:o=oRe,open:s,afterOpenChange:l,onClose:u,prefixCls:d,getContainer:p,style:f,className:m,visible:g,afterVisibleChange:h,maskStyle:v,drawerStyle:S,contentWrapperStyle:_}=e,E=JJ(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:y,getPrefixCls:C,direction:T,drawer:x}=c.useContext(lt),R=C("drawer",d),[w,I,O]=ZJ(R),k=p===void 0&&y?()=>y(document.body):p,P=ie({"no-mask":!i,[`${R}-rtl`]:T==="rtl"},t,I,O),M=c.useMemo(()=>n??(a==="large"?736:378),[n,a]),N=c.useMemo(()=>r??(a==="large"?736:378),[r,a]),A={motionName:ya(R,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},D=G=>({motionName:ya(R,`panel-motion-${G}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),L=rQ(),[$,F]=bo("Drawer",E.zIndex),{classNames:B={},styles:z={}}=E,{classNames:U={},styles:j={}}=x||{};return w(c.createElement(Uo,{form:!0,space:!0},c.createElement(Km.Provider,{value:F},c.createElement(eRe,Object.assign({prefixCls:R,onClose:u,maskMotion:A,motion:D},E,{classNames:{mask:ie(B.mask,U.mask),content:ie(B.content,U.content),wrapper:ie(B.wrapper,U.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},z.mask),v),j.mask),content:Object.assign(Object.assign(Object.assign({},z.content),S),j.content),wrapper:Object.assign(Object.assign(Object.assign({},z.wrapper),_),j.wrapper)},open:s??g,mask:i,push:o,width:M,height:N,style:Object.assign(Object.assign({},x==null?void 0:x.style),f),className:ie(x==null?void 0:x.className,m),rootClassName:P,getContainer:k,afterOpenChange:l??h,panelRef:L,zIndex:$}),c.createElement(KJ,Object.assign({prefixCls:R},E,{onClose:u}))))))},sRe=e=>{const{prefixCls:t,style:n,className:r,placement:a="right"}=e,i=JJ(e,["prefixCls","style","className","placement"]),{getPrefixCls:o}=c.useContext(lt),s=o("drawer",t),[l,u,d]=ZJ(s),p=ie(s,`${s}-pure`,`${s}-${a}`,u,d,r);return l(c.createElement("div",{className:p,style:n},c.createElement(KJ,Object.assign({prefixCls:s},i))))};eee._InternalPanelDoNotUseOrYouWillBeFired=sRe;function J3(e){return["small","middle","large"].includes(e)}function e4(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const tee=ce.createContext({latestIndex:0}),lRe=tee.Provider,cRe=e=>{let{className:t,index:n,children:r,split:a,style:i}=e;const{latestIndex:o}=c.useContext(tee);return r==null?null:c.createElement(c.Fragment,null,c.createElement("div",{className:t,style:i},r),n{var n,r,a;const{getPrefixCls:i,space:o,direction:s}=c.useContext(lt),{size:l=(n=o==null?void 0:o.size)!==null&&n!==void 0?n:"small",align:u,className:d,rootClassName:p,children:f,direction:m="horizontal",prefixCls:g,split:h,style:v,wrap:S=!1,classNames:_,styles:E}=e,y=uRe(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,T]=Array.isArray(l)?l:[l,l],x=J3(T),R=J3(C),w=e4(T),I=e4(C),O=br(f,{keepEmpty:!0}),k=u===void 0&&m==="horizontal"?"center":u,P=i("space",g),[M,N,A]=OX(P),D=ie(P,o==null?void 0:o.className,N,`${P}-${m}`,{[`${P}-rtl`]:s==="rtl",[`${P}-align-${k}`]:k,[`${P}-gap-row-${T}`]:x,[`${P}-gap-col-${C}`]:R},d,p,A),L=ie(`${P}-item`,(r=_==null?void 0:_.item)!==null&&r!==void 0?r:(a=o==null?void 0:o.classNames)===null||a===void 0?void 0:a.item);let $=0;const F=O.map((U,j)=>{var G,J;U!=null&&($=j);const Y=(U==null?void 0:U.key)||`${L}-${j}`;return c.createElement(cRe,{className:L,key:Y,index:j,split:h,style:(G=E==null?void 0:E.item)!==null&&G!==void 0?G:(J=o==null?void 0:o.styles)===null||J===void 0?void 0:J.item},U)}),B=c.useMemo(()=>({latestIndex:$}),[$]);if(O.length===0)return null;const z={};return S&&(z.flexWrap="wrap"),!R&&I&&(z.columnGap=C),!x&&w&&(z.rowGap=T),M(c.createElement("div",Object.assign({ref:t,className:D,style:Object.assign(Object.assign(Object.assign({},z),o==null?void 0:o.style),v)},y),c.createElement(lRe,{value:B},F)))}),Na=dRe;Na.Compact=xme;var pRe=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}=c.useContext(lt),{prefixCls:a,type:i="default",danger:o,disabled:s,loading:l,onClick:u,htmlType:d,children:p,className:f,menu:m,arrow:g,autoFocus:h,overlay:v,trigger:S,align:_,open:E,onOpenChange:y,placement:C,getPopupContainer:T,href:x,icon:R=c.createElement(uk,null),title:w,buttonsRender:I=X=>X,mouseEnterDelay:O,mouseLeaveDelay:k,overlayClassName:P,overlayStyle:M,destroyPopupOnHide:N,dropdownRender:A}=e,D=pRe(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"]),L=n("dropdown",a),$=`${L}-button`,F={menu:m,arrow:g,autoFocus:h,align:_,disabled:s,trigger:s?[]:S,onOpenChange:y,getPopupContainer:T||t,mouseEnterDelay:O,mouseLeaveDelay:k,overlayClassName:P,overlayStyle:M,destroyPopupOnHide:N,dropdownRender:A},{compactSize:B,compactItemClassnames:z}=ws(L,r),U=ie($,z,f);"overlay"in e&&(F.overlay=v),"open"in e&&(F.open=E),"placement"in e?F.placement=C:F.placement=r==="rtl"?"bottomLeft":"bottomRight";const j=c.createElement(Rt,{type:i,danger:o,disabled:s,loading:l,onClick:u,htmlType:d,href:x,title:w},p),G=c.createElement(Rt,{type:i,danger:o,icon:R}),[J,Y]=I([j,G]);return c.createElement(Na.Compact,Object.assign({className:U,size:B,block:!0},D),J,c.createElement(lg,Object.assign({},F),Y))};nee.__ANT_BUTTON=!0;const dS=lg;dS.Button=nee;var fRe={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"},mRe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:fRe}))},gRe=c.forwardRef(mRe);function x_(e){const[t,n]=c.useState(e);return c.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const hRe=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)"}}}}},vRe=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Q(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 ${Q(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),t4=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},_Re=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},on(e)),vRe(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},t4(e,e.controlHeightSM)),"&-large":Object.assign({},t4(e,e.controlHeightLG))})}},bRe=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:a,antCls:i,labelRequiredMarkColor:o,labelColor:s,labelFontSize:l,labelHeight:u,labelColonMarginInlineStart:d,labelColonMarginInlineEnd:p,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},on(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, - &-hidden${i}-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:l,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:o,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:p},[`&${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:YL,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},n4=(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"}}}}},SRe=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, - > ${n}-control`]:{display:"inline-block",verticalAlign:"top"},[`> ${n}-label`]:{flex:"none"},[`${t}-text`]:{display:"inline-block"},[`${n}-has-feedback`]:{display:"inline-block"}}}}},ao=e=>({padding:e.verticalLabelPadding,margin:e.verticalLabelMargin,whiteSpace:"initial",textAlign:"start","> label":{margin:0,"&::after":{visibility:"hidden"}}}),ree=e=>{const{componentCls:t,formItemCls:n,rootPrefixCls:r}=e;return{[`${n} ${n}-label`]:ao(e),[`${t}:not(${t}-inline)`]:{[n]:{flexWrap:"wrap",[`${n}-label, ${n}-control`]:{[`&:not([class*=" ${r}-col-xs"])`]:{flex:"0 0 100%",maxWidth:"100%"}}}}}},ERe=e=>{const{componentCls:t,formItemCls:n,antCls:r}=e;return{[`${t}-vertical`]:{[`${n}:not(${n}-horizontal)`]:{[`${n}-row`]:{flexDirection:"column"},[`${n}-label > label`]:{height:"auto"},[`${n}-control`]:{width:"100%"},[`${n}-label, - ${r}-col-24${n}-label, - ${r}-col-xl-24${n}-label`]:ao(e)}},[`@media (max-width: ${Q(e.screenXSMax)})`]:[ree(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:ao(e)}}}],[`@media (max-width: ${Q(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:ao(e)}}},[`@media (max-width: ${Q(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:ao(e)}}},[`@media (max-width: ${Q(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:ao(e)}}}}},yRe=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`]:ao(e),[`@media (max-width: ${Q(e.screenXSMax)})`]:[ree(e),{[t]:{[`${n}-col-xs-24${t}-label`]:ao(e)}}],[`@media (max-width: ${Q(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:ao(e)}},[`@media (max-width: ${Q(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:ao(e)}},[`@media (max-width: ${Q(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:ao(e)}}}},CRe=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}),aee=(e,t)=>Ht(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),Dk=cn("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=aee(e,n);return[_Re(r),bRe(r),hRe(r),n4(r,r.componentCls),n4(r,r.formItemCls),SRe(r),ERe(r),yRe(r),ng(r),YL]},CRe,{order:-1e3}),r4=[];function Ty(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 iee=e=>{let{help:t,helpStatus:n,errors:r=r4,warnings:a=r4,className:i,fieldId:o,onVisibleChanged:s}=e;const{prefixCls:l}=c.useContext(VL),u=`${l}-item-explain`,d=Zn(l),[p,f,m]=Dk(l,d),g=c.useMemo(()=>Ed(l),[l]),h=x_(r),v=x_(a),S=c.useMemo(()=>t!=null?[Ty(t,"help",n)]:[].concat($e(h.map((E,y)=>Ty(E,"error","error",y))),$e(v.map((E,y)=>Ty(E,"warning","warning",y)))),[t,n,h,v]),_={};return o&&(_.id=`${o}_help`),p(c.createElement(ta,{motionDeadline:g.motionDeadline,motionName:`${l}-show-help`,visible:!!S.length,onVisibleChanged:s},E=>{const{className:y,style:C}=E;return c.createElement("div",Object.assign({},_,{className:ie(u,y,m,d,i,f),style:C,role:"alert"}),c.createElement(LL,Object.assign({keys:S},Ed(l),{motionName:`${l}-show-help-item`,component:!1}),T=>{const{key:x,error:R,errorStatus:w,className:I,style:O}=T;return c.createElement("div",{key:x,className:ie(I,{[`${u}-${w}`]:w}),style:O},R)}))}))},TRe=["parentNode"],xRe="form_item";function xf(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function oee(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:TRe.includes(n)?`${xRe}_${n}`:n}function see(e,t,n,r,a,i){let o=r;return i!==void 0?o=i:n.validating?o="validating":e.length?o="error":t.length?o="warning":(n.touched||a&&n.validated)&&(o="success"),o}function a4(e){return xf(e).join("_")}function RRe(e,t){const n=t.getFieldInstance(e),r=nK(n);if(r)return r;const a=oee(xf(e),t.__INTERNAL__.name);if(a)return document.getElementById(a)}function lee(e){const[t]=GL(),n=c.useRef({}),r=c.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:a=>i=>{const o=a4(a);i?n.current[o]=i:delete n.current[o]}},scrollToField:function(a){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const o=RRe(a,r);o&&Rfe(o,Object.assign({scrollMode:"if-needed",block:"nearest"},i))},getFieldInstance:a=>{const i=a4(a);return n.current[i]}}),[e,t]);return[r]}var wRe=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=c.useContext(ea),{getPrefixCls:r,direction:a,form:i}=c.useContext(lt),{prefixCls:o,className:s,rootClassName:l,size:u,disabled:d=n,form:p,colon:f,labelAlign:m,labelWrap:g,labelCol:h,wrapperCol:v,hideRequiredMark:S,layout:_="horizontal",scrollToFirstError:E,requiredMark:y,onFinishFailed:C,name:T,style:x,feedbackIcons:R,variant:w}=e,I=wRe(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),O=xr(u),k=c.useContext($K),P=c.useMemo(()=>y!==void 0?y:S?!1:i&&i.requiredMark!==void 0?i.requiredMark:!0,[S,y,i]),M=f??(i==null?void 0:i.colon),N=r("form",o),A=Zn(N),[D,L,$]=Dk(N,A),F=ie(N,`${N}-${_}`,{[`${N}-hide-required-mark`]:P===!1,[`${N}-rtl`]:a==="rtl",[`${N}-${O}`]:O},$,A,L,i==null?void 0:i.className,s,l),[B]=lee(p),{__INTERNAL__:z}=B;z.name=T;const U=c.useMemo(()=>({name:T,labelAlign:m,labelCol:h,labelWrap:g,wrapperCol:v,vertical:_==="vertical",colon:M,requiredMark:P,itemRef:z.itemRef,form:B,feedbackIcons:R}),[T,m,h,v,_,M,P,B,R]),j=c.useRef(null);c.useImperativeHandle(t,()=>{var Y;return Object.assign(Object.assign({},B),{nativeElement:(Y=j.current)===null||Y===void 0?void 0:Y.nativeElement})});const G=(Y,X)=>{if(Y){let V={block:"nearest"};typeof Y=="object"&&(V=Y),B.scrollToField(X,V)}},J=Y=>{if(C==null||C(Y),Y.errorFields.length){const X=Y.errorFields[0].name;if(E!==void 0){G(E,X);return}i&&i.scrollToFirstError!==void 0&&G(i.scrollToFirstError,X)}};return D(c.createElement(tQ.Provider,{value:w},c.createElement(NL,{disabled:d},c.createElement(Rc.Provider,{value:O},c.createElement(eQ,{validateMessages:k},c.createElement(ys.Provider,{value:U},c.createElement(Wd,Object.assign({id:T},I,{name:T,onFinishFailed:J,form:B,ref:j,style:Object.assign(Object.assign({},i==null?void 0:i.style),x),className:F}))))))))},ORe=c.forwardRef(IRe);function NRe(e){if(typeof e=="function")return e;const t=br(e);return t.length<=1?t[0]:t}const cee=()=>{const{status:e,errors:t=[],warnings:n=[]}=c.useContext(Gr);return{status:e,errors:t,warnings:n}};cee.Context=Gr;function ARe(e){const[t,n]=c.useState(e),r=c.useRef(null),a=c.useRef([]),i=c.useRef(!1);c.useEffect(()=>(i.current=!1,()=>{i.current=!0,Gt.cancel(r.current),r.current=null}),[]);function o(s){i.current||(r.current===null&&(a.current=[],r.current=Gt(()=>{r.current=null,n(l=>{let u=l;return a.current.forEach(d=>{u=d(u)}),u})})),a.current.push(s))}return[t,o]}function DRe(){const{itemRef:e}=c.useContext(ys),t=c.useRef({});function n(r,a){const i=a&&typeof a=="object"&&a.ref,o=r.join("_");return(t.current.name!==o||t.current.originRef!==i)&&(t.current.name=o,t.current.originRef=i,t.current.ref=aa(e(r),i)),t.current.ref}return n}const MRe=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},LRe=Gd(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=aee(e,n);return[MRe(r)]}),kRe=e=>{const{prefixCls:t,status:n,wrapperCol:r,children:a,errors:i,warnings:o,_internalItemRender:s,extra:l,help:u,fieldId:d,marginBottom:p,onErrorVisibleChanged:f}=e,m=`${t}-item`,g=c.useContext(ys),h=r||g.wrapperCol||{},v=ie(`${m}-control`,h.className),S=c.useMemo(()=>Object.assign({},g),[g]);delete S.labelCol,delete S.wrapperCol;const _=c.createElement("div",{className:`${m}-control-input`},c.createElement("div",{className:`${m}-control-input-content`},a)),E=c.useMemo(()=>({prefixCls:t,status:n}),[t,n]),y=p!==null||i.length||o.length?c.createElement("div",{style:{display:"flex",flexWrap:"nowrap"}},c.createElement(VL.Provider,{value:E},c.createElement(iee,{fieldId:d,errors:i,warnings:o,help:u,helpStatus:n,className:`${m}-explain-connected`,onVisibleChanged:f})),!!p&&c.createElement("div",{style:{width:0,height:p}})):null,C={};d&&(C.id=`${d}_extra`);const T=l?c.createElement("div",Object.assign({},C,{className:`${m}-extra`}),l):null,x=s&&s.mark==="pro_table_render"&&s.render?s.render(e,{input:_,errorList:y,extra:T}):c.createElement(c.Fragment,null,_,y,T);return c.createElement(ys.Provider,{value:S},c.createElement(Rn,Object.assign({},h,{className:v}),x),c.createElement(LRe,{prefixCls:t}))};var PRe={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"},$Re=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:PRe}))},uee=c.forwardRef($Re),FRe=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:i,colon:o,required:s,requiredMark:l,tooltip:u,vertical:d}=e;var p;const[f]=Go("Form"),{labelAlign:m,labelCol:g,labelWrap:h,colon:v}=c.useContext(ys);if(!n)return null;const S=a||g||{},_=i||m,E=`${t}-item-label`,y=ie(E,_==="left"&&`${E}-left`,S.className,{[`${E}-wrap`]:!!h});let C=n;const T=o===!0||v!==!1&&o!==!1;T&&!d&&typeof n=="string"&&n.trim()&&(C=n.replace(/[:|:]\s*$/,""));const R=BRe(u);if(R){const{icon:k=c.createElement(uee,null)}=R,P=FRe(R,["icon"]),M=c.createElement(Jt,Object.assign({},P),c.cloneElement(k,{className:`${t}-item-tooltip`,title:"",onClick:N=>{N.preventDefault()},tabIndex:null}));C=c.createElement(c.Fragment,null,C,M)}const w=l==="optional",I=typeof l=="function";I?C=l(C,{required:!!s}):w&&!s&&(C=c.createElement(c.Fragment,null,C,c.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((p=zi.Form)===null||p===void 0?void 0:p.optional))));const O=ie({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:w||I,[`${t}-item-no-colon`]:!T});return c.createElement(Rn,Object.assign({},S,{className:y}),c.createElement("label",{htmlFor:r,className:O,title:typeof n=="string"?n:""},C))},jRe={success:Ym,warning:wb,error:Bc,validating:Ss};function dee(e){let{children:t,errors:n,warnings:r,hasFeedback:a,validateStatus:i,prefixCls:o,meta:s,noStyle:l}=e;const u=`${o}-item`,{feedbackIcons:d}=c.useContext(ys),p=see(n,r,s,null,!!a,i),{isFormItemInput:f,status:m,hasFeedback:g,feedbackIcon:h}=c.useContext(Gr),v=c.useMemo(()=>{var S;let _;if(a){const y=a!==!0&&a.icons||d,C=p&&((S=y==null?void 0:y({status:p,errors:n,warnings:r}))===null||S===void 0?void 0:S[p]),T=p&&jRe[p];_=C!==!1&&T?c.createElement("span",{className:ie(`${u}-feedback-icon`,`${u}-feedback-icon-${p}`)},C||c.createElement(T,null)):null}const E={status:p||"",errors:n,warnings:r,hasFeedback:!!a,feedbackIcon:_,isFormItemInput:!0};return l&&(E.status=(p??m)||"",E.isFormItemInput=f,E.hasFeedback=!!(a??g),E.feedbackIcon=a!==void 0?E.feedbackIcon:h),E},[p,a,l,f,m]);return c.createElement(Gr.Provider,{value:v},t)}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{if(O&&x.current){const $=getComputedStyle(x.current);M(parseInt($.marginBottom,10))}},[O,k]);const N=$=>{$||M(null)},D=function(){let $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const F=$?R:u.errors,B=$?w:u.warnings;return see(F,B,u,"",!!d,l)}(),L=ie(E,n,r,{[`${E}-with-help`]:I||R.length||w.length,[`${E}-has-feedback`]:D&&d,[`${E}-has-success`]:D==="success",[`${E}-has-warning`]:D==="warning",[`${E}-has-error`]:D==="error",[`${E}-is-validating`]:D==="validating",[`${E}-hidden`]:p,[`${E}-${S}`]:S});return c.createElement("div",{className:L,style:a,ref:x},c.createElement(Oa,Object.assign({className:`${E}-row`},An(_,["_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"])),c.createElement(URe,Object.assign({htmlFor:m},e,{requiredMark:y,required:g??h,prefixCls:t,vertical:T})),c.createElement(kRe,Object.assign({},e,u,{errors:R,warnings:w,prefixCls:t,status:D,help:i,marginBottom:P,onErrorVisibleChanged:N}),c.createElement(JX.Provider,{value:v},c.createElement(dee,{prefixCls:t,meta:u,errors:u.errors,warnings:u.warnings,hasFeedback:d,validateStatus:D},f)))),!!P&&c.createElement("div",{className:`${E}-margin-offset`,style:{marginBottom:-P}}))}const GRe="__SPLIT__";function VRe(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(a=>{const i=e[a],o=t[a];return i===o||typeof i=="function"||typeof o=="function"})}const qRe=c.memo(e=>{let{children:t}=e;return t},(e,t)=>VRe(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function i4(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function WRe(e){const{name:t,noStyle:n,className:r,dependencies:a,prefixCls:i,shouldUpdate:o,rules:s,children:l,required:u,label:d,messageVariables:p,trigger:f="onChange",validateTrigger:m,hidden:g,help:h,layout:v}=e,{getPrefixCls:S}=c.useContext(lt),{name:_}=c.useContext(ys),E=NRe(l),y=typeof E=="function",C=c.useContext(JX),{validateTrigger:T}=c.useContext(Ic),x=m!==void 0?m:T,R=t!=null,w=S("form",i),I=Zn(w),[O,k,P]=Dk(w,I);Il();const M=c.useContext(gm),N=c.useRef(),[A,D]=ARe({}),[L,$]=wc(()=>i4()),F=Y=>{const X=M==null?void 0:M.getKey(Y.name);if($(Y.destroy?i4():Y,!0),n&&h!==!1&&C){let V=Y.name;if(Y.destroy)V=N.current||V;else if(X!==void 0){const[H,q]=X;V=[H].concat($e(q)),N.current=V}C(Y,V)}},B=(Y,X)=>{D(V=>{const H=Object.assign({},V),K=[].concat($e(Y.name.slice(0,-1)),$e(X)).join(GRe);return Y.destroy?delete H[K]:H[K]=Y,H})},[z,U]=c.useMemo(()=>{const Y=$e(L.errors),X=$e(L.warnings);return Object.values(A).forEach(V=>{Y.push.apply(Y,$e(V.errors||[])),X.push.apply(X,$e(V.warnings||[]))}),[Y,X]},[A,L.errors,L.warnings]),j=DRe();function G(Y,X,V){return n&&!g?c.createElement(dee,{prefixCls:w,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:z,warnings:U,noStyle:!0},Y):c.createElement(HRe,Object.assign({key:"row"},e,{className:ie(r,P,I,k),prefixCls:w,fieldId:X,isRequired:V,errors:z,warnings:U,meta:L,onSubItemMetaChange:B,layout:v}),Y)}if(!R&&!y&&!a)return O(G(E));let J={};return typeof d=="string"?J.label=d:t&&(J.label=String(t)),p&&(J=Object.assign(Object.assign({},J),p)),O(c.createElement(HL,Object.assign({},e,{messageVariables:J,trigger:f,validateTrigger:x,onMetaChange:F}),(Y,X,V)=>{const H=xf(t).length&&X?X.name:[],q=oee(H,_),K=u!==void 0?u:!!(s!=null&&s.some(se=>{if(se&&typeof se=="object"&&se.required&&!se.warningOnly)return!0;if(typeof se=="function"){const ue=se(V);return(ue==null?void 0:ue.required)&&!(ue!=null&&ue.warningOnly)}return!1})),Z=Object.assign({},Y);let te=null;if(Array.isArray(E)&&R)te=E;else if(!(y&&(!(o||a)||R))){if(!(a&&!y&&!R))if(c.isValidElement(E)){const se=Object.assign(Object.assign({},E.props),Z);if(se.id||(se.id=q),h||z.length>0||U.length>0||e.extra){const de=[];(h||z.length>0)&&de.push(`${q}_help`),e.extra&&de.push(`${q}_extra`),se["aria-describedby"]=de.join(" ")}z.length>0&&(se["aria-invalid"]="true"),K&&(se["aria-required"]="true"),fo(E)&&(se.ref=j(H,E)),new Set([].concat($e(xf(f)),$e(xf(x)))).forEach(de=>{se[de]=function(){for(var Te,Ee,ge,re,ne,ae=arguments.length,le=new Array(ae),pe=0;pe{var{prefixCls:t,children:n}=e,r=YRe(e,["prefixCls","children"]);const{getPrefixCls:a}=c.useContext(lt),i=a("form",t),o=c.useMemo(()=>({prefixCls:i,status:"error"}),[i]);return c.createElement(KX,Object.assign({},r),(s,l,u)=>c.createElement(VL.Provider,{value:o},n(s.map(d=>Object.assign(Object.assign({},d),{fieldKey:d.key})),l,{errors:u.errors,warnings:u.warnings})))};function XRe(){const{form:e}=c.useContext(ys);return e}const Xt=ORe;Xt.Item=mg;Xt.List=KRe;Xt.ErrorList=iee;Xt.useForm=lee;Xt.useFormInstance=XRe;Xt.useWatch=ZX;Xt.Provider=eQ;Xt.create=()=>{};function pee(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function SD(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 Mo(e,t,n,r){var a=em.unstable_batchedUpdates?function(o){em.unstable_batchedUpdates(n,o)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,a,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,a,r)}}}var gg=c.createContext(null),QRe=function(t){var n=t.visible,r=t.maskTransitionName,a=t.getContainer,i=t.prefixCls,o=t.rootClassName,s=t.icons,l=t.countRender,u=t.showSwitch,d=t.showProgress,p=t.current,f=t.transform,m=t.count,g=t.scale,h=t.minScale,v=t.maxScale,S=t.closeIcon,_=t.onSwitchLeft,E=t.onSwitchRight,y=t.onClose,C=t.onZoomIn,T=t.onZoomOut,x=t.onRotateRight,R=t.onRotateLeft,w=t.onFlipX,I=t.onFlipY,O=t.onReset,k=t.toolbarRender,P=t.zIndex,M=t.image,N=c.useContext(gg),A=s.rotateLeft,D=s.rotateRight,L=s.zoomIn,$=s.zoomOut,F=s.close,B=s.left,z=s.right,U=s.flipX,j=s.flipY,G="".concat(i,"-operations-operation");c.useEffect(function(){var V=function(q){q.keyCode===Fe.ESC&&y()};return n&&window.addEventListener("keydown",V),function(){window.removeEventListener("keydown",V)}},[n]);var J=[{icon:j,onClick:I,type:"flipY"},{icon:U,onClick:w,type:"flipX"},{icon:A,onClick:R,type:"rotateLeft"},{icon:D,onClick:x,type:"rotateRight"},{icon:$,onClick:T,type:"zoomOut",disabled:g<=h},{icon:L,onClick:C,type:"zoomIn",disabled:g===v}],Y=J.map(function(V){var H,q=V.icon,K=V.onClick,Z=V.type,te=V.disabled;return c.createElement("div",{className:ie(G,(H={},W(H,"".concat(i,"-operations-operation-").concat(Z),!0),W(H,"".concat(i,"-operations-operation-disabled"),!!te),H)),onClick:K,key:Z},q)}),X=c.createElement("div",{className:"".concat(i,"-operations")},Y);return c.createElement(ta,{visible:n,motionName:r},function(V){var H=V.className,q=V.style;return c.createElement(eg,{open:!0,getContainer:a??document.body},c.createElement("div",{className:ie("".concat(i,"-operations-wrapper"),H,o),style:ee(ee({},q),{},{zIndex:P})},S===null?null:c.createElement("button",{className:"".concat(i,"-close"),onClick:y},S||F),u&&c.createElement(c.Fragment,null,c.createElement("div",{className:ie("".concat(i,"-switch-left"),W({},"".concat(i,"-switch-left-disabled"),p===0)),onClick:_},B),c.createElement("div",{className:ie("".concat(i,"-switch-right"),W({},"".concat(i,"-switch-right-disabled"),p===m-1)),onClick:E},z)),c.createElement("div",{className:"".concat(i,"-footer")},d&&c.createElement("div",{className:"".concat(i,"-progress")},l?l(p+1,m):"".concat(p+1," / ").concat(m)),k?k(X,ee(ee({icons:{flipYIcon:Y[0],flipXIcon:Y[1],rotateLeftIcon:Y[2],rotateRightIcon:Y[3],zoomOutIcon:Y[4],zoomInIcon:Y[5]},actions:{onFlipY:I,onFlipX:w,onRotateLeft:R,onRotateRight:x,onZoomOut:T,onZoomIn:C,onReset:O,onClose:y},transform:f},N?{current:p,total:m}:{}),{},{image:M})):X)))})},yh={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function ZRe(e,t,n,r){var a=c.useRef(null),i=c.useRef([]),o=c.useState(yh),s=oe(o,2),l=s[0],u=s[1],d=function(g){u(yh),Ui(yh,l)||r==null||r({transform:yh,action:g})},p=function(g,h){a.current===null&&(i.current=[],a.current=Gt(function(){u(function(v){var S=v;return i.current.forEach(function(_){S=ee(ee({},S),_)}),a.current=null,r==null||r({transform:S,action:h}),S})})),i.current.push(ee(ee({},l),g))},f=function(g,h,v,S,_){var E=e.current,y=E.width,C=E.height,T=E.offsetWidth,x=E.offsetHeight,R=E.offsetLeft,w=E.offsetTop,I=g,O=l.scale*g;O>n?(O=n,I=n/l.scale):Or){if(t>0)return W({},e,i);if(t<0&&ar)return W({},e,t<0?i:-i);return{}}function fee(e,t,n,r){var a=pee(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=ee(ee({},o4("x",n,e,i)),o4("y",r,t,o))),s}var ju=1,JRe=1;function ewe(e,t,n,r,a,i,o){var s=a.rotate,l=a.scale,u=a.x,d=a.y,p=c.useState(!1),f=oe(p,2),m=f[0],g=f[1],h=c.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),v=function(C){!t||C.button!==0||(C.preventDefault(),C.stopPropagation(),h.current={diffX:C.pageX-u,diffY:C.pageY-d,transformX:u,transformY:d},g(!0))},S=function(C){n&&m&&i({x:C.pageX-h.current.diffX,y:C.pageY-h.current.diffY},"move")},_=function(){if(n&&m){g(!1);var C=h.current,T=C.transformX,x=C.transformY,R=u!==T&&d!==x;if(!R)return;var w=e.current.offsetWidth*l,I=e.current.offsetHeight*l,O=e.current.getBoundingClientRect(),k=O.left,P=O.top,M=s%180!==0,N=fee(M?I:w,M?w:I,k,P);N&&i(ee({},N),"dragRebound")}},E=function(C){if(!(!n||C.deltaY==0)){var T=Math.abs(C.deltaY/100),x=Math.min(T,JRe),R=ju+x*r;C.deltaY>0&&(R=ju/R),o(R,"wheel",C.clientX,C.clientY)}};return c.useEffect(function(){var y,C,T,x;if(t){T=Mo(window,"mouseup",_,!1),x=Mo(window,"mousemove",S,!1);try{window.top!==window.self&&(y=Mo(window.top,"mouseup",_,!1),C=Mo(window.top,"mousemove",S,!1))}catch{}}return function(){var R,w,I,O;(R=T)===null||R===void 0||R.remove(),(w=x)===null||w===void 0||w.remove(),(I=y)===null||I===void 0||I.remove(),(O=C)===null||O===void 0||O.remove()}},[n,m,u,d,s,t]),{isMoving:m,onMouseDown:v,onMouseMove:S,onMouseUp:_,onWheel:E}}function twe(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function mee(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,a=c.useState(n?"loading":"normal"),i=oe(a,2),o=i[0],s=i[1],l=c.useRef(!1),u=o==="error";c.useEffect(function(){var m=!0;return twe(t).then(function(g){!g&&m&&s("error")}),function(){m=!1}},[t]),c.useEffect(function(){n&&!l.current?s("loading"):u&&s("normal")},[t]);var d=function(){s("normal")},p=function(g){l.current=!1,o==="loading"&&g!==null&&g!==void 0&&g.complete&&(g.naturalWidth||g.naturalHeight)&&(l.current=!0,d())},f=u&&r?{src:r}:{onLoad:d,src:t};return[p,f,o]}function R_(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function nwe(e,t,n,r){var a=R_(e,n),i=R_(t,r);if(a===0&&i===0)return[e.x,e.y];var o=a/(a+i),s=e.x+o*(t.x-e.x),l=e.y+o*(t.y-e.y);return[s,l]}function rwe(e,t,n,r,a,i,o){var s=a.rotate,l=a.scale,u=a.x,d=a.y,p=c.useState(!1),f=oe(p,2),m=f[0],g=f[1],h=c.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),v=function(C){h.current=ee(ee({},h.current),C)},S=function(C){if(t){C.stopPropagation(),g(!0);var T=C.touches,x=T===void 0?[]:T;x.length>1?v({point1:{x:x[0].clientX,y:x[0].clientY},point2:{x:x[1].clientX,y:x[1].clientY},eventType:"touchZoom"}):v({point1:{x:x[0].clientX-u,y:x[0].clientY-d},eventType:"move"})}},_=function(C){var T=C.touches,x=T===void 0?[]:T,R=h.current,w=R.point1,I=R.point2,O=R.eventType;if(x.length>1&&O==="touchZoom"){var k={x:x[0].clientX,y:x[0].clientY},P={x:x[1].clientX,y:x[1].clientY},M=nwe(w,I,k,P),N=oe(M,2),A=N[0],D=N[1],L=R_(k,P)/R_(w,I);o(L,"touchZoom",A,D,!0),v({point1:k,point2:P,eventType:"touchZoom"})}else O==="move"&&(i({x:x[0].clientX-w.x,y:x[0].clientY-w.y},"move"),v({eventType:"move"}))},E=function(){if(n){if(m&&g(!1),v({eventType:"none"}),r>l)return i({x:0,y:0,scale:r},"touchZoom");var C=e.current.offsetWidth*l,T=e.current.offsetHeight*l,x=e.current.getBoundingClientRect(),R=x.left,w=x.top,I=s%180!==0,O=fee(I?T:C,I?C:T,R,w);O&&i(ee({},O),"dragRebound")}};return c.useEffect(function(){var y;return n&&t&&(y=Mo(window,"touchmove",function(C){return C.preventDefault()},{passive:!1})),function(){var C;(C=y)===null||C===void 0||C.remove()}},[n,t]),{isTouching:m,onTouchStart:S,onTouchMove:_,onTouchEnd:E}}var awe=["fallback","src","imgRef"],iwe=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],owe=function(t){var n=t.fallback,r=t.src,a=t.imgRef,i=Et(t,awe),o=mee({src:r,fallback:n}),s=oe(o,2),l=s[0],u=s[1];return ce.createElement("img",_e({ref:function(p){a.current=p,l(p)}},i,u))},gee=function(t){var n=t.prefixCls,r=t.src,a=t.alt,i=t.imageInfo,o=t.fallback,s=t.movable,l=s===void 0?!0:s,u=t.onClose,d=t.visible,p=t.icons,f=p===void 0?{}:p,m=t.rootClassName,g=t.closeIcon,h=t.getContainer,v=t.current,S=v===void 0?0:v,_=t.count,E=_===void 0?1:_,y=t.countRender,C=t.scaleStep,T=C===void 0?.5:C,x=t.minScale,R=x===void 0?1:x,w=t.maxScale,I=w===void 0?50:w,O=t.transitionName,k=O===void 0?"zoom":O,P=t.maskTransitionName,M=P===void 0?"fade":P,N=t.imageRender,A=t.imgCommonProps,D=t.toolbarRender,L=t.onTransform,$=t.onChange,F=Et(t,iwe),B=c.useRef(),z=c.useContext(gg),U=z&&E>1,j=z&&E>=1,G=c.useState(!0),J=oe(G,2),Y=J[0],X=J[1],V=ZRe(B,R,I,L),H=V.transform,q=V.resetTransform,K=V.updateTransform,Z=V.dispatchZoomChange,te=ewe(B,l,d,T,H,K,Z),se=te.isMoving,ue=te.onMouseDown,me=te.onWheel,de=rwe(B,l,d,R,H,K,Z),Te=de.isTouching,Ee=de.onTouchStart,ge=de.onTouchMove,re=de.onTouchEnd,ne=H.rotate,ae=H.scale,le=ie(W({},"".concat(n,"-moving"),se));c.useEffect(function(){Y||X(!0)},[Y]);var pe=function(){q("close")},Re=function(){Z(ju+T,"zoomIn")},Se=function(){Z(ju/(ju+T),"zoomOut")},Pe=function(){K({rotate:ne+90},"rotateRight")},fe=function(){K({rotate:ne-90},"rotateLeft")},ve=function(){K({flipX:!H.flipX},"flipX")},Ae=function(){K({flipY:!H.flipY},"flipY")},ye=function(){q("reset")},be=function(Ce){Ce==null||Ce.preventDefault(),Ce==null||Ce.stopPropagation(),S>0&&(X(!1),q("prev"),$==null||$(S-1,S))},Ne=function(Ce){Ce==null||Ce.preventDefault(),Ce==null||Ce.stopPropagation(),S({position:e||"absolute",inset:0}),Iwe=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new an("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},vi),{padding:`0 ${Q(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},Owe=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:u,iconCls:d,colorTextLightSolid:p}=e,f=new an(n).setAlpha(.1),m=f.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:p,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${u}`,"&:hover":{backgroundColor:m.toRgbString()},[`& > ${d}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Q(o)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${u}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${d}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${d}`]:{fontSize:e.previewOperationSize}}}}},Nwe=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new an(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},Awe=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},yD()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},yD()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[Owe(e),Nwe(e)]}]},Dwe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},Iwe(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},yD())}}},Mwe=e=>{const{previewCls:t}=e;return{[`${t}-root`]:Kd(e,"zoom"),"&":WL(e,!0)}},Lwe=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new an(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new an(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new an(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),hee=cn("Image",e=>{const t=`${e.componentCls}-preview`,n=Ht(e,{previewCls:t,modalMaskBg:new an("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Dwe(n),Awe(n),oQ(Ht(n,{componentCls:t})),Mwe(n)]},Lwe);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{var{previewPrefixCls:t,preview:n}=e,r=kwe(e,["previewPrefixCls","preview"]);const{getPrefixCls:a}=c.useContext(lt),i=a("image",t),o=`${i}-preview`,s=a(),l=Zn(i),[u,d,p]=hee(i,l),[f]=bo("ImagePreview",typeof n=="object"?n.zIndex:void 0),m=c.useMemo(()=>{var g;if(n===!1)return n;const h=typeof n=="object"?n:{},v=ie(d,p,l,(g=h.rootClassName)!==null&&g!==void 0?g:"");return Object.assign(Object.assign({},h),{transitionName:ya(s,"zoom",h.transitionName),maskTransitionName:ya(s,"fade",h.maskTransitionName),rootClassName:v,zIndex:f})},[n]);return u(c.createElement(Mk.PreviewGroup,Object.assign({preview:m,previewPrefixCls:o,icons:vee},r)))};var c4=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,preview:r,className:a,rootClassName:i,style:o}=e,s=c4(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:l,locale:u=zi,getPopupContainer:d,image:p}=c.useContext(lt),f=l("image",n),m=l(),g=u.Image||zi.Image,h=Zn(f),[v,S,_]=hee(f,h),E=ie(i,S,_,h),y=ie(a,S,p==null?void 0:p.className),[C]=bo("ImagePreview",typeof r=="object"?r.zIndex:void 0),T=c.useMemo(()=>{var R;if(r===!1)return r;const w=typeof r=="object"?r:{},{getContainer:I,closeIcon:O}=w,k=c4(w,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:c.createElement("div",{className:`${f}-mask-info`},c.createElement(uS,null),g==null?void 0:g.preview),icons:vee},k),{getContainer:I??d,transitionName:ya(m,"zoom",w.transitionName),maskTransitionName:ya(m,"fade",w.maskTransitionName),zIndex:C,closeIcon:O??((R=p==null?void 0:p.preview)===null||R===void 0?void 0:R.closeIcon)})},[r,g,(t=p==null?void 0:p.preview)===null||t===void 0?void 0:t.closeIcon]),x=Object.assign(Object.assign({},p==null?void 0:p.style),o);return v(c.createElement(Mk,Object.assign({prefixCls:f,preview:T,rootClassName:E,className:y,style:x},s)))};Yl.PreviewGroup=Pwe;function $we(e,t,n){return typeof n=="boolean"?n:e.length?!0:br(t).some(a=>a.type===Qb)}const Fwe=e=>{const{componentCls:t,bodyBg:n,lightSiderBg:r,lightTriggerBg:a,lightTriggerColor:i}=e;return{[`${t}-sider-light`]:{background:r,[`${t}-sider-trigger`]:{color:i,background:a},[`${t}-sider-zero-width-trigger`]:{color:i,background:a,border:`1px solid ${n}`,borderInlineStart:0}}}},Bwe=e=>{const{antCls:t,componentCls:n,colorText:r,triggerColor:a,footerBg:i,triggerBg:o,headerHeight:s,headerPadding:l,headerColor:u,footerPadding:d,triggerHeight:p,zeroTriggerHeight:f,zeroTriggerWidth:m,motionDurationMid:g,motionDurationSlow:h,fontSize:v,borderRadius:S,bodyBg:_,headerBg:E,siderBg:y}=e;return{[n]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:_,"&, *":{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:y,transition:`all ${g}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${t}-menu${t}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:p},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:p,color:a,lineHeight:Q(p),textAlign:"center",background:o,cursor:"pointer",transition:`all ${g}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:s,insetInlineEnd:e.calc(m).mul(-1).equal(),zIndex:1,width:m,height:f,color:a,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:y,borderStartStartRadius:0,borderStartEndRadius:S,borderEndEndRadius:S,borderEndStartRadius:0,cursor:"pointer",transition:`background ${h} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${h}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(m).mul(-1).equal(),borderStartStartRadius:S,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:S}}}}},Fwe(e)),{"&-rtl":{direction:"rtl"}}),[`${n}-header`]:{height:s,padding:l,color:u,lineHeight:Q(s),background:E,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:d,color:r,fontSize:v,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},Uwe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:a,controlHeightSM:i,marginXXS:o,colorTextLightSolid:s,colorBgContainer:l}=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:`${i}px ${u}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+o*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:a}},_ee=cn("Layout",e=>[Bwe(e)],Uwe,{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]});var bee=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);ac.forwardRef((o,s)=>c.createElement(a,Object.assign({ref:s,suffixCls:t,tagName:n},o)))}const Lk=c.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:a,tagName:i}=e,o=bee(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=c.useContext(lt),l=s("layout",n),[u,d,p]=_ee(l),f=r?`${l}-${r}`:l;return u(c.createElement(i,Object.assign({className:ie(n||f,a,d,p),ref:t},o)))}),jwe=c.forwardRef((e,t)=>{const{direction:n}=c.useContext(lt),[r,a]=c.useState([]),{prefixCls:i,className:o,rootClassName:s,children:l,hasSider:u,tagName:d,style:p}=e,f=bee(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),m=An(f,["suffixCls"]),{getPrefixCls:g,layout:h}=c.useContext(lt),v=g("layout",i),S=$we(r,l,u),[_,E,y]=_ee(v),C=ie(v,{[`${v}-has-sider`]:S,[`${v}-rtl`]:n==="rtl"},h==null?void 0:h.className,o,s,E,y),T=c.useMemo(()=>({siderHook:{addSider:x=>{a(R=>[].concat($e(R),[x]))},removeSider:x=>{a(R=>R.filter(w=>w!==x))}}}),[]);return _(c.createElement(mZ.Provider,{value:T},c.createElement(d,Object.assign({ref:t,className:C,style:Object.assign(Object.assign({},h==null?void 0:h.style),p)},m),l)))}),zwe=pS({tagName:"div",displayName:"Layout"})(jwe),See=pS({suffixCls:"header",tagName:"header",displayName:"Header"})(Lk),Eee=pS({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(Lk),yee=pS({suffixCls:"content",tagName:"main",displayName:"Content"})(Lk),Ho=zwe;Ho.Header=See;Ho.Footer=Eee;Ho.Content=yee;Ho.Sider=Qb;Ho._InternalSiderContext=Xb;const Cee=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 Hwe={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"},Gwe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Hwe}))},u4=c.forwardRef(Gwe),Vwe={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"},qwe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Vwe}))},d4=c.forwardRef(qwe),Wwe={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:"页码"},Ywe=["10","20","50","100"],Kwe=function(t){var n=t.pageSizeOptions,r=n===void 0?Ywe:n,a=t.locale,i=t.changeSize,o=t.pageSize,s=t.goButton,l=t.quickGo,u=t.rootPrefixCls,d=t.selectComponentClass,p=t.selectPrefixCls,f=t.disabled,m=t.buildOptionText,g=ce.useState(""),h=oe(g,2),v=h[0],S=h[1],_=function(){return!v||Number.isNaN(v)?void 0:Number(v)},E=typeof m=="function"?m:function(M){return"".concat(M," ").concat(a.items_per_page)},y=function(N){i==null||i(Number(N))},C=function(N){S(N.target.value)},T=function(N){s||v===""||(S(""),!(N.relatedTarget&&(N.relatedTarget.className.indexOf("".concat(u,"-item-link"))>=0||N.relatedTarget.className.indexOf("".concat(u,"-item"))>=0))&&(l==null||l(_())))},x=function(N){v!==""&&(N.keyCode===Fe.ENTER||N.type==="click")&&(S(""),l==null||l(_()))},R=function(){return r.some(function(N){return N.toString()===o.toString()})?r:r.concat([o.toString()]).sort(function(N,A){var D=Number.isNaN(Number(N))?0:Number(N),L=Number.isNaN(Number(A))?0:Number(A);return D-L})},w="".concat(u,"-options");if(!i&&!l)return null;var I=null,O=null,k=null;if(i&&d){var P=R().map(function(M,N){return ce.createElement(d.Option,{key:N,value:M.toString()},E(M))});I=ce.createElement(d,{disabled:f,prefixCls:p,showSearch:!1,className:"".concat(w,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(o||r[0]).toString(),onChange:y,getPopupContainer:function(N){return N.parentNode},"aria-label":a.page_size,defaultOpen:!1},P)}return l&&(s&&(k=typeof s=="boolean"?ce.createElement("button",{type:"button",onClick:x,onKeyUp:x,disabled:f,className:"".concat(w,"-quick-jumper-button")},a.jump_to_confirm):ce.createElement("span",{onClick:x,onKeyUp:x},s)),O=ce.createElement("div",{className:"".concat(w,"-quick-jumper")},a.jump_to,ce.createElement("input",{disabled:f,type:"text",value:v,onChange:C,onKeyUp:x,onBlur:T,"aria-label":a.page}),a.page,k)),ce.createElement("li",{className:w},I,O)},Bp=function(t){var n,r=t.rootPrefixCls,a=t.page,i=t.active,o=t.className,s=t.showTitle,l=t.onClick,u=t.onKeyPress,d=t.itemRender,p="".concat(r,"-item"),f=ie(p,"".concat(p,"-").concat(a),(n={},W(n,"".concat(p,"-active"),i),W(n,"".concat(p,"-disabled"),!a),n),o),m=function(){l(a)},g=function(S){u(S,l,a)},h=d(a,"page",ce.createElement("a",{rel:"nofollow"},a));return h?ce.createElement("li",{title:s?String(a):null,className:f,onClick:m,onKeyDown:g,tabIndex:0},h):null},Xwe=function(t,n,r){return r};function p4(){}function f4(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function zl(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var Qwe=function(t){var n,r=t.prefixCls,a=r===void 0?"rc-pagination":r,i=t.selectPrefixCls,o=i===void 0?"rc-select":i,s=t.className,l=t.selectComponentClass,u=t.current,d=t.defaultCurrent,p=d===void 0?1:d,f=t.total,m=f===void 0?0:f,g=t.pageSize,h=t.defaultPageSize,v=h===void 0?10:h,S=t.onChange,_=S===void 0?p4:S,E=t.hideOnSinglePage,y=t.align,C=t.showPrevNextJumpers,T=C===void 0?!0:C,x=t.showQuickJumper,R=t.showLessItems,w=t.showTitle,I=w===void 0?!0:w,O=t.onShowSizeChange,k=O===void 0?p4:O,P=t.locale,M=P===void 0?Wwe:P,N=t.style,A=t.totalBoundaryShowSizeChanger,D=A===void 0?50:A,L=t.disabled,$=t.simple,F=t.showTotal,B=t.showSizeChanger,z=t.pageSizeOptions,U=t.itemRender,j=U===void 0?Xwe:U,G=t.jumpPrevIcon,J=t.jumpNextIcon,Y=t.prevIcon,X=t.nextIcon,V=ce.useRef(null),H=ln(10,{value:g,defaultValue:v}),q=oe(H,2),K=q[0],Z=q[1],te=ln(1,{value:u,defaultValue:p,postState:function(Ot){return Math.max(1,Math.min(Ot,zl(void 0,K,m)))}}),se=oe(te,2),ue=se[0],me=se[1],de=ce.useState(ue),Te=oe(de,2),Ee=Te[0],ge=Te[1];c.useEffect(function(){ge(ue)},[ue]);var re=Math.max(1,ue-(R?3:5)),ne=Math.min(zl(void 0,K,m),ue+(R?3:5));function ae(yt,Ot){var Mt=yt||ce.createElement("button",{type:"button","aria-label":Ot,className:"".concat(a,"-item-link")});return typeof yt=="function"&&(Mt=ce.createElement(yt,ee({},t))),Mt}function le(yt){var Ot=yt.target.value,Mt=zl(void 0,K,m),En;return Ot===""?En=Ot:Number.isNaN(Number(Ot))?En=Ee:Ot>=Mt?En=Mt:En=Number(Ot),En}function pe(yt){return f4(yt)&&yt!==ue&&f4(m)&&m>0}var Re=m>K?x:!1;function Se(yt){(yt.keyCode===Fe.UP||yt.keyCode===Fe.DOWN)&&yt.preventDefault()}function Pe(yt){var Ot=le(yt);switch(Ot!==Ee&&ge(Ot),yt.keyCode){case Fe.ENTER:Ae(Ot);break;case Fe.UP:Ae(Ot-1);break;case Fe.DOWN:Ae(Ot+1);break}}function fe(yt){Ae(le(yt))}function ve(yt){var Ot=zl(yt,K,m),Mt=ue>Ot&&Ot!==0?Ot:ue;Z(yt),ge(Mt),k==null||k(ue,yt),me(Mt),_==null||_(Mt,yt)}function Ae(yt){if(pe(yt)&&!L){var Ot=zl(void 0,K,m),Mt=yt;return yt>Ot?Mt=Ot:yt<1&&(Mt=1),Mt!==Ee&&ge(Mt),me(Mt),_==null||_(Mt,K),Mt}return ue}var ye=ue>1,be=ueD;function Ie(){ye&&Ae(ue-1)}function xe(){be&&Ae(ue+1)}function ke(){Ae(re)}function rt(){Ae(ne)}function Me(yt,Ot){if(yt.key==="Enter"||yt.charCode===Fe.ENTER||yt.keyCode===Fe.ENTER){for(var Mt=arguments.length,En=new Array(Mt>2?Mt-2:0),Hn=2;Hnm?m:ue*K])),pt=null,We=zl(void 0,K,m);if(E&&m<=K)return null;var Ve=[],Ze={rootPrefixCls:a,onClick:Ae,onKeyPress:Me,showTitle:I,itemRender:j,page:-1},dt=ue-1>0?ue-1:0,It=ue+1=et*2&&ue!==3&&(Ve[0]=ce.cloneElement(Ve[0],{className:ie("".concat(a,"-item-after-jump-prev"),Ve[0].props.className)}),Ve.unshift(Be)),We-ue>=et*2&&ue!==We-2){var _t=Ve[Ve.length-1];Ve[Ve.length-1]=ce.cloneElement(_t,{className:ie("".concat(a,"-item-before-jump-next"),_t.props.className)}),Ve.push(pt)}it!==1&&Ve.unshift(ce.createElement(Bp,_e({},Ze,{key:1,page:1}))),Ke!==We&&Ve.push(ce.createElement(Bp,_e({},Ze,{key:We,page:We})))}var xt=He(dt);if(xt){var kt=!ye||!We;xt=ce.createElement("li",{title:I?M.prev_page:null,onClick:Ie,tabIndex:kt?null:0,onKeyDown:Ce,className:ie("".concat(a,"-prev"),W({},"".concat(a,"-disabled"),kt)),"aria-disabled":kt},xt)}var tn=ze(It);if(tn){var nn,rn;$?(nn=!be,rn=ye?0:null):(nn=!be||!We,rn=nn?null:0),tn=ce.createElement("li",{title:I?M.next_page:null,onClick:xe,tabIndex:rn,onKeyDown:De,className:ie("".concat(a,"-next"),W({},"".concat(a,"-disabled"),nn)),"aria-disabled":nn},tn)}var Vt=ie(a,s,(n={},W(n,"".concat(a,"-start"),y==="start"),W(n,"".concat(a,"-center"),y==="center"),W(n,"".concat(a,"-end"),y==="end"),W(n,"".concat(a,"-simple"),$),W(n,"".concat(a,"-disabled"),L),n));return ce.createElement("ul",_e({className:Vt,style:N,ref:V},Je),mt,xt,$?ot:Ve,tn,ce.createElement(Kwe,{locale:M,rootPrefixCls:a,disabled:L,selectComponentClass:l,selectPrefixCls:o,changeSize:Ne?ve:null,pageSize:K,pageSizeOptions:z,quickGo:Re?Ae:null,goButton:ct}))};const Tee=e=>c.createElement($r,Object.assign({},e,{showSearch:!0,size:"small"})),xee=e=>c.createElement($r,Object.assign({},e,{showSearch:!0,size:"middle"}));Tee.Option=$r.Option;xee.Option=$r.Option;const Zwe=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"}}}}}},Jwe=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:Q(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:Q(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:Q(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:Q(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM),input:Object.assign(Object.assign({},yk(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},eIe=e=>{const{componentCls:t}=e;return{[` - &${t}-simple ${t}-prev, - &${t}-simple ${t}-next - `]:{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM),verticalAlign:"top",[`${t}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:Q(e.itemSizeSM)}}},[`&${t}-simple ${t}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${Q(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${Q(e.inputOutlineOffset)} 0 ${Q(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},tIe=e=>{const{componentCls:t}=e;return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[` - ${t}-prev, - ${t}-jump-prev, - ${t}-jump-next - `]:{marginInlineEnd:e.marginXS},[` - ${t}-prev, - ${t}-next, - ${t}-jump-prev, - ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:Q(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:`${Q(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"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:Q(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},pg(e)),vk(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},iS(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},nIe=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:Q(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${Q(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Q(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}}}}},rIe=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},on(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:Q(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),nIe(e)),tIe(e)),eIe(e)),Jwe(e)),Zwe(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"}}},aIe=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},Bo(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},bs(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},bs(e))}}}},Ree=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},dg(e)),wee=e=>Ht(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"},ug(e)),iIe=cn("Pagination",e=>{const t=wee(e);return[rIe(t),aIe(t)]},Ree),oIe=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:`${Q(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}}}}},sIe=Gd(["Pagination","bordered"],e=>{const t=wee(e);return[oIe(t)]},Ree);var lIe=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:i,style:o,size:s,locale:l,selectComponentClass:u,responsive:d,showSizeChanger:p}=e,f=lIe(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:m}=Vb(d),[,g]=ia(),{getPrefixCls:h,direction:v,pagination:S={}}=c.useContext(lt),_=h("pagination",n),[E,y,C]=iIe(_),T=p??S.showSizeChanger,x=c.useMemo(()=>{const N=c.createElement("span",{className:`${_}-item-ellipsis`},"•••"),A=c.createElement("button",{className:`${_}-item-link`,type:"button",tabIndex:-1},v==="rtl"?c.createElement($i,null):c.createElement(Nc,null)),D=c.createElement("button",{className:`${_}-item-link`,type:"button",tabIndex:-1},v==="rtl"?c.createElement(Nc,null):c.createElement($i,null)),L=c.createElement("a",{className:`${_}-item-link`},c.createElement("div",{className:`${_}-item-container`},v==="rtl"?c.createElement(d4,{className:`${_}-item-link-icon`}):c.createElement(u4,{className:`${_}-item-link-icon`}),N)),$=c.createElement("a",{className:`${_}-item-link`},c.createElement("div",{className:`${_}-item-container`},v==="rtl"?c.createElement(u4,{className:`${_}-item-link-icon`}):c.createElement(d4,{className:`${_}-item-link-icon`}),N));return{prevIcon:A,nextIcon:D,jumpPrevIcon:L,jumpNextIcon:$}},[v,_]),[R]=Go("Pagination",FK),w=Object.assign(Object.assign({},R),l),I=xr(s),O=I==="small"||!!(m&&!I&&d),k=h("select",r),P=ie({[`${_}-${t}`]:!!t,[`${_}-mini`]:O,[`${_}-rtl`]:v==="rtl",[`${_}-bordered`]:g.wireframe},S==null?void 0:S.className,a,i,y,C),M=Object.assign(Object.assign({},S==null?void 0:S.style),o);return E(c.createElement(c.Fragment,null,g.wireframe&&c.createElement(sIe,{prefixCls:_}),c.createElement(Qwe,Object.assign({},x,f,{style:M,prefixCls:_,selectPrefixCls:k,className:P,selectComponentClass:u||(O?Tee:xee),locale:w,showSizeChanger:T}))))},w_=100,Iee=w_/5,Oee=w_/2-Iee/2,xy=Oee*2*Math.PI,m4=50,g4=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return c.createElement("circle",{className:ie(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:Oee,cx:m4,cy:m4,strokeWidth:Iee,style:n})},cIe=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,a=`${r}-holder`,i=`${a}-hidden`,[o,s]=c.useState(!1);Qt(()=>{t!==0&&s(!0)},[t!==0]);const l=Math.max(Math.min(t,100),0);if(!o)return null;const u={strokeDashoffset:`${xy/4}`,strokeDasharray:`${xy*l/100} ${xy*(100-l)/100}`};return c.createElement("span",{className:ie(a,`${r}-progress`,l<=0&&i)},c.createElement("svg",{viewBox:`0 0 ${w_} ${w_}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l},c.createElement(g4,{dotClassName:r,hasCircleCls:!0}),c.createElement(g4,{dotClassName:r,style:u})))};function uIe(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,a=`${r}-holder`,i=`${a}-hidden`;return c.createElement(c.Fragment,null,c.createElement("span",{className:ie(a,n>0&&i)},c.createElement("span",{className:ie(r,`${t}-dot-spin`)},[1,2,3,4].map(o=>c.createElement("i",{className:`${t}-dot-item`,key:o})))),c.createElement(cIe,{prefixCls:t,percent:n}))}function dIe(e){const{prefixCls:t,indicator:n,percent:r}=e,a=`${t}-dot`;return n&&c.isValidElement(n)?Tr(n,{className:ie(n.props.className,a),percent:r}):c.createElement(uIe,{prefixCls:t,percent:r})}const pIe=new dn("antSpinMove",{to:{opacity:1}}),fIe=new dn("antRotate",{to:{transform:"rotate(405deg)"}}),mIe=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},on(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:pIe,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:fIe,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"}})}},gIe=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},hIe=cn("Spin",e=>{const t=Ht(e,{spinDotDefault:e.colorTextDescription});return[mIe(t)]},gIe),vIe=200,h4=[[30,.05],[70,.03],[96,.01]];function _Ie(e,t){const[n,r]=c.useState(0),a=c.useRef(),i=t==="auto";return c.useEffect(()=>(i&&e&&(r(0),a.current=setInterval(()=>{r(o=>{const s=100-o;for(let l=0;l{clearInterval(a.current)}),[i,e]),i?n:t}var bIe=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:i,rootClassName:o,size:s="default",tip:l,wrapperClassName:u,style:d,children:p,fullscreen:f=!1,indicator:m,percent:g}=e,h=bIe(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:v,direction:S,spin:_}=c.useContext(lt),E=v("spin",n),[y,C,T]=hIe(E),[x,R]=c.useState(()=>r&&!SIe(r,a)),w=_Ie(x,g);c.useEffect(()=>{if(r){const A=p0e(a,()=>{R(!0)});return A(),()=>{var D;(D=A==null?void 0:A.cancel)===null||D===void 0||D.call(A)}}R(!1)},[a,r]);const I=c.useMemo(()=>typeof p<"u"&&!f,[p,f]),O=ie(E,_==null?void 0:_.className,{[`${E}-sm`]:s==="small",[`${E}-lg`]:s==="large",[`${E}-spinning`]:x,[`${E}-show-text`]:!!l,[`${E}-rtl`]:S==="rtl"},i,!f&&o,C,T),k=ie(`${E}-container`,{[`${E}-blur`]:x}),P=(t=m??(_==null?void 0:_.indicator))!==null&&t!==void 0?t:Nee,M=Object.assign(Object.assign({},_==null?void 0:_.style),d),N=c.createElement("div",Object.assign({},h,{style:M,className:O,"aria-live":"polite","aria-busy":x}),c.createElement(dIe,{prefixCls:E,indicator:P,percent:w}),l&&(I||f)?c.createElement("div",{className:`${E}-text`},l):null);return y(I?c.createElement("div",Object.assign({},h,{className:ie(`${E}-nested-loading`,u,C,T)}),x&&c.createElement("div",{key:"loading"},N),c.createElement("div",{className:k,key:"container"},p)):f?c.createElement("div",{className:ie(`${E}-fullscreen`,{[`${E}-fullscreen-show`]:x},o,C,T)},N):N)};Pk.setDefaultIndicator=e=>{Nee=e};const $k=ce.createContext({});$k.Consumer;var Aee=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:i}=e,o=Aee(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=c.useContext(lt),l=s("list",t),u=ie(`${l}-item-meta`,n),d=ce.createElement("div",{className:`${l}-item-meta-content`},a&&ce.createElement("h4",{className:`${l}-item-meta-title`},a),i&&ce.createElement("div",{className:`${l}-item-meta-description`},i));return ce.createElement("div",Object.assign({},o,{className:u}),r&&ce.createElement("div",{className:`${l}-item-meta-avatar`},r),(a||i)&&d)},yIe=ce.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:a,extra:i,styles:o,className:s,classNames:l,colStyle:u}=e,d=Aee(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:p,itemLayout:f}=c.useContext($k),{getPrefixCls:m,list:g}=c.useContext(lt),h=x=>{var R,w;return ie((w=(R=g==null?void 0:g.item)===null||R===void 0?void 0:R.classNames)===null||w===void 0?void 0:w[x],l==null?void 0:l[x])},v=x=>{var R,w;return Object.assign(Object.assign({},(w=(R=g==null?void 0:g.item)===null||R===void 0?void 0:R.styles)===null||w===void 0?void 0:w[x]),o==null?void 0:o[x])},S=()=>{let x=!1;return c.Children.forEach(r,R=>{typeof R=="string"&&(x=!0)}),x&&c.Children.count(r)>1},_=()=>f==="vertical"?!!i:!S(),E=m("list",n),y=a&&a.length>0&&ce.createElement("ul",{className:ie(`${E}-item-action`,h("actions")),key:"actions",style:v("actions")},a.map((x,R)=>ce.createElement("li",{key:`${E}-item-action-${R}`},x,R!==a.length-1&&ce.createElement("em",{className:`${E}-item-action-split`})))),C=p?"div":"li",T=ce.createElement(C,Object.assign({},d,p?{}:{ref:t},{className:ie(`${E}-item`,{[`${E}-item-no-flex`]:!_()},s)}),f==="vertical"&&i?[ce.createElement("div",{className:`${E}-item-main`,key:"content"},r,y),ce.createElement("div",{className:ie(`${E}-item-extra`,h("extra")),key:"extra",style:v("extra")},i)]:[r,y,Tr(i,{key:"extra"})]);return p?ce.createElement(Rn,{ref:t,flex:1,style:u},T):T}),nd=yIe;nd.Meta=EIe;const CIe=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:a,itemPaddingSM:i,itemPaddingLG:o,marginLG:s,borderRadiusLG:l}=e;return{[t]:{border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:l,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${Q(a)} ${Q(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:i}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}}}},TIe=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:a,marginSM:i,margin:o}=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:i}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${Q(o)}`}}}}}},xIe=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:a,paddingSM:i,marginLG:o,padding:s,itemPadding:l,colorPrimary:u,itemPaddingSM:d,itemPaddingLG:p,paddingXS:f,margin:m,colorText:g,colorTextDescription:h,motionDurationSlow:v,lineWidth:S,headerBg:_,footerBg:E,emptyTextPadding:y,metaMarginBottom:C,avatarMarginRight:T,titleMarginBottom:x,descriptionFontSize:R}=e;return{[t]:Object.assign(Object.assign({},on(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:_},[`${t}-footer`]:{background:E},[`${t}-header, ${t}-footer`]:{paddingBlock:i},[`${t}-pagination`]:{marginBlockStart:o,[`${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:l,color:g,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:T},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:g},[`${t}-item-meta-title`]:{margin:`0 0 ${Q(e.marginXXS)} 0`,color:g,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:g,transition:`all ${v}`,"&:hover":{color:u}}},[`${t}-item-meta-description`]:{color:h,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 ${Q(f)}`,color:h,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:S,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${Q(s)} 0`,color:h,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:y,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:m,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:o},[`${t}-item-meta`]:{marginBlockEnd:C,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:x,color:g,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${Q(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${Q(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:`${Q(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:p},[`${t}-sm ${t}-item`]:{padding:d},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},RIe=e=>({contentWidth:220,itemPadding:`${Q(e.paddingContentVertical)} 0`,itemPaddingSM:`${Q(e.paddingContentVerticalSM)} ${Q(e.paddingContentHorizontal)}`,itemPaddingLG:`${Q(e.paddingContentVerticalLG)} ${Q(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),wIe=cn("List",e=>{const t=Ht(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[xIe(t),CIe(t),TIe(t)]},RIe);var IIe=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,re)=>{var ne;x(ge),w(re),t&&((ne=t==null?void 0:t[Ee])===null||ne===void 0||ne.call(t,ge,re))},A=N("onChange"),D=N("onShowSizeChange"),L=(Ee,ge)=>{if(!_)return null;let re;return typeof S=="function"?re=S(Ee):S?re=Ee[S]:re=Ee.key,re||(re=`list-item-${ge}`),c.createElement(c.Fragment,{key:re},_(Ee,ge))},$=()=>!!(d||t||h),F=I("list",n),[B,z,U]=wIe(F);let j=v;typeof j=="boolean"&&(j={spinning:j});const G=!!(j!=null&&j.spinning),J=xr(m);let Y="";switch(J){case"large":Y="lg";break;case"small":Y="sm";break}const X=ie(F,{[`${F}-vertical`]:u==="vertical",[`${F}-${Y}`]:Y,[`${F}-split`]:a,[`${F}-bordered`]:r,[`${F}-loading`]:G,[`${F}-grid`]:!!p,[`${F}-something-after-last-item`]:$(),[`${F}-rtl`]:k==="rtl"},P==null?void 0:P.className,i,o,z,U),V=Cee(M,{total:f.length,current:T,pageSize:R},t||{}),H=Math.ceil(V.total/V.pageSize);V.current>H&&(V.current=H);const q=t&&c.createElement("div",{className:ie(`${F}-pagination`)},c.createElement(kk,Object.assign({align:"end"},V,{onChange:A,onShowSizeChange:D})));let K=$e(f);t&&f.length>(V.current-1)*V.pageSize&&(K=$e(f).splice((V.current-1)*V.pageSize,V.pageSize));const Z=Object.keys(p||{}).some(Ee=>["xs","sm","md","lg","xl","xxl"].includes(Ee)),te=Vb(Z),se=c.useMemo(()=>{for(let Ee=0;Ee{if(!p)return;const Ee=se&&p[se]?p[se]:p.column;if(Ee)return{width:`${100/Ee}%`,maxWidth:`${100/Ee}%`}},[JSON.stringify(p),se]);let me=G&&c.createElement("div",{style:{minHeight:53}});if(K.length>0){const Ee=K.map((ge,re)=>L(ge,re));me=p?c.createElement(Oa,{gutter:p.gutter},c.Children.map(Ee,ge=>c.createElement("div",{key:ge==null?void 0:ge.key,style:ue},ge))):c.createElement("ul",{className:`${F}-items`},Ee)}else!l&&!G&&(me=c.createElement("div",{className:`${F}-empty-text`},(E==null?void 0:E.emptyText)||(O==null?void 0:O("List"))||c.createElement(jb,{componentName:"List"})));const de=V.position||"bottom",Te=c.useMemo(()=>({grid:p,itemLayout:u}),[JSON.stringify(p),u]);return B(c.createElement($k.Provider,{value:Te},c.createElement("div",Object.assign({style:Object.assign(Object.assign({},P==null?void 0:P.style),s),className:X},y),(de==="top"||de==="both")&&q,g&&c.createElement("div",{className:`${F}-header`},g),c.createElement(Pk,Object.assign({},j),me,l),h&&c.createElement("div",{className:`${F}-footer`},h),d||(de==="bottom"||de==="both")&&q)))}vl.Item=nd;let Ni=null,ac=e=>e(),_m=[],bm={};function v4(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:a}=bm,i=(e==null?void 0:e())||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:r,top:a}}const OIe=ce.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:a}=c.useContext(lt),i=bm.prefixCls||a("message"),o=c.useContext(yve),[s,l]=wX(Object.assign(Object.assign(Object.assign({},n),{prefixCls:i}),o.message));return ce.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}}),l}),NIe=ce.forwardRef((e,t)=>{const[n,r]=ce.useState(v4),a=()=>{r(v4)};ce.useEffect(a,[]);const i=mX(),o=i.getRootPrefixCls(),s=i.getIconPrefixCls(),l=i.getTheme(),u=ce.createElement(OIe,{ref:t,sync:a,messageConfig:n});return ce.createElement(_o,{prefixCls:o,iconPrefixCls:s,theme:l},i.holderRender?i.holderRender(u):u)});function fS(){if(!Ni){const e=document.createDocumentFragment(),t={fragment:e};Ni=t,ac(()=>{FL(ce.createElement(NIe,{ref:n=>{const{instance:r,sync:a}=n||{};Promise.resolve().then(()=>{!t.instance&&r&&(t.instance=r,t.sync=a,fS())})}}),e)});return}Ni.instance&&(_m.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{ac(()=>{const r=Ni.instance.open(Object.assign(Object.assign({},bm),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":ac(()=>{Ni==null||Ni.instance.destroy(e.key)});break;default:ac(()=>{var r;const a=(r=Ni.instance)[t].apply(r,$e(e.args));a==null||a.then(e.resolve),e.setCloseFn(a)})}}),_m=[])}function AIe(e){bm=Object.assign(Object.assign({},bm),e),ac(()=>{var t;(t=Ni==null?void 0:Ni.sync)===null||t===void 0||t.call(Ni)})}function DIe(e){const t=$L(n=>{let r;const a={type:"open",config:e,resolve:n,setCloseFn:i=>{r=i}};return _m.push(a),()=>{r?ac(()=>{r()}):a.skipped=!0}});return fS(),t}function MIe(e,t){const n=$L(r=>{let a;const i={type:e,args:t,resolve:r,setCloseFn:o=>{a=o}};return _m.push(i),()=>{a?ac(()=>{a()}):i.skipped=!0}});return fS(),n}const LIe=e=>{_m.push({type:"destroy",key:e}),fS()},kIe=["success","info","warning","error","loading"],PIe={open:DIe,destroy:LIe,config:AIe,useMessage:nme,_InternalPanelDoNotUseOrYouWillBeFired:Yfe},Qe=PIe;kIe.forEach(e=>{Qe[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:a,type:i,title:o,children:s,footer:l}=e,u=$Ie(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:d}=c.useContext(lt),p=d(),f=t||d("modal"),m=Zn(p),[g,h,v]=cQ(f,m),S=`${f}-confirm`;let _={};return i?_={closable:a??!1,title:"",footer:"",children:c.createElement(dQ,Object.assign({},e,{prefixCls:f,confirmPrefixCls:S,rootPrefixCls:p,content:s}))}:_={closable:a??!0,title:o,footer:l!==null&&c.createElement(iQ,Object.assign({},e)),children:s},g(c.createElement(GX,Object.assign({prefixCls:f,className:ie(h,`${f}-pure-panel`,i&&S,i&&`${S}-${i}`,n,v,m)},u,{closeIcon:aQ(f,r),closable:a},_)))},BIe=SQ(FIe);function Dee(e){return rg(gQ(e))}const Sn=uQ;Sn.useModal=Eve;Sn.info=function(t){return rg(hQ(t))};Sn.success=function(t){return rg(vQ(t))};Sn.error=function(t){return rg(_Q(t))};Sn.warning=Dee;Sn.warn=Dee;Sn.confirm=function(t){return rg(bQ(t))};Sn.destroyAll=function(){for(;nc.length;){const t=nc.pop();t&&t()}};Sn.config=hve;Sn._InternalPanelDoNotUseOrYouWillBeFired=BIe;var UIe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},jIe=function(){var t=c.useRef([]),n=c.useRef(null);return c.useEffect(function(){var r=Date.now(),a=!1;t.current.forEach(function(i){if(i){a=!0;var o=i.style;o.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(o.transitionDuration="0s, 0s")}}),a&&(n.current=Date.now())}),t.current},_4=0,zIe=Jr();function HIe(){var e;return zIe?(e=_4,_4+=1):e="TEST_OR_SSR",e}const GIe=function(e){var t=c.useState(),n=oe(t,2),r=n[0],a=n[1];return c.useEffect(function(){a("rc_progress_".concat(HIe()))},[]),e||r};var b4=function(t){var n=t.bg,r=t.children;return c.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function S4(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 VIe=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,a=e.gradientId,i=e.radius,o=e.style,s=e.ptg,l=e.strokeLinecap,u=e.strokeWidth,d=e.size,p=e.gapDegree,f=r&>(r)==="object",m=f?"#FFF":void 0,g=d/2,h=c.createElement("circle",{className:"".concat(n,"-circle-path"),r:i,cx:g,cy:g,stroke:m,strokeLinecap:l,strokeWidth:u,opacity:s===0?0:1,style:o,ref:t});if(!f)return h;var v="".concat(a,"-conic"),S=p?"".concat(180+p/2,"deg"):"0deg",_=S4(r,(360-p)/360),E=S4(r,1),y="conic-gradient(from ".concat(S,", ").concat(_.join(", "),")"),C="linear-gradient(to ".concat(p?"bottom":"top",", ").concat(E.join(", "),")");return c.createElement(c.Fragment,null,c.createElement("mask",{id:v},h),c.createElement("foreignObject",{x:0,y:0,width:d,height:d,mask:"url(#".concat(v,")")},c.createElement(b4,{bg:C},c.createElement(b4,{bg:y}))))}),Jp=100,Ry=function(t,n,r,a,i,o,s,l,u,d){var p=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,f=r/100*360*((360-o)/360),m=o===0?0:{bottom:0,top:180,left:90,right:-90}[s],g=(100-a)/100*n;u==="round"&&a!==100&&(g+=d/2,g>=n&&(g=n-.01));var h=Jp/2;return{stroke:typeof l=="string"?l:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:g+p,transform:"rotate(".concat(i+f+m,"deg)"),transformOrigin:"".concat(h,"px ").concat(h,"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}},qIe=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function E4(e){var t=e??[];return Array.isArray(t)?t:[t]}var WIe=function(t){var n=ee(ee({},UIe),t),r=n.id,a=n.prefixCls,i=n.steps,o=n.strokeWidth,s=n.trailWidth,l=n.gapDegree,u=l===void 0?0:l,d=n.gapPosition,p=n.trailColor,f=n.strokeLinecap,m=n.style,g=n.className,h=n.strokeColor,v=n.percent,S=Et(n,qIe),_=Jp/2,E=GIe(r),y="".concat(E,"-gradient"),C=_-o/2,T=Math.PI*2*C,x=u>0?90+u/2:-90,R=T*((360-u)/360),w=gt(i)==="object"?i:{count:i,gap:2},I=w.count,O=w.gap,k=E4(v),P=E4(h),M=P.find(function(B){return B&>(B)==="object"}),N=M&>(M)==="object",A=N?"butt":f,D=Ry(T,R,0,100,x,u,d,p,A,o),L=jIe(),$=function(){var z=0;return k.map(function(U,j){var G=P[j]||P[P.length-1],J=Ry(T,R,z,U,x,u,d,G,A,o);return z+=U,c.createElement(VIe,{key:j,color:G,ptg:U,radius:C,prefixCls:a,gradientId:y,style:J,strokeLinecap:A,strokeWidth:o,gapDegree:u,ref:function(X){L[j]=X},size:Jp})}).reverse()},F=function(){var z=Math.round(I*(k[0]/100)),U=100/I,j=0;return new Array(I).fill(null).map(function(G,J){var Y=J<=z-1?P[0]:p,X=Y&>(Y)==="object"?"url(#".concat(y,")"):void 0,V=Ry(T,R,j,U,x,u,d,Y,"butt",o,O);return j+=(R-V.strokeDashoffset+O)*100/R,c.createElement("circle",{key:J,className:"".concat(a,"-circle-path"),r:C,cx:_,cy:_,stroke:X,strokeWidth:o,opacity:1,style:V,ref:function(q){L[J]=q}})})};return c.createElement("svg",_e({className:ie("".concat(a,"-circle"),g),viewBox:"0 0 ".concat(Jp," ").concat(Jp),style:m,id:r,role:"presentation"},S),!I&&c.createElement("circle",{className:"".concat(a,"-circle-trail"),r:C,cx:_,cy:_,stroke:p,strokeLinecap:A,strokeWidth:s||o,style:D}),I?F():$())};function ul(e){return!e||e<0?0:e>100?100:e}function I_(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 YIe=e=>{let{percent:t,success:n,successPercent:r}=e;const a=ul(I_({success:n,successPercent:r}));return[a,ul(ul(t)-a)]},KIe=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||Ju.green,n||null]},mS=(e,t,n)=>{var r,a,i,o;let s=-1,l=-1;if(t==="step"){const u=n.steps,d=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,l=d??8):typeof e=="number"?[s,l]=[e,e]:[s=14,l=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"?l=u||(e==="small"?6:8):typeof e=="number"?[s,l]=[e,e]:[s=-1,l=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,l]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,l]=[e,e]:Array.isArray(e)&&(s=(a=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&a!==void 0?a:120,l=(o=(i=e[0])!==null&&i!==void 0?i:e[1])!==null&&o!==void 0?o:120));return[s,l]},XIe=3,QIe=e=>XIe/e*100,ZIe=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:a,gapDegree:i,width:o=120,type:s,children:l,success:u,size:d=o,steps:p}=e,[f,m]=mS(d,"circle");let{strokeWidth:g}=e;g===void 0&&(g=Math.max(QIe(f),6));const h={width:f,height:m,fontSize:f*.15+6},v=c.useMemo(()=>{if(i||i===0)return i;if(s==="dashboard")return 75},[i,s]),S=YIe(e),_=a||s==="dashboard"&&"bottom"||void 0,E=Object.prototype.toString.call(e.strokeColor)==="[object Object]",y=KIe({success:u,strokeColor:e.strokeColor}),C=ie(`${t}-inner`,{[`${t}-circle-gradient`]:E}),T=c.createElement(WIe,{steps:p,percent:p?S[1]:S,strokeWidth:g,trailWidth:g,strokeColor:p?y[1]:y,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:v,gapPosition:_}),x=f<=20,R=c.createElement("div",{className:C,style:h},T,!x&&l);return x?c.createElement(Jt,{title:l},R):R},O_="--progress-line-stroke-color",Mee="--progress-percent",y4=e=>{const t=e?"100%":"-100%";return new dn(`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}})},JIe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},on(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(${O_})`]},height:"100%",width:`calc(1 / var(${Mee}) * 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 ${Q(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:y4(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:y4(!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}}})}},eOe=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"}}}},tOe=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}}}}}},nOe=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},rOe=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),aOe=cn("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Ht(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[JIe(n),eOe(n),tOe(n),nOe(n)]},rOe);var iOe=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(", ")},sOe=(e,t)=>{const{from:n=Ju.blue,to:r=Ju.blue,direction:a=t==="rtl"?"to left":"to right"}=e,i=iOe(e,["from","to","direction"]);if(Object.keys(i).length!==0){const s=oOe(i),l=`linear-gradient(${a}, ${s})`;return{background:l,[O_]:l}}const o=`linear-gradient(${a}, ${n}, ${r})`;return{background:o,[O_]:o}},lOe=e=>{const{prefixCls:t,direction:n,percent:r,size:a,strokeWidth:i,strokeColor:o,strokeLinecap:s="round",children:l,trailColor:u=null,percentPosition:d,success:p}=e,{align:f,type:m}=d,g=o&&typeof o!="string"?sOe(o,n):{[O_]:o,background:o},h=s==="square"||s==="butt"?0:void 0,v=a??[-1,i||(a==="small"?6:8)],[S,_]=mS(v,"line",{strokeWidth:i}),E={backgroundColor:u||void 0,borderRadius:h},y=Object.assign(Object.assign({width:`${ul(r)}%`,height:_,borderRadius:h},g),{[Mee]:ul(r)/100}),C=I_(e),T={width:`${ul(C)}%`,height:_,borderRadius:h,backgroundColor:p==null?void 0:p.strokeColor},x={width:S<0?"100%":S},R=c.createElement("div",{className:`${t}-inner`,style:E},c.createElement("div",{className:ie(`${t}-bg`,`${t}-bg-${m}`),style:y},m==="inner"&&l),C!==void 0&&c.createElement("div",{className:`${t}-success-bg`,style:T})),w=m==="outer"&&f==="start",I=m==="outer"&&f==="end";return m==="outer"&&f==="center"?c.createElement("div",{className:`${t}-layout-bottom`},R,l):c.createElement("div",{className:`${t}-outer`,style:x},w&&l,R,I&&l)},cOe=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:a=8,strokeColor:i,trailColor:o=null,prefixCls:s,children:l}=e,u=Math.round(n*(r/100)),p=t??[t==="small"?2:14,a],[f,m]=mS(p,"step",{steps:n,strokeWidth:a}),g=f/n,h=new Array(n);for(let v=0;v{const{prefixCls:n,className:r,rootClassName:a,steps:i,strokeColor:o,percent:s=0,size:l="default",showInfo:u=!0,type:d="line",status:p,format:f,style:m,percentPosition:g={}}=e,h=uOe(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:v="end",type:S="outer"}=g,_=Array.isArray(o)?o[0]:o,E=typeof o=="string"||Array.isArray(o)?o:void 0,y=c.useMemo(()=>{if(_){const $=typeof _=="string"?_:Object.values(_)[0];return new an($).isLight()}return!1},[o]),C=c.useMemo(()=>{var $,F;const B=I_(e);return parseInt(B!==void 0?($=B??0)===null||$===void 0?void 0:$.toString():(F=s??0)===null||F===void 0?void 0:F.toString(),10)},[s,e.success,e.successPercent]),T=c.useMemo(()=>!dOe.includes(p)&&C>=100?"success":p||"normal",[p,C]),{getPrefixCls:x,direction:R,progress:w}=c.useContext(lt),I=x("progress",n),[O,k,P]=aOe(I),M=d==="line",N=M&&!i,A=c.useMemo(()=>{if(!u)return null;const $=I_(e);let F;const B=f||(U=>`${U}%`),z=M&&y&&S==="inner";return S==="inner"||f||T!=="exception"&&T!=="success"?F=B(ul(s),ul($)):T==="exception"?F=M?c.createElement(Bc,null):c.createElement(na,null):T==="success"&&(F=M?c.createElement(Ym,null):c.createElement(zb,null)),c.createElement("span",{className:ie(`${I}-text`,{[`${I}-text-bright`]:z,[`${I}-text-${v}`]:N,[`${I}-text-${S}`]:N}),title:typeof F=="string"?F:void 0},F)},[u,s,C,T,d,I,f]);let D;d==="line"?D=i?c.createElement(cOe,Object.assign({},e,{strokeColor:E,prefixCls:I,steps:typeof i=="object"?i.count:i}),A):c.createElement(lOe,Object.assign({},e,{strokeColor:_,prefixCls:I,direction:R,percentPosition:{align:v,type:S}}),A):(d==="circle"||d==="dashboard")&&(D=c.createElement(ZIe,Object.assign({},e,{strokeColor:_,prefixCls:I,progressStatus:T}),A));const L=ie(I,`${I}-status-${T}`,{[`${I}-${d==="dashboard"&&"circle"||d}`]:d!=="line",[`${I}-inline-circle`]:d==="circle"&&mS(l,"circle")[0]<=20,[`${I}-line`]:N,[`${I}-line-align-${v}`]:N,[`${I}-line-position-${S}`]:N,[`${I}-steps`]:i,[`${I}-show-info`]:u,[`${I}-${l}`]:typeof l=="string",[`${I}-rtl`]:R==="rtl"},w==null?void 0:w.className,r,a,k,P);return O(c.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},w==null?void 0:w.style),m),className:L,role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":100},An(h,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),D))});var pOe={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"},fOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:pOe}))},mOe=c.forwardRef(fOe),gOe={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"},hOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:gOe}))},vOe=c.forwardRef(hOe),_Oe={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"},bOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:_Oe}))},SOe=c.forwardRef(bOe),EOe={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"},yOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:EOe}))},COe=c.forwardRef(yOe),TOe={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"},xOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:TOe}))},ROe=c.forwardRef(xOe),wOe={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"},IOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:wOe}))},OOe=c.forwardRef(IOe),NOe={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"},AOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:NOe}))},DOe=c.forwardRef(AOe),MOe={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"},LOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:MOe}))},C4=c.forwardRef(LOe),kOe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M433.1 657.7a31.8 31.8 0 0051.7 0l210.6-292c3.8-5.3 0-12.7-6.5-12.7H642c-10.2 0-19.9 4.9-25.9 13.3L459 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H315c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.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:"check-square",theme:"outlined"},POe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:kOe}))},T4=c.forwardRef(POe),$Oe={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"},FOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:$Oe}))},x4=c.forwardRef(FOe),BOe={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"},UOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:BOe}))},jOe=c.forwardRef(UOe),zOe={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"},HOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:zOe}))},CD=c.forwardRef(HOe),GOe={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"},VOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:GOe}))},qOe=c.forwardRef(VOe),WOe={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"},YOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:WOe}))},Fk=c.forwardRef(YOe),KOe={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"},XOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:KOe}))},QOe=c.forwardRef(XOe),ZOe={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"},JOe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:ZOe}))},eNe=c.forwardRef(JOe),tNe={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"},nNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:tNe}))},Lee=c.forwardRef(nNe),rNe={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"},aNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:rNe}))},Rd=c.forwardRef(aNe),iNe={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"},oNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:iNe}))},wy=c.forwardRef(oNe),sNe={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"},lNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:sNe}))},cNe=c.forwardRef(lNe),uNe={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"},dNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:uNe}))},Bk=c.forwardRef(dNe),pNe={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"},fNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:pNe}))},Sm=c.forwardRef(fNe),mNe={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"},gNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:mNe}))},hNe=c.forwardRef(gNe),vNe={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"},_Ne=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:vNe}))},bNe=c.forwardRef(_Ne),SNe={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"},ENe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:SNe}))},kee=c.forwardRef(ENe),yNe={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"},CNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:yNe}))},TNe=c.forwardRef(CNe),xNe={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"},RNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:xNe}))},wNe=c.forwardRef(RNe),INe={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"},ONe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:INe}))},NNe=c.forwardRef(ONe),ANe={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"},DNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:ANe}))},MNe=c.forwardRef(DNe),LNe={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"},kNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:LNe}))},TD=c.forwardRef(kNe),PNe={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"},$Ne=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:PNe}))},Uk=c.forwardRef($Ne),FNe={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"},BNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:FNe}))},UNe=c.forwardRef(BNe),jNe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"},zNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:jNe}))},HNe=c.forwardRef(zNe),GNe={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"},VNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:GNe}))},Pee=c.forwardRef(VNe),qNe={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"},WNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:qNe}))},YNe=c.forwardRef(WNe),KNe={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"},XNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:KNe}))},QNe=c.forwardRef(XNe),ZNe={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"},JNe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:ZNe}))},e1e=c.forwardRef(JNe),t1e={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"},n1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:t1e}))},jk=c.forwardRef(n1e),r1e={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"},a1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:r1e}))},zu=c.forwardRef(a1e),i1e={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"},o1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:i1e}))},s1e=c.forwardRef(o1e),l1e={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"},c1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:l1e}))},u1e=c.forwardRef(c1e),d1e={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"},p1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:d1e}))},f1e=c.forwardRef(p1e),m1e={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"},g1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:m1e}))},h1e=c.forwardRef(g1e),v1e={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"},_1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:v1e}))},b1e=c.forwardRef(_1e),S1e={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"},E1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:S1e}))},y1e=c.forwardRef(E1e),C1e={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"},T1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:C1e}))},x1e=c.forwardRef(T1e),R1e={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"},w1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:R1e}))},I1e=c.forwardRef(w1e),O1e={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"},N1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:O1e}))},A1e=c.forwardRef(N1e),D1e={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M952 612c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H298a95.92 95.92 0 00-89-60c-53 0-96 43-96 96s43 96 96 96c40.3 0 74.8-24.8 89-60h150.3v152c0 55.2 44.8 100 100 100H952c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H548.3c-15.5 0-28-12.5-28-28V612H952zM456 344h264v98.2c0 8.1 9.5 12.8 15.8 7.7l172.5-136.2c5-3.9 5-11.4 0-15.3L735.8 162.1c-6.4-5.1-15.8-.5-15.8 7.7V268H456c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8z"}}]},name:"node-expand",theme:"outlined"},M1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:D1e}))},R4=c.forwardRef(M1e),L1e={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"},k1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:L1e}))},P1e=c.forwardRef(k1e),$1e={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"},F1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:$1e}))},w4=c.forwardRef(F1e),B1e={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"},U1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:B1e}))},j1e=c.forwardRef(U1e),z1e={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"},H1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:z1e}))},Lo=c.forwardRef(H1e),G1e={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"},V1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:G1e}))},$ee=c.forwardRef(V1e),q1e={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"},W1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:q1e}))},Y1e=c.forwardRef(W1e),K1e={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"},X1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:K1e}))},I4=c.forwardRef(X1e),Q1e={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"},Z1e=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:Q1e}))},zk=c.forwardRef(Z1e),J1e={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"},eAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:J1e}))},Fee=c.forwardRef(eAe),tAe={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"},nAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:tAe}))},rAe=c.forwardRef(nAe),aAe={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"},iAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:aAe}))},Hk=c.forwardRef(iAe),oAe={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"},sAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:oAe}))},lAe=c.forwardRef(sAe),cAe={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"},uAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:cAe}))},Bee=c.forwardRef(uAe),dAe={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"},pAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:dAe}))},fAe=c.forwardRef(pAe),mAe={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"},gAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:mAe}))},hAe=c.forwardRef(gAe),vAe={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"},_Ae=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:vAe}))},bAe=c.forwardRef(_Ae),SAe={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"},EAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:SAe}))},Uee=c.forwardRef(EAe),yAe={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"},CAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:yAe}))},TAe=c.forwardRef(CAe),xAe={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"},RAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:xAe}))},wAe=c.forwardRef(RAe),IAe={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"},OAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:IAe}))},NAe=c.forwardRef(OAe),AAe={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"},DAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:AAe}))},MAe=c.forwardRef(DAe),LAe={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"},kAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:LAe}))},jee=c.forwardRef(kAe),PAe={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"},$Ae=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:PAe}))},zee=c.forwardRef($Ae),FAe={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"},BAe=function(t,n){return c.createElement(at,_e({},t,{ref:n,icon:FAe}))},xD=c.forwardRef(BAe),UAe=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick","render"];function O4(e){return typeof e=="string"}function Hee(e){var t,n=e.className,r=e.prefixCls,a=e.style,i=e.active,o=e.status,s=e.iconPrefix,l=e.icon;e.wrapperStyle;var u=e.stepNumber,d=e.disabled,p=e.description,f=e.title,m=e.subTitle,g=e.progressDot,h=e.stepIcon,v=e.tailContent,S=e.icons,_=e.stepIndex,E=e.onStepClick,y=e.onClick,C=e.render,T=Et(e,UAe),x=!!E&&!d,R={};x&&(R.role="button",R.tabIndex=0,R.onClick=function(M){y==null||y(M),E(_)},R.onKeyDown=function(M){var N=M.which;(N===Fe.ENTER||N===Fe.SPACE)&&E(_)});var w=function(){var N,A,D=ie("".concat(r,"-icon"),"".concat(s,"icon"),(N={},W(N,"".concat(s,"icon-").concat(l),l&&O4(l)),W(N,"".concat(s,"icon-check"),!l&&o==="finish"&&(S&&!S.finish||!S)),W(N,"".concat(s,"icon-cross"),!l&&o==="error"&&(S&&!S.error||!S)),N)),L=c.createElement("span",{className:"".concat(r,"-icon-dot")});return g?typeof g=="function"?A=c.createElement("span",{className:"".concat(r,"-icon")},g(L,{index:u-1,status:o,title:f,description:p})):A=c.createElement("span",{className:"".concat(r,"-icon")},L):l&&!O4(l)?A=c.createElement("span",{className:"".concat(r,"-icon")},l):S&&S.finish&&o==="finish"?A=c.createElement("span",{className:"".concat(r,"-icon")},S.finish):S&&S.error&&o==="error"?A=c.createElement("span",{className:"".concat(r,"-icon")},S.error):l||o==="finish"||o==="error"?A=c.createElement("span",{className:D}):A=c.createElement("span",{className:"".concat(r,"-icon")},u),h&&(A=h({index:u-1,status:o,title:f,description:p,node:A})),A},I=o||"wait",O=ie("".concat(r,"-item"),"".concat(r,"-item-").concat(I),n,(t={},W(t,"".concat(r,"-item-custom"),l),W(t,"".concat(r,"-item-active"),i),W(t,"".concat(r,"-item-disabled"),d===!0),t)),k=ee({},a),P=c.createElement("div",_e({},T,{className:O,style:k}),c.createElement("div",_e({onClick:y},R,{className:"".concat(r,"-item-container")}),c.createElement("div",{className:"".concat(r,"-item-tail")},v),c.createElement("div",{className:"".concat(r,"-item-icon")},w()),c.createElement("div",{className:"".concat(r,"-item-content")},c.createElement("div",{className:"".concat(r,"-item-title")},f,m&&c.createElement("div",{title:typeof m=="string"?m:void 0,className:"".concat(r,"-item-subtitle")},m)),p&&c.createElement("div",{className:"".concat(r,"-item-description")},p))));return C&&(P=C(P)||null),P}var jAe=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","itemRender","items"];function Gk(e){var t,n=e.prefixCls,r=n===void 0?"rc-steps":n,a=e.style,i=a===void 0?{}:a,o=e.className;e.children;var s=e.direction,l=s===void 0?"horizontal":s,u=e.type,d=u===void 0?"default":u,p=e.labelPlacement,f=p===void 0?"horizontal":p,m=e.iconPrefix,g=m===void 0?"rc":m,h=e.status,v=h===void 0?"process":h,S=e.size,_=e.current,E=_===void 0?0:_,y=e.progressDot,C=y===void 0?!1:y,T=e.stepIcon,x=e.initial,R=x===void 0?0:x,w=e.icons,I=e.onChange,O=e.itemRender,k=e.items,P=k===void 0?[]:k,M=Et(e,jAe),N=d==="navigation",A=d==="inline",D=A||C,L=A?"horizontal":l,$=A?void 0:S,F=D?"vertical":f,B=ie(r,"".concat(r,"-").concat(L),o,(t={},W(t,"".concat(r,"-").concat($),$),W(t,"".concat(r,"-label-").concat(F),L==="horizontal"),W(t,"".concat(r,"-dot"),!!D),W(t,"".concat(r,"-navigation"),N),W(t,"".concat(r,"-inline"),A),t)),z=function(G){I&&E!==G&&I(G)},U=function(G,J){var Y=ee({},G),X=R+J;return v==="error"&&J===E-1&&(Y.className="".concat(r,"-next-error")),Y.status||(X===E?Y.status=v:X{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:Q(r)}}},[`&:not(${t}-vertical)`]:{[`${t}-item-custom`]:{[`${t}-item-icon`]:{width:"auto",background:"none"}}}}},HAe=e=>{const{componentCls:t}=e,n=`${t}-item`;return{[`${t}-horizontal`]:{[`${n}-tail`]:{transform:"translateY(-50%)"}}}},GAe=e=>{const{componentCls:t,inlineDotSize:n,inlineTitleColor:r,inlineTailColor:a}=e,i=e.calc(e.paddingXS).add(e.lineWidth).equal(),o={[`${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:`${Q(i)} ${Q(e.paddingXXS)} 0`,margin:`0 ${Q(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% - ${Q(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(i).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:`${Q(e.lineWidth)} ${e.lineType} ${a}`}},o),"&-finish":Object.assign({[`${t}-item-tail::after`]:{backgroundColor:a},[`${t}-item-icon ${t}-icon ${t}-icon-dot`]:{backgroundColor:a,border:`${Q(e.lineWidth)} ${e.lineType} ${a}`}},o),"&-error":o,"&-active, &-process":Object.assign({[`${t}-item-icon`]:{width:n,height:n,marginInlineStart:`calc(50% - ${Q(e.calc(n).div(2).equal())})`,top:0}},o),[`&:not(${t}-item-active) > ${t}-item-container[role='button']:hover`]:{[`${t}-item-title`]:{color:r}}}}}},VAe=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 ${Q(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()}}}}}},qAe=e=>{const{componentCls:t,navContentMaxWidth:n,navArrowColor:r,stepsNavActiveColor:a,motionDurationSlow:i}=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 ${i}`,[`${t}-item-content`]:{maxWidth:n},[`${t}-item-title`]:Object.assign(Object.assign({maxWidth:"100%",paddingInlineEnd:0},vi),{"&::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% - ${Q(e.calc(e.paddingSM).div(2).equal())})`,insetInlineStart:"100%",display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,borderTop:`${Q(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${Q(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 ${i}, inset-inline-start ${i}`,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% - ${Q(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"}}}},WAe=e=>{const{antCls:t,componentCls:n,iconSize:r,iconSizeSM:a,processIconColor:i,marginXXS:o,lineWidthBold:s,lineWidth:l,paddingXXS:u}=e,d=e.calc(r).add(e.calc(s).mul(4).equal()).equal(),p=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:i}},[`&${n}-vertical > ${n}-item `]:{paddingInlineStart:u,[`> ${n}-item-container > ${n}-item-tail`]:{top:o,insetInlineStart:e.calc(r).div(2).sub(l).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(l).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:`${Q(d)} !important`,height:`${Q(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:`${Q(p)} !important`,height:`${Q(p)} !important`}}}}},YAe=e=>{const{componentCls:t,descriptionMaxWidth:n,lineHeight:r,dotCurrentSize:a,dotSize:i,motionDurationSlow:o}=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:`${Q(e.calc(n).div(2).equal())} 0`,padding:0,"&::after":{width:`calc(100% - ${Q(e.calc(e.marginSM).mul(2).equal())})`,height:e.calc(e.lineWidth).mul(3).equal(),marginInlineStart:e.marginSM}},"&-icon":{width:i,height:i,marginInlineStart:e.calc(e.descriptionMaxWidth).sub(i).div(2).equal(),paddingInlineEnd:0,lineHeight:Q(i),background:"transparent",border:0,[`${t}-icon-dot`]:{position:"relative",float:"left",width:"100%",height:"100%",borderRadius:100,transition:`all ${o}`,"&::after":{position:"absolute",top:e.calc(e.marginSM).mul(-1).equal(),insetInlineStart:e.calc(i).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(i).sub(a).div(2).equal(),width:a,height:a,lineHeight:Q(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(i).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(i).sub(a).div(2).equal(),marginInlineStart:0},[`${t}-item > ${t}-item-container > ${t}-item-tail`]:{top:e.calc(e.controlHeight).sub(i).div(2).equal(),insetInlineStart:0,margin:0,padding:`${Q(e.calc(i).add(e.paddingXS).equal())} 0 ${Q(e.paddingXS)}`,"&::after":{marginInlineStart:e.calc(i).sub(e.lineWidth).div(2).equal()}},[`&${t}-small`]:{[`${t}-item-icon`]:{marginTop:e.calc(e.controlHeightSM).sub(i).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(i).div(2).equal()}},[`${t}-item:first-child ${t}-icon-dot`]:{insetInlineStart:0},[`${t}-item-content`]:{width:"inherit"}}}},KAe=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"}}}}},XAe=e=>{const{componentCls:t,iconSizeSM:n,fontSizeSM:r,fontSize:a,colorTextDescription:i}=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 ${Q(e.marginXS)}`,fontSize:r,lineHeight:Q(n),textAlign:"center",borderRadius:n},[`${t}-item-title`]:{paddingInlineEnd:e.paddingSM,fontSize:a,lineHeight:Q(n),"&::after":{top:e.calc(n).div(2).equal()}},[`${t}-item-description`]:{color:i,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:Q(n),transform:"none"}}}}},QAe=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:Q(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:`${Q(e.calc(e.marginXXS).mul(1.5).add(r).equal())} 0 ${Q(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:`${Q(e.calc(e.marginXXS).mul(1.5).add(n).equal())} 0 ${Q(e.calc(e.marginXXS).mul(1.5).equal())}`},[`${t}-item-title`]:{lineHeight:Q(n)}}}}},ZAe="wait",JAe="process",eDe="finish",tDe="error",Ch=(e,t)=>{const n=`${t.componentCls}-item`,r=`${e}IconColor`,a=`${e}TitleColor`,i=`${e}DescriptionColor`,o=`${e}TailColor`,s=`${e}IconBgColor`,l=`${e}IconBorderColor`,u=`${e}DotColor`;return{[`${n}-${e} ${n}-icon`]:{backgroundColor:t[s],borderColor:t[l],[`> ${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[o]}},[`${n}-${e} > ${n}-container > ${n}-content > ${n}-description`]:{color:t[i]},[`${n}-${e} > ${n}-container > ${n}-tail::after`]:{backgroundColor:t[o]}}},nDe=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({},bs(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:Q(e.iconSize),textAlign:"center",borderRadius:e.iconSize,border:`${Q(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:Q(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}},Ch(ZAe,e)),Ch(JAe,e)),{[`${r}-process > ${r}-container > ${r}-title`]:{fontWeight:e.fontWeightStrong}}),Ch(eDe,e)),Ch(tDe,e)),{[`${r}${t}-next-error > ${t}-item-title::after`]:{background:e.colorError},[`${r}-disabled`]:{cursor:"not-allowed"}})},rDe=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"}}}}},aDe=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({},on(e)),{display:"flex",width:"100%",fontSize:0,textAlign:"initial"}),nDe(e)),rDe(e)),zAe(e)),XAe(e)),QAe(e)),HAe(e)),VAe(e)),YAe(e)),qAe(e)),KAe(e)),WAe(e)),GAe(e))}},iDe=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}),oDe=cn("Steps",e=>{const{colorTextDisabled:t,controlHeightLG:n,colorTextLightSolid:r,colorText:a,colorPrimary:i,colorTextDescription:o,colorTextQuaternary:s,colorError:l,colorBorderSecondary:u,colorSplit:d}=e,p=Ht(e,{processIconColor:r,processTitleColor:a,processDescriptionColor:a,processIconBgColor:i,processIconBorderColor:i,processDotColor:i,processTailColor:d,waitTitleColor:o,waitDescriptionColor:o,waitTailColor:d,waitDotColor:t,finishIconColor:i,finishTitleColor:a,finishDescriptionColor:o,finishTailColor:i,finishDotColor:i,errorIconColor:r,errorTitleColor:l,errorDescriptionColor:l,errorTailColor:d,errorIconBgColor:l,errorIconBorderColor:l,errorDotColor:l,stepsNavActiveColor:i,stepsProgressSize:n,inlineDotSize:6,inlineTitleColor:s,inlineTailColor:u});return[aDe(p)]},iDe);function sDe(e){return e.filter(t=>t)}function lDe(e,t){if(e)return e;const n=br(t).map(r=>{if(c.isValidElement(r)){const{props:a}=r;return Object.assign({},a)}return null});return sDe(n)}var cDe=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:i,items:o,responsive:s=!0,current:l=0,children:u,style:d}=e,p=cDe(e,["percent","size","className","rootClassName","direction","items","responsive","current","children","style"]),{xs:f}=Vb(s),{getPrefixCls:m,direction:g,steps:h}=c.useContext(lt),v=c.useMemo(()=>s&&f?"vertical":i,[f,i]),S=xr(n),_=m("steps",e.prefixCls),[E,y,C]=oDe(_),T=e.type==="inline",x=m("",e.iconPrefix),R=lDe(o,u),w=T?void 0:t,I=Object.assign(Object.assign({},h==null?void 0:h.style),d),O=ie(h==null?void 0:h.className,{[`${_}-rtl`]:g==="rtl",[`${_}-with-progress`]:w!==void 0},r,a,y,C),k={finish:c.createElement(zb,{className:`${_}-finish-icon`}),error:c.createElement(na,{className:`${_}-error-icon`})},P=N=>{let{node:A,status:D}=N;if(D==="process"&&w!==void 0){const L=S==="small"?32:40;return c.createElement("div",{className:`${_}-progress-icon`},c.createElement(gS,{type:"circle",percent:w,size:L,strokeWidth:4,format:()=>null}),A)}return A},M=(N,A)=>N.description?c.createElement(Jt,{title:N.description},A):A;return E(c.createElement(Gk,Object.assign({icons:k},p,{style:I,current:l,size:S,items:R,itemRender:T?M:void 0,stepIcon:P,direction:v,prefixCls:_,iconPrefix:x,className:O})))};hg.Step=Gk.Step;var uDe=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],Gee=c.forwardRef(function(e,t){var n,r=e.prefixCls,a=r===void 0?"rc-switch":r,i=e.className,o=e.checked,s=e.defaultChecked,l=e.disabled,u=e.loadingIcon,d=e.checkedChildren,p=e.unCheckedChildren,f=e.onClick,m=e.onChange,g=e.onKeyDown,h=Et(e,uDe),v=ln(!1,{value:o,defaultValue:s}),S=oe(v,2),_=S[0],E=S[1];function y(R,w){var I=_;return l||(I=R,E(I),m==null||m(I,w)),I}function C(R){R.which===Fe.LEFT?y(!1,R):R.which===Fe.RIGHT&&y(!0,R),g==null||g(R)}function T(R){var w=y(!_,R);f==null||f(w,R)}var x=ie(a,i,(n={},W(n,"".concat(a,"-checked"),_),W(n,"".concat(a,"-disabled"),l),n));return c.createElement("button",_e({},h,{type:"button",role:"switch","aria-checked":_,disabled:l,className:x,ref:t,onKeyDown:C,onClick:T}),u,c.createElement("span",{className:"".concat(a,"-inner")},c.createElement("span",{className:"".concat(a,"-inner-checked")},d),c.createElement("span",{className:"".concat(a,"-inner-unchecked")},p)))});Gee.displayName="Switch";const dDe=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:a,innerMinMarginSM:i,innerMaxMarginSM:o,handleSizeSM:s,calc:l}=e,u=`${t}-inner`,d=Q(l(s).add(l(r).mul(2)).equal()),p=Q(l(o).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:a,height:n,lineHeight:Q(n),[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:i,[`${u}-checked, ${u}-unchecked`]:{minHeight:n},[`${u}-checked`]:{marginInlineStart:`calc(-100% + ${d} - ${p})`,marginInlineEnd:`calc(100% - ${d} + ${p})`},[`${u}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${u}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${u}-unchecked`]:{marginInlineStart:`calc(100% - ${d} + ${p})`,marginInlineEnd:`calc(-100% + ${d} - ${p})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${Q(l(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${u}`]:{[`${u}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${u}`]:{[`${u}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},pDe=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}}}},fDe=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:a,handleSize:i,calc:o}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:i,height:i,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:o(i).div(2).equal(),boxShadow:a,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${Q(o(i).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},mDe=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:a,innerMaxMargin:i,handleSize:o,calc:s}=e,l=`${t}-inner`,u=Q(s(o).add(s(r).mul(2)).equal()),d=Q(s(i).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:i,paddingInlineEnd:a,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-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},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${l}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:a,paddingInlineEnd:i,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},gDe=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},on(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:Q(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}}),Bo(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"}})}},hDe=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:a}=e,i=t*n,o=r/2,s=2,l=i-s*2,u=o-s*2;return{trackHeight:i,trackHeightSM:o,trackMinWidth:l*2+s*4,trackMinWidthSM:u*2+s*2,trackPadding:s,handleBg:a,handleSize:l,handleSizeSM:u,handleShadow:`0 2px 4px 0 ${new an("#00230b").setAlpha(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+s+s*2,innerMinMarginSM:u/2,innerMaxMarginSM:u+s+s*2}},vDe=cn("Switch",e=>{const t=Ht(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[gDe(t),mDe(t),fDe(t),pDe(t),dDe(t)]},hDe);var _De=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:i,className:o,rootClassName:s,style:l,checked:u,value:d,defaultChecked:p,defaultValue:f,onChange:m}=e,g=_De(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[h,v]=ln(!1,{value:u??d,defaultValue:p??f}),{getPrefixCls:S,direction:_,switch:E}=c.useContext(lt),y=c.useContext(ea),C=(a??y)||i,T=S("switch",n),x=c.createElement("div",{className:`${T}-handle`},i&&c.createElement(Ss,{className:`${T}-loading-icon`})),[R,w,I]=vDe(T),O=xr(r),k=ie(E==null?void 0:E.className,{[`${T}-small`]:O==="small",[`${T}-loading`]:i,[`${T}-rtl`]:_==="rtl"},o,s,w,I),P=Object.assign(Object.assign({},E==null?void 0:E.style),l),M=function(){v(arguments.length<=0?void 0:arguments[0]),m==null||m.apply(void 0,arguments)};return R(c.createElement(Qm,{component:"Switch"},c.createElement(Gee,Object.assign({},g,{checked:h,onChange:M,prefixCls:T,className:k,style:P,disabled:C,ref:t,loadingIcon:x}))))}),$a=bDe;$a.__ANT_SWITCH=!0;var js={},vg="rc-table-internal-hook";function Vk(e){var t=c.createContext(void 0),n=function(a){var i=a.value,o=a.children,s=c.useRef(i);s.current=i;var l=c.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),u=oe(l,1),d=u[0];return Qt(function(){Ur.unstable_batchedUpdates(function(){d.listeners.forEach(function(p){p(i)})})},[i]),c.createElement(t.Provider,{value:d},o)};return{Context:t,Provider:n,defaultValue:e}}function Ca(e,t){var n=Wt(typeof t=="function"?t:function(p){if(t===void 0)return p;if(!Array.isArray(t))return p[t];var f={};return t.forEach(function(m){f[m]=p[m]}),f}),r=c.useContext(e==null?void 0:e.Context),a=r||{},i=a.listeners,o=a.getValue,s=c.useRef();s.current=n(r?o():e==null?void 0:e.defaultValue);var l=c.useState({}),u=oe(l,2),d=u[1];return Qt(function(){if(!r)return;function p(f){var m=n(f);Ui(s.current,m,!0)||d({})}return i.add(p),function(){i.delete(p)}},[r]),s.current}function SDe(){var e=c.createContext(null);function t(){return c.useContext(e)}function n(a,i){var o=fo(a),s=function(u,d){var p=o?{ref:d}:{},f=c.useRef(0),m=c.useRef(u),g=t();return g!==null?c.createElement(a,_e({},u,p)):((!i||i(m.current,u))&&(f.current+=1),m.current=u,c.createElement(e.Provider,{value:f.current},c.createElement(a,_e({},u,p))))};return o?c.forwardRef(s):s}function r(a,i){var o=fo(a),s=function(u,d){var p=o?{ref:d}:{};return t(),c.createElement(a,_e({},u,p))};return o?c.memo(c.forwardRef(s),i):c.memo(s,i)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var qk=SDe(),Vee=qk.makeImmutable,rp=qk.responseImmutable,EDe=qk.useImmutableMark,Ka=Vk(),qee=c.createContext({renderWithProps:!1}),yDe="RC_TABLE_KEY";function CDe(e){return e==null?[]:Array.isArray(e)?e:[e]}function hS(e){var t=[],n={};return e.forEach(function(r){for(var a=r||{},i=a.key,o=a.dataIndex,s=i||CDe(o).join("-")||yDe;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function RD(e){return e!=null}function TDe(e){return e&>(e)==="object"&&!Array.isArray(e)&&!c.isValidElement(e)}function xDe(e,t,n,r,a,i){var o=c.useContext(qee),s=EDe(),l=wl(function(){if(RD(r))return[r];var u=t==null||t===""?[]:Array.isArray(t)?t:[t],d=li(e,u),p=d,f=void 0;if(a){var m=a(d,e,n);TDe(m)?(p=m.children,f=m.props,o.renderWithProps=!0):p=m}return[p,f]},[s,e,r,t,a,n],function(u,d){if(i){var p=oe(u,2),f=p[1],m=oe(d,2),g=m[1];return i(g,f)}return o.renderWithProps?!0:!Ui(u,d,!0)});return l}function RDe(e,t,n,r){var a=e+t-1;return e<=r&&a>=n}function wDe(e,t){return Ca(Ka,function(n){var r=RDe(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var IDe=function(t){var n=t.ellipsis,r=t.rowType,a=t.children,i,o=n===!0?{showTitle:!0}:n;return o&&(o.showTitle||r==="header")&&(typeof a=="string"||typeof a=="number"?i=a.toString():c.isValidElement(a)&&typeof a.props.children=="string"&&(i=a.props.children)),i};function ODe(e){var t,n,r,a,i,o,s,l,u=e.component,d=e.children,p=e.ellipsis,f=e.scope,m=e.prefixCls,g=e.className,h=e.align,v=e.record,S=e.render,_=e.dataIndex,E=e.renderIndex,y=e.shouldCellUpdate,C=e.index,T=e.rowType,x=e.colSpan,R=e.rowSpan,w=e.fixLeft,I=e.fixRight,O=e.firstFixLeft,k=e.lastFixLeft,P=e.firstFixRight,M=e.lastFixRight,N=e.appendNode,A=e.additionalProps,D=A===void 0?{}:A,L=e.isSticky,$="".concat(m,"-cell"),F=Ca(Ka,["supportSticky","allColumnsFixedLeft","rowHoverable"]),B=F.supportSticky,z=F.allColumnsFixedLeft,U=F.rowHoverable,j=xDe(v,_,E,d,S,y),G=oe(j,2),J=G[0],Y=G[1],X={},V=typeof w=="number"&&B,H=typeof I=="number"&&B;V&&(X.position="sticky",X.left=w),H&&(X.position="sticky",X.right=I);var q=(t=(n=(r=Y==null?void 0:Y.colSpan)!==null&&r!==void 0?r:D.colSpan)!==null&&n!==void 0?n:x)!==null&&t!==void 0?t:1,K=(a=(i=(o=Y==null?void 0:Y.rowSpan)!==null&&o!==void 0?o:D.rowSpan)!==null&&i!==void 0?i:R)!==null&&a!==void 0?a:1,Z=wDe(C,K),te=oe(Z,2),se=te[0],ue=te[1],me=Wt(function(ae){var le;v&&ue(C,C+K-1),D==null||(le=D.onMouseEnter)===null||le===void 0||le.call(D,ae)}),de=Wt(function(ae){var le;v&&ue(-1,-1),D==null||(le=D.onMouseLeave)===null||le===void 0||le.call(D,ae)});if(q===0||K===0)return null;var Te=(s=D.title)!==null&&s!==void 0?s:IDe({rowType:T,ellipsis:p,children:J}),Ee=ie($,g,(l={},W(l,"".concat($,"-fix-left"),V&&B),W(l,"".concat($,"-fix-left-first"),O&&B),W(l,"".concat($,"-fix-left-last"),k&&B),W(l,"".concat($,"-fix-left-all"),k&&z&&B),W(l,"".concat($,"-fix-right"),H&&B),W(l,"".concat($,"-fix-right-first"),P&&B),W(l,"".concat($,"-fix-right-last"),M&&B),W(l,"".concat($,"-ellipsis"),p),W(l,"".concat($,"-with-append"),N),W(l,"".concat($,"-fix-sticky"),(V||H)&&L&&B),W(l,"".concat($,"-row-hover"),!Y&&se),l),D.className,Y==null?void 0:Y.className),ge={};h&&(ge.textAlign=h);var re=ee(ee(ee(ee({},X),D.style),ge),Y==null?void 0:Y.style),ne=J;return gt(ne)==="object"&&!Array.isArray(ne)&&!c.isValidElement(ne)&&(ne=null),p&&(k||P)&&(ne=c.createElement("span",{className:"".concat($,"-content")},ne)),c.createElement(u,_e({},Y,D,{className:Ee,style:re,title:Te,scope:f,onMouseEnter:U?me:void 0,onMouseLeave:U?de:void 0,colSpan:q!==1?q:null,rowSpan:K!==1?K:null}),N,ne)}const Gc=c.memo(ODe);function Wk(e,t,n,r,a){var i=n[e]||{},o=n[t]||{},s,l;i.fixed==="left"?s=r.left[a==="rtl"?t:e]:o.fixed==="right"&&(l=r.right[a==="rtl"?e:t]);var u=!1,d=!1,p=!1,f=!1,m=n[t+1],g=n[e-1],h=m&&!m.fixed||g&&!g.fixed||n.every(function(y){return y.fixed==="left"});if(a==="rtl"){if(s!==void 0){var v=g&&g.fixed==="left";f=!v&&h}else if(l!==void 0){var S=m&&m.fixed==="right";p=!S&&h}}else if(s!==void 0){var _=m&&m.fixed==="left";u=!_&&h}else if(l!==void 0){var E=g&&g.fixed==="right";d=!E&&h}return{fixLeft:s,fixRight:l,lastFixLeft:u,firstFixRight:d,lastFixRight:p,firstFixLeft:f,isSticky:r.isSticky}}var Wee=c.createContext({});function NDe(e){var t=e.className,n=e.index,r=e.children,a=e.colSpan,i=a===void 0?1:a,o=e.rowSpan,s=e.align,l=Ca(Ka,["prefixCls","direction"]),u=l.prefixCls,d=l.direction,p=c.useContext(Wee),f=p.scrollColumnIndex,m=p.stickyOffsets,g=p.flattenColumns,h=n+i-1,v=h+1===f?i+1:i,S=Wk(n,n+v-1,g,m,d);return c.createElement(Gc,_e({className:t,index:n,component:"td",prefixCls:u,record:null,dataIndex:null,align:s,colSpan:v,rowSpan:o,render:function(){return r}},S))}var ADe=["children"];function DDe(e){var t=e.children,n=Et(e,ADe);return c.createElement("tr",n,t)}function vS(e){var t=e.children;return t}vS.Row=DDe;vS.Cell=NDe;function MDe(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,a=Ca(Ka,"prefixCls"),i=r.length-1,o=r[i],s=c.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:o!=null&&o.scrollbar?i:null}},[o,r,i,n]);return c.createElement(Wee.Provider,{value:s},c.createElement("tfoot",{className:"".concat(a,"-summary")},t))}const Th=rp(MDe);var Yee=vS;function LDe(e){return null}function kDe(e){return null}function Kee(e,t,n,r,a,i,o){e.push({record:t,indent:n,index:o});var s=i(t),l=a==null?void 0:a.has(s);if(t&&Array.isArray(t[r])&&l)for(var u=0;u1?O-1:0),P=1;P=1?C:""),style:ee(ee({},n),S==null?void 0:S.style)}),g.map(function(w,I){var O=w.render,k=w.dataIndex,P=w.className,M=Jee(f,w,I,l,a),N=M.key,A=M.fixedInfo,D=M.appendCellNode,L=M.additionalCellProps;return c.createElement(Gc,_e({className:P,ellipsis:w.ellipsis,align:w.align,scope:w.rowScope,component:w.rowScope?p:d,prefixCls:m,key:N,record:r,index:a,renderIndex:i,dataIndex:k,render:O,shouldCellUpdate:w.shouldCellUpdate},A,{appendNode:D,additionalProps:L}))})),x;if(E&&(y.current||_)){var R=v(r,a,l+1,_);x=c.createElement(Zee,{expanded:_,className:ie("".concat(m,"-expanded-row"),"".concat(m,"-expanded-row-level-").concat(l+1),C),prefixCls:m,component:u,cellComponent:d,colSpan:g.length,isEmpty:!1},R)}return c.createElement(c.Fragment,null,T,x)}const $De=rp(PDe);function FDe(e){var t=e.columnKey,n=e.onColumnResize,r=c.useRef();return c.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),c.createElement(da,{data:t},c.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},c.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function BDe(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return c.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},c.createElement(da.Collection,{onBatchResize:function(i){i.forEach(function(o){var s=o.data,l=o.size;r(s,l.offsetWidth)})}},n.map(function(a){return c.createElement(FDe,{key:a,columnKey:a,onColumnResize:r})})))}function UDe(e){var t=e.data,n=e.measureColumnWidth,r=Ca(Ka,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),a=r.prefixCls,i=r.getComponent,o=r.onColumnResize,s=r.flattenColumns,l=r.getRowKey,u=r.expandedKeys,d=r.childrenColumnName,p=r.emptyNode,f=Xee(t,d,u,l),m=c.useRef({renderWithProps:!1}),g=i(["body","wrapper"],"tbody"),h=i(["body","row"],"tr"),v=i(["body","cell"],"td"),S=i(["body","cell"],"th"),_;t.length?_=f.map(function(y,C){var T=y.record,x=y.indent,R=y.index,w=l(T,C);return c.createElement($De,{key:w,rowKey:w,record:T,index:C,renderIndex:R,rowComponent:h,cellComponent:v,scopeCellComponent:S,getRowKey:l,indent:x})}):_=c.createElement(Zee,{expanded:!0,className:"".concat(a,"-placeholder"),prefixCls:a,component:h,cellComponent:v,colSpan:s.length,isEmpty:!0},p);var E=hS(s);return c.createElement(qee.Provider,{value:m.current},c.createElement(g,{className:"".concat(a,"-tbody")},n&&c.createElement(BDe,{prefixCls:a,columnsKey:E,onColumnResize:o}),_))}const jDe=rp(UDe);var zDe=["expandable"],Rf="RC_TABLE_INTERNAL_COL_DEFINE";function HDe(e){var t=e.expandable,n=Et(e,zDe),r;return"expandable"in e?r=ee(ee({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var GDe=["columnType"];function ete(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,a=[],i=r||n.length,o=!1,s=i-1;s>=0;s-=1){var l=t[s],u=n&&n[s],d=u&&u[Rf];if(l||d||o){var p=d||{};p.columnType;var f=Et(p,GDe);a.unshift(c.createElement("col",_e({key:s,style:{width:l}},f))),o=!0}}return c.createElement("colgroup",null,a)}var VDe=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function qDe(e,t){return c.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:v.ellipsis,align:v.align,component:o,prefixCls:d,key:m[h]},S,{additionalProps:_,rowType:"header"}))}))};function KDe(e){var t=[];function n(o,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[l]=t[l]||[];var u=s,d=o.filter(Boolean).map(function(p){var f={key:p.key,className:p.className||"",children:p.title,column:p,colStart:u},m=1,g=p.children;return g&&g.length>0&&(m=n(g,u,l+1).reduce(function(h,v){return h+v},0),f.hasSubColumns=!0),"colSpan"in p&&(m=p.colSpan),"rowSpan"in p&&(f.rowSpan=p.rowSpan),f.colSpan=m,f.colEnd=f.colStart+m-1,t[l].push(f),u+=m,m});return d}n(e,0);for(var r=t.length,a=function(s){t[s].forEach(function(l){!("rowSpan"in l)&&!l.hasSubColumns&&(l.rowSpan=r-s)})},i=0;i1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function QDe(e,t,n){return c.useMemo(function(){if(t&&t>0){var r=0,a=0;e.forEach(function(f){var m=D4(t,f.width);m?r+=m:a+=1});var i=Math.max(t,n),o=Math.max(i-r,a),s=a,l=o/a,u=0,d=e.map(function(f){var m=ee({},f),g=D4(t,m.width);if(g)m.width=g;else{var h=Math.floor(l);m.width=s===1?o:h,o-=h,s-=1}return u+=m.width,m});if(u0?ee(ee({},t),{},{children:tte(n)}):t})}function wD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&>(n)==="object"}).reduce(function(n,r,a){var i=r.fixed,o=i===!0?"left":i,s="".concat(t,"-").concat(a),l=r.children;return l&&l.length>0?[].concat($e(n),$e(wD(l,s).map(function(u){return ee({fixed:o},u)}))):[].concat($e(n),[ee(ee({key:s},r),{},{fixed:o})])},[])}function eMe(e){return e.map(function(t){var n=t.fixed,r=Et(t,JDe),a=n;return n==="left"?a="right":n==="right"&&(a="left"),ee({fixed:a},r)})}function tMe(e,t){var n=e.prefixCls,r=e.columns,a=e.children,i=e.expandable,o=e.expandedKeys,s=e.columnTitle,l=e.getRowKey,u=e.onTriggerExpand,d=e.expandIcon,p=e.rowExpandable,f=e.expandIconColumnIndex,m=e.direction,g=e.expandRowByClick,h=e.columnWidth,v=e.fixed,S=e.scrollWidth,_=e.clientWidth,E=c.useMemo(function(){var k=r||Yk(a)||[];return tte(k.slice())},[r,a]),y=c.useMemo(function(){if(i){var k,P=E.slice();if(!P.includes(js)){var M=f||0;M>=0&&P.splice(M,0,js)}var N=P.indexOf(js);P=P.filter(function($,F){return $!==js||F===N});var A=E[N],D;(v==="left"||v)&&!f?D="left":(v==="right"||v)&&f===E.length?D="right":D=A?A.fixed:null;var L=(k={},W(k,Rf,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),W(k,"title",s),W(k,"fixed",D),W(k,"className","".concat(n,"-row-expand-icon-cell")),W(k,"width",h),W(k,"render",function(F,B,z){var U=l(B,z),j=o.has(U),G=p?p(B):!0,J=d({prefixCls:n,expanded:j,expandable:G,record:B,onExpand:u});return g?c.createElement("span",{onClick:function(X){return X.stopPropagation()}},J):J}),k);return P.map(function($){return $===js?L:$})}return E.filter(function($){return $!==js})},[i,E,l,o,d,m]),C=c.useMemo(function(){var k=y;return t&&(k=t(k)),k.length||(k=[{render:function(){return null}}]),k},[t,y,m]),T=c.useMemo(function(){return m==="rtl"?eMe(wD(C)):wD(C)},[C,m,S]),x=c.useMemo(function(){for(var k=-1,P=T.length-1;P>=0;P-=1){var M=T[P].fixed;if(M==="left"||M===!0){k=P;break}}if(k>=0)for(var N=0;N<=k;N+=1){var A=T[N].fixed;if(A!=="left"&&A!==!0)return!0}var D=T.findIndex(function(F){var B=F.fixed;return B==="right"});if(D>=0)for(var L=D;L=p&&(L=p-f),o({scrollLeft:L/p*(d+2)}),_.current.x=M.pageX},O=function(){x.current=Gt(function(){if(i.current){var M=SD(i.current).top,N=M+i.current.offsetHeight,A=l===window?document.documentElement.scrollTop+window.innerHeight:SD(l).top+l.clientHeight;N-uB()<=A||M>=A-s?S(function(D){return ee(ee({},D),{},{isHiddenScrollBar:!0})}):S(function(D){return ee(ee({},D),{},{isHiddenScrollBar:!1})})}})},k=function(M){S(function(N){return ee(ee({},N),{},{scrollLeft:M/d*p||0})})};return c.useImperativeHandle(n,function(){return{setScrollLeft:k,checkScrollBarVisible:O}}),c.useEffect(function(){var P=Mo(document.body,"mouseup",R,!1),M=Mo(document.body,"mousemove",I,!1);return O(),function(){P.remove(),M.remove()}},[f,C]),c.useEffect(function(){var P=Mo(l,"scroll",O,!1),M=Mo(window,"resize",O,!1);return function(){P.remove(),M.remove()}},[l]),c.useEffect(function(){v.isHiddenScrollBar||S(function(P){var M=i.current;return M?ee(ee({},P),{},{scrollLeft:M.scrollLeft/M.scrollWidth*M.clientWidth}):P})},[v.isHiddenScrollBar]),d<=p||!f||v.isHiddenScrollBar?null:c.createElement("div",{style:{height:uB(),width:p,bottom:s},className:"".concat(u,"-sticky-scroll")},c.createElement("div",{onMouseDown:w,ref:m,className:ie("".concat(u,"-sticky-scroll-bar"),W({},"".concat(u,"-sticky-scroll-bar-active"),C)),style:{width:"".concat(f,"px"),transform:"translate3d(".concat(v.scrollLeft,"px, 0, 0)")}}))};const dMe=c.forwardRef(uMe);var rte="rc-table",pMe=[],fMe={};function mMe(){return"No Data"}function gMe(e,t){var n,r=ee({rowKey:"key",prefixCls:rte,emptyText:mMe},e),a=r.prefixCls,i=r.className,o=r.rowClassName,s=r.style,l=r.data,u=r.rowKey,d=r.scroll,p=r.tableLayout,f=r.direction,m=r.title,g=r.footer,h=r.summary,v=r.caption,S=r.id,_=r.showHeader,E=r.components,y=r.emptyText,C=r.onRow,T=r.onHeaderRow,x=r.onScroll,R=r.internalHooks,w=r.transformColumns,I=r.internalRefs,O=r.tailor,k=r.getContainerWidth,P=r.sticky,M=r.rowHoverable,N=M===void 0?!0:M,A=l||pMe,D=!!A.length,L=R===vg,$=c.useCallback(function(ut,Pt){return li(E,ut)||Pt},[E]),F=c.useMemo(function(){return typeof u=="function"?u:function(ut){var Pt=ut&&ut[u];return Pt}},[u]),B=$(["body"]),z=sMe(),U=oe(z,3),j=U[0],G=U[1],J=U[2],Y=aMe(r,A,F),X=oe(Y,6),V=X[0],H=X[1],q=X[2],K=X[3],Z=X[4],te=X[5],se=d==null?void 0:d.x,ue=c.useState(0),me=oe(ue,2),de=me[0],Te=me[1],Ee=tMe(ee(ee(ee({},r),V),{},{expandable:!!V.expandedRowRender,columnTitle:V.columnTitle,expandedKeys:q,getRowKey:F,onTriggerExpand:te,expandIcon:K,expandIconColumnIndex:V.expandIconColumnIndex,direction:f,scrollWidth:L&&O&&typeof se=="number"?se:null,clientWidth:de}),L?w:null),ge=oe(Ee,4),re=ge[0],ne=ge[1],ae=ge[2],le=ge[3],pe=ae??se,Re=c.useMemo(function(){return{columns:re,flattenColumns:ne}},[re,ne]),Se=c.useRef(),Pe=c.useRef(),fe=c.useRef(),ve=c.useRef();c.useImperativeHandle(t,function(){return{nativeElement:Se.current,scrollTo:function(Pt){var mn;if(fe.current instanceof HTMLElement){var pr=Pt.index,pn=Pt.top,Ir=Pt.key;if(pn){var Or;(Or=fe.current)===null||Or===void 0||Or.scrollTo({top:pn})}else{var Sr,sa=Ir??F(A[pr]);(Sr=fe.current.querySelector('[data-row-key="'.concat(sa,'"]')))===null||Sr===void 0||Sr.scrollIntoView()}}else(mn=fe.current)!==null&&mn!==void 0&&mn.scrollTo&&fe.current.scrollTo(Pt)}}});var Ae=c.useRef(),ye=c.useState(!1),be=oe(ye,2),Ne=be[0],Ie=be[1],xe=c.useState(!1),ke=oe(xe,2),rt=ke[0],Me=ke[1],Ce=nte(new Map),De=oe(Ce,2),Ue=De[0],Ye=De[1],He=hS(ne),ze=He.map(function(ut){return Ue.get(ut)}),Xe=c.useMemo(function(){return ze},[ze.join("_")]),Be=cMe(Xe,ne,f),Je=d&&RD(d.y),mt=d&&RD(pe)||!!V.fixed,pt=mt&&ne.some(function(ut){var Pt=ut.fixed;return Pt}),We=c.useRef(),Ve=lMe(P,a),Ze=Ve.isSticky,dt=Ve.offsetHeader,It=Ve.offsetSummary,Nt=Ve.offsetScroll,ht=Ve.stickyClassName,ct=Ve.container,ot=c.useMemo(function(){return h==null?void 0:h(A)},[h,A]),et=(Je||Ze)&&c.isValidElement(ot)&&ot.type===vS&&ot.props.fixed,vt,nt,bt;Je&&(nt={overflowY:"scroll",maxHeight:d.y}),mt&&(vt={overflowX:"auto"},Je||(nt={overflowY:"hidden"}),bt={width:pe===!0?"auto":pe,minWidth:"100%"});var Ct=c.useCallback(function(ut,Pt){qd(Se.current)&&Ye(function(mn){if(mn.get(ut)!==Pt){var pr=new Map(mn);return pr.set(ut,Pt),pr}return mn})},[]),tt=oMe(),it=oe(tt,2),Ke=it[0],qe=it[1];function _t(ut,Pt){Pt&&(typeof Pt=="function"?Pt(ut):Pt.scrollLeft!==ut&&(Pt.scrollLeft=ut,Pt.scrollLeft!==ut&&setTimeout(function(){Pt.scrollLeft=ut},0)))}var xt=Wt(function(ut){var Pt=ut.currentTarget,mn=ut.scrollLeft,pr=f==="rtl",pn=typeof mn=="number"?mn:Pt.scrollLeft,Ir=Pt||fMe;if(!qe()||qe()===Ir){var Or;Ke(Ir),_t(pn,Pe.current),_t(pn,fe.current),_t(pn,Ae.current),_t(pn,(Or=We.current)===null||Or===void 0?void 0:Or.setScrollLeft)}var Sr=Pt||Pe.current;if(Sr){var sa=Sr.scrollWidth,Ja=Sr.clientWidth;if(sa===Ja){Ie(!1),Me(!1);return}pr?(Ie(-pn0)):(Ie(pn>0),Me(pn1?v-M:0,A=ee(ee(ee({},R),u),{},{flex:"0 0 ".concat(M,"px"),width:"".concat(M,"px"),marginRight:N,pointerEvents:"auto"}),D=c.useMemo(function(){return p?k<=1:I===0||k===0||k>1},[k,I,p]);D?A.visibility="hidden":p&&(A.height=f==null?void 0:f(k));var L=D?function(){return null}:m,$={};return(k===0||I===0)&&($.rowSpan=1,$.colSpan=1),c.createElement(Gc,_e({className:ie(h,d),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:o,prefixCls:t.prefixCls,key:y,record:l,index:i,renderIndex:s,dataIndex:g,render:L,shouldCellUpdate:n.shouldCellUpdate},C,{appendNode:T,additionalProps:ee(ee({},x),{},{style:A},$)}))}var bMe=["data","index","className","rowKey","style","extra","getHeight"],SMe=c.forwardRef(function(e,t){var n=e.data,r=e.index,a=e.className,i=e.rowKey,o=e.style,s=e.extra,l=e.getHeight,u=Et(e,bMe),d=n.record,p=n.indent,f=n.index,m=Ca(Ka,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),g=m.scrollX,h=m.flattenColumns,v=m.prefixCls,S=m.fixColumn,_=m.componentWidth,E=Ca(Kk,["getComponent"]),y=E.getComponent,C=Qee(d,i,r,p),T=y(["body","row"],"div"),x=y(["body","cell"],"div"),R=C.rowSupportExpand,w=C.expanded,I=C.rowProps,O=C.expandedRowRender,k=C.expandedRowClassName,P;if(R&&w){var M=O(d,r,p+1,w),N=k==null?void 0:k(d,r,p),A={};S&&(A={style:W({},"--virtual-width","".concat(_,"px"))});var D="".concat(v,"-expanded-row-cell");P=c.createElement(T,{className:ie("".concat(v,"-expanded-row"),"".concat(v,"-expanded-row-level-").concat(p+1),N)},c.createElement(Gc,{component:x,prefixCls:v,className:ie(D,W({},"".concat(D,"-fixed"),S)),additionalProps:A},M))}var L=ee(ee({},o),{},{width:g});s&&(L.position="absolute",L.pointerEvents="none");var $=c.createElement(T,_e({},I,u,{"data-row-key":i,ref:R?null:t,className:ie(a,"".concat(v,"-row"),I==null?void 0:I.className,W({},"".concat(v,"-row-extra"),s)),style:ee(ee({},L),I==null?void 0:I.style)}),h.map(function(F,B){return c.createElement(_Me,{key:B,component:x,rowInfo:C,column:F,colIndex:B,indent:p,index:r,renderIndex:f,record:d,inverse:s,getHeight:l})}));return R?c.createElement("div",{ref:t},$,P):$}),k4=rp(SMe),EMe=c.forwardRef(function(e,t){var n=e.data,r=e.onScroll,a=Ca(Ka,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),i=a.flattenColumns,o=a.onColumnResize,s=a.getRowKey,l=a.expandedKeys,u=a.prefixCls,d=a.childrenColumnName,p=a.emptyNode,f=a.scrollX,m=Ca(Kk),g=m.sticky,h=m.scrollY,v=m.listItemHeight,S=m.getComponent,_=m.onScroll,E=c.useRef(),y=Xee(n,d,l,s),C=c.useMemo(function(){var A=0;return i.map(function(D){var L=D.width,$=D.key;return A+=L,[$,L,A]})},[i]),T=c.useMemo(function(){return C.map(function(A){return A[2]})},[C]);c.useEffect(function(){C.forEach(function(A){var D=oe(A,2),L=D[0],$=D[1];o(L,$)})},[C]),c.useImperativeHandle(t,function(){var A={scrollTo:function(L){var $;($=E.current)===null||$===void 0||$.scrollTo(L)}};return Object.defineProperty(A,"scrollLeft",{get:function(){var L;return((L=E.current)===null||L===void 0?void 0:L.getScrollInfo().x)||0},set:function(L){var $;($=E.current)===null||$===void 0||$.scrollTo({left:L})}}),A});var x=function(D,L){var $,F=($=y[L])===null||$===void 0?void 0:$.record,B=D.onCell;if(B){var z,U=B(F,L);return(z=U==null?void 0:U.rowSpan)!==null&&z!==void 0?z:1}return 1},R=function(D){var L=D.start,$=D.end,F=D.getSize,B=D.offsetY;if($<0)return null;for(var z=i.filter(function(te){return x(te,L)===0}),U=L,j=function(se){if(z=z.filter(function(ue){return x(ue,se)===0}),!z.length)return U=se,1},G=L;G>=0&&!j(G);G-=1);for(var J=i.filter(function(te){return x(te,$)!==1}),Y=$,X=function(se){if(J=J.filter(function(ue){return x(ue,se)!==1}),!J.length)return Y=Math.max(se-1,$),1},V=$;V1})&&H.push(se)},K=U;K<=Y;K+=1)q(K);var Z=H.map(function(te){var se=y[te],ue=s(se.record,te),me=function(Ee){var ge=te+Ee-1,re=s(y[ge].record,ge),ne=F(ue,re);return ne.bottom-ne.top},de=F(ue);return c.createElement(k4,{key:te,data:se,rowKey:ue,index:te,style:{top:-B+de.top},extra:!0,getHeight:me})});return Z},w=c.useMemo(function(){return{columnsOffset:T}},[T]),I="".concat(u,"-tbody"),O=S(["body","wrapper"]),k=S(["body","row"],"div"),P=S(["body","cell"],"div"),M;if(y.length){var N={};g&&(N.position="sticky",N.bottom=0,gt(g)==="object"&&g.offsetScroll&&(N.bottom=g.offsetScroll)),M=c.createElement(Ub,{fullHeight:!1,ref:E,prefixCls:"".concat(I,"-virtual"),styles:{horizontalScrollBar:N},className:I,height:h,itemHeight:v||24,data:y,itemKey:function(D){return s(D.record)},component:O,scrollWidth:f,onVirtualScroll:function(D){var L=D.x;r({scrollLeft:L})},onScroll:_,extraRender:R},function(A,D,L){var $=s(A.record,D);return c.createElement(k4,{data:A,rowKey:$,index:D,style:L.style})})}else M=c.createElement(k,{className:ie("".concat(u,"-placeholder"))},c.createElement(Gc,{component:P,prefixCls:u},p));return c.createElement(ite.Provider,{value:w},M)}),yMe=rp(EMe),CMe=function(t,n){var r=n.ref,a=n.onScroll;return c.createElement(yMe,{ref:r,data:t,onScroll:a})};function TMe(e,t){var n=e.columns,r=e.scroll,a=e.sticky,i=e.prefixCls,o=i===void 0?rte:i,s=e.className,l=e.listItemHeight,u=e.components,d=e.onScroll,p=r||{},f=p.x,m=p.y;typeof f!="number"&&(f=1),typeof m!="number"&&(m=500);var g=Wt(function(S,_){return li(u,S)||_}),h=Wt(d),v=c.useMemo(function(){return{sticky:a,scrollY:m,listItemHeight:l,getComponent:g,onScroll:h}},[a,m,l,g,h]);return c.createElement(Kk.Provider,{value:v},c.createElement(ap,_e({},e,{className:ie(s,"".concat(o,"-virtual")),scroll:ee(ee({},r),{},{x:f}),components:ee(ee({},u),{},{body:CMe}),columns:n,internalHooks:vg,tailor:!0,ref:t})))}var xMe=c.forwardRef(TMe);function ote(e){return Vee(xMe,e)}ote();const RMe=e=>null,wMe=e=>null;var Xk=c.createContext(null),IMe=function(t){for(var n=t.prefixCls,r=t.level,a=t.isStart,i=t.isEnd,o="".concat(n,"-indent-unit"),s=[],l=0;l=0&&n.splice(r,1),n}function es(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function Qk(e){return e.split("-")}function MMe(e,t){var n=[],r=Ua(t,e);function a(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];i.forEach(function(o){var s=o.key,l=o.children;n.push(s),a(l)})}return a(r.children),n}function LMe(e){if(e.parent){var t=Qk(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function kMe(e){var t=Qk(e.pos);return Number(t[t.length-1])===0}function F4(e,t,n,r,a,i,o,s,l,u){var d,p=e.clientX,f=e.clientY,m=e.target.getBoundingClientRect(),g=m.top,h=m.height,v=(u==="rtl"?-1:1)*(((a==null?void 0:a.x)||0)-p),S=(v-12)/r,_=l.filter(function(A){var D;return(D=s[A])===null||D===void 0||(D=D.children)===null||D===void 0?void 0:D.length}),E=Ua(s,n.props.eventKey);if(f-1.5?i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1:i({dragNode:P,dropNode:M,dropPosition:0})?I=0:i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1:i({dragNode:P,dropNode:M,dropPosition:1})?I=1:N=!1,{dropPosition:I,dropLevelOffset:O,dropTargetKey:E.key,dropTargetPos:E.pos,dragOverNodeKey:w,dropContainerKey:I===0?null:((d=E.parent)===null||d===void 0?void 0:d.key)||null,dropAllowed:N}}function B4(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function Iy(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(gt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return bn(!1,"`checkedKeys` is not an array or an object"),null;return t}function ID(e,t){var n=new Set;function r(a){if(!n.has(a)){var i=Ua(t,a);if(i){n.add(a);var o=i.parent,s=i.node;s.disabled||o&&r(o.key)}}}return(e||[]).forEach(function(a){r(a)}),$e(n)}function PMe(e){const[t,n]=c.useState(null);return[c.useCallback((i,o,s)=>{const l=t??i,u=Math.min(l||0,i),d=Math.max(l||0,i),p=o.slice(u,d+1).map(g=>e(g)),f=p.some(g=>!s.has(g)),m=[];return p.forEach(g=>{f?(s.has(g)||m.push(g),s.add(g)):(s.delete(g),m.push(g))}),n(f?d:null),m},[t]),i=>{n(i)}]}const $s={},OD="SELECT_ALL",ND="SELECT_INVERT",AD="SELECT_NONE",U4=[],ste=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat($e(n),$e(ste(e,r[e]))))}),n},$Me=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:a,getCheckboxProps:i,onChange:o,onSelect:s,onSelectAll:l,onSelectInvert:u,onSelectNone:d,onSelectMultiple:p,columnWidth:f,type:m,selections:g,fixed:h,renderCell:v,hideSelectAll:S,checkStrictly:_=!0}=t||{},{prefixCls:E,data:y,pageData:C,getRecordByKey:T,getRowKey:x,expandType:R,childrenColumnName:w,locale:I,getPopupContainer:O}=e,k=Il(),[P,M]=PMe(q=>q),[N,A]=ln(r||a||U4,{value:r}),D=c.useRef(new Map),L=c.useCallback(q=>{if(n){const K=new Map;q.forEach(Z=>{let te=T(Z);!te&&D.current.has(Z)&&(te=D.current.get(Z)),K.set(Z,te)}),D.current=K}},[T,n]);c.useEffect(()=>{L(N)},[N]);const{keyEntities:$}=c.useMemo(()=>{if(_)return{keyEntities:null};let q=y;if(n){const K=new Set(y.map((te,se)=>x(te,se))),Z=Array.from(D.current).reduce((te,se)=>{let[ue,me]=se;return K.has(ue)?te:te.concat(me)},[]);q=[].concat($e(q),$e(Z))}return sS(q,{externalGetKey:x,childrenPropName:w})},[y,x,_,w,n]),F=c.useMemo(()=>ste(w,C),[w,C]),B=c.useMemo(()=>{const q=new Map;return F.forEach((K,Z)=>{const te=x(K,Z),se=(i?i(K):null)||{};q.set(te,se)}),q},[F,x,i]),z=c.useCallback(q=>{var K;return!!(!((K=B.get(x(q)))===null||K===void 0)&&K.disabled)},[B,x]),[U,j]=c.useMemo(()=>{if(_)return[N||[],[]];const{checkedKeys:q,halfCheckedKeys:K}=ms(N,!0,$,z);return[q||[],K]},[N,_,$,z]),G=c.useMemo(()=>{const q=m==="radio"?U.slice(0,1):U;return new Set(q)},[U,m]),J=c.useMemo(()=>m==="radio"?new Set:new Set(j),[j,m]);c.useEffect(()=>{t||A(U4)},[!!t]);const Y=c.useCallback((q,K)=>{let Z,te;L(q),n?(Z=q,te=q.map(se=>D.current.get(se))):(Z=[],te=[],q.forEach(se=>{const ue=T(se);ue!==void 0&&(Z.push(se),te.push(ue))})),A(Z),o==null||o(Z,te,{type:K})},[A,T,o,n]),X=c.useCallback((q,K,Z,te)=>{if(s){const se=Z.map(ue=>T(ue));s(T(q),K,se,te)}Y(Z,"single")},[s,T,Y]),V=c.useMemo(()=>!g||S?null:(g===!0?[OD,ND,AD]:g).map(K=>K===OD?{key:"all",text:I.selectionAll,onSelect(){Y(y.map((Z,te)=>x(Z,te)).filter(Z=>{const te=B.get(Z);return!(te!=null&&te.disabled)||G.has(Z)}),"all")}}:K===ND?{key:"invert",text:I.selectInvert,onSelect(){const Z=new Set(G);C.forEach((se,ue)=>{const me=x(se,ue),de=B.get(me);de!=null&&de.disabled||(Z.has(me)?Z.delete(me):Z.add(me))});const te=Array.from(Z);u&&(k.deprecated(!1,"onSelectInvert","onChange"),u(te)),Y(te,"invert")}}:K===AD?{key:"none",text:I.selectNone,onSelect(){d==null||d(),Y(Array.from(G).filter(Z=>{const te=B.get(Z);return te==null?void 0:te.disabled}),"none")}}:K).map(K=>Object.assign(Object.assign({},K),{onSelect:function(){for(var Z,te,se=arguments.length,ue=new Array(se),me=0;me{var K;if(!t)return q.filter(fe=>fe!==$s);let Z=$e(q);const te=new Set(G),se=F.map(x).filter(fe=>!B.get(fe).disabled),ue=se.every(fe=>te.has(fe)),me=se.some(fe=>te.has(fe)),de=()=>{const fe=[];ue?se.forEach(Ae=>{te.delete(Ae),fe.push(Ae)}):se.forEach(Ae=>{te.has(Ae)||(te.add(Ae),fe.push(Ae))});const ve=Array.from(te);l==null||l(!ue,ve.map(Ae=>T(Ae)),fe.map(Ae=>T(Ae))),Y(ve,"all"),M(null)};let Te,Ee;if(m!=="radio"){let fe;if(V){const Ne={getPopupContainer:O,items:V.map((Ie,xe)=>{const{key:ke,text:rt,onSelect:Me}=Ie;return{key:ke??xe,onClick:()=>{Me==null||Me(se)},label:rt}})};fe=c.createElement("div",{className:`${E}-selection-extra`},c.createElement(dS,{menu:Ne,getPopupContainer:O},c.createElement("span",null,c.createElement(Hb,null))))}const ve=F.map((Ne,Ie)=>{const xe=x(Ne,Ie),ke=B.get(xe)||{};return Object.assign({checked:te.has(xe)},ke)}).filter(Ne=>{let{disabled:Ie}=Ne;return Ie}),Ae=!!ve.length&&ve.length===F.length,ye=Ae&&ve.every(Ne=>{let{checked:Ie}=Ne;return Ie}),be=Ae&&ve.some(Ne=>{let{checked:Ie}=Ne;return Ie});Ee=c.createElement(Ts,{checked:Ae?ye:!!F.length&&ue,indeterminate:Ae?!ye&&be:!ue&&me,onChange:de,disabled:F.length===0||Ae,"aria-label":fe?"Custom selection":"Select all",skipGroup:!0}),Te=!S&&c.createElement("div",{className:`${E}-selection`},Ee,fe)}let ge;m==="radio"?ge=(fe,ve,Ae)=>{const ye=x(ve,Ae),be=te.has(ye);return{node:c.createElement(di,Object.assign({},B.get(ye),{checked:be,onClick:Ne=>Ne.stopPropagation(),onChange:Ne=>{te.has(ye)||X(ye,!0,[ye],Ne.nativeEvent)}})),checked:be}}:ge=(fe,ve,Ae)=>{var ye;const be=x(ve,Ae),Ne=te.has(be),Ie=J.has(be),xe=B.get(be);let ke;return R==="nest"?ke=Ie:ke=(ye=xe==null?void 0:xe.indeterminate)!==null&&ye!==void 0?ye:Ie,{node:c.createElement(Ts,Object.assign({},xe,{indeterminate:ke,checked:Ne,skipGroup:!0,onClick:rt=>rt.stopPropagation(),onChange:rt=>{let{nativeEvent:Me}=rt;const{shiftKey:Ce}=Me,De=se.findIndex(Ye=>Ye===be),Ue=U.some(Ye=>se.includes(Ye));if(Ce&&_&&Ue){const Ye=P(De,se,te),He=Array.from(te);p==null||p(!Ne,He.map(ze=>T(ze)),Ye.map(ze=>T(ze))),Y(He,"multiple")}else{const Ye=U;if(_){const He=Ne?To(Ye,be):es(Ye,be);X(be,!Ne,He,Me)}else{const He=ms([].concat($e(Ye),[be]),!0,$,z),{checkedKeys:ze,halfCheckedKeys:Xe}=He;let Be=ze;if(Ne){const Je=new Set(ze);Je.delete(be),Be=ms(Array.from(Je),{checked:!1,halfCheckedKeys:Xe},$,z).checkedKeys}X(be,!Ne,Be,Me)}}M(Ne?null:De)}})),checked:Ne}};const re=(fe,ve,Ae)=>{const{node:ye,checked:be}=ge(fe,ve,Ae);return v?v(be,ve,Ae,ye):ye};if(!Z.includes($s))if(Z.findIndex(fe=>{var ve;return((ve=fe[Rf])===null||ve===void 0?void 0:ve.columnType)==="EXPAND_COLUMN"})===0){const[fe,...ve]=Z;Z=[fe,$s].concat($e(ve))}else Z=[$s].concat($e(Z));const ne=Z.indexOf($s);Z=Z.filter((fe,ve)=>fe!==$s||ve===ne);const ae=Z[ne-1],le=Z[ne+1];let pe=h;pe===void 0&&((le==null?void 0:le.fixed)!==void 0?pe=le.fixed:(ae==null?void 0:ae.fixed)!==void 0&&(pe=ae.fixed)),pe&&ae&&((K=ae[Rf])===null||K===void 0?void 0:K.columnType)==="EXPAND_COLUMN"&&ae.fixed===void 0&&(ae.fixed=pe);const Re=ie(`${E}-selection-col`,{[`${E}-selection-col-with-dropdown`]:g&&m==="checkbox"}),Se=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(Ee):t.columnTitle:Te,Pe={fixed:pe,width:f,className:`${E}-selection-column`,title:Se(),render:re,onCell:t.onCell,[Rf]:{className:Re}};return Z.map(fe=>fe===$s?Pe:fe)},[x,F,t,U,G,J,f,V,R,B,p,X,z]),G]};function FMe(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 BMe(e,t){return c.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(a,i){return n[i]?n[i]:Reflect.get(a,i)}}):FMe(r,n)})}function UMe(e){return t=>{const{prefixCls:n,onExpand:r,record:a,expanded:i,expandable:o}=t,s=`${n}-row-expand-icon`;return c.createElement("button",{type:"button",onClick:l=>{r(a,l),l.stopPropagation()},className:ie(s,{[`${s}-spaced`]:!o,[`${s}-expanded`]:o&&i,[`${s}-collapsed`]:o&&!i}),"aria-label":i?e.collapse:e.expand,"aria-expanded":i})}}function jMe(e){return(n,r)=>{const a=n.querySelector(`.${e}-container`);let i=r;if(a){const o=getComputedStyle(a),s=parseInt(o.borderLeftWidth,10),l=parseInt(o.borderRightWidth,10);i=r-s-l}return i}}const _l=(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 ip(e,t){return t?`${t}-${e}`:`${e}`}const _S=(e,t)=>typeof e=="function"?e(t):e,zMe=(e,t)=>{const n=_S(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function HMe(e){const t=c.useRef(e),n=ek();return[()=>t.current,r=>{t.current=r,n()}]}function GMe(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 c.createElement("div",{style:a})}function lte(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function VMe(e,t){var n=c.useState(!1),r=oe(n,2),a=r[0],i=r[1];Qt(function(){if(a)return e(),function(){t()}},[a]),Qt(function(){return i(!0),function(){i(!1)}},[])}var qMe=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],cte=function(t,n){var r=t.className,a=t.style,i=t.motion,o=t.motionNodes,s=t.motionType,l=t.onMotionStart,u=t.onMotionEnd,d=t.active,p=t.treeNodeRequiredProps,f=Et(t,qMe),m=c.useState(!0),g=oe(m,2),h=g[0],v=g[1],S=c.useContext(Xk),_=S.prefixCls,E=o&&s!=="hide";Qt(function(){o&&E!==h&&v(E)},[o]);var y=function(){o&&l()},C=c.useRef(!1),T=function(){o&&!C.current&&(C.current=!0,u())};VMe(y,T);var x=function(w){E===w&&T()};return o?c.createElement(ta,_e({ref:n,visible:h},i,{motionAppear:s==="show",onVisibleChanged:x}),function(R,w){var I=R.className,O=R.style;return c.createElement("div",{ref:w,className:ie("".concat(_,"-treenode-motion"),I),style:O},o.map(function(k){var P=Object.assign({},(lte(k.data),k.data)),M=k.title,N=k.key,A=k.isStart,D=k.isEnd;delete P.children;var L=Tf(N,p);return c.createElement(wd,_e({},P,L,{title:M,active:d,data:k.data,key:N,isStart:A,isEnd:D}))}))}):c.createElement(wd,_e({domRef:n,className:r,style:a},f,{active:d}))};cte.displayName="MotionTreeNode";var WMe=c.forwardRef(cte);function YMe(){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(i,o){var s=new Map;i.forEach(function(u){s.set(u,!0)});var l=o.filter(function(u){return!s.has(u)});return l.length===1?l[0]:null}return n ").concat(t);return t}var dte=c.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var a=e.expandedKeys,i=e.selectedKeys,o=e.checkedKeys,s=e.loadedKeys,l=e.loadingKeys,u=e.halfCheckedKeys,d=e.keyEntities,p=e.disabled,f=e.dragging,m=e.dragOverNodeKey,g=e.dropPosition,h=e.motion,v=e.height,S=e.itemHeight,_=e.virtual,E=e.focusable,y=e.activeItem,C=e.focused,T=e.tabIndex,x=e.onKeyDown,R=e.onFocus,w=e.onBlur,I=e.onActiveChange,O=e.onListChangeStart,k=e.onListChangeEnd,P=Et(e,KMe),M=c.useRef(null),N=c.useRef(null);c.useImperativeHandle(t,function(){return{scrollTo:function(ge){M.current.scrollTo(ge)},getIndentWidth:function(){return N.current.offsetWidth}}});var A=c.useState(a),D=oe(A,2),L=D[0],$=D[1],F=c.useState(r),B=oe(F,2),z=B[0],U=B[1],j=c.useState(r),G=oe(j,2),J=G[0],Y=G[1],X=c.useState([]),V=oe(X,2),H=V[0],q=V[1],K=c.useState(null),Z=oe(K,2),te=Z[0],se=Z[1],ue=c.useRef(r);ue.current=r;function me(){var Ee=ue.current;U(Ee),Y(Ee),q([]),se(null),k()}Qt(function(){$(a);var Ee=YMe(L,a);if(Ee.key!==null)if(Ee.add){var ge=z.findIndex(function(Re){var Se=Re.key;return Se===Ee.key}),re=G4(j4(z,r,Ee.key),_,v,S),ne=z.slice();ne.splice(ge+1,0,H4),Y(ne),q(re),se("show")}else{var ae=r.findIndex(function(Re){var Se=Re.key;return Se===Ee.key}),le=G4(j4(r,z,Ee.key),_,v,S),pe=r.slice();pe.splice(ae+1,0,H4),Y(pe),q(le),se("hide")}else z!==r&&(U(r),Y(r))},[a,r]),c.useEffect(function(){f||me()},[f]);var de=h?J:r,Te={expandedKeys:a,selectedKeys:i,loadedKeys:s,loadingKeys:l,checkedKeys:o,halfCheckedKeys:u,dragOverNodeKey:m,dropPosition:g,keyEntities:d};return c.createElement(c.Fragment,null,C&&y&&c.createElement("span",{style:z4,"aria-live":"assertive"},QMe(y)),c.createElement("div",null,c.createElement("input",{style:z4,disabled:E===!1||p,tabIndex:E!==!1?T:null,onKeyDown:x,onFocus:R,onBlur:w,value:"",onChange:XMe,"aria-label":"for screen reader"})),c.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},c.createElement("div",{className:"".concat(n,"-indent")},c.createElement("div",{ref:N,className:"".concat(n,"-indent-unit")}))),c.createElement(Ub,_e({},P,{data:de,itemKey:V4,height:v,fullHeight:!1,virtual:_,itemHeight:S,prefixCls:"".concat(n,"-list"),ref:M,onVisibleChange:function(ge){ge.every(function(re){return V4(re)!==Dc})&&me()}}),function(Ee){var ge=Ee.pos,re=Object.assign({},(lte(Ee.data),Ee.data)),ne=Ee.title,ae=Ee.key,le=Ee.isStart,pe=Ee.isEnd,Re=fg(ae,ge);delete re.key,delete re.children;var Se=Tf(Re,Te);return c.createElement(WMe,_e({},re,Se,{title:ne,active:!!y&&ae===y.key,pos:ge,data:Ee.data,isStart:le,isEnd:pe,motion:h,motionNodes:ae===Dc?H:null,motionType:te,onMotionStart:O,onMotionEnd:me,treeNodeRequiredProps:Te,onMouseMove:function(){I(null)}}))}))});dte.displayName="NodeList";var ZMe=10,bS=function(e){Si(n,e);var t=Wi(n);function n(){var r;Jn(this,n);for(var a=arguments.length,i=new Array(a),o=0;o2&&arguments[2]!==void 0?arguments[2]:!1,p=r.state,f=p.dragChildrenKeys,m=p.dropPosition,g=p.dropTargetKey,h=p.dropTargetPos,v=p.dropAllowed;if(v){var S=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),g!==null){var _=ee(ee({},Tf(g,r.getTreeNodeRequiredProps())),{},{active:((u=r.getActiveItem())===null||u===void 0?void 0:u.key)===g,data:Ua(r.state.keyEntities,g).node}),E=f.indexOf(g)!==-1;bn(!E,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var y=Qk(h),C={event:s,node:Ar(_),dragNode:r.dragNode?Ar(r.dragNode.props):null,dragNodesKeys:[r.dragNode.props.eventKey].concat(f),dropToGap:m!==0,dropPosition:m+Number(y[y.length-1])};d||S==null||S(C),r.dragNode=null}}}),W(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}),W(Ge(r),"triggerExpandActionExpand",function(s,l){var u=r.state,d=u.expandedKeys,p=u.flattenNodes,f=l.expanded,m=l.key,g=l.isLeaf;if(!(g||s.shiftKey||s.metaKey||s.ctrlKey)){var h=p.filter(function(S){return S.key===m})[0],v=Ar(ee(ee({},Tf(m,r.getTreeNodeRequiredProps())),{},{data:h.data}));r.setExpandedKeys(f?To(d,m):es(d,m)),r.onNodeExpand(s,v)}}),W(Ge(r),"onNodeClick",function(s,l){var u=r.props,d=u.onClick,p=u.expandAction;p==="click"&&r.triggerExpandActionExpand(s,l),d==null||d(s,l)}),W(Ge(r),"onNodeDoubleClick",function(s,l){var u=r.props,d=u.onDoubleClick,p=u.expandAction;p==="doubleClick"&&r.triggerExpandActionExpand(s,l),d==null||d(s,l)}),W(Ge(r),"onNodeSelect",function(s,l){var u=r.state.selectedKeys,d=r.state,p=d.keyEntities,f=d.fieldNames,m=r.props,g=m.onSelect,h=m.multiple,v=l.selected,S=l[f.key],_=!v;_?h?u=es(u,S):u=[S]:u=To(u,S);var E=u.map(function(y){var C=Ua(p,y);return C?C.node:null}).filter(function(y){return y});r.setUncontrolledState({selectedKeys:u}),g==null||g(u,{event:"select",selected:_,node:l,selectedNodes:E,nativeEvent:s.nativeEvent})}),W(Ge(r),"onNodeCheck",function(s,l,u){var d=r.state,p=d.keyEntities,f=d.checkedKeys,m=d.halfCheckedKeys,g=r.props,h=g.checkStrictly,v=g.onCheck,S=l.key,_,E={event:"check",node:l,checked:u,nativeEvent:s.nativeEvent};if(h){var y=u?es(f,S):To(f,S),C=To(m,S);_={checked:y,halfChecked:C},E.checkedNodes=y.map(function(O){return Ua(p,O)}).filter(function(O){return O}).map(function(O){return O.node}),r.setUncontrolledState({checkedKeys:y})}else{var T=ms([].concat($e(f),[S]),!0,p),x=T.checkedKeys,R=T.halfCheckedKeys;if(!u){var w=new Set(x);w.delete(S);var I=ms(Array.from(w),{checked:!1,halfCheckedKeys:R},p);x=I.checkedKeys,R=I.halfCheckedKeys}_=x,E.checkedNodes=[],E.checkedNodesPositions=[],E.halfCheckedKeys=R,x.forEach(function(O){var k=Ua(p,O);if(k){var P=k.node,M=k.pos;E.checkedNodes.push(P),E.checkedNodesPositions.push({node:P,pos:M})}}),r.setUncontrolledState({checkedKeys:x},!1,{halfCheckedKeys:R})}v==null||v(_,E)}),W(Ge(r),"onNodeLoad",function(s){var l,u=s.key,d=r.state.keyEntities,p=Ua(d,u);if(!(p!=null&&(l=p.children)!==null&&l!==void 0&&l.length)){var f=new Promise(function(m,g){r.setState(function(h){var v=h.loadedKeys,S=v===void 0?[]:v,_=h.loadingKeys,E=_===void 0?[]:_,y=r.props,C=y.loadData,T=y.onLoad;if(!C||S.indexOf(u)!==-1||E.indexOf(u)!==-1)return null;var x=C(s);return x.then(function(){var R=r.state.loadedKeys,w=es(R,u);T==null||T(w,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:w}),r.setState(function(I){return{loadingKeys:To(I.loadingKeys,u)}}),m()}).catch(function(R){if(r.setState(function(I){return{loadingKeys:To(I.loadingKeys,u)}}),r.loadingRetryTimes[u]=(r.loadingRetryTimes[u]||0)+1,r.loadingRetryTimes[u]>=ZMe){var w=r.state.loadedKeys;bn(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:es(w,u)}),m()}g(R)}),{loadingKeys:es(E,u)}})});return f.catch(function(){}),f}}),W(Ge(r),"onNodeMouseEnter",function(s,l){var u=r.props.onMouseEnter;u==null||u({event:s,node:l})}),W(Ge(r),"onNodeMouseLeave",function(s,l){var u=r.props.onMouseLeave;u==null||u({event:s,node:l})}),W(Ge(r),"onNodeContextMenu",function(s,l){var u=r.props.onRightClick;u&&(s.preventDefault(),u({event:s,node:l}))}),W(Ge(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var l=arguments.length,u=new Array(l),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,p=!0,f={};Object.keys(s).forEach(function(m){if(m in r.props){p=!1;return}d=!0,f[m]=s[m]}),d&&(!l||p)&&r.setState(ee(ee({},f),u))}}),W(Ge(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return er(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var a=this.props,i=a.activeKey,o=a.itemScrollOffset,s=o===void 0?0:o;i!==void 0&&i!==this.state.activeKey&&(this.setState({activeKey:i}),i!==null&&this.scrollTo({key:i,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,i=a.focused,o=a.flattenNodes,s=a.keyEntities,l=a.draggingNodeKey,u=a.activeKey,d=a.dropLevelOffset,p=a.dropContainerKey,f=a.dropTargetKey,m=a.dropPosition,g=a.dragOverNodeKey,h=a.indent,v=this.props,S=v.prefixCls,_=v.className,E=v.style,y=v.showLine,C=v.focusable,T=v.tabIndex,x=T===void 0?0:T,R=v.selectable,w=v.showIcon,I=v.icon,O=v.switcherIcon,k=v.draggable,P=v.checkable,M=v.checkStrictly,N=v.disabled,A=v.motion,D=v.loadData,L=v.filterTreeNode,$=v.height,F=v.itemHeight,B=v.virtual,z=v.titleRender,U=v.dropIndicatorRender,j=v.onContextMenu,G=v.onScroll,J=v.direction,Y=v.rootClassName,X=v.rootStyle,V=Qn(this.props,{aria:!0,data:!0}),H;return k&&(gt(k)==="object"?H=k:typeof k=="function"?H={nodeDraggable:k}:H={}),c.createElement(Xk.Provider,{value:{prefixCls:S,selectable:R,showIcon:w,icon:I,switcherIcon:O,draggable:H,draggingNodeKey:l,checkable:P,checkStrictly:M,disabled:N,keyEntities:s,dropLevelOffset:d,dropContainerKey:p,dropTargetKey:f,dropPosition:m,dragOverNodeKey:g,indent:h,direction:J,dropIndicatorRender:U,loadData:D,filterTreeNode:L,titleRender:z,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}},c.createElement("div",{role:"tree",className:ie(S,_,Y,W(W(W({},"".concat(S,"-show-line"),y),"".concat(S,"-focused"),i),"".concat(S,"-active-focused"),u!==null)),style:X},c.createElement(dte,_e({ref:this.listRef,prefixCls:S,style:E,data:o,disabled:N,selectable:R,checkable:!!P,motion:A,dragging:l!==null,height:$,itemHeight:F,virtual:B,focusable:C,focused:i,tabIndex:x,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:j,onScroll:G},this.getTreeNodeRequiredProps(),V))))}}],[{key:"getDerivedStateFromProps",value:function(a,i){var o=i.prevProps,s={prevProps:a};function l(x){return!o&&x in a||o&&o[x]!==a[x]}var u,d=i.fieldNames;if(l("fieldNames")&&(d=Td(a.fieldNames),s.fieldNames=d),l("treeData")?u=a.treeData:l("children")&&(bn(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),u=TJ(a.children)),u){s.treeData=u;var p=sS(u,{fieldNames:d});s.keyEntities=ee(W({},Dc,ute),p.keyEntities)}var f=s.keyEntities||i.keyEntities;if(l("expandedKeys")||o&&l("autoExpandParent"))s.expandedKeys=a.autoExpandParent||!o&&a.defaultExpandParent?ID(a.expandedKeys,f):a.expandedKeys;else if(!o&&a.defaultExpandAll){var m=ee({},f);delete m[Dc];var g=[];Object.keys(m).forEach(function(x){var R=m[x];R.children&&R.children.length&&g.push(R.key)}),s.expandedKeys=g}else!o&&a.defaultExpandedKeys&&(s.expandedKeys=a.autoExpandParent||a.defaultExpandParent?ID(a.defaultExpandedKeys,f):a.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,u||s.expandedKeys){var h=_y(u||i.treeData,s.expandedKeys||i.expandedKeys,d);s.flattenNodes=h}if(a.selectable&&(l("selectedKeys")?s.selectedKeys=B4(a.selectedKeys,a):!o&&a.defaultSelectedKeys&&(s.selectedKeys=B4(a.defaultSelectedKeys,a))),a.checkable){var v;if(l("checkedKeys")?v=Iy(a.checkedKeys)||{}:!o&&a.defaultCheckedKeys?v=Iy(a.defaultCheckedKeys)||{}:u&&(v=Iy(a.checkedKeys)||{checkedKeys:i.checkedKeys,halfCheckedKeys:i.halfCheckedKeys}),v){var S=v,_=S.checkedKeys,E=_===void 0?[]:_,y=S.halfCheckedKeys,C=y===void 0?[]:y;if(!a.checkStrictly){var T=ms(E,!0,f);E=T.checkedKeys,C=T.halfCheckedKeys}s.checkedKeys=E,s.halfCheckedKeys=C}}return l("loadedKeys")&&(s.loadedKeys=a.loadedKeys),s}}]),n}(c.Component);W(bS,"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:GMe,allowDrop:function(){return!0},expandAction:!1});W(bS,"TreeNode",wd);const JMe=new dn("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),eLe=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),tLe=(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:`${Q(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),nLe=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:a,titleHeight:i,nodeSelectedBg:o,nodeHoverBg:s}=t,l=t.paddingXS;return{[n]:Object.assign(Object.assign({},on(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({},bs(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:JMe,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[r]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${Q(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:i,lineHeight:Q(i),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:i}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher`]:Object.assign(Object.assign({},eLe(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:i,margin:0,lineHeight:Q(i),textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:i,height:i,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(i).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(i).div(2).equal()).mul(.8).equal(),height:t.calc(i).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-checkbox`]:{top:"initial",marginInlineEnd:l,alignSelf:"flex-start",marginTop:t.marginXXS},[`${n}-node-content-wrapper, ${n}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:i,margin:0,padding:`0 ${Q(t.calc(t.paddingXS).div(2).equal())}`,color:"inherit",lineHeight:Q(i),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:o},[`${n}-iconEle`]:{display:"inline-block",width:i,height:i,lineHeight:Q(i),textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${n}-node-content-wrapper`]:Object.assign({lineHeight:Q(i),userSelect:"none"},tLe(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(i).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:`${Q(t.calc(i).div(2).equal())} !important`}}}}})}},rLe=e=>{const{treeCls:t,treeNodeCls:n,treeNodePadding:r,directoryNodeSelectedBg:a,directoryNodeSelectedColor:i}=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:i,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:a},[`${t}-switcher`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent"}}}}}},pte=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,a=t.calc(t.paddingXS).div(2).equal(),i=Ht(t,{treeCls:n,treeNodeCls:r,treeNodePadding:a});return[nLe(e,i),rLe(i)]},fte=e=>{const{controlHeightSM:t}=e;return{titleHeight:t,nodeHoverBg:e.controlItemBgHover,nodeSelectedBg:e.controlItemBgActive}},aLe=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},fte(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},iLe=cn("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:xk(`${n}-checkbox`,e)},pte(n,e),ng(e)]},aLe),q4=4;function oLe(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:a,direction:i="ltr"}=e,o=i==="ltr"?"left":"right",s=i==="ltr"?"right":"left",l={[o]:-n*a+q4,[s]:0};switch(t){case-1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[o]=a+q4;break}return ce.createElement("div",{style:l,className:`${r}-drop-indicator`})}const mte=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:a,switcherLoadingIcon:i}=e,{isLeaf:o,expanded:s,loading:l}=r;if(l)return c.isValidElement(i)?i:c.createElement(Ss,{className:`${t}-switcher-loading-icon`});let u;if(a&&typeof a=="object"&&(u=a.showLeafIcon),o){if(!a)return null;if(typeof u!="boolean"&&u){const f=typeof u=="function"?u(r):u,m=`${t}-switcher-line-custom-icon`;return c.isValidElement(f)?Tr(f,{className:ie(f.props.className||"",m)}):f}return u?c.createElement(kee,{className:`${t}-switcher-line-icon`}):c.createElement("span",{className:`${t}-switcher-leaf-line`})}const d=`${t}-switcher-icon`,p=typeof n=="function"?n(r):n;return c.isValidElement(p)?Tr(p,{className:ie(p.props.className||"",d)}):p!==void 0?p:a?s?c.createElement(x1e,{className:`${t}-switcher-line-icon`}):c.createElement($ee,{className:`${t}-switcher-line-icon`}):c.createElement(ROe,{className:d})},gte=ce.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:a,virtual:i,tree:o}=ce.useContext(lt),{prefixCls:s,className:l,showIcon:u=!1,showLine:d,switcherIcon:p,switcherLoadingIcon:f,blockNode:m=!1,children:g,checkable:h=!1,selectable:v=!0,draggable:S,motion:_,style:E}=e,y=r("tree",s),C=r(),T=_??Object.assign(Object.assign({},Ed(C)),{motionAppear:!1}),x=Object.assign(Object.assign({},e),{checkable:h,selectable:v,showIcon:u,motion:T,blockNode:m,showLine:!!d,dropIndicatorRender:oLe}),[R,w,I]=iLe(y),[,O]=ia(),k=O.paddingXS/2+(((n=O.Tree)===null||n===void 0?void 0:n.titleHeight)||O.controlHeightSM),P=ce.useMemo(()=>{if(!S)return!1;let N={};switch(typeof S){case"function":N.nodeDraggable=S;break;case"object":N=Object.assign({},S);break}return N.icon!==!1&&(N.icon=N.icon||ce.createElement(QNe,null)),N},[S]),M=N=>ce.createElement(mte,{prefixCls:y,switcherIcon:p,switcherLoadingIcon:f,treeNodeProps:N,showLine:d});return R(ce.createElement(bS,Object.assign({itemHeight:k,ref:t,virtual:i},x,{style:Object.assign(Object.assign({},o==null?void 0:o.style),E),prefixCls:y,className:ie({[`${y}-icon-hide`]:!u,[`${y}-block-node`]:m,[`${y}-unselectable`]:!v,[`${y}-rtl`]:a==="rtl"},o==null?void 0:o.className,l,w,I),direction:a,checkable:h&&ce.createElement("span",{className:`${y}-checkbox-inner`}),selectable:v,switcherIcon:M,draggable:P}),g))}),W4=0,Oy=1,Y4=2;function Zk(e,t,n){const{key:r,children:a}=n;function i(o){const s=o[r],l=o[a];t(s,o)!==!1&&Zk(l||[],t,n)}e.forEach(i)}function sLe(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:a,fieldNames:i}=e;const o=[];let s=W4;if(r&&r===a)return[r];if(!r||!a)return[];function l(u){return u===r||u===a}return Zk(t,u=>{if(s===Y4)return!1;if(l(u)){if(o.push(u),s===W4)s=Oy;else if(s===Oy)return s=Y4,!1}else s===Oy&&o.push(u);return n.includes(u)},Td(i)),o}function Ny(e,t,n){const r=$e(t),a=[];return Zk(e,(i,o)=>{const s=r.indexOf(i);return s!==-1&&(a.push(o),r.splice(s,1)),!!r.length},Td(n)),a}var K4=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,i=K4(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const o=c.useRef(),s=c.useRef(),l=()=>{const{keyEntities:R}=sS(X4(i));let w;return n?w=Object.keys(R):r?w=ID(i.expandedKeys||a||[],R):w=i.expandedKeys||a||[],w},[u,d]=c.useState(i.selectedKeys||i.defaultSelectedKeys||[]),[p,f]=c.useState(()=>l());c.useEffect(()=>{"selectedKeys"in i&&d(i.selectedKeys)},[i.selectedKeys]),c.useEffect(()=>{"expandedKeys"in i&&f(i.expandedKeys)},[i.expandedKeys]);const m=(R,w)=>{var I;return"expandedKeys"in i||f(R),(I=i.onExpand)===null||I===void 0?void 0:I.call(i,R,w)},g=(R,w)=>{var I;const{multiple:O,fieldNames:k}=i,{node:P,nativeEvent:M}=w,{key:N=""}=P,A=X4(i),D=Object.assign(Object.assign({},w),{selected:!0}),L=(M==null?void 0:M.ctrlKey)||(M==null?void 0:M.metaKey),$=M==null?void 0:M.shiftKey;let F;O&&L?(F=R,o.current=N,s.current=F,D.selectedNodes=Ny(A,F,k)):O&&$?(F=Array.from(new Set([].concat($e(s.current||[]),$e(sLe({treeData:A,expandedKeys:p,startKey:N,endKey:o.current,fieldNames:k}))))),D.selectedNodes=Ny(A,F,k)):(F=[N],o.current=N,s.current=F,D.selectedNodes=Ny(A,F,k)),(I=i.onSelect)===null||I===void 0||I.call(i,F,D),"selectedKeys"in i||d(F)},{getPrefixCls:h,direction:v}=c.useContext(lt),{prefixCls:S,className:_,showIcon:E=!0,expandAction:y="click"}=i,C=K4(i,["prefixCls","className","showIcon","expandAction"]),T=h("tree",S),x=ie(`${T}-directory`,{[`${T}-directory-rtl`]:v==="rtl"},_);return c.createElement(gte,Object.assign({icon:lLe,ref:t,blockNode:!0},C,{showIcon:E,expandAction:y,prefixCls:T,className:x,expandedKeys:p,selectedKeys:u,onSelect:g,onExpand:m}))},uLe=c.forwardRef(cLe),Jk=gte;Jk.DirectoryTree=uLe;Jk.TreeNode=wd;const Q4=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:a,onChange:i}=e;return n?c.createElement("div",{className:`${r}-filter-dropdown-search`},c.createElement(en,{prefix:c.createElement(Gb,null),placeholder:a.filterSearchPlaceholder,onChange:i,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},dLe=e=>{const{keyCode:t}=e;t===Fe.ENTER&&e.stopPropagation()},pLe=c.forwardRef((e,t)=>c.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:dLe,ref:t},e.children));function rd(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:a}=n;t.push(r),a&&(t=[].concat($e(t),$e(rd(a))))}),t}function fLe(e){return e.some(t=>{let{children:n}=t;return n})}function hte(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function vte(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:i,filterSearch:o}=e;return t.map((s,l)=>{const u=String(s.value);if(s.children)return{key:u||l,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:vte({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:a,searchValue:i,filterSearch:o})};const d=a?Ts:di,p={key:s.value!==void 0?u:l,label:c.createElement(c.Fragment,null,c.createElement(d,{checked:r.includes(u)}),c.createElement("span",null,s.text))};return i.trim()?typeof o=="function"?o(i,s)?p:null:hte(i,s.text)?p:null:p})}function Ay(e){return e||[]}const mLe=e=>{var t,n;const{tablePrefixCls:r,prefixCls:a,column:i,dropdownPrefixCls:o,columnKey:s,filterOnClose:l,filterMultiple:u,filterMode:d="menu",filterSearch:p=!1,filterState:f,triggerFilter:m,locale:g,children:h,getPopupContainer:v,rootClassName:S}=e,{filterDropdownOpen:_,onFilterDropdownOpenChange:E,filterResetToDefaultFilteredValue:y,defaultFilteredValue:C,filterDropdownVisible:T,onFilterDropdownVisibleChange:x}=i,[R,w]=c.useState(!1),I=!!(f&&(!((t=f.filteredKeys)===null||t===void 0)&&t.length||f.forceFiltered)),O=de=>{w(de),E==null||E(de),x==null||x(de)},k=(n=_??T)!==null&&n!==void 0?n:R,P=f==null?void 0:f.filteredKeys,[M,N]=HMe(Ay(P)),A=de=>{let{selectedKeys:Te}=de;N(Te)},D=(de,Te)=>{let{node:Ee,checked:ge}=Te;A(u?{selectedKeys:de}:{selectedKeys:ge&&Ee.key?[Ee.key]:[]})};c.useEffect(()=>{R&&A({selectedKeys:Ay(P)})},[P]);const[L,$]=c.useState([]),F=de=>{$(de)},[B,z]=c.useState(""),U=de=>{const{value:Te}=de.target;z(Te)};c.useEffect(()=>{R||z("")},[R]);const j=de=>{const Te=de!=null&&de.length?de:null;if(Te===null&&(!f||!f.filteredKeys)||Ui(Te,f==null?void 0:f.filteredKeys,!0))return null;m({column:i,key:s,filteredKeys:Te})},G=()=>{O(!1),j(M())},J=function(){let{confirm:de,closeDropdown:Te}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};de&&j([]),Te&&O(!1),z(""),N(y?(C||[]).map(Ee=>String(Ee)):[])},Y=function(){let{closeDropdown:de}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};de&&O(!1),j(M())},X=(de,Te)=>{Te.source==="trigger"&&(de&&P!==void 0&&N(Ay(P)),O(de),!de&&!i.filterDropdown&&l&&G())},V=ie({[`${o}-menu-without-submenu`]:!fLe(i.filters||[])}),H=de=>{if(de.target.checked){const Te=rd(i==null?void 0:i.filters).map(Ee=>String(Ee));N(Te)}else N([])},q=de=>{let{filters:Te}=de;return(Te||[]).map((Ee,ge)=>{const re=String(Ee.value),ne={title:Ee.text,key:Ee.value!==void 0?re:String(ge)};return Ee.children&&(ne.children=q({filters:Ee.children})),ne})},K=de=>{var Te;return Object.assign(Object.assign({},de),{text:de.title,value:de.key,children:((Te=de.children)===null||Te===void 0?void 0:Te.map(Ee=>K(Ee)))||[]})};let Z;const{direction:te,renderEmpty:se}=c.useContext(lt);if(typeof i.filterDropdown=="function")Z=i.filterDropdown({prefixCls:`${o}-custom`,setSelectedKeys:de=>A({selectedKeys:de}),selectedKeys:M(),confirm:Y,clearFilters:J,filters:i.filters,visible:k,close:()=>{O(!1)}});else if(i.filterDropdown)Z=i.filterDropdown;else{const de=M()||[],Te=()=>{var ge;const re=(ge=se==null?void 0:se("Table.filter"))!==null&&ge!==void 0?ge:c.createElement(ls,{image:ls.PRESENTED_IMAGE_SIMPLE,description:g.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}});if((i.filters||[]).length===0)return re;if(d==="tree")return c.createElement(c.Fragment,null,c.createElement(Q4,{filterSearch:p,value:B,onChange:U,tablePrefixCls:r,locale:g}),c.createElement("div",{className:`${r}-filter-dropdown-tree`},u?c.createElement(Ts,{checked:de.length===rd(i.filters).length,indeterminate:de.length>0&&de.lengthtypeof p=="function"?p(B,K(le)):hte(B,le.title):void 0})));const ne=vte({filters:i.filters||[],filterSearch:p,prefixCls:a,filteredKeys:M(),filterMultiple:u,searchValue:B}),ae=ne.every(le=>le===null);return c.createElement(c.Fragment,null,c.createElement(Q4,{filterSearch:p,value:B,onChange:U,tablePrefixCls:r,locale:g}),ae?re:c.createElement(zo,{selectable:!0,multiple:u,prefixCls:`${o}-menu`,className:V,onSelect:A,onDeselect:A,selectedKeys:de,getPopupContainer:v,openKeys:L,onOpenChange:F,items:ne}))},Ee=()=>y?Ui((C||[]).map(ge=>String(ge)),de,!0):de.length===0;Z=c.createElement(c.Fragment,null,Te(),c.createElement("div",{className:`${a}-dropdown-btns`},c.createElement(Rt,{type:"link",size:"small",disabled:Ee(),onClick:()=>J()},g.filterReset),c.createElement(Rt,{type:"primary",size:"small",onClick:G},g.filterConfirm)))}i.filterDropdown&&(Z=c.createElement(vZ,{selectable:void 0},Z));const ue=()=>c.createElement(pLe,{className:`${a}-dropdown`},Z);let me;return typeof i.filterIcon=="function"?me=i.filterIcon(I):i.filterIcon?me=i.filterIcon:me=c.createElement(NNe,null),c.createElement("div",{className:`${a}-column`},c.createElement("span",{className:`${r}-column-title`},h),c.createElement(dS,{dropdownRender:ue,trigger:["click"],open:k,onOpenChange:X,getPopupContainer:v,placement:te==="rtl"?"bottomLeft":"bottomRight",rootClassName:S},c.createElement("span",{role:"button",tabIndex:-1,className:ie(`${a}-trigger`,{active:I}),onClick:de=>{de.stopPropagation()}},me)))},MD=(e,t,n)=>{let r=[];return(e||[]).forEach((a,i)=>{var o;const s=ip(i,n);if(a.filters||"filterDropdown"in a||"onFilter"in a)if("filteredValue"in a){let l=a.filteredValue;"filterDropdown"in a||(l=(o=l==null?void 0:l.map(String))!==null&&o!==void 0?o:l),r.push({column:a,key:_l(a,s),filteredKeys:l,forceFiltered:a.filtered})}else r.push({column:a,key:_l(a,s),filteredKeys:t&&a.defaultFilteredValue?a.defaultFilteredValue:void 0,forceFiltered:a.filtered});"children"in a&&(r=[].concat($e(r),$e(MD(a.children,t,s))))}),r};function _te(e,t,n,r,a,i,o,s,l){return n.map((u,d)=>{const p=ip(d,s),{filterOnClose:f=!0,filterMultiple:m=!0,filterMode:g,filterSearch:h}=u;let v=u;if(v.filters||v.filterDropdown){const S=_l(v,p),_=r.find(E=>{let{key:y}=E;return S===y});v=Object.assign(Object.assign({},v),{title:E=>c.createElement(mLe,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:v,columnKey:S,filterState:_,filterOnClose:f,filterMultiple:m,filterMode:g,filterSearch:h,triggerFilter:i,locale:a,getPopupContainer:o,rootClassName:l},_S(u.title,E))})}return"children"in v&&(v=Object.assign(Object.assign({},v),{children:_te(e,t,v.children,r,a,i,o,p,l)})),v})}const Z4=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:a,column:i}=n;const o=r,{filters:s,filterDropdown:l}=i;if(l)t[o]=a||null;else if(Array.isArray(a)){const u=rd(s);t[o]=u.filter(d=>a.includes(String(d)))}else t[o]=null}),t},LD=(e,t,n)=>t.reduce((a,i)=>{const{column:{onFilter:o,filters:s},filteredKeys:l}=i;return o&&l&&l.length?a.map(u=>Object.assign({},u)).filter(u=>l.some(d=>{const p=rd(s),f=p.findIndex(g=>String(g)===String(d)),m=f!==-1?p[f]:d;return u[n]&&(u[n]=LD(u[n],t,n)),o(m,u)})):a},e),bte=e=>e.flatMap(t=>"children"in t?[t].concat($e(bte(t.children||[]))):[t]),gLe=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:a,getPopupContainer:i,locale:o,rootClassName:s}=e;Il();const l=c.useMemo(()=>bte(r||[]),[r]),[u,d]=c.useState(()=>MD(l,!0)),p=c.useMemo(()=>{const h=MD(l,!1);if(h.length===0)return h;let v=!0;if(h.forEach(S=>{let{filteredKeys:_}=S;_!==void 0&&(v=!1)}),v){const S=(l||[]).map((_,E)=>_l(_,ip(E)));return u.filter(_=>{let{key:E}=_;return S.includes(E)}).map(_=>{const E=l[S.findIndex(y=>y===_.key)];return Object.assign(Object.assign({},_),{column:Object.assign(Object.assign({},_.column),E),forceFiltered:E.filtered})})}return h},[l,u]),f=c.useMemo(()=>Z4(p),[p]),m=h=>{const v=p.filter(S=>{let{key:_}=S;return _!==h.key});v.push(h),d(v),a(Z4(v),v)};return[h=>_te(t,n,h,p,o,m,i,void 0,s),p,f]},hLe=(e,t,n)=>{const r=c.useRef({});function a(i){var o;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let u=function(d){d.forEach((p,f)=>{const m=n(p,f);l.set(m,p),p&&typeof p=="object"&&t in p&&u(p[t]||[])})};var s=u;const l=new Map;u(e),r.current={data:e,childrenColumnName:t,kvMap:l,getRowKey:n}}return(o=r.current.kvMap)===null||o===void 0?void 0:o.get(i)}return[a]};var vLe=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 i=e[a];typeof i!="function"&&(n[a]=i)}),n}function bLe(e,t,n){const r=n&&typeof n=="object"?n:{},{total:a=0}=r,i=vLe(r,["total"]),[o,s]=c.useState(()=>({current:"defaultCurrent"in i?i.defaultCurrent:1,pageSize:"defaultPageSize"in i?i.defaultPageSize:Ste})),l=Cee(o,i,{total:a>0?a:e}),u=Math.ceil((a||e)/l.pageSize);l.current>u&&(l.current=u||1);const d=(f,m)=>{s({current:f??1,pageSize:m||l.pageSize})},p=(f,m)=>{var g;n&&((g=n.onChange)===null||g===void 0||g.call(n,f,m)),d(f,m),t(f,m||(l==null?void 0:l.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},l),{onChange:p}),d]}const Ev="ascend",Dy="descend",N_=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,J4=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,SLe=(e,t)=>t?e[e.indexOf(t)+1]:e[0],kD=(e,t,n)=>{let r=[];const a=(i,o)=>{r.push({column:i,key:_l(i,o),multiplePriority:N_(i),sortOrder:i.sortOrder})};return(e||[]).forEach((i,o)=>{const s=ip(o,n);i.children?("sortOrder"in i&&a(i,s),r=[].concat($e(r),$e(kD(i.children,t,s)))):i.sorter&&("sortOrder"in i?a(i,s):t&&i.defaultSortOrder&&r.push({column:i,key:_l(i,s),multiplePriority:N_(i),sortOrder:i.defaultSortOrder}))}),r},Ete=(e,t,n,r,a,i,o,s)=>(t||[]).map((u,d)=>{const p=ip(d,s);let f=u;if(f.sorter){const m=f.sortDirections||a,g=f.showSorterTooltip===void 0?o:f.showSorterTooltip,h=_l(f,p),v=n.find(w=>{let{key:I}=w;return I===h}),S=v?v.sortOrder:null,_=SLe(m,S);let E;if(u.sortIcon)E=u.sortIcon({sortOrder:S});else{const w=m.includes(Ev)&&c.createElement(DOe,{className:ie(`${e}-column-sorter-up`,{active:S===Ev})}),I=m.includes(Dy)&&c.createElement(OOe,{className:ie(`${e}-column-sorter-down`,{active:S===Dy})});E=c.createElement("span",{className:ie(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(w&&I)})},c.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},w,I))}const{cancelSort:y,triggerAsc:C,triggerDesc:T}=i||{};let x=y;_===Dy?x=T:_===Ev&&(x=C);const R=typeof g=="object"?Object.assign({title:x},g):{title:x};f=Object.assign(Object.assign({},f),{className:ie(f.className,{[`${e}-column-sort`]:S}),title:w=>{const I=`${e}-column-sorters`,O=c.createElement("span",{className:`${e}-column-title`},_S(u.title,w)),k=c.createElement("div",{className:I},O,E);return g?typeof g!="boolean"&&(g==null?void 0:g.target)==="sorter-icon"?c.createElement("div",{className:`${I} ${e}-column-sorters-tooltip-target-sorter`},O,c.createElement(Jt,Object.assign({},R),E)):c.createElement(Jt,Object.assign({},R),k):k},onHeaderCell:w=>{var I;const O=((I=u.onHeaderCell)===null||I===void 0?void 0:I.call(u,w))||{},k=O.onClick,P=O.onKeyDown;O.onClick=A=>{r({column:u,key:h,sortOrder:_,multiplePriority:N_(u)}),k==null||k(A)},O.onKeyDown=A=>{A.keyCode===Fe.ENTER&&(r({column:u,key:h,sortOrder:_,multiplePriority:N_(u)}),P==null||P(A))};const M=zMe(u.title,{}),N=M==null?void 0:M.toString();return S?O["aria-sort"]=S==="ascend"?"ascending":"descending":O["aria-label"]=N||"",O.className=ie(O.className,`${e}-column-has-sorters`),O.tabIndex=0,u.ellipsis&&(O.title=(M??"").toString()),O}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:Ete(e,f.children,n,r,a,i,o,p)})),f}),eU=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},tU=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(eU);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},eU(e[n])),{column:void 0})}return t.length<=1?t[0]||{}:t},PD=(e,t,n)=>{const r=t.slice().sort((o,s)=>s.multiplePriority-o.multiplePriority),a=e.slice(),i=r.filter(o=>{let{column:{sorter:s},sortOrder:l}=o;return J4(s)&&l});return i.length?a.sort((o,s)=>{for(let l=0;l{const s=o[n];return s?Object.assign(Object.assign({},o),{[n]:PD(s,t,n)}):o}):a},ELe=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:a,showSorterTooltip:i,onSorterChange:o}=e,[s,l]=c.useState(kD(n,!0)),u=(h,v)=>{const S=[];return h.forEach((_,E)=>{const y=ip(E,v);if(S.push(_l(_,y)),Array.isArray(_.children)){const C=u(_.children,y);S.push.apply(S,$e(C))}}),S},d=c.useMemo(()=>{let h=!0;const v=kD(n,!1);if(!v.length){const y=u(n);return s.filter(C=>{let{key:T}=C;return y.includes(T)})}const S=[];function _(y){h?S.push(y):S.push(Object.assign(Object.assign({},y),{sortOrder:null}))}let E=null;return v.forEach(y=>{E===null?(_(y),y.sortOrder&&(y.multiplePriority===!1?h=!1:E=!0)):(E&&y.multiplePriority!==!1||(h=!1),_(y))}),S},[n,s]),p=c.useMemo(()=>{var h,v;const S=d.map(_=>{let{column:E,sortOrder:y}=_;return{column:E,order:y}});return{sortColumns:S,sortColumn:(h=S[0])===null||h===void 0?void 0:h.column,sortOrder:(v=S[0])===null||v===void 0?void 0:v.order}},[d]),f=h=>{let v;h.multiplePriority===!1||!d.length||d[0].multiplePriority===!1?v=[h]:v=[].concat($e(d.filter(S=>{let{key:_}=S;return _!==h.key})),[h]),l(v),o(tU(v),v)};return[h=>Ete(t,h,d,f,r,a,i),d,p,()=>tU(d)]},yte=(e,t)=>e.map(r=>{const a=Object.assign({},r);return a.title=_S(r.title,t),"children"in a&&(a.children=yte(a.children,t)),a}),yLe=e=>[c.useCallback(n=>yte(n,e),[e])],CLe=ate((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),TLe=ote((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),xLe=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:a,tableHeaderBg:i,tablePaddingVertical:o,tablePaddingHorizontal:s,calc:l}=e,u=`${Q(n)} ${r} ${a}`,d=(p,f,m)=>({[`&${t}-${p}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${Q(l(f).mul(-1).equal())} - ${Q(l(l(m).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, - > ${t}-body, - > ${t}-summary - `]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:u},"> thead":{"> tr:not(:last-child) > th":{borderBottom:u},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${t}-cell-fix-right-first::after`]:{borderInlineEnd:u}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${Q(l(o).mul(-1).equal())} ${Q(l(l(s).add(n)).mul(-1).equal())}`,"&::after":{position:"absolute",top:0,insetInlineEnd:n,bottom:0,borderInlineEnd:u,content:'""'}}}}}},[`&${t}-scroll-horizontal`]:{[`> ${t}-container > ${t}-body`]:{"> table > tbody":{[` - > tr${t}-expanded-row, - > tr${t}-placeholder - `]:{"> 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 ${Q(n)} 0 ${Q(n)} ${i}`}},[`${t}-bordered ${t}-cell-scrollbar`]:{borderInlineEnd:u}}}},RLe=e=>{const{componentCls:t}=e;return{[`${t}-wrapper`]:{[`${t}-cell-ellipsis`]:Object.assign(Object.assign({},vi),{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"}})}}},wLe=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}}}}},ILe=e=>{const{componentCls:t,antCls:n,motionDurationSlow:r,lineWidth:a,paddingXS:i,lineType:o,tableBorderColor:s,tableExpandIconBg:l,tableExpandColumnWidth:u,borderRadius:d,tablePaddingVertical:p,tablePaddingHorizontal:f,tableExpandedRowBg:m,paddingXXS:g,expandIconMarginTop:h,expandIconSize:v,expandIconHalfInner:S,expandIconScale:_,calc:E}=e,y=`${Q(a)} ${o} ${s}`,C=E(g).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({},DL(e)),{position:"relative",float:"left",boxSizing:"border-box",width:v,height:v,padding:0,color:"inherit",lineHeight:Q(v),background:l,border:y,borderRadius:d,transform:`scale(${_})`,transition:`all ${r}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${r} ease-out`,content:'""'},"&::before":{top:S,insetInlineEnd:C,insetInlineStart:C,height:a},"&::after":{top:C,bottom:C,insetInlineStart:S,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:h,marginInlineEnd:i},[`tr${t}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:m}},[`${n}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"100%"}}},[`${t}-expanded-row-fixed`]:{position:"relative",margin:`${Q(E(p).mul(-1).equal())} ${Q(E(f).mul(-1).equal())}`,padding:`${Q(p)} ${Q(f)}`}}}},OLe=e=>{const{componentCls:t,antCls:n,iconCls:r,tableFilterDropdownWidth:a,tableFilterDropdownSearchWidth:i,paddingXXS:o,paddingXS:s,colorText:l,lineWidth:u,lineType:d,tableBorderColor:p,headerIconColor:f,fontSizeSM:m,tablePaddingHorizontal:g,borderRadius:h,motionDurationSlow:v,colorTextDescription:S,colorPrimary:_,tableHeaderFilterActiveBg:E,colorTextDisabled:y,tableFilterDropdownBg:C,tableFilterDropdownHeight:T,controlItemBgHover:x,controlItemBgActive:R,boxShadowSecondary:w,filterDropdownMenuBg:I,calc:O}=e,k=`${n}-dropdown`,P=`${t}-filter-dropdown`,M=`${n}-tree`,N=`${Q(u)} ${d} ${p}`;return[{[`${t}-wrapper`]:{[`${t}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${t}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:O(o).mul(-1).equal(),marginInline:`${Q(o)} ${Q(O(g).div(2).mul(-1).equal())}`,padding:`0 ${Q(o)}`,color:f,fontSize:m,borderRadius:h,cursor:"pointer",transition:`all ${v}`,"&:hover":{color:S,background:E},"&.active":{color:_}}}},{[`${n}-dropdown`]:{[P]:Object.assign(Object.assign({},on(e)),{minWidth:a,backgroundColor:C,borderRadius:h,boxShadow:w,overflow:"hidden",[`${k}-menu`]:{maxHeight:T,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:I,"&:empty::after":{display:"block",padding:`${Q(s)} 0`,color:y,fontSize:m,textAlign:"center",content:'"Not Found"'}},[`${P}-tree`]:{paddingBlock:`${Q(s)} 0`,paddingInline:s,[M]:{padding:0},[`${M}-treenode ${M}-node-content-wrapper:hover`]:{backgroundColor:x},[`${M}-treenode-checkbox-checked ${M}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:R}}},[`${P}-search`]:{padding:s,borderBottom:N,"&-input":{input:{minWidth:i},[r]:{color:y}}},[`${P}-checkall`]:{width:"100%",marginBottom:o,marginInlineStart:o},[`${P}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${Q(O(s).sub(u).equal())} ${Q(s)}`,overflow:"hidden",borderTop:N}})}},{[`${n}-dropdown ${P}, ${P}-submenu`]:{[`${n}-checkbox-wrapper + span`]:{paddingInlineStart:s,color:l},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},NLe=e=>{const{componentCls:t,lineWidth:n,colorSplit:r,motionDurationSlow:a,zIndexTableFixed:i,tableBg:o,zIndexTableSticky:s,calc:l}=e,u=r;return{[`${t}-wrapper`]:{[` - ${t}-cell-fix-left, - ${t}-cell-fix-right - `]:{position:"sticky !important",zIndex:i,background:o},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:l(n).mul(-1).equal(),width:30,transform:"translateX(100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-cell-fix-left-all::after`]:{display:"none"},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{position:"absolute",top:0,bottom:l(n).mul(-1).equal(),left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},[`${t}-container`]:{position:"relative","&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:l(s).add(1).equal({unit:!1}),width:30,transition:`box-shadow ${a}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${t}-ping-left`]:{[`&:not(${t}-has-fix-left) ${t}-container::before`]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after - `]:{boxShadow:`inset 10px 0 8px -8px ${u}`},[`${t}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${t}-ping-right`]:{[`&:not(${t}-has-fix-right) ${t}-container::after`]:{boxShadow:`inset -10px 0 8px -8px ${u}`},[` - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:`inset -10px 0 8px -8px ${u}`}},[`${t}-fixed-column-gapped`]:{[` - ${t}-cell-fix-left-first::after, - ${t}-cell-fix-left-last::after, - ${t}-cell-fix-right-first::after, - ${t}-cell-fix-right-last::after - `]:{boxShadow:"none"}}}}},ALe=e=>{const{componentCls:t,antCls:n,margin:r}=e;return{[`${t}-wrapper`]:{[`${t}-pagination${n}-pagination`]:{margin:`${Q(r)} 0`},[`${t}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:e.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},DLe=e=>{const{componentCls:t,tableRadius:n}=e;return{[`${t}-wrapper`]:{[t]:{[`${t}-title, ${t}-header`]:{borderRadius:`${Q(n)} ${Q(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 ${Q(n)} ${Q(n)}`}}}}},MLe=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"}}}}},LLe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSizeIcon:a,padding:i,paddingXS:o,headerIconColor:s,headerIconHoverColor:l,tableSelectionColumnWidth:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:p,tableRowHoverBg:f,tablePaddingHorizontal:m,calc:g}=e;return{[`${t}-wrapper`]:{[`${t}-selection-col`]:{width:u,[`&${t}-selection-col-with-dropdown`]:{width:g(u).add(a).add(g(i).div(4)).equal()}},[`${t}-bordered ${t}-selection-col`]:{width:g(u).add(g(o).mul(2)).equal(),[`&${t}-selection-col-with-dropdown`]:{width:g(u).add(a).add(g(i).div(4)).add(g(o).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:g(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:Q(g(m).div(4).equal()),[r]:{color:s,fontSize:a,verticalAlign:"baseline","&:hover":{color:l}}},[`${t}-tbody`]:{[`${t}-row`]:{[`&${t}-row-selected`]:{[`> ${t}-cell`]:{background:d,"&-row-hover":{background:p}}},[`> ${t}-cell-row-hover`]:{background:f}}}}}},kLe=e=>{const{componentCls:t,tableExpandColumnWidth:n,calc:r}=e,a=(i,o,s,l)=>({[`${t}${t}-${i}`]:{fontSize:l,[` - ${t}-title, - ${t}-footer, - ${t}-cell, - ${t}-thead > tr > th, - ${t}-tbody > tr > th, - ${t}-tbody > tr > td, - tfoot > tr > th, - tfoot > tr > td - `]:{padding:`${Q(o)} ${Q(s)}`},[`${t}-filter-trigger`]:{marginInlineEnd:Q(r(s).div(2).mul(-1).equal())},[`${t}-expanded-row-fixed`]:{margin:`${Q(r(o).mul(-1).equal())} ${Q(r(s).mul(-1).equal())}`},[`${t}-tbody`]:{[`${t}-wrapper:only-child ${t}`]:{marginBlock:Q(r(o).mul(-1).equal()),marginInline:`${Q(r(n).sub(s).equal())} ${Q(r(s).mul(-1).equal())}`}},[`${t}-selection-extra`]:{paddingInlineStart:Q(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))}},PLe=e=>{const{componentCls:t,marginXXS:n,fontSizeIcon:r,headerIconColor:a,headerIconHoverColor:i}=e;return{[`${t}-wrapper`]:{[`${t}-thead th${t}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}, left 0s`,"&: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:i}}}},$Le=e=>{const{componentCls:t,opacityLoading:n,tableScrollThumbBg:r,tableScrollThumbBgHover:a,tableScrollThumbSize:i,tableScrollBg:o,zIndexTableSticky:s,stickyScrollBarBorderRadius:l,lineWidth:u,lineType:d,tableBorderColor:p}=e,f=`${Q(u)} ${d} ${p}`;return{[`${t}-wrapper`]:{[`${t}-sticky`]:{"&-holder":{position:"sticky",zIndex:s,background:e.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Q(i)} !important`,zIndex:s,display:"flex",alignItems:"center",background:o,borderTop:f,opacity:n,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:i,backgroundColor:r,borderRadius:l,transition:`all ${e.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:a}}}}}}},nU=e=>{const{componentCls:t,lineWidth:n,tableBorderColor:r,calc:a}=e,i=`${Q(n)} ${e.lineType} ${r}`;return{[`${t}-wrapper`]:{[`${t}-summary`]:{position:"relative",zIndex:e.zIndexTableFixed,background:e.tableBg,"> tr":{"> th, > td":{borderBottom:i}}},[`div${t}-summary`]:{boxShadow:`0 ${Q(a(n).mul(-1).equal())} 0 ${r}`}}}},FLe=e=>{const{componentCls:t,motionDurationMid:n,lineWidth:r,lineType:a,tableBorderColor:i,calc:o}=e,s=`${Q(r)} ${a} ${i}`,l=`${t}-expanded-row-cell`;return{[`${t}-wrapper`]:{[`${t}-tbody-virtual`]:{[`${t}-tbody-virtual-holder-inner`]:{[` - & > ${t}-row, - & > div:not(${t}-row) > ${t}-row - `]:{display:"flex",boxSizing:"border-box",width:"100%"}},[`${t}-cell`]:{borderBottom:s,transition:`background ${n}`},[`${t}-expanded-row`]:{[`${l}${l}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${Q(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:o(r).mul(-1).equal(),borderInlineStart:s}}},[`&${t}-virtual`]:{[`${t}-placeholder ${t}-cell`]:{borderInlineEnd:s,borderBottom:s}}}}}},BLe=e=>{const{componentCls:t,fontWeightStrong:n,tablePaddingVertical:r,tablePaddingHorizontal:a,tableExpandColumnWidth:i,lineWidth:o,lineType:s,tableBorderColor:l,tableFontSize:u,tableBg:d,tableRadius:p,tableHeaderTextColor:f,motionDurationMid:m,tableHeaderBg:g,tableHeaderCellSplitColor:h,tableFooterTextColor:v,tableFooterBg:S,calc:_}=e,E=`${Q(o)} ${s} ${l}`;return{[`${t}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},mo()),{[t]:Object.assign(Object.assign({},on(e)),{fontSize:u,background:d,borderRadius:`${Q(p)} ${Q(p)} 0 0`,scrollbarColor:`${e.tableScrollThumbBg} ${e.tableScrollBg}`}),table:{width:"100%",textAlign:"start",borderRadius:`${Q(p)} ${Q(p)} 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:`${Q(r)} ${Q(a)}`,overflowWrap:"break-word"},[`${t}-title`]:{padding:`${Q(r)} ${Q(a)}`},[`${t}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:g,borderBottom:E,transition:`background ${m} 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:h,transform:"translateY(-50%)",transition:`background-color ${m}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${t}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${m}, border-color ${m}`,borderBottom:E,[` - > ${t}-wrapper:only-child, - > ${t}-expanded-row-fixed > ${t}-wrapper:only-child - `]:{[t]:{marginBlock:Q(_(r).mul(-1).equal()),marginInline:`${Q(_(i).sub(a).equal())} - ${Q(_(a).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:g,borderBottom:E,transition:`background ${m} ease`}}},[`${t}-footer`]:{padding:`${Q(r)} ${Q(a)}`,color:v,background:S}})}},ULe=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:a,colorFillContent:i,controlItemBgActive:o,controlItemBgActiveHover:s,padding:l,paddingSM:u,paddingXS:d,colorBorderSecondary:p,borderRadiusLG:f,controlHeight:m,colorTextPlaceholder:g,fontSize:h,fontSizeSM:v,lineHeight:S,lineWidth:_,colorIcon:E,colorIconHover:y,opacityLoading:C,controlInteractiveSize:T}=e,x=new an(a).onBackground(n).toHexShortString(),R=new an(i).onBackground(n).toHexShortString(),w=new an(t).onBackground(n).toHexShortString(),I=new an(E),O=new an(y),k=T/2-_,P=k*2+_*3;return{headerBg:w,headerColor:r,headerSortActiveBg:x,headerSortHoverBg:R,bodySortBg:w,rowHoverBg:w,rowSelectedBg:o,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:l,cellPaddingInline:l,cellPaddingBlockMD:u,cellPaddingInlineMD:d,cellPaddingBlockSM:d,cellPaddingInlineSM:d,borderColor:p,headerBorderRadius:f,footerBg:w,footerColor:r,cellFontSize:h,cellFontSizeMD:h,cellFontSizeSM:h,headerSplitColor:p,fixedHeaderSortActiveBg:x,headerFilterHoverBg:i,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:m,stickyScrollBarBg:g,stickyScrollBarBorderRadius:100,expandIconMarginTop:(h*S-_*3)/2-Math.ceil((v*1.4-_*3)/2),headerIconColor:I.clone().setAlpha(I.getAlpha()*C).toRgbString(),headerIconHoverColor:O.clone().setAlpha(O.getAlpha()*C).toRgbString(),expandIconHalfInner:k,expandIconSize:P,expandIconScale:T/P}},rU=2,jLe=cn("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:a,headerBg:i,headerColor:o,headerSortActiveBg:s,headerSortHoverBg:l,bodySortBg:u,rowHoverBg:d,rowSelectedBg:p,rowSelectedHoverBg:f,rowExpandedBg:m,cellPaddingBlock:g,cellPaddingInline:h,cellPaddingBlockMD:v,cellPaddingInlineMD:S,cellPaddingBlockSM:_,cellPaddingInlineSM:E,borderColor:y,footerBg:C,footerColor:T,headerBorderRadius:x,cellFontSize:R,cellFontSizeMD:w,cellFontSizeSM:I,headerSplitColor:O,fixedHeaderSortActiveBg:k,headerFilterHoverBg:P,filterDropdownBg:M,expandIconBg:N,selectionColumnWidth:A,stickyScrollBarBg:D,calc:L}=e,$=Ht(e,{tableFontSize:R,tableBg:r,tableRadius:x,tablePaddingVertical:g,tablePaddingHorizontal:h,tablePaddingVerticalMiddle:v,tablePaddingHorizontalMiddle:S,tablePaddingVerticalSmall:_,tablePaddingHorizontalSmall:E,tableBorderColor:y,tableHeaderTextColor:o,tableHeaderBg:i,tableFooterTextColor:T,tableFooterBg:C,tableHeaderCellSplitColor:O,tableHeaderSortBg:s,tableHeaderSortHoverBg:l,tableBodySortBg:u,tableFixedHeaderSortActiveBg:k,tableHeaderFilterActiveBg:P,tableFilterDropdownBg:M,tableRowHoverBg:d,tableSelectedRowBg:p,tableSelectedRowHoverBg:f,zIndexTableFixed:rU,zIndexTableSticky:L(rU).add(1).equal({unit:!1}),tableFontSizeMiddle:w,tableFontSizeSmall:I,tableSelectionColumnWidth:A,tableExpandIconBg:N,tableExpandColumnWidth:L(a).add(L(e.padding).mul(2)).equal(),tableExpandedRowBg:m,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:D,tableScrollThumbBgHover:t,tableScrollBg:n});return[BLe($),ALe($),nU($),PLe($),OLe($),xLe($),DLe($),ILe($),nU($),wLe($),LLe($),NLe($),$Le($),RLe($),kLe($),MLe($),FLe($)]},ULe,{unitless:{expandIconScale:!0}}),zLe=[],HLe=(e,t)=>{var n,r;const{prefixCls:a,className:i,rootClassName:o,style:s,size:l,bordered:u,dropdownPrefixCls:d,dataSource:p,pagination:f,rowSelection:m,rowKey:g="key",rowClassName:h,columns:v,children:S,childrenColumnName:_,onChange:E,getPopupContainer:y,loading:C,expandIcon:T,expandable:x,expandedRowRender:R,expandIconColumnIndex:w,indentSize:I,scroll:O,sortDirections:k,locale:P,showSorterTooltip:M={target:"full-header"},virtual:N}=e;Il();const A=c.useMemo(()=>v||Yk(S),[v,S]),D=c.useMemo(()=>A.some(ht=>ht.responsive),[A]),L=Vb(D),$=c.useMemo(()=>{const ht=new Set(Object.keys(L).filter(ct=>L[ct]));return A.filter(ct=>!ct.responsive||ct.responsive.some(ot=>ht.has(ot)))},[A,L]),F=An(e,["className","style","columns"]),{locale:B=zi,direction:z,table:U,renderEmpty:j,getPrefixCls:G,getPopupContainer:J}=c.useContext(lt),Y=xr(l),X=Object.assign(Object.assign({},B.Table),P),V=p||zLe,H=G("table",a),q=G("dropdown",d),[,K]=ia(),Z=Zn(H),[te,se,ue]=jLe(H,Z),me=Object.assign(Object.assign({childrenColumnName:_,expandIconColumnIndex:w},x),{expandIcon:(n=x==null?void 0:x.expandIcon)!==null&&n!==void 0?n:(r=U==null?void 0:U.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:de="children"}=me,Te=c.useMemo(()=>V.some(ht=>ht==null?void 0:ht[de])?"nest":R||x!=null&&x.expandedRowRender?"row":null,[V]),Ee={body:c.useRef()},ge=jMe(H),re=c.useRef(null),ne=c.useRef(null);BMe(t,()=>Object.assign(Object.assign({},ne.current),{nativeElement:re.current}));const ae=c.useMemo(()=>typeof g=="function"?g:ht=>ht==null?void 0:ht[g],[g]),[le]=hLe(V,de,ae),pe={},Re=function(ht,ct){let ot=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var et,vt,nt,bt;const Ct=Object.assign(Object.assign({},pe),ht);ot&&((et=pe.resetPagination)===null||et===void 0||et.call(pe),!((vt=Ct.pagination)===null||vt===void 0)&&vt.current&&(Ct.pagination.current=1),f&&((nt=f.onChange)===null||nt===void 0||nt.call(f,1,(bt=Ct.pagination)===null||bt===void 0?void 0:bt.pageSize))),O&&O.scrollToFirstRowOnChange!==!1&&Ee.body.current&&Ofe(0,{getContainer:()=>Ee.body.current}),E==null||E(Ct.pagination,Ct.filters,Ct.sorter,{currentDataSource:LD(PD(V,Ct.sorterStates,de),Ct.filterStates,de),action:ct})},Se=(ht,ct)=>{Re({sorter:ht,sorterStates:ct},"sort",!1)},[Pe,fe,ve,Ae]=ELe({prefixCls:H,mergedColumns:$,onSorterChange:Se,sortDirections:k||["ascend","descend"],tableLocale:X,showSorterTooltip:M}),ye=c.useMemo(()=>PD(V,fe,de),[V,fe]);pe.sorter=Ae(),pe.sorterStates=fe;const be=(ht,ct)=>{Re({filters:ht,filterStates:ct},"filter",!0)},[Ne,Ie,xe]=gLe({prefixCls:H,locale:X,dropdownPrefixCls:q,mergedColumns:$,onFilterChange:be,getPopupContainer:y||J,rootClassName:ie(o,Z)}),ke=LD(ye,Ie,de);pe.filters=xe,pe.filterStates=Ie;const rt=c.useMemo(()=>{const ht={};return Object.keys(xe).forEach(ct=>{xe[ct]!==null&&(ht[ct]=xe[ct])}),Object.assign(Object.assign({},ve),{filters:ht})},[ve,xe]),[Me]=yLe(rt),Ce=(ht,ct)=>{Re({pagination:Object.assign(Object.assign({},pe.pagination),{current:ht,pageSize:ct})},"paginate")},[De,Ue]=bLe(ke.length,Ce,f);pe.pagination=f===!1?{}:_Le(De,f),pe.resetPagination=Ue;const Ye=c.useMemo(()=>{if(f===!1||!De.pageSize)return ke;const{current:ht=1,total:ct,pageSize:ot=Ste}=De;return ke.lengthot?ke.slice((ht-1)*ot,ht*ot):ke:ke.slice((ht-1)*ot,ht*ot)},[!!f,ke,De==null?void 0:De.current,De==null?void 0:De.pageSize,De==null?void 0:De.total]),[He,ze]=$Me({prefixCls:H,data:ke,pageData:Ye,getRowKey:ae,getRecordByKey:le,expandType:Te,childrenColumnName:de,locale:X,getPopupContainer:y||J},m),Xe=(ht,ct,ot)=>{let et;return typeof h=="function"?et=ie(h(ht,ct,ot)):et=ie(h),ie({[`${H}-row-selected`]:ze.has(ae(ht,ct))},et)};me.__PARENT_RENDER_ICON__=me.expandIcon,me.expandIcon=me.expandIcon||T||UMe(X),Te==="nest"&&me.expandIconColumnIndex===void 0?me.expandIconColumnIndex=m?1:0:me.expandIconColumnIndex>0&&m&&(me.expandIconColumnIndex-=1),typeof me.indentSize!="number"&&(me.indentSize=typeof I=="number"?I:15);const Be=c.useCallback(ht=>Me(He(Ne(Pe(ht)))),[Pe,Ne,He]);let Je,mt;if(f!==!1&&(De!=null&&De.total)){let ht;De.size?ht=De.size:ht=Y==="small"||Y==="middle"?"small":void 0;const ct=vt=>c.createElement(kk,Object.assign({},De,{className:ie(`${H}-pagination ${H}-pagination-${vt}`,De.className),size:ht})),ot=z==="rtl"?"left":"right",{position:et}=De;if(et!==null&&Array.isArray(et)){const vt=et.find(Ct=>Ct.includes("top")),nt=et.find(Ct=>Ct.includes("bottom")),bt=et.every(Ct=>`${Ct}`=="none");!vt&&!nt&&!bt&&(mt=ct(ot)),vt&&(Je=ct(vt.toLowerCase().replace("top",""))),nt&&(mt=ct(nt.toLowerCase().replace("bottom","")))}else mt=ct(ot)}let pt;typeof C=="boolean"?pt={spinning:C}:typeof C=="object"&&(pt=Object.assign({spinning:!0},C));const We=ie(ue,Z,`${H}-wrapper`,U==null?void 0:U.className,{[`${H}-wrapper-rtl`]:z==="rtl"},i,o,se),Ve=Object.assign(Object.assign({},U==null?void 0:U.style),s),Ze=typeof(P==null?void 0:P.emptyText)<"u"?P.emptyText:(j==null?void 0:j("Table"))||c.createElement(jb,{componentName:"Table"}),dt=N?TLe:CLe,It={},Nt=c.useMemo(()=>{const{fontSize:ht,lineHeight:ct,padding:ot,paddingXS:et,paddingSM:vt}=K,nt=Math.floor(ht*ct);switch(Y){case"large":return ot*2+nt;case"small":return et*2+nt;default:return vt*2+nt}},[K,Y]);return N&&(It.listItemHeight=Nt),te(c.createElement("div",{ref:re,className:We,style:Ve},c.createElement(Pk,Object.assign({spinning:!1},pt),Je,c.createElement(dt,Object.assign({},It,F,{ref:ne,columns:$,direction:z,expandable:me,prefixCls:H,className:ie({[`${H}-middle`]:Y==="middle",[`${H}-small`]:Y==="small",[`${H}-bordered`]:u,[`${H}-empty`]:V.length===0},ue,Z,se),data:Ye,rowKey:ae,rowClassName:Xe,emptyText:Ze,internalHooks:vg,internalRefs:Ee,transformColumns:Be,getContainerWidth:ge})),mt)))},GLe=c.forwardRef(HLe),VLe=(e,t)=>{const n=c.useRef(0);return n.current+=1,c.createElement(GLe,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Wa=c.forwardRef(VLe);Wa.SELECTION_COLUMN=$s;Wa.EXPAND_COLUMN=js;Wa.SELECTION_ALL=OD;Wa.SELECTION_INVERT=ND;Wa.SELECTION_NONE=AD;Wa.Column=RMe;Wa.ColumnGroup=wMe;Wa.Summary=Yee;const qLe=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},on(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${Q(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:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},eP=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM;return Ht(e,{tagFontSize:a,tagLineHeight:Q(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},tP=e=>({defaultBg:new an(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),Cte=cn("Tag",e=>{const t=eP(e);return qLe(t)},tP);var WLe=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:i,onChange:o,onClick:s}=e,l=WLe(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:u,tag:d}=c.useContext(lt),p=S=>{o==null||o(!i),s==null||s(S)},f=u("tag",n),[m,g,h]=Cte(f),v=ie(f,`${f}-checkable`,{[`${f}-checkable-checked`]:i},d==null?void 0:d.className,a,g,h);return m(c.createElement("span",Object.assign({},l,{ref:t,style:Object.assign(Object.assign({},r),d==null?void 0:d.style),className:v,onClick:p})))}),KLe=e=>eX(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),XLe=Gd(["Tag","preset"],e=>{const t=eP(e);return KLe(t)},tP);function QLe(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const xh=(e,t,n)=>{const r=QLe(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"}}}},ZLe=Gd(["Tag","status"],e=>{const t=eP(e);return[xh(t,"success","Success"),xh(t,"processing","Info"),xh(t,"error","Error"),xh(t,"warning","Warning")]},tP);var JLe=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:i,children:o,icon:s,color:l,onClose:u,bordered:d=!0,visible:p}=e,f=JLe(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:m,direction:g,tag:h}=c.useContext(lt),[v,S]=c.useState(!0),_=An(f,["closeIcon","closable"]);c.useEffect(()=>{p!==void 0&&S(p)},[p]);const E=QQ(l),y=$be(l),C=E||y,T=Object.assign(Object.assign({backgroundColor:l&&!C?l:void 0},h==null?void 0:h.style),i),x=m("tag",n),[R,w,I]=Cte(x),O=ie(x,h==null?void 0:h.className,{[`${x}-${l}`]:C,[`${x}-has-color`]:l&&!C,[`${x}-hidden`]:!v,[`${x}-rtl`]:g==="rtl",[`${x}-borderless`]:!d},r,a,w,I),k=L=>{L.stopPropagation(),u==null||u(L),!L.defaultPrevented&&S(!1)},[,P]=qL(yd(e),yd(h),{closable:!1,closeIconRender:L=>{const $=c.createElement("span",{className:`${x}-close-icon`,onClick:k},L);return PL(L,$,F=>({onClick:B=>{var z;(z=F==null?void 0:F.onClick)===null||z===void 0||z.call(F,B),k(B)},className:ie(F==null?void 0:F.className,`${x}-close-icon`)}))}}),M=typeof f.onClick=="function"||o&&o.type==="a",N=s||null,A=N?c.createElement(c.Fragment,null,N,o&&c.createElement("span",null,o)):o,D=c.createElement("span",Object.assign({},_,{ref:t,className:O,style:T}),A,P,E&&c.createElement(XLe,{key:"preset",prefixCls:x}),y&&c.createElement(ZLe,{key:"status",prefixCls:x}));return R(M?c.createElement(Qm,{component:"Tag"},D):D)}),A_=eke;A_.CheckableTag=YLe;const tke=e=>{const t=e!=null&&e.algorithm?lm(e.algorithm):lm(Wm),n=Object.assign(Object.assign({},Sd),e==null?void 0:e.token);return EK(n,{override:e==null?void 0:e.token},t,AL)};function nke(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 rke=(e,t)=>{const n=t??Wm(e),r=n.fontSizeSM,a=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),nke(t??e)),qK(r)),{controlHeight:a}),VK(Object.assign(Object.assign({},n),{controlHeight:a})))},Qo=(e,t)=>new an(e).setAlpha(t).toRgbString(),fu=(e,t)=>new an(e).lighten(t).toHexString(),ake=e=>{const t=xc(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]}},ike=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Qo(r,.85),colorTextSecondary:Qo(r,.65),colorTextTertiary:Qo(r,.45),colorTextQuaternary:Qo(r,.25),colorFill:Qo(r,.18),colorFillSecondary:Qo(r,.12),colorFillTertiary:Qo(r,.08),colorFillQuaternary:Qo(r,.04),colorBgElevated:fu(n,12),colorBgContainer:fu(n,8),colorBgLayout:fu(n,0),colorBgSpotlight:fu(n,26),colorBgBlur:Qo(r,.04),colorBorder:fu(n,26),colorBorderSecondary:fu(n,19)}},oke=(e,t)=>{const n=Object.keys(wL).map(a=>{const i=xc(e[a],{theme:"dark"});return new Array(10).fill(1).reduce((o,s,l)=>(o[`${a}-${l+1}`]=i[l],o[`${a}${l+1}`]=i[l],o),{})}).reduce((a,i)=>(a=Object.assign(Object.assign({},a),i),a),{}),r=t??Wm(e);return Object.assign(Object.assign(Object.assign({},r),n),GK(e,{generateColorPalettes:ake,generateNeutralColorPalettes:ike}))};function ske(){const[e,t,n]=ia();return{theme:e,token:t,hashId:n}}const Xa={defaultSeed:dm.token,useToken:ske,defaultAlgorithm:Wm,darkAlgorithm:oke,compactAlgorithm:rke,getDesignToken:tke,defaultConfig:dm,_internalContext:IL};var lke=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:p}=d;p===Fe.ENTER&&d.preventDefault()},r=d=>{const{keyCode:p}=d,{onClick:f}=e;p===Fe.ENTER&&f&&f()},{style:a,noStyle:i,disabled:o,tabIndex:s=0}=e,l=lke(e,["style","noStyle","disabled","tabIndex"]);let u={};return i||(u=Object.assign({},cke)),o&&(u.pointerEvents="none"),u=Object.assign(Object.assign({},u),a),c.createElement("div",Object.assign({role:"button",tabIndex:s,ref:t},l,{onKeyDown:n,onKeyUp:r,style:u}))}),uke=function(e){var t=c.useRef({valueLabels:new Map});return c.useMemo(function(){var n=t.current.valueLabels,r=new Map,a=e.map(function(i){var o,s=i.value,l=(o=i.label)!==null&&o!==void 0?o:n.get(s);return r.set(s,l),ee(ee({},i),{},{label:l})});return t.current.valueLabels=r,[a]},[e])},dke=function(e,t,n,r){return c.useMemo(function(){var a=e.map(function(l){var u=l.value;return u}),i=t.map(function(l){var u=l.value;return u}),o=a.filter(function(l){return!r[l]});if(n){var s=ms(a,!0,r);a=s.checkedKeys,i=s.halfCheckedKeys}return[Array.from(new Set([].concat($e(o),$e(a)))),i]},[e,t,n,r])};function pke(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}function fke(e){var t=e||{},n=t.label,r=t.value,a=t.children,i=r||"value";return{_title:n?[n]:["title","label"],value:i,key:i,children:a||"children"}}function FD(e){return!e||e.disabled||e.disableCheckbox||e.checkable===!1}function mke(e,t){var n=[];function r(a){a.forEach(function(i){var o=i[t.children];o&&(n.push(i[t.value]),r(o))})}return r(e),n}function aU(e){return e==null}const gke=function(e,t){return c.useMemo(function(){var n=sS(e,{fieldNames:t,initWrapper:function(a){return ee(ee({},a),{},{valueEntities:new Map})},processEntity:function(a,i){var o=a.node[t.value];i.valueEntities.set(o,a)}});return n},[e,t])};var nP=function(){return null},hke=["children","value"];function Tte(e){return br(e).map(function(t){if(!c.isValidElement(t)||!t.type)return null;var n=t,r=n.key,a=n.props,i=a.children,o=a.value,s=Et(a,hke),l=ee({key:r,value:o},s),u=Tte(i);return u.length&&(l.children=u),l}).filter(function(t){return t})}function BD(e){if(!e)return e;var t=ee({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return bn(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function vke(e,t,n,r,a,i){var o=null,s=null;function l(){function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d.map(function(m,g){var h="".concat(p,"-").concat(g),v=m[i.value],S=n.includes(v),_=u(m[i.children]||[],h,S),E=c.createElement(nP,m,_.map(function(C){return C.node}));if(t===v&&(o=E),S){var y={pos:h,node:E,children:_};return f||s.push(y),y}return null}).filter(function(m){return m})}s||(s=[],u(r),s.sort(function(d,p){var f=d.node.props.value,m=p.node.props.value,g=n.indexOf(f),h=n.indexOf(m);return g-h}))}Object.defineProperty(e,"triggerNode",{get:function(){return bn(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),l(),o}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return bn(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),l(),a?s:s.map(function(d){var p=d.node;return p})}})}const _ke=function(e,t,n){var r=n.treeNodeFilterProp,a=n.filterTreeNode,i=n.fieldNames,o=i.children;return c.useMemo(function(){if(!t||a===!1)return e;var s;if(typeof a=="function")s=a;else{var l=t.toUpperCase();s=function(p,f){var m=f[r];return String(m).toUpperCase().includes(l)}}function u(d){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.reduce(function(f,m){var g=m[o],h=p||s(t,BD(m)),v=u(g||[],h);return(h||v.length)&&f.push(ee(ee({},m),{},W({isLeaf:void 0},o,v))),f},[])}return u(e)},[e,t,o,r,a])};function iU(e){var t=c.useRef();t.current=e;var n=c.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function bke(e,t){var n=t.id,r=t.pId,a=t.rootPId,i={},o=[],s=e.map(function(l){var u=ee({},l),d=u[n];return i[d]=u,u.key=u.key||d,u});return s.forEach(function(l){var u=l[r],d=i[u];d&&(d.children=d.children||[],d.children.push(l)),(u===a||!d&&a===null)&&o.push(l)}),o}function Ske(e,t,n){return c.useMemo(function(){return e?n?bke(e,ee({id:"id",pId:"pId",rootPId:null},n!==!0?n:{})):e:Tte(t)},[t,n,e])}var xte=c.createContext(null),Rte=c.createContext(null),Eke={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},yke=function(t,n){var r=yQ(),a=r.prefixCls,i=r.multiple,o=r.searchValue,s=r.toggleOpen,l=r.open,u=r.notFoundContent,d=c.useContext(Rte),p=d.virtual,f=d.listHeight,m=d.listItemHeight,g=d.listItemScrollOffset,h=d.treeData,v=d.fieldNames,S=d.onSelect,_=d.dropdownMatchSelectWidth,E=d.treeExpandAction,y=d.treeTitleRender,C=d.onPopupScroll,T=c.useContext(xte),x=T.checkable,R=T.checkedKeys,w=T.halfCheckedKeys,I=T.treeExpandedKeys,O=T.treeDefaultExpandAll,k=T.treeDefaultExpandedKeys,P=T.onTreeExpand,M=T.treeIcon,N=T.showTreeIcon,A=T.switcherIcon,D=T.treeLine,L=T.treeNodeFilterProp,$=T.loadData,F=T.treeLoadedKeys,B=T.treeMotion,z=T.onTreeLoad,U=T.keyEntities,j=c.useRef(),G=wl(function(){return h},[l,h],function(Re,Se){return Se[0]&&Re[1]!==Se[1]}),J=c.useState(null),Y=oe(J,2),X=Y[0],V=Y[1],H=U[X],q=c.useMemo(function(){return x?{checked:R,halfChecked:w}:null},[x,R,w]);c.useEffect(function(){if(l&&!i&&R.length){var Re;(Re=j.current)===null||Re===void 0||Re.scrollTo({key:R[0]}),V(R[0])}},[l]);var K=String(o).toLowerCase(),Z=function(Se){return K?String(Se[L]).toLowerCase().includes(K):!1},te=c.useState(k),se=oe(te,2),ue=se[0],me=se[1],de=c.useState(null),Te=oe(de,2),Ee=Te[0],ge=Te[1],re=c.useMemo(function(){return I?$e(I):o?Ee:ue},[ue,Ee,I,o]);c.useEffect(function(){o&&ge(mke(h,v))},[o]);var ne=function(Se){me(Se),ge(Se),P&&P(Se)},ae=function(Se){Se.preventDefault()},le=function(Se,Pe){var fe=Pe.node;x&&FD(fe)||(S(fe.key,{selected:!R.includes(fe.key)}),i||s(!1))};if(c.useImperativeHandle(n,function(){var Re;return{scrollTo:(Re=j.current)===null||Re===void 0?void 0:Re.scrollTo,onKeyDown:function(Pe){var fe,ve=Pe.which;switch(ve){case Fe.UP:case Fe.DOWN:case Fe.LEFT:case Fe.RIGHT:(fe=j.current)===null||fe===void 0||fe.onKeyDown(Pe);break;case Fe.ENTER:{if(H){var Ae=(H==null?void 0:H.node)||{},ye=Ae.selectable,be=Ae.value;ye!==!1&&le(null,{node:{key:X},selected:!R.includes(be)})}break}case Fe.ESC:s(!1)}},onKeyUp:function(){}}}),G.length===0)return c.createElement("div",{role:"listbox",className:"".concat(a,"-empty"),onMouseDown:ae},u);var pe={fieldNames:v};return F&&(pe.loadedKeys=F),re&&(pe.expandedKeys=re),c.createElement("div",{onMouseDown:ae},H&&l&&c.createElement("span",{style:Eke,"aria-live":"assertive"},H.node.value),c.createElement(bS,_e({ref:j,focusable:!1,prefixCls:"".concat(a,"-tree"),treeData:G,height:f,itemHeight:m,itemScrollOffset:g,virtual:p!==!1&&_!==!1,multiple:i,icon:M,showIcon:N,switcherIcon:A,showLine:D,loadData:o?null:$,motion:B,activeKey:X,checkable:x,checkStrictly:!0,checkedKeys:q,selectedKeys:x?[]:R,defaultExpandAll:O,titleRender:y},pe,{onActiveChange:V,onSelect:le,onCheck:le,onExpand:ne,onLoad:z,filterTreeNode:Z,expandAction:E,onScroll:C})))},Cke=c.forwardRef(yke),rP="SHOW_ALL",aP="SHOW_PARENT",SS="SHOW_CHILD";function oU(e,t,n,r){var a=new Set(e);return t===SS?e.filter(function(i){var o=n[i];return!(o&&o.children&&o.children.some(function(s){var l=s.node;return a.has(l[r.value])})&&o.children.every(function(s){var l=s.node;return FD(l)||a.has(l[r.value])}))}):t===aP?e.filter(function(i){var o=n[i],s=o?o.parent:null;return!(s&&!FD(s.node)&&a.has(s.key))}):e}var Tke=["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 xke(e){return!e||gt(e)!=="object"}var Rke=c.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,a=r===void 0?"rc-tree-select":r,i=e.value,o=e.defaultValue,s=e.onChange,l=e.onSelect,u=e.onDeselect,d=e.searchValue,p=e.inputValue,f=e.onSearch,m=e.autoClearSearchValue,g=m===void 0?!0:m,h=e.filterTreeNode,v=e.treeNodeFilterProp,S=v===void 0?"value":v,_=e.showCheckedStrategy,E=e.treeNodeLabelProp,y=e.multiple,C=e.treeCheckable,T=e.treeCheckStrictly,x=e.labelInValue,R=e.fieldNames,w=e.treeDataSimpleMode,I=e.treeData,O=e.children,k=e.loadData,P=e.treeLoadedKeys,M=e.onTreeLoad,N=e.treeDefaultExpandAll,A=e.treeExpandedKeys,D=e.treeDefaultExpandedKeys,L=e.onTreeExpand,$=e.treeExpandAction,F=e.virtual,B=e.listHeight,z=B===void 0?200:B,U=e.listItemHeight,j=U===void 0?20:U,G=e.listItemScrollOffset,J=G===void 0?0:G,Y=e.onDropdownVisibleChange,X=e.dropdownMatchSelectWidth,V=X===void 0?!0:X,H=e.treeLine,q=e.treeIcon,K=e.showTreeIcon,Z=e.switcherIcon,te=e.treeMotion,se=e.treeTitleRender,ue=e.onPopupScroll,me=Et(e,Tke),de=LQ(n),Te=C&&!T,Ee=C||T,ge=T||x,re=Ee||y,ne=ln(o,{value:i}),ae=oe(ne,2),le=ae[0],pe=ae[1],Re=c.useMemo(function(){return C?_||SS:rP},[_,C]),Se=c.useMemo(function(){return fke(R)},[JSON.stringify(R)]),Pe=ln("",{value:d!==void 0?d:p,postState:function(bt){return bt||""}}),fe=oe(Pe,2),ve=fe[0],Ae=fe[1],ye=function(bt){Ae(bt),f==null||f(bt)},be=Ske(I,O,w),Ne=gke(be,Se),Ie=Ne.keyEntities,xe=Ne.valueEntities,ke=c.useCallback(function(nt){var bt=[],Ct=[];return nt.forEach(function(tt){xe.has(tt)?Ct.push(tt):bt.push(tt)}),{missingRawValues:bt,existRawValues:Ct}},[xe]),rt=_ke(be,ve,{fieldNames:Se,treeNodeFilterProp:S,filterTreeNode:h}),Me=c.useCallback(function(nt){if(nt){if(E)return nt[E];for(var bt=Se._title,Ct=0;Ct{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,a=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${Q(e.paddingXS)} ${Q(e.calc(e.paddingXS).div(2).equal())}`},pte(n,Ht(e,{colorBgContainer:r})),{[a]:{borderRadius:0,[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-treenode`]:{[`${a}-node-content-wrapper`]:{flex:"auto"}}}}},xk(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${a}-switcher${a}-switcher_close`]:{[`${a}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function Ike(e,t,n){return cn("TreeSelect",r=>{const a=Ht(r,{treePrefixCls:t});return[wke(a)]},fte)(e,n)}var Oke=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:i,bordered:o=!0,className:s,rootClassName:l,treeCheckable:u,multiple:d,listHeight:p=256,listItemHeight:f=26,placement:m,notFoundContent:g,switcherIcon:h,treeLine:v,getPopupContainer:S,popupClassName:_,dropdownClassName:E,treeIcon:y=!1,transitionName:C,choiceTransitionName:T="",status:x,treeExpandAction:R,builtinPlacements:w,dropdownMatchSelectWidth:I,popupMatchSelectWidth:O,allowClear:k,variant:P,dropdownStyle:M,tagRender:N}=e,A=Oke(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:D,getPrefixCls:L,renderEmpty:$,direction:F,virtual:B,popupMatchSelectWidth:z,popupOverflow:U}=c.useContext(lt),j=L(),G=L("select",r),J=L("select-tree",r),Y=L("tree-select",r),{compactSize:X,compactItemClassnames:V}=ws(G,F),H=Zn(G),q=Zn(Y),[K,Z,te]=HQ(G,H),[se]=Ike(Y,J,q),[ue,me]=Uc("treeSelect",P,o),de=ie(_||E,`${Y}-dropdown`,{[`${Y}-dropdown-rtl`]:F==="rtl"},l,te,H,q,Z),Te=!!(u||d),Ee=GQ(e.suffixIcon,e.showArrow),ge=(n=O??I)!==null&&n!==void 0?n:z,{status:re,hasFeedback:ne,isFormItemInput:ae,feedbackIcon:le}=c.useContext(Gr),pe=Nl(re,x),{suffixIcon:Re,removeIcon:Se,clearIcon:Pe}=JL(Object.assign(Object.assign({},A),{multiple:Te,showSuffixIcon:Ee,hasFeedback:ne,feedbackIcon:le,prefixCls:G,componentName:"TreeSelect"})),fe=k===!0?{clearIcon:Pe}:k;let ve;g!==void 0?ve=g:ve=($==null?void 0:$("Select"))||c.createElement(jb,{componentName:"Select"});const Ae=An(A,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),ye=c.useMemo(()=>m!==void 0?m:F==="rtl"?"bottomRight":"bottomLeft",[m,F]),be=xr(Ce=>{var De;return(De=a??X)!==null&&De!==void 0?De:Ce}),Ne=c.useContext(ea),Ie=i??Ne,xe=ie(!r&&Y,{[`${G}-lg`]:be==="large",[`${G}-sm`]:be==="small",[`${G}-rtl`]:F==="rtl",[`${G}-${ue}`]:me,[`${G}-in-form-item`]:ae},Cs(G,pe,ne),V,s,l,te,H,q,Z),ke=Ce=>c.createElement(mte,{prefixCls:J,switcherIcon:h,treeNodeProps:Ce,showLine:v}),[rt]=bo("SelectLike",M==null?void 0:M.zIndex),Me=c.createElement(_g,Object.assign({virtual:B,disabled:Ie},Ae,{dropdownMatchSelectWidth:ge,builtinPlacements:FQ(w,U),ref:t,prefixCls:G,className:xe,listHeight:p,listItemHeight:f,treeCheckable:u&&c.createElement("span",{className:`${G}-tree-checkbox-inner`}),treeLine:!!v,suffixIcon:Re,multiple:Te,placement:ye,removeIcon:Se,allowClear:fe,switcherIcon:ke,showTreeIcon:y,notFoundContent:ve,getPopupContainer:S||D,treeMotion:null,dropdownClassName:de,dropdownStyle:Object.assign(Object.assign({},M),{zIndex:rt}),choiceTransitionName:ya(j,"",T),transitionName:ya(j,"slide-up",C),treeExpandAction:R,tagRender:Te?N:void 0}));return K(se(Me))},Ake=c.forwardRef(Nke),Dl=Ake,Dke=ag(Dl);Dl.TreeNode=nP;Dl.SHOW_ALL=rP;Dl.SHOW_PARENT=aP;Dl.SHOW_CHILD=SS;Dl._InternalPanelDoNotUseOrYouWillBeFired=Dke;const Mke=(e,t,n,r)=>{const{titleMarginBottom:a,fontWeightStrong:i}=r;return{marginBottom:a,color:n,fontWeight:i,fontSize:e,lineHeight:t}},Lke=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` - h${r}&, - div&-h${r}, - div&-h${r} > textarea, - h${r} - `]=Mke(e[`fontSizeHeading${r}`],e[`lineHeightHeading${r}`],e.colorTextHeading,e)}),n},kke=e=>{const{componentCls:t}=e;return{"a&, a":Object.assign(Object.assign({},DL(e)),{textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration},[`&[disabled], &${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}})}},Pke=e=>({code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",fontFamily:e.fontFamilyCode,background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:p_[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,fontFamily:e.fontFamilyCode,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),$ke=e=>{const{componentCls:t,paddingSM:n}=e,r=n;return{"&-edit-content":{position:"relative","div&":{insetInlineStart:e.calc(e.paddingSM).mul(-1).equal(),marginTop:e.calc(r).mul(-1).equal(),marginBottom:`calc(1em - ${Q(r)})`},[`${t}-edit-content-confirm`]:{position:"absolute",insetInlineEnd:e.calc(e.marginXS).add(2).equal(),insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"},textarea:{margin:"0!important",MozTransition:"none",height:"1em"}}}},Fke=e=>({[`${e.componentCls}-copy-success`]:{"\n &,\n &:hover,\n &:focus":{color:e.colorSuccess}},[`${e.componentCls}-copy-icon-only`]:{marginInlineStart:0}}),Bke=()=>({"\n a&-ellipsis,\n span&-ellipsis\n ":{display:"inline-block",maxWidth:"100%"},"&-ellipsis-single-line":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"},"> code":{paddingBlock:0,maxWidth:"calc(100% - 1.2em)",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis",verticalAlign:"bottom",boxSizing:"content-box"}},"&-ellipsis-multiple-line":{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}}),Uke=e=>{const{componentCls:t,titleMarginTop:n}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight,[`&${t}-secondary`]:{color:e.colorTextDescription},[`&${t}-success`]:{color:e.colorSuccess},[`&${t}-warning`]:{color:e.colorWarning},[`&${t}-danger`]:{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}},[`&${t}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"},"\n div&,\n p\n ":{marginBottom:"1em"}},Lke(e)),{[` - & + h1${t}, - & + h2${t}, - & + h3${t}, - & + h4${t}, - & + h5${t} - `]:{marginTop:n},"\n div,\n ul,\n li,\n p,\n h1,\n h2,\n h3,\n h4,\n h5":{"\n + h1,\n + h2,\n + h3,\n + h4,\n + h5\n ":{marginTop:n}}}),Pke(e)),kke(e)),{[` - ${t}-expand, - ${t}-collapse, - ${t}-edit, - ${t}-copy - `]:Object.assign(Object.assign({},DL(e)),{marginInlineStart:e.marginXXS})}),$ke(e)),Fke(e)),Bke()),{"&-rtl":{direction:"rtl"}})}},jke=()=>({titleMarginTop:"1.2em",titleMarginBottom:"0.5em"}),wte=cn("Typography",e=>[Uke(e)],jke),zke=e=>{const{prefixCls:t,"aria-label":n,className:r,style:a,direction:i,maxLength:o,autoSize:s=!0,value:l,onSave:u,onCancel:d,onEnd:p,component:f,enterIcon:m=c.createElement(hNe,null)}=e,g=c.useRef(null),h=c.useRef(!1),v=c.useRef(),[S,_]=c.useState(l);c.useEffect(()=>{_(l)},[l]),c.useEffect(()=>{var M;if(!((M=g.current)===null||M===void 0)&&M.resizableTextArea){const{textArea:N}=g.current.resizableTextArea;N.focus();const{length:A}=N.value;N.setSelectionRange(A,A)}},[]);const E=M=>{let{target:N}=M;_(N.value.replace(/[\n\r]/g,""))},y=()=>{h.current=!0},C=()=>{h.current=!1},T=M=>{let{keyCode:N}=M;h.current||(v.current=N)},x=()=>{u(S.trim())},R=M=>{let{keyCode:N,ctrlKey:A,altKey:D,metaKey:L,shiftKey:$}=M;v.current!==N||h.current||A||D||L||$||(N===Fe.ENTER?(x(),p==null||p()):N===Fe.ESC&&d())},w=()=>{x()},[I,O,k]=wte(t),P=ie(t,`${t}-edit-content`,{[`${t}-rtl`]:i==="rtl",[`${t}-${f}`]:!!f},r,O,k);return I(c.createElement("div",{className:P,style:a},c.createElement(BJ,{ref:g,maxLength:o,value:S,onChange:E,onKeyDown:T,onKeyUp:R,onCompositionStart:y,onCompositionEnd:C,onBlur:w,"aria-label":n,rows:1,autoSize:s}),m!==null?Tr(m,{className:`${t}-edit-content-confirm`}):null))};var Hke=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 p=sU[t.format]||sU.default;window.clipboardData.setData(p,e)}else d.clipboardData.clearData(),d.clipboardData.setData(t.format,e);t.onCopy&&(d.preventDefault(),t.onCopy(d.clipboardData))}),document.body.appendChild(s),i.selectNodeContents(s),o.addRange(i);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");l=!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),l=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),r=qke("message"in t?t.message:Vke),window.prompt(r,e)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(i):o.removeAllRanges()),s&&document.body.removeChild(s),a()}return l}var Yke=Wke;const Kke=xa(Yke);var Xke=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?i(d.value):a(d.value).then(s,l)}u((r=r.apply(e,t||[])).next())})};const Qke=e=>{let{copyConfig:t,children:n}=e;const[r,a]=c.useState(!1),[i,o]=c.useState(!1),s=c.useRef(null),l=()=>{s.current&&clearTimeout(s.current)},u={};t.format&&(u.format=t.format),c.useEffect(()=>l,[]);const d=Wt(p=>Xke(void 0,void 0,void 0,function*(){var f;p==null||p.preventDefault(),p==null||p.stopPropagation(),o(!0);try{const m=typeof t.text=="function"?yield t.text():t.text;Kke(m||String(n)||"",u),o(!1),a(!0),l(),s.current=setTimeout(()=>{a(!1)},3e3),(f=t.onCopy)===null||f===void 0||f.call(t,p)}catch(m){throw o(!1),m}}));return{copied:r,copyLoading:i,onClick:d}};function My(e,t){return c.useMemo(()=>{const n=!!e;return[n,Object.assign(Object.assign({},t),n&&typeof e=="object"?e:null)]},[e])}const Zke=e=>{const t=c.useRef();return c.useEffect(()=>{t.current=e}),t.current},Jke=(e,t,n)=>c.useMemo(()=>e===!0?{title:t??n}:c.isValidElement(e)?{title:e}:typeof e=="object"?Object.assign({title:t??n},e):{title:e},[e,t,n]);var ePe=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:i,setContentRef:o,children:s,direction:l,style:u}=e,d=ePe(e,["prefixCls","component","className","rootClassName","setContentRef","children","direction","style"]),{getPrefixCls:p,direction:f,typography:m}=c.useContext(lt),g=l??f,h=o?aa(t,o):t,v=p("typography",n),[S,_,E]=wte(v),y=ie(v,m==null?void 0:m.className,{[`${v}-rtl`]:g==="rtl"},a,i,_,E),C=Object.assign(Object.assign({},m==null?void 0:m.style),u);return S(c.createElement(r,Object.assign({className:y,style:C,ref:h},d),s))});function lU(e){return e===!1?[!1,!1]:Array.isArray(e)?e:[e]}function Ly(e,t,n){return e===!0||e===void 0?t:e||n&&t}function tPe(e){const t=document.createElement("em");e.appendChild(t);const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return e.removeChild(t),n.left>r.left||r.right>n.right||n.top>r.top||r.bottom>n.bottom}const iP=e=>["string","number"].includes(typeof e),nPe=e=>{let{prefixCls:t,copied:n,locale:r,iconOnly:a,tooltips:i,icon:o,tabIndex:s,onCopy:l,loading:u}=e;const d=lU(i),p=lU(o),{copied:f,copy:m}=r??{},g=n?f:m,h=Ly(d[n?1:0],g),v=typeof h=="string"?h:g;return c.createElement(Jt,{title:h},c.createElement($D,{className:ie(`${t}-copy`,{[`${t}-copy-success`]:n,[`${t}-copy-icon-only`]:a}),onClick:l,"aria-label":v,tabIndex:s},n?Ly(p[1],c.createElement(zb,null),!0):Ly(p[0],u?c.createElement(Ss,null):c.createElement(Lee,null),!0)))},Rh=c.forwardRef((e,t)=>{let{style:n,children:r}=e;const a=c.useRef(null);return c.useImperativeHandle(t,()=>({isExceed:()=>{const i=a.current;return i.scrollHeight>i.clientHeight},getHeight:()=>a.current.clientHeight})),c.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)}),rPe=e=>e.reduce((t,n)=>t+(iP(n)?String(n).length:1),0);function cU(e,t){let n=0;const r=[];for(let a=0;at){const u=t-n;return r.push(String(i).slice(0,u)),r}r.push(i),n=l}return e}const ky=0,Py=1,$y=2,Fy=3,uU=4,wh={display:"-webkit-box",overflow:"hidden",WebkitBoxOrient:"vertical"};function aPe(e){const{enableMeasure:t,width:n,text:r,children:a,rows:i,expanded:o,miscDeps:s,onEllipsis:l}=e,u=c.useMemo(()=>br(r),[r]),d=c.useMemo(()=>rPe(u),[r]),p=c.useMemo(()=>a(u,!1),[r]),[f,m]=c.useState(null),g=c.useRef(null),h=c.useRef(null),v=c.useRef(null),S=c.useRef(null),_=c.useRef(null),[E,y]=c.useState(!1),[C,T]=c.useState(ky),[x,R]=c.useState(0),[w,I]=c.useState(null);Qt(()=>{T(t&&n&&d?Py:ky)},[n,r,i,t,u]),Qt(()=>{var M,N,A,D;if(C===Py){T($y);const L=h.current&&getComputedStyle(h.current).whiteSpace;I(L)}else if(C===$y){const L=!!(!((M=v.current)===null||M===void 0)&&M.isExceed());T(L?Fy:uU),m(L?[0,d]:null),y(L);const $=((N=v.current)===null||N===void 0?void 0:N.getHeight())||0,F=i===1?0:((A=S.current)===null||A===void 0?void 0:A.getHeight())||0,B=((D=_.current)===null||D===void 0?void 0:D.getHeight())||0,z=Math.max($,F+B);R(z+1),l(L)}},[C]);const O=f?Math.ceil((f[0]+f[1])/2):0;Qt(()=>{var M;const[N,A]=f||[0,0];if(N!==A){const L=(((M=g.current)===null||M===void 0?void 0:M.getHeight())||0)>x;let $=O;A-N===1&&($=L?N:A),m(L?[N,$]:[$,A])}},[f,O]);const k=c.useMemo(()=>{if(!t)return a(u,!1);if(C!==Fy||!f||f[0]!==f[1]){const M=a(u,!1);return[uU,ky].includes(C)?M:c.createElement("span",{style:Object.assign(Object.assign({},wh),{WebkitLineClamp:i})},M)}return a(o?u:cU(u,f[0]),E)},[o,C,f,u].concat($e(s))),P={width:n,margin:0,padding:0,whiteSpace:w==="nowrap"?"normal":"inherit"};return c.createElement(c.Fragment,null,k,C===$y&&c.createElement(c.Fragment,null,c.createElement(Rh,{style:Object.assign(Object.assign(Object.assign({},P),wh),{WebkitLineClamp:i}),ref:v},p),c.createElement(Rh,{style:Object.assign(Object.assign(Object.assign({},P),wh),{WebkitLineClamp:i-1}),ref:S},p),c.createElement(Rh,{style:Object.assign(Object.assign(Object.assign({},P),wh),{WebkitLineClamp:1}),ref:_},a([],!0))),C===Fy&&f&&f[0]!==f[1]&&c.createElement(Rh,{style:Object.assign(Object.assign({},P),{top:400}),ref:g},a(cU(u,O),!0)),C===Py&&c.createElement("span",{style:{whiteSpace:"inherit"},ref:h}))}const iPe=e=>{let{enableEllipsis:t,isEllipsis:n,children:r,tooltipProps:a}=e;return!(a!=null&&a.title)||!t?r:c.createElement(Jt,Object.assign({open:n?void 0:!1},a),r)};var oPe=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,style:i,type:o,disabled:s,children:l,ellipsis:u,editable:d,copyable:p,component:f,title:m}=e,g=oPe(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),{getPrefixCls:h,direction:v}=c.useContext(lt),[S]=Go("Text"),_=c.useRef(null),E=c.useRef(null),y=h("typography",r),C=An(g,["mark","code","delete","underline","strong","keyboard","italic"]),[T,x]=My(d),[R,w]=ln(!1,{value:x.editing}),{triggerType:I=["icon"]}=x,O=Ie=>{var xe;Ie&&((xe=x.onStart)===null||xe===void 0||xe.call(x)),w(Ie)},k=Zke(R);Qt(()=>{var Ie;!R&&k&&((Ie=E.current)===null||Ie===void 0||Ie.focus())},[R]);const P=Ie=>{Ie==null||Ie.preventDefault(),O(!0)},M=Ie=>{var xe;(xe=x.onChange)===null||xe===void 0||xe.call(x,Ie),O(!1)},N=()=>{var Ie;(Ie=x.onCancel)===null||Ie===void 0||Ie.call(x),O(!1)},[A,D]=My(p),{copied:L,copyLoading:$,onClick:F}=Qke({copyConfig:D,children:l}),[B,z]=c.useState(!1),[U,j]=c.useState(!1),[G,J]=c.useState(!1),[Y,X]=c.useState(!1),[V,H]=c.useState(!0),[q,K]=My(u,{expandable:!1,symbol:Ie=>Ie?S==null?void 0:S.collapse:S==null?void 0:S.expand}),[Z,te]=ln(K.defaultExpanded||!1,{value:K.expanded}),se=q&&(!Z||K.expandable==="collapsible"),{rows:ue=1}=K,me=c.useMemo(()=>se&&(K.suffix!==void 0||K.onEllipsis||K.expandable||T||A),[se,K,T,A]);Qt(()=>{q&&!me&&(z(tD("webkitLineClamp")),j(tD("textOverflow")))},[me,q]);const[de,Te]=c.useState(se),Ee=c.useMemo(()=>me?!1:ue===1?U:B,[me,U,B]);Qt(()=>{Te(Ee&&se)},[Ee,se]);const ge=se&&(de?Y:G),re=se&&ue===1&&de,ne=se&&ue>1&&de,ae=(Ie,xe)=>{var ke;te(xe.expanded),(ke=K.onExpand)===null||ke===void 0||ke.call(K,Ie,xe)},[le,pe]=c.useState(0),Re=Ie=>{let{offsetWidth:xe}=Ie;pe(xe)},Se=Ie=>{var xe;J(Ie),G!==Ie&&((xe=K.onEllipsis)===null||xe===void 0||xe.call(K,Ie))};c.useEffect(()=>{const Ie=_.current;if(q&&de&&Ie){const xe=tPe(Ie);Y!==xe&&X(xe)}},[q,de,l,ne,V,le]),c.useEffect(()=>{const Ie=_.current;if(typeof IntersectionObserver>"u"||!Ie||!de||!se)return;const xe=new IntersectionObserver(()=>{H(!!Ie.offsetParent)});return xe.observe(Ie),()=>{xe.disconnect()}},[de,se]);const Pe=Jke(K.tooltip,x.text,l),fe=c.useMemo(()=>{if(!(!q||de))return[x.text,l,m,Pe.title].find(iP)},[q,de,m,Pe.title,ge]);if(R)return c.createElement(zke,{value:(n=x.text)!==null&&n!==void 0?n:typeof l=="string"?l:"",onSave:M,onCancel:N,onEnd:x.onEnd,prefixCls:y,className:a,style:i,direction:v,component:f,maxLength:x.maxLength,autoSize:x.autoSize,enterIcon:x.enterIcon});const ve=()=>{const{expandable:Ie,symbol:xe}=K;return Ie?c.createElement($D,{key:"expand",className:`${y}-${Z?"collapse":"expand"}`,onClick:ke=>ae(ke,{expanded:!Z}),"aria-label":Z?S.collapse:S==null?void 0:S.expand},typeof xe=="function"?xe(Z):xe):null},Ae=()=>{if(!T)return;const{icon:Ie,tooltip:xe,tabIndex:ke}=x,rt=br(xe)[0]||(S==null?void 0:S.edit),Me=typeof rt=="string"?rt:"";return I.includes("icon")?c.createElement(Jt,{key:"edit",title:xe===!1?"":rt},c.createElement($D,{ref:E,className:`${y}-edit`,onClick:P,"aria-label":Me,tabIndex:ke},Ie||c.createElement(Sm,{role:"button"}))):null},ye=()=>A?c.createElement(nPe,Object.assign({key:"copy"},D,{prefixCls:y,copied:L,locale:S,onCopy:F,loading:$,iconOnly:l==null})):null,be=Ie=>[Ie&&ve(),Ae(),ye()],Ne=Ie=>[Ie&&!Z&&c.createElement("span",{"aria-hidden":!0,key:"ellipsis"},lPe),K.suffix,be(Ie)];return c.createElement(da,{onResize:Re,disabled:!se},Ie=>c.createElement(iPe,{tooltipProps:Pe,enableEllipsis:se,isEllipsis:ge},c.createElement(Ite,Object.assign({className:ie({[`${y}-${o}`]:o,[`${y}-disabled`]:s,[`${y}-ellipsis`]:q,[`${y}-ellipsis-single-line`]:re,[`${y}-ellipsis-multiple-line`]:ne},a),prefixCls:r,style:Object.assign(Object.assign({},i),{WebkitLineClamp:ne?ue:void 0}),component:f,ref:aa(Ie,_,t),direction:v,onClick:I.includes("text")?P:void 0,"aria-label":fe==null?void 0:fe.toString(),title:m},C),c.createElement(aPe,{enableMeasure:se&&!de,text:l,rows:ue,width:le,onEllipsis:Se,expanded:Z,miscDeps:[L,Z,$,T,A]},(xe,ke)=>sPe(e,c.createElement(c.Fragment,null,xe.length>0&&ke&&!Z&&fe?c.createElement("span",{key:"show-content","aria-hidden":!0},xe):xe,Ne(ke)))))))});var cPe=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=cPe(e,["ellipsis","rel"]);const i=Object.assign(Object.assign({},a),{rel:r===void 0&&a.target==="_blank"?"noopener noreferrer":r});return delete i.navigate,c.createElement(ES,Object.assign({},i,{ref:t,ellipsis:!!n,component:"a"}))}),dPe=c.forwardRef((e,t)=>c.createElement(ES,Object.assign({ref:t},e,{component:"div"})));var pPe=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=pPe(e,["ellipsis"]);const a=c.useMemo(()=>n&&typeof n=="object"?An(n,["expandable","rows"]):n,[n]);return c.createElement(ES,Object.assign({ref:t},r,{ellipsis:a,component:"span"}))},mPe=c.forwardRef(fPe);var gPe=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=gPe(e,["level"]),a=hPe.includes(n)?`h${n}`:"h1";return c.createElement(ES,Object.assign({ref:t},r,{component:a}))}),wn=Ite;wn.Text=mPe;wn.Link=uPe;wn.Title=vPe;wn.Paragraph=dPe;const By=function(e,t){if(e&&t){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",a=e.type||"",i=a.replace(/\/.*$/,"");return n.some(function(o){var s=o.trim();if(/^\*(\/\*)?$/.test(o))return!0;if(s.charAt(0)==="."){var l=r.toLowerCase(),u=s.toLowerCase(),d=[u];return(u===".jpg"||u===".jpeg")&&(d=[".jpg",".jpeg"]),d.some(function(p){return l.endsWith(p)})}return/\/\*$/.test(s)?i===s.replace(/\/.*$/,""):a===s?!0:/^\w+$/.test(s)?(bn(!1,"Upload takes an invalidate 'accept' type '".concat(s,"'.Skip for check.")),!0):!1})}return!0};function _Pe(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 dU(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}function bPe(e){var t=new XMLHttpRequest;e.onProgress&&t.upload&&(t.upload.onprogress=function(i){i.total>0&&(i.percent=i.loaded/i.total*100),e.onProgress(i)});var n=new FormData;e.data&&Object.keys(e.data).forEach(function(a){var i=e.data[a];if(Array.isArray(i)){i.forEach(function(o){n.append("".concat(a,"[]"),o)});return}n.append(a,i)}),e.file instanceof Blob?n.append(e.filename,e.file,e.file.name):n.append(e.filename,e.file),t.onerror=function(i){e.onError(i)},t.onload=function(){return t.status<200||t.status>=300?e.onError(_Pe(e,t),dU(t)):e.onSuccess(dU(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 SPe=function(){var e=ci(zn().mark(function t(n,r){var a,i,o,s,l,u,d,p;return zn().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:u=function(){return u=ci(zn().mark(function h(v){return zn().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:return _.abrupt("return",new Promise(function(E){v.file(function(y){r(y)?(v.fullPath&&!y.webkitRelativePath&&(Object.defineProperties(y,{webkitRelativePath:{writable:!0}}),y.webkitRelativePath=v.fullPath.replace(/^\//,""),Object.defineProperties(y,{webkitRelativePath:{writable:!1}})),E(y)):E(null)})}));case 1:case"end":return _.stop()}},h)})),u.apply(this,arguments)},l=function(h){return u.apply(this,arguments)},s=function(){return s=ci(zn().mark(function h(v){var S,_,E,y,C;return zn().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:S=v.createReader(),_=[];case 2:return x.next=5,new Promise(function(R){S.readEntries(R,function(){return R([])})});case 5:if(E=x.sent,y=E.length,y){x.next=9;break}return x.abrupt("break",12);case 9:for(C=0;C{const{componentCls:t,iconCls:n}=e;return{[`${t}-wrapper`]:{[`${t}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:e.colorFillAlter,border:`${Q(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:`${Q(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 ${Q(e.marginXXS)}`,color:e.colorTextHeading,fontSize:e.fontSizeLG},[`p${t}-hint`]:{color:e.colorTextDescription,fontSize:e.fontSize},[`&${t}-disabled`]:{[`p${t}-drag-icon ${n}, - p${t}-text, - p${t}-hint - `]:{color:e.colorTextDisabled}}}}}},RPe=e=>{const{componentCls:t,antCls:n,iconCls:r,fontSize:a,lineHeight:i,calc:o}=e,s=`${t}-list-item`,l=`${s}-actions`,u=`${s}-action`,d=e.fontHeightSM;return{[`${t}-wrapper`]:{[`${t}-list`]:Object.assign(Object.assign({},mo()),{lineHeight:e.lineHeight,[s]:{position:"relative",height:o(e.lineHeight).mul(a).equal(),marginTop:e.marginXS,fontSize:a,display:"flex",alignItems:"center",transition:`background-color ${e.motionDurationSlow}`,"&:hover":{backgroundColor:e.controlItemBgHover},[`${s}-name`]:Object.assign(Object.assign({},vi),{padding:`0 ${Q(e.paddingXS)}`,lineHeight:i,flex:"auto",transition:`all ${e.motionDurationSlow}`}),[l]:{whiteSpace:"nowrap",[u]:{opacity:0},[r]:{color:e.actionsColor,transition:`all ${e.motionDurationSlow}`},[` - ${u}:focus-visible, - &.picture ${u} - `]:{opacity:1},[`${u}${n}-btn`]:{height:d,border:0,lineHeight:1}},[`${t}-icon ${r}`]:{color:e.colorTextDescription,fontSize:a},[`${s}-progress`]:{position:"absolute",bottom:e.calc(e.uploadProgressOffset).mul(-1).equal(),width:"100%",paddingInlineStart:o(a).add(e.paddingXS).equal(),fontSize:a,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${s}:hover ${u}`]:{opacity:1},[`${s}-error`]:{color:e.colorError,[`${s}-name, ${t}-icon ${r}`]:{color:e.colorError},[l]:{[`${r}, ${r}:hover`]:{color:e.colorError},[u]:{opacity:1}}},[`${t}-list-item-container`]:{transition:`opacity ${e.motionDurationSlow}, height ${e.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},wPe=e=>{const{componentCls:t}=e,n=new dn("uploadAnimateInlineIn",{from:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),r=new dn("uploadAnimateInlineOut",{to:{width:0,height:0,padding:0,opacity:0,margin:e.calc(e.marginXS).div(-2).equal()}}),a=`${t}-animate-inline`;return[{[`${t}-wrapper`]:{[`${a}-appear, ${a}-enter, ${a}-leave`]:{animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseInOutCirc,animationFillMode:"forwards"},[`${a}-appear, ${a}-enter`]:{animationName:n},[`${a}-leave`]:{animationName:r}}},{[`${t}-wrapper`]:WL(e)},n,r]},IPe=e=>{const{componentCls:t,iconCls:n,uploadThumbnailSize:r,uploadProgressOffset:a,calc:i}=e,o=`${t}-list`,s=`${o}-item`;return{[`${t}-wrapper`]:{[` - ${o}${o}-picture, - ${o}${o}-picture-card, - ${o}${o}-picture-circle - `]:{[s]:{position:"relative",height:i(r).add(i(e.lineWidth).mul(2)).add(i(e.paddingXS).mul(2)).equal(),padding:e.paddingXS,border:`${Q(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusLG,"&:hover":{background:"transparent"},[`${s}-thumbnail`]:Object.assign(Object.assign({},vi),{width:r,height:r,lineHeight:Q(i(r).add(e.paddingSM).equal()),textAlign:"center",flex:"none",[n]:{fontSize:e.fontSizeHeading2,color:e.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${s}-progress`]:{bottom:a,width:`calc(100% - ${Q(i(e.paddingSM).mul(2).equal())})`,marginTop:0,paddingInlineStart:i(r).add(e.paddingXS).equal()}},[`${s}-error`]:{borderColor:e.colorError,[`${s}-thumbnail ${n}`]:{[`svg path[fill='${bd[0]}']`]:{fill:e.colorErrorBg},[`svg path[fill='${bd.primary}']`]:{fill:e.colorError}}},[`${s}-uploading`]:{borderStyle:"dashed",[`${s}-name`]:{marginBottom:a}}},[`${o}${o}-picture-circle ${s}`]:{[`&, &::before, ${s}-thumbnail`]:{borderRadius:"50%"}}}}},OPe=e=>{const{componentCls:t,iconCls:n,fontSizeLG:r,colorTextLightSolid:a,calc:i}=e,o=`${t}-list`,s=`${o}-item`,l=e.uploadPicCardSize;return{[` - ${t}-wrapper${t}-picture-card-wrapper, - ${t}-wrapper${t}-picture-circle-wrapper - `]:Object.assign(Object.assign({},mo()),{display:"block",[`${t}${t}-select`]:{width:l,height:l,textAlign:"center",verticalAlign:"top",backgroundColor:e.colorFillAlter,border:`${Q(e.lineWidth)} dashed ${e.colorBorder}`,borderRadius:e.borderRadiusLG,cursor:"pointer",transition:`border-color ${e.motionDurationSlow}`,[`> ${t}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${t}-disabled):hover`]:{borderColor:e.colorPrimary}},[`${o}${o}-picture-card, ${o}${o}-picture-circle`]:{display:"flex",flexWrap:"wrap","@supports not (gap: 1px)":{"& > *":{marginBlockEnd:e.marginXS,marginInlineEnd:e.marginXS}},"@supports (gap: 1px)":{gap:e.marginXS},[`${o}-item-container`]:{display:"inline-block",width:l,height:l,verticalAlign:"top"},"&::after":{display:"none"},"&::before":{display:"none"},[s]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${Q(i(e.paddingXS).mul(2).equal())})`,height:`calc(100% - ${Q(i(e.paddingXS).mul(2).equal())})`,backgroundColor:e.colorBgMask,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'" "'}},[`${s}:hover`]:{[`&::before, ${s}-actions`]:{opacity:1}},[`${s}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${e.motionDurationSlow}`,[` - ${n}-eye, - ${n}-download, - ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${Q(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% - ${Q(i(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% - ${Q(i(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},NPe=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},APe=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},on(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},DPe=e=>({actionsColor:e.colorTextDescription}),MPe=cn("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:a,calc:i}=e,o=Ht(e,{uploadThumbnailSize:i(t).mul(2).equal(),uploadProgressOffset:i(i(n).div(2)).add(r).equal(),uploadPicCardSize:i(a).mul(2.55).equal()});return[APe(o),xPe(o),IPe(o),OPe(o),RPe(o),wPe(o),NPe(o),ng(o)]},DPe);function Ih(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 Oh(e,t){const n=$e(t),r=n.findIndex(a=>{let{uid:i}=a;return i===e.uid});return r===-1?n.push(e):n[r]=e,n}function zy(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function LPe(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 kPe=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},Ote=e=>e.indexOf("image/")===0,PPe=e=>{if(e.type&&!e.thumbUrl)return Ote(e.type);const t=e.thumbUrl||e.url||"",n=kPe(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)},Ls=200;function $Pe(e){return new Promise(t=>{if(!e.type||!Ote(e.type)){t("");return}const n=document.createElement("canvas");n.width=Ls,n.height=Ls,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Ls}px; height: ${Ls}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),a=new Image;if(a.onload=()=>{const{width:i,height:o}=a;let s=Ls,l=Ls,u=0,d=0;i>o?(l=o*(Ls/i),d=-(l-s)/2):(s=i*(Ls/o),u=-(s-l)/2),r.drawImage(a,u,d,s,l);const p=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(a.src),t(p)},a.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const i=new FileReader;i.onload=()=>{i.result&&typeof i.result=="string"&&(a.src=i.result)},i.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const i=new FileReader;i.onload=()=>{i.result&&t(i.result)},i.readAsDataURL(e)}else a.src=window.URL.createObjectURL(e)})}const FPe=c.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:a,locale:i,listType:o,file:s,items:l,progress:u,iconRender:d,actionIconRender:p,itemRender:f,isImgUrl:m,showPreviewIcon:g,showRemoveIcon:h,showDownloadIcon:v,previewIcon:S,removeIcon:_,downloadIcon:E,extra:y,onPreview:C,onDownload:T,onClose:x}=e;var R,w;const{status:I}=s,[O,k]=c.useState(I);c.useEffect(()=>{I!=="removed"&&k(I)},[I]);const[P,M]=c.useState(!1);c.useEffect(()=>{const Z=setTimeout(()=>{M(!0)},300);return()=>{clearTimeout(Z)}},[]);const N=d(s);let A=c.createElement("div",{className:`${n}-icon`},N);if(o==="picture"||o==="picture-card"||o==="picture-circle")if(O==="uploading"||!s.thumbUrl&&!s.url){const Z=ie(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:O!=="uploading"});A=c.createElement("div",{className:Z},N)}else{const Z=m!=null&&m(s)?c.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):N,te=ie(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:m&&!m(s)});A=c.createElement("a",{className:te,onClick:se=>C(s,se),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Z)}const D=ie(`${n}-list-item`,`${n}-list-item-${O}`),L=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,$=h?p((typeof _=="function"?_(s):_)||c.createElement(Rd,null),()=>x(s),n,i.removeFile,!0):null,F=v&&O==="done"?p((typeof E=="function"?E(s):E)||c.createElement(Bk,null),()=>T(s),n,i.downloadFile):null,B=o!=="picture-card"&&o!=="picture-circle"&&c.createElement("span",{key:"download-delete",className:ie(`${n}-list-item-actions`,{picture:o==="picture"})},F,$),z=typeof y=="function"?y(s):y,U=z&&c.createElement("span",{className:`${n}-list-item-extra`},z),j=ie(`${n}-list-item-name`),G=s.url?c.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:j,title:s.name},L,{href:s.url,onClick:Z=>C(s,Z)}),s.name,U):c.createElement("span",{key:"view",className:j,onClick:Z=>C(s,Z),title:s.name},s.name,U),J=g&&(s.url||s.thumbUrl)?c.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:Z=>C(s,Z),title:i.previewFile},typeof S=="function"?S(s):S||c.createElement(uS,null)):null,Y=(o==="picture-card"||o==="picture-circle")&&O!=="uploading"&&c.createElement("span",{className:`${n}-list-item-actions`},J,O==="done"&&F,$),{getPrefixCls:X}=c.useContext(lt),V=X(),H=c.createElement("div",{className:D},A,G,B,Y,P&&c.createElement(ta,{motionName:`${V}-fade`,visible:O==="uploading",motionDeadline:2e3},Z=>{let{className:te}=Z;const se="percent"in s?c.createElement(gS,Object.assign({},u,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return c.createElement("div",{className:ie(`${n}-list-item-progress`,te)},se)})),q=s.response&&typeof s.response=="string"?s.response:((R=s.error)===null||R===void 0?void 0:R.statusText)||((w=s.error)===null||w===void 0?void 0:w.message)||i.uploadError,K=O==="error"?c.createElement(Jt,{title:q,getPopupContainer:Z=>Z.parentNode},H):H;return c.createElement("div",{className:ie(`${n}-list-item-container`,r),style:a,ref:t},f?f(K,s,l,{download:T.bind(null,s),preview:C.bind(null,s),remove:x.bind(null,s)}):K)}),BPe=(e,t)=>{const{listType:n="text",previewFile:r=$Pe,onPreview:a,onDownload:i,onRemove:o,locale:s,iconRender:l,isImageUrl:u=PPe,prefixCls:d,items:p=[],showPreviewIcon:f=!0,showRemoveIcon:m=!0,showDownloadIcon:g=!1,removeIcon:h,previewIcon:v,downloadIcon:S,extra:_,progress:E={size:[-1,2],showInfo:!1},appendAction:y,appendActionVisible:C=!0,itemRender:T,disabled:x}=e,R=ek(),[w,I]=c.useState(!1);c.useEffect(()=>{n!=="picture"&&n!=="picture-card"&&n!=="picture-circle"||(p||[]).forEach(j=>{typeof document>"u"||typeof window>"u"||!window.FileReader||!window.File||!(j.originFileObj instanceof File||j.originFileObj instanceof Blob)||j.thumbUrl!==void 0||(j.thumbUrl="",r&&r(j.originFileObj).then(G=>{j.thumbUrl=G||"",R()}))})},[n,p,r]),c.useEffect(()=>{I(!0)},[]);const O=(j,G)=>{if(a)return G==null||G.preventDefault(),a(j)},k=j=>{typeof i=="function"?i(j):j.url&&window.open(j.url)},P=j=>{o==null||o(j)},M=j=>{if(l)return l(j,n);const G=j.status==="uploading",J=u!=null&&u(j)?c.createElement(j1e,null):c.createElement(wNe,null);let Y=G?c.createElement(Ss,null):c.createElement(P1e,null);return n==="picture"?Y=G?c.createElement(Ss,null):J:(n==="picture-card"||n==="picture-circle")&&(Y=G?s.uploading:J),Y},N=(j,G,J,Y,X)=>{const V={type:"text",size:"small",title:Y,onClick:H=>{var q,K;G(),c.isValidElement(j)&&((K=(q=j.props).onClick)===null||K===void 0||K.call(q,H))},className:`${J}-list-item-action`};if(X&&(V.disabled=x),c.isValidElement(j)){const H=Tr(j,Object.assign(Object.assign({},j.props),{onClick:()=>{}}));return c.createElement(Rt,Object.assign({},V,{icon:H}))}return c.createElement(Rt,Object.assign({},V),c.createElement("span",null,j))};c.useImperativeHandle(t,()=>({handlePreview:O,handleDownload:k}));const{getPrefixCls:A}=c.useContext(lt),D=A("upload",d),L=A(),$=ie(`${D}-list`,`${D}-list-${n}`),F=$e(p.map(j=>({key:j.uid,file:j})));let z={motionDeadline:2e3,motionName:`${D}-${n==="picture-card"||n==="picture-circle"?"animate-inline":"animate"}`,keys:F,motionAppear:w};const U=c.useMemo(()=>{const j=Object.assign({},Ed(L));return delete j.onAppearEnd,delete j.onEnterEnd,delete j.onLeaveEnd,j},[L]);return n!=="picture-card"&&n!=="picture-circle"&&(z=Object.assign(Object.assign({},U),z)),c.createElement("div",{className:$},c.createElement(LL,Object.assign({},z,{component:!1}),j=>{let{key:G,file:J,className:Y,style:X}=j;return c.createElement(FPe,{key:G,locale:s,prefixCls:D,className:Y,style:X,file:J,items:p,progress:E,listType:n,isImgUrl:u,showPreviewIcon:f,showRemoveIcon:m,showDownloadIcon:g,removeIcon:h,previewIcon:v,downloadIcon:S,extra:_,iconRender:M,actionIconRender:N,itemRender:T,onPreview:O,onDownload:k,onClose:P})}),y&&c.createElement(ta,Object.assign({},z,{visible:C,forceRender:!0}),j=>{let{className:G,style:J}=j;return Tr(y,Y=>({className:ie(Y.className,G),style:Object.assign(Object.assign(Object.assign({},J),{pointerEvents:G?"none":void 0}),Y.style)}))}))},UPe=c.forwardRef(BPe);var jPe=function(e,t,n,r){function a(i){return i instanceof n?i:new n(function(o){o(i)})}return new(n||(n=Promise))(function(i,o){function s(d){try{u(r.next(d))}catch(p){o(p)}}function l(d){try{u(r.throw(d))}catch(p){o(p)}}function u(d){d.done?i(d.value):a(d.value).then(s,l)}u((r=r.apply(e,[])).next())})};const ef=`__LIST_IGNORE_${Date.now()}__`,zPe=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:a,showUploadList:i=!0,listType:o="text",onPreview:s,onDownload:l,onChange:u,onDrop:d,previewFile:p,disabled:f,locale:m,iconRender:g,isImageUrl:h,progress:v,prefixCls:S,className:_,type:E="select",children:y,style:C,itemRender:T,maxCount:x,data:R={},multiple:w=!1,hasControlInside:I=!0,action:O="",accept:k="",supportServerRender:P=!0,rootClassName:M}=e,N=c.useContext(ea),A=f??N,[D,L]=ln(r||[],{value:n,postState:be=>be??[]}),[$,F]=c.useState("drop"),B=c.useRef(null),z=c.useRef(null);c.useMemo(()=>{const be=Date.now();(n||[]).forEach((Ne,Ie)=>{!Ne.uid&&!Object.isFrozen(Ne)&&(Ne.uid=`__AUTO__${be}_${Ie}__`)})},[n]);const U=(be,Ne,Ie)=>{let xe=$e(Ne),ke=!1;x===1?xe=xe.slice(-1):x&&(ke=xe.length>x,xe=xe.slice(0,x)),Ur.flushSync(()=>{L(xe)});const rt={file:be,fileList:xe};Ie&&(rt.event=Ie),(!ke||be.status==="removed"||xe.some(Me=>Me.uid===be.uid))&&Ur.flushSync(()=>{u==null||u(rt)})},j=(be,Ne)=>jPe(void 0,void 0,void 0,function*(){const{beforeUpload:Ie,transformFile:xe}=e;let ke=be;if(Ie){const rt=yield Ie(be,Ne);if(rt===!1)return!1;if(delete be[ef],rt===ef)return Object.defineProperty(be,ef,{value:!0,configurable:!0}),!1;typeof rt=="object"&&rt&&(ke=rt)}return xe&&(ke=yield xe(ke)),ke}),G=be=>{const Ne=be.filter(ke=>!ke.file[ef]);if(!Ne.length)return;const Ie=Ne.map(ke=>Ih(ke.file));let xe=$e(D);Ie.forEach(ke=>{xe=Oh(ke,xe)}),Ie.forEach((ke,rt)=>{let Me=ke;if(Ne[rt].parsedFile)ke.status="uploading";else{const{originFileObj:Ce}=ke;let De;try{De=new File([Ce],Ce.name,{type:Ce.type})}catch{De=new Blob([Ce],{type:Ce.type}),De.name=Ce.name,De.lastModifiedDate=new Date,De.lastModified=new Date().getTime()}De.uid=ke.uid,Me=De}U(Me,xe)})},J=(be,Ne,Ie)=>{try{typeof be=="string"&&(be=JSON.parse(be))}catch{}if(!zy(Ne,D))return;const xe=Ih(Ne);xe.status="done",xe.percent=100,xe.response=be,xe.xhr=Ie;const ke=Oh(xe,D);U(xe,ke)},Y=(be,Ne)=>{if(!zy(Ne,D))return;const Ie=Ih(Ne);Ie.status="uploading",Ie.percent=be.percent;const xe=Oh(Ie,D);U(Ie,xe,be)},X=(be,Ne,Ie)=>{if(!zy(Ie,D))return;const xe=Ih(Ie);xe.error=be,xe.response=Ne,xe.status="error";const ke=Oh(xe,D);U(xe,ke)},V=be=>{let Ne;Promise.resolve(typeof a=="function"?a(be):a).then(Ie=>{var xe;if(Ie===!1)return;const ke=LPe(be,D);ke&&(Ne=Object.assign(Object.assign({},be),{status:"removed"}),D==null||D.forEach(rt=>{const Me=Ne.uid!==void 0?"uid":"name";rt[Me]===Ne[Me]&&!Object.isFrozen(rt)&&(rt.status="removed")}),(xe=B.current)===null||xe===void 0||xe.abort(Ne),U(Ne,ke))})},H=be=>{F(be.type),be.type==="drop"&&(d==null||d(be))};c.useImperativeHandle(t,()=>({onBatchStart:G,onSuccess:J,onProgress:Y,onError:X,fileList:D,upload:B.current,nativeElement:z.current}));const{getPrefixCls:q,direction:K,upload:Z}=c.useContext(lt),te=q("upload",S),se=Object.assign(Object.assign({onBatchStart:G,onError:X,onProgress:Y,onSuccess:J},e),{data:R,multiple:w,action:O,accept:k,supportServerRender:P,prefixCls:te,disabled:A,beforeUpload:j,onChange:void 0,hasControlInside:I});delete se.className,delete se.style,(!y||A)&&delete se.id;const ue=`${te}-wrapper`,[me,de,Te]=MPe(te,ue),[Ee]=Go("Upload",zi.Upload),{showRemoveIcon:ge,showPreviewIcon:re,showDownloadIcon:ne,removeIcon:ae,previewIcon:le,downloadIcon:pe,extra:Re}=typeof i=="boolean"?{}:i,Se=typeof ge>"u"?!A:!!ge,Pe=(be,Ne)=>i?c.createElement(UPe,{prefixCls:te,listType:o,items:D,previewFile:p,onPreview:s,onDownload:l,onRemove:V,showRemoveIcon:Se,showPreviewIcon:re,showDownloadIcon:ne,removeIcon:ae,previewIcon:le,downloadIcon:pe,iconRender:g,extra:Re,locale:Object.assign(Object.assign({},Ee),m),isImageUrl:h,progress:v,appendAction:be,appendActionVisible:Ne,itemRender:T,disabled:A}):be,fe=ie(ue,_,M,de,Te,Z==null?void 0:Z.className,{[`${te}-rtl`]:K==="rtl",[`${te}-picture-card-wrapper`]:o==="picture-card",[`${te}-picture-circle-wrapper`]:o==="picture-circle"}),ve=Object.assign(Object.assign({},Z==null?void 0:Z.style),C);if(E==="drag"){const be=ie(de,te,`${te}-drag`,{[`${te}-drag-uploading`]:D.some(Ne=>Ne.status==="uploading"),[`${te}-drag-hover`]:$==="dragover",[`${te}-disabled`]:A,[`${te}-rtl`]:K==="rtl"});return me(c.createElement("span",{className:fe,ref:z},c.createElement("div",{className:be,style:ve,onDrop:H,onDragOver:H,onDragLeave:H},c.createElement(UD,Object.assign({},se,{ref:B,className:`${te}-btn`}),c.createElement("div",{className:`${te}-drag-container`},y))),Pe()))}const Ae=ie(te,`${te}-select`,{[`${te}-disabled`]:A}),ye=c.createElement("div",{className:Ae,style:y?void 0:{display:"none"}},c.createElement(UD,Object.assign({},se,{ref:B})));return me(o==="picture-card"||o==="picture-circle"?c.createElement("span",{className:fe,ref:z},Pe(ye,!!y)):c.createElement("span",{className:fe,ref:z},ye,Pe()))},Nte=c.forwardRef(zPe);var HPe=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,i=HPe(e,["style","height","hasControlInside"]);return c.createElement(Nte,Object.assign({ref:t,hasControlInside:a},i,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),bg=Nte;bg.Dragger=GPe;bg.LIST_IGNORE=ef;/** - * @remix-run/router v1.19.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function Em(){return Em=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Ate(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function qPe(){return Math.random().toString(36).substr(2,8)}function fU(e,t){return{usr:e.state,key:e.key,idx:t}}function jD(e,t,n,r){return n===void 0&&(n=null),Em({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?op(t):t,{state:n,key:t&&t.key||r||qPe()})}function D_(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 op(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 WPe(e,t,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,s=Zs.Pop,l=null,u=d();u==null&&(u=0,o.replaceState(Em({},o.state,{idx:u}),""));function d(){return(o.state||{idx:null}).idx}function p(){s=Zs.Pop;let v=d(),S=v==null?null:v-u;u=v,l&&l({action:s,location:h.location,delta:S})}function f(v,S){s=Zs.Push;let _=jD(h.location,v,S);u=d()+1;let E=fU(_,u),y=h.createHref(_);try{o.pushState(E,"",y)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;a.location.assign(y)}i&&l&&l({action:s,location:h.location,delta:1})}function m(v,S){s=Zs.Replace;let _=jD(h.location,v,S);u=d();let E=fU(_,u),y=h.createHref(_);o.replaceState(E,"",y),i&&l&&l({action:s,location:h.location,delta:0})}function g(v){let S=a.location.origin!=="null"?a.location.origin:a.location.href,_=typeof v=="string"?v:D_(v);return _=_.replace(/ $/,"%20"),kr(S,"No window.location.(origin|href) available to create URL for href: "+_),new URL(_,S)}let h={get action(){return s},get location(){return e(a,o)},listen(v){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(pU,p),l=v,()=>{a.removeEventListener(pU,p),l=null}},createHref(v){return t(a,v)},createURL:g,encodeLocation(v){let S=g(v);return{pathname:S.pathname,search:S.search,hash:S.hash}},push:f,replace:m,go(v){return o.go(v)}};return h}var mU;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(mU||(mU={}));function YPe(e,t,n){return n===void 0&&(n="/"),KPe(e,t,n,!1)}function KPe(e,t,n,r){let a=typeof t=="string"?op(t):t,i=oP(a.pathname||"/",n);if(i==null)return null;let o=Dte(e);XPe(o);let s=null;for(let l=0;s==null&&l{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};l.relativePath.startsWith("/")&&(kr(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=dl([r,l.relativePath]),d=n.concat(l);i.children&&i.children.length>0&&(kr(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Dte(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:r2e(u,i.index),routesMeta:d})};return e.forEach((i,o)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))a(i,o);else for(let l of Mte(i.path))a(i,o,l)}),t}function Mte(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=Mte(r.join("/")),s=[];return s.push(...o.map(l=>l===""?i:[i,l].join("/"))),a&&s.push(...o),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function XPe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:a2e(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const QPe=/^:[\w-]+$/,ZPe=3,JPe=2,e2e=1,t2e=10,n2e=-2,gU=e=>e==="*";function r2e(e,t){let n=e.split("/"),r=n.length;return n.some(gU)&&(r+=n2e),t&&(r+=JPe),n.filter(a=>!gU(a)).reduce((a,i)=>a+(QPe.test(i)?ZPe:i===""?e2e:t2e),r)}function a2e(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 i2e(e,t,n){let{routesMeta:r}=e,a={},i="/",o=[];for(let s=0;s{let{paramName:f,isOptional:m}=d;if(f==="*"){let h=s[p]||"";o=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}const g=s[p];return m&&!g?u[f]=void 0:u[f]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:o,pattern:e}}function o2e(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ate(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,(o,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function s2e(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ate(!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 oP(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 l2e(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?op(e):e;return{pathname:n?n.startsWith("/")?n:c2e(n,t):t,search:p2e(r),hash:f2e(a)}}function c2e(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 Hy(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 u2e(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Lte(e,t){let n=u2e(e);return t?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function kte(e,t,n,r){r===void 0&&(r=!1);let a;typeof e=="string"?a=op(e):(a=Em({},e),kr(!a.pathname||!a.pathname.includes("?"),Hy("?","pathname","search",a)),kr(!a.pathname||!a.pathname.includes("#"),Hy("#","pathname","hash",a)),kr(!a.search||!a.search.includes("#"),Hy("#","search","hash",a)));let i=e===""||a.pathname==="",o=i?"/":a.pathname,s;if(o==null)s=n;else{let p=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),p-=1;a.pathname=f.join("/")}s=p>=0?t[p]:"/"}let l=l2e(a,s),u=o&&o!=="/"&&o.endsWith("/"),d=(i||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const dl=e=>e.join("/").replace(/\/\/+/g,"/"),d2e=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),p2e=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,f2e=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function m2e(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Pte=["post","put","patch","delete"];new Set(Pte);const g2e=["get",...Pte];new Set(g2e);/** - * React Router v6.26.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function ym(){return ym=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s.current=!0}),c.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let p=kte(u,JSON.parse(o),i,d.relative==="path");e==null&&t!=="/"&&(p.pathname=p.pathname==="/"?t:dl([t,p.pathname])),(d.replace?r.replace:r.push)(p,d.state,d)},[t,r,o,i,e])}function Bte(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=c.useContext(Vc),{matches:a}=c.useContext(qc),{pathname:i}=Vo(),o=JSON.stringify(Lte(a,r.v7_relativeSplatPath));return c.useMemo(()=>kte(e,JSON.parse(o),i,n==="path"),[e,o,i,n])}function b2e(e,t){return S2e(e,t)}function S2e(e,t,n,r){Sg()||kr(!1);let{navigator:a}=c.useContext(Vc),{matches:i}=c.useContext(qc),o=i[i.length-1],s=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Vo(),d;if(t){var p;let v=typeof t=="string"?op(t):t;l==="/"||(p=v.pathname)!=null&&p.startsWith(l)||kr(!1),d=v}else d=u;let f=d.pathname||"/",m=f;if(l!=="/"){let v=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(v.length).join("/")}let g=YPe(e,{pathname:m}),h=x2e(g&&g.map(v=>Object.assign({},v,{params:Object.assign({},s,v.params),pathname:dl([l,a.encodeLocation?a.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase==="/"?l:dl([l,a.encodeLocation?a.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),i,n,r);return t&&h?c.createElement(yS.Provider,{value:{location:ym({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Zs.Pop}},h):h}function E2e(){let e=O2e(),t=m2e(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 c.createElement(c.Fragment,null,c.createElement("h2",null,"Unexpected Application Error!"),c.createElement("h3",{style:{fontStyle:"italic"}},t),n?c.createElement("pre",{style:a},n):null,null)}const y2e=c.createElement(E2e,null);class C2e extends c.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?c.createElement(qc.Provider,{value:this.props.routeContext},c.createElement($te.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function T2e(e){let{routeContext:t,match:n,children:r}=e,a=c.useContext(sP);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),c.createElement(qc.Provider,{value:t},r)}function x2e(e,t,n,r){var a;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,s=(a=n)==null?void 0:a.errors;if(s!=null){let d=o.findIndex(p=>p.route.id&&(s==null?void 0:s[p.route.id])!==void 0);d>=0||kr(!1),o=o.slice(0,Math.min(o.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((d,p,f)=>{let m,g=!1,h=null,v=null;n&&(m=s&&p.route.id?s[p.route.id]:void 0,h=p.route.errorElement||y2e,l&&(u<0&&f===0?(g=!0,v=null):u===f&&(g=!0,v=p.route.hydrateFallbackElement||null)));let S=t.concat(o.slice(0,f+1)),_=()=>{let E;return m?E=h:g?E=v:p.route.Component?E=c.createElement(p.route.Component,null):p.route.element?E=p.route.element:E=d,c.createElement(T2e,{match:p,routeContext:{outlet:d,matches:S,isDataRoute:n!=null},children:E})};return n&&(p.route.ErrorBoundary||p.route.errorElement||f===0)?c.createElement(C2e,{location:n.location,revalidation:n.revalidation,component:h,error:m,children:_(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):_()},null)}var Ute=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Ute||{}),M_=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}(M_||{});function R2e(e){let t=c.useContext(sP);return t||kr(!1),t}function w2e(e){let t=c.useContext(h2e);return t||kr(!1),t}function I2e(e){let t=c.useContext(qc);return t||kr(!1),t}function jte(e){let t=I2e(),n=t.matches[t.matches.length-1];return n.route.id||kr(!1),n.route.id}function O2e(){var e;let t=c.useContext($te),n=w2e(M_.UseRouteError),r=jte(M_.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function N2e(){let{router:e}=R2e(Ute.UseNavigateStable),t=jte(M_.UseNavigateStable),n=c.useRef(!1);return Fte(()=>{n.current=!0}),c.useCallback(function(a,i){i===void 0&&(i={}),n.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,ym({fromRouteId:t},i)))},[e,t])}function Nn(e){kr(!1)}function A2e(e){let{basename:t="/",children:n=null,location:r,navigationType:a=Zs.Pop,navigator:i,static:o=!1,future:s}=e;Sg()&&kr(!1);let l=t.replace(/^\/*/,"/"),u=c.useMemo(()=>({basename:l,navigator:i,static:o,future:ym({v7_relativeSplatPath:!1},s)}),[l,s,i,o]);typeof r=="string"&&(r=op(r));let{pathname:d="/",search:p="",hash:f="",state:m=null,key:g="default"}=r,h=c.useMemo(()=>{let v=oP(d,l);return v==null?null:{location:{pathname:v,search:p,hash:f,state:m,key:g},navigationType:a}},[l,d,p,f,m,g,a]);return h==null?null:c.createElement(Vc.Provider,{value:u},c.createElement(yS.Provider,{children:n,value:h}))}function D2e(e){let{children:t,location:n}=e;return b2e(zD(t),n)}new Promise(()=>{});function zD(e,t){t===void 0&&(t=[]);let n=[];return c.Children.forEach(e,(r,a)=>{if(!c.isValidElement(r))return;let i=[...t,a];if(r.type===c.Fragment){n.push.apply(n,zD(r.props.children,i));return}r.type!==Nn&&kr(!1),!r.props.index||!r.props.children||kr(!1);let o={id:r.props.id||i.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&&(o.children=zD(r.props.children,i)),n.push(o)}),n}/** - * React Router DOM v6.26.2 - * - * Copyright (c) Remix Software Inc. - * - * This source code is licensed under the MIT license found in the - * LICENSE.md file in the root directory of this source tree. - * - * @license MIT - */function HD(){return HD=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[a]=e[a]);return n}function L2e(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function k2e(e,t){return e.button===0&&(!t||t==="_self")&&!L2e(e)}const P2e=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],$2e="6";try{window.__reactRouterVersion=$2e}catch{}const F2e="startTransition",vU=zm[F2e];function B2e(e){let{basename:t,children:n,future:r,window:a}=e,i=c.useRef();i.current==null&&(i.current=VPe({window:a,v5Compat:!0}));let o=i.current,[s,l]=c.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},d=c.useCallback(p=>{u&&vU?vU(()=>l(p)):l(p)},[l,u]);return c.useLayoutEffect(()=>o.listen(d),[o,d]),c.createElement(A2e,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:o,future:r})}const U2e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",j2e=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wt=c.forwardRef(function(t,n){let{onClick:r,relative:a,reloadDocument:i,replace:o,state:s,target:l,to:u,preventScrollReset:d,unstable_viewTransition:p}=t,f=M2e(t,P2e),{basename:m}=c.useContext(Vc),g,h=!1;if(typeof u=="string"&&j2e.test(u)&&(g=u,U2e))try{let E=new URL(window.location.href),y=u.startsWith("//")?new URL(E.protocol+u):new URL(u),C=oP(y.pathname,m);y.origin===E.origin&&C!=null?u=C+y.search+y.hash:h=!0}catch{}let v=v2e(u,{relative:a}),S=z2e(u,{replace:o,state:s,target:l,preventScrollReset:d,relative:a,unstable_viewTransition:p});function _(E){r&&r(E),E.defaultPrevented||S(E)}return c.createElement("a",HD({},f,{href:g||v,onClick:h||i?r:_,ref:n,target:l}))});var _U;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(_U||(_U={}));var bU;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(bU||(bU={}));function z2e(e,t){let{target:n,replace:r,state:a,preventScrollReset:i,relative:o,unstable_viewTransition:s}=t===void 0?{}:t,l=lP(),u=Vo(),d=Bte(e,{relative:o});return c.useCallback(p=>{if(k2e(p,n)){p.preventDefault();let f=r!==void 0?r:D_(u)===D_(d);l(e,{replace:f,state:a,preventScrollReset:i,relative:o,unstable_viewTransition:s})}},[u,l,d,r,a,n,e,i,o,s])}const zte="/web/assets/logo-aw46LCqE.png",H2e=()=>{const t=document.createElement("audio").canPlayType("audio/ogg; codecs=opus");return console.log("Supports OGG/Opus:",t),t==="probably"||t==="maybe"},Hte=ce.createContext(void 0),CS=()=>{const e=c.useContext(Hte);if(!e)throw new Error("useAudioContext must be used within an AudioProvider");return e},SU=e=>{const n=e.split("?")[0].split("/");return n[n.length-1]},G2e=({children:e})=>{const{t}=$t(),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(""),[l,u]=c.useState([]),d=(p,f,m)=>{if(console.log("Play audio: "+p),!H2e()&&p.includes("?ogg"))Sn.error({title:t("audio.errorNoOggOpusSupport"),content:t("audio.errorNoOggOpusSupportByApple"),okText:t("audio.errorConfirm")});else{const g=document.getElementById("globalAudioPlayer");g.src=p,f?(r(f.picture),i(f.series||f.episode?f.series:SU(decodeURI(p).replace("500304E0",t("audio.unknownSource")))),s(f.episode)):(r(decodeURI(p).includes(".taf?")?"/img_unknown.png":zte),i(""),s(SU(decodeURI(p)))),u(m||[0]),g.play()}};return b.jsx(Hte.Provider,{value:{playAudio:d,songImage:n,songArtist:a,songTitle:o,songTracks:l},children:e})},V2e=[{key:"sub",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(jee)},{key:"sub2",label:"subnav",children:[{key:"1",label:"option1"},{key:"2",label:"option2"},{key:"3",label:"option3"},{key:"4",label:"option4"}],icon:ce.createElement(s1e)}],q2e=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Qb,{width:200,children:b.jsx(zo,{mode:"inline",style:{height:"100%",borderRight:0},items:V2e})}),b.jsxs(Ho,{style:{padding:"0 24px 24px"},children:[b.jsxs(Zd,{style:{margin:"16px 0"},children:[b.jsx(nd,{children:"Home"}),b.jsx(nd,{children:"List"}),b.jsx(nd,{children:"App"})]}),b.jsxs(yee,{style:{padding:24,margin:0,minHeight:280},children:[b.jsx("p",{children:e("welcome.title")}),b.jsx("p",{children:"Sample datepicker from ant design:"}),b.jsx(np,{})]})]})]})};var za=function(){return za=Object.assign||function(t){for(var n,r=1,a=arguments.length;r0?Kr(sp,--Hi):0,Od--,Mr===10&&(Od=1,xS--),Mr}function uo(){return Mr=Hi2||VD(Mr)>3?"":" "}function n$e(e,t){for(;--t&&uo()&&!(Mr<48||Mr>102||Mr>57&&Mr<65||Mr>70&&Mr<97););return wS(e,Cv()+(t<6&&gc()==32&&uo()==32))}function qD(e){for(;uo();)switch(Mr){case e:return Hi;case 34:case 39:e!==34&&e!==39&&qD(Mr);break;case 40:e===41&&qD(e);break;case 92:uo();break}return Hi}function r$e(e,t){for(;uo()&&e+Mr!==57;)if(e+Mr===84&&gc()===47)break;return"/*"+wS(t,Hi-1)+"*"+uP(e===47?e:uo())}function a$e(e){for(;!VD(gc());)uo();return wS(e,Hi)}function i$e(e){return e$e(Tv("",null,null,null,[""],e=J2e(e),0,[0],e))}function Tv(e,t,n,r,a,i,o,s,l){for(var u=0,d=0,p=o,f=0,m=0,g=0,h=1,v=1,S=1,_=0,E="",y=a,C=i,T=r,x=E;v;)switch(g=_,_=uo()){case 40:if(g!=108&&Kr(x,p-1)==58){yv(x+=un(Gy(_),"&","&\f"),"&\f",qte(u?s[u-1]:0))!=-1&&(S=-1);break}case 34:case 39:case 91:x+=Gy(_);break;case 9:case 10:case 13:case 32:x+=t$e(g);break;case 92:x+=n$e(Cv()-1,7);continue;case 47:switch(gc()){case 42:case 47:tf(o$e(r$e(uo(),Cv()),t,n,l),l);break;default:x+="/"}break;case 123*h:s[u++]=wo(x)*S;case 125*h:case 59:case 0:switch(_){case 0:case 125:v=0;case 59+d:S==-1&&(x=un(x,/\f/g,"")),m>0&&wo(x)-p&&tf(m>32?CU(x+";",r,n,p-1,l):CU(un(x," ","")+";",r,n,p-2,l),l);break;case 59:x+=";";default:if(tf(T=yU(x,t,n,u,d,a,s,E,y=[],C=[],p,i),i),_===123)if(d===0)Tv(x,t,T,T,y,i,p,s,C);else switch(f===99&&Kr(x,3)===110?100:f){case 100:case 108:case 109:case 115:Tv(e,T,T,r&&tf(yU(e,T,T,0,0,a,s,E,a,y=[],p,C),C),a,C,p,s,r?y:C);break;default:Tv(x,T,T,T,[""],C,0,s,C)}}u=d=m=0,h=S=1,E=x="",p=o;break;case 58:p=1+wo(x),m=g;default:if(h<1){if(_==123)--h;else if(_==125&&h++==0&&Z2e()==125)continue}switch(x+=uP(_),_*h){case 38:S=d>0?1:(x+="\f",-1);break;case 44:s[u++]=(wo(x)-1)*S,S=1;break;case 64:gc()===45&&(x+=Gy(uo())),f=gc(),d=p=wo(E=x+=a$e(Cv())),_++;break;case 45:g===45&&wo(x)==2&&(h=0)}}return i}function yU(e,t,n,r,a,i,o,s,l,u,d,p){for(var f=a-1,m=a===0?i:[""],g=Yte(m),h=0,v=0,S=0;h0?m[_]+" "+E:un(E,/&\f/g,m[_])))&&(l[S++]=y);return RS(e,t,n,a===0?TS:s,l,u,d,p)}function o$e(e,t,n,r){return RS(e,t,n,Gte,uP(Q2e()),Id(e,2,-2),0,r)}function CU(e,t,n,r,a){return RS(e,t,n,cP,Id(e,0,r),Id(e,r+1,-1),r,a)}function Xte(e,t,n){switch(K2e(e,t)){case 5103:return Dn+"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 Dn+e+e;case 4789:return wf+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Dn+e+wf+e+ir+e+e;case 5936:switch(Kr(e,t+11)){case 114:return Dn+e+ir+un(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Dn+e+ir+un(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Dn+e+ir+un(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Dn+e+ir+e+e;case 6165:return Dn+e+ir+"flex-"+e+e;case 5187:return Dn+e+un(e,/(\w+).+(:[^]+)/,Dn+"box-$1$2"+ir+"flex-$1$2")+e;case 5443:return Dn+e+ir+"flex-item-"+un(e,/flex-|-self/g,"")+(ns(e,/flex-|baseline/)?"":ir+"grid-row-"+un(e,/flex-|-self/g,""))+e;case 4675:return Dn+e+ir+"flex-line-pack"+un(e,/align-content|flex-|-self/g,"")+e;case 5548:return Dn+e+ir+un(e,"shrink","negative")+e;case 5292:return Dn+e+ir+un(e,"basis","preferred-size")+e;case 6060:return Dn+"box-"+un(e,"-grow","")+Dn+e+ir+un(e,"grow","positive")+e;case 4554:return Dn+un(e,/([^-])(transform)/g,"$1"+Dn+"$2")+e;case 6187:return un(un(un(e,/(zoom-|grab)/,Dn+"$1"),/(image-set)/,Dn+"$1"),e,"")+e;case 5495:case 3959:return un(e,/(image-set\([^]*)/,Dn+"$1$`$1");case 4968:return un(un(e,/(.+:)(flex-)?(.*)/,Dn+"box-pack:$3"+ir+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Dn+e+e;case 4200:if(!ns(e,/flex-|baseline/))return ir+"grid-column-align"+Id(e,t)+e;break;case 2592:case 3360:return ir+un(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,a){return t=a,ns(r.props,/grid-\w+-end/)})?~yv(e+(n=n[t].value),"span",0)?e:ir+un(e,"-start","")+e+ir+"grid-row-span:"+(~yv(n,"span",0)?ns(n,/\d+/):+ns(n,/\d+/)-+ns(e,/\d+/))+";":ir+un(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return ns(r.props,/grid-\w+-start/)})?e:ir+un(un(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return un(e,/(.+)-inline(.+)/,Dn+"$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(wo(e)-1-t>6)switch(Kr(e,t+1)){case 109:if(Kr(e,t+4)!==45)break;case 102:return un(e,/(.+:)(.+)-([^]+)/,"$1"+Dn+"$2-$3$1"+wf+(Kr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~yv(e,"stretch",0)?Xte(un(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return un(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,a,i,o,s,l,u){return ir+a+":"+i+u+(o?ir+a+"-span:"+(s?l:+l-+i)+u:"")+e});case 4949:if(Kr(e,t+6)===121)return un(e,":",":"+Dn)+e;break;case 6444:switch(Kr(e,Kr(e,14)===45?18:11)){case 120:return un(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Dn+(Kr(e,14)===45?"inline-":"")+"box$3$1"+Dn+"$2$3$1"+ir+"$2box$3")+e;case 100:return un(e,":",":"+ir)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return un(e,"scroll-","scroll-snap-")+e}return e}function k_(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case cP:e.return=Xte(e.value,e.length,n);return;case Vte:return k_([Fs(e,{value:un(e.value,"@","@"+Dn)})],r);case TS:if(e.length)return X2e(n=e.props,function(a){switch(ns(a,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":mu(Fs(e,{props:[un(a,/:(read-\w+)/,":"+wf+"$1")]})),mu(Fs(e,{props:[a]})),GD(e,{props:EU(n,r)});break;case"::placeholder":mu(Fs(e,{props:[un(a,/:(plac\w+)/,":"+Dn+"input-$1")]})),mu(Fs(e,{props:[un(a,/:(plac\w+)/,":"+wf+"$1")]})),mu(Fs(e,{props:[un(a,/:(plac\w+)/,ir+"input-$1")]})),mu(Fs(e,{props:[a]})),GD(e,{props:EU(n,r)});break}return""})}}var d$e={animationIterationCount:1,aspectRatio: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},ai={},Nd=typeof process<"u"&&ai!==void 0&&(ai.REACT_APP_SC_ATTR||ai.SC_ATTR)||"data-styled",Qte="active",Zte="data-styled-version",IS="6.1.13",dP=`/*!sc*/ -`,P_=typeof window<"u"&&"HTMLElement"in window,p$e=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&ai!==void 0&&ai.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&ai.REACT_APP_SC_DISABLE_SPEEDY!==""?ai.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&ai.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&ai!==void 0&&ai.SC_DISABLE_SPEEDY!==void 0&&ai.SC_DISABLE_SPEEDY!==""&&ai.SC_DISABLE_SPEEDY!=="false"&&ai.SC_DISABLE_SPEEDY),OS=Object.freeze([]),Ad=Object.freeze({});function f$e(e,t,n){return n===void 0&&(n=Ad),e.theme!==n.theme&&e.theme||t||n.theme}var Jte=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),m$e=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,g$e=/(^-|-$)/g;function TU(e){return e.replace(m$e,"-").replace(g$e,"")}var h$e=/(a)(d)/gi,Nh=52,xU=function(e){return String.fromCharCode(e+(e>25?39:97))};function WD(e){var t,n="";for(t=Math.abs(e);t>Nh;t=t/Nh|0)n=xU(t%Nh)+n;return(xU(t%Nh)+n).replace(h$e,"$1-$2")}var Vy,ene=5381,Hu=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tne=function(e){return Hu(ene,e)};function v$e(e){return WD(tne(e)>>>0)}function _$e(e){return e.displayName||e.name||"Component"}function qy(e){return typeof e=="string"&&!0}var nne=typeof Symbol=="function"&&Symbol.for,rne=nne?Symbol.for("react.memo"):60115,b$e=nne?Symbol.for("react.forward_ref"):60112,S$e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},E$e={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ane={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},y$e=((Vy={})[b$e]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Vy[rne]=ane,Vy);function RU(e){return("type"in(t=e)&&t.type.$$typeof)===rne?ane:"$$typeof"in e?y$e[e.$$typeof]:S$e;var t}var C$e=Object.defineProperty,T$e=Object.getOwnPropertyNames,wU=Object.getOwnPropertySymbols,x$e=Object.getOwnPropertyDescriptor,R$e=Object.getPrototypeOf,IU=Object.prototype;function ine(e,t,n){if(typeof t!="string"){if(IU){var r=R$e(t);r&&r!==IU&&ine(e,r,n)}var a=T$e(t);wU&&(a=a.concat(wU(t)));for(var i=RU(e),o=RU(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var w$e=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,i=a;t>=i;)if((i<<=1)<0)throw Eg(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var o=a;o=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],a=this.indexOfGroup(t),i=a+r,o=a;o=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&&(v+="".concat(S,","))}),l+="".concat(g).concat(h,'{content:"').concat(v,'"}').concat(dP)},d=0;d0?".".concat(t):f},d=l.slice();d.push(function(f){f.type===TS&&f.value.includes("&")&&(f.props[0]=f.props[0].replace(F$e,n).replace(r,u))}),o.prefix&&d.push(u$e),d.push(s$e);var p=function(f,m,g,h){m===void 0&&(m=""),g===void 0&&(g=""),h===void 0&&(h="&"),t=h,n=m,r=new RegExp("\\".concat(n,"\\b"),"g");var v=f.replace(B$e,""),S=i$e(g||m?"".concat(g," ").concat(m," { ").concat(v," }"):v);o.namespace&&(S=lne(S,o.namespace));var _=[];return k_(S,l$e(d.concat(c$e(function(E){return _.push(E)})))),_};return p.hash=l.length?l.reduce(function(f,m){return m.name||Eg(15),Hu(f,m.name)},ene).toString():"",p}var j$e=new sne,KD=U$e(),cne=ce.createContext({shouldForwardProp:void 0,styleSheet:j$e,stylis:KD});cne.Consumer;ce.createContext(void 0);function DU(){return c.useContext(cne)}var z$e=function(){function e(t,n){var r=this;this.inject=function(a,i){i===void 0&&(i=KD);var o=r.name+i.hash;a.hasNameForId(r.id,o)||a.insertRules(r.id,o,i(r.rules,o,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,fP(this,function(){throw Eg(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=KD),this.name+t.hash},e}(),H$e=function(e){return e>="A"&&e<="Z"};function MU(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,o)){var s=r(i,".".concat(o),void 0,this.componentId);n.insertRules(this.componentId,o,s)}a=ic(a,o),this.staticRulesId=o}else{for(var l=Hu(this.baseHash,r.hash),u="",d=0;d>>0);n.hasNameForId(this.componentId,m)||n.insertRules(this.componentId,m,r(u,".".concat(m),void 0,this.componentId)),a=ic(a,m)}}return a},e}(),pne=ce.createContext(void 0);pne.Consumer;var Wy={};function W$e(e,t,n){var r=pP(e),a=e,i=!qy(e),o=t.attrs,s=o===void 0?OS:o,l=t.componentId,u=l===void 0?function(y,C){var T=typeof y!="string"?"sc":TU(y);Wy[T]=(Wy[T]||0)+1;var x="".concat(T,"-").concat(v$e(IS+T+Wy[T]));return C?"".concat(C,"-").concat(x):x}(t.displayName,t.parentComponentId):l,d=t.displayName,p=d===void 0?function(y){return qy(y)?"styled.".concat(y):"Styled(".concat(_$e(y),")")}(e):d,f=t.displayName&&t.componentId?"".concat(TU(t.displayName),"-").concat(t.componentId):t.componentId||u,m=r&&a.attrs?a.attrs.concat(s).filter(Boolean):s,g=t.shouldForwardProp;if(r&&a.shouldForwardProp){var h=a.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;g=function(y,C){return h(y,C)&&v(y,C)}}else g=h}var S=new q$e(n,f,r?a.componentStyle:void 0);function _(y,C){return function(T,x,R){var w=T.attrs,I=T.componentStyle,O=T.defaultProps,k=T.foldedComponentIds,P=T.styledComponentId,M=T.target,N=ce.useContext(pne),A=DU(),D=T.shouldForwardProp||A.shouldForwardProp,L=f$e(x,N,O)||Ad,$=function(G,J,Y){for(var X,V=za(za({},J),{className:void 0,theme:Y}),H=0;HK$e().token,yg=ka(zo)` - height: 100%; - border-right: 0; -`,Bn=ka(Qb)` - width: 200px; - @media (max-width: 768px) { - display: none; - margin: 8px; - } -`,Un=ka(Ho)` - padding: 0 24px 24px; -`,Q$e=ka(Zd)` - margin: 16px 0; -`,Pn=ka(Ho.Content)` - padding: 24px; - margin: 0; - min-height: 280px; - background: ${()=>X$e().colorBgContainer}; -`,In=ka.span` - @media (min-width: 768px) { - display: none; - } -`,Tm=ka.span` - @media (max-width: 768px) { - display: none; - } -`;ka(nd)` - padding: 10px; -`;const jn=({items:e})=>{const{t}=$t();return c.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]),b.jsx(Q$e,{items:e})},Z$e="http://localhost".replace(/\/+$/,"");class mne{constructor(t={}){this.configuration=t}set config(t){this.configuration=t}get basePath(){return this.configuration.basePath!=null?this.configuration.basePath:Z$e}get fetchApi(){return this.configuration.fetchApi}get middleware(){return this.configuration.middleware||[]}get queryParamsStringify(){return this.configuration.queryParamsStringify||hne}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 J$e=new mne,W_=class W_{constructor(t=J$e){Bl(this,"middleware");Bl(this,"fetchApi",async(t,n)=>{let r={url:t,init:n};for(const i of this.middleware)i.pre&&(r=await i.pre({fetch:this.fetchApi,...r})||r);let a;try{a=await(this.configuration.fetchApi||fetch)(r.url,r.init)}catch(i){for(const o of this.middleware)o.onError&&(a=await o.onError({fetch:this.fetchApi,url:r.url,init:r.init,error:i,response:a?a.clone():void 0})||a);if(a===void 0)throw i instanceof Error?new rFe(i,"The request failed and the interceptors did not return an alternative response"):i}for(const i of this.middleware)i.post&&(a=await i.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?W_.jsonRegex.test(t):!1}async request(t,n){const{url:r,init:a}=await this.createFetchParams(t,n),i=await this.fetchApi(r,a);if(i&&i.status>=200&&i.status<300)return i;throw new nFe(i,"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 i=typeof n=="function"?n:async()=>n,o={method:t.method,headers:a,body:t.body,credentials:this.configuration.credentials},s={...o,...await i({init:o,context:t})},l={...s,body:tFe(s.body)||s.body instanceof URLSearchParams||eFe(s.body)?s.body:JSON.stringify(s.body)};return{url:r,init:l}}clone(){const t=this.constructor,n=new t(this.configuration);return n.middleware=this.middleware.slice(),n}};Bl(W_,"jsonRegex",new RegExp("^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$","i"));let xm=W_;function eFe(e){return typeof Blob<"u"&&e instanceof Blob}function tFe(e){return typeof FormData<"u"&&e instanceof FormData}class nFe extends Error{constructor(n,r){super(r);Bl(this,"name","ResponseError");this.response=n}}class rFe extends Error{constructor(n,r){super(r);Bl(this,"name","FetchError");this.cause=n}}class aFe extends Error{constructor(n,r){super(r);Bl(this,"name","RequiredError");this.field=n}}function gne(e,t){const n=e[t];return n!=null}function hne(e,t=""){return Object.keys(e).map(n=>vne(n,e[n],t)).filter(n=>n.length>0).join("&")}function vne(e,t,n=""){const r=n+(n.length?`[${e}]`:e);if(t instanceof Array){const a=t.map(i=>encodeURIComponent(String(i))).join(`&${encodeURIComponent(r)}=`);return`${encodeURIComponent(r)}=${a}`}if(t instanceof Set){const a=Array.from(t);return vne(e,a,n)}return t instanceof Date?`${encodeURIComponent(r)}=${encodeURIComponent(t.toISOString())}`:t instanceof Object?hne(t,r):`${encodeURIComponent(r)}=${encodeURIComponent(String(t))}`}function iFe(e){for(const t of e)if(t.contentType==="multipart/form-data")return!0;return!1}class rs{constructor(t,n=r=>r){this.raw=t,this.transformer=n}async value(){return this.transformer(await this.raw.json())}}class oFe{constructor(t){this.raw=t}async value(){}}class F_{constructor(t){this.raw=t}async value(){return await this.raw.text()}}class _ne extends xm{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 rs(a):new F_(a)}async v1TimeGet(t){return await(await this.v1TimeGetRaw(t)).value()}}class sFe extends xm{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 rs(a):new F_(a)}async reverseV1TimeGet(t){return await(await this.reverseV1TimeGetRaw(t)).value()}}function lFe(e){return cFe(e)}function cFe(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 uFe(e){return dFe(e)}function dFe(e,t){return e==null?e:{options:gne(e,"options")?e.options.map(lFe):void 0}}function pFe(e){return fFe(e)}function fFe(e,t){return e==null?e:{iD:e.ID,description:e.description,value:e.value}}function mFe(e){return gFe(e)}function gFe(e,t){return e==null?e:{stats:gne(e,"stats")?e.stats.map(pFe):void 0}}class xn extends xm{async apiGetTonieboxesIndexRaw(t){const n=await this.apiGetTeddyCloudApiRaw("/api/getBoxes",void 0,t);return new rs(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 rs(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 rs(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,l,u)=>l===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 rs(r,a=>uFe(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 aFe("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 oFe(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 rs(n,r=>mFe(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 rs(n):new F_(n)}async apiTriggerWriteConfigGet(t){return await(await this.apiTriggerWriteConfigGetRaw(t)).value()}async apiUploadCertPostRaw(t,n,r){const a={},i={},s=iFe([{contentType:"multipart/form-data"}]);let l,u=!1,d="/api/uploadCert";n!==""&&n!==void 0&&(d=d+"?overlay="+n),u=s,u?l=new FormData:l=new URLSearchParams,t.filename&&t.filename.forEach(f=>{l.append("filename",f)});const p=await this.request({path:d,method:"POST",headers:i,query:a,body:l},r);return this.isJsonMime(p.headers.get("content-type"))?new rs(p):new F_(p)}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&&a!=="0"?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,i,o={}){o["Content-Type"]||(o["Content-Type"]="text/plain");const s=await this.apiPostTeddyCloudRaw(`/api/settings/${a&&a===!0?"reset":"set"}/${t}`,(n==null?void 0:n.toString())||"",r,i,o);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}async apiGetTeddyCloudApiRaw(t,n,r){const a={},i={},o=await this.request({path:`${t}${n?"?overlay="+n:""}`,method:"GET",headers:i,query:a},r);if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}async apiPostTeddyCloudContentJson(t,n,r,a,i={}){const o=await this.apiPostTeddyCloudRaw(`/content/json/set/${t}`,n,r,a,i);if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}async apiPostTeddyCloudRaw(t,n,r,a,i={}){i["Content-Type"]||(i["Content-Type"]="text/plain");const o=s=>new Blob([s],{type:"text/plain"});try{const s=await this.request({path:`${t}${r?"?overlay="+r:""}`,method:"POST",headers:i,body:o((n==null?void 0:n.toString())||"")},a);if(!s.ok)throw new Error(`Error: ${s.status} ${s.statusText}`);return s}catch(s){return s.response}}async apiPostTeddyCloudFormDataRaw(t,n,r,a,i={}){try{const o=await fetch(""+t,{method:"POST",body:n});if(!o.ok)throw new Error(`Error: ${o.status} ${o.statusText}`);return o}catch(o){return o.response?o.response:o instanceof TypeError?new Response(JSON.stringify({error:"Network error, please try again later.",message:o.message}),{status:500,statusText:"Network Error",headers:{"Content-Type":"application/json"}}):new Response(JSON.stringify({error:"An unexpected error occurred.",message:o}),{status:500,statusText:"Unexpected Error",headers:{"Content-Type":"application/json"}})}}}const vn=()=>new mne({basePath:""}),hFe=new xn(vn()),vFe=new _ne(vn()),_Fe=async(e=!0)=>{try{if((await(await hFe.apiGetTeddyCloudApiRaw("/api/triggerRestart")).text()).toString()!=="OK"){Qe.error(Op("settings.restartFailed"));return}}catch{Qe.error(Op("settings.restartFailed"));return}const t=Qe.loading(Op("settings.restartInProgress"),0);await new Promise(r=>setTimeout(r,3e3));let n=0;for(;n<10;)try{if((await vFe.v1TimeGet()).length===10){t(),Qe.success(Op("settings.restartComplete")),e&&(window.location.href="/web");return}}catch{n++,await new Promise(a=>setTimeout(a,3e3))}t(),Qe.error(Op("settings.restartFailed"))},bFe=new xn(vn()),Md=()=>{const{t:e}=$t(),[t,n]=c.useState(""),[r,a]=Qe.useMessage(),i=async()=>{await _Fe(!0),n("")},o=u=>{const d=new URL(u),p=d.port?`:${d.port}`:"";return`${d.protocol}//${d.hostname}${p}`},s=async()=>{const u=Qe.loading(e("settings.toniesJsonReloadInProgress"),0);try{const p=await(await bFe.apiGetTeddyCloudApiRaw("/api/toniesJsonReload")).text();n(""),p.toString()!=="OK"?(u(),r.open({type:"error",content:e("settings.toniesJsonReloadFailed")})):(u(),r.open({type:"success",content:e("settings.toniesJsonReloadSuccessful")}))}catch{u(),r.open({type:"error",content:e("settings.toniesJsonReloadFailed")})}},l=[{key:"general",label:b.jsx(wt,{to:"/settings",children:e("settings.general.navigationTitle")}),icon:ce.createElement(Hk),title:e("settings.general.navigationTitle")},{key:"certificates",label:b.jsx(wt,{to:"/settings/certificates",children:e("settings.certificates.navigationTitle")}),icon:ce.createElement(zk),title:e("settings.certificates.navigationTitle")},{key:"rtnl",label:b.jsx(wt,{to:"/settings/rtnl",children:e("settings.rtnl.navigationTitle")}),icon:ce.createElement(TNe),title:e("settings.rtnl.navigationTitle")},{key:"reload_toniesJson",label:b.jsx("label",{style:{cursor:"pointer"},children:e("settings.toniesJsonReload")}),onClick:s,icon:ce.createElement(Uee),title:e("settings.toniesJsonReload")},{key:"restart_server",label:b.jsx("label",{style:{cursor:"pointer"},children:e("settings.restartServer")}),onClick:i,icon:ce.createElement(Y1e),title:e("settings.restartServer")},{key:"legacy",label:b.jsx(wt,{to:`${o(new URL(window.location.href))}/legacy.html`,target:"_blank",children:e("settings.legacyGui")}),icon:ce.createElement(YNe),title:e("settings.legacyGui")}];return b.jsxs(b.Fragment,{children:[a,b.jsx(yg,{mode:"inline",selectedKeys:[t],defaultOpenKeys:["sub"],items:l})]})};var SFe=function(t){return EFe(t)&&!yFe(t)};function EFe(e){return!!e&&typeof e=="object"}function yFe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||xFe(e)}var CFe=typeof Symbol=="function"&&Symbol.for,TFe=CFe?Symbol.for("react.element"):60103;function xFe(e){return e.$$typeof===TFe}function RFe(e){return Array.isArray(e)?[]:{}}function B_(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Rm(RFe(e),e,t):e}function wFe(e,t,n){return e.concat(t).map(function(r){return B_(r,n)})}function IFe(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(a){r[a]=B_(e[a],n)}),Object.keys(t).forEach(function(a){!n.isMergeableObject(t[a])||!e[a]?r[a]=B_(t[a],n):r[a]=Rm(e[a],t[a],n)}),r}function Rm(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||wFe,n.isMergeableObject=n.isMergeableObject||SFe;var r=Array.isArray(t),a=Array.isArray(e),i=r===a;return i?r?n.arrayMerge(e,t,n):IFe(e,t,n):B_(t,n)}Rm.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,a){return Rm(r,a,n)},{})};var QD=Rm,bne=typeof global=="object"&&global&&global.Object===Object&&global,OFe=typeof self=="object"&&self&&self.Object===Object&&self,qo=bne||OFe||Function("return this")(),bl=qo.Symbol,Sne=Object.prototype,NFe=Sne.hasOwnProperty,AFe=Sne.toString,Up=bl?bl.toStringTag:void 0;function DFe(e){var t=NFe.call(e,Up),n=e[Up];try{e[Up]=void 0;var r=!0}catch{}var a=AFe.call(e);return r&&(t?e[Up]=n:delete e[Up]),a}var MFe=Object.prototype,LFe=MFe.toString;function kFe(e){return LFe.call(e)}var PFe="[object Null]",$Fe="[object Undefined]",PU=bl?bl.toStringTag:void 0;function Wc(e){return e==null?e===void 0?$Fe:PFe:PU&&PU in Object(e)?DFe(e):kFe(e)}function Ene(e,t){return function(n){return e(t(n))}}var mP=Ene(Object.getPrototypeOf,Object);function Yc(e){return e!=null&&typeof e=="object"}var FFe="[object Object]",BFe=Function.prototype,UFe=Object.prototype,yne=BFe.toString,jFe=UFe.hasOwnProperty,zFe=yne.call(Object);function $U(e){if(!Yc(e)||Wc(e)!=FFe)return!1;var t=mP(e);if(t===null)return!0;var n=jFe.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&yne.call(n)==zFe}function HFe(){this.__data__=[],this.size=0}function Cne(e,t){return e===t||e!==e&&t!==t}function NS(e,t){for(var n=e.length;n--;)if(Cne(e[n][0],t))return n;return-1}var GFe=Array.prototype,VFe=GFe.splice;function qFe(e){var t=this.__data__,n=NS(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():VFe.call(t,n,1),--this.size,!0}function WFe(e){var t=this.__data__,n=NS(t,e);return n<0?void 0:t[n][1]}function YFe(e){return NS(this.__data__,e)>-1}function KFe(e,t){var n=this.__data__,r=NS(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Is(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=KBe}var XBe="[object Arguments]",QBe="[object Array]",ZBe="[object Boolean]",JBe="[object Date]",e3e="[object Error]",t3e="[object Function]",n3e="[object Map]",r3e="[object Number]",a3e="[object Object]",i3e="[object RegExp]",o3e="[object Set]",s3e="[object String]",l3e="[object WeakMap]",c3e="[object ArrayBuffer]",u3e="[object DataView]",d3e="[object Float32Array]",p3e="[object Float64Array]",f3e="[object Int8Array]",m3e="[object Int16Array]",g3e="[object Int32Array]",h3e="[object Uint8Array]",v3e="[object Uint8ClampedArray]",_3e="[object Uint16Array]",b3e="[object Uint32Array]",or={};or[d3e]=or[p3e]=or[f3e]=or[m3e]=or[g3e]=or[h3e]=or[v3e]=or[_3e]=or[b3e]=!0;or[XBe]=or[QBe]=or[c3e]=or[ZBe]=or[u3e]=or[JBe]=or[e3e]=or[t3e]=or[n3e]=or[r3e]=or[a3e]=or[i3e]=or[o3e]=or[s3e]=or[l3e]=!1;function S3e(e){return Yc(e)&&Nne(e.length)&&!!or[Wc(e)]}function gP(e){return function(t){return e(t)}}var Ane=typeof fi=="object"&&fi&&!fi.nodeType&&fi,If=Ane&&typeof mi=="object"&&mi&&!mi.nodeType&&mi,E3e=If&&If.exports===Ane,Ky=E3e&&bne.process,Ld=function(){try{var e=If&&If.require&&If.require("util").types;return e||Ky&&Ky.binding&&Ky.binding("util")}catch{}}(),HU=Ld&&Ld.isTypedArray,y3e=HU?gP(HU):S3e,C3e=Object.prototype,T3e=C3e.hasOwnProperty;function Dne(e,t){var n=Tg(e),r=!n&&zBe(e),a=!n&&!r&&One(e),i=!n&&!r&&!a&&y3e(e),o=n||r||a||i,s=o?FBe(e.length,String):[],l=s.length;for(var u in e)(t||T3e.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||YBe(u,l)))&&s.push(u);return s}var x3e=Object.prototype;function hP(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||x3e;return e===n}var R3e=Ene(Object.keys,Object),w3e=Object.prototype,I3e=w3e.hasOwnProperty;function O3e(e){if(!hP(e))return R3e(e);var t=[];for(var n in Object(e))I3e.call(e,n)&&n!="constructor"&&t.push(n);return t}function Mne(e){return e!=null&&Nne(e.length)&&!Tne(e)}function vP(e){return Mne(e)?Dne(e):O3e(e)}function N3e(e,t){return e&&DS(t,vP(t),e)}function A3e(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var D3e=Object.prototype,M3e=D3e.hasOwnProperty;function L3e(e){if(!Cg(e))return A3e(e);var t=hP(e),n=[];for(var r in e)r=="constructor"&&(t||!M3e.call(e,r))||n.push(r);return n}function _P(e){return Mne(e)?Dne(e,!0):L3e(e)}function k3e(e,t){return e&&DS(t,_P(t),e)}var Lne=typeof fi=="object"&&fi&&!fi.nodeType&&fi,GU=Lne&&typeof mi=="object"&&mi&&!mi.nodeType&&mi,P3e=GU&&GU.exports===Lne,VU=P3e?qo.Buffer:void 0,qU=VU?VU.allocUnsafe:void 0;function $3e(e,t){if(t)return e.slice();var n=e.length,r=qU?qU(n):new e.constructor(n);return e.copy(r),r}function kne(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0)&&(n[a]=e[a]);return n}var HS=c.createContext(void 0);HS.displayName="FormikContext";var AUe=HS.Provider;HS.Consumer;function Qne(){var e=c.useContext(HS);return e}var Oi=function(t){return typeof t=="function"},xg=function(t){return t!==null&&typeof t=="object"},DUe=function(t){return String(Math.floor(Number(t)))===t},Xy=function(t){return Object.prototype.toString.call(t)==="[object String]"},MUe=function(t){return c.Children.count(t)===0},Qy=function(t){return xg(t)&&Oi(t.then)};function ri(e,t,n,r){r===void 0&&(r=0);for(var a=Vne(t);e&&r=0?[]:{}}}return(i===0?e:a)[o[i]]===n?e:(n===void 0?delete a[o[i]]:a[o[i]]=n,i===0&&n===void 0&&delete r[o[i]],r)}function Zne(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var a=0,i=Object.keys(e);a0?ne.map(function(le){return I(le,ri(re,le))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(ae).then(function(le){return le.reduce(function(pe,Re,Se){return Re==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Re&&(pe=vc(pe,ne[Se],Re)),pe},{})})},[I]),k=c.useCallback(function(re){return Promise.all([O(re),f.validationSchema?w(re):{},f.validate?R(re):{}]).then(function(ne){var ae=ne[0],le=ne[1],pe=ne[2],Re=QD.all([ae,le,pe],{arrayMerge:FUe});return Re})},[f.validate,f.validationSchema,O,R,w]),P=xi(function(re){return re===void 0&&(re=T.values),x({type:"SET_ISVALIDATING",payload:!0}),k(re).then(function(ne){return S.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:ne})),ne})});c.useEffect(function(){o&&S.current===!0&&Kl(m.current,f.initialValues)&&P(m.current)},[o,P]);var M=c.useCallback(function(re){var ne=re&&re.values?re.values:m.current,ae=re&&re.errors?re.errors:g.current?g.current:f.initialErrors||{},le=re&&re.touched?re.touched:h.current?h.current:f.initialTouched||{},pe=re&&re.status?re.status:v.current?v.current:f.initialStatus;m.current=ne,g.current=ae,h.current=le,v.current=pe;var Re=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!re&&!!re.isSubmitting,errors:ae,touched:le,status:pe,values:ne,isValidating:!!re&&!!re.isValidating,submitCount:re&&re.submitCount&&typeof re.submitCount=="number"?re.submitCount:0}})};if(f.onReset){var Se=f.onReset(T.values,Z);Qy(Se)?Se.then(Re):Re()}else Re()},[f.initialErrors,f.initialStatus,f.initialTouched,f.onReset]);c.useEffect(function(){S.current===!0&&!Kl(m.current,f.initialValues)&&u&&(m.current=f.initialValues,M(),o&&P(m.current))},[u,f.initialValues,M,o,P]),c.useEffect(function(){u&&S.current===!0&&!Kl(g.current,f.initialErrors)&&(g.current=f.initialErrors||Hl,x({type:"SET_ERRORS",payload:f.initialErrors||Hl}))},[u,f.initialErrors]),c.useEffect(function(){u&&S.current===!0&&!Kl(h.current,f.initialTouched)&&(h.current=f.initialTouched||Mh,x({type:"SET_TOUCHED",payload:f.initialTouched||Mh}))},[u,f.initialTouched]),c.useEffect(function(){u&&S.current===!0&&!Kl(v.current,f.initialStatus)&&(v.current=f.initialStatus,x({type:"SET_STATUS",payload:f.initialStatus}))},[u,f.initialStatus,f.initialTouched]);var N=xi(function(re){if(_.current[re]&&Oi(_.current[re].validate)){var ne=ri(T.values,re),ae=_.current[re].validate(ne);return Qy(ae)?(x({type:"SET_ISVALIDATING",payload:!0}),ae.then(function(le){return le}).then(function(le){x({type:"SET_FIELD_ERROR",payload:{field:re,value:le}}),x({type:"SET_ISVALIDATING",payload:!1})})):(x({type:"SET_FIELD_ERROR",payload:{field:re,value:ae}}),Promise.resolve(ae))}else if(f.validationSchema)return x({type:"SET_ISVALIDATING",payload:!0}),w(T.values,re).then(function(le){return le}).then(function(le){x({type:"SET_FIELD_ERROR",payload:{field:re,value:ri(le,re)}}),x({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),A=c.useCallback(function(re,ne){var ae=ne.validate;_.current[re]={validate:ae}},[]),D=c.useCallback(function(re){delete _.current[re]},[]),L=xi(function(re,ne){x({type:"SET_TOUCHED",payload:re});var ae=ne===void 0?a:ne;return ae?P(T.values):Promise.resolve()}),$=c.useCallback(function(re){x({type:"SET_ERRORS",payload:re})},[]),F=xi(function(re,ne){var ae=Oi(re)?re(T.values):re;x({type:"SET_VALUES",payload:ae});var le=ne===void 0?n:ne;return le?P(ae):Promise.resolve()}),B=c.useCallback(function(re,ne){x({type:"SET_FIELD_ERROR",payload:{field:re,value:ne}})},[]),z=xi(function(re,ne,ae){x({type:"SET_FIELD_VALUE",payload:{field:re,value:ne}});var le=ae===void 0?n:ae;return le?P(vc(T.values,re,ne)):Promise.resolve()}),U=c.useCallback(function(re,ne){var ae=ne,le=re,pe;if(!Xy(re)){re.persist&&re.persist();var Re=re.target?re.target:re.currentTarget,Se=Re.type,Pe=Re.name,fe=Re.id,ve=Re.value,Ae=Re.checked,ye=Re.outerHTML,be=Re.options,Ne=Re.multiple;ae=ne||Pe||fe,le=/number|range/.test(Se)?(pe=parseFloat(ve),isNaN(pe)?"":pe):/checkbox/.test(Se)?UUe(ri(T.values,ae),Ae,ve):be&&Ne?BUe(be):ve}ae&&z(ae,le)},[z,T.values]),j=xi(function(re){if(Xy(re))return function(ne){return U(ne,re)};U(re)}),G=xi(function(re,ne,ae){ne===void 0&&(ne=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:re,value:ne}});var le=ae===void 0?a:ae;return le?P(T.values):Promise.resolve()}),J=c.useCallback(function(re,ne){re.persist&&re.persist();var ae=re.target,le=ae.name,pe=ae.id,Re=ae.outerHTML,Se=ne||le||pe;G(Se,!0)},[G]),Y=xi(function(re){if(Xy(re))return function(ne){return J(ne,re)};J(re)}),X=c.useCallback(function(re){Oi(re)?x({type:"SET_FORMIK_STATE",payload:re}):x({type:"SET_FORMIK_STATE",payload:function(){return re}})},[]),V=c.useCallback(function(re){x({type:"SET_STATUS",payload:re})},[]),H=c.useCallback(function(re){x({type:"SET_ISSUBMITTING",payload:re})},[]),q=xi(function(){return x({type:"SUBMIT_ATTEMPT"}),P().then(function(re){var ne=re instanceof Error,ae=!ne&&Object.keys(re).length===0;if(ae){var le;try{if(le=te(),le===void 0)return}catch(pe){throw pe}return Promise.resolve(le).then(function(pe){return S.current&&x({type:"SUBMIT_SUCCESS"}),pe}).catch(function(pe){if(S.current)throw x({type:"SUBMIT_FAILURE"}),pe})}else if(S.current&&(x({type:"SUBMIT_FAILURE"}),ne))throw re})}),K=xi(function(re){re&&re.preventDefault&&Oi(re.preventDefault)&&re.preventDefault(),re&&re.stopPropagation&&Oi(re.stopPropagation)&&re.stopPropagation(),q().catch(function(ne){console.warn("Warning: An unhandled error was caught from submitForm()",ne)})}),Z={resetForm:M,validateForm:P,validateField:N,setErrors:$,setFieldError:B,setFieldTouched:G,setFieldValue:z,setStatus:V,setSubmitting:H,setTouched:L,setValues:F,setFormikState:X,submitForm:q},te=xi(function(){return d(T.values,Z)}),se=xi(function(re){re&&re.preventDefault&&Oi(re.preventDefault)&&re.preventDefault(),re&&re.stopPropagation&&Oi(re.stopPropagation)&&re.stopPropagation(),M()}),ue=c.useCallback(function(re){return{value:ri(T.values,re),error:ri(T.errors,re),touched:!!ri(T.touched,re),initialValue:ri(m.current,re),initialTouched:!!ri(h.current,re),initialError:ri(g.current,re)}},[T.errors,T.touched,T.values]),me=c.useCallback(function(re){return{setValue:function(ae,le){return z(re,ae,le)},setTouched:function(ae,le){return G(re,ae,le)},setError:function(ae){return B(re,ae)}}},[z,G,B]),de=c.useCallback(function(re){var ne=xg(re),ae=ne?re.name:re,le=ri(T.values,ae),pe={name:ae,value:le,onChange:j,onBlur:Y};if(ne){var Re=re.type,Se=re.value,Pe=re.as,fe=re.multiple;Re==="checkbox"?Se===void 0?pe.checked=!!le:(pe.checked=!!(Array.isArray(le)&&~le.indexOf(Se)),pe.value=Se):Re==="radio"?(pe.checked=le===Se,pe.value=Se):Pe==="select"&&fe&&(pe.value=pe.value||[],pe.multiple=!0)}return pe},[Y,j,T.values]),Te=c.useMemo(function(){return!Kl(m.current,T.values)},[m.current,T.values]),Ee=c.useMemo(function(){return typeof s<"u"?Te?T.errors&&Object.keys(T.errors).length===0:s!==!1&&Oi(s)?s(f):s:T.errors&&Object.keys(T.errors).length===0},[s,Te,T.errors,f]),ge=qr({},T,{initialValues:m.current,initialErrors:g.current,initialTouched:h.current,initialStatus:v.current,handleBlur:Y,handleChange:j,handleReset:se,handleSubmit:K,resetForm:M,setErrors:$,setFormikState:X,setFieldTouched:G,setFieldValue:z,setFieldError:B,setStatus:V,setSubmitting:H,setTouched:L,setValues:F,submitForm:q,validateForm:P,validateField:N,isValid:Ee,dirty:Te,unregisterField:D,registerField:A,getFieldProps:de,getFieldMeta:ue,getFieldHelpers:me,validateOnBlur:a,validateOnChange:n,validateOnMount:o});return ge}function Jne(e){var t=kUe(e),n=e.component,r=e.children,a=e.render,i=e.innerRef;return c.useImperativeHandle(i,function(){return t}),c.createElement(AUe,{value:t},n?c.createElement(n,t):a?a(t):r?Oi(r)?r(t):MUe(r)?null:c.Children.only(r):null)}function PUe(e){var t={};if(e.inner){if(e.inner.length===0)return vc(t,e.path,e.message);for(var a=e.inner,n=Array.isArray(a),r=0,a=n?a:a[Symbol.iterator]();;){var i;if(n){if(r>=a.length)break;i=a[r++]}else{if(r=a.next(),r.done)break;i=r.value}var o=i;ri(t,o.path)||(t=vc(t,o.path,o.message))}}return t}function $Ue(e,t,n,r){n===void 0&&(n=!1);var a=rM(e);return t[n?"validateSync":"validate"](a,{abortEarly:!1,context:a})}function rM(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||$U(a)?rM(a):a!==""?a:void 0}):$U(e[r])?t[r]=rM(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function FUe(e,t,n){var r=e.slice();return t.forEach(function(i,o){if(typeof r[o]>"u"){var s=n.clone!==!1,l=s&&n.isMergeableObject(i);r[o]=l?QD(Array.isArray(i)?[]:{},i,n):i}else n.isMergeableObject(i)?r[o]=QD(e[o],i,n):e.indexOf(i)===-1&&r.push(i)}),r}function BUe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function UUe(e,t,n){if(typeof e=="boolean")return!!t;var r=[],a=!1,i=-1;if(Array.isArray(e))r=e,i=e.indexOf(n),a=i>=0;else if(!n||n=="true"||n=="false")return!!t;return t&&n&&!a?r.concat(n):a?r.slice(0,i).concat(r.slice(i+1)):r}var jUe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?c.useLayoutEffect:c.useEffect;function xi(e){var t=c.useRef(e);return jUe(function(){t.current=e}),c.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{const{t}=$t(),{name:n,label:r,valueConverter:a,description:i,overlayed:o,overlayId:s,...l}=e,[u,d,{setValue:p}]=GS(n),[f,m]=c.useState(o),g=!!(d.touched&&d.error),h=d.touched&&d.error&&t(d.error),v=d.touched&&d.error?"error":void 0,S=a?a.fromValueToBoolean(d.value):d.value,_=new xn(vn()),E=T=>{try{_.apiPostTeddyCloudSetting(n,u.value,s,!T).then(()=>{y(),T?Qe.success(t("settings.overlayEnabled")):(C(),Qe.success(t("settings.overlayDisabled")))}).catch(x=>{Qe.error(`Error while ${T?"saving":"resetting"} config: ${x}`)})}catch(x){Qe.error(`Error while sending data to server: ${x}`)}},y=async()=>{try{await _.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},C=async()=>{try{const x=await(await _.apiGetTeddyCloudSettingRaw(n)).text(),R=x===""||a==null?void 0:a.fromValueToBoolean(x);p(R);const w=a?a.fromValueToBoolean(x):x;p(w)}catch(T){Qe.error(`Error fetching field value: ${T}`)}};return b.jsxs(mg,{help:g?h:void 0,validateStatus:v,label:r,tooltip:i,children:[b.jsx($a,{...l,...u,checked:S,disabled:!f&&f!==void 0,onChange:T=>{try{_.apiPostTeddyCloudSetting(n,T,s).then(()=>{y(),Qe.success(t("settings.saved"))}).catch(x=>{Qe.error("Error while saving config to file.")})}catch{Qe.error("Error while sending data to server.")}p(T)}}),f===void 0?"":b.jsx(Ts,{checked:f,style:{marginLeft:"16px"},onChange:T=>{m(T.target.checked),E(T.target.checked)},children:t("settings.overlayed")})]})},GUe=e=>{const{t}=$t(),{name:n,label:r,description:a,overlayed:i,overlayId:o,...s}=e,[l,u,d]=GS(n),[p,f]=c.useState(i),m=!!(u.touched&&u.error),g=u.touched&&u.error&&t(u.error),h=u.touched&&u.error?"error":void 0,v=new xn(vn()),S=x=>{try{v.apiPostTeddyCloudSetting(n,l.value,o,!x).then(()=>{C(),x?Qe.success(t("settings.overlayEnabled")):(y(),Qe.success(t("settings.overlayDisabled")))}).catch(R=>{Qe.error(`Error while ${x?"saving":"resetting"} config: ${R}`)})}catch(R){Qe.error(`Error while sending data to server: ${R}`)}},_=x=>{const R=async()=>{await v.apiTriggerWriteConfigGet()};try{v.apiPostTeddyCloudSetting(n,l.value,o).then(()=>{R(),Qe.success(t("settings.saved"))}).catch(w=>{Qe.error("Error while sending data to file.")})}catch{Qe.error("Error while sending data to server.")}d.setValue(l.value||"")},E=x=>{_()},y=()=>{try{v.apiGetTeddyCloudSettingRaw(n).then(x=>x.text()).then(x=>{d.setValue(x)}).catch(x=>{Qe.error(`Error fetching field value: ${x}`)})}catch(x){Qe.error(`Error fetching field value: ${x}`)}},C=async()=>{try{await v.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},T=[b.jsx(rAe,{disabled:!p,style:{cursor:p||p===void 0?"pointer":"default",margin:p!==void 0?"0 16px 0 0":"0"},onClick:E},"saveIcon"),p===void 0?"":b.jsx(Ts,{checked:p,onChange:x=>{f(x.target.checked),S(x.target.checked)},children:t("settings.overlayed")},"overlayCheckBox")];return b.jsx(mg,{help:m?g:void 0,validateStatus:h,label:r,tooltip:a,children:b.jsx(en,{...s,...l,addonAfter:T,disabled:!p&&p!==void 0})})},u6=e=>{const{t}=$t(),{name:n,label:r,description:a,overlayed:i,overlayId:o,...s}=e,[l,u,d]=GS(n),[p,f]=c.useState(i),m=!!(u.touched&&u.error),g=u.touched&&u.error&&t(u.error),h=u.touched&&u.error?"error":void 0,v=p===void 0?"":b.jsx(Ts,{checked:p,onChange:C=>{f(C.target.checked),_(C.target.checked)},children:t("settings.overlayed")}),S=new xn(vn()),_=C=>{try{S.apiPostTeddyCloudSetting(n,l.value,o,!C).then(()=>{y(),C?Qe.success(t("settings.overlayEnabled")):(E(),Qe.success(t("settings.overlayDisabled")))}).catch(T=>{Qe.error(`Error while ${C?"saving":"resetting"} config: ${T}`)})}catch(T){Qe.error(`Error while sending data to server: ${T}`)}},E=()=>{try{S.apiGetTeddyCloudSettingRaw(n).then(C=>C.text()).then(C=>{d.setValue(C===""?void 0:Number(C))}).catch(C=>{Qe.error(`Error fetching field value: ${C}`)})}catch(C){Qe.error(`Error fetching field value: ${C}`)}},y=async()=>{try{await S.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}};return b.jsx(mg,{help:m?g:void 0,validateStatus:h,label:r,tooltip:a,children:b.jsx(PJ,{...s,...l,addonAfter:v,disabled:!p&&p!==void 0,onChange:C=>{try{S.apiPostTeddyCloudSetting(n,C,o).then(()=>{y(),Qe.success(t("settings.saved"))}).catch(T=>{Qe.error("Error while saving config to file.")})}catch{Qe.error("Error while sending data to server.")}d.setValue(C===null?void 0:Number(C))},onBlur:()=>d.setTouched(!0)})})},ere=({option:e,noOverlay:t,overlayId:n})=>{const{type:r,iD:a,description:i,label:o,shortname:s,value:l,overlayed:u}=e,[d,p]=c.useState(""),[f,m,{setValue:g}]=GS(a);c.useEffect(()=>{p(l),g(l)},[g,l]);const h=t?void 0:u;return b.jsxs("div",{children:[r==="bool"&&b.jsx(HUe,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="int"&&b.jsx(u6,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="uint"&&b.jsx(u6,{name:a,label:o,description:i,overlayed:h,overlayId:n}),r==="string"&&b.jsx(GUe,{name:a,label:o,description:i,overlayed:h,overlayId:n})]},a)},Lh=new xn(vn()),VUe=()=>{var u;const{t:e}=$t(),[t,n]=c.useState(),[r,a]=c.useState(""),[i,o]=c.useState(!1);c.useEffect(()=>{(async()=>{try{const p=await Lh.apiGetTeddyCloudSettingRaw("core.settings_level");if(!p.ok)throw new Error(`HTTP error! status: ${p.status}`);const f=await p.json();a(f.toString())}catch(p){console.error("Error fetching settings level: ",p)}})()},[]),c.useEffect(()=>{(async()=>{var f,m;o(!0);const p=await Lh.apiGetIndexGet("");(f=p==null?void 0:p.options)!=null&&f.length&&((m=p==null?void 0:p.options)==null?void 0:m.length)>0&&n(p),o(!1)})()},[r]);const s=async()=>{try{await Lh.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},l=async d=>{try{Lh.apiPostTeddyCloudSetting("core.settings_level",d),s(),a(d)}catch{Qe.error("Error while sending data to server.")}};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Md,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Md,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("settings.title")}),b.jsx(Xn,{message:e("settings.information"),description:b.jsxs("div",{children:[e("settings.hint")," ",b.jsx(wt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0}),b.jsx(Xn,{message:e("settings.warning"),description:b.jsx("div",{children:e("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px 0"}}),b.jsx(Qr,{children:e("settings.title")}),b.jsx(Jne,{initialValues:{test:"test"},onSubmit:d=>{},children:b.jsx(Xt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(u=t==null?void 0:t.options)==null?void 0:u.map((d,p,f)=>{if(d.iD.includes("core.settings_level"))return null;const m=d.iD.split("."),g=f[p-1]?f[p-1].iD.split("."):[];return b.jsxs(ce.Fragment,{children:[m.slice(0,-1).map((h,v)=>g[v]!==h?v===0?b.jsxs("h3",{style:{marginLeft:`${v*20}px`,marginBottom:"10px"},children:["Category ",h]},`category-${h}`):b.jsxs("h4",{style:{marginLeft:`${v*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",h]},`category-${h}`):null),b.jsx(ere,{option:d,noOverlay:!0},d.iD)]},p)})})}),b.jsx(Qr,{children:e("settings.levelLabel")}),b.jsxs(di.Group,{value:r,onChange:d=>l(d.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:i,children:[b.jsx(di.Button,{value:"1",children:"Basic"},"1"),b.jsx(di.Button,{value:"2",children:"Detail"},"2"),b.jsx(di.Button,{value:"3",children:"Expert"},"3")]})]})]})]})};function d6(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 Gu(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 Zy={};function WUe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Zy[t]||(Zy[t]=qUe(e)),Zy[t]}function YUe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=e.filter(function(i){return i!=="token"}),a=WUe(r);return a.reduce(function(i,o){return Gu(Gu({},i),n[o])},t)}function p6(e){return e.join(" ")}function KUe(e,t){var n=0;return function(r){return n+=1,r.map(function(a,i){return tre({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(i)})})}}function tre(e){var t=e.node,n=e.stylesheet,r=e.style,a=r===void 0?{}:r,i=e.useInlineStyles,o=e.key,s=t.properties,l=t.type,u=t.tagName,d=t.value;if(l==="text")return d;if(u){var p=KUe(n,i),f;if(!i)f=Gu(Gu({},s),{},{className:p6(s.className)});else{var m=Object.keys(n).reduce(function(S,_){return _.split(".").forEach(function(E){S.includes(E)||S.push(E)}),S},[]),g=s.className&&s.className.includes("token")?["token"]:[],h=s.className&&g.concat(s.className.filter(function(S){return!m.includes(S)}));f=Gu(Gu({},s),{},{className:p6(h)||void 0,style:YUe(s.className,Object.assign({},s.style,a),n)})}var v=p(t.children);return ce.createElement(u,_e({key:o},f),v)}}const XUe=function(e,t){var n=e.listLanguages();return n.indexOf(t)!==-1};var QUe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function f6(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 Io(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 wv({children:C,lineNumber:T,lineNumberStyle:s,largestLineNumber:o,showInlineLineNumbers:a,lineProps:n,className:x,showLineNumbers:r,wrapLongLines:l})}function h(C,T){if(r&&T&&a){var x=rre(s,T,o);C.unshift(nre(T,x))}return C}function v(C,T){var x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||x.length>0?g(C,T,x):h(C,T)}for(var S=function(){var T=d[m],x=T.children[0].value,R=JUe(x);if(R){var w=x.split(` -`);w.forEach(function(I,O){var k=r&&p.length+i,P={type:"text",value:"".concat(I,` -`)};if(O===0){var M=d.slice(f+1,m).concat(wv({children:[P],className:T.properties.className})),N=v(M,k);p.push(N)}else if(O===w.length-1){var A=d[m+1]&&d[m+1].children&&d[m+1].children[0],D={type:"text",value:"".concat(I)};if(A){var L=wv({children:[D],className:T.properties.className});d.splice(m+1,0,L)}else{var $=[D],F=v($,k,T.properties.className);p.push(F)}}else{var B=[P],z=v(B,k,T.properties.className);p.push(z)}}),f=m}m++};m/g,">").replace(/"/g,""").replace(/'/g,"'")}function Js(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const a in r)n[a]=r[a]}),n}const l6e="",g6=e=>!!e.kind;class c6e{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=ad(t)}openNode(t){if(!g6(t))return;let n=t.kind;t.sublanguage||(n=`${this.classPrefix}${n}`),this.span(n)}closeNode(t){g6(t)&&(this.buffer+=l6e)}value(){return this.buffer}span(t){this.buffer+=``}}class wP{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n={kind:t,children:[]};this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{wP._collapse(n)}))}}class u6e extends wP{constructor(t){super(),this.options=t}addKeyword(t,n){t!==""&&(this.openNode(n),this.addText(t),this.closeNode())}addText(t){t!==""&&this.add(t)}addSublanguage(t,n){const r=t.root;r.kind=n,r.sublanguage=!0,this.add(r)}toHTML(){return new c6e(this,this.options).value()}finalize(){return!0}}function d6e(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function Om(e){return e?typeof e=="string"?e:e.source:null}function p6e(...e){return e.map(n=>Om(n)).join("")}function f6e(...e){return"("+e.map(n=>Om(n)).join("|")+")"}function m6e(e){return new RegExp(e.toString()+"|").exec("").length-1}function g6e(e,t){const n=e&&e.exec(t);return n&&n.index===0}const h6e=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function v6e(e,t="|"){let n=0;return e.map(r=>{n+=1;const a=n;let i=Om(r),o="";for(;i.length>0;){const s=h6e.exec(i);if(!s){o+=i;break}o+=i.substring(0,s.index),i=i.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+a):(o+=s[0],s[0]==="("&&n++)}return o}).map(r=>`(${r})`).join(t)}const _6e=/\b\B/,lre="[a-zA-Z]\\w*",IP="[a-zA-Z_]\\w*",OP="\\b\\d+(\\.\\d+)?",cre="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ure="\\b(0b[01]+)",b6e="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",S6e=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=p6e(t,/.*\b/,e.binary,/\b.*/)),Js({className:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Nm={begin:"\\\\[\\s\\S]",relevance:0},E6e={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[Nm]},y6e={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[Nm]},dre={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},VS=function(e,t,n={}){const r=Js({className:"comment",begin:e,end:t,contains:[]},n);return r.contains.push(dre),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),r},C6e=VS("//","$"),T6e=VS("/\\*","\\*/"),x6e=VS("#","$"),R6e={className:"number",begin:OP,relevance:0},w6e={className:"number",begin:cre,relevance:0},I6e={className:"number",begin:ure,relevance:0},O6e={className:"number",begin:OP+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},N6e={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Nm,{begin:/\[/,end:/\]/,relevance:0,contains:[Nm]}]}]},A6e={className:"title",begin:lre,relevance:0},D6e={className:"title",begin:IP,relevance:0},M6e={begin:"\\.\\s*"+IP,relevance:0},L6e=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var kh=Object.freeze({__proto__:null,MATCH_NOTHING_RE:_6e,IDENT_RE:lre,UNDERSCORE_IDENT_RE:IP,NUMBER_RE:OP,C_NUMBER_RE:cre,BINARY_NUMBER_RE:ure,RE_STARTERS_RE:b6e,SHEBANG:S6e,BACKSLASH_ESCAPE:Nm,APOS_STRING_MODE:E6e,QUOTE_STRING_MODE:y6e,PHRASAL_WORDS_MODE:dre,COMMENT:VS,C_LINE_COMMENT_MODE:C6e,C_BLOCK_COMMENT_MODE:T6e,HASH_COMMENT_MODE:x6e,NUMBER_MODE:R6e,C_NUMBER_MODE:w6e,BINARY_NUMBER_MODE:I6e,CSS_NUMBER_MODE:O6e,REGEXP_MODE:N6e,TITLE_MODE:A6e,UNDERSCORE_TITLE_MODE:D6e,METHOD_GUARD:M6e,END_SAME_AS_BEGIN:L6e});function k6e(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function P6e(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=k6e,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function $6e(e,t){Array.isArray(e.illegal)&&(e.illegal=f6e(...e.illegal))}function F6e(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function B6e(e,t){e.relevance===void 0&&(e.relevance=1)}const U6e=["of","and","for","in","not","or","if","then","parent","list","value"],j6e="keyword";function pre(e,t,n=j6e){const r={};return typeof e=="string"?a(n,e.split(" ")):Array.isArray(e)?a(n,e):Object.keys(e).forEach(function(i){Object.assign(r,pre(e[i],t,i))}),r;function a(i,o){t&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const l=s.split("|");r[l[0]]=[i,z6e(l[0],l[1])]})}}function z6e(e,t){return t?Number(t):H6e(e)?0:1}function H6e(e){return U6e.includes(e.toLowerCase())}function G6e(e,{plugins:t}){function n(s,l){return new RegExp(Om(s),"m"+(e.case_insensitive?"i":"")+(l?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(l,u){u.position=this.position++,this.matchIndexes[this.matchAt]=u,this.regexes.push([u,l]),this.matchAt+=m6e(l)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const l=this.regexes.map(u=>u[1]);this.matcherRe=n(v6e(l),!0),this.lastIndex=0}exec(l){this.matcherRe.lastIndex=this.lastIndex;const u=this.matcherRe.exec(l);if(!u)return null;const d=u.findIndex((f,m)=>m>0&&f!==void 0),p=this.matchIndexes[d];return u.splice(0,d),Object.assign(u,p)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(l){if(this.multiRegexes[l])return this.multiRegexes[l];const u=new r;return this.rules.slice(l).forEach(([d,p])=>u.addRule(d,p)),u.compile(),this.multiRegexes[l]=u,u}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(l,u){this.rules.push([l,u]),u.type==="begin"&&this.count++}exec(l){const u=this.getMatcher(this.regexIndex);u.lastIndex=this.lastIndex;let d=u.exec(l);if(this.resumingScanAtSamePosition()&&!(d&&d.index===this.lastIndex)){const p=this.getMatcher(0);p.lastIndex=this.lastIndex+1,d=p.exec(l)}return d&&(this.regexIndex+=d.position+1,this.regexIndex===this.count&&this.considerAll()),d}}function i(s){const l=new a;return s.contains.forEach(u=>l.addRule(u.begin,{rule:u,type:"begin"})),s.terminatorEnd&&l.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&l.addRule(s.illegal,{type:"illegal"}),l}function o(s,l){const u=s;if(s.isCompiled)return u;[F6e].forEach(p=>p(s,l)),e.compilerExtensions.forEach(p=>p(s,l)),s.__beforeBegin=null,[P6e,$6e,B6e].forEach(p=>p(s,l)),s.isCompiled=!0;let d=null;if(typeof s.keywords=="object"&&(d=s.keywords.$pattern,delete s.keywords.$pattern),s.keywords&&(s.keywords=pre(s.keywords,e.case_insensitive)),s.lexemes&&d)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return d=d||s.lexemes||/\w+/,u.keywordPatternRe=n(d,!0),l&&(s.begin||(s.begin=/\B|\b/),u.beginRe=n(s.begin),s.endSameAsBegin&&(s.end=s.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(u.endRe=n(s.end)),u.terminatorEnd=Om(s.end)||"",s.endsWithParent&&l.terminatorEnd&&(u.terminatorEnd+=(s.end?"|":"")+l.terminatorEnd)),s.illegal&&(u.illegalRe=n(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(p){return V6e(p==="self"?s:p)})),s.contains.forEach(function(p){o(p,u)}),s.starts&&o(s.starts,l),u.matcher=i(u),u}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Js(e.classNameAliases||{}),o(e)}function fre(e){return e?e.endsWithParent||fre(e.starts):!1}function V6e(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Js(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:fre(e)?Js(e,{starts:e.starts?Js(e.starts):null}):Object.isFrozen(e)?Js(e):e}var q6e="10.7.3";function W6e(e){return!!(e||e==="")}function Y6e(e){const t={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!e.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,ad(this.code);let r={};return this.autoDetect?(r=e.highlightAuto(this.code),this.detectedLanguage=r.language):(r=e.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),r.value},autoDetect(){return!this.language||W6e(this.autodetect)},ignoreIllegals(){return!0}},render(r){return r("pre",{},[r("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:t,VuePlugin:{install(r){r.component("highlightjs",t)}}}}const K6e={"after:highlightElement":({el:e,result:t,text:n})=>{const r=h6(e);if(!r.length)return;const a=document.createElement("div");a.innerHTML=t.value,t.value=X6e(r,h6(a),n)}};function aM(e){return e.nodeName.toLowerCase()}function h6(e){const t=[];return function n(r,a){for(let i=r.firstChild;i;i=i.nextSibling)i.nodeType===3?a+=i.nodeValue.length:i.nodeType===1&&(t.push({event:"start",offset:a,node:i}),a=n(i,a),aM(i).match(/br|hr|img|input/)||t.push({event:"stop",offset:a,node:i}));return a}(e,0),t}function X6e(e,t,n){let r=0,a="";const i=[];function o(){return!e.length||!t.length?e.length?e:t:e[0].offset!==t[0].offset?e[0].offset"}function l(d){a+=""}function u(d){(d.event==="start"?s:l)(d.node)}for(;e.length||t.length;){let d=o();if(a+=ad(n.substring(r,d[0].offset)),r=d[0].offset,d===e){i.reverse().forEach(l);do u(d.splice(0,1)[0]),d=o();while(d===e&&d.length&&d[0].offset===r);i.reverse().forEach(s)}else d[0].event==="start"?i.push(d[0].node):i.pop(),u(d.splice(0,1)[0])}return a+ad(n.substr(r))}const v6={},Jy=e=>{console.error(e)},_6=(e,...t)=>{console.log(`WARN: ${e}`,...t)},Ri=(e,t)=>{v6[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),v6[`${e}/${t}`]=!0)},eC=ad,b6=Js,S6=Symbol("nomatch"),Q6e=function(e){const t=Object.create(null),n=Object.create(null),r=[];let a=!0;const i=/(^(<[^>]+>|\t|)+|\n)/gm,o="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let l={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:u6e};function u(U){return l.noHighlightRe.test(U)}function d(U){let j=U.className+" ";j+=U.parentNode?U.parentNode.className:"";const G=l.languageDetectRe.exec(j);if(G){const J=N(G[1]);return J||(_6(o.replace("{}",G[1])),_6("Falling back to no-highlight mode for this block.",U)),J?G[1]:"no-highlight"}return j.split(/\s+/).find(J=>u(J)||N(J))}function p(U,j,G,J){let Y="",X="";typeof j=="object"?(Y=U,G=j.ignoreIllegals,X=j.language,J=void 0):(Ri("10.7.0","highlight(lang, code, ...args) has been deprecated."),Ri("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),X=U,Y=j);const V={code:Y,language:X};F("before:highlight",V);const H=V.result?V.result:f(V.language,V.code,G,J);return H.code=V.code,F("after:highlight",H),H}function f(U,j,G,J){function Y(fe,ve){const Ae=Te.case_insensitive?ve[0].toLowerCase():ve[0];return Object.prototype.hasOwnProperty.call(fe.keywords,Ae)&&fe.keywords[Ae]}function X(){if(!re.keywords){ae.addText(le);return}let fe=0;re.keywordPatternRe.lastIndex=0;let ve=re.keywordPatternRe.exec(le),Ae="";for(;ve;){Ae+=le.substring(fe,ve.index);const ye=Y(re,ve);if(ye){const[be,Ne]=ye;if(ae.addText(Ae),Ae="",pe+=Ne,be.startsWith("_"))Ae+=ve[0];else{const Ie=Te.classNameAliases[be]||be;ae.addKeyword(ve[0],Ie)}}else Ae+=ve[0];fe=re.keywordPatternRe.lastIndex,ve=re.keywordPatternRe.exec(le)}Ae+=le.substr(fe),ae.addText(Ae)}function V(){if(le==="")return;let fe=null;if(typeof re.subLanguage=="string"){if(!t[re.subLanguage]){ae.addText(le);return}fe=f(re.subLanguage,le,!0,ne[re.subLanguage]),ne[re.subLanguage]=fe.top}else fe=g(le,re.subLanguage.length?re.subLanguage:null);re.relevance>0&&(pe+=fe.relevance),ae.addSublanguage(fe.emitter,fe.language)}function H(){re.subLanguage!=null?V():X(),le=""}function q(fe){return fe.className&&ae.openNode(Te.classNameAliases[fe.className]||fe.className),re=Object.create(fe,{parent:{value:re}}),re}function K(fe,ve,Ae){let ye=g6e(fe.endRe,Ae);if(ye){if(fe["on:end"]){const be=new m6(fe);fe["on:end"](ve,be),be.isMatchIgnored&&(ye=!1)}if(ye){for(;fe.endsParent&&fe.parent;)fe=fe.parent;return fe}}if(fe.endsWithParent)return K(fe.parent,ve,Ae)}function Z(fe){return re.matcher.regexIndex===0?(le+=fe[0],1):(Pe=!0,0)}function te(fe){const ve=fe[0],Ae=fe.rule,ye=new m6(Ae),be=[Ae.__beforeBegin,Ae["on:begin"]];for(const Ne of be)if(Ne&&(Ne(fe,ye),ye.isMatchIgnored))return Z(ve);return Ae&&Ae.endSameAsBegin&&(Ae.endRe=d6e(ve)),Ae.skip?le+=ve:(Ae.excludeBegin&&(le+=ve),H(),!Ae.returnBegin&&!Ae.excludeBegin&&(le=ve)),q(Ae),Ae.returnBegin?0:ve.length}function se(fe){const ve=fe[0],Ae=j.substr(fe.index),ye=K(re,fe,Ae);if(!ye)return S6;const be=re;be.skip?le+=ve:(be.returnEnd||be.excludeEnd||(le+=ve),H(),be.excludeEnd&&(le=ve));do re.className&&ae.closeNode(),!re.skip&&!re.subLanguage&&(pe+=re.relevance),re=re.parent;while(re!==ye.parent);return ye.starts&&(ye.endSameAsBegin&&(ye.starts.endRe=ye.endRe),q(ye.starts)),be.returnEnd?0:ve.length}function ue(){const fe=[];for(let ve=re;ve!==Te;ve=ve.parent)ve.className&&fe.unshift(ve.className);fe.forEach(ve=>ae.openNode(ve))}let me={};function de(fe,ve){const Ae=ve&&ve[0];if(le+=fe,Ae==null)return H(),0;if(me.type==="begin"&&ve.type==="end"&&me.index===ve.index&&Ae===""){if(le+=j.slice(ve.index,ve.index+1),!a){const ye=new Error("0 width match regex");throw ye.languageName=U,ye.badRule=me.rule,ye}return 1}if(me=ve,ve.type==="begin")return te(ve);if(ve.type==="illegal"&&!G){const ye=new Error('Illegal lexeme "'+Ae+'" for mode "'+(re.className||"")+'"');throw ye.mode=re,ye}else if(ve.type==="end"){const ye=se(ve);if(ye!==S6)return ye}if(ve.type==="illegal"&&Ae==="")return 1;if(Se>1e5&&Se>ve.index*3)throw new Error("potential infinite loop, way more iterations than matches");return le+=Ae,Ae.length}const Te=N(U);if(!Te)throw Jy(o.replace("{}",U)),new Error('Unknown language: "'+U+'"');const Ee=G6e(Te,{plugins:r});let ge="",re=J||Ee;const ne={},ae=new l.__emitter(l);ue();let le="",pe=0,Re=0,Se=0,Pe=!1;try{for(re.matcher.considerAll();;){Se++,Pe?Pe=!1:re.matcher.considerAll(),re.matcher.lastIndex=Re;const fe=re.matcher.exec(j);if(!fe)break;const ve=j.substring(Re,fe.index),Ae=de(ve,fe);Re=fe.index+Ae}return de(j.substr(Re)),ae.closeAllNodes(),ae.finalize(),ge=ae.toHTML(),{relevance:Math.floor(pe),value:ge,language:U,illegal:!1,emitter:ae,top:re}}catch(fe){if(fe.message&&fe.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:fe.message,context:j.slice(Re-100,Re+100),mode:fe.mode},sofar:ge,relevance:0,value:eC(j),emitter:ae};if(a)return{illegal:!1,relevance:0,value:eC(j),emitter:ae,language:U,top:re,errorRaised:fe};throw fe}}function m(U){const j={relevance:0,emitter:new l.__emitter(l),value:eC(U),illegal:!1,top:s};return j.emitter.addText(U),j}function g(U,j){j=j||l.languages||Object.keys(t);const G=m(U),J=j.filter(N).filter(D).map(q=>f(q,U,!1));J.unshift(G);const Y=J.sort((q,K)=>{if(q.relevance!==K.relevance)return K.relevance-q.relevance;if(q.language&&K.language){if(N(q.language).supersetOf===K.language)return 1;if(N(K.language).supersetOf===q.language)return-1}return 0}),[X,V]=Y,H=X;return H.second_best=V,H}function h(U){return l.tabReplace||l.useBR?U.replace(i,j=>j===` -`?l.useBR?"
":j:l.tabReplace?j.replace(/\t/g,l.tabReplace):j):U}function v(U,j,G){const J=j?n[j]:G;U.classList.add("hljs"),J&&U.classList.add(J)}const S={"before:highlightElement":({el:U})=>{l.useBR&&(U.innerHTML=U.innerHTML.replace(/\n/g,"").replace(//g,` -`))},"after:highlightElement":({result:U})=>{l.useBR&&(U.value=U.value.replace(/\n/g,"
"))}},_=/^(<[^>]+>|\t)+/gm,E={"after:highlightElement":({result:U})=>{l.tabReplace&&(U.value=U.value.replace(_,j=>j.replace(/\t/g,l.tabReplace)))}};function y(U){let j=null;const G=d(U);if(u(G))return;F("before:highlightElement",{el:U,language:G}),j=U;const J=j.textContent,Y=G?p(J,{language:G,ignoreIllegals:!0}):g(J);F("after:highlightElement",{el:U,result:Y,text:J}),U.innerHTML=Y.value,v(U,G,Y.language),U.result={language:Y.language,re:Y.relevance,relavance:Y.relevance},Y.second_best&&(U.second_best={language:Y.second_best.language,re:Y.second_best.relevance,relavance:Y.second_best.relevance})}function C(U){U.useBR&&(Ri("10.3.0","'useBR' will be removed entirely in v11.0"),Ri("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),l=b6(l,U)}const T=()=>{if(T.called)return;T.called=!0,Ri("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(y)};function x(){Ri("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),R=!0}let R=!1;function w(){if(document.readyState==="loading"){R=!0;return}document.querySelectorAll("pre code").forEach(y)}function I(){R&&w()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",I,!1);function O(U,j){let G=null;try{G=j(e)}catch(J){if(Jy("Language definition for '{}' could not be registered.".replace("{}",U)),a)Jy(J);else throw J;G=s}G.name||(G.name=U),t[U]=G,G.rawDefinition=j.bind(null,e),G.aliases&&A(G.aliases,{languageName:U})}function k(U){delete t[U];for(const j of Object.keys(n))n[j]===U&&delete n[j]}function P(){return Object.keys(t)}function M(U){Ri("10.4.0","requireLanguage will be removed entirely in v11."),Ri("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const j=N(U);if(j)return j;throw new Error("The '{}' language is required, but not loaded.".replace("{}",U))}function N(U){return U=(U||"").toLowerCase(),t[U]||t[n[U]]}function A(U,{languageName:j}){typeof U=="string"&&(U=[U]),U.forEach(G=>{n[G.toLowerCase()]=j})}function D(U){const j=N(U);return j&&!j.disableAutodetect}function L(U){U["before:highlightBlock"]&&!U["before:highlightElement"]&&(U["before:highlightElement"]=j=>{U["before:highlightBlock"](Object.assign({block:j.el},j))}),U["after:highlightBlock"]&&!U["after:highlightElement"]&&(U["after:highlightElement"]=j=>{U["after:highlightBlock"](Object.assign({block:j.el},j))})}function $(U){L(U),r.push(U)}function F(U,j){const G=U;r.forEach(function(J){J[G]&&J[G](j)})}function B(U){return Ri("10.2.0","fixMarkup will be removed entirely in v11.0"),Ri("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),h(U)}function z(U){return Ri("10.7.0","highlightBlock will be removed entirely in v12.0"),Ri("10.7.0","Please use highlightElement now."),y(U)}Object.assign(e,{highlight:p,highlightAuto:g,highlightAll:w,fixMarkup:B,highlightElement:y,highlightBlock:z,configure:C,initHighlighting:T,initHighlightingOnLoad:x,registerLanguage:O,unregisterLanguage:k,listLanguages:P,getLanguage:N,registerAliases:A,requireLanguage:M,autoDetection:D,inherit:b6,addPlugin:$,vuePlugin:Y6e(e).VuePlugin}),e.debugMode=function(){a=!1},e.safeMode=function(){a=!0},e.versionString=q6e;for(const U in kh)typeof kh[U]=="object"&&sre(kh[U]);return Object.assign(e,kh),e.addPlugin(S),e.addPlugin(K6e),e.addPlugin(E),e};var Z6e=Q6e({}),J6e=Z6e,mre={exports:{}};(function(e){(function(){var t;t=e.exports=a,t.format=a,t.vsprintf=r,typeof console<"u"&&typeof console.log=="function"&&(t.printf=n);function n(){console.log(a.apply(null,arguments))}function r(i,o){return a.apply(null,[i].concat(o))}function a(i){for(var o=1,s=[].slice.call(arguments),l=0,u=i.length,d="",p,f=!1,m,g,h=!1,v,S=function(){return s[o++]},_=function(){for(var E="";/\d/.test(i[l]);)E+=i[l++],p=i[l];return E.length>0?parseInt(E):null};ls.relevance&&(s=l),l.relevance>o.relevance&&(s=o,o=l));return s.language&&(o.secondBest=s),o}function i8e(e,t){No.registerLanguage(e,t)}function o8e(){return No.listLanguages()}function s8e(e,t){var n=e,r;t&&(n={},n[e]=t);for(r in n)No.registerAliases(n[r],{languageName:r})}function Os(e){this.options=e,this.rootNode={children:[]},this.stack=[this.rootNode]}function l8e(e,t){this.openNode(t),this.addText(e),this.closeNode()}function c8e(e,t){var n=this.stack,r=n[n.length-1],a=e.rootNode.children,i=t?{type:"element",tagName:"span",properties:{className:[t]},children:a}:a;r.children=r.children.concat(i)}function u8e(e){var t=this.stack,n,r;e!==""&&(n=t[t.length-1],r=n.children[n.children.length-1],r&&r.type==="text"?r.value+=e:n.children.push({type:"text",value:e}))}function d8e(e){var t=this.stack,n=this.options.classPrefix+e,r=t[t.length-1],a={type:"element",tagName:"span",properties:{className:[n]},children:[]};r.children.push(a),t.push(a)}function p8e(){this.stack.pop()}function f8e(){return""}function hre(){}var tC,E6;function m8e(){if(E6)return tC;E6=1;function e(t){var n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",r="далее ",a="возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",i=r+a,o="загрузитьизфайла ",s="вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",l=o+s,u="разделительстраниц разделительстрок символтабуляции ",d="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",p="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",f="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",m=u+d+p+f,g="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",h="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",v="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",S="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",_="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",E="отображениевремениэлементовпланировщика ",y="типфайлаформатированногодокумента ",C="обходрезультатазапроса типзаписизапроса ",T="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",x="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",R="типизмеренияпостроителязапроса ",w="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",I="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",O="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",k="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",P="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",M="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",N="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",A="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",D="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",L="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",$="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",F=g+h+v+S+_+E+y+C+T+x+R+w+I+O+k+P+M+N+A+D+L+$,B="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных ",z="comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",U=B+z,j="null истина ложь неопределено",G=t.inherit(t.NUMBER_MODE),J={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Y={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},X=t.inherit(t.C_LINE_COMMENT_MODE),V={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:n,"meta-keyword":i+l},contains:[X]},H={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},q={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:n,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:n,keyword:"знач",literal:j},contains:[G,J,Y]},X]},t.inherit(t.TITLE_MODE,{begin:n})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:n,keyword:i,built_in:m,class:F,type:U,literal:j},contains:[V,q,X,H,G,J,Y]}}return tC=e,tC}var nC,y6;function g8e(){if(y6)return nC;y6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},i=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],o=r.COMMENT(/;/,/$/),s={className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},l={className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},u={className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},d={className:"symbol",begin:/%[si]/},p={className:"attribute",begin:t(a.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:a.unexpectedChars,keywords:i,contains:[p,o,s,l,u,d,r.QUOTE_STRING_MODE,r.NUMBER_MODE]}}return nC=n,nC}var rC,C6;function h8e(){if(C6)return rC;C6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t(/"/,n(...i)),end:/"/,keywords:i,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return rC=r,rC}var aC,T6;function v8e(){if(T6)return aC;T6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:/\{/,contains:[r.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},r.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[r.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,o]},{begin:t(/:\s*/,i)}]},r.METHOD_GUARD],illegal:/#/}}return aC=n,aC}var iC,x6;function _8e(){if(x6)return iC;x6=1;function e(t){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,a=n+"(\\."+n+")?("+r+")?",i="\\w+",s="\\b("+(n+"#"+i+"(\\."+i+")?#("+r+")?")+"|"+a+")",l="[A-Za-z](_?[A-Za-z0-9.])*",u=`[]\\{\\}%#'"`,d=t.COMMENT("--","$"),p={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:u,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[d,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:s,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:u},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[d,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:u},p,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:u}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:u},p]}}return iC=e,iC}var oC,R6;function b8e(){if(R6)return oC;R6=1;function e(t){var n={className:"built_in",begin:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},r={className:"symbol",begin:"[a-zA-Z0-9_]+@"},a={className:"keyword",begin:"<",end:">",contains:[n,r]};return n.contains=[a],r.contains=[a],{name:"AngelScript",aliases:["asc"],keywords:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit property",illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE],relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},n,r,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return oC=e,oC}var sC,w6;function S8e(){if(w6)return sC;w6=1;function e(t){const n={className:"number",begin:/[$%]\d+/},r={className:"number",begin:/\d+/},a={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[a,i,t.inherit(t.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",n]},a,r,t.QUOTE_STRING_MODE]}}],illegal:/\S/}}return sC=e,sC}var lC,I6;function E8e(){if(I6)return lC;I6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=a.inherit(a.QUOTE_STRING_MODE,{illegal:null}),o={className:"params",begin:/\(/,end:/\)/,contains:["self",a.C_NUMBER_MODE,i]},s=a.COMMENT(/--/,/$/),l=a.COMMENT(/\(\*/,/\*\)/,{contains:["self",s]}),u=[s,l,a.HASH_COMMENT_MODE],d=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],p=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[i,a.C_NUMBER_MODE,{className:"built_in",begin:t(/\b/,n(...p),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t(/\b/,n(...d),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[a.UNDERSCORE_TITLE_MODE,o]},...u],illegal:/\/\/|->|=>|\[\[/}}return lC=r,lC}var cC,O6;function y8e(){if(O6)return cC;O6=1;function e(t){const n="[A-Za-z_][0-9A-Za-z_]*",r={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},a={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},i={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:t.C_NUMBER_RE}],relevance:0},o={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},s={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,o]};o.contains=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,s,i,t.REGEXP_MODE];const l=o.contains.concat([t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",keywords:r,contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,s,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,{begin:/[{,]\s*/,relevance:0,contains:[{begin:n+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:n,relevance:0}]}]},{begin:"("+t.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:l}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[t.inherit(t.TITLE_MODE,{begin:n}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:l}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return cC=e,cC}var uC,N6;function C8e(){if(N6)return uC;N6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(o){const s=o.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),l="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",p="("+l+"|"+n(u)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",f={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},g={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[o.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},o.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},o.inherit(g,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},s,o.C_BLOCK_COMMENT_MODE]},S={className:"title",begin:n(u)+o.IDENT_RE,relevance:0},_=n(u)+o.IDENT_RE+"\\s*\\(",y={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},C={className:"function.dispatch",relevance:0,keywords:y,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,o.IDENT_RE,t(/\s*\(/))},T=[C,v,f,s,o.C_BLOCK_COMMENT_MODE,h,g],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:T.concat([{begin:/\(/,end:/\)/,keywords:y,contains:T.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+p+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:l,keywords:y,relevance:0},{begin:_,returnBegin:!0,contains:[S],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[g,h]},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[s,o.C_BLOCK_COMMENT_MODE,g,h,f,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",s,o.C_BLOCK_COMMENT_MODE,g,h,f]}]},f,s,o.C_BLOCK_COMMENT_MODE,v]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",f]},{begin:o.IDENT_RE+"::",keywords:y},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},o.TITLE_MODE]}]),exports:{preprocessor:v,strings:g,keywords:y}}}function i(o){const s={keyword:"boolean byte word String",built_in:"KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD ",_:"setup loop runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",literal:"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW"},l=a(o),u=l.keywords;return u.keyword+=" "+s.keyword,u.literal+=" "+s.literal,u.built_in+=" "+s.built_in,u._+=" "+s._,l.name="Arduino",l.aliases=["ino"],l.supersetOf="cpp",l}return uC=i,uC}var dC,A6;function T8e(){if(A6)return dC;A6=1;function e(t){const n={variants:[t.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),t.COMMENT("[;@]","$",{relevance:0}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},n,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return dC=e,dC}var pC,D6;function x8e(){if(D6)return pC;D6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(...o){return"("+o.map(l=>e(l)).join("|")+")"}function i(o){const s=r(/[A-Z_]/,n(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),l=/[A-Za-z0-9._:-]+/,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},d={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},p=o.inherit(d,{begin:/\(/,end:/\)/}),f=o.inherit(o.APOS_STRING_MODE,{className:"meta-string"}),m=o.inherit(o.QUOTE_STRING_MODE,{className:"meta-string"}),g={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[d,m,f,p,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[d,p,m,f]}]}]},o.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[g],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[g],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:r(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:s,relevance:0,starts:g}]},{className:"tag",begin:r(/<\//,t(r(s,/>/))),contains:[{className:"name",begin:s,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return pC=i,pC}var fC,M6;function R8e(){if(M6)return fC;M6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={begin:"^'{3,}[ \\t]*$",relevance:10},i=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],o=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],s=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],l={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},u={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[r.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),r.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},u,l,...i,...o,...s,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},a,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return fC=n,fC}var mC,L6;function w8e(){if(L6)return mC;L6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",i="get set args call";return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[r.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},r.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a+" "+i,excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},r.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[r.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a+" "+i,relevance:0},r.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:t(r.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[r.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,r.C_NUMBER_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]},r.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return mC=n,mC}var gC,k6;function I8e(){if(k6)return gC;k6=1;function e(t){const n={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[n,t.inherit(t.QUOTE_STRING_MODE,{contains:[n]}),t.COMMENT(";","$",{relevance:0}),t.C_BLOCK_COMMENT_MODE,{className:"number",begin:t.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return gC=e,gC}var hC,P6;function O8e(){if(P6)return hC;P6=1;function e(t){const n="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",r=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],a="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#cs","#ce"),t.COMMENT("#comments-start","#comments-end")]},s={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},u={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},d={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":r},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[l,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,o]},p={className:"symbol",begin:"@[A-z0-9_]+"},f={className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[s,l,u]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:n,built_in:i,literal:a},contains:[o,s,l,u,d,p,f]}}return hC=e,hC}var vC,$6;function N8e(){if($6)return vC;$6=1;function e(t){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+t.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),t.C_NUMBER_MODE,t.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return vC=e,vC}var _C,F6;function A8e(){if(F6)return _C;F6=1;function e(t){const n={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},r="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",a={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:r},contains:[n,a,t.REGEXP_MODE,t.HASH_COMMENT_MODE,t.NUMBER_MODE]}}return _C=e,_C}var bC,B6;function D8e(){if(B6)return bC;B6=1;function e(t){return{name:"X++",aliases:["x++"],keywords:{keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]}]}}return bC=e,bC}var SC,U6;function M8e(){if(U6)return SC;U6=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[r.BACKSLASH_ESCAPE]},s={begin:/<<-?\s*(?=\w+)/,starts:{contains:[r.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[r.BACKSLASH_ESCAPE,a,o]};o.contains.push(l);const u={className:"",begin:/\\"/},d={className:"string",begin:/'/,end:/'/},p={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},r.NUMBER_MODE,a]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],m=r.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[m,r.SHEBANG(),g,p,r.HASH_COMMENT_MODE,s,l,u,d,a]}}return SC=n,SC}var EC,j6;function L8e(){if(j6)return EC;j6=1;function e(t){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[t.QUOTE_STRING_MODE,t.COMMENT("REM","$",{relevance:10}),t.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return EC=e,EC}var yC,z6;function k8e(){if(z6)return yC;z6=1;function e(t){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]}]}}return yC=e,yC}var CC,H6;function P8e(){if(H6)return CC;H6=1;function e(t){const n={className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[t.COMMENT(`[^\\[\\]\\.,\\+\\-<> \r -]`,`[\\[\\]\\.,\\+\\-<> \r -]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[n]},n]}}return CC=e,CC}var TC,G6;function $8e(){if(G6)return TC;G6=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(?=",o,")")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(o){const s=o.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),l="decltype\\(auto\\)",u="[a-zA-Z_]\\w*::",p="("+l+"|"+n(u)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",f={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},g={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[o.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},o.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},h={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},v={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},o.inherit(g,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},s,o.C_BLOCK_COMMENT_MODE]},S={className:"title",begin:n(u)+o.IDENT_RE,relevance:0},_=n(u)+o.IDENT_RE+"\\s*\\(",y={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},C={className:"function.dispatch",relevance:0,keywords:y,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,o.IDENT_RE,t(/\s*\(/))},T=[C,v,f,s,o.C_BLOCK_COMMENT_MODE,h,g],x={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:y,contains:T.concat([{begin:/\(/,end:/\)/,keywords:y,contains:T.concat(["self"]),relevance:0}]),relevance:0},R={className:"function",begin:"("+p+"[\\*&\\s]+)+"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:y,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:l,keywords:y,relevance:0},{begin:_,returnBegin:!0,contains:[S],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[g,h]},{className:"params",begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:[s,o.C_BLOCK_COMMENT_MODE,g,h,f,{begin:/\(/,end:/\)/,keywords:y,relevance:0,contains:["self",s,o.C_BLOCK_COMMENT_MODE,g,h,f]}]},f,s,o.C_BLOCK_COMMENT_MODE,v]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:y,illegal:"",keywords:y,contains:["self",f]},{begin:o.IDENT_RE+"::",keywords:y},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},o.TITLE_MODE]}]),exports:{preprocessor:v,strings:g,keywords:y}}}function i(o){const s=a(o),l=["c","h"],u=["cc","c++","h++","hpp","hh","hxx","cxx"];return s.disableAutodetect=!0,s.aliases=[],o.getLanguage("c")||s.aliases.push(...l),o.getLanguage("cpp")||s.aliases.push(...u),s}return TC=i,TC}var xC,V6;function F8e(){if(V6)return xC;V6=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")?")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=a.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),o="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",u="("+o+"|"+t(s)+"[a-zA-Z_]\\w*"+t("<[^<>]+>")+")",d={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},f={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[a.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},a.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},m={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},g={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},a.inherit(f,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},i,a.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t(s)+a.IDENT_RE,relevance:0},v=t(s)+a.IDENT_RE+"\\s*\\(",S={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},_=[g,d,i,a.C_BLOCK_COMMENT_MODE,m,f],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:S,contains:_.concat([{begin:/\(/,end:/\)/,keywords:S,contains:_.concat(["self"]),relevance:0}]),relevance:0},y={className:"function",begin:"("+u+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:S,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:o,keywords:S,relevance:0},{begin:v,returnBegin:!0,contains:[h],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:[i,a.C_BLOCK_COMMENT_MODE,f,m,d,{begin:/\(/,end:/\)/,keywords:S,relevance:0,contains:["self",i,a.C_BLOCK_COMMENT_MODE,f,m,d]}]},d,i,a.C_BLOCK_COMMENT_MODE,g]};return{name:"C",aliases:["h"],keywords:S,disableAutodetect:!0,illegal:"",keywords:S,contains:["self",d]},{begin:a.IDENT_RE+"::",keywords:S},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},a.TITLE_MODE]}]),exports:{preprocessor:g,strings:f,keywords:S}}}return xC=r,xC}var RC,q6;function B8e(){if(q6)return RC;q6=1;function e(t){const n="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",r="false true",a=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},l={className:"string",begin:'"',end:'"'},u={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[i,o]}].concat(a)},d={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[t.TITLE_MODE,u]};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:r},illegal:/\/\*/,contains:[i,o,s,l,t.NUMBER_MODE,d,u]}}return RC=e,RC}var wC,W6;function U8e(){if(W6)return wC;W6=1;function e(t){return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}return wC=e,wC}var IC,Y6;function j8e(){if(Y6)return IC;Y6=1;function e(t){const n="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",r="shared abstract formal default actual variable late native deprecated final sealed annotation suppressWarnings small",a="doc by license see throws tagged",i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:n,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:n+" "+r,meta:a},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[t.C_LINE_COMMENT_MODE,t.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}return IC=e,IC}var OC,K6;function z8e(){if(K6)return OC;K6=1;function e(t){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",built_in:"Int Real Char Bool",literal:"True False"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return OC=e,OC}var NC,X6;function H8e(){if(X6)return NC;X6=1;function e(t){const n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",a="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:r,"builtin-name":a+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o="[-+]?\\d+(\\.\\d+)?",s={begin:r,relevance:0},l={className:"number",begin:o,relevance:0},u=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),d=t.COMMENT(";","$",{relevance:0}),p={className:"literal",begin:/\b(true|false|nil)\b/},f={begin:"[\\[\\{]",end:"[\\]\\}]"},m={className:"comment",begin:"\\^"+r},g=t.COMMENT("\\^\\{","\\}"),h={className:"symbol",begin:"[:]{1,2}"+r},v={begin:"\\(",end:"\\)"},S={endsWithParent:!0,relevance:0},_={keywords:i,className:"name",begin:r,relevance:0,starts:S},E=[v,u,m,g,d,h,f,l,p,s],y={beginKeywords:a,lexemes:r,end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:r,relevance:0,excludeEnd:!0,endsParent:!0}].concat(E)};return v.contains=[t.COMMENT("comment",""),y,_,S],S.contains=E,f.contains=E,g.contains=[f],{name:"Clojure",aliases:["clj"],illegal:/\S/,contains:[v,u,m,g,d,h,f,l,p]}}return NC=e,NC}var AC,Q6;function G8e(){if(Q6)return AC;Q6=1;function e(t){return{name:"Clojure REPL",contains:[{className:"meta",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return AC=e,AC}var DC,Z6;function V8e(){if(Z6)return DC;Z6=1;function e(t){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while 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 build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group 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 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 build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE]}}return DC=e,DC}var MC,J6;function q8e(){if(J6)return MC;J6=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],r=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(a,i,n,r);function s(l){const u=["npm","print"],d=["yes","no","on","off"],p=["then","unless","until","loop","by","when","and","or","is","isnt","not"],f=["var","const","let","function","static"],m=C=>T=>!C.includes(T),g={keyword:e.concat(p).filter(m(f)),literal:t.concat(d),built_in:o.concat(u)},h="[A-Za-z$_][0-9A-Za-z$_]*",v={className:"subst",begin:/#\{/,end:/\}/,keywords:g},S=[l.BINARY_NUMBER_MODE,l.inherit(l.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[l.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,v]},{begin:/"/,end:/"/,contains:[l.BACKSLASH_ESCAPE,v]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[v,l.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+h},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];v.contains=S;const _=l.inherit(l.TITLE_MODE,{begin:h}),E="(\\(.*\\)\\s*)?\\B[-=]>",y={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:g,contains:["self"].concat(S)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:g,illegal:/\/\*/,contains:S.concat([l.COMMENT("###","###"),l.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+h+"\\s*=\\s*"+E,end:"[-=]>",returnBegin:!0,contains:[_,y]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:E,end:"[-=]>",returnBegin:!0,contains:[y]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[_]},_]},{begin:h+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return MC=s,MC}var LC,e8;function W8e(){if(e8)return LC;e8=1;function e(t){return{name:"Coq",keywords:{keyword:"_|0 as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent Derive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[t.QUOTE_STRING_MODE,t.COMMENT("\\(\\*","\\*\\)"),t.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return LC=e,LC}var kC,t8;function Y8e(){if(t8)return kC;t8=1;function e(t){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return kC=e,kC}var PC,n8;function K8e(){if(n8)return PC;n8=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(i){return r("(?=",i,")")}function n(i){return r("(",i,")?")}function r(...i){return i.map(s=>e(s)).join("")}function a(i){const o=i.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),s="decltype\\(auto\\)",l="[a-zA-Z_]\\w*::",d="("+s+"|"+n(l)+"[a-zA-Z_]\\w*"+n("<[^<>]+>")+")",p={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},m={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},i.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},g={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},i.inherit(m,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},o,i.C_BLOCK_COMMENT_MODE]},v={className:"title",begin:n(l)+i.IDENT_RE,relevance:0},S=n(l)+i.IDENT_RE+"\\s*\\(",E={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},y={className:"function.dispatch",relevance:0,keywords:E,begin:r(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,i.IDENT_RE,t(/\s*\(/))},C=[y,h,p,o,i.C_BLOCK_COMMENT_MODE,g,m],T={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:E,contains:C.concat([{begin:/\(/,end:/\)/,keywords:E,contains:C.concat(["self"]),relevance:0}]),relevance:0},x={className:"function",begin:"("+d+"[\\*&\\s]+)+"+S,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:E,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:s,keywords:E,relevance:0},{begin:S,returnBegin:!0,contains:[v],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[m,g]},{className:"params",begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:[o,i.C_BLOCK_COMMENT_MODE,m,g,p,{begin:/\(/,end:/\)/,keywords:E,relevance:0,contains:["self",o,i.C_BLOCK_COMMENT_MODE,m,g,p]}]},p,o,i.C_BLOCK_COMMENT_MODE,h]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:E,illegal:"",keywords:E,contains:["self",p]},{begin:i.IDENT_RE+"::",keywords:E},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},i.TITLE_MODE]}]),exports:{preprocessor:h,strings:m,keywords:E}}}return PC=a,PC}var $C,r8;function X8e(){if(r8)return $C;r8=1;function e(t){const n="primitive rsc_template",r="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[t.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:n,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+r.split(" ").join("|")+")\\s+",keywords:r,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},t.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return $C=e,$C}var FC,a8;function Q8e(){if(a8)return FC;a8=1;function e(t){const n="(_?[ui](8|16|32|64|128))?",r="(_?f(32|64))?",a="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",s={$pattern:a,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:s},u={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:s};function d(S,_){const E=[{begin:S,end:_}];return E[0].contains=E,E}const p={className:"string",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:d("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},f={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%q<",end:">",contains:d("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},m={begin:"(?!%\\})("+t.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[t.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%r<",end:">",contains:d("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},h={className:"meta",begin:"@\\[",end:"\\]",contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"meta-string"})]},v=[u,p,f,g,m,h,t.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[t.HASH_COMMENT_MODE,t.inherit(t.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[p,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+n},{begin:"\\b0o([0-7_]+)"+n},{begin:"\\b0x([A-Fa-f0-9_]+)"+n},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+r+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+n}],relevance:0}];return l.contains=v,u.contains=v.slice(1),{name:"Crystal",aliases:["cr"],keywords:s,contains:v}}return FC=e,FC}var BC,i8;function Z8e(){if(i8)return BC;i8=1;function e(t){const n=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],i=["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(o),built_in:n,literal:a},l=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},p=t.inherit(d,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:s},m=t.inherit(f,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,m]},h={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},v=t.inherit(h,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});f.contains=[h,g,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,u,t.C_BLOCK_COMMENT_MODE],m.contains=[v,g,p,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,u,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const S={variants:[h,g,d,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},_={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},E=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",y={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},S,u,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,_,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,_,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+E+"\\s+)+"+t.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,_],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[S,u,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},y]}}return BC=e,BC}var UC,o8;function J8e(){if(o8)return UC;o8=1;function e(t){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return UC=e,UC}var jC,s8;function e5e(){if(s8)return jC;s8=1;const e=d=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(d){return d?typeof d=="string"?d:d.source:null}function s(d){return l("(?=",d,")")}function l(...d){return d.map(f=>o(f)).join("")}function u(d){const p=e(d),f={className:"built_in",begin:/[\w-]+(?=\()/},m={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},g="and or not only",h=/@-?\w[\w]*(-\w+)*/,v="[a-zA-Z-][a-zA-Z0-9_-]*",S=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.C_BLOCK_COMMENT_MODE,m,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+v,relevance:0},p.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+r.join("|")+")"},{begin:"::("+a.join("|")+")"}]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[p.HEXCOLOR,p.IMPORTANT,d.CSS_NUMBER_MODE,...S,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},f]},{begin:s(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:h},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:g,attribute:n.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...S,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+t.join("|")+")\\b"}]}}return jC=u,jC}var zC,l8;function t5e(){if(l8)return zC;l8=1;function e(t){const n={$pattern:t.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},r="(0|[1-9][\\d_]*)",a="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",s="0[xX]"+o,l="([eE][+-]?"+a+")",u="("+a+"(\\.\\d*|"+l+")|\\d+\\."+a+"|\\."+r+l+"?)",d="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+a+")",p="("+r+"|"+i+"|"+s+")",f="("+d+"|"+u+")",m=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,g={className:"number",begin:"\\b"+p+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},h={className:"number",begin:"\\b("+f+"([fF]|L|i|[fF]i|Li)?|"+p+"(i|[fF]i|Li))",relevance:0},v={className:"string",begin:"'("+m+"|.)",end:"'",illegal:"."},_={className:"string",begin:'"',contains:[{begin:m,relevance:0}],end:'"[cwd]?'},E={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},y={className:"string",begin:"`",end:"`[cwd]?"},C={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},T={className:"string",begin:'q"\\{',end:'\\}"'},x={className:"meta",begin:"^#!",end:"$",relevance:5},R={className:"meta",begin:"#(line)",end:"$",relevance:5},w={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},I=t.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:n,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,I,C,_,E,y,T,h,g,v,x,R,w]}}return zC=e,zC}var HC,c8;function n5e(){if(c8)return HC;c8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},i={begin:"^[-\\*]{3,}",end:"$"},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},l={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.+?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},p={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},f={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};p.contains.push(f),f.contains.push(p);let m=[a,d];return p.contains=p.contains.concat(m),f.contains=f.contains.concat(m),m=m.concat(p,f),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},a,s,p,f,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},o,i,d,l]}}return HC=n,HC}var GC,u8;function r5e(){if(u8)return GC;u8=1;function e(t){const n={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},r={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},a={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:'"""',end:'"""',contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,n,r]},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,n,r]}]};r.contains=[t.C_NUMBER_MODE,a];const i=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=i.map(l=>`${l}?`);return{name:"Dart",keywords:{keyword:"abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is late library mixin new null on operator part required rethrow return set show static super switch sync this throw true try typedef var void while with yield",built_in:i.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[a,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),t.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},t.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return GC=e,GC}var VC,d8;function a5e(){if(d8)return VC;d8=1;function e(t){const n="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",r=[t.C_LINE_COMMENT_MODE,t.COMMENT(/\{/,/\}/,{relevance:0}),t.COMMENT(/\(\*/,/\*\)/,{relevance:10})],a={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},s={className:"string",begin:/(#\d+)+/},l={begin:t.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[t.TITLE_MODE]},u={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[i,s,a].concat(r)},a].concat(r)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:!0,keywords:n,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,s,t.NUMBER_MODE,o,l,u,a].concat(r)}}return VC=e,VC}var qC,p8;function i5e(){if(p8)return qC;p8=1;function e(t){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return qC=e,qC}var WC,f8;function o5e(){if(f8)return WC;f8=1;function e(t){const n={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[n],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[n]}]}}return WC=e,WC}var YC,m8;function s5e(){if(m8)return YC;m8=1;function e(t){return{name:"DNS Zone",aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},t.inherit(t.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return YC=e,YC}var KC,g8;function l5e(){if(g8)return KC;g8=1;function e(t){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[t.HASH_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},n,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"meta-keyword",begin:"/[a-z][a-z\\d-]*/"},s={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",begin:"<",end:">",contains:[r,i]},u={className:"class",begin:/[a-zA-Z_][a-zA-Z\d_@]*\s\{/,end:/[{;=]/,returnBegin:!0,excludeEnd:!0};return{name:"Device Tree",keywords:"",contains:[{className:"class",begin:"/\\s*\\{",end:/\};/,relevance:10,contains:[i,o,s,u,l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,n]},i,o,s,u,l,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,n,a,{begin:t.IDENT_RE+"::",keywords:""}]}}return ZC=e,ZC}var JC,b8;function p5e(){if(b8)return JC;b8=1;function e(t){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[t.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return JC=e,JC}var e0,S8;function f5e(){if(S8)return e0;S8=1;function e(t){const n=t.COMMENT(/\(\*/,/\*\)/),r={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[n,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[n,r,i]}}return e0=e,e0}var t0,E8;function m5e(){if(E8)return t0;E8=1;function e(t){const n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",a={$pattern:n,keyword:"and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0"},i={className:"subst",begin:/#\{/,end:/\}/,keywords:a},o={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},s=`[/|([{<"']`,l={className:"string",begin:"~[a-z](?="+s+")",contains:[{endsParent:!0,contains:[{contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}]}]}]},u={className:"string",begin:"~[A-Z](?="+s+")",contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}]},d={className:"string",contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},p={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[t.inherit(t.TITLE_MODE,{begin:n,endsParent:!0})]},f=t.inherit(p,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),m=[d,u,l,t.HASH_COMMENT_MODE,f,p,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[d,{begin:r}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},o,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"},{begin:"->"},{begin:"("+t.RE_STARTERS_RE+")\\s*",contains:[t.HASH_COMMENT_MODE,{begin:/\/: (?=\d+\s*[,\]])/,relevance:0,contains:[o]},{className:"regexp",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,i],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return i.contains=m,{name:"Elixir",keywords:a,contains:m}}return t0=e,t0}var n0,y8;function g5e(){if(y8)return n0;y8=1;function e(t){const n={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},n]},i={begin:/\{/,end:/\}/,contains:a.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[a,n],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[a,n],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[r,a,i,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,n]},{begin:"port",end:"$",keywords:"port",contains:[n]},o,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,r,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}],illegal:/;/}}return n0=e,n0}var r0,C8;function h5e(){if(C8)return r0;C8=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",o={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},s={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},u=[a.COMMENT("#","$",{contains:[s]}),a.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),a.COMMENT("^__END__","\\n$")],d={className:"subst",begin:/#\{/,end:/\}/,keywords:o},p={className:"string",contains:[a.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:/<<[-~]?'?(\w+)\n(?:[^\n]*\n)*?\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},a.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[a.BACKSLASH_ESCAPE,d]})]}]},f="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${f})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},h={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:o},v=[p,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[a.inherit(a.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+a.IDENT_RE+"::)?"+a.IDENT_RE,relevance:0}]}].concat(u)},{className:"function",begin:n(/def\s+/,t(i+"\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[a.inherit(a.TITLE_MODE,{begin:i}),h].concat(u)},{begin:a.IDENT_RE+"::"},{className:"symbol",begin:a.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[p,{begin:i}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:o},{begin:"("+a.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[a.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,u),relevance:0}].concat(l,u);d.contains=v,h.contains=v;const y=[{begin:/^\s*=>/,starts:{end:"$",contains:v}},{className:"meta",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+>"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",contains:v}}];return u.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[a.SHEBANG({binary:"ruby"})].concat(y).concat(u).concat(v)}}return r0=r,r0}var a0,T8;function v5e(){if(T8)return a0;T8=1;function e(t){return{name:"ERB",subLanguage:"xml",contains:[t.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return a0=e,a0}var i0,x8;function _5e(){if(x8)return i0;x8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},r.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{begin:t(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return i0=n,i0}var o0,R8;function b5e(){if(R8)return o0;R8=1;function e(t){const n="[a-z'][a-zA-Z0-9_']*",r="("+n+":"+n+"|"+n+")",a={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=t.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},s={begin:"fun\\s+"+n+"/\\d+"},l={begin:r+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:r,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},u={begin:/\{/,end:/\}/,relevance:0},d={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},p={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},f={begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+t.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},m={beginKeywords:"fun receive if try case",end:"end",keywords:a};m.contains=[i,s,t.inherit(t.APOS_STRING_MODE,{className:""}),m,l,t.QUOTE_STRING_MODE,o,u,d,p,f];const g=[i,s,m,l,t.QUOTE_STRING_MODE,o,u,d,p,f];l.contains[1].contains=g,u.contains=g,f.contains[1].contains=g;const h=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],v={className:"params",begin:"\\(",end:"\\)",contains:g};return{name:"Erlang",aliases:["erl"],keywords:a,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[v,t.inherit(t.TITLE_MODE,{begin:n})],starts:{end:";|\\.",keywords:a,contains:g}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+t.IDENT_RE,keyword:h.map(S=>`${S}|1.5`).join(" ")},contains:[v]},o,t.QUOTE_STRING_MODE,f,d,p,u,{begin:/\.$/}]}}return o0=e,o0}var s0,w8;function S5e(){if(w8)return s0;w8=1;function e(t){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},t.BACKSLASH_ESCAPE,t.QUOTE_STRING_MODE,{className:"number",begin:t.NUMBER_RE+"(%)?",relevance:0},t.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return s0=e,s0}var l0,I8;function E5e(){if(I8)return l0;I8=1;function e(t){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return l0=e,l0}var c0,O8;function y5e(){if(O8)return c0;O8=1;function e(t){const n={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},r={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,n,r,i,t.C_NUMBER_MODE]}}return c0=e,c0}var u0,N8;function C5e(){if(N8)return u0;N8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={className:"params",begin:"\\(",end:"\\)"},i={variants:[r.COMMENT("!","$",{relevance:0}),r.COMMENT("^C[ ]","$",{relevance:0}),r.COMMENT("^C$","$",{relevance:0})]},o=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,l={className:"number",variants:[{begin:t(/\b\d+/,/\.(\d*)/,s,o)},{begin:t(/\b\d+/,s,o)},{begin:t(/\.\d+/,s,o)}],relevance:0},u={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[r.UNDERSCORE_TITLE_MODE,a]},d={className:"string",relevance:0,variants:[r.APOS_STRING_MODE,r.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{literal:".False. .True.",keyword:"kind do concurrent local shared while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock endassociate public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure impure integer real character complex logical codimension dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image sync change team co_broadcast co_max co_min co_sum co_reduce"},illegal:/\/\*/,contains:[d,u,{begin:/^C\s*=(?!=)/,relevance:0},i,l]}}return u0=n,u0}var d0,A8;function T5e(){if(A8)return d0;A8=1;function e(t){const n={begin:"<",end:">",contains:[t.inherit(t.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{name:"F#",aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},t.COMMENT("\\(\\*(\\s)","\\*\\)",{contains:["self"]}),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[t.UNDERSCORE_TITLE_MODE,n]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[t.BACKSLASH_ESCAPE]},t.C_LINE_COMMENT_MODE,t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),t.C_NUMBER_MODE]}}return d0=e,d0}var p0,D8;function x5e(){if(D8)return p0;D8=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")*")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},o={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},s={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},l={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[a.BACKSLASH_ESCAPE]},u={begin:"/",end:"/",keywords:i,contains:[l,a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_NUMBER_MODE]},d=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,p={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[l,u,{className:"comment",begin:n(d,t(n(/[ ]+/,d))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:i,contains:[a.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,u,p]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[p]},a.COMMENT("^\\*","$"),a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE,a.QUOTE_STRING_MODE,a.APOS_STRING_MODE,a.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},o,s]},a.C_NUMBER_MODE,s]}}return p0=r,p0}var f0,M8;function R5e(){if(M8)return f0;M8=1;function e(t){const n={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},r=t.COMMENT("@","@"),a={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[{className:"meta-string",begin:'"',end:'"',illegal:"\\n"}]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,i]}],s={className:"title",begin:t.UNDERSCORE_IDENT_RE,relevance:0},l=function(m,g,h){const v=t.inherit({className:"function",beginKeywords:m,end:g,excludeEnd:!0,contains:[].concat(o)},{});return v.contains.push(s),v.contains.push(t.C_NUMBER_MODE),v.contains.push(t.C_BLOCK_COMMENT_MODE),v.contains.push(r),v},u={className:"built_in",begin:"\\b("+n.built_in.split(" ").join("|")+")\\b"},d={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE],relevance:0},p={begin:t.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:n,relevance:0,contains:[{beginKeywords:n.keyword},u,{className:"built_in",begin:t.UNDERSCORE_IDENT_RE,relevance:0}]},f={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:n.built_in,literal:n.literal},contains:[t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,r,u,p,d,"self"]};return p.contains.push(f),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:n,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,r,d,a,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE,r,f]},{variants:[{begin:t.UNDERSCORE_IDENT_RE+"\\."+t.UNDERSCORE_IDENT_RE},{begin:t.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},p,i]}}return f0=e,f0}var m0,L8;function w5e(){if(L8)return m0;L8=1;function e(t){const n="[A-Z_][A-Z0-9_.]*",r="%",a={$pattern:n,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},i={className:"meta",begin:"([O])([0-9]+)"},o=t.inherit(t.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+t.C_NUMBER_RE}),s=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(/\(/,/\)/),o,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[o],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:a,contains:[{className:"meta",begin:r},i].concat(s)}}return m0=e,m0}var g0,k8;function I5e(){if(k8)return g0;k8=1;function e(t){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},t.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},t.QUOTE_STRING_MODE]}}return g0=e,g0}var h0,P8;function O5e(){if(P8)return h0;P8=1;function e(t){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return h0=e,h0}var v0,$8;function N5e(){if($8)return v0;$8=1;function e(t){return{name:"GML",case_insensitive:!1,keywords:{keyword:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum function constructor delete #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 is_ptr is_vec3 is_vec4 is_matrix is_bool is_method is_struct is_infinity is_nan is_numeric typeof variable_global_exists variable_global_get variable_global_set variable_instance_exists variable_instance_get variable_instance_set variable_instance_get_names variable_struct_exists variable_struct_get variable_struct_get_names variable_struct_names_count variable_struct_remove variable_struct_set array_delete array_insert array_length array_length_1d array_length_2d array_height_2d array_equals array_create array_copy array_pop array_push array_resize array_sort random random_range irandom irandom_range random_set_seed random_get_seed randomize randomise choose abs round floor ceil sign frac sqrt sqr exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn min max mean median clamp lerp dot_product dot_product_3d dot_product_normalised dot_product_3d_normalised dot_product_normalized dot_product_3d_normalized math_set_epsilon math_get_epsilon angle_difference point_distance_3d point_distance point_direction lengthdir_x lengthdir_y real string int64 ptr string_format chr ansi_char ord string_length string_byte_length string_pos string_copy string_char_at string_ord_at string_byte_at string_set_byte_at string_delete string_insert string_lower string_upper string_repeat string_letters string_digits string_lettersdigits string_replace string_replace_all string_count string_hash_to_newline clipboard_has_text clipboard_set_text clipboard_get_text date_current_datetime date_create_datetime date_valid_datetime date_inc_year date_inc_month date_inc_week date_inc_day date_inc_hour date_inc_minute date_inc_second date_get_year date_get_month date_get_week date_get_day date_get_hour date_get_minute date_get_second date_get_weekday date_get_day_of_year date_get_hour_of_year date_get_minute_of_year date_get_second_of_year date_year_span date_month_span date_week_span date_day_span date_hour_span date_minute_span date_second_span date_compare_datetime date_compare_date date_compare_time date_date_of date_time_of date_datetime_string date_date_string date_time_string date_days_in_month date_days_in_year date_leap_year date_is_today date_set_timezone date_get_timezone game_set_speed game_get_speed motion_set motion_add place_free place_empty place_meeting place_snapped move_random move_snap move_towards_point move_contact_solid move_contact_all move_outside_solid move_outside_all move_bounce_solid move_bounce_all move_wrap distance_to_point distance_to_object position_empty position_meeting path_start path_end mp_linear_step mp_potential_step mp_linear_step_object mp_potential_step_object mp_potential_settings mp_linear_path mp_potential_path mp_linear_path_object mp_potential_path_object mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell mp_grid_add_rectangle mp_grid_add_instances mp_grid_path mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle collision_circle collision_ellipse collision_line collision_point_list collision_rectangle_list collision_circle_list collision_ellipse_list collision_line_list instance_position_list instance_place_list point_in_rectangle point_in_triangle point_in_circle rectangle_in_rectangle rectangle_in_triangle rectangle_in_circle instance_find instance_exists instance_number instance_position instance_nearest instance_furthest instance_place instance_create_depth instance_create_layer instance_copy instance_change instance_destroy position_destroy position_change instance_id_get instance_deactivate_all instance_deactivate_object instance_deactivate_region instance_activate_all instance_activate_object instance_activate_region room_goto room_goto_previous room_goto_next room_previous room_next room_restart game_end game_restart game_load game_save game_save_buffer game_load_buffer event_perform event_user event_perform_object event_inherited show_debug_message show_debug_overlay debug_event debug_get_callstack alarm_get alarm_set font_texture_page_size keyboard_set_map keyboard_get_map keyboard_unset_map keyboard_check keyboard_check_pressed keyboard_check_released keyboard_check_direct keyboard_get_numlock keyboard_set_numlock keyboard_key_press keyboard_key_release keyboard_clear io_clear mouse_check_button mouse_check_button_pressed mouse_check_button_released mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite draw_sprite_pos draw_sprite_ext draw_sprite_stretched draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle draw_roundrect draw_roundrect_ext draw_triangle draw_circle draw_ellipse draw_set_circle_precision draw_arrow draw_button draw_path draw_healthbar draw_getpixel draw_getpixel_ext draw_set_colour draw_set_color draw_set_alpha draw_get_colour draw_get_color draw_get_alpha merge_colour make_colour_rgb make_colour_hsv colour_get_red colour_get_green colour_get_blue colour_get_hue colour_get_saturation colour_get_value merge_color make_color_rgb make_color_hsv color_get_red color_get_green color_get_blue color_get_hue color_get_saturation color_get_value merge_color screen_save screen_save_part draw_set_font draw_set_halign draw_set_valign draw_text draw_text_ext string_width string_height string_width_ext string_height_ext draw_text_transformed draw_text_ext_transformed draw_text_colour draw_text_ext_colour draw_text_transformed_colour draw_text_ext_transformed_colour draw_text_color draw_text_ext_color draw_text_transformed_color draw_text_ext_transformed_color draw_point_colour draw_line_colour draw_line_width_colour draw_rectangle_colour draw_roundrect_colour draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour draw_ellipse_colour draw_point_color draw_line_color draw_line_width_color draw_rectangle_color draw_roundrect_color draw_roundrect_color_ext draw_triangle_color draw_circle_color draw_ellipse_color draw_primitive_begin draw_vertex draw_vertex_colour draw_vertex_color draw_primitive_end sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture texture_get_width texture_get_height texture_get_uvs draw_primitive_begin_texture draw_vertex_texture draw_vertex_texture_colour draw_vertex_texture_color texture_global_scale surface_create surface_create_ext surface_resize surface_free surface_exists surface_get_width surface_get_height surface_get_texture surface_set_target surface_set_target_ext surface_reset_target surface_depth_disable surface_get_depth_disable draw_surface draw_surface_stretched draw_surface_tiled draw_surface_part draw_surface_ext draw_surface_stretched_ext draw_surface_tiled_ext draw_surface_part_ext draw_surface_general surface_getpixel surface_getpixel_ext surface_save surface_save_part surface_copy surface_copy_part application_surface_draw_enable application_get_position application_surface_enable application_surface_is_enabled display_get_width display_get_height display_get_orientation display_get_gui_width display_get_gui_height display_reset display_mouse_get_x display_mouse_get_y display_mouse_set display_set_ui_visibility window_set_fullscreen window_get_fullscreen window_set_caption window_set_min_width window_set_max_width window_set_min_height window_set_max_height window_get_visible_rects window_get_caption window_set_cursor window_get_cursor window_set_colour window_get_colour window_set_color window_get_color window_set_position window_set_size window_set_rectangle window_center window_get_x window_get_y window_get_width window_get_height window_mouse_get_x window_mouse_get_y window_mouse_set window_view_mouse_get_x window_view_mouse_get_y window_views_mouse_get_x window_views_mouse_get_y audio_listener_position audio_listener_velocity audio_listener_orientation audio_emitter_position audio_emitter_create audio_emitter_free audio_emitter_exists audio_emitter_pitch audio_emitter_velocity audio_emitter_falloff audio_emitter_gain audio_play_sound audio_play_sound_on audio_play_sound_at audio_stop_sound audio_resume_music audio_music_is_playing audio_resume_sound audio_pause_sound audio_pause_music audio_channel_num audio_sound_length audio_get_type audio_falloff_set_model audio_play_music audio_stop_music audio_master_gain audio_music_gain audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all audio_pause_all audio_is_playing audio_is_paused audio_exists audio_sound_set_track_position audio_sound_get_track_position audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx audio_emitter_get_vy audio_emitter_get_vz audio_listener_set_position audio_listener_set_velocity audio_listener_set_orientation audio_listener_get_data audio_set_master_gain audio_get_master_gain audio_sound_get_gain audio_sound_get_pitch audio_get_name audio_sound_set_track_position audio_sound_get_track_position audio_create_stream audio_destroy_stream audio_create_sync_group audio_destroy_sync_group audio_play_in_sync_group audio_start_sync_group audio_stop_sync_group audio_pause_sync_group audio_resume_sync_group audio_sync_group_get_track_pos audio_sync_group_debug audio_sync_group_is_playing audio_debug audio_group_load audio_group_unload audio_group_is_loaded audio_group_load_progress audio_group_name audio_group_stop_all audio_group_set_gain audio_create_buffer_sound audio_free_buffer_sound audio_create_play_queue audio_free_play_queue audio_queue_sound audio_get_recorder_count audio_get_recorder_info audio_start_recording audio_stop_recording audio_sound_get_listener_mask audio_emitter_get_listener_mask audio_get_listener_mask audio_sound_set_listener_mask audio_emitter_set_listener_mask audio_set_listener_mask audio_get_listener_count audio_get_listener_info audio_system show_message show_message_async clickable_add clickable_add_ext clickable_change clickable_change_ext clickable_delete clickable_exists clickable_set_style show_question show_question_async get_integer get_string get_integer_async get_string_async get_login_async get_open_filename get_save_filename get_open_filename_ext get_save_filename_ext show_error highscore_clear highscore_add highscore_value highscore_name draw_highscore sprite_exists sprite_get_name sprite_get_number sprite_get_width sprite_get_height sprite_get_xoffset sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right sprite_get_bbox_top sprite_get_bbox_bottom sprite_save sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush sprite_flush_multi sprite_set_speed sprite_get_speed_type sprite_get_speed font_exists font_get_name font_get_fontname font_get_bold font_get_italic font_get_first font_get_last font_get_size font_set_cache_size path_exists path_get_name path_get_length path_get_time path_get_kind path_get_closed path_get_precision path_get_number path_get_point_x path_get_point_y path_get_point_speed path_get_x path_get_y path_get_speed script_exists script_get_name timeline_add timeline_delete timeline_clear timeline_exists timeline_get_name timeline_moment_clear timeline_moment_add_script timeline_size timeline_max_moment object_exists object_get_name object_get_sprite object_get_solid object_get_visible object_get_persistent object_get_mask object_get_parent object_get_physics object_is_ancestor room_exists room_get_name sprite_set_offset sprite_duplicate sprite_assign sprite_merge sprite_add sprite_replace sprite_create_from_surface sprite_add_from_surface sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite font_add_sprite_ext font_replace font_replace_sprite font_replace_sprite_ext font_delete path_set_kind path_set_closed path_set_precision path_add path_assign path_duplicate path_append path_delete path_add_point path_insert_point path_change_point path_delete_point path_clear_points path_reverse path_mirror path_flip path_rotate path_rescale path_shift script_execute object_set_sprite object_set_solid object_set_visible object_set_persistent object_set_mask room_set_width room_set_height room_set_persistent room_set_background_colour room_set_background_color room_set_view room_set_viewport room_get_viewport room_set_view_enabled room_add room_duplicate room_assign room_instance_add room_instance_clear room_get_camera room_set_camera asset_get_index asset_get_type file_text_open_from_string file_text_open_read file_text_open_write file_text_open_append file_text_close file_text_write_string file_text_write_real file_text_writeln file_text_read_string file_text_read_real file_text_readln file_text_eof file_text_eoln file_exists file_delete file_rename file_copy directory_exists directory_create directory_destroy file_find_first file_find_next file_find_close file_attributes filename_name filename_path filename_dir filename_drive filename_ext filename_change_ext file_bin_open file_bin_rewrite file_bin_close file_bin_position file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte parameter_count parameter_string environment_get_variable ini_open_from_string ini_open ini_close ini_read_string ini_read_real ini_write_string ini_write_real ini_key_exists ini_section_exists ini_key_delete ini_section_delete ds_set_precision ds_exists ds_stack_create ds_stack_destroy ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ds_list_create ds_list_destroy ds_list_clear ds_list_copy ds_list_size ds_list_empty ds_list_add ds_list_insert ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ds_map_find_value ds_map_find_previous ds_map_find_next ds_map_find_first ds_map_find_last ds_map_write ds_map_read ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ds_map_secure_save_buffer ds_map_set ds_priority_create ds_priority_destroy ds_priority_clear ds_priority_copy ds_priority_size ds_priority_empty ds_priority_add ds_priority_change_priority ds_priority_find_priority ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ds_priority_delete_max ds_priority_find_max ds_priority_write ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ds_grid_sort ds_grid_set ds_grid_get effect_create_below effect_create_above effect_clear part_type_create part_type_destroy part_type_exists part_type_clear part_type_shape part_type_sprite part_type_size part_type_scale part_type_orientation part_type_life part_type_step part_type_death part_type_speed part_type_direction part_type_gravity part_type_colour1 part_type_colour2 part_type_colour3 part_type_colour_mix part_type_colour_rgb part_type_colour_hsv part_type_color1 part_type_color2 part_type_color3 part_type_color_mix part_type_color_rgb part_type_color_hsv part_type_alpha1 part_type_alpha2 part_type_alpha3 part_type_blend part_system_create part_system_create_layer part_system_destroy part_system_exists part_system_clear part_system_draw_order part_system_depth part_system_position part_system_automatic_update part_system_automatic_draw part_system_update part_system_drawit part_system_get_layer part_system_layer part_particles_create part_particles_create_colour part_particles_create_color part_particles_clear part_particles_count part_emitter_create part_emitter_destroy part_emitter_destroy_all part_emitter_exists part_emitter_clear part_emitter_region part_emitter_burst part_emitter_stream external_call external_define external_free window_handle window_device matrix_get matrix_set matrix_build_identity matrix_build matrix_build_lookat matrix_build_projection_ortho matrix_build_projection_perspective matrix_build_projection_perspective_fov matrix_multiply matrix_transform_vertex matrix_stack_push matrix_stack_pop matrix_stack_multiply matrix_stack_set matrix_stack_clear matrix_stack_top matrix_stack_is_empty browser_input_capture os_get_config os_get_info os_get_language os_get_region os_lock_orientation display_get_dpi_x display_get_dpi_y display_set_gui_size display_set_gui_maximise display_set_gui_maximize device_mouse_dbclick_enable display_set_timing_method display_get_timing_method display_set_sleep_margin display_get_sleep_margin virtual_key_add virtual_key_hide virtual_key_delete virtual_key_show draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level draw_get_swf_aa_level draw_texture_flush draw_flush gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable gpu_set_colourwriteenable gpu_set_alphatestenable gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat gpu_set_tex_repeat_ext gpu_set_tex_mip_filter gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src gpu_get_blendmode_dest gpu_get_blendmode_srcalpha gpu_get_blendmode_destalpha gpu_get_colorwriteenable gpu_get_colourwriteenable gpu_get_alphatestenable gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat gpu_get_tex_repeat_ext gpu_get_tex_mip_filter gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state gpu_get_state gpu_set_state draw_light_define_ambient draw_light_define_direction draw_light_define_point draw_light_enable draw_set_lighting draw_light_get_ambient draw_light_get draw_get_lighting shop_leave_rating url_get_domain url_open url_open_ext url_open_full get_timer achievement_login achievement_logout achievement_post achievement_increment achievement_post_score achievement_available achievement_show_achievements achievement_show_leaderboards achievement_load_friends achievement_load_leaderboard achievement_send_challenge achievement_load_progress achievement_reset achievement_login_status achievement_get_pic achievement_show_challenge_notifications achievement_get_challenges achievement_event achievement_show achievement_get_info cloud_file_save cloud_string_save cloud_synchronise ads_enable ads_disable ads_setup ads_engagement_launch ads_engagement_available ads_engagement_active ads_event ads_event_preload ads_set_reward_callback ads_get_display_height ads_get_display_width ads_move ads_interstitial_available ads_interstitial_display device_get_tilt_x device_get_tilt_y device_get_tilt_z device_is_keypad_open device_mouse_check_button device_mouse_check_button_pressed device_mouse_check_button_released device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status iap_enumerate_products iap_restore_all iap_acquire iap_consume iap_product_details iap_purchase_details facebook_init facebook_login facebook_status facebook_graph_request facebook_dialog facebook_logout facebook_launch_offerwall facebook_post_message facebook_send_invite facebook_user_id facebook_accesstoken facebook_check_permission facebook_request_read_permissions facebook_request_publish_permissions gamepad_is_supported gamepad_get_device_count gamepad_is_connected gamepad_get_description gamepad_get_button_threshold gamepad_set_button_threshold gamepad_get_axis_deadzone gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check gamepad_button_check_pressed gamepad_button_check_released gamepad_button_value gamepad_axis_count gamepad_axis_value gamepad_set_vibration gamepad_set_colour gamepad_set_color os_is_paused window_has_focus code_is_compiled http_get http_get_file http_post_string http_request json_encode json_decode zip_unzip load_csv base64_encode base64_decode md5_string_unicode md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode sha1_string_utf8 sha1_file os_powersave_enable analytics_event analytics_event_ext win8_livetile_tile_notification win8_livetile_tile_clear win8_livetile_badge_notification win8_livetile_badge_clear win8_livetile_queue_enable win8_secondarytile_pin win8_secondarytile_badge_notification win8_secondarytile_delete win8_livetile_notification_begin win8_livetile_notification_secondary_begin win8_livetile_notification_expiry win8_livetile_notification_tag win8_livetile_notification_text_add win8_livetile_notification_image_add win8_livetile_notification_end win8_appbar_enable win8_appbar_add_element win8_appbar_remove_element win8_settingscharm_add_entry win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry win8_settingscharm_set_xaml_property win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry win8_share_image win8_share_screenshot win8_share_file win8_share_url win8_share_text win8_search_enable win8_search_disable win8_search_add_suggestions win8_device_touchscreen_available win8_license_initialize_sandbox win8_license_trial_version winphone_license_trial_version winphone_tile_title winphone_tile_count winphone_tile_back_title winphone_tile_back_content winphone_tile_back_content_wide winphone_tile_front_image winphone_tile_front_image_small winphone_tile_front_image_wide winphone_tile_back_image winphone_tile_back_image_wide winphone_tile_background_colour winphone_tile_background_color winphone_tile_icon_image winphone_tile_small_icon_image winphone_tile_wide_content winphone_tile_cycle_images winphone_tile_small_background_image physics_world_create physics_world_gravity physics_world_update_speed physics_world_update_iterations physics_world_draw_debug physics_pause_enable physics_fixture_create physics_fixture_set_kinematic physics_fixture_set_density physics_fixture_set_awake physics_fixture_set_restitution physics_fixture_set_friction physics_fixture_set_collision_group physics_fixture_set_sensor physics_fixture_set_linear_damping physics_fixture_set_angular_damping physics_fixture_set_circle_shape physics_fixture_set_box_shape physics_fixture_set_edge_shape physics_fixture_set_polygon_shape physics_fixture_set_chain_shape physics_fixture_add_point physics_fixture_bind physics_fixture_bind_ext physics_fixture_delete physics_apply_force physics_apply_impulse physics_apply_angular_impulse physics_apply_local_force physics_apply_local_impulse physics_apply_torque physics_mass_properties physics_draw_debug physics_test_overlap physics_remove_fixture physics_set_friction physics_set_density physics_set_restitution physics_get_friction physics_get_density physics_get_restitution physics_joint_distance_create physics_joint_rope_create physics_joint_revolute_create physics_joint_prismatic_create physics_joint_pulley_create physics_joint_wheel_create physics_joint_weld_create physics_joint_friction_create physics_joint_gear_create physics_joint_enable_motor physics_joint_get_value physics_joint_set_value physics_joint_delete physics_particle_create physics_particle_delete physics_particle_delete_region_circle physics_particle_delete_region_box physics_particle_delete_region_poly physics_particle_set_flags physics_particle_set_category_flags physics_particle_draw physics_particle_draw_ext physics_particle_count physics_particle_get_data physics_particle_get_data_particle physics_particle_group_begin physics_particle_group_circle physics_particle_group_box physics_particle_group_polygon physics_particle_group_add_point physics_particle_group_end physics_particle_group_join physics_particle_group_delete physics_particle_group_count physics_particle_group_get_data physics_particle_group_get_mass physics_particle_group_get_inertia physics_particle_group_get_centre_x physics_particle_group_get_centre_y physics_particle_group_get_vel_x physics_particle_group_get_vel_y physics_particle_group_get_ang_vel physics_particle_group_get_x physics_particle_group_get_y physics_particle_group_get_angle physics_particle_set_group_flags physics_particle_get_group_flags physics_particle_get_max_count physics_particle_get_radius physics_particle_get_density physics_particle_get_damping physics_particle_get_gravity_scale physics_particle_set_max_count physics_particle_set_radius physics_particle_set_density physics_particle_set_damping physics_particle_set_gravity_scale network_create_socket network_create_socket_ext network_create_server network_create_server_raw network_connect network_connect_raw network_send_packet network_send_raw network_send_broadcast network_send_udp network_send_udp_raw network_set_timeout network_set_config network_resolve network_destroy buffer_create buffer_write buffer_read buffer_seek buffer_get_surface buffer_set_surface buffer_delete buffer_exists buffer_get_type buffer_get_alignment buffer_poke buffer_peek buffer_save buffer_save_ext buffer_load buffer_load_ext buffer_load_partial buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode buffer_base64_decode_ext buffer_sizeof buffer_get_address buffer_create_from_vertex_buffer buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer buffer_async_group_begin buffer_async_group_option buffer_async_group_end buffer_load_async buffer_save_async gml_release_mode gml_pragma steam_activate_overlay steam_is_overlay_enabled steam_is_overlay_activated steam_get_persona_name steam_initialised steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account steam_file_persisted steam_get_quota_total steam_get_quota_free steam_file_write steam_file_write_file steam_file_read steam_file_delete steam_file_exists steam_file_size steam_file_share steam_is_screenshot_requested steam_send_screenshot steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc steam_user_installed_dlc steam_set_achievement steam_get_achievement steam_clear_achievement steam_set_stat_int steam_set_stat_float steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float steam_get_stat_avg_rate steam_reset_all_stats steam_reset_all_stats_achievements steam_stats_ready steam_create_leaderboard steam_upload_score steam_upload_score_ext steam_download_scores_around_user steam_download_scores steam_download_friends_scores steam_upload_score_buffer steam_upload_score_buffer_ext steam_current_game_language steam_available_languages steam_activate_overlay_browser steam_activate_overlay_user steam_activate_overlay_store steam_get_user_persona_name steam_get_app_id steam_get_user_account_id steam_ugc_download steam_ugc_create_item steam_ugc_start_item_update steam_ugc_set_item_title steam_ugc_set_item_description steam_ugc_set_item_visibility steam_ugc_set_item_tags steam_ugc_set_item_content steam_ugc_set_item_preview steam_ugc_submit_item_update steam_ugc_get_item_update_progress steam_ugc_subscribe_item steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items steam_ugc_get_subscribed_items steam_ugc_get_item_install_info steam_ugc_get_item_update_info steam_ugc_request_item_details steam_ugc_create_query_user steam_ugc_create_query_user_ex steam_ugc_create_query_all steam_ugc_create_query_all_ex steam_ugc_query_set_cloud_filename_filter steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text steam_ugc_query_set_ranked_by_trend_days steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag steam_ugc_query_set_return_long_description steam_ugc_query_set_return_total_only steam_ugc_query_set_allow_cached_response steam_ugc_send_query shader_set shader_get_name shader_reset shader_current shader_is_compiled shader_get_sampler_index shader_get_uniform shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f shader_set_uniform_f_array shader_set_uniform_matrix shader_set_uniform_matrix_array shader_enable_corner_id texture_set_stage texture_get_texel_width texture_get_texel_height shaders_are_supported vertex_format_begin vertex_format_end vertex_format_delete vertex_format_add_position vertex_format_add_position_3d vertex_format_add_colour vertex_format_add_color vertex_format_add_normal vertex_format_add_texcoord vertex_format_add_textcoord vertex_format_add_custom vertex_create_buffer vertex_create_buffer_ext vertex_delete_buffer vertex_begin vertex_end vertex_position vertex_position_3d vertex_colour vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size vertex_create_buffer_from_buffer vertex_create_buffer_from_buffer_ext push_local_notification push_get_first_local_notification push_get_next_local_notification push_cancel_local_notification skeleton_animation_set skeleton_animation_get skeleton_animation_mix skeleton_animation_set_ext skeleton_animation_get_ext skeleton_animation_get_duration skeleton_animation_get_frames skeleton_animation_clear skeleton_skin_set skeleton_skin_get skeleton_attachment_set skeleton_attachment_get skeleton_attachment_create skeleton_collision_draw_set skeleton_bone_data_get skeleton_bone_data_set skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax skeleton_get_num_bounds skeleton_get_bounds skeleton_animation_get_frame skeleton_animation_set_frame draw_skeleton draw_skeleton_time draw_skeleton_instance draw_skeleton_collision skeleton_animation_list skeleton_skin_list skeleton_slot_data layer_get_id layer_get_id_at_depth layer_get_depth layer_create layer_destroy layer_destroy_instances layer_add_instance layer_has_instance layer_set_visible layer_get_visible layer_exists layer_x layer_y layer_get_x layer_get_y layer_hspeed layer_vspeed layer_get_hspeed layer_get_vspeed layer_script_begin layer_script_end layer_shader layer_get_script_begin layer_get_script_end layer_get_shader layer_set_target_room layer_get_target_room layer_reset_target_room layer_get_all layer_get_all_elements layer_get_name layer_depth layer_get_element_layer layer_get_element_type layer_element_move layer_force_draw_depth layer_is_draw_depth_forced layer_get_forced_depth layer_background_get_id layer_background_exists layer_background_create layer_background_destroy layer_background_visible layer_background_change layer_background_sprite layer_background_htiled layer_background_vtiled layer_background_stretch layer_background_yscale layer_background_xscale layer_background_blend layer_background_alpha layer_background_index layer_background_speed layer_background_get_visible layer_background_get_sprite layer_background_get_htiled layer_background_get_vtiled layer_background_get_stretch layer_background_get_yscale layer_background_get_xscale layer_background_get_blend layer_background_get_alpha layer_background_get_index layer_background_get_speed layer_sprite_get_id layer_sprite_exists layer_sprite_create layer_sprite_destroy layer_sprite_change layer_sprite_index layer_sprite_speed layer_sprite_xscale layer_sprite_yscale layer_sprite_angle layer_sprite_blend layer_sprite_alpha layer_sprite_x layer_sprite_y layer_sprite_get_sprite layer_sprite_get_index layer_sprite_get_speed layer_sprite_get_xscale layer_sprite_get_yscale layer_sprite_get_angle layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get tilemap_get_at_pixel tilemap_get_cell_x_at_pixel tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty tile_get_index tile_get_flip tile_get_mirror tile_get_rotate layer_tile_exists layer_tile_create layer_tile_destroy layer_tile_change layer_tile_xscale layer_tile_yscale layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y layer_tile_region layer_tile_visible layer_tile_get_sprite layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend layer_tile_get_alpha layer_tile_get_x layer_tile_get_y layer_tile_get_region layer_tile_get_visible layer_instance_get_instance instance_activate_layer instance_deactivate_layer camera_create camera_create_view camera_destroy camera_apply camera_get_active camera_get_default camera_set_default camera_set_view_mat camera_set_proj_mat camera_set_update_script camera_set_begin_script camera_set_end_script camera_set_view_pos camera_set_view_size camera_set_view_speed camera_set_view_border camera_set_view_angle camera_set_view_target camera_get_view_mat camera_get_proj_mat camera_get_update_script camera_get_begin_script camera_get_end_script camera_get_view_x camera_get_view_y camera_get_view_width camera_get_view_height camera_get_view_speed_x camera_get_view_speed_y camera_get_view_border_x camera_get_view_border_y camera_get_view_angle camera_get_view_target view_get_camera view_get_visible view_get_xport view_get_yport view_get_wport view_get_hport view_get_surface_id view_set_camera view_set_visible view_set_xport view_set_yport view_set_wport view_set_hport view_set_surface_id gesture_drag_time gesture_drag_distance gesture_flick_speed gesture_double_tap_time gesture_double_tap_distance gesture_pinch_distance gesture_pinch_angle_towards gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle gesture_tap_count gesture_get_drag_time gesture_get_drag_distance gesture_get_flick_speed gesture_get_double_tap_time gesture_get_double_tap_distance gesture_get_pinch_distance gesture_get_pinch_angle_towards gesture_get_pinch_angle_away gesture_get_rotate_time gesture_get_rotate_angle gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide keyboard_virtual_status keyboard_virtual_height",literal:"self other all noone global local undefined pointer_invalid pointer_null path_action_stop path_action_restart path_action_continue path_action_reverse true false pi GM_build_date GM_version GM_runtime_version timezone_local timezone_utc gamespeed_fps gamespeed_microseconds ev_create ev_destroy ev_step ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ev_keyrelease ev_trigger ev_left_button ev_right_button ev_middle_button ev_no_button ev_left_press ev_right_press ev_middle_press ev_left_release ev_right_release ev_middle_release ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ev_global_left_button ev_global_right_button ev_global_middle_button ev_global_left_press ev_global_right_press ev_global_middle_press ev_global_left_release ev_global_right_release ev_global_middle_release ev_joystick1_left ev_joystick1_right ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ev_joystick2_button8 ev_outside ev_boundary ev_game_start ev_game_end ev_room_start ev_room_end ev_no_more_lives ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ev_global_gesture_tap ev_global_gesture_double_tap ev_global_gesture_drag_start ev_global_gesture_dragging ev_global_gesture_drag_end ev_global_gesture_flick ev_global_gesture_pinch_start ev_global_gesture_pinch_in ev_global_gesture_pinch_out ev_global_gesture_pinch_end ev_global_gesture_rotate_start ev_global_gesture_rotating ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift vk_rcontrol vk_ralt mb_any mb_none mb_left mb_right mb_middle c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal c_white c_yellow c_orange fa_left fa_center fa_right fa_top fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly audio_falloff_none audio_falloff_inverse_distance audio_falloff_inverse_distance_clamped audio_falloff_linear_distance audio_falloff_linear_distance_clamped audio_falloff_exponent_distance audio_falloff_exponent_distance_clamped audio_old_system audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint cr_size_all spritespeed_framespersecond spritespeed_framespergameframe asset_object asset_unknown asset_sprite asset_sound asset_room asset_path asset_script asset_font asset_timeline asset_tiles asset_shader fa_readonly fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl dll_stdcall matrix_view matrix_projection matrix_world os_win32 os_windows os_macosx os_ios os_android os_symbian os_linux os_unknown os_winphone os_tizen os_win8native os_wiiu os_3ds os_psvita os_bb10 os_ps4 os_xboxone os_ps3 os_xbox360 os_uwp os_tvos os_switch browser_not_a_browser browser_unknown browser_ie browser_firefox browser_chrome browser_safari browser_safari_mobile browser_opera browser_tizen browser_edge browser_windows_store browser_ie_mobile device_ios_unknown device_ios_iphone device_ios_iphone_retina device_ios_ipad device_ios_ipad_retina device_ios_iphone5 device_ios_iphone6 device_ios_iphone6plus device_emulator device_tablet display_landscape display_landscape_flipped display_portrait display_portrait_flipped tm_sleep tm_countvsyncs of_challenge_win of_challen ge_lose of_challenge_tie leaderboard_type_number leaderboard_type_time_mins_secs cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always cull_noculling cull_clockwise cull_counterclockwise lighttype_dir lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed iap_status_uninitialised iap_status_unavailable iap_status_loading iap_status_available iap_status_processing iap_status_restoring iap_failed iap_unavailable iap_available iap_purchased iap_canceled iap_refunded fb_login_default fb_login_fallback_to_webview fb_login_no_fallback_to_webview fb_login_forcing_webview fb_login_use_system_account fb_login_forcing_safari phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x phy_joint_anchor_2_y phy_joint_reaction_force_x phy_joint_reaction_force_y phy_joint_reaction_torque phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque phy_joint_max_motor_torque phy_joint_translation phy_joint_speed phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency phy_joint_lower_angle_limit phy_joint_upper_angle_limit phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque phy_joint_max_force phy_debug_render_aabb phy_debug_render_collision_pairs phy_debug_render_coms phy_debug_render_core_shapes phy_debug_render_joints phy_debug_render_obb phy_debug_render_shapes phy_particle_flag_water phy_particle_flag_zombie phy_particle_flag_wall phy_particle_flag_spring phy_particle_flag_elastic phy_particle_flag_viscous phy_particle_flag_powder phy_particle_flag_tensile phy_particle_flag_colourmixing phy_particle_flag_colormixing phy_particle_group_flag_solid phy_particle_group_flag_rigid phy_particle_data_flag_typeflags phy_particle_data_flag_position phy_particle_data_flag_velocity phy_particle_data_flag_colour phy_particle_data_flag_color phy_particle_data_flag_category achievement_our_info achievement_friends_info achievement_leaderboard_info achievement_achievement_info achievement_filter_all_players achievement_filter_friends_only achievement_filter_favorites_only achievement_type_achievement_challenge achievement_type_score_challenge achievement_pic_loaded achievement_show_ui achievement_show_profile achievement_show_leaderboard achievement_show_achievement achievement_show_bank achievement_show_friend_picker achievement_show_purchase_prompt network_socket_tcp network_socket_udp network_socket_bluetooth network_type_connect network_type_disconnect network_type_data network_type_non_blocking_connect network_config_connect_timeout network_config_use_non_blocking_socket network_config_enable_reliable_udp network_config_disable_reliable_udp buffer_fixed buffer_grow buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text buffer_string buffer_surface_copy buffer_seek_start buffer_seek_relative buffer_seek_end buffer_generalerror buffer_outofspace buffer_outofbounds buffer_invalidtype text_type button_type input_type ANSI_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET BALTIC_CHARSET OEM_CHARSET gp_face1 gp_face2 gp_face3 gp_face4 gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric lb_disp_time_sec lb_disp_time_ms ugc_result_success ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ugc_visibility_friends_only ugc_visibility_private ugc_query_RankedByVote ugc_query_RankedByPublicationDate ugc_query_AcceptedForGameRankedByAcceptanceDate ugc_query_RankedByTrend ugc_query_FavoritedByFriendsRankedByPublicationDate ugc_query_CreatedByFriendsRankedByPublicationDate ugc_query_RankedByNumTimesReported ugc_query_CreatedByFollowedUsersRankedByPublicationDate ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ugc_match_WebGuides ugc_match_IntegratedGuides ugc_match_UsableInGame ugc_match_ControllerBindings vertex_usage_position vertex_usage_colour vertex_usage_color vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord vertex_usage_blendweight vertex_usage_blendindices vertex_usage_psize vertex_usage_tangent vertex_usage_binormal vertex_usage_fog vertex_usage_depth vertex_usage_sample vertex_type_float1 vertex_type_float2 vertex_type_float3 vertex_type_float4 vertex_type_colour vertex_type_color vertex_type_ubyte4 layerelementtype_undefined layerelementtype_background layerelementtype_instance layerelementtype_oldtilemap layerelementtype_sprite layerelementtype_tilemap layerelementtype_particlesystem layerelementtype_tile tile_rotate tile_flip tile_mirror tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency kbv_autocapitalize_none kbv_autocapitalize_words kbv_autocapitalize_sentences kbv_autocapitalize_characters",symbol:"argument_relative argument argument0 argument1 argument2 argument3 argument4 argument5 argument6 argument7 argument8 argument9 argument10 argument11 argument12 argument13 argument14 argument15 argument_count x|0 y|0 xprevious yprevious xstart ystart hspeed vspeed direction speed friction gravity gravity_direction path_index path_position path_positionprevious path_speed path_scale path_orientation path_endaction object_index id solid persistent mask_index instance_count instance_id room_speed fps fps_real current_time current_year current_month current_day current_weekday current_hour current_minute current_second alarm timeline_index timeline_position timeline_speed timeline_running timeline_loop room room_first room_last room_width room_height room_caption room_persistent score lives health show_score show_lives show_health caption_score caption_lives caption_health event_type event_number event_object event_action application_surface gamemaker_pro gamemaker_registered gamemaker_version error_occurred error_last debug_mode keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite visible sprite_index sprite_width sprite_height sprite_xoffset sprite_yoffset image_number image_index image_speed depth image_xscale image_yscale image_angle image_alpha image_blend bbox_left bbox_right bbox_top bbox_bottom layer background_colour background_showcolour background_color background_showcolor view_enabled view_current view_visible view_xview view_yview view_wview view_hview view_xport view_yport view_wport view_hport view_angle view_hborder view_vborder view_hspeed view_vspeed view_object view_surface_id view_camera game_id game_display_name game_project_name game_save_id working_directory temp_directory program_directory browser_width browser_height os_type os_device os_browser os_version display_aa async_load delta_time webgl_enabled event_data iap_data phy_rotation phy_position_x phy_position_y phy_angular_velocity phy_linear_velocity_x phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed phy_angular_damping phy_linear_damping phy_bullet phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x phy_com_y phy_dynamic phy_kinematic phy_sleeping phy_collision_points phy_collision_x phy_collision_y phy_col_normal_x phy_col_normal_y phy_position_xprevious phy_position_yprevious"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return v0=e,v0}var _0,F8;function A5e(){if(F8)return _0;F8=1;function e(t){const n={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:n,illegal:"e(s)).join("")}function r(i,o={}){return o.variants=i,o}function a(i){const o="[A-Za-z0-9_$]+",s=r([i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),l={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[i.BACKSLASH_ESCAPE]},u=r([i.BINARY_NUMBER_MODE,i.C_NUMBER_MODE]),d=r([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},i.APOS_STRING_MODE,i.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[i.SHEBANG({binary:"groovy",relevance:10}),s,d,l,u,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},i.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:o+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[s,d,l,u,"self"]},{className:"symbol",begin:"^[ ]*"+t(o+":"),excludeBegin:!0,end:o+":",relevance:0}],illegal:/#|<\//}}return E0=a,E0}var y0,z8;function k5e(){if(z8)return y0;z8=1;function e(t){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},t.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,starts:{end:/\}/,subLanguage:"ruby"}}]}}return y0=e,y0}var C0,H8;function P5e(){if(H8)return C0;H8=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return r("(",o,")*")}function n(o){return r("(",o,")?")}function r(...o){return o.map(l=>e(l)).join("")}function a(...o){return"("+o.map(l=>e(l)).join("|")+")"}function i(o){const s={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},l={literal:["true","false","undefined","null"]},u=/""|"[^"]+"/,d=/''|'[^']+'/,p=/\[\]|\[[^\]]+\]/,f=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,m=/(\.|\/)/,g=a(u,d,p,f),h=r(n(/\.|\.\/|\//),g,t(r(m,g))),v=r("(",p,"|",f,")(?==)"),S={begin:h,lexemes:/[\w.\/]+/},_=o.inherit(S,{keywords:l}),E={begin:/\(/,end:/\)/},y={className:"attr",begin:v,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[o.NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,_,E]}}},C={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},T={contains:[o.NUMBER_MODE,o.QUOTE_STRING_MODE,o.APOS_STRING_MODE,C,y,_,E],returnEnd:!0},x=o.inherit(S,{className:"name",keywords:s,starts:o.inherit(T,{end:/\)/})});E.contains=[x];const R=o.inherit(S,{keywords:s,className:"name",starts:o.inherit(T,{end:/\}\}/})}),w=o.inherit(S,{keywords:s,className:"name"}),I=o.inherit(S,{className:"name",keywords:s,starts:o.inherit(T,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},o.COMMENT(/\{\{!--/,/--\}\}/),o.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[R],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[w]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[R]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[w]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[I]}]}}return C0=i,C0}var T0,G8;function $5e(){if(G8)return T0;G8=1;function e(t){const n={variants:[t.COMMENT("--","$"),t.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},r={className:"meta",begin:/\{-#/,end:/#-\}/},a={className:"meta",begin:"^#",end:"$"},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},o={begin:"\\(",end:"\\)",illegal:'"',contains:[r,a,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t.inherit(t.TITLE_MODE,{begin:"[_a-z][\\w']*"}),n]},s={begin:/\{/,end:/\}/,contains:o.contains};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[o,n],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[o,n],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[i,o,n]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[r,i,o,s,n]},{beginKeywords:"default",end:"$",contains:[i,o,n]},{beginKeywords:"infix infixl infixr",end:"$",contains:[t.C_NUMBER_MODE,n]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[i,t.QUOTE_STRING_MODE,n]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},r,a,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,i,t.inherit(t.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),n,{begin:"->|<-"}]}}return T0=e,T0}var x0,V8;function F5e(){if(V8)return x0;V8=1;function e(t){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},t.QUOTE_STRING_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ ]*",end:"[^A-Za-z0-9_ \\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ ]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[t.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},t.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:t.IDENT_RE,relevance:0}]},t.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[t.TITLE_MODE]}],illegal:/<\//}}return x0=e,x0}var R0,q8;function B5e(){if(q8)return R0;q8=1;function e(t){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[t.BACKSLASH_ESCAPE]},t.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[t.inherit(t.QUOTE_STRING_MODE,{className:"meta-string"}),t.NUMBER_MODE,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},t.NUMBER_MODE,t.C_NUMBER_MODE]}}return R0=e,R0}var w0,W8;function U5e(){if(W8)return w0;W8=1;function e(s){return s?typeof s=="string"?s:s.source:null}function t(s){return r("(",s,")*")}function n(s){return r("(",s,")?")}function r(...s){return s.map(u=>e(u)).join("")}function a(...s){return"("+s.map(u=>e(u)).join("|")+")"}function i(s){const l={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},u={literal:["true","false","undefined","null"]},d=/""|"[^"]+"/,p=/''|'[^']+'/,f=/\[\]|\[[^\]]+\]/,m=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,g=/(\.|\/)/,h=a(d,p,f,m),v=r(n(/\.|\.\/|\//),h,t(r(g,h))),S=r("(",f,"|",m,")(?==)"),_={begin:v,lexemes:/[\w.\/]+/},E=s.inherit(_,{keywords:u}),y={begin:/\(/,end:/\)/},C={className:"attr",begin:S,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[s.NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,E,y]}}},T={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},x={contains:[s.NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,T,C,E,y],returnEnd:!0},R=s.inherit(_,{className:"name",keywords:l,starts:s.inherit(x,{end:/\)/})});y.contains=[R];const w=s.inherit(_,{keywords:l,className:"name",starts:s.inherit(x,{end:/\}\}/})}),I=s.inherit(_,{keywords:l,className:"name"}),O=s.inherit(_,{className:"name",keywords:l,starts:s.inherit(x,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},s.COMMENT(/\{\{!--/,/--\}\}/),s.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[w],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[I]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[w]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[O]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[O]}]}}function o(s){const l=i(s);return l.name="HTMLbars",s.getLanguage("handlebars")&&(l.disableAutodetect=!0),l}return w0=o,w0}var I0,Y8;function j5e(){if(Y8)return I0;Y8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a="HTTP/(2|1\\.[01])",o={className:"attribute",begin:t("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},s=[o,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},r.inherit(o,{relevance:0})]}}return I0=n,I0}var O0,K8;function z5e(){if(K8)return O0;K8=1;function e(t){var n="a-zA-Z_\\-!.?+*=<>&#'",r="["+n+"]["+n+"0-9/;:]*",a={$pattern:r,"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:r,relevance:0},s={className:"number",begin:i,relevance:0},l=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),u=t.COMMENT(";","$",{relevance:0}),d={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},p={begin:"[\\[\\{]",end:"[\\]\\}]"},f={className:"comment",begin:"\\^"+r},m=t.COMMENT("\\^\\{","\\}"),g={className:"symbol",begin:"[:]{1,2}"+r},h={begin:"\\(",end:"\\)"},v={endsWithParent:!0,relevance:0},S={className:"name",relevance:0,keywords:a,begin:r,starts:v},_=[h,l,f,m,u,g,p,s,d,o];return h.contains=[t.COMMENT("comment",""),S,v],v.contains=_,p.contains=_,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[t.SHEBANG(),h,l,f,m,u,g,p,s,d]}}return O0=e,O0}var N0,X8;function H5e(){if(X8)return N0;X8=1;function e(t){const n="\\[",r="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:n,end:r}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:n,end:r,contains:["self"]}]}}return N0=e,N0}var A0,Q8;function G5e(){if(Q8)return A0;Q8=1;function e(i){return i?typeof i=="string"?i:i.source:null}function t(i){return n("(?=",i,")")}function n(...i){return i.map(s=>e(s)).join("")}function r(...i){return"("+i.map(s=>e(s)).join("|")+")"}function a(i){const o={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:i.NUMBER_RE}]},s=i.COMMENT();s.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const l={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},u={className:"literal",begin:/\bon|off|true|false|yes|no\b/},d={className:"string",contains:[i.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},p={begin:/\[/,end:/\]/,contains:[s,u,l,d,o,"self"],relevance:0},h=r(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/),v=n(h,"(\\s*\\.\\s*",h,")*",t(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[s,{className:"section",begin:/\[+/,end:/\]+/},{begin:v,className:"attr",starts:{end:/$/,contains:[s,p,u,l,d,o]}}]}}return A0=a,A0}var D0,Z8;function V5e(){if(Z8)return D0;Z8=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={className:"params",begin:"\\(",end:"\\)"},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:t(/\b\d+/,/\.(\d*)/,o,i)},{begin:t(/\b\d+/,o,i)},{begin:t(/\.\d+/,o,i)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[r.inherit(r.APOS_STRING_MODE,{className:"string",relevance:0}),r.inherit(r.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[r.UNDERSCORE_TITLE_MODE,a]},r.COMMENT("!","$",{relevance:0}),r.COMMENT("begin_doc","end_doc",{relevance:10}),s]}}return D0=n,D0}var M0,J8;function q5e(){if(J8)return M0;J8=1;function e(t){const n="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",r="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",a="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",G="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",sn="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",yn="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",nr="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",cr="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",vr=G+sn,zt=nr,Ft="null true false nil ",ut={className:"number",begin:t.NUMBER_RE,relevance:0},Pt={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},mn={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},pr={className:"comment",begin:"//",end:"$",relevance:0,contains:[t.PHRASAL_WORDS_MODE,mn]},pn={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[t.PHRASAL_WORDS_MODE,mn]},Ir={variants:[pr,pn]},Or={$pattern:n,keyword:a,built_in:vr,class:zt,literal:Ft},Sr={begin:"\\.\\s*"+t.UNDERSCORE_IDENT_RE,keywords:Or,relevance:0},sa={className:"type",begin:":[ \\t]*("+cr.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Ja={className:"variable",keywords:Or,begin:n,relevance:0,contains:[sa,Sr]},Yo=r+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Or,illegal:"\\$|\\?|%|,|;$|~|#|@|)?",l="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",u={className:"meta",begin:"@"+o,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};const d=r;return{name:"Java",aliases:["jsp"],keywords:l,illegal:/<\/|#/,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},i.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:l,contains:[{beginKeywords:"record"},{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"("+s+"\\s+)+"+i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:l,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[u,i.APOS_STRING_MODE,i.QUOTE_STRING_MODE,d,i.C_BLOCK_COMMENT_MODE]},i.C_LINE_COMMENT_MODE,i.C_BLOCK_COMMENT_MODE]},d,u]}}return L0=a,L0}var k0,t5;function Y5e(){if(t5)return k0;t5=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],a=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","module","global"],s=[].concat(i,o,r,a);function l(f){return f?typeof f=="string"?f:f.source:null}function u(f){return d("(?=",f,")")}function d(...f){return f.map(g=>l(g)).join("")}function p(f){const m=(A,{after:D})=>{const L="",end:""},v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(A,D)=>{const L=A[0].length+A.index,$=A.input[L];if($==="<"){D.ignoreMatch();return}$===">"&&(m(A,{after:L})||D.ignoreMatch())}},S={$pattern:e,keyword:t,literal:n,built_in:s},_="[0-9](_?[0-9])*",E=`\\.(${_})`,y="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",C={className:"number",variants:[{begin:`(\\b(${y})((${E})|\\.)?|(${E}))[eE][+-]?(${_})\\b`},{begin:`\\b(${y})\\b((${E})\\b|\\.)?|(${E})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:S,contains:[]},x={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[f.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},R={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[f.BACKSLASH_ESCAPE,T],subLanguage:"css"}},w={className:"string",begin:"`",end:"`",contains:[f.BACKSLASH_ESCAPE,T]},O={className:"comment",variants:[f.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),f.C_BLOCK_COMMENT_MODE,f.C_LINE_COMMENT_MODE]},k=[f.APOS_STRING_MODE,f.QUOTE_STRING_MODE,x,R,w,C,f.REGEXP_MODE];T.contains=k.concat({begin:/\{/,end:/\}/,keywords:S,contains:["self"].concat(k)});const P=[].concat(O,T.contains),M=P.concat([{begin:/\(/,end:/\)/,keywords:S,contains:["self"].concat(P)}]),N={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:M};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:S,exports:{PARAMS_CONTAINS:M},illegal:/#(?![$_A-z])/,contains:[f.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},f.APOS_STRING_MODE,f.QUOTE_STRING_MODE,x,R,w,O,C,{begin:d(/[{,\n]\s*/,u(d(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,g+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:g+u("\\s*:"),relevance:0}]},{begin:"("+f.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[O,f.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+f.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:f.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:S,contains:M}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:h.begin,end:h.end},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:S,contains:["self",f.inherit(f.TITLE_MODE,{begin:g}),N],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:f.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[N,f.inherit(f.TITLE_MODE,{begin:g})]},{variants:[{begin:"\\."+g},{begin:"\\$"+g}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},f.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[f.inherit(f.TITLE_MODE,{begin:g}),"self",N]},{begin:"(get|set)\\s+(?="+g+"\\()",end:/\{/,keywords:"get set",contains:[f.inherit(f.TITLE_MODE,{begin:g}),{begin:/\(\)/},N]},{begin:/\$[(.]/}]}}return k0=p,k0}var P0,n5;function K5e(){if(n5)return P0;n5=1;function e(t){const r={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},a={className:"function",begin:/:[\w\-.]+/,relevance:0},i={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},o={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[t.HASH_COMMENT_MODE,t.QUOTE_STRING_MODE,o,a,i,r]}}return P0=e,P0}var $0,r5;function X5e(){if(r5)return $0;r5=1;function e(t){const n={literal:"true false null"},r=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],a=[t.QUOTE_STRING_MODE,t.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:a,keywords:n},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE],illegal:"\\n"},t.inherit(i,{begin:/:/})].concat(r),illegal:"\\S"},s={begin:"\\[",end:"\\]",contains:[t.inherit(i)],illegal:"\\S"};return a.push(o,s),r.forEach(function(l){a.push(l)}),{name:"JSON",contains:a,keywords:n,illegal:"\\S"}}return $0=e,$0}var F0,a5;function Q5e(){if(a5)return F0;a5=1;function e(t){var n="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",r=["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],a=["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],i=["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"],o={$pattern:n,keyword:r,literal:a,built_in:i},s={keywords:o,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},u={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},d={className:"subst",begin:/\$\(/,end:/\)/,keywords:o},p={className:"variable",begin:"\\$"+n},f={className:"string",contains:[t.BACKSLASH_ESCAPE,d,p],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},m={className:"string",contains:[t.BACKSLASH_ESCAPE,d,p],begin:"`",end:"`"},g={className:"meta",begin:"@"+n},h={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return s.name="Julia",s.contains=[l,u,f,m,g,h,t.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],d.contains=s.contains,s}return F0=e,F0}var B0,i5;function Z5e(){if(i5)return B0;i5=1;function e(t){return{name:"Julia REPL",contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}return B0=e,B0}var U0,o5;function J5e(){if(o5)return U0;o5=1;var e="[0-9](_*[0-9])*",t=`\\.(${e})`,n="[0-9a-fA-F](_*[0-9a-fA-F])*",r={className:"number",variants:[{begin:`(\\b(${e})((${t})|\\.)?|(${t}))[eE][+-]?(${e})[fFdD]?\\b`},{begin:`\\b(${e})((${t})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${t})[fFdD]?\\b`},{begin:`\\b(${e})[fFdD]\\b`},{begin:`\\b0[xX]((${n})\\.?|(${n})?\\.(${n}))[pP][+-]?(${e})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${n})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function a(i){const o={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},s={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:i.UNDERSCORE_IDENT_RE+"@"},u={className:"subst",begin:/\$\{/,end:/\}/,contains:[i.C_NUMBER_MODE]},d={className:"variable",begin:"\\$"+i.UNDERSCORE_IDENT_RE},p={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[d,u]},{begin:"'",end:"'",illegal:/\n/,contains:[i.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,d,u]}]};u.contains.push(p);const f={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+i.UNDERSCORE_IDENT_RE+")?"},m={className:"meta",begin:"@"+i.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[i.inherit(p,{className:"meta-string"})]}]},g=r,h=i.COMMENT("/\\*","\\*/",{contains:[i.C_BLOCK_COMMENT_MODE]}),v={variants:[{className:"type",begin:i.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},S=v;return S.variants[1].contains=[v],v.variants[1].contains=[S],{name:"Kotlin",aliases:["kt","kts"],keywords:o,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),i.C_LINE_COMMENT_MODE,h,s,l,f,m,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:o,relevance:5,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:o,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[v,i.C_LINE_COMMENT_MODE,h],relevance:0},i.C_LINE_COMMENT_MODE,h,f,m,p,i.C_NUMBER_MODE]},h]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},i.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},f,m]},p,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},g]}}return U0=a,U0}var j0,s5;function eje(){if(s5)return j0;s5=1;function e(t){const n="[a-zA-Z_][\\w.]*",r="<\\?(lasso(script)?|=)",a="\\]|\\?>",i={$pattern:n+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=t.COMMENT("",{relevance:0}),s={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},l={className:"meta",begin:"\\[/noprocess|"+r},u={className:"symbol",begin:"'"+n+"'"},d=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.inherit(t.C_NUMBER_MODE,{begin:t.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+n},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:n,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+n,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[u]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[t.inherit(t.TITLE_MODE,{begin:n+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[|"+r,returnEnd:!0,relevance:0,contains:[o]}},s,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:a,relevance:0,starts:{end:"\\[noprocess\\]|"+r,returnEnd:!0,contains:[o]}},s,l].concat(d)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(d)}}return j0=e,j0}var z0,l5;function tje(){if(l5)return z0;l5=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return"("+r.map(i=>e(i)).join("|")+")"}function n(r){const a=t(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(k=>k+"(?![a-zA-Z@:_])")),i=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(k=>k+"(?![a-zA-Z:_])").join("|")),o=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],s=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],l={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:a},{endsParent:!0,begin:i},{endsParent:!0,variants:s},{endsParent:!0,relevance:0,variants:o}]},u={className:"params",relevance:0,begin:/#+\d?/},d={variants:s},p={className:"built_in",relevance:0,begin:/[$&^_]/},f={className:"meta",begin:"% !TeX",end:"$",relevance:10},m=r.COMMENT("%","$",{relevance:0}),g=[l,u,d,p,f,m],h={begin:/\{/,end:/\}/,relevance:0,contains:["self",...g]},v=r.inherit(h,{relevance:0,endsParent:!0,contains:[h,...g]}),S={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[h,...g]},_={begin:/\s+/,relevance:0},E=[v],y=[S],C=function(k,P){return{contains:[_],starts:{relevance:0,contains:k,starts:P}}},T=function(k,P){return{begin:"\\\\"+k+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+k},relevance:0,contains:[_],starts:P}},x=function(k,P){return r.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+k+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},C(E,P))},R=(k="string")=>r.END_SAME_AS_BEGIN({className:k,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),w=function(k){return{className:"string",end:"(?=\\\\end\\{"+k+"\\})"}},I=(k="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:k,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),O=[...["verb","lstinline"].map(k=>T(k,{contains:[R()]})),T("mint",C(E,{contains:[R()]})),T("mintinline",C(E,{contains:[I(),R()]})),T("url",{contains:[I("link"),I("link")]}),T("hyperref",{contains:[I("link")]}),T("href",C(y,{contains:[I("link")]})),...[].concat(...["","\\*"].map(k=>[x("verbatim"+k,w("verbatim"+k)),x("filecontents"+k,C(E,w("filecontents"+k))),...["","B","L"].map(P=>x(P+"Verbatim"+k,C(y,w(P+"Verbatim"+k))))])),x("minted",C(y,C(E,w("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...O,...g]}}return z0=n,z0}var H0,c5;function nje(){if(c5)return H0;c5=1;function e(t){return{name:"LDIF",contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},t.HASH_COMMENT_MODE]}}return H0=e,H0}var G0,u5;function rje(){if(u5)return G0;u5=1;function e(t){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}return G0=e,G0}var V0,d5;function aje(){if(d5)return V0;d5=1;const e=l=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[l.APOS_STRING_MODE,l.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),o=r.concat(a);function s(l){const u=e(l),d=o,p="and or not only",f="[\\w-]+",m="("+f+"|@\\{"+f+"\\})",g=[],h=[],v=function(O){return{className:"string",begin:"~?"+O+".*?"+O}},S=function(O,k,P){return{className:O,begin:k,relevance:P}},_={$pattern:/[a-z-]+/,keyword:p,attribute:n.join(" ")},E={begin:"\\(",end:"\\)",contains:h,keywords:_,relevance:0};h.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,v("'"),v('"'),l.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},u.HEXCOLOR,E,S("variable","@@?"+f,10),S("variable","@\\{"+f+"\\}"),S("built_in","~?`[^`]*?`"),{className:"attribute",begin:f+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},u.IMPORTANT);const y=h.concat({begin:/\{/,end:/\}/,contains:g}),C={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(h)},T={begin:m+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},{className:"attribute",begin:"\\b("+i.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:h}}]},x={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:_,returnEnd:!0,contains:h,relevance:0}},R={className:"variable",variants:[{begin:"@"+f+"\\s*:",relevance:15},{begin:"@"+f}],starts:{end:"[;}]",returnEnd:!0,contains:y}},w={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:m,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,C,S("keyword","all\\b"),S("variable","@\\{"+f+"\\}"),{begin:"\\b("+t.join("|")+")\\b",className:"selector-tag"},S("selector-tag",m+"%?",0),S("selector-id","#"+m),S("selector-class","\\."+m,0),S("selector-tag","&",0),u.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:"::("+a.join("|")+")"},{begin:"\\(",end:"\\)",contains:y},{begin:"!important"}]},I={begin:f+`:(:)?(${d.join("|")})`,returnBegin:!0,contains:[w]};return g.push(l.C_LINE_COMMENT_MODE,l.C_BLOCK_COMMENT_MODE,x,R,I,T,w),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:g}}return V0=s,V0}var q0,p5;function ije(){if(p5)return q0;p5=1;function e(t){var n="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",r="\\|[^]*?\\|",a="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:a,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+a+" +"+a,end:"\\)"}]},s=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),l=t.COMMENT(";","$",{relevance:0}),u={begin:"\\*",end:"\\*"},d={className:"symbol",begin:"[:&]"+n},p={begin:n,relevance:0},f={begin:r},m={begin:"\\(",end:"\\)",contains:["self",i,s,o,p]},g={contains:[o,s,u,d,m,p],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+r}]},h={variants:[{begin:"'"+n},{begin:"#'"+n+"(::"+n+")*"}]},v={begin:"\\(\\s*",end:"\\)"},S={endsWithParent:!0,relevance:0};return v.contains=[{className:"name",variants:[{begin:n,relevance:0},{begin:r}]},S],S.contains=[g,h,v,i,o,s,l,u,d,f,p],{name:"Lisp",illegal:/\S/,contains:[o,t.SHEBANG(),i,s,l,g,h,v,p]}}return q0=e,q0}var W0,f5;function oje(){if(f5)return W0;f5=1;function e(t){const n={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},r=[t.C_BLOCK_COMMENT_MODE,t.HASH_COMMENT_MODE,t.COMMENT("--","$"),t.COMMENT("[^:]//","$")],a=t.inherit(t.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=t.inherit(t.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[n,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[n,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,a],relevance:0},{beginKeywords:"command on",end:"$",contains:[n,i,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE,a].concat(r),illegal:";$|^\\[|^=|&|\\{"}}return W0=e,W0}var Y0,m5;function sje(){if(m5)return Y0;m5=1;const e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],t=["true","false","null","undefined","NaN","Infinity"],n=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],r=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],a=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(a,i,n,r);function s(l){const u=["npm","print"],d=["yes","no","on","off","it","that","void"],p=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],f={keyword:e.concat(p),literal:t.concat(d),built_in:o.concat(u)},m="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",g=l.inherit(l.TITLE_MODE,{begin:m}),h={className:"subst",begin:/#\{/,end:/\}/,keywords:f},v={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:f},S=[l.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[l.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[l.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[l.BACKSLASH_ESCAPE,h,v]},{begin:/"/,end:/"/,contains:[l.BACKSLASH_ESCAPE,h,v]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[h,l.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+m},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];h.contains=S;const _={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:f,contains:["self"].concat(S)}]},E={begin:"(#=>|=>|\\|>>|-?->|!->)"};return{name:"LiveScript",aliases:["ls"],keywords:f,illegal:/\/\*/,contains:S.concat([l.COMMENT("\\/\\*","\\*\\/"),l.HASH_COMMENT_MODE,E,{className:"function",contains:[g,_],returnBegin:!0,variants:[{begin:"("+m+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+m+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+m+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[g]},g]},{begin:m+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Y0=s,Y0}var K0,g5;function lje(){if(g5)return K0;g5=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a=/([-a-zA-Z$._][\w$.-]*)/,i={className:"type",begin:/\bi\d+(?=\s|\b)/},o={className:"operator",relevance:0,begin:/=/},s={className:"punctuation",relevance:0,begin:/,/},l={className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},u={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},d={className:"variable",variants:[{begin:t(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},p={className:"title",variants:[{begin:t(/@/,a)},{begin:/@\d+/},{begin:t(/!/,a)},{begin:t(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[i,r.COMMENT(/;\s*$/,null,{relevance:0}),r.COMMENT(/;/,/$/),r.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},p,s,o,d,u,l]}}return K0=n,K0}var X0,h5;function cje(){if(h5)return X0;h5=1;function e(t){var n={className:"subst",begin:/\\[tn"\\]/},r={className:"string",begin:'"',end:'"',contains:[n]},a={className:"number",relevance:0,begin:t.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},o={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[r,{className:"comment",variants:[t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/")],relevance:0},a,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},o,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return X0=e,X0}var Q0,v5;function uje(){if(v5)return Q0;v5=1;function e(t){const n="\\[=*\\[",r="\\]=*\\]",a={begin:n,end:r,contains:["self"]},i=[t.COMMENT("--(?!"+n+")","$"),t.COMMENT("--"+n,r,{contains:[a],relevance:10})];return{name:"Lua",keywords:{$pattern:t.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[t.inherit(t.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},t.C_NUMBER_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:n,end:r,contains:[a],relevance:5}])}}return Q0=e,Q0}var Z0,_5;function dje(){if(_5)return Z0;_5=1;function e(t){const n={className:"variable",variants:[{begin:"\\$\\("+t.UNDERSCORE_IDENT_RE+"\\)",contains:[t.BACKSLASH_ESCAPE]},{begin:/\$[@%t(l)).join("")}function a(...o){return"("+o.map(l=>t(l)).join("|")+")"}function i(o){const s=/([2-9]|[1-2]\d|[3][0-5])\^\^/,l=/(\w*\.\w+|\w+\.\w*|\w+)/,u=/(\d*\.\d+|\d+\.\d*|\d+)/,d=a(r(s,l),u),m=a(/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/),g=/\*\^[+-]?\d+/,v={className:"number",relevance:0,begin:r(d,n(m),n(g))},S=/[a-zA-Z$][a-zA-Z0-9$]*/,_=new Set(e),E={variants:[{className:"builtin-symbol",begin:S,"on:begin":(I,O)=>{_.has(I[0])||O.ignoreMatch()}},{className:"symbol",relevance:0,begin:S}]},y={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},C={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},T={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},x={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},R={className:"brace",relevance:0,begin:/[[\](){}]/},w={className:"message-name",relevance:0,begin:r("::",S)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[o.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),T,x,w,E,y,o.QUOTE_STRING_MODE,v,C,R]}}return J0=i,J0}var eT,S5;function fje(){if(S5)return eT;S5=1;function e(t){var n="('|\\.')+",r={relevance:0,contains:[{begin:n}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:r},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+n,relevance:0},{className:"number",begin:t.C_NUMBER_RE,relevance:0,starts:r},{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:r},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE,{begin:'""'}],starts:r},t.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),t.COMMENT("%","$")]}}return eT=e,eT}var tT,E5;function mje(){if(E5)return tT;E5=1;function e(t){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},t.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return tT=e,tT}var nT,y5;function gje(){if(y5)return nT;y5=1;function e(t){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return 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 CBG 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 HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS 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 Mayatomr 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",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},r,t.C_BLOCK_COMMENT_MODE,a,t.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}return rT=e,rT}var aT,T5;function vje(){if(T5)return aT;T5=1;function e(t){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+t.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},t.COMMENT("[;#](?!\\s*$)","$"),t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return aT=e,aT}var iT,x5;function _je(){if(x5)return iT;x5=1;function e(t){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[t.COMMENT("::","$")]}}return iT=e,iT}var oT,R5;function bje(){if(R5)return oT;R5=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],o=/[dualxmsipngr]{0,12}/,s={$pattern:/[\w.]+/,keyword:i.join(" ")},l={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:s},u={begin:/->\{/,end:/\}/},d={variants:[{begin:/\$\d/},{begin:t(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},p=[a.BACKSLASH_ESCAPE,l,d],f=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],m=(v,S,_="\\1")=>{const E=_==="\\1"?_:t(_,S);return t(t("(?:",v,")"),S,/(?:\\.|[^\\\/])*?/,E,/(?:\\.|[^\\\/])*?/,_,o)},g=(v,S,_)=>t(t("(?:",v,")"),S,/(?:\\.|[^\\\/])*?/,_,o),h=[d,a.HASH_COMMENT_MODE,a.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),u,{className:"string",contains:p,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[a.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[a.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+a.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[a.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:m("s|tr|y",n(...f))},{begin:m("s|tr|y","\\(","\\)")},{begin:m("s|tr|y","\\[","\\]")},{begin:m("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:g("(?:m|qr)?",/\//,/\//)},{begin:g("m|qr",n(...f),/\1/)},{begin:g("m|qr",/\(/,/\)/)},{begin:g("m|qr",/\[/,/\]/)},{begin:g("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[a.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return l.contains=h,u.contains=h,{name:"Perl",aliases:["pl","pm"],keywords:s,contains:h}}return oT=r,oT}var sT,w5;function Sje(){if(w5)return sT;w5=1;function e(t){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return sT=e,sT}var lT,I5;function Eje(){if(I5)return lT;I5=1;function e(t){const n={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},t.NUMBER_MODE]};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[t.COMMENT("#rem","#end"),t.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[t.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{className:"built_in",begin:"\\b(self|super)\\b"},{className:"meta",begin:"\\s*#",end:"$",keywords:{"meta-keyword":"if else elseif endif end then"}},{className:"meta",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[t.UNDERSCORE_TITLE_MODE]},t.QUOTE_STRING_MODE,n]}}return lT=e,lT}var cT,O5;function yje(){if(O5)return cT;O5=1;function e(t){const n={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},r="[A-Za-z$_][0-9A-Za-z$_]*",a={className:"subst",begin:/#\{/,end:/\}/,keywords:n},i=[t.inherit(t.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[t.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,a]}]},{className:"built_in",begin:"@__"+t.IDENT_RE},{begin:"@"+t.IDENT_RE},{begin:t.IDENT_RE+"\\\\"+t.IDENT_RE}];a.contains=i;const o=t.inherit(t.TITLE_MODE,{begin:r}),s="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:n,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:n,illegal:/\/\*/,contains:i.concat([t.COMMENT("--","$"),{className:"function",begin:"^\\s*"+r+"\\s*=\\s*"+s,end:"[-=]>",returnBegin:!0,contains:[o,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:s,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:r+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return cT=e,cT}var uT,N5;function Cje(){if(N5)return uT;N5=1;function e(t){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,endsWithParent:!0,keywords:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},contains:[{className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE],relevance:2},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE]}}return uT=e,uT}var dT,A5;function Tje(){if(A5)return dT;A5=1;function e(t){const n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/\}/},{begin:/[$@]/+t.UNDERSCORE_IDENT_RE}]},r={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[t.HASH_COMMENT_MODE,{className:"string",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[t.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[t.HASH_COMMENT_MODE,{begin:t.UNDERSCORE_IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\{/,contains:[{className:"section",begin:t.UNDERSCORE_IDENT_RE}],relevance:0},{begin:t.UNDERSCORE_IDENT_RE+"\\s",end:";|\\{",returnBegin:!0,contains:[{className:"attribute",begin:t.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}]"}}return dT=e,dT}var pT,D5;function xje(){if(D5)return pT;D5=1;function e(t){return{name:"Nim",keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},t.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},t.HASH_COMMENT_MODE]}}return pT=e,pT}var fT,M5;function Rje(){if(M5)return fT;M5=1;function e(t){const n={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},r={className:"subst",begin:/\$\{/,end:/\}/,keywords:n},a={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]},i={className:"string",contains:[r],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},o=[t.NUMBER_MODE,t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,i,a];return r.contains=o,{name:"Nix",aliases:["nixos"],keywords:n,contains:o}}return fT=e,fT}var mT,L5;function wje(){if(L5)return mT;L5=1;function e(t){return{name:"Node REPL",contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return mT=e,mT}var gT,k5;function Ije(){if(k5)return gT;k5=1;function e(t){const n={className:"variable",begin:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/},r={className:"variable",begin:/\$+\{[\w.:-]+\}/},a={className:"variable",begin:/\$+\w+/,illegal:/\(\)\{\}/},i={className:"variable",begin:/\$+\([\w^.:-]+\)/},o={className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},s={className:"keyword",begin:/!(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|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/},l={className:"meta",begin:/\$(\\[nrt]|\$)/},u={className:"class",begin:/\w+::\w+/},d={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[l,n,r,a,i]};return{name:"NSIS",case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileWriteUTF16LE FileSeek FileWrite FileWriteByte FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetKnownFolderPath GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfRtlLanguage IfShellVarContextAll IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadAndSetImage LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestLongPathAware ManifestMaxVersionTested ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PEAddResource PEDllCharacteristics PERemoveResource PESubsysVer Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},contains:[t.HASH_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup",end:"$"},d,s,r,a,i,o,u,t.NUMBER_MODE]}}return gT=e,gT}var hT,P5;function Oje(){if(P5)return hT;P5=1;function e(t){const n={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},r=/[a-zA-Z@][a-zA-Z0-9_]*/,a={$pattern:r,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},i={$pattern:r,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:a,illegal:"/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+i.keyword.split(" ").join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[t.UNDERSCORE_TITLE_MODE]},{begin:"\\."+t.UNDERSCORE_IDENT_RE,relevance:0}]}}return hT=e,hT}var vT,$5;function Nje(){if($5)return vT;$5=1;function e(t){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return vT=e,vT}var _T,F5;function Aje(){if(F5)return _T;F5=1;function e(t){const n={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},r={className:"literal",begin:"false|true|PI|undef"},a={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},s={className:"params",begin:"\\(",end:"\\)",contains:["self",a,i,n,r]},l={begin:"[*!#%]",relevance:0},u={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[s,t.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,o,i,n,l,u]}}return _T=e,_T}var bT,B5;function Dje(){if(B5)return bT;B5=1;function e(t){const n={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},r=t.COMMENT(/\{/,/\}/,{relevance:0}),a=t.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},s={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[t.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:n,contains:[i,o]},r,a]};return{name:"Oxygene",case_insensitive:!0,keywords:n,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[r,a,t.C_LINE_COMMENT_MODE,i,o,t.NUMBER_MODE,s,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:n,contains:[i,o,r,a,t.C_LINE_COMMENT_MODE,s]}]}}return bT=e,bT}var ST,U5;function Mje(){if(U5)return ST;U5=1;function e(t){const n=t.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[t.COMMENT("^#","$"),t.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[n]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},t.C_NUMBER_MODE]}}return ST=e,ST}var ET,j5;function Lje(){if(j5)return ET;j5=1;function e(t){const n={className:"variable",begin:/\$[\w\d#@][\w\d_]*/},r={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[t.HASH_COMMENT_MODE,t.NUMBER_MODE,t.QUOTE_STRING_MODE,n,r]}}return ET=e,ET}var yT,z5;function kje(){if(z5)return yT;z5=1;function e(t){const n=t.COMMENT("--","$"),r="[a-zA-Z_][a-zA-Z_0-9$]*",a="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+r+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",s="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",u="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",d=u.trim().split(" ").map(function(v){return v.split("|")[0]}).join("|"),p="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",f="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",m="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",h="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(v){return v.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],case_insensitive:!0,keywords:{keyword:o+l+s,built_in:p+f+m},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:t.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+h+")\\s*\\("},{begin:"\\.("+d+")\\b"},{begin:"\\b("+d+")\\s+PATH\\b",keywords:{keyword:"PATH",type:u.replace("PATH ","")}},{className:"type",begin:"\\b("+d+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},t.END_SAME_AS_BEGIN({begin:a,end:a,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}return yT=e,yT}var CT,H5;function Pje(){if(H5)return CT;H5=1;function e(t){const n={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*(?![A-Za-z0-9])(?![$])"},r={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},a={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},i=t.inherit(t.APOS_STRING_MODE,{illegal:null}),o=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),s=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),l={className:"string",contains:[t.BACKSLASH_ESCAPE,r],variants:[t.inherit(i,{begin:"b'",end:"'"}),t.inherit(o,{begin:'b"',end:'"'}),o,i,s]},u={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},d={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:d,contains:[t.HASH_COMMENT_MODE,t.COMMENT("//","$",{contains:[r]}),t.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),t.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),r,{className:"keyword",begin:/\$this\b/},n,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",n,t.C_BLOCK_COMMENT_MODE,l,u]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[t.UNDERSCORE_TITLE_MODE]},l,u]}}return CT=e,CT}var TT,G5;function $je(){if(G5)return TT;G5=1;function e(t){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},t.inherit(t.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return TT=e,TT}var xT,V5;function Fje(){if(V5)return xT;V5=1;function e(t){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return xT=e,xT}var RT,q5;function Bje(){if(q5)return RT;q5=1;function e(t){const n={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},r={className:"string",begin:'"""',end:'"""',relevance:10},a={className:"string",begin:'"',end:'"',contains:[t.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[t.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},s={begin:t.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:n,contains:[o,r,a,i,s,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return RT=e,RT}var wT,W5;function Uje(){if(W5)return wT;W5=1;function e(t){const n=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],r="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",a="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,s={begin:"`[\\s\\S]",relevance:0},l={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},u={className:"literal",begin:/\$(null|true|false)\b/},d={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[s,l,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},p={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},f={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},m=t.inherit(t.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[f]}),g={className:"built_in",variants:[{begin:"(".concat(r,")+(-)[\\w\\d]+")}]},h={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[t.TITLE_MODE]},v={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[l]}]},S={begin:/using\s/,end:/$/,returnBegin:!0,contains:[d,p,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},_={variants:[{className:"operator",begin:"(".concat(a,")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},E={className:"selector-tag",begin:/@\B/,relevance:0},y={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},t.inherit(t.TITLE_MODE,{endsParent:!0})]},C=[y,m,s,t.NUMBER_MODE,d,p,g,l,u,E],T={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",C,{begin:"("+n.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return y.contains.unshift(T),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:i,contains:C.concat(h,v,S,_,T)}}return wT=e,wT}var IT,Y5;function jje(){if(Y5)return IT;Y5=1;function e(t){return{name:"Processing",keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return IT=e,IT}var OT,K5;function zje(){if(K5)return OT;K5=1;function e(t){return{name:"Python profiler",contains:[t.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[t.C_NUMBER_MODE],relevance:10},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return OT=e,OT}var NT,X5;function Hje(){if(X5)return NT;X5=1;function e(t){const n={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},r={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},a={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[t.PHRASAL_WORDS_MODE]},s={className:"string",begin:/`/,end:/`/,contains:[t.BACKSLASH_ESCAPE]},l={className:"string",begin:/0'(\\'|.)/},u={className:"string",begin:/0'\\s/},p=[n,r,a,{begin:/:-/},i,o,t.C_BLOCK_COMMENT_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,s,l,u,t.C_NUMBER_MODE];return a.contains=p,i.contains=p,{name:"Prolog",contains:p.concat([{begin:/\.$/}])}}return NT=e,NT}var AT,Q5;function Gje(){if(Q5)return AT;Q5=1;function e(t){var n="[ \\t\\f]*",r="[ \\t\\f]+",a=n+"[:=]"+n,i=r,o="("+a+"|"+i+")",s="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",l="([^\\\\:= \\t\\f\\n]|\\\\.)+",u={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[t.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:s+a,relevance:1},{begin:s+i,relevance:0}],contains:[{className:"attr",begin:s,endsParent:!0,relevance:0}],starts:u},{begin:l+o,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:l,endsParent:!0,relevance:0}],starts:u},{className:"attr",relevance:0,begin:l+n+"$"}]}}return AT=e,AT}var DT,Z5;function Vje(){if(Z5)return DT;Z5=1;function e(t){return{name:"Protocol Buffers",keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return DT=e,DT}var MT,J5;function qje(){if(J5)return MT;J5=1;function e(t){const n={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},r=t.COMMENT("#","$"),a="([A-Za-z_]|::)(\\w|::)*",i=t.inherit(t.TITLE_MODE,{begin:a}),o={className:"variable",begin:"\\$"+a},s={className:"string",contains:[t.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[r,o,s,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,r]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:t.IDENT_RE,endsParent:!0}]},{begin:t.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:t.IDENT_RE},{begin:/\{/,end:/\}/,keywords:n,relevance:0,contains:[s,r,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:t.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}return MT=e,MT}var LT,ej;function Wje(){if(ej)return LT;ej=1;function e(t){const n={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},r={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning 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 EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[t.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},t.UNDERSCORE_TITLE_MODE]},n,r]}}return LT=e,LT}var kT,tj;function Yje(){if(tj)return kT;tj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const u={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},d={className:"meta",begin:/^(>>>|\.\.\.) /},p={className:"subst",begin:/\{/,end:/\}/,keywords:u,illegal:/#/},f={begin:/\{\{/,relevance:0},m={className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[a.BACKSLASH_ESCAPE,d,f,p]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[a.BACKSLASH_ESCAPE,d,f,p]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[a.BACKSLASH_ESCAPE,f,p]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[a.BACKSLASH_ESCAPE,f,p]},a.APOS_STRING_MODE,a.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",h=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${h}))[eE][+-]?(${g})[jJ]?\\b`},{begin:`(${h})[jJ]?`},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:`\\b(${g})[jJ]\\b`}]},S={className:"comment",begin:t(/# type:/),end:/$/,keywords:u,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},_={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:u,contains:["self",d,v,m,a.HASH_COMMENT_MODE]}]};return p.contains=[m,v,d],{name:"Python",aliases:["py","gyp","ipython"],keywords:u,illegal:/(<\/|->|\?)|=>/,contains:[d,v,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},m,S,a.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[a.UNDERSCORE_TITLE_MODE,_,{begin:/->/,endsWithParent:!0,keywords:u}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[v,_,m]}]}}return kT=r,kT}var PT,nj;function Kje(){if(nj)return PT;nj=1;function e(t){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return PT=e,PT}var $T,rj;function Xje(){if(rj)return $T;rj=1;function e(t){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE]}}return $T=e,$T}var FT,aj;function Qje(){if(aj)return FT;aj=1;function e(r){return r?typeof r=="string"?r:r.source:null}function t(...r){return r.map(i=>e(i)).join("")}function n(r){const a={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},i="[a-zA-Z_][a-zA-Z0-9\\._]*",o={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},s={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},l={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:i,returnEnd:!1}},u={begin:i+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:i,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},d={begin:t(i,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[r.inherit(r.TITLE_MODE,{begin:i})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:a,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},r.APOS_STRING_MODE,r.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[r.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:r.C_NUMBER_RE}],relevance:0},{begin:"("+r.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,r.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},s,o,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[r.inherit(r.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+r.IDENT_RE,relevance:0},l,u,d],illegal:/#/}}return FT=n,FT}var BT,ij;function Zje(){if(ij)return BT;ij=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(?=",a,")")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,o=/[a-zA-Z][a-zA-Z_0-9]*/;return{name:"R",illegal:/->/,keywords:{$pattern:i,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},compilerExtensions:[(s,l)=>{if(!s.beforeMatch)return;if(s.starts)throw new Error("beforeMatch cannot be used with starts");const u=Object.assign({},s);Object.keys(s).forEach(d=>{delete s[d]}),s.begin=n(u.beforeMatch,t(u.begin)),s.starts={relevance:0,contains:[Object.assign(u,{endsParent:!0})]},s.relevance=0,delete u.beforeMatch}],contains:[a.COMMENT(/#'/,/$/,{contains:[{className:"doctag",begin:"@examples",starts:{contains:[{begin:/\n/},{begin:/#'\s*(?=@[a-zA-Z]+)/,endsParent:!0},{begin:/#'/,end:/$/,excludeBegin:!0}]}},{className:"doctag",begin:"@param",end:/$/,contains:[{className:"variable",variants:[{begin:i},{begin:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{className:"doctag",begin:/@[a-zA-Z]+/},{className:"meta-keyword",begin:/\\[a-zA-Z]+/}]}),a.HASH_COMMENT_MODE,{className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),a.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{className:"number",relevance:0,beforeMatch:/([^a-zA-Z0-9._])/,variants:[{match:/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/},{match:/0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/},{match:/(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/}]},{begin:"%",end:"%"},{begin:n(o,"\\s+<-\\s+")},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return BT=r,BT}var UT,oj;function Jje(){if(oj)return UT;oj=1;function e(t){function n(T){return T.map(function(x){return x.split("").map(function(R){return"\\"+R}).join("")}).join("|")}const r="~?[a-z$_][0-9a-zA-Z$_]*",a="`?[A-Z$_][0-9a-zA-Z$_]*",i="'?[a-z$_][0-9a-z$_]*",o="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+i+"\\s*(,"+i+"\\s*)*)?\\))?",s=r+"("+o+"){0,2}",l="("+n(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",u="\\s+"+l+"\\s+",d={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},p="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",f={className:"number",relevance:0,variants:[{begin:p},{begin:"\\(-"+p+"\\)"}]},m={className:"operator",relevance:0,begin:l},g=[{className:"identifier",relevance:0,begin:r},m,f],h=[t.QUOTE_STRING_MODE,m,{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",contains:[{className:"identifier",begin:a,relevance:0}]}],v=[{className:"module",begin:"\\b"+a,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:a,relevance:0}]}],S={begin:r,end:"(,|\\n|\\))",relevance:0,contains:[m,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:v}]},_={className:"function",relevance:0,keywords:d,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+r+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:r},{begin:s},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[S]}]},{begin:"\\(\\.\\s"+r+"\\)\\s*=>"}]};h.push(_);const E={className:"constructor",begin:a+"\\(",end:"\\)",illegal:"\\n",keywords:d,contains:[t.QUOTE_STRING_MODE,m,{className:"params",begin:"\\b"+r}]},y={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:d,end:"=>",relevance:0,contains:[E,m,{relevance:0,className:"constructor",begin:a}]},C={className:"module-access",keywords:d,returnBegin:!0,variants:[{begin:"\\b("+a+"\\.)+"+r},{begin:"\\b("+a+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[_,{begin:"\\(",end:"\\)",skip:!0}].concat(h)},{begin:"\\b("+a+"\\.)+\\{",end:/\}/}],contains:h};return v.push(C),{name:"ReasonML",aliases:["re"],keywords:d,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[t.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},t.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:g},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:g},E,{className:"operator",begin:u,illegal:"-->",relevance:0},f,t.C_LINE_COMMENT_MODE,y,_,{className:"module-def",begin:"\\bmodule\\s+"+r+"\\s+"+a+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:d,relevance:0,contains:[{className:"module",relevance:0,begin:a},{begin:/\{/,end:/\}/,skip:!0}].concat(h)},C]}}return UT=e,UT}var jT,sj;function eze(){if(sj)return jT;sj=1;function e(t){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},t.COMMENT("^#","$"),l,u,s,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[l,u,s,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+a.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"builtin-name",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return HT=e,HT}var GT,uj;function rze(){if(uj)return GT;uj=1;function e(t){return{name:"RenderMan RSL",keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:""}]}}return qT=e,qT}var WT,fj;function oze(){if(fj)return WT;fj=1;function e(t){return{name:"SAS",case_insensitive:!0,keywords:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:"do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where"},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{className:"emphasis",begin:/^\s*datalines|cards.*;/,end:/^\s*;\s*$/},{className:"built_in",begin:"%("+"bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window"+")"},{className:"name",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:"[^%]("+"abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate"+")[(]"},{className:"string",variants:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},t.COMMENT("\\*",";"),t.C_BLOCK_COMMENT_MODE]}}return WT=e,WT}var YT,mj;function sze(){if(mj)return YT;mj=1;function e(t){const n={className:"meta",begin:"@[A-Za-z]+"},r={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},a={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,r]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[r],relevance:10}]},i={className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},o={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},s={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},l={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[o]},s]},u={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[s]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,o,u,l,t.C_NUMBER_MODE,n]}}return YT=e,YT}var KT,gj;function lze(){if(gj)return KT;gj=1;function e(t){const n="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",r="(-|\\+)?\\d+([./]\\d+)?",a=r+"[+\\-]"+r+"i",i={$pattern:n,"builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+n+"|#\\\\.)"},s={className:"number",variants:[{begin:r,relevance:0},{begin:a,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},l=t.QUOTE_STRING_MODE,u=[t.COMMENT(";","$",{relevance:0}),t.COMMENT("#\\|","\\|#")],d={begin:n,relevance:0},p={className:"symbol",begin:"'"+n},f={endsWithParent:!0,relevance:0},m={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,l,s,d,p]}]},g={className:"name",relevance:0,begin:n,keywords:i},v={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[g,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[d]}]},g,f]};return f.contains=[o,s,l,d,p,m,v].concat(u),{name:"Scheme",illegal:/\S/,contains:[t.SHEBANG(),s,l,p,m,v].concat(u)}}return KT=e,KT}var XT,hj;function cze(){if(hj)return XT;hj=1;function e(t){const n=[t.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[t.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[t.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:n},t.COMMENT("//","$")].concat(n)}}return XT=e,XT}var QT,vj;function uze(){if(vj)return QT;vj=1;const e=s=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(s){const l=e(s),u=a,d=r,p="@[a-z-]+",f="and or not only",g={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},l.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+t.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+d.join("|")+")"},{className:"selector-pseudo",begin:"::("+u.join("|")+")"},g,{begin:/\(/,end:/\)/,contains:[s.CSS_NUMBER_MODE]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[g,l.HEXCOLOR,s.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.IMPORTANT]},{begin:"@(page|font-face)",lexemes:p,keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:f,attribute:n.join(" ")},contains:[{begin:p,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},g,s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,l.HEXCOLOR,s.CSS_NUMBER_MODE]}]}}return QT=o,QT}var ZT,_j;function dze(){if(_j)return ZT;_j=1;function e(t){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return ZT=e,ZT}var JT,bj;function pze(){if(bj)return JT;bj=1;function e(t){const n=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],r=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],a=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},t.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+a.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+n.join("|")+")\\s"},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+r.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: -]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return JT=e,JT}var ex,Sj;function fze(){if(Sj)return ex;Sj=1;function e(t){const n="[a-z][a-zA-Z0-9_]*",r={className:"string",begin:"\\$.{1}"},a={className:"symbol",begin:"#"+t.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:"self super nil true false thisContext",contains:[t.COMMENT('"','"'),t.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:n+":",relevance:0},t.C_NUMBER_MODE,a,r,{begin:"\\|[ ]*"+n+"([ ]+"+n+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+n}]},{begin:"#\\(",end:"\\)",contains:[t.APOS_STRING_MODE,r,t.C_NUMBER_MODE,a]}]}}return ex=e,ex}var tx,Ej;function mze(){if(Ej)return tx;Ej=1;function e(t){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"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 with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},t.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},t.inherit(t.APOS_STRING_MODE,{className:"string",relevance:0}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return tx=e,tx}var nx,yj;function gze(){if(yj)return nx;yj=1;function e(t){const n={className:"variable",begin:/\b_+[a-zA-Z]\w*/},r={className:"title",begin:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/},a={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"define undef ifdef ifndef else endif include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(a,{className:"meta-string"}),{className:"meta-string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:"case catch default do else exit exitWith for forEach from if private switch then throw to try waitUntil while with",built_in:"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 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 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 and 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 boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call 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 className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio 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 configProperties configSourceAddonList configSourceMod configSourceModList confirmSensorTarget connectTerminalToUAV 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 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 ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight 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_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 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 echo 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 enableTeamSwitch enableTraffic enableUAVConnectability enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM 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 forcedMap forceEnd forceFlagTexture forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam 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 getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit 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 inflame inflamed infoPanel infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest 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 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 leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize 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 mod 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 not numberOfEnginesRTD numberToDate objectCurators objectFromNetId objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace particlesQuality 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 preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority processDiaryLink 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 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 scopeName score scoreSide screenshot screenToWorld scriptDone scriptName 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 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 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 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 sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step 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 taskParent taskResult taskState taskType teamMember 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 tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected 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 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 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 WFSideText wind ",literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic sideUnknown taskNull teamMemberNull true west"},contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.NUMBER_MODE,n,r,a,i],illegal:/#|^\$ /}}return nx=e,nx}var rx,Cj;function hze(){if(Cj)return rx;Cj=1;function e(t){var n=t.COMMENT("--","$");return{name:"SQL (more)",aliases:["mysql","oracle"],disableAutodetect:!0,case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,t.HASH_COMMENT_MODE]},t.C_BLOCK_COMMENT_MODE,n,t.HASH_COMMENT_MODE]}}return rx=e,rx}var ax,Tj;function vze(){if(Tj)return ax;Tj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i=a.COMMENT("--","$"),o={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},s={begin:/"/,end:/"/,contains:[{begin:/""/}]},l=["true","false","unknown"],u=["double precision","large object","with timezone","without timezone"],d=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],p=["add","asc","collation","desc","final","first","last","view"],f=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],m=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],g=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],h=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],v=m,S=[...f,...p].filter(T=>!m.includes(T)),_={className:"variable",begin:/@[a-z0-9]+/},E={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:t(/\b/,n(...v),/\s*\(/),keywords:{built_in:v}};function C(T,{exceptions:x,when:R}={}){const w=R;return x=x||[],T.map(I=>I.match(/\|\d+$/)||x.includes(I)?I:w(I)?`${I}|0`:I)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:C(S,{when:T=>T.length<3}),literal:l,type:d,built_in:g},contains:[{begin:n(...h),keywords:{$pattern:/[\w\.]+/,keyword:S.concat(h),literal:l,type:d}},{className:"type",begin:n(...u)},y,_,o,s,a.C_NUMBER_MODE,a.C_BLOCK_COMMENT_MODE,i,E]}}return ax=r,ax}var ix,xj;function _ze(){if(xj)return ix;xj=1;function e(t){const n=["functions","model","data","parameters","quantities","transformed","generated"],r=["for","in","if","else","while","break","continue","return"],a=["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"],i=["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["Phi","Phi_approx","abs","acos","acosh","algebra_solver","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bernoulli_cdf","bernoulli_lccdf","bernoulli_lcdf","bernoulli_logit_lpmf","bernoulli_logit_rng","bernoulli_lpmf","bernoulli_rng","bessel_first_kind","bessel_second_kind","beta_binomial_cdf","beta_binomial_lccdf","beta_binomial_lcdf","beta_binomial_lpmf","beta_binomial_rng","beta_cdf","beta_lccdf","beta_lcdf","beta_lpdf","beta_rng","binary_log_loss","binomial_cdf","binomial_coefficient_log","binomial_lccdf","binomial_lcdf","binomial_logit_lpmf","binomial_lpmf","binomial_rng","block","categorical_logit_lpmf","categorical_logit_rng","categorical_lpmf","categorical_rng","cauchy_cdf","cauchy_lccdf","cauchy_lcdf","cauchy_lpdf","cauchy_rng","cbrt","ceil","chi_square_cdf","chi_square_lccdf","chi_square_lcdf","chi_square_lpdf","chi_square_rng","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","dirichlet_lpdf","dirichlet_rng","distance","dot_product","dot_self","double_exponential_cdf","double_exponential_lccdf","double_exponential_lcdf","double_exponential_lpdf","double_exponential_rng","e","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","exp_mod_normal_cdf","exp_mod_normal_lccdf","exp_mod_normal_lcdf","exp_mod_normal_lpdf","exp_mod_normal_rng","expm1","exponential_cdf","exponential_lccdf","exponential_lcdf","exponential_lpdf","exponential_rng","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","frechet_cdf","frechet_lccdf","frechet_lcdf","frechet_lpdf","frechet_rng","gamma_cdf","gamma_lccdf","gamma_lcdf","gamma_lpdf","gamma_p","gamma_q","gamma_rng","gaussian_dlm_obs_lpdf","get_lp","gumbel_cdf","gumbel_lccdf","gumbel_lcdf","gumbel_lpdf","gumbel_rng","head","hypergeometric_lpmf","hypergeometric_rng","hypot","inc_beta","int_step","integrate_ode","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_chi_square_cdf","inv_chi_square_lccdf","inv_chi_square_lcdf","inv_chi_square_lpdf","inv_chi_square_rng","inv_cloglog","inv_gamma_cdf","inv_gamma_lccdf","inv_gamma_lcdf","inv_gamma_lpdf","inv_gamma_rng","inv_logit","inv_sqrt","inv_square","inv_wishart_lpdf","inv_wishart_rng","inverse","inverse_spd","is_inf","is_nan","lbeta","lchoose","lgamma","lkj_corr_cholesky_lpdf","lkj_corr_cholesky_rng","lkj_corr_lpdf","lkj_corr_rng","lmgamma","lmultiply","log","log10","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log2","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_mix","log_rising_factorial","log_softmax","log_sum_exp","logistic_cdf","logistic_lccdf","logistic_lcdf","logistic_lpdf","logistic_rng","logit","lognormal_cdf","lognormal_lccdf","lognormal_lcdf","lognormal_lpdf","lognormal_rng","machine_precision","matrix_exp","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multi_gp_cholesky_lpdf","multi_gp_lpdf","multi_normal_cholesky_lpdf","multi_normal_cholesky_rng","multi_normal_lpdf","multi_normal_prec_lpdf","multi_normal_rng","multi_student_t_lpdf","multi_student_t_rng","multinomial_lpmf","multinomial_rng","multiply_log","multiply_lower_tri_self_transpose","neg_binomial_2_cdf","neg_binomial_2_lccdf","neg_binomial_2_lcdf","neg_binomial_2_log_lpmf","neg_binomial_2_log_rng","neg_binomial_2_lpmf","neg_binomial_2_rng","neg_binomial_cdf","neg_binomial_lccdf","neg_binomial_lcdf","neg_binomial_lpmf","neg_binomial_rng","negative_infinity","normal_cdf","normal_lccdf","normal_lcdf","normal_lpdf","normal_rng","not_a_number","num_elements","ordered_logistic_lpmf","ordered_logistic_rng","owens_t","pareto_cdf","pareto_lccdf","pareto_lcdf","pareto_lpdf","pareto_rng","pareto_type_2_cdf","pareto_type_2_lccdf","pareto_type_2_lcdf","pareto_type_2_lpdf","pareto_type_2_rng","pi","poisson_cdf","poisson_lccdf","poisson_lcdf","poisson_log_lpmf","poisson_log_rng","poisson_lpmf","poisson_rng","positive_infinity","pow","print","prod","qr_Q","qr_R","quad_form","quad_form_diag","quad_form_sym","rank","rayleigh_cdf","rayleigh_lccdf","rayleigh_lcdf","rayleigh_lpdf","rayleigh_rng","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scaled_inv_chi_square_cdf","scaled_inv_chi_square_lccdf","scaled_inv_chi_square_lcdf","scaled_inv_chi_square_lpdf","scaled_inv_chi_square_rng","sd","segment","sin","singular_values","sinh","size","skew_normal_cdf","skew_normal_lccdf","skew_normal_lcdf","skew_normal_lpdf","skew_normal_rng","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","sqrt2","square","squared_distance","step","student_t_cdf","student_t_lccdf","student_t_lcdf","student_t_lpdf","student_t_rng","sub_col","sub_row","sum","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_cdf","uniform_lccdf","uniform_lcdf","uniform_lpdf","uniform_rng","variance","von_mises_lpdf","von_mises_rng","weibull_cdf","weibull_lccdf","weibull_lcdf","weibull_lpdf","weibull_rng","wiener_lpdf","wishart_lpdf","wishart_rng"],s=["bernoulli","bernoulli_logit","beta","beta_binomial","binomial","binomial_logit","categorical","categorical_logit","cauchy","chi_square","dirichlet","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","neg_binomial","neg_binomial_2","neg_binomial_2_log","normal","ordered_logistic","pareto","pareto_type_2","poisson","poisson_log","rayleigh","scaled_inv_chi_square","skew_normal","student_t","uniform","von_mises","weibull","wiener","wishart"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:t.IDENT_RE,title:n,keyword:r.concat(i).concat(a),built_in:o},contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/#/,/$/,{relevance:0,keywords:{"meta-keyword":"include"}}),t.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{className:"doctag",begin:/@(return|param)/}]}),{begin:/<\s*lower\s*=/,keywords:"lower"},{begin:/[<,]\s*upper\s*=/,keywords:"upper"},{className:"keyword",begin:/\btarget\s*\+=/,relevance:10},{begin:"~\\s*("+t.IDENT_RE+")\\s*\\(",keywords:s},{className:"number",variants:[{begin:/\b\d+(?:\.\d*)?(?:[eE][+-]?\d+)?/},{begin:/\.\d+(?:[eE][+-]?\d+)?\b/}],relevance:0},{className:"string",begin:'"',end:'"',relevance:0}]}}return ix=e,ix}var ox,Rj;function bze(){if(Rj)return ox;Rj=1;function e(t){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/},{className:"string",variants:[{begin:`\`"[^\r -]*?"'`},{begin:`"[^\r -"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},t.COMMENT("^[ ]*\\*.*$",!1),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]}}return ox=e,ox}var sx,wj;function Sze(){if(wj)return sx;wj=1;function e(t){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,t.COMMENT("/\\*\\*!","\\*/"),t.C_NUMBER_MODE,t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return sx=e,sx}var lx,Ij;function Eze(){if(Ij)return lx;Ij=1;const e=s=>({IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE]}}),t=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],n=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],r=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],a=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],i=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function o(s){const l=e(s),u="and or not only",d={className:"variable",begin:"\\$"+s.IDENT_RE},p=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],f="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[s.QUOTE_STRING_MODE,s.APOS_STRING_MODE,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,l.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+f,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+f,className:"selector-id"},{begin:"\\b("+t.join("|")+")"+f,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+r.join("|")+")"+f},{className:"selector-pseudo",begin:"&?::("+a.join("|")+")"+f},l.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:u,attribute:n.join(" ")},contains:[s.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+p.join("|")+"))\\b"},d,s.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[l.HEXCOLOR,d,s.APOS_STRING_MODE,s.CSS_NUMBER_MODE,s.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+i.join("|")+")\\b",starts:{end:/;|$/,contains:[l.HEXCOLOR,d,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,s.CSS_NUMBER_MODE,s.C_BLOCK_COMMENT_MODE,l.IMPORTANT],illegal:/\./,relevance:0}}]}}return lx=o,lx}var cx,Oj;function yze(){if(Oj)return cx;Oj=1;function e(t){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ -(multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return cx=e,cx}var ux,Nj;function Cze(){if(Nj)return ux;Nj=1;function e(x){return x?typeof x=="string"?x:x.source:null}function t(x){return n("(?=",x,")")}function n(...x){return x.map(w=>e(w)).join("")}function r(...x){return"("+x.map(w=>e(w)).join("|")+")"}const a=x=>n(/\b/,x,/\w$/.test(x)?/\b/:/\B/),i=["Protocol","Type"].map(a),o=["init","self"].map(a),s=["Any","Self"],l=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],u=["false","nil","true"],d=["assignment","associativity","higherThan","left","lowerThan","none","right"],p=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],f=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],m=r(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),g=r(m,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),h=n(m,g,"*"),v=r(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),S=r(v,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),_=n(v,S,"*"),E=n(/[A-Z]/,S,"*"),y=["autoclosure",n(/convention\(/,r("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",n(/objc\(/,_,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],C=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function T(x){const R={match:/\s+/,relevance:0},w=x.COMMENT("/\\*","\\*/",{contains:["self"]}),I=[x.C_LINE_COMMENT_MODE,w],O={className:"keyword",begin:n(/\./,t(r(...i,...o))),end:r(...i,...o),excludeBegin:!0},k={match:n(/\./,r(...l)),relevance:0},P=l.filter(ye=>typeof ye=="string").concat(["_|0"]),M=l.filter(ye=>typeof ye!="string").concat(s).map(a),N={variants:[{className:"keyword",match:r(...M,...o)}]},A={$pattern:r(/\b\w+/,/#\w+/),keyword:P.concat(p),literal:u},D=[O,k,N],L={match:n(/\./,r(...f)),relevance:0},$={className:"built_in",match:n(/\b/,r(...f),/(?=\()/)},F=[L,$],B={match:/->/,relevance:0},z={className:"operator",relevance:0,variants:[{match:h},{match:`\\.(\\.|${g})+`}]},U=[B,z],j="([0-9]_*)+",G="([0-9a-fA-F]_*)+",J={className:"number",relevance:0,variants:[{match:`\\b(${j})(\\.(${j}))?([eE][+-]?(${j}))?\\b`},{match:`\\b0x(${G})(\\.(${G}))?([pP][+-]?(${j}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},Y=(ye="")=>({className:"subst",variants:[{match:n(/\\/,ye,/[0\\tnr"']/)},{match:n(/\\/,ye,/u\{[0-9a-fA-F]{1,8}\}/)}]}),X=(ye="")=>({className:"subst",match:n(/\\/,ye,/[\t ]*(?:[\r\n]|\r\n)/)}),V=(ye="")=>({className:"subst",label:"interpol",begin:n(/\\/,ye,/\(/),end:/\)/}),H=(ye="")=>({begin:n(ye,/"""/),end:n(/"""/,ye),contains:[Y(ye),X(ye),V(ye)]}),q=(ye="")=>({begin:n(ye,/"/),end:n(/"/,ye),contains:[Y(ye),V(ye)]}),K={className:"string",variants:[H(),H("#"),H("##"),H("###"),q(),q("#"),q("##"),q("###")]},Z={match:n(/`/,_,/`/)},te={className:"variable",match:/\$\d+/},se={className:"variable",match:`\\$${S}+`},ue=[Z,te,se],me={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:C,contains:[...U,J,K]}]}},de={className:"keyword",match:n(/@/,r(...y))},Te={className:"meta",match:n(/@/,_)},Ee=[me,de,Te],ge={match:t(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:n(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,S,"+")},{className:"type",match:E,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:n(/\s+&\s+/,t(E)),relevance:0}]},re={begin://,keywords:A,contains:[...I,...D,...Ee,B,ge]};ge.contains.push(re);const ne={match:n(_,/\s*:/),keywords:"_|0",relevance:0},ae={begin:/\(/,end:/\)/,relevance:0,keywords:A,contains:["self",ne,...I,...D,...F,...U,J,K,...ue,...Ee,ge]},le={beginKeywords:"func",contains:[{className:"title",match:r(Z.match,_,h),endsParent:!0,relevance:0},R]},pe={begin://,contains:[...I,ge]},Re={begin:r(t(n(_,/\s*:/)),t(n(_,/\s+/,_,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:_}]},Se={begin:/\(/,end:/\)/,keywords:A,contains:[Re,...I,...D,...U,J,K,...Ee,ge,ae],endsParent:!0,illegal:/["']/},Pe={className:"function",match:t(/\bfunc\b/),contains:[le,pe,Se,R],illegal:[/\[/,/%/]},fe={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[pe,Se,R],illegal:/\[|%/},ve={beginKeywords:"operator",end:x.MATCH_NOTHING_RE,contains:[{className:"title",match:h,endsParent:!0,relevance:0}]},Ae={beginKeywords:"precedencegroup",end:x.MATCH_NOTHING_RE,contains:[{className:"title",match:E,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...d,...u],contains:[ge]}]};for(const ye of K.variants){const be=ye.contains.find(Ie=>Ie.label==="interpol");be.keywords=A;const Ne=[...D,...F,...U,J,K,...ue];be.contains=[...Ne,{begin:/\(/,end:/\)/,contains:["self",...Ne]}]}return{name:"Swift",keywords:A,contains:[...I,Pe,fe,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:A,contains:[x.inherit(x.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...D]},ve,Ae,{beginKeywords:"import",end:/$/,contains:[...I],relevance:0},...D,...F,...U,J,K,...ue,...Ee,ge,ae]}}return ux=T,ux}var dx,Aj;function Tze(){if(Aj)return dx;Aj=1;function e(t){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}return dx=e,dx}var px,Dj;function xze(){if(Dj)return px;Dj=1;function e(t){var n="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},s=t.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l="[0-9]{4}(-[0-9][0-9]){0,2}",u="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",d="(\\.[0-9]*)?",p="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+l+u+d+p+"\\b"},m={end:",",endsWithParent:!0,excludeEnd:!0,keywords:n,relevance:0},g={begin:/\{/,end:/\}/,contains:[m],illegal:"\\n",relevance:0},h={begin:"\\[",end:"\\]",contains:[m],illegal:"\\n",relevance:0},v=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:n,keywords:{literal:n}},f,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,h,o],S=[...v];return S.pop(),S.push(s),m.contains=S,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return px=e,px}var fx,Mj;function Rze(){if(Mj)return fx;Mj=1;function e(t){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[t.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return fx=e,fx}var mx,Lj;function wze(){if(Lj)return mx;Lj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(a){return n("(",a,")?")}function n(...a){return a.map(o=>e(o)).join("")}function r(a){const i=/[a-zA-Z_][a-zA-Z0-9_]*/,o={className:"number",variants:[a.BINARY_NUMBER_MODE,a.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[a.COMMENT(";[ \\t]*#","$"),a.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:n(/\$/,t(/::/),i,"(::",i,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[o]}]},{className:"string",contains:[a.BACKSLASH_ESCAPE],variants:[a.inherit(a.QUOTE_STRING_MODE,{illegal:null})]},o]}}return mx=r,mx}var gx,kj;function Ize(){if(kj)return gx;kj=1;function e(t){const n="bool byte i16 i32 i64 double string binary";return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:n,literal:"true false"},contains:[t.QUOTE_STRING_MODE,t.NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:n,contains:["self"]}]}}return gx=e,gx}var hx,Pj;function Oze(){if(Pj)return hx;Pj=1;function e(t){const n={className:"number",begin:"[1-9][0-9]*",relevance:0},r={className:"symbol",begin:":[^\\]]+"},a={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",n,r]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",n,t.QUOTE_STRING_MODE,r]};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[a,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},t.COMMENT("//","[;$]"),t.COMMENT("!","[;$]"),t.COMMENT("--eg:","$"),t.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},t.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return hx=e,hx}var vx,$j;function Nze(){if($j)return vx;$j=1;function e(t){var n={className:"params",begin:"\\(",end:"\\)"},r="attribute block constant cycle date dump include max min parent random range source template_from_string",a={beginKeywords:r,keywords:{name:r},relevance:0,contains:[n]},i={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[a]},o="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return o=o+" "+o.split(" ").map(function(s){return"end"+s}).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[t.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:o,starts:{endsWithParent:!0,contains:[i,a],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",i,a]}]}}return vx=e,vx}var _x,Fj;function Aze(){if(Fj)return _x;Fj=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],n=["true","false","null","undefined","NaN","Infinity"],r=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],a=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","module","global"],s=[].concat(i,o,r,a);function l(m){return m?typeof m=="string"?m:m.source:null}function u(m){return d("(?=",m,")")}function d(...m){return m.map(h=>l(h)).join("")}function p(m){const g=(D,{after:L})=>{const $="",end:""},S={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(D,L)=>{const $=D[0].length+D.index,F=D.input[$];if(F==="<"){L.ignoreMatch();return}F===">"&&(g(D,{after:$})||L.ignoreMatch())}},_={$pattern:e,keyword:t,literal:n,built_in:s},E="[0-9](_?[0-9])*",y=`\\.(${E})`,C="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",T={className:"number",variants:[{begin:`(\\b(${C})((${y})|\\.)?|(${y}))[eE][+-]?(${E})\\b`},{begin:`\\b(${C})\\b((${y})\\b|\\.)?|(${y})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},x={className:"subst",begin:"\\$\\{",end:"\\}",keywords:_,contains:[]},R={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,x],subLanguage:"xml"}},w={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,x],subLanguage:"css"}},I={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,x]},k={className:"comment",variants:[m.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:h+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]},P=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,w,I,T,m.REGEXP_MODE];x.contains=P.concat({begin:/\{/,end:/\}/,keywords:_,contains:["self"].concat(P)});const M=[].concat(k,x.contains),N=M.concat([{begin:/\(/,end:/\)/,keywords:_,contains:["self"].concat(M)}]),A={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:N};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:_,exports:{PARAMS_CONTAINS:N},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,w,I,k,T,{begin:d(/[{,\n]\s*/,u(d(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,h+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:h+u("\\s*:"),relevance:0}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[k,m.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+m.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:_,contains:N}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:v.begin,end:v.end},{begin:S.begin,"on:begin":S.isTrulyOpeningTag,end:S.end}],subLanguage:"xml",contains:[{begin:S.begin,end:S.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:_,contains:["self",m.inherit(m.TITLE_MODE,{begin:h}),A],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[A,m.inherit(m.TITLE_MODE,{begin:h})]},{variants:[{begin:"\\."+h},{begin:"\\$"+h}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},m.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:h}),"self",A]},{begin:"(get|set)\\s+(?="+h+"\\()",end:/\{/,keywords:"get set",contains:[m.inherit(m.TITLE_MODE,{begin:h}),{begin:/\(\)/},A]},{begin:/\$[(.]/}]}}function f(m){const g=e,h={beginKeywords:"namespace",end:/\{/,excludeEnd:!0},v={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},S={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},_=["any","void","number","boolean","string","object","never","enum"],E=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"],y={$pattern:e,keyword:t.concat(E),literal:n,built_in:s.concat(_)},C={className:"meta",begin:"@"+g},T=(w,I,O)=>{const k=w.contains.findIndex(P=>P.label===I);if(k===-1)throw new Error("can not find mode to replace");w.contains.splice(k,1,O)},x=p(m);Object.assign(x.keywords,y),x.exports.PARAMS_CONTAINS.push(C),x.contains=x.contains.concat([C,h,v]),T(x,"shebang",m.SHEBANG()),T(x,"use_strict",S);const R=x.contains.find(w=>w.className==="function");return R.relevance=0,Object.assign(x,{name:"TypeScript",aliases:["ts","tsx"]}),x}return _x=f,_x}var bx,Bj;function Dze(){if(Bj)return bx;Bj=1;function e(t){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[t.UNDERSCORE_TITLE_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,t.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}return bx=e,bx}var Sx,Uj;function Mze(){if(Uj)return Sx;Uj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i={className:"string",begin:/"(""|[^/n])"C\b/},o={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},s=/\d{1,2}\/\d{1,2}\/\d{4}/,l=/\d{4}-\d{1,2}-\d{1,2}/,u=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,d=/\d{1,2}(:\d{1,2}){1,2}/,p={className:"literal",variants:[{begin:t(/# */,n(l,s),/ *#/)},{begin:t(/# */,d,/ *#/)},{begin:t(/# */,u,/ *#/)},{begin:t(/# */,n(l,s),/ +/,n(u,d),/ *#/)}]},f={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},m={className:"label",begin:/^\w+:/},g=a.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),h=a.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[i,o,p,f,m,g,h,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[h]}]}}return Sx=r,Sx}var Ex,jj;function Lze(){if(jj)return Ex;jj=1;function e(a){return a?typeof a=="string"?a:a.source:null}function t(...a){return a.map(o=>e(o)).join("")}function n(...a){return"("+a.map(o=>e(o)).join("|")+")"}function r(a){const i="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" "),o=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],s={begin:t(n(...i),"\\s*\\("),relevance:0,keywords:{built_in:i}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:o,literal:"true false null nothing empty"},illegal:"//",contains:[s,a.inherit(a.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),a.COMMENT(/'/,/$/,{relevance:0}),a.C_NUMBER_MODE]}}return Ex=r,Ex}var yx,zj;function kze(){if(zj)return yx;zj=1;function e(t){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return yx=e,yx}var Cx,Hj;function Pze(){if(Hj)return Cx;Hj=1;function e(t){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 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 reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE,t.QUOTE_STRING_MODE,{className:"number",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}return Cx=e,Cx}var Tx,Gj;function $ze(){if(Gj)return Tx;Gj=1;function e(t){const n="\\d(_|\\d)*",r="[eE][-+]?"+n,a=n+"(\\."+n+")?("+r+")?",i="\\w+",s="\\b("+(n+"#"+i+"(\\."+i+")?#("+r+")?")+"|"+a+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[t.C_BLOCK_COMMENT_MODE,t.COMMENT("--","$"),t.QUOTE_STRING_MODE,{className:"number",begin:s,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[t.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[t.BACKSLASH_ESCAPE]}]}}return Tx=e,Tx}var xx,Vj;function Fze(){if(Vj)return xx;Vj=1;function e(t){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[t.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},t.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[t.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return xx=e,xx}var Rx,qj;function Bze(){if(qj)return Rx;qj=1;function e(t){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+t.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[t.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},t.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return Rx=e,Rx}var wx,Wj;function Uze(){if(Wj)return wx;Wj=1;function e(t){const r={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+"ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},a={className:"string",begin:'"',end:'"',illegal:"\\n"},i={className:"string",begin:"'",end:"'",illegal:"\\n"},o={className:"string",begin:"<<",end:">>"},s={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},l={beginKeywords:"import",end:"$",keywords:r,contains:[a]},u={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[t.inherit(t.TITLE_MODE,{starts:{endsWithParent:!0,keywords:r}})]};return{name:"XL",aliases:["tao"],keywords:r,contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,a,i,o,u,l,s,t.NUMBER_MODE]}}return wx=e,wx}var Ix,Yj;function jze(){if(Yj)return Ix;Yj=1;function e(t){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return Ix=e,Ix}var Ox,Kj;function zze(){if(Kj)return Ox;Kj=1;function e(t){const n={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[t.inherit(t.APOS_STRING_MODE,{illegal:null}),t.inherit(t.QUOTE_STRING_MODE,{illegal:null})]},r=t.UNDERSCORE_TITLE_MODE,a={variants:[t.BINARY_NUMBER_MODE,t.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[t.C_LINE_COMMENT_MODE,t.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[t.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[r,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",t.C_BLOCK_COMMENT_MODE,n,a]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},r]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[r]},{beginKeywords:"use",end:/;/,contains:[r]},{begin:/=>/},n,a]}}return Ox=e,Ox}var Le=cp,Hze=Le;Le.registerLanguage("1c",m8e());Le.registerLanguage("abnf",g8e());Le.registerLanguage("accesslog",h8e());Le.registerLanguage("actionscript",v8e());Le.registerLanguage("ada",_8e());Le.registerLanguage("angelscript",b8e());Le.registerLanguage("apache",S8e());Le.registerLanguage("applescript",E8e());Le.registerLanguage("arcade",y8e());Le.registerLanguage("arduino",C8e());Le.registerLanguage("armasm",T8e());Le.registerLanguage("xml",x8e());Le.registerLanguage("asciidoc",R8e());Le.registerLanguage("aspectj",w8e());Le.registerLanguage("autohotkey",I8e());Le.registerLanguage("autoit",O8e());Le.registerLanguage("avrasm",N8e());Le.registerLanguage("awk",A8e());Le.registerLanguage("axapta",D8e());Le.registerLanguage("bash",M8e());Le.registerLanguage("basic",L8e());Le.registerLanguage("bnf",k8e());Le.registerLanguage("brainfuck",P8e());Le.registerLanguage("c-like",$8e());Le.registerLanguage("c",F8e());Le.registerLanguage("cal",B8e());Le.registerLanguage("capnproto",U8e());Le.registerLanguage("ceylon",j8e());Le.registerLanguage("clean",z8e());Le.registerLanguage("clojure",H8e());Le.registerLanguage("clojure-repl",G8e());Le.registerLanguage("cmake",V8e());Le.registerLanguage("coffeescript",q8e());Le.registerLanguage("coq",W8e());Le.registerLanguage("cos",Y8e());Le.registerLanguage("cpp",K8e());Le.registerLanguage("crmsh",X8e());Le.registerLanguage("crystal",Q8e());Le.registerLanguage("csharp",Z8e());Le.registerLanguage("csp",J8e());Le.registerLanguage("css",e5e());Le.registerLanguage("d",t5e());Le.registerLanguage("markdown",n5e());Le.registerLanguage("dart",r5e());Le.registerLanguage("delphi",a5e());Le.registerLanguage("diff",i5e());Le.registerLanguage("django",o5e());Le.registerLanguage("dns",s5e());Le.registerLanguage("dockerfile",l5e());Le.registerLanguage("dos",c5e());Le.registerLanguage("dsconfig",u5e());Le.registerLanguage("dts",d5e());Le.registerLanguage("dust",p5e());Le.registerLanguage("ebnf",f5e());Le.registerLanguage("elixir",m5e());Le.registerLanguage("elm",g5e());Le.registerLanguage("ruby",h5e());Le.registerLanguage("erb",v5e());Le.registerLanguage("erlang-repl",_5e());Le.registerLanguage("erlang",b5e());Le.registerLanguage("excel",S5e());Le.registerLanguage("fix",E5e());Le.registerLanguage("flix",y5e());Le.registerLanguage("fortran",C5e());Le.registerLanguage("fsharp",T5e());Le.registerLanguage("gams",x5e());Le.registerLanguage("gauss",R5e());Le.registerLanguage("gcode",w5e());Le.registerLanguage("gherkin",I5e());Le.registerLanguage("glsl",O5e());Le.registerLanguage("gml",N5e());Le.registerLanguage("go",A5e());Le.registerLanguage("golo",D5e());Le.registerLanguage("gradle",M5e());Le.registerLanguage("groovy",L5e());Le.registerLanguage("haml",k5e());Le.registerLanguage("handlebars",P5e());Le.registerLanguage("haskell",$5e());Le.registerLanguage("haxe",F5e());Le.registerLanguage("hsp",B5e());Le.registerLanguage("htmlbars",U5e());Le.registerLanguage("http",j5e());Le.registerLanguage("hy",z5e());Le.registerLanguage("inform7",H5e());Le.registerLanguage("ini",G5e());Le.registerLanguage("irpf90",V5e());Le.registerLanguage("isbl",q5e());Le.registerLanguage("java",W5e());Le.registerLanguage("javascript",Y5e());Le.registerLanguage("jboss-cli",K5e());Le.registerLanguage("json",X5e());Le.registerLanguage("julia",Q5e());Le.registerLanguage("julia-repl",Z5e());Le.registerLanguage("kotlin",J5e());Le.registerLanguage("lasso",eje());Le.registerLanguage("latex",tje());Le.registerLanguage("ldif",nje());Le.registerLanguage("leaf",rje());Le.registerLanguage("less",aje());Le.registerLanguage("lisp",ije());Le.registerLanguage("livecodeserver",oje());Le.registerLanguage("livescript",sje());Le.registerLanguage("llvm",lje());Le.registerLanguage("lsl",cje());Le.registerLanguage("lua",uje());Le.registerLanguage("makefile",dje());Le.registerLanguage("mathematica",pje());Le.registerLanguage("matlab",fje());Le.registerLanguage("maxima",mje());Le.registerLanguage("mel",gje());Le.registerLanguage("mercury",hje());Le.registerLanguage("mipsasm",vje());Le.registerLanguage("mizar",_je());Le.registerLanguage("perl",bje());Le.registerLanguage("mojolicious",Sje());Le.registerLanguage("monkey",Eje());Le.registerLanguage("moonscript",yje());Le.registerLanguage("n1ql",Cje());Le.registerLanguage("nginx",Tje());Le.registerLanguage("nim",xje());Le.registerLanguage("nix",Rje());Le.registerLanguage("node-repl",wje());Le.registerLanguage("nsis",Ije());Le.registerLanguage("objectivec",Oje());Le.registerLanguage("ocaml",Nje());Le.registerLanguage("openscad",Aje());Le.registerLanguage("oxygene",Dje());Le.registerLanguage("parser3",Mje());Le.registerLanguage("pf",Lje());Le.registerLanguage("pgsql",kje());Le.registerLanguage("php",Pje());Le.registerLanguage("php-template",$je());Le.registerLanguage("plaintext",Fje());Le.registerLanguage("pony",Bje());Le.registerLanguage("powershell",Uje());Le.registerLanguage("processing",jje());Le.registerLanguage("profile",zje());Le.registerLanguage("prolog",Hje());Le.registerLanguage("properties",Gje());Le.registerLanguage("protobuf",Vje());Le.registerLanguage("puppet",qje());Le.registerLanguage("purebasic",Wje());Le.registerLanguage("python",Yje());Le.registerLanguage("python-repl",Kje());Le.registerLanguage("q",Xje());Le.registerLanguage("qml",Qje());Le.registerLanguage("r",Zje());Le.registerLanguage("reasonml",Jje());Le.registerLanguage("rib",eze());Le.registerLanguage("roboconf",tze());Le.registerLanguage("routeros",nze());Le.registerLanguage("rsl",rze());Le.registerLanguage("ruleslanguage",aze());Le.registerLanguage("rust",ize());Le.registerLanguage("sas",oze());Le.registerLanguage("scala",sze());Le.registerLanguage("scheme",lze());Le.registerLanguage("scilab",cze());Le.registerLanguage("scss",uze());Le.registerLanguage("shell",dze());Le.registerLanguage("smali",pze());Le.registerLanguage("smalltalk",fze());Le.registerLanguage("sml",mze());Le.registerLanguage("sqf",gze());Le.registerLanguage("sql_more",hze());Le.registerLanguage("sql",vze());Le.registerLanguage("stan",_ze());Le.registerLanguage("stata",bze());Le.registerLanguage("step21",Sze());Le.registerLanguage("stylus",Eze());Le.registerLanguage("subunit",yze());Le.registerLanguage("swift",Cze());Le.registerLanguage("taggerscript",Tze());Le.registerLanguage("yaml",xze());Le.registerLanguage("tap",Rze());Le.registerLanguage("tcl",wze());Le.registerLanguage("thrift",Ize());Le.registerLanguage("tp",Oze());Le.registerLanguage("twig",Nze());Le.registerLanguage("typescript",Aze());Le.registerLanguage("vala",Dze());Le.registerLanguage("vbnet",Mze());Le.registerLanguage("vbscript",Lze());Le.registerLanguage("vbscript-html",kze());Le.registerLanguage("verilog",Pze());Le.registerLanguage("vhdl",$ze());Le.registerLanguage("vim",Fze());Le.registerLanguage("x86asm",Bze());Le.registerLanguage("xl",Uze());Le.registerLanguage("xquery",jze());Le.registerLanguage("zephir",zze());const Gze=xa(Hze),Vze=["1c","abnf","accesslog","actionscript","ada","angelscript","apache","applescript","arcade","arduino","armasm","asciidoc","aspectj","autohotkey","autoit","avrasm","awk","axapta","bash","basic","bnf","brainfuck","c-like","c","cal","capnproto","ceylon","clean","clojure-repl","clojure","cmake","coffeescript","coq","cos","cpp","crmsh","crystal","csharp","csp","css","d","dart","delphi","diff","django","dns","dockerfile","dos","dsconfig","dts","dust","ebnf","elixir","elm","erb","erlang-repl","erlang","excel","fix","flix","fortran","fsharp","gams","gauss","gcode","gherkin","glsl","gml","go","golo","gradle","groovy","haml","handlebars","haskell","haxe","hsp","htmlbars","http","hy","inform7","ini","irpf90","isbl","java","javascript","jboss-cli","json","julia-repl","julia","kotlin","lasso","latex","ldif","leaf","less","lisp","livecodeserver","livescript","llvm","lsl","lua","makefile","markdown","mathematica","matlab","maxima","mel","mercury","mipsasm","mizar","mojolicious","monkey","moonscript","n1ql","nginx","nim","nix","node-repl","nsis","objectivec","ocaml","openscad","oxygene","parser3","perl","pf","pgsql","php-template","php","plaintext","pony","powershell","processing","profile","prolog","properties","protobuf","puppet","purebasic","python-repl","python","q","qml","r","reasonml","rib","roboconf","routeros","rsl","ruby","ruleslanguage","rust","sas","scala","scheme","scilab","scss","shell","smali","smalltalk","sml","sqf","sql","sql_more","stan","stata","step21","stylus","subunit","swift","taggerscript","tap","tcl","thrift","tp","twig","typescript","vala","vbnet","vbscript-html","vbscript","verilog","vhdl","vim","x86asm","xl","xml","xquery","yaml","zephir"];var vre=ore(Gze,o6e);vre.supportedLanguages=Vze;const qze="modulepreload",Wze=function(e){return"/web/"+e},Xj={},Zo=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),s=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));a=Promise.allSettled(n.map(l=>{if(l=Wze(l),l in Xj)return;Xj[l]=!0;const u=l.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${d}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":qze,u||(p.as="script"),p.crossOrigin="",p.href=l,s&&p.setAttribute("nonce",s),document.head.appendChild(p),u)return new Promise((f,m)=>{p.addEventListener("load",f),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=o,window.dispatchEvent(s),!s.defaultPrevented)throw o}return a.then(o=>{for(const s of o||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Yze=["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 Kze=Qze,Xze=Object.prototype.hasOwnProperty;function Qze(){for(var e={},t=0;t4&&n.slice(0,4)===LP&&FHe.test(t)&&(t.charAt(4)==="-"?r=jHe(t):t=zHe(t),a=kHe),new a(r,t))}function jHe(e){var t=e.slice(5).replace(Rre,GHe);return LP+t.charAt(0).toUpperCase()+t.slice(1)}function zHe(e){var t=e.slice(4);return Rre.test(t)?e:(t=t.replace(BHe,HHe),t.charAt(0)!=="-"&&(t="-"+t),LP+t)}function HHe(e){return"-"+e.toLowerCase()}function GHe(e){return e.charAt(1).toUpperCase()}var VHe=qHe,tz=/[#.]/g;function qHe(e,t){for(var n=e||"",r=t||"div",a={},i=0,o,s,l;i=48&&t<=57}var m7e=g7e;function g7e(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}var h7e=v7e;function v7e(e){var t=typeof e=="string"?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}var _7e=h7e,b7e=Ore,S7e=E7e;function E7e(e){return _7e(e)||b7e(e)}var $h,y7e=59,C7e=T7e;function T7e(e){var t="&"+e+";",n;return $h=$h||document.createElement("i"),$h.innerHTML=t,n=$h.textContent,n.charCodeAt(n.length-1)===y7e&&e!=="semi"||n===t?!1:n}var lz=d7e,cz=p7e,x7e=Ore,R7e=m7e,Nre=S7e,w7e=C7e,I7e=j7e,O7e={}.hasOwnProperty,gu=String.fromCharCode,N7e=Function.prototype,uz={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},A7e=9,dz=10,D7e=12,M7e=32,pz=38,L7e=59,k7e=60,P7e=61,$7e=35,F7e=88,B7e=120,U7e=65533,Tu="named",$P="hexadecimal",FP="decimal",BP={};BP[$P]=16;BP[FP]=10;var qS={};qS[Tu]=Nre;qS[FP]=x7e;qS[$P]=R7e;var Are=1,Dre=2,Mre=3,Lre=4,kre=5,oM=6,Pre=7,Pl={};Pl[Are]="Named character references must be terminated by a semicolon";Pl[Dre]="Numeric character references must be terminated by a semicolon";Pl[Mre]="Named character references cannot be empty";Pl[Lre]="Numeric character references cannot be empty";Pl[kre]="Named character references must be known";Pl[oM]="Numeric character references cannot be disallowed";Pl[Pre]="Numeric character references cannot be outside the permissible Unicode range";function j7e(e,t){var n={},r,a;t||(t={});for(a in uz)r=t[a],n[a]=r??uz[a];return(n.position.indent||n.position.start)&&(n.indent=n.position.indent||[],n.position=n.position.start),z7e(e,n)}function z7e(e,t){var n=t.additional,r=t.nonTerminated,a=t.text,i=t.reference,o=t.warning,s=t.textContext,l=t.referenceContext,u=t.warningContext,d=t.position,p=t.indent||[],f=e.length,m=0,g=-1,h=d.column||1,v=d.line||1,S="",_=[],E,y,C,T,x,R,w,I,O,k,P,M,N,A,D,L,$,F,B;for(typeof n=="string"&&(n=n.charCodeAt(0)),L=z(),I=o?U:N7e,m--,f++;++m65535&&(R-=65536,k+=gu(R>>>10|55296),R=56320|R&1023),R=k+gu(R))):A!==Tu&&I(Lre,F)),R?(j(),L=z(),m=B-1,h+=B-N+1,_.push(R),$=z(),$.offset++,i&&i.call(l,R,{start:L,end:$},e.slice(N-1,B)),L=$):(T=e.slice(N-1,B),S+=T,h+=T.length,m=B-1)}else x===10&&(v++,g++,h=0),x===x?(S+=gu(x),h++):j();return _.join("");function z(){return{line:v,column:h,offset:m+(d.offset||0)}}function U(G,J){var Y=z();Y.column+=J,Y.offset+=J,o.call(u,Pl[G],Y,G)}function j(){S&&(_.push(S),a&&a.call(s,S,{start:L,end:z()}),S="")}}function H7e(e){return e>=55296&&e<=57343||e>1114111}function G7e(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 $re={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,i=0,o={},s={manual:r.Prism&&r.Prism.manual,disableWorkerMessageHandler:r.Prism&&r.Prism.disableWorkerMessageHandler,util:{encode:function _(E){return E instanceof l?new l(E.type,_(E.content),E.alias):Array.isArray(E)?E.map(_):E.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(C){var _=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(C.stack)||[])[1];if(_){var E=document.getElementsByTagName("script");for(var y in E)if(E[y].src==_)return E[y]}return null}},isActive:function(_,E,y){for(var C="no-"+E;_;){var T=_.classList;if(T.contains(E))return!0;if(T.contains(C))return!1;_=_.parentElement}return!!y}},languages:{plain:o,plaintext:o,text:o,txt:o,extend:function(_,E){var y=s.util.clone(s.languages[_]);for(var C in E)y[C]=E[C];return y},insertBefore:function(_,E,y,C){C=C||s.languages;var T=C[_],x={};for(var R in T)if(T.hasOwnProperty(R)){if(R==E)for(var w in y)y.hasOwnProperty(w)&&(x[w]=y[w]);y.hasOwnProperty(R)||(x[R]=T[R])}var I=C[_];return C[_]=x,s.languages.DFS(s.languages,function(O,k){k===I&&O!=_&&(this[O]=x)}),x},DFS:function _(E,y,C,T){T=T||{};var x=s.util.objId;for(var R in E)if(E.hasOwnProperty(R)){y.call(E,R,E[R],C||R);var w=E[R],I=s.util.type(w);I==="Object"&&!T[x(w)]?(T[x(w)]=!0,_(w,y,null,T)):I==="Array"&&!T[x(w)]&&(T[x(w)]=!0,_(w,y,R,T))}}},plugins:{},highlightAll:function(_,E){s.highlightAllUnder(document,_,E)},highlightAllUnder:function(_,E,y){var C={callback:y,container:_,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",C),C.elements=Array.prototype.slice.apply(C.container.querySelectorAll(C.selector)),s.hooks.run("before-all-elements-highlight",C);for(var T=0,x;x=C.elements[T++];)s.highlightElement(x,E===!0,C.callback)},highlightElement:function(_,E,y){var C=s.util.getLanguage(_),T=s.languages[C];s.util.setLanguage(_,C);var x=_.parentElement;x&&x.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(x,C);var R=_.textContent,w={element:_,language:C,grammar:T,code:R};function I(k){w.highlightedCode=k,s.hooks.run("before-insert",w),w.element.innerHTML=w.highlightedCode,s.hooks.run("after-highlight",w),s.hooks.run("complete",w),y&&y.call(w.element)}if(s.hooks.run("before-sanity-check",w),x=w.element.parentElement,x&&x.nodeName.toLowerCase()==="pre"&&!x.hasAttribute("tabindex")&&x.setAttribute("tabindex","0"),!w.code){s.hooks.run("complete",w),y&&y.call(w.element);return}if(s.hooks.run("before-highlight",w),!w.grammar){I(s.util.encode(w.code));return}if(E&&r.Worker){var O=new Worker(s.filename);O.onmessage=function(k){I(k.data)},O.postMessage(JSON.stringify({language:w.language,code:w.code,immediateClose:!0}))}else I(s.highlight(w.code,w.grammar,w.language))},highlight:function(_,E,y){var C={code:_,grammar:E,language:y};if(s.hooks.run("before-tokenize",C),!C.grammar)throw new Error('The language "'+C.language+'" has no grammar.');return C.tokens=s.tokenize(C.code,C.grammar),s.hooks.run("after-tokenize",C),l.stringify(s.util.encode(C.tokens),C.language)},tokenize:function(_,E){var y=E.rest;if(y){for(var C in y)E[C]=y[C];delete E.rest}var T=new p;return f(T,T.head,_),d(_,T,E,T.head,0),g(T)},hooks:{all:{},add:function(_,E){var y=s.hooks.all;y[_]=y[_]||[],y[_].push(E)},run:function(_,E){var y=s.hooks.all[_];if(!(!y||!y.length))for(var C=0,T;T=y[C++];)T(E)}},Token:l};r.Prism=s;function l(_,E,y,C){this.type=_,this.content=E,this.alias=y,this.length=(C||"").length|0}l.stringify=function _(E,y){if(typeof E=="string")return E;if(Array.isArray(E)){var C="";return E.forEach(function(I){C+=_(I,y)}),C}var T={type:E.type,content:_(E.content,y),tag:"span",classes:["token",E.type],attributes:{},language:y},x=E.alias;x&&(Array.isArray(x)?Array.prototype.push.apply(T.classes,x):T.classes.push(x)),s.hooks.run("wrap",T);var R="";for(var w in T.attributes)R+=" "+w+'="'+(T.attributes[w]||"").replace(/"/g,""")+'"';return"<"+T.tag+' class="'+T.classes.join(" ")+'"'+R+">"+T.content+""};function u(_,E,y,C){_.lastIndex=E;var T=_.exec(y);if(T&&C&&T[1]){var x=T[1].length;T.index+=x,T[0]=T[0].slice(x)}return T}function d(_,E,y,C,T,x){for(var R in y)if(!(!y.hasOwnProperty(R)||!y[R])){var w=y[R];w=Array.isArray(w)?w:[w];for(var I=0;I=x.reach);$+=L.value.length,L=L.next){var F=L.value;if(E.length>_.length)return;if(!(F instanceof l)){var B=1,z;if(M){if(z=u(D,$,_,P),!z||z.index>=_.length)break;var J=z.index,U=z.index+z[0].length,j=$;for(j+=L.value.length;J>=j;)L=L.next,j+=L.value.length;if(j-=L.value.length,$=j,L.value instanceof l)continue;for(var G=L;G!==E.tail&&(jx.reach&&(x.reach=H);var q=L.prev;X&&(q=f(E,q,X),$+=X.length),m(E,q,B);var K=new l(R,k?s.tokenize(Y,k):Y,N,Y);if(L=f(E,q,K),V&&f(E,L,V),B>1){var Z={cause:R+","+I,reach:H};d(_,E,y,L.prev,$,Z),x&&Z.reach>x.reach&&(x.reach=Z.reach)}}}}}}function p(){var _={value:null,prev:null,next:null},E={value:null,prev:_,next:null};_.next=E,this.head=_,this.tail=E,this.length=0}function f(_,E,y){var C=E.next,T={value:y,prev:E,next:C};return E.next=T,C.prev=T,_.length++,T}function m(_,E,y){for(var C=E.next,T=0;T/,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 i={"included-cdata":{pattern://i,inside:a}};i["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var o={};o[n]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",o)}}),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 W7e=jP;jP.displayName="css";jP.aliases=[];function jP(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 Y7e=zP;zP.displayName="clike";zP.aliases=[];function zP(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 K7e=HP;HP.displayName="javascript";HP.aliases=["js"];function HP(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 rf=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof Sa=="object"?Sa:{},X7e=p9e();rf.Prism={manual:!0,disableWorkerMessageHandler:!0};var Q7e=pGe,Z7e=I7e,Fre=V7e,J7e=q7e,e9e=W7e,t9e=Y7e,n9e=K7e;X7e();var GP={}.hasOwnProperty;function Bre(){}Bre.prototype=Fre;var Pr=new Bre,r9e=Pr;Pr.highlight=i9e;Pr.register=wg;Pr.alias=a9e;Pr.registered=o9e;Pr.listLanguages=s9e;wg(J7e);wg(e9e);wg(t9e);wg(n9e);Pr.util.encode=u9e;Pr.Token.stringify=l9e;function wg(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");Pr.languages[e.displayName]===void 0&&e(Pr)}function a9e(e,t){var n=Pr.languages,r=e,a,i,o,s;t&&(r={},r[e]=t);for(a in r)for(i=r[a],i=typeof i=="string"?[i]:i,o=i.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 Nx,fz;function m9e(){if(fz)return Nx;fz=1,Nx=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 Nx}var Ax,mz;function g9e(){if(mz)return Ax;mz=1,Ax=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 Ax}var Dx,gz;function h9e(){if(gz)return Dx;gz=1,Dx=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 Dx}var Mx,hz;function v9e(){if(hz)return Mx;hz=1,Mx=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 Mx}var Lx,vz;function _9e(){if(vz)return Lx;vz=1,Lx=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 Lx}var kx,_z;function b9e(){if(_z)return kx;_z=1,kx=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 kx}var Px,bz;function S9e(){if(bz)return Px;bz=1,Px=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 Px}var $x,Sz;function E9e(){if(Sz)return $x;Sz=1,$x=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 $x}var Fx,Ez;function VP(){if(Ez)return Fx;Ez=1,Fx=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 Fx}var Bx,yz;function y9e(){if(yz)return Bx;yz=1;var e=VP();Bx=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,i=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return a.source});function o(l){return RegExp(l.replace(//g,function(){return i}),"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:o(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:s},{pattern:o(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:s},{pattern:o(/(?=\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 Bx}var Ux,Cz;function C9e(){if(Cz)return Ux;Cz=1,Ux=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 Ux}var jx,Tz;function T9e(){if(Tz)return jx;Tz=1,jx=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 jx}var zx,xz;function x9e(){if(xz)return zx;xz=1,zx=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 zx}var Hx,Rz;function Zc(){if(Rz)return Hx;Rz=1,Hx=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 Hx}var Gx,wz;function qP(){if(wz)return Gx;wz=1;var e=Zc();Gx=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/,i=/\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 i})+")"),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 Gx}var Vx,Iz;function R9e(){if(Iz)return Vx;Iz=1;var e=qP();Vx=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 Vx}var qx,Oz;function w9e(){if(Oz)return qx;Oz=1,qx=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 qx}var Wx,Nz;function I9e(){if(Nz)return Wx;Nz=1,Wx=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 i(o){o=o.split(" ");for(var s={},l=0,u=o.length;l>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return Kx}var Xx,Mz;function WS(){if(Mz)return Xx;Mz=1,Xx=e,e.displayName="csharp",e.aliases=["dotnet","cs"];function e(t){(function(n){function r(B,z){return B.replace(/<<(\d+)>>/g,function(U,j){return"(?:"+z[+j]+")"})}function a(B,z,U){return RegExp(r(B,z),"")}function i(B,z){for(var U=0;U>/g,function(){return"(?:"+B+")"});return B.replace(/<>/g,"[^\\s\\S]")}var o={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(B){return"\\b(?:"+B.trim().replace(/ /g,"|")+")\\b"}var l=s(o.typeDeclaration),u=RegExp(s(o.type+" "+o.typeDeclaration+" "+o.contextual+" "+o.other)),d=s(o.typeDeclaration+" "+o.contextual+" "+o.other),p=s(o.type+" "+o.typeDeclaration+" "+o.other),f=i(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),m=i(/\((?:[^()]|<>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,h=r(/<<0>>(?:\s*<<1>>)?/.source,[g,f]),v=r(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,h]),S=/\[\s*(?:,\s*)*\]/.source,_=r(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,S]),E=r(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,S]),y=r(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),C=r(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,v,S]),T={keyword:u,punctuation:/[<>()?,.:[\]]/},x=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,R=/"(?:\\.|[^\\"\r\n])*"/.source,w=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;n.languages.csharp=n.languages.extend("clike",{string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[w]),lookbehind:!0,greedy:!0},{pattern:a(/(^|[^@$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:T},{pattern:a(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,C]),lookbehind:!0,inside:T},{pattern:a(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:a(/(\b<<0>>\s+)<<1>>/.source,[l,h]),lookbehind:!0,inside:T},{pattern:a(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:T},{pattern:a(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:a(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[_]),lookbehind:!0,inside:T},{pattern:a(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[C,p,g]),inside:T}],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,[g]),lookbehind:!0,alias:"punctuation"}}),n.languages.insertBefore("csharp","class-name",{namespace:{pattern:a(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:a(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:T},"return-type":{pattern:a(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[C,v]),inside:T,alias:"class-name"},"constructor-invocation":{pattern:a(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[C]),lookbehind:!0,inside:T,alias:"class-name"},"generic-method":{pattern:a(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,f]),inside:{function:a(/^<<0>>/.source,[g]),generic:{pattern:RegExp(f),alias:"class-name",inside:T}}},"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,[l,h,g,C,u.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:a(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[h,m]),lookbehind:!0,greedy:!0,inside:n.languages.csharp},keyword:u,"class-name":{pattern:RegExp(C),greedy:!0,inside:T},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 I=R+"|"+x,O=r(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[I]),k=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),P=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,M=r(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,k]);n.languages.insertBefore("csharp","class-name",{attribute:{pattern:a(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[P,M]),lookbehind:!0,greedy:!0,inside:{target:{pattern:a(/^<<0>>(?=\s*:)/.source,[P]),alias:"keyword"},"attribute-arguments":{pattern:a(/\(<<0>>*\)/.source,[k]),inside:n.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var N=/:[^}\r\n]+/.source,A=i(r(/[^"'/()]|<<0>>|\(<>*\)/.source,[O]),2),D=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[A,N]),L=i(r(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[I]),2),$=r(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,N]);function F(B,z){return{interpolation:{pattern:a(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[B]),lookbehind:!0,inside:{"format-string":{pattern:a(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[z,N]),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,[D]),lookbehind:!0,greedy:!0,inside:F(D,A)},{pattern:a(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[$]),lookbehind:!0,greedy:!0,inside:F($,L)}],char:{pattern:RegExp(x),greedy:!0}}),n.languages.dotnet=n.languages.cs=n.languages.csharp})(t)}return Xx}var Qx,Lz;function A9e(){if(Lz)return Qx;Lz=1;var e=WS();Qx=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 Qx}var Zx,kz;function D9e(){if(kz)return Zx;kz=1,Zx=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 Zx}var Jx,Pz;function M9e(){if(Pz)return Jx;Pz=1,Jx=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 Jx}var eR,$z;function L9e(){if($z)return eR;$z=1,eR=e,e.displayName="avisynth",e.aliases=["avs"];function e(t){(function(n){function r(d,p){return d.replace(/<<(\d+)>>/g,function(f,m){return p[+m]})}function a(d,p,f){return RegExp(r(d,p),f)}var i=/bool|clip|float|int|string|val/.source,o=[/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("|"),l=[/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=[o,s,l].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,[i],"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,[i],"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 eR}var tR,Fz;function k9e(){if(Fz)return tR;Fz=1,tR=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 tR}var nR,Bz;function Ure(){if(Bz)return nR;Bz=1,nR=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},i={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:i},{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:i},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:i.entity}}],environment:{pattern:RegExp("\\$?"+r),alias:"constant"},variable:i.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 o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],s=i.variable[1].inside,l=0;l?^\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 rR}var aR,jz;function P9e(){if(jz)return aR;jz=1,aR=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:/:/}},i=/"(?:[\\"]"|[^"])*"(?!")/,o=/(?:\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:i,parameter:a,variable:r,number:o,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:i,parameter:a,variable:r,number:o,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:i,parameter:a,variable:[r,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:o,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:i,parameter:a,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:r,number:o,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}})(t)}return aR}var iR,zz;function $9e(){if(zz)return iR;zz=1,iR=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 iR}var oR,Hz;function F9e(){if(Hz)return oR;Hz=1,oR=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 oR}var sR,Gz;function B9e(){if(Gz)return sR;Gz=1,sR=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 sR}var lR,Vz;function U9e(){if(Vz)return lR;Vz=1;var e=Zc();lR=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 lR}var cR,qz;function j9e(){if(qz)return cR;qz=1,cR=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 cR}var uR,Wz;function z9e(){if(Wz)return uR;Wz=1,uR=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 uR}var dR,Yz;function H9e(){if(Yz)return dR;Yz=1,dR=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 dR}var pR,Kz;function G9e(){if(Kz)return pR;Kz=1,pR=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 pR}var fR,Xz;function V9e(){if(Xz)return fR;Xz=1,fR=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 fR}var mR,Qz;function q9e(){if(Qz)return mR;Qz=1,mR=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 mR}var gR,Zz;function W9e(){if(Zz)return gR;Zz=1;var e=qP();gR=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 gR}var hR,Jz;function Y9e(){if(Jz)return hR;Jz=1,hR=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 hR}var vR,eH;function K9e(){if(eH)return vR;eH=1,vR=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 vR}var _R,tH;function X9e(){if(tH)return _R;tH=1,_R=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 _R}var bR,nH;function Q9e(){if(nH)return bR;nH=1,bR=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 bR}var SR,rH;function Z9e(){if(rH)return SR;rH=1,SR=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 SR}var ER,aH;function J9e(){if(aH)return ER;aH=1,ER=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 ER}var yR,iH;function eqe(){if(iH)return yR;iH=1,yR=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 yR}var CR,oH;function YS(){if(oH)return CR;oH=1,CR=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("|")+")",i=/(?:"(?:\\.|[^"\\\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+i),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+i+/(?=:(?!:))/.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 CR}var TR,sH;function tqe(){if(sH)return TR;sH=1;var e=YS();TR=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 TR}var xR,lH;function nqe(){if(lH)return xR;lH=1;var e=WS();xR=t,t.displayName="cshtml",t.aliases=["razor"];function t(n){n.register(e),function(r){var a=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,i=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function o(v,S){for(var _=0;_/g,function(){return"(?:"+v+")"});return v.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+i+")").replace(//g,"(?:"+a+")")}var s=o(/\((?:[^()'"@/]|||)*\)/.source,2),l=o(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),u=o(/\{(?:[^{}'"@/]|||)*\}/.source,2),d=o(/<(?:[^<>'"@/]|||)*>/.source,2),p=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,f=/(?!\d)[^\s>\/=$<%]+/.source+p+/\s*\/?>/.source,m=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|"+o(/<\1/.source+p+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+f+"|")+")*"+/<\/\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 i={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},o={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:i,number:o,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:i,number:o})})(t)}return wR}var IR,dH;function iqe(){if(dH)return IR;dH=1,IR=e,e.displayName="csv",e.aliases=[];function e(t){t.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return IR}var OR,pH;function oqe(){if(pH)return OR;pH=1,OR=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 OR}var NR,fH;function sqe(){if(fH)return NR;fH=1,NR=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 NR}var AR,mH;function lqe(){if(mH)return AR;mH=1,AR=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,i={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":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.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":i,keyword:r,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})})(t)}return AR}var DR,gH;function cqe(){if(gH)return DR;gH=1,DR=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 DR}var MR,hH;function uqe(){if(hH)return MR;hH=1,MR=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 MR}var LR,vH;function dqe(){if(vH)return LR;vH=1,LR=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 LR}var kR,_H;function pqe(){if(_H)return kR;_H=1,kR=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 i=r[a],o=[];/^\w+$/.test(a)||o.push(/\w+/.exec(a)[0]),a==="diff"&&o.push("bold"),n.languages.diff[a]={pattern:RegExp("^(?:["+i+`].*(?:\r -?| -|(?![\\s\\S])))+`,"m"),alias:o,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 kR}var PR,bH;function Qa(){if(bH)return PR;bH=1,PR=e,e.displayName="markupTemplating",e.aliases=[];function e(t){(function(n){function r(a,i){return"___"+a.toUpperCase()+i+"___"}Object.defineProperties(n.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,i,o,s){if(a.language===i){var l=a.tokenStack=[];a.code=a.code.replace(o,function(u){if(typeof s=="function"&&!s(u))return u;for(var d=l.length,p;a.code.indexOf(p=r(i,d))!==-1;)++d;return l[d]=u,p}),a.grammar=n.languages.markup}}},tokenizePlaceholders:{value:function(a,i){if(a.language!==i||!a.tokenStack)return;a.grammar=n.languages[i];var o=0,s=Object.keys(a.tokenStack);function l(u){for(var d=0;d=s.length);d++){var p=u[d];if(typeof p=="string"||p.content&&typeof p.content=="string"){var f=s[o],m=a.tokenStack[f],g=typeof p=="string"?p:p.content,h=r(i,f),v=g.indexOf(h);if(v>-1){++o;var S=g.substring(0,v),_=new n.Token(i,n.tokenize(m,a.grammar),"language-"+i,m),E=g.substring(v+h.length),y=[];S&&y.push.apply(y,l([S])),y.push(_),E&&y.push.apply(y,l([E])),typeof p=="string"?u.splice.apply(u,[d,1].concat(y)):p.content=y}}else p.content&&l(p.content)}return u}l(a.tokens)}}})})(t)}return PR}var $R,SH;function fqe(){if(SH)return $R;SH=1;var e=Qa();$R=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,i=r.languages["markup-templating"];r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"django",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"django")}),r.languages.jinja2=r.languages.django,r.hooks.add("before-tokenize",function(o){i.buildPlaceholders(o,"jinja2",a)}),r.hooks.add("after-tokenize",function(o){i.tokenizePlaceholders(o,"jinja2")})}(n)}return $R}var FR,EH;function mqe(){if(EH)return FR;EH=1,FR=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 FR}var BR,yH;function gqe(){if(yH)return BR;yH=1,BR=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}),i=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,o=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return i}),s={pattern:RegExp(i),greedy:!0},l={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function u(d,p){return d=d.replace(//g,function(){return o}).replace(//g,function(){return a}),RegExp(d,p)}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:l,string:s,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:l},n.languages.dockerfile=n.languages.docker})(t)}return BR}var UR,CH;function hqe(){if(CH)return UR;CH=1,UR=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 i(o,s){return RegExp(o.replace(//g,function(){return r}),s)}n.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:i(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:a},"attr-value":{pattern:i(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:a},"attr-name":{pattern:i(/([\[;, \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:i(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:a},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},n.languages.gv=n.languages.dot})(t)}return UR}var jR,TH;function vqe(){if(TH)return jR;TH=1,jR=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 jR}var zR,xH;function _qe(){if(xH)return zR;xH=1,zR=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 zR}var HR,RH;function bqe(){if(RH)return HR;RH=1,HR=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 HR}var GR,wH;function Sqe(){if(wH)return GR;wH=1;var e=Qa();GR=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 i=/<%(?!%)[\s\S]+?%>/g;r.languages["markup-templating"].buildPlaceholders(a,"ejs",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"ejs")}),r.languages.eta=r.languages.ejs}(n)}return GR}var VR,IH;function Eqe(){if(IH)return VR;IH=1,VR=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 VR}var qR,OH;function yqe(){if(OH)return qR;OH=1,qR=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 qR}var WR,NH;function Cqe(){if(NH)return WR;NH=1;var e=YS(),t=Qa();WR=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(i){var o=/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"erb",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"erb")})}(r)}return WR}var YR,AH;function Tqe(){if(AH)return YR;AH=1,YR=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 YR}var KR,DH;function zre(){if(DH)return KR;DH=1,KR=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 KR}var XR,MH;function xqe(){if(MH)return XR;MH=1;var e=zre(),t=Qa();XR=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(i){var o=/<%[\s\S]+?%>/g;a.languages["markup-templating"].buildPlaceholders(i,"etlua",o)}),a.hooks.add("after-tokenize",function(i){a.languages["markup-templating"].tokenizePlaceholders(i,"etlua")})}(r)}return XR}var QR,LH;function Rqe(){if(LH)return QR;LH=1,QR=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 QR}var ZR,kH;function wqe(){if(kH)return ZR;kH=1,ZR=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/},i={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}},o=function(d){return(d+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},s=function(d){return new RegExp("(^|\\s)(?:"+d.map(o).join("|")+")(?=\\s|$)")},l={"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(l).forEach(function(d){i[d].pattern=s(l[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"];i.combinators.pattern=s(u),n.languages.factor=i})(t)}return ZR}var JR,PH;function Iqe(){if(PH)return JR;PH=1,JR=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 ew}var tw,FH;function Nqe(){if(FH)return tw;FH=1,tw=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 tw}var nw,BH;function Aqe(){if(BH)return nw;BH=1,nw=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 nw}var rw,UH;function Dqe(){if(UH)return rw;UH=1,rw=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 rw}var aw,jH;function Mqe(){if(jH)return aw;jH=1;var e=Qa();aw=t,t.displayName="ftl",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,i=0;i<2;i++)a=a.replace(//g,function(){return a});a=a.replace(//g,/[^\s\S]/.source);var o={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:/[,;.:()[\]{}]/};o.string[1].inside.interpolation.inside.rest=o,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:o}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:o}}}},r.hooks.add("before-tokenize",function(s){var l=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return a}),"gi");r.languages["markup-templating"].buildPlaceholders(s,"ftl",l)}),r.hooks.add("after-tokenize",function(s){r.languages["markup-templating"].tokenizePlaceholders(s,"ftl")})}(n)}return aw}var iw,zH;function Lqe(){if(zH)return iw;zH=1,iw=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 iw}var ow,HH;function kqe(){if(HH)return ow;HH=1,ow=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 ow}var sw,GH;function Pqe(){if(GH)return sw;GH=1,sw=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 sw}var lw,VH;function $qe(){if(VH)return lw;VH=1,lw=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 lw}var cw,qH;function Fqe(){if(qH)return cw;qH=1,cw=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 cw}var uw,WH;function Bqe(){if(WH)return uw;WH=1,uw=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 uw}var dw,YH;function Uqe(){if(YH)return dw;YH=1;var e=Zc();dw=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 dw}var pw,KH;function jqe(){if(KH)return pw;KH=1,pw=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 pw}var fw,XH;function zqe(){if(XH)return fw;XH=1,fw=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 fw}var mw,QH;function Hqe(){if(QH)return mw;QH=1,mw=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 mw}var gw,ZH;function Gqe(){if(ZH)return gw;ZH=1,gw=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 gw}var hw,JH;function Vqe(){if(JH)return hw;JH=1,hw=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(S){return typeof S!="string"&&S.type!=="comment"&&S.type!=="scalar"}),i=0;function o(S){return a[i+S]}function s(S,_){_=_||0;for(var E=0;E0)){var g=l(/^\{$/,/^\}$/);if(g===-1)continue;for(var h=i;h=0&&u(v,"variable-input")}}}}})}return hw}var vw,eG;function qqe(){if(eG)return vw;eG=1,vw=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 vw}var _w,tG;function Wqe(){if(tG)return _w;tG=1;var e=YS();_w=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)))+",i=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],o={},s=0,l=i.length;s@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(a){var i=/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g;r.languages["markup-templating"].buildPlaceholders(a,"handlebars",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"handlebars")}),r.languages.hbs=r.languages.handlebars}(n)}return bw}var Sw,rG;function WP(){if(rG)return Sw;rG=1,Sw=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 Sw}var Ew,aG;function Kqe(){if(aG)return Ew;aG=1,Ew=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 Ew}var yw,iG;function Xqe(){if(iG)return yw;iG=1,yw=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 yw}var Cw,oG;function Qqe(){if(oG)return Cw;oG=1;var e=Zc();Cw=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 Cw}var Tw,sG;function Zqe(){if(sG)return Tw;sG=1,Tw=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 Tw}var xw,lG;function Jqe(){if(lG)return xw;lG=1,xw=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 xw}var Rw,cG;function eWe(){if(cG)return Rw;cG=1,Rw=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 Rw}var ww,uG;function tWe(){if(uG)return ww;uG=1,ww=e,e.displayName="http",e.aliases=[];function e(t){(function(n){function r(p){return RegExp("(^(?:"+p+"):[ ]*(?![ ]))[^]+","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,i={"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},o={"application/json":!0,"application/xml":!0};function s(p){var f=p.replace(/^[a-z]+\//,""),m="\\w+/(?:[\\w.-]+\\+)+"+f+"(?![+\\w.-])";return"(?:"+p+"|"+m+")"}var l;for(var u in i)if(i[u]){l=l||{};var d=o[u]?s(u):u;l[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:i[u]}}l&&n.languages.insertBefore("http","header",l)})(t)}return ww}var Iw,dG;function nWe(){if(dG)return Iw;dG=1,Iw=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 Iw}var Ow,pG;function rWe(){if(pG)return Ow;pG=1,Ow=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 Ow}var Nw,fG;function aWe(){if(fG)return Nw;fG=1,Nw=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=/'[{}:=,](?:[^']|'')*'(?!')/,i={pattern:/''/,greedy:!0,alias:"operator"},o={pattern:a,greedy:!0,inside:{escape:i}},s=r(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return a.source}),8),l={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":l,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":l,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:i,string:o},l.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 Nw}var Aw,mG;function iWe(){if(mG)return Aw;mG=1;var e=WP();Aw=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 Aw}var Dw,gG;function oWe(){if(gG)return Dw;gG=1,Dw=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 Dw}var Mw,hG;function sWe(){if(hG)return Mw;hG=1,Mw=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 Mw}var Lw,vG;function lWe(){if(vG)return Lw;vG=1,Lw=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 Lw}var kw,_G;function cWe(){if(_G)return kw;_G=1,kw=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 kw}var Pw,bG;function uWe(){if(bG)return Pw;bG=1,Pw=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 $w}var Fw,EG;function YP(){if(EG)return Fw;EG=1,Fw=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,i={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":[i,{pattern:RegExp(a+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:i.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":i,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 Fw}var Bw,yG;function KS(){if(yG)return Bw;yG=1,Bw=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(o,s){var l="doc-comment",u=n.languages[o];if(u){var d=u[l];if(!d){var p={};p[l]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},u=n.languages.insertBefore(o,"comment",p),d=u[l]}if(d instanceof RegExp&&(d=u[l]={pattern:d}),Array.isArray(d))for(var f=0,m=d.length;f)?|/.source.replace(//g,function(){return o});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:i,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:i,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 Uw}var jw,TG;function fWe(){if(TG)return jw;TG=1,jw=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 jw}var zw,xG;function mWe(){if(xG)return zw;xG=1,zw=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 zw}var Hw,RG;function gWe(){if(RG)return Hw;RG=1,Hw=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 Hw}var Gw,wG;function hWe(){if(wG)return Gw;wG=1,Gw=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})),i={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+r),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},o=n.languages.jq={comment:/#.*/,property:{pattern:RegExp(a.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:i},string:{pattern:a,lookbehind:!0,greedy:!0,inside:i},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"}};i.interpolation.inside.content.inside=o})(t)}return Gw}var Vw,IG;function vWe(){if(IG)return Vw;IG=1,Vw=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"],i=0;i=x.length)return;var O=w[I];if(typeof O=="string"||typeof O.content=="string"){var k=x[E],P=typeof O=="string"?O:O.content,M=P.indexOf(k);if(M!==-1){++E;var N=P.substring(0,M),A=p(y[k]),D=P.substring(M+k.length),L=[];if(N&&L.push(N),L.push(A),D){var $=[D];R($),L.push.apply(L,$)}typeof O=="string"?(w.splice.apply(w,[I,1].concat(L)),I+=L.length-1):O.content=L}}else{var F=O.content;Array.isArray(F)?R(F):R([F])}}}return R(T),new n.Token(S,T,"language-"+S,h)}var m={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};n.hooks.add("after-tokenize",function(h){if(!(h.language in m))return;function v(S){for(var _=0,E=S.length;_]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,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 Ww}var Yw,AG;function bWe(){if(AG)return Yw;AG=1;var e=KS(),t=KP();Yw=n,n.displayName="jsdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=a.languages.javascript,o=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,s="(@(?:arg|argument|param|property)\\s+(?:"+o+"\\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:i,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 o})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+o),lookbehind:!0,inside:{string:i.string,number:i.number,boolean:i.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:i,alias:"language-javascript"}}}}),a.languages.javadoclike.addSupport("javascript",a.languages.jsdoc)}(r)}return Yw}var Kw,DG;function XP(){if(DG)return Kw;DG=1,Kw=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 Kw}var Xw,MG;function SWe(){if(MG)return Xw;MG=1;var e=XP();Xw=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 Xw}var Qw,LG;function EWe(){if(LG)return Qw;LG=1;var e=XP();Qw=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 Qw}var Zw,kG;function yWe(){if(kG)return Zw;kG=1,Zw=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 Zw}var Jw,PG;function Hre(){if(PG)return Jw;PG=1,Jw=e,e.displayName="jsx",e.aliases=[];function e(t){(function(n){var r=n.util.clone(n.languages.javascript),a=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,i=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function s(d,p){return d=d.replace(//g,function(){return a}).replace(//g,function(){return i}).replace(//g,function(){return o}),RegExp(d,p)}o=s(o).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 l=function(d){return d?typeof d=="string"?d:typeof d.content=="string"?d.content:d.content.map(l).join(""):""},u=function(d){for(var p=[],f=0;f0&&p[p.length-1].tagName===l(m.content[0].content[1])&&p.pop():m.content[m.content.length-1].content==="/>"||p.push({tagName:l(m.content[0].content[1]),openedBraces:0}):p.length>0&&m.type==="punctuation"&&m.content==="{"?p[p.length-1].openedBraces++:p.length>0&&p[p.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?p[p.length-1].openedBraces--:g=!0),(g||typeof m=="string")&&p.length>0&&p[p.length-1].openedBraces===0){var h=l(m);f0&&(typeof d[f-1]=="string"||d[f-1].type==="plain-text")&&(h=l(d[f-1])+h,d.splice(f-1,1),f--),d[f]=new n.Token("plain-text",h,null,h)}m.content&&typeof m.content!="string"&&u(m.content)}};n.hooks.add("after-tokenize",function(d){d.language!=="jsx"&&d.language!=="tsx"||u(d.tokens)})})(t)}return Jw}var eI,$G;function CWe(){if($G)return eI;$G=1,eI=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 eI}var tI,FG;function TWe(){if(FG)return tI;FG=1,tI=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 tI}var nI,BG;function xWe(){if(BG)return nI;BG=1,nI=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 nI}var rI,UG;function RWe(){if(UG)return rI;UG=1,rI=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 rI}var aI,jG;function wWe(){if(jG)return aI;jG=1,aI=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(i,o){return RegExp(i.replace(//g,r),o)}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 aI}var iI,zG;function IWe(){if(zG)return iI;zG=1,iI=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 iI}var oI,HG;function OWe(){if(HG)return oI;HG=1,oI=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 oI}var sI,GG;function XS(){if(GG)return sI;GG=1;var e=Qa();sI=t,t.displayName="php",t.aliases=[];function t(n){n.register(e),function(r){var a=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,i=[{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*\()/],o=/\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}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,l=/[{}\[\](),:;]/;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:i,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:o,operator:s,punctuation:l};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:i,number:o,operator:s,punctuation:l}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),r.hooks.add("before-tokenize",function(p){if(/<\?/.test(p.code)){var f=/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g;r.languages["markup-templating"].buildPlaceholders(p,"php",f)}}),r.hooks.add("after-tokenize",function(p){r.languages["markup-templating"].tokenizePlaceholders(p,"php")})}(n)}return sI}var lI,VG;function NWe(){if(VG)return lI;VG=1;var e=Qa(),t=XS();lI=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 i=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}}}}}},i.tag),a.hooks.add("before-tokenize",function(o){if(o.language==="latte"){var s=/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g;a.languages["markup-templating"].buildPlaceholders(o,"latte",s),o.grammar=i}}),a.hooks.add("after-tokenize",function(o){a.languages["markup-templating"].tokenizePlaceholders(o,"latte")})}(r)}return lI}var cI,qG;function AWe(){if(qG)return cI;qG=1,cI=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 cI}var uI,WG;function QP(){if(WG)return uI;WG=1,uI=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 i in a)a[i]=a[i].replace(/<[\w\s]+>/g,function(o){return"(?:"+a[o].trim()+")"});return a[i]}})(t)}return uI}var dI,YG;function DWe(){if(YG)return dI;YG=1;var e=QP();dI=t,t.displayName="lilypond",t.aliases=[];function t(n){n.register(e),function(r){for(var a=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,i=5,o=0;o/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 dI}var pI,KG;function MWe(){if(KG)return pI;KG=1;var e=Qa();pI=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,i=!1;n.languages["markup-templating"].buildPlaceholders(r,"liquid",a,function(o){var s=/^\{%-?\s*(\w+)/.exec(o);if(s){var l=s[1];if(l==="raw"&&!i)return i=!0,!0;if(l==="endraw")return i=!1,!0}return!i})}),n.hooks.add("after-tokenize",function(r){n.languages["markup-templating"].tokenizePlaceholders(r,"liquid")})}return pI}var fI,XG;function LWe(){if(XG)return fI;XG=1,fI=e,e.displayName="lisp",e.aliases=[];function e(t){(function(n){function r(h){return RegExp(/(\()/.source+"(?:"+h+")"+/(?=[\s\)])/.source)}function a(h){return RegExp(/([\s([])/.source+"(?:"+h+")"+/(?=[\s)])/.source)}var i=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,o="&"+i,s="(\\()",l="(?=\\))",u="(?=\\s)",d=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,p={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+i+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+i),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+i),alias:"property"},splice:{pattern:RegExp(",@?"+i),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+"+i),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(i)}},defun:{pattern:RegExp(s+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+i+/\s+\(/.source+d+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+i),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(s+"lambda\\s+\\(\\s*(?:&?"+i+"(?:\\s+&?"+i+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(s+i),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},f={"lisp-marker":RegExp(o),varform:{pattern:RegExp(/\(/.source+i+/\s+(?=\S)/.source+d+/\)/.source),inside:p},argument:{pattern:RegExp(/(^|[\s(])/.source+i),lookbehind:!0,alias:"variable"},rest:p},m="\\S+(?:\\s+\\S+)*",g={pattern:RegExp(s+d+l),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+m),inside:f},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+m),inside:f},keys:{pattern:RegExp("&key\\s+"+m+"(?:\\s+&allow-other-keys)?"),inside:f},argument:{pattern:RegExp(i),alias:"variable"},punctuation:/[()]/}};p.lambda.inside.arguments=g,p.defun.inside.arguments=n.util.clone(g),p.defun.inside.arguments.inside.sublist=g,n.languages.lisp=p,n.languages.elisp=p,n.languages.emacs=p,n.languages["emacs-lisp"]=p})(t)}return fI}var mI,QG;function kWe(){if(QG)return mI;QG=1,mI=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 mI}var gI,ZG;function PWe(){if(ZG)return gI;ZG=1,gI=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 gI}var hI,JG;function $We(){if(JG)return hI;JG=1,hI=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 hI}var vI,eV;function FWe(){if(eV)return vI;eV=1,vI=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 vI}var _I,tV;function BWe(){if(tV)return _I;tV=1,_I=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 _I}var bI,nV;function UWe(){if(nV)return bI;nV=1,bI=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 bI}var SI,rV;function jWe(){if(rV)return SI;rV=1,SI=e,e.displayName="markdown",e.aliases=["md"];function e(t){(function(n){var r=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function a(f){return f=f.replace(//g,function(){return r}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var i=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return i}),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("^"+o+s+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+s+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(i),inside:n.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+s+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(i),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(f){["url","bold","italic","strike","code-snippet"].forEach(function(m){f!==m&&(n.languages.markdown[f].inside.content.inside[m]=n.languages.markdown[m])})}),n.hooks.add("after-tokenize",function(f){if(f.language!=="markdown"&&f.language!=="md")return;function m(g){if(!(!g||typeof g=="string"))for(var h=0,v=g.length;h",quot:'"'},d=String.fromCodePoint||String.fromCharCode;function p(f){var m=f.replace(l,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(g,h){if(h=h.toLowerCase(),h[0]==="#"){var v;return h[1]==="x"?v=parseInt(h.slice(2),16):v=Number(h.slice(1)),d(v)}else{var S=u[h];return S||g}}),m}n.languages.md=n.languages.markdown})(t)}return SI}var EI,aV;function zWe(){if(aV)return EI;aV=1,EI=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 EI}var yI,iV;function HWe(){if(iV)return yI;iV=1,yI=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 yI}var CI,oV;function GWe(){if(oV)return CI;oV=1,CI=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 CI}var TI,sV;function VWe(){if(sV)return TI;sV=1,TI=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 TI}var xI,lV;function qWe(){if(lV)return xI;lV=1,xI=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 xI}var RI,cV;function WWe(){if(cV)return RI;cV=1,RI=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(o){return o.replace("$","\\$")});var i="(?:"+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(`^(['"])?`+i+"(?:\\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 RI}var wI,uV;function YWe(){if(uV)return wI;uV=1,wI=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 wI}var II,dV;function KWe(){if(dV)return II;dV=1,II=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 II}var OI,pV;function XWe(){if(pV)return OI;pV=1,OI=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 OI}var NI,fV;function QWe(){if(fV)return NI;fV=1,NI=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 NI}var AI,mV;function ZWe(){if(mV)return AI;mV=1,AI=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 AI}var DI,gV;function JWe(){if(gV)return DI;gV=1,DI=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 l=s.tokens;l.forEach(function(u){if(typeof u!="string"&&u.type==="generic-text"){var d=o(u);i(d)||(u.type="bad-line",u.content=d)}})});function i(s){for(var l="[]{}",u=[],d=0;d=&|$!]/}}return MI}var LI,vV;function tYe(){if(vV)return LI;vV=1,LI=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 LI}var kI,_V;function nYe(){if(_V)return kI;_V=1,kI=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 kI}var PI,bV;function rYe(){if(bV)return PI;bV=1,PI=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 PI}var $I,SV;function aYe(){if(SV)return $I;SV=1,$I=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 $I}var FI,EV;function iYe(){if(EV)return FI;EV=1,FI=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 FI}var BI,yV;function oYe(){if(yV)return BI;yV=1,BI=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 BI}var UI,CV;function sYe(){if(CV)return UI;CV=1;var e=Zc();UI=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 UI}var jI,TV;function lYe(){if(TV)return jI;TV=1,jI=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 jI}var zI,xV;function cYe(){if(xV)return zI;xV=1;var e=Zc();zI=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 zI}var HI,RV;function uYe(){if(RV)return HI;RV=1,HI=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 HI}var GI,wV;function dYe(){if(wV)return GI;wV=1,GI=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 GI}var VI,IV;function pYe(){if(IV)return VI;IV=1,VI=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 VI}var qI,OV;function fYe(){if(OV)return qI;OV=1,qI=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 qI}var WI,NV;function mYe(){if(NV)return WI;NV=1,WI=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 WI}var YI,AV;function gYe(){if(AV)return YI;AV=1,YI=e,e.displayName="pascaligo",e.aliases=[];function e(t){(function(n){var r=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,a=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return r}),i=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:/\(\.|\.\)|[()\[\]:;,.{}]/},o=["comment","keyword","builtin","operator","punctuation"].reduce(function(s,l){return s[l]=i[l],s},{});i["class-name"].forEach(function(s){s.inside=o})})(t)}return YI}var KI,DV;function hYe(){if(DV)return KI;DV=1,KI=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 KI}var XI,MV;function vYe(){if(MV)return XI;MV=1,XI=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 XI}var QI,LV;function _Ye(){if(LV)return QI;LV=1,QI=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 QI}var ZI,kV;function bYe(){if(kV)return ZI;kV=1;var e=XS();ZI=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 ZI}var JI,PV;function SYe(){if(PV)return JI;PV=1;var e=XS(),t=KS();JI=n,n.displayName="phpdoc",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;a.languages.phpdoc=a.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+i+"\\s+)?)\\$\\w+"),lookbehind:!0}}),a.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+i),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 JI}var eO,$V;function EYe(){if($V)return eO;$V=1;var e=VP();eO=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 eO}var tO,FV;function yYe(){if(FV)return tO;FV=1,tO=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 tO}var nO,BV;function CYe(){if(BV)return nO;BV=1,nO=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 nO}var rO,UV;function TYe(){if(UV)return rO;UV=1,rO=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 rO}var aO,jV;function xYe(){if(jV)return aO;jV=1,aO=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 aO}var iO,zV;function RYe(){if(zV)return iO;zV=1,iO=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"],i=["offset"],o=r.concat(a,i);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(?:"+o.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 iO}var oO,HV;function wYe(){if(HV)return oO;HV=1,oO=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 oO}var sO,GV;function IYe(){if(GV)return sO;GV=1,sO=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 sO}var lO,VV;function OYe(){if(VV)return lO;VV=1,lO=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 lO}var cO,qV;function NYe(){if(qV)return cO;qV=1,cO=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"],i={},o=0,s=a.length;o",function(){return l.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[l.language,"language-"+l.language],inside:n.languages[l.language]}}})}n.languages.insertBefore("pug","filter",i)})(t)}return cO}var uO,WV;function AYe(){if(WV)return uO;WV=1,uO=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 uO}var dO,YV;function DYe(){if(YV)return dO;YV=1,dO=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(i){var o=i;if(typeof i!="string"&&(o=i.alias,i=i.lang),n.languages[o]){var s={};s["inline-lang-"+o]={pattern:RegExp(a.replace("",i.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:n.util.clone(n.languages.pure["inline-lang"].inside)},s["inline-lang-"+o].inside.rest=n.util.clone(n.languages[o]),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 dO}var pO,KV;function MYe(){if(KV)return pO;KV=1,pO=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 pO}var fO,XV;function LYe(){if(XV)return fO;XV=1;var e=WP();fO=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 fO}var mO,QV;function kYe(){if(QV)return mO;QV=1,mO=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 mO}var gO,ZV;function PYe(){if(ZV)return gO;ZV=1,gO=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 gO}var hO,JV;function $Ye(){if(JV)return hO;JV=1,hO=e,e.displayName="qml",e.aliases=[];function e(t){(function(n){for(var r=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,a=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,i=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return r}).replace(//g,function(){return a}),o=0;o<2;o++)i=i.replace(//g,function(){return i});i=i.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 i}),"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 i}),"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 hO}var vO,e7;function FYe(){if(e7)return vO;e7=1,vO=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 vO}var _O,t7;function BYe(){if(t7)return _O;t7=1,_O=e,e.displayName="qsharp",e.aliases=["qs"];function e(t){(function(n){function r(g,h){return g.replace(/<<(\d+)>>/g,function(v,S){return"(?:"+h[+S]+")"})}function a(g,h,v){return RegExp(r(g,h),"")}function i(g,h){for(var v=0;v>/g,function(){return"(?:"+g+")"});return g.replace(/<>/g,"[^\\s\\S]")}var o={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(g){return"\\b(?:"+g.trim().replace(/ /g,"|")+")\\b"}var l=RegExp(s(o.type+" "+o.other)),u=/\b[A-Za-z_]\w*\b/.source,d=r(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[u]),p={keyword:l,punctuation:/[<>()?,.:[\]]/},f=/"(?:\\.|[^\\"])*"/.source;n.languages.qsharp=n.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:a(/(^|[^$\\])<<0>>/.source,[f]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:a(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[d]),lookbehind:!0,inside:p},{pattern:a(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[d]),lookbehind:!0,inside:p}],keyword:l,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 m=i(r(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[f]),2);n.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:a(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[m]),greedy:!0,inside:{interpolation:{pattern:a(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[m]),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 _O}var bO,n7;function UYe(){if(n7)return bO;n7=1,bO=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 bO}var SO,r7;function jYe(){if(r7)return SO;r7=1;var e=QP();SO=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 SO}var EO,a7;function zYe(){if(a7)return EO;a7=1,EO=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 EO}var yO,i7;function HYe(){if(i7)return yO;i7=1,yO=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]|.)/,i={pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},o={pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},s="(?:[^\\\\-]|"+a.source+")",l=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:l,inside:{escape:a,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":r,"char-set":o,escape:a}},"special-escape":r,"char-set":i,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 CO}var TO,s7;function VYe(){if(s7)return TO;s7=1,TO=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 TO}var xO,l7;function qYe(){if(l7)return xO;l7=1,xO=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 xO}var RO,c7;function WYe(){if(c7)return RO;c7=1,RO=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 RO}var wO,u7;function YYe(){if(u7)return wO;u7=1,wO=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 wO}var IO,d7;function KYe(){if(d7)return IO;d7=1,IO=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 i(u,d){var p={};p["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"};for(var f in d)p[f]=d[f];return p.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},p.variable=a,p.comment=r,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return u}),"im"),alias:"section",inside:p}}var o={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}},l={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:a}};n.languages.robotframework={settings:i("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:i("Variables"),"test-cases":i("Test Cases",{"test-name":s,documentation:o,property:l}),keywords:i("Keywords",{"keyword-name":s,documentation:o,property:l}),tasks:i("Tasks",{"task-name":s,documentation:o,property:l}),comment:r},n.languages.robot=n.languages.robotframework})(t)}return IO}var OO,p7;function XYe(){if(p7)return OO;p7=1,OO=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 OO}var NO,f7;function QYe(){if(f7)return NO;f7=1,NO=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,i={pattern:RegExp(r+"[bx]"),alias:"number"},o={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"},l={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},p=/[$%@.(){}\[\];,\\]/,f={pattern:/%?\b\w+(?=\()/,alias:"keyword"},m={function:f,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":o,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:a,"numeric-constant":i,punctuation:p,string:d},g={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},h={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},v={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"},S={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},_=/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,E={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return _}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return _}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:u,function:f,"arg-value":m["arg-value"],operator:m.operator,argument:m.arg,number:a,"numeric-constant":i,punctuation:p,string:d}},y={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":v,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:a,"numeric-constant":i,punctuation:p,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:y,"submit-statement":S,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,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:y,"submit-statement":S,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,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:m}},"cas-actions":E,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:m},step:l,keyword:y,function:f,format:g,altformat:h,"global-statements":v,number:a,"numeric-constant":i,punctuation:p,string:d}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return r}),"im"),lookbehind:!0,inside:m},"macro-keyword":s,"macro-variable":o,"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":o,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:p}},"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":i}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:m},"cas-actions":E,comment:u,function:f,format:g,altformat:h,"numeric-constant":i,datetime:{pattern:RegExp(r+"(?:dt?|t)"),alias:"number"},string:d,step:l,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:a,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:p}})(t)}return NO}var AO,m7;function ZYe(){if(m7)return AO;m7=1,AO=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 AO}var DO,g7;function JYe(){if(g7)return DO;g7=1;var e=YP();DO=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 DO}var MO,h7;function eKe(){if(h7)return MO;h7=1,MO=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 MO}var LO,v7;function tKe(){if(v7)return LO;v7=1;var e=Ure();LO=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 LO}var kO,_7;function nKe(){if(_7)return kO;_7=1,kO=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 kO}var PO,b7;function rKe(){if(b7)return PO;b7=1,PO=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 PO}var $O,S7;function aKe(){if(S7)return $O;S7=1;var e=Qa();$O=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])*'/,i=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return a.source}),"g");r.hooks.add("before-tokenize",function(o){var s="{literal}",l="{/literal}",u=!1;r.languages["markup-templating"].buildPlaceholders(o,"smarty",i,function(d){return d===l&&(u=!1),u?!1:(d===s&&(u=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"smarty")})}(n)}return $O}var FO,E7;function iKe(){if(E7)return FO;E7=1,FO=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 FO}var BO,y7;function oKe(){if(y7)return BO;y7=1,BO=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 BO}var UO,C7;function sKe(){if(C7)return UO;C7=1,UO=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 UO}var jO,T7;function lKe(){if(T7)return jO;T7=1;var e=Qa();jO=t,t.displayName="soy",t.aliases=[];function t(n){n.register(e),function(r){var a=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,i=/\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:i,punctuation:/[\[\].?]/}},string:{pattern:a,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:i,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},r.hooks.add("before-tokenize",function(o){var s=/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,l="{literal}",u="{/literal}",d=!1;r.languages["markup-templating"].buildPlaceholders(o,"soy",s,function(p){return p===u&&(d=!1),d?!1:(p===l&&(d=!0),!0)})}),r.hooks.add("after-tokenize",function(o){r.languages["markup-templating"].tokenizePlaceholders(o,"soy")})}(n)}return jO}var zO,x7;function Gre(){if(x7)return zO;x7=1,zO=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 zO}var HO,R7;function cKe(){if(R7)return HO;R7=1;var e=Gre();HO=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 HO}var GO,w7;function uKe(){if(w7)return GO;w7=1,GO=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 GO}var VO,I7;function dKe(){if(I7)return VO;I7=1,VO=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 VO}var qO,O7;function pKe(){if(O7)return qO;O7=1,qO=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 qO}var WO,N7;function fKe(){if(N7)return WO;N7=1,WO=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 WO}var YO,A7;function mKe(){if(A7)return YO;A7=1,YO=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},i={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:/[{}()\[\];:,]/};i.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:i}},i.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:i}},n.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:i}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:i}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:i}},"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:i.interpolation}},rest:i}},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:i.interpolation,comment:i.comment,punctuation:/[{},]/}},func:i.func,string:i.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:i.interpolation,punctuation:/[{}()\[\];:.]/}})(t)}return YO}var KO,D7;function gKe(){if(D7)return KO;D7=1,KO=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 KO}var XO,M7;function hKe(){if(M7)return XO;M7=1,XO=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 XO}var QO,L7;function ZP(){if(L7)return QO;L7=1,QO=e,e.displayName="t4Templating",e.aliases=[];function e(t){(function(n){function r(i,o,s){return{pattern:RegExp("<#"+i+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+i+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:o,alias:s}}}}function a(i){var o=n.languages[i],s="language-"+i;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("=",o,s),"class-feature":r("\\+",o,s),standard:r("",o,s)}}}}n.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:a})})(t)}return QO}var ZO,k7;function vKe(){if(k7)return ZO;k7=1;var e=ZP(),t=WS();ZO=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 ZO}var JO,P7;function Vre(){if(P7)return JO;P7=1;var e=jre();JO=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 JO}var eN,$7;function _Ke(){if($7)return eN;$7=1;var e=ZP(),t=Vre();eN=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 eN}var tN,F7;function qre(){if(F7)return tN;F7=1,tN=e,e.displayName="yaml",e.aliases=["yml"];function e(t){(function(n){var r=/[*&][^\s[\]{},]+/,a=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,i="(?:"+a.source+"(?:[ ]+"+r.source+")?|"+r.source+"(?:[ ]+"+a.source+")?)",o=/(?:[^\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 l(u,d){d=(d||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return u});return RegExp(p,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 i})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return i}).replace(/<>/g,function(){return"(?:"+o+"|"+s+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:l(/\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:l(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:l(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:l(s),lookbehind:!0,greedy:!0},number:{pattern:l(/[+-]?(?: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 tN}var nN,B7;function bKe(){if(B7)return nN;B7=1;var e=qre();nN=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 nN}var rN,U7;function SKe(){if(U7)return rN;U7=1,rN=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 rN}var aN,j7;function EKe(){if(j7)return aN;j7=1,aN=e,e.displayName="textile",e.aliases=[];function e(t){(function(n){var r=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,a=/\)|\((?![^|()\n]+\))/.source;function i(f,m){return RegExp(f.replace(//g,function(){return"(?:"+r+")"}).replace(//g,function(){return"(?:"+a+")"}),m||"")}var o={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:i(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:i(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:o},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:i(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:i(/(^[*#]+)+/.source),lookbehind:!0,inside:o},punctuation:/^[*#]+/}},table:{pattern:i(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:i(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:o},punctuation:/\||^\./}},inline:{pattern:i(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:i(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:i(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:i(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:i(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:i(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:i(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:i(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:i(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:o},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:i(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:i(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:i(/(^")+/.source),lookbehind:!0,inside:o},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:i(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:i(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:i(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:o},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:/[()]/}}}}}),l=s.phrase.inside,u={inline:l.inline,link:l.link,image:l.image,footnote:l.footnote,acronym:l.acronym,mark:l.mark};s.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var d=l.inline.inside;d.bold.inside=u,d.italic.inside=u,d.inserted.inside=u,d.deleted.inside=u,d.span.inside=u;var p=l.table.inside;p.inline=u.inline,p.link=u.link,p.image=u.image,p.footnote=u.footnote,p.acronym=u.acronym,p.mark=u.mark})(t)}return aN}var iN,z7;function yKe(){if(z7)return iN;z7=1,iN=e,e.displayName="toml",e.aliases=[];function e(t){(function(n){var r=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function a(i){return i.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 iN}var oN,H7;function CKe(){if(H7)return oN;H7=1,oN=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 oN}var sN,G7;function TKe(){if(G7)return sN;G7=1;var e=Hre(),t=KP();sN=n,n.displayName="tsx",n.aliases=[];function n(r){r.register(e),r.register(t),function(a){var i=a.util.clone(a.languages.typescript);a.languages.tsx=a.languages.extend("jsx",i),delete a.languages.tsx.parameter,delete a.languages.tsx["literal-property"];var o=a.languages.tsx.tag;o.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+o.pattern.source+")",o.pattern.flags),o.lookbehind=!0}(r)}return sN}var lN,V7;function xKe(){if(V7)return lN;V7=1;var e=Qa();lN=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 i=/\[%[\s\S]+?%\]/g;r.languages["markup-templating"].buildPlaceholders(a,"tt2",i)}),r.hooks.add("after-tokenize",function(a){r.languages["markup-templating"].tokenizePlaceholders(a,"tt2")})}(n)}return lN}var cN,q7;function RKe(){if(q7)return cN;q7=1;var e=Qa();cN=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 cN}var uN,W7;function wKe(){if(W7)return uN;W7=1,uN=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 uN}var dN,Y7;function IKe(){if(Y7)return dN;Y7=1,dN=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 dN}var pN,K7;function OKe(){if(K7)return pN;K7=1,pN=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 pN}var fN,X7;function NKe(){if(X7)return fN;X7=1,fN=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 fN}var mN,Q7;function AKe(){if(Q7)return mN;Q7=1,mN=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 mN}var gN,Z7;function DKe(){if(Z7)return gN;Z7=1,gN=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 gN}var hN,J7;function MKe(){if(J7)return hN;J7=1,hN=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 hN}var vN,e9;function LKe(){if(e9)return vN;e9=1,vN=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 vN}var _N,t9;function kKe(){if(t9)return _N;t9=1,_N=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 _N}var bN,n9;function PKe(){if(n9)return bN;n9=1,bN=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 bN}var SN,r9;function $Ke(){if(r9)return SN;r9=1,SN=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 SN}var EN,a9;function FKe(){if(a9)return EN;a9=1,EN=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 EN}var yN,i9;function BKe(){if(i9)return yN;i9=1,yN=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 yN}var CN,o9;function UKe(){if(o9)return CN;o9=1,CN=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,i={};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:i},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+a),lookbehind:!0,inside:i},{pattern:RegExp("("+/\bcallback\s+/.source+r+/\s*=\s*/.source+")"+a),lookbehind:!0,inside:i},{pattern:RegExp(/(\btypedef\b\s*)/.source+a),lookbehind:!0,inside:i},{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:i}],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 o in n.languages["web-idl"])o!=="class-name"&&(i[o]=n.languages["web-idl"][o]);n.languages.webidl=n.languages["web-idl"]})(t)}return CN}var TN,s9;function jKe(){if(s9)return TN;s9=1,TN=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 TN}var xN,l9;function zKe(){if(l9)return xN;l9=1,xN=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 xN}var RN,c9;function HKe(){if(c9)return RN;c9=1,RN=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 RN}var wN,u9;function GKe(){if(u9)return wN;u9=1,wN=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 wN}var IN,d9;function VKe(){if(d9)return IN;d9=1,IN=e,e.displayName="xmlDoc",e.aliases=[];function e(t){(function(n){function r(s,l){n.languages[s]&&n.languages.insertBefore(s,"comment",{"doc-comment":l})}var a=n.languages.markup.tag,i={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:a}},o={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:a}};r("csharp",i),r("fsharp",i),r("vbnet",o)})(t)}return IN}var ON,p9;function qKe(){if(p9)return ON;p9=1,ON=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 ON}var NN,f9;function WKe(){if(f9)return NN;f9=1,NN=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(i){return typeof i=="string"?i:typeof i.content=="string"?i.content:i.content.map(r).join("")},a=function(i){for(var o=[],s=0;s0&&o[o.length-1].tagName===r(l.content[0].content[1])&&o.pop():l.content[l.content.length-1].content==="/>"||o.push({tagName:r(l.content[0].content[1]),openedBraces:0}):o.length>0&&l.type==="punctuation"&&l.content==="{"&&(!i[s+1]||i[s+1].type!=="punctuation"||i[s+1].content!=="{")&&(!i[s-1]||i[s-1].type!=="plain-text"||i[s-1].content!=="{")?o[o.length-1].openedBraces++:o.length>0&&o[o.length-1].openedBraces>0&&l.type==="punctuation"&&l.content==="}"?o[o.length-1].openedBraces--:l.type!=="comment"&&(u=!0)),(u||typeof l=="string")&&o.length>0&&o[o.length-1].openedBraces===0){var d=r(l);s0&&(typeof i[s-1]=="string"||i[s-1].type==="plain-text")&&(d=r(i[s-1])+d,i.splice(s-1,1),s--),/^\s+$/.test(d)?i[s]=d:i[s]=new n.Token("plain-text",d,null,d)}l.content&&typeof l.content!="string"&&a(l.content)}};n.hooks.add("after-tokenize",function(i){i.language==="xquery"&&a(i.tokens)})})(t)}return NN}var AN,m9;function YKe(){if(m9)return AN;m9=1,AN=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 AN}var DN,g9;function KKe(){if(g9)return DN;g9=1,DN=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/,i="\\b(?!"+a.source+")(?!\\d)\\w+\\b",o=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,s=/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,r(o)),l=/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,r(i)),u="(?!\\s)(?:!?\\s*(?:"+s+"\\s*)*"+l+")+";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(o))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,r(u)).replace(//g,r(o))),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 DN}var he=r9e,XKe=he;he.register(m9e());he.register(g9e());he.register(h9e());he.register(v9e());he.register(_9e());he.register(b9e());he.register(S9e());he.register(E9e());he.register(y9e());he.register(C9e());he.register(T9e());he.register(x9e());he.register(R9e());he.register(w9e());he.register(I9e());he.register(O9e());he.register(N9e());he.register(A9e());he.register(D9e());he.register(M9e());he.register(L9e());he.register(k9e());he.register(Ure());he.register(jre());he.register(P9e());he.register($9e());he.register(F9e());he.register(B9e());he.register(U9e());he.register(j9e());he.register(z9e());he.register(H9e());he.register(G9e());he.register(V9e());he.register(Zc());he.register(q9e());he.register(W9e());he.register(Y9e());he.register(K9e());he.register(X9e());he.register(Q9e());he.register(Z9e());he.register(J9e());he.register(eqe());he.register(qP());he.register(tqe());he.register(WS());he.register(nqe());he.register(rqe());he.register(aqe());he.register(iqe());he.register(oqe());he.register(sqe());he.register(lqe());he.register(cqe());he.register(uqe());he.register(dqe());he.register(pqe());he.register(fqe());he.register(mqe());he.register(gqe());he.register(hqe());he.register(vqe());he.register(_qe());he.register(bqe());he.register(Sqe());he.register(Eqe());he.register(yqe());he.register(Cqe());he.register(Tqe());he.register(xqe());he.register(Rqe());he.register(wqe());he.register(Iqe());he.register(Oqe());he.register(Nqe());he.register(Aqe());he.register(Dqe());he.register(Mqe());he.register(Lqe());he.register(kqe());he.register(Pqe());he.register($qe());he.register(Fqe());he.register(Bqe());he.register(Uqe());he.register(jqe());he.register(zqe());he.register(Hqe());he.register(Gqe());he.register(Vqe());he.register(qqe());he.register(Wqe());he.register(Yqe());he.register(WP());he.register(Kqe());he.register(Xqe());he.register(Qqe());he.register(Zqe());he.register(Jqe());he.register(eWe());he.register(tWe());he.register(nWe());he.register(rWe());he.register(aWe());he.register(iWe());he.register(oWe());he.register(sWe());he.register(lWe());he.register(cWe());he.register(uWe());he.register(dWe());he.register(YP());he.register(pWe());he.register(KS());he.register(fWe());he.register(mWe());he.register(gWe());he.register(hWe());he.register(vWe());he.register(_We());he.register(bWe());he.register(XP());he.register(SWe());he.register(EWe());he.register(yWe());he.register(Hre());he.register(CWe());he.register(TWe());he.register(xWe());he.register(RWe());he.register(wWe());he.register(IWe());he.register(OWe());he.register(NWe());he.register(AWe());he.register(DWe());he.register(MWe());he.register(LWe());he.register(kWe());he.register(PWe());he.register($We());he.register(FWe());he.register(zre());he.register(BWe());he.register(UWe());he.register(jWe());he.register(Qa());he.register(zWe());he.register(HWe());he.register(GWe());he.register(VWe());he.register(qWe());he.register(WWe());he.register(YWe());he.register(KWe());he.register(XWe());he.register(QWe());he.register(ZWe());he.register(JWe());he.register(eYe());he.register(tYe());he.register(nYe());he.register(rYe());he.register(aYe());he.register(iYe());he.register(oYe());he.register(sYe());he.register(lYe());he.register(cYe());he.register(uYe());he.register(dYe());he.register(pYe());he.register(fYe());he.register(mYe());he.register(gYe());he.register(hYe());he.register(vYe());he.register(_Ye());he.register(bYe());he.register(XS());he.register(SYe());he.register(EYe());he.register(yYe());he.register(CYe());he.register(TYe());he.register(xYe());he.register(RYe());he.register(wYe());he.register(IYe());he.register(OYe());he.register(NYe());he.register(AYe());he.register(DYe());he.register(MYe());he.register(LYe());he.register(kYe());he.register(PYe());he.register($Ye());he.register(FYe());he.register(BYe());he.register(UYe());he.register(jYe());he.register(zYe());he.register(HYe());he.register(GYe());he.register(VYe());he.register(qYe());he.register(WYe());he.register(YYe());he.register(KYe());he.register(YS());he.register(XYe());he.register(QYe());he.register(ZYe());he.register(JYe());he.register(QP());he.register(eKe());he.register(tKe());he.register(nKe());he.register(rKe());he.register(aKe());he.register(iKe());he.register(oKe());he.register(sKe());he.register(lKe());he.register(cKe());he.register(uKe());he.register(dKe());he.register(VP());he.register(pKe());he.register(fKe());he.register(mKe());he.register(gKe());he.register(hKe());he.register(vKe());he.register(ZP());he.register(_Ke());he.register(bKe());he.register(SKe());he.register(EKe());he.register(yKe());he.register(CKe());he.register(TKe());he.register(xKe());he.register(Gre());he.register(RKe());he.register(KP());he.register(wKe());he.register(IKe());he.register(OKe());he.register(NKe());he.register(AKe());he.register(DKe());he.register(Vre());he.register(MKe());he.register(LKe());he.register(kKe());he.register(PKe());he.register($Ke());he.register(FKe());he.register(BKe());he.register(UKe());he.register(jKe());he.register(zKe());he.register(HKe());he.register(GKe());he.register(VKe());he.register(qKe());he.register(WKe());he.register(qre());he.register(YKe());he.register(KKe());const QKe=xa(XKe);var Sl=ore(QKe,f9e);Sl.supportedLanguages=Yze;const El={'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%)"}},yl={'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:h9,Text:ZKe}=wn,JKe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),r=c.useRef(null),[a,i]=c.useState(!1),o=f=>{let m="";for(let g=0;g=32&&v<=126?m+=String.fromCharCode(v):m+="."}return m},s=f=>{let m="";for(let v=0;v=h&&(g=g-2*h),g},l={"15-15452":f=>{if(f.length===16){const m=f.slice(8)+f.slice(0,8);n(g=>[...g,`UnknownTag | ${m}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"15-16065":f=>{if(f.length===16){const m=f.slice(8)+f.slice(0,8);n(g=>[...g,`KnownTag | ${m}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"12-15427":f=>{if(f.length===8){const m=s(f);n(g=>[...g,`UpsideState | ${m}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)},"12-15426":f=>{if(f.length===8){const m=s(f);n(g=>[...g,`UprightState | ${m}`])}else console.log(`Incorrect payload length for '${f}'. Unable to rearrange.`)}};c.useEffect(()=>{if(a){const f=new EventSource("/api/sse");return f.onopen=()=>{console.log("Connection established.")},f.addEventListener("keep-alive",m=>{console.log("keep-alive event received:",m)}),f.addEventListener("pressed",m=>{const g=JSON.parse(m.data);n(h=>[...h,"Pressed: "+g.data])}),f.addEventListener("rtnl-raw-log2",m=>{const g=JSON.parse(m.data),h=`${"Raw2 | #"+g.data.sequence+" Uptime: "+g.data.uptime+" Func: "+g.data.function_group.toString().padStart(2," ")+"-"+g.data.function+" Payload: '"+g.data.field6+"' ASCII: '"+o(g.data.field6)+"'"}`;n(S=>[...S,h]);const v=`${g.data.function_group.toString().padStart(2," ")}-${g.data.function}`;l[v]&&l[v](g.data.field6)}),f.addEventListener("rtnl-raw-log3",m=>{const g=JSON.parse(m.data);n(h=>[...h,"Raw3 | Datetime: "+g.data.datetime+" Unknown: "+g.data.field2])}),f.onerror=m=>{console.error("EventSource failed:",m)},()=>{console.log("Connection closed."),f.close()}}else return},[a]),c.useEffect(()=>{r.current&&(r.current.scrollTop=r.current.scrollHeight)},[t]);const u=f=>{i(f)},d=()=>{n([])};function p(){const f=window.matchMedia("(prefers-color-scheme: dark)").matches,m=localStorage.getItem("theme");return m==="auto"?f?"dark":"light":m}return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Md,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Md,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.rtnl.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("settings.rtnl.title")}),b.jsxs(h9,{style:{margin:"8px 0"},children:[b.jsxs(h9,{children:[b.jsx($a,{checked:a,onChange:u,style:{marginRight:8}}),b.jsx(ZKe,{children:e("settings.rtnl.enableRtnl")})]}),b.jsx(Qr,{children:e("settings.rtnl.title")}),b.jsx("div",{ref:r,style:{minHeight:"max(40vh, 333px)",maxHeight:"max(40vh, 333px)",overflow:"auto",padding:1,background:p()==="dark"?"hsl(220, 13%, 18%)":"hsl(230, 1%, 98%)"},children:b.jsx(Sl,{language:"log",style:p()==="dark"?El:yl,customStyle:{borderRadius:0,margin:0,border:"none"},children:t.join(` -`)})}),b.jsx(Rt,{onClick:d,style:{marginTop:8},children:e("settings.rtnl.clear")})]})]})]})]})},v9=new xn(vn()),Wre=({overlay:e})=>{const{t}=$t(),n=async a=>{const i=new FormData;i.append("file",a);const o={filename:[i.get("file")]},s=async()=>{await v9.apiTriggerWriteConfigGet()};(async u=>{try{await v9.apiUploadCertPost(u,e);try{s()}catch{Qe.error("Error while saving config to file.")}Qe.success(t("settings.certificates.uploadSuccessful",{filename:a.name}))}catch{Qe.error(t("settings.certificates.uploadFailed",{filename:a.name}))}})(o)},r={name:"file",multiple:!0,customRequest:async a=>{const{onSuccess:i,onError:o,file:s}=a;try{await n(s),i("Ok")}catch(l){o(l)}},onChange(a){const{status:i}=a.file;i!=="uploading"&&console.log(a.file,a.fileList)},onDrop(a){console.log("Dropped files",a.dataTransfer.files)}};return b.jsxs(bg.Dragger,{...r,children:[b.jsx("p",{className:"ant-upload-drag-icon",children:b.jsx(jk,{})}),b.jsx("p",{className:"ant-upload-text",children:t("settings.certificates.uploadText")}),b.jsx("p",{className:"ant-upload-hint",children:t("settings.certificates.uploadHint")})]})},eXe=()=>{const{t:e}=$t(),{Paragraph:t}=wn;return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Md,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Md,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("settings.navigationTitle")},{title:e("settings.certificates.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("settings.certificates.title")}),b.jsx(t,{children:b.jsx(Xn,{message:e("settings.certificates.information"),description:b.jsxs("div",{children:[e("settings.certificates.hint")," ",b.jsx(wt,{to:"/tonieboxes",children:e("settings.tonieboxes")}),"."]}),type:"info",showIcon:!0})}),b.jsx(t,{children:b.jsx(Wre,{})})]})]})]})},Cl=()=>{const{t:e}=$t(),t=[{key:"home",label:b.jsx(wt,{to:"/",children:e("home.navigationTitle")}),icon:ce.createElement(e1e),title:e("home.navigationTitle")},{key:"features",label:b.jsx(wt,{to:"/home/features",children:e("home.features.navigationTitle")}),icon:ce.createElement(eNe),title:e("home.features.navigationTitle")},{key:"statistics",label:b.jsx(wt,{to:"/home/stats",children:e("home.stats.navigationTitle")}),icon:ce.createElement(xD),title:e("home.stats.navigationTitle")},{key:"hiddenMeeting",label:b.jsx(wt,{to:"/home/tonieMeeting"})}];return b.jsx(yg,{mode:"inline",defaultOpenKeys:["sub"],items:t})},kd=({title:e,okText:t,cancelText:n,content:r,contentHint:a="",contentHintTitle:i="",open:o,handleOk:s,handleCancel:l})=>{const{t:u}=$t();return b.jsxs(Sn,{title:b.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center"},children:[b.jsx(zee,{style:{fontSize:36,color:"orange",margin:16}}),b.jsx("div",{style:{marginBottom:16},children:e})]}),open:o,onOk:s,onCancel:l,okText:t,cancelText:n,className:"warning",children:[b.jsx("div",{style:{marginBottom:24},children:r}),a&&b.jsx("div",{children:b.jsx(Xn,{type:"warning",showIcon:!0,message:i||u("confirmDialog.contentHintTitle"),description:a})})]})},tXe=new xn(vn()),{Text:nXe}=wn,JP=({open:e,onClose:t,tonieCardOrTAFRecord:n,showSourceInfo:r=!1,readOnly:a,lastRUIDs:i,overlay:o,onHide:s})=>{const{t:l}=$t(),[u,d]=c.useState(!1),[p,f]=c.useState(!1),[m,g]=c.useState(""),[h,v]=c.useState([]);c.useEffect(()=>{r&&"sourceInfo"in n&&(n.sourceInfo.picture!==n.tonieInfo.picture&&E!==y||n.sourceInfo.picture===n.tonieInfo.picture&&E!==y||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),v(n.sourceInfo.tracks))},[n,e]);const S=i&&"ruid"in n?i.filter(([M])=>M===n.ruid).map(([,M,N])=>({ruidTime:M,boxName:N})):null,_=n.tonieInfo.series+(n!=null&&n.tonieInfo.episode?" - "+n.tonieInfo.episode:"")+(n.tonieInfo.model?" ("+n.tonieInfo.model+")":""),E=`${n.tonieInfo.series}`+(n.tonieInfo.episode?` - ${n.tonieInfo.episode}`:""),y="sourceInfo"in n?`${n.sourceInfo.series}`+(n.sourceInfo.episode?` - ${n.sourceInfo.episode}`:""):"",C=p?y:E,T=()=>{d(!0)},x=()=>{w(),d(!1)},R=()=>{d(!1)},w=async()=>{if(s&&"ruid"in n&&n.ruid)try{await tXe.apiPostTeddyCloudContentJson(n.ruid,"hide=true",o),Qe.success(l("tonies.messages.hideTonieSuccessful")),s(n.ruid)}catch(M){Qe.error(l("tonies.messages.hideTonieFailed")+M)}},I=b.jsx(kd,{title:l("tonies.confirmHideModal.title"),open:u,okText:l("tonies.confirmHideModal.hide"),cancelText:l("tonies.confirmHideModal.cancel"),content:l("tonies.confirmHideModal.confirmHideDialog",{tonieToHide:_||("uid"in n?n.uid:"")}),handleOk:x,handleCancel:R}),O=b.jsx(b.Fragment,{children:b.jsxs("h3",{children:[C||l("tonies.informationModal.unknownModel"),b.jsx("br",{}),"uid"in n&&n.uid?b.jsx(nXe,{type:"secondary",children:n.uid}):""]})}),k=b.jsxs("div",{style:{display:"flex",justifyContent:"space-between",width:"100%"},children:[b.jsx("div",{children:"ruid"in n&&n.ruid?a?"":b.jsx(Rt,{onClick:T,children:l("tonies.informationModal.hideTag")}):""}),b.jsx(Rt,{type:"primary",onClick:t,children:l("tonies.informationModal.ok")})]});return b.jsxs(b.Fragment,{children:[b.jsxs(Sn,{title:O,footer:k,open:e,keyboard:!0,closable:!1,maskClosable:!0,onCancel:t,children:[b.jsxs("div",{style:{position:"relative"},children:[b.jsx("img",{src:n.tonieInfo.picture?n.tonieInfo.picture:"/img_unknown.png",alt:"",style:{width:"100%"}}),p?b.jsx(Jt,{title:`${y}`?l("tonies.alternativeSource",{originalTonie:'"'+E+'"',assignedContent:'"'+y+'"'}).replace(' "" '," "):l("tonies.alternativeSourceUnknown",{originalTonie:'"'+E+'"'}).replace(' "" '," "),placement:"bottom",children:b.jsx("img",{src:m,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),S&&S.length>0?b.jsxs(b.Fragment,{children:[b.jsxs("strong",{children:[l("tonies.lastPlayedOnModal.lastPlayedOnMessage"),":"]}),b.jsx("ul",{children:S.map(({ruidTime:M,boxName:N},A)=>b.jsxs("li",{children:[N,M?" ("+M+")":""]},A))})]}):b.jsx(b.Fragment,{}),b.jsxs("div",{children:["valid"in n?b.jsxs("p",{children:[b.jsx("strong",{children:l("tonies.infoModal.valid")})," ",n.valid?l("tonies.infoModal.yes"):l("tonies.infoModal.no")]}):"","exists"in n?b.jsxs("p",{children:[b.jsx("strong",{children:l("tonies.infoModal.exists")})," ",n.exists?l("tonies.infoModal.yes"):l("tonies.infoModal.no")]}):"",p?h&&h.length>0?b.jsxs(b.Fragment,{children:[b.jsx("strong",{children:l("tonies.infoModal.tracklist")}),b.jsx("ol",{children:h.map((M,N)=>b.jsx("li",{children:M},N))})]}):b.jsx(b.Fragment,{}):n.tonieInfo.tracks&&n.tonieInfo.tracks.length>0?b.jsxs(b.Fragment,{children:[b.jsx("strong",{children:l("tonies.infoModal.tracklist")}),b.jsx("ol",{children:n.tonieInfo.tracks.map((M,N)=>b.jsx("li",{children:M},N))})]}):b.jsx(b.Fragment,{})]})]}),I]})},e2=[".mp3",".aac",".m4a",".wav",".flac",".ogg",".opus",".aiff",".aif",".wma",".ac3",".dts",".taf"];function Vu(e,t=!0,n=1){if(!e||e<0)return"NaN";const r=t?1e3:1024;if(Math.abs(e)=r&&i{const{t:l}=$t(),{playAudio:u}=CS(),{token:d}=aXe(),p=Vo(),f=lP(),m=c.useRef(null),g=c.useRef(null),[h,v]=c.useState([]),[S,_]=c.useState(""),[E,y]=c.useState(!1),[C,T]=c.useState([]),[x,R]=c.useState(!1),[w,I]=c.useState(),[O,k]=c.useState(""),[P,M]=c.useState(!1);c.useEffect(()=>{T([])},[]),c.useEffect(()=>{if(n){const V=new URLSearchParams(p.search);V.set("path",""),_("");const H=`${window.location.pathname}?${V.toString()}`;window.history.replaceState(null,"",H),y(q=>!q)}},[n]),c.useEffect(()=>{rXe.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${S}&special=${e}`+(n?`&overlay=${n}`:"")).then(V=>V.json()).then(V=>{var H=V.files;i&&(H=H.filter(q=>q.isDir)),t.length>0&&(H=H.filter(q=>q.isDir||t.some(K=>q.name.endsWith(K)))),v(H)})},[S,e,i,E]),c.useEffect(()=>{g.current!==null&&m.current&&m.current.setSelectionRange(g.current,g.current)},[O]);const N=V=>{var H;!V.isDir&&((H=V.tonieInfo)!=null&&H.tracks)&&(I(V),R(!0))},A=V=>{a&&f(`?path=${V}`),S===V&&y(H=>!H),M(!1),_(V)},D=(V,H)=>{const q=V.split("/").filter(Z=>Z),K=[{title:b.jsx("span",{style:{cursor:"pointer"},onClick:()=>H(""),children:l("fileBrowser.root")}),key:"/"}];return q.forEach((Z,te)=>{const se=`/${q.slice(0,te+1).join("/")}`;K.push({title:b.jsx("span",{style:{cursor:"pointer"},onClick:()=>H(se),children:Z}),key:se})}),b.jsx(Zd,{items:K})},L=V=>{k(V.target.value),g.current=V.target.selectionStart,M(!0)},$=()=>{k(""),g.current=0},F=()=>{M(!0)},B=()=>{M(!1)},z=V=>C.includes(V.key)?"highlight-row":"",U=V=>{if(r>0){if(t){const q=V.length;V=V.filter(K=>{const Z=h.find(te=>te.name===K);return Z&&Z.tafHeader!==void 0||Z&&t.some(te=>Z.name.toLowerCase().endsWith(te))}),q!==V.length&&Qe.warning(l("fileBrowser.selectAllowedFileTypesOnly",{fileTypes:t.join(", ")}))}V.length>r?Qe.warning(l("fileBrowser.maxSelectedRows",{maxSelectedRows:r})):T(V)}else T(V);const H=(h==null?void 0:h.filter(q=>V.includes(q.name)))||[];s!==void 0&&s(H,S,e)},j=V=>{const H=V===".."?S.split("/").slice(0,-1).join("/"):`${S}/${V}`;a&&f(`?path=${H}`),M(!1),T([]),_(H)},G=(V,H)=>H.reduce((q,K)=>{if(q&&q[K]!==void 0)return q[K]},V),J=(V,H,q)=>{const K=Array.isArray(q)?G(V,q):V[q],Z=Array.isArray(q)?G(H,q):H[q];return K===void 0&&Z===void 0?0:K===void 0?1:Z===void 0?-1:typeof K=="string"&&typeof Z=="string"?K.localeCompare(Z):typeof K=="number"&&typeof Z=="number"?K-Z:(console.log("Unsupported types for sorting:",V,H),console.log("Unsupported types for sorting field:",q,K,Z),0)},Y=(V,H)=>V.isDir===H.isDir?J(V,H,"name"):V.isDir?-1:1;var X=[{title:"",dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(V,H)=>{var q,K;return H&&((q=H.tonieInfo)!=null&&q.picture)?b.jsx("img",{src:H.tonieInfo.picture,alt:l("tonies.content.toniePicture"),onClick:()=>N(H),style:{width:100,cursor:!H.isDir&&((K=H==null?void 0:H.tonieInfo)!=null&&K.tracks)?"help":"default"}},`picture-${H.name}`):b.jsx(b.Fragment,{})},showOnDirOnly:!1},{title:l("fileBrowser.name"),dataIndex:"name",key:"name",sorter:Y,defaultSortOrder:"ascend",render:(V,H)=>{var q,K,Z,te,se;return H&&b.jsxs("div",{children:[b.jsxs("div",{className:"showSmallDevicesOnly",children:[b.jsx("div",{children:b.jsxs("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:[H.isDir?"["+H.name+"]":H.name," "]})}),b.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model}),b.jsx("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:((K=H.tonieInfo)!=null&&K.series?(Z=H.tonieInfo)==null?void 0:Z.series:"")+((te=H.tonieInfo)!=null&&te.episode?" - "+((se=H.tonieInfo)==null?void 0:se.episode):"")})]}),b.jsx("div",{className:"showMediumDevicesOnly",children:b.jsx("div",{children:b.jsxs("div",{style:{wordBreak:H.isDir?"normal":"break-word"},children:[H.isDir?"["+H.name+"]":H.name," "]})})}),b.jsx("div",{className:"showBigDevicesOnly",children:H.isDir?"["+H.name+"]":H.name})]},`name-${H.name}`)},filteredValue:[O],onFilter:(V,H)=>{var K,Z,te,se;const q=V.toLowerCase();return H.name===".."||H.name.toLowerCase().includes(q)||!H.isDir&&"tafHeader"in H&&H.tafHeader.size&&Vu(H.tafHeader.size).toString().includes(q)||"tafHeader"in H&&((K=H.tafHeader.audioId)==null?void 0:K.toString().includes(q))||"tonieInfo"in H&&((Z=H.tonieInfo)==null?void 0:Z.model.toLowerCase().includes(q))||"tonieInfo"in H&&((te=H.tonieInfo)==null?void 0:te.series.toLowerCase().includes(q))||"tonieInfo"in H&&((se=H.tonieInfo)==null?void 0:se.episode.toLowerCase().includes(q))},showOnDirOnly:!0},{title:l("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(V,H)=>{var q;return b.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model},`model-${H.name}`)}},{title:b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"showMediumDevicesOnly",children:[l("fileBrowser.model"),"/",l("fileBrowser.series"),"/",l("fileBrowser.episode")]}),b.jsx("div",{className:"showBigDevicesOnly",children:l("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(V,H)=>{var q,K,Z,te,se,ue,me;return b.jsxs("div",{children:[b.jsxs("div",{className:"showMediumDevicesOnly",children:[b.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.model}),b.jsx("div",{style:{wordBreak:"break-word"},children:((K=H.tonieInfo)!=null&&K.series?(Z=H.tonieInfo)==null?void 0:Z.series:"")+((te=H.tonieInfo)!=null&&te.episode?" - "+((se=H.tonieInfo)==null?void 0:se.episode):"")})]}),b.jsx("div",{className:"showBigDevicesOnly",children:(ue=H.tonieInfo)!=null&&ue.series?(me=H.tonieInfo)==null?void 0:me.series:""})]},`series-${H.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:l("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(V,H)=>{var q;return b.jsx("div",{children:(q=H.tonieInfo)==null?void 0:q.episode},`episode-${H.name}`)}},{title:b.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:l("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(V,H)=>{let q=[];return H.tafHeader?q.push(b.jsx(Jt,{title:l("fileBrowser.playFile"),children:b.jsx(Lo,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+S+"/"+H.name)+"?ogg=true&special="+e+(n?`&overlay=${n}`:""),H.tonieInfo)})},`action-play-${H.name}`)):iXe.some(K=>H.name.endsWith(K))&&q.push(b.jsx(Jt,{title:l("fileBrowser.playFile"),children:b.jsx(Lo,{style:{margin:"0 8px 0 0"},onClick:()=>u(encodeURI("/content"+S+"/"+H.name)+"?special="+e+(n?`&overlay=${n}`:""),H.tonieInfo)})},`action-play-${H.name}`)),q},showOnDirOnly:!1}];return X.forEach(V=>{V.hasOwnProperty("sorter")||(V.sorter=(H,q)=>J(H,q,V.dataIndex))}),i&&(X=X.filter(V=>V.showOnDirOnly)),o&&(X=X.filter(V=>typeof V.key=="string"?o.includes(V.key):!1)),b.jsxs(b.Fragment,{children:[w?b.jsx(JP,{open:x,tonieCardOrTAFRecord:w,onClose:()=>R(!1),overlay:n}):"",b.jsx("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:b.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[b.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:l("tonies.currentPath")}),D(S,A)]})}),b.jsx(Wa,{dataSource:h,columns:X,rowKey:V=>V.name,pagination:!1,onRow:V=>({onDoubleClick:()=>{if(V.isDir)j(V.name);else{const H=C.includes(V.name)?C.filter(q=>q!==V.name):[...C,V.name];U(H)}}}),rowClassName:z,rowSelection:r>0?{selectedRowKeys:C,onChange:U}:{selectedRowKeys:C,onChange:U,getCheckboxProps:V=>({disabled:V.name===".."}),onSelectAll:(V,H)=>{const q=V?H.filter(K=>K.name!=="..").map(K=>K.name):[];T(q)}},components:{header:{wrapper:V=>b.jsx("thead",{...V}),row:V=>b.jsxs(b.Fragment,{children:[b.jsx("tr",{...V}),b.jsx("tr",{children:b.jsx("th",{style:{padding:"10px 8px"},colSpan:X.length+1,children:b.jsx(en,{placeholder:l("fileBrowser.filter"),value:O,onChange:L,onFocus:F,onBlur:B,ref:m,style:{width:"100%"},autoFocus:P,addonAfter:b.jsx(na,{onClick:$,disabled:O.length===0,style:{color:O.length===0?d.colorTextDisabled:d.colorText,cursor:O.length===0?"default":"pointer"}})})})})]}),cell:V=>b.jsx("th",{...V,style:{position:"sticky",top:0,zIndex:20}})}}})]})},oXe=new xn(vn()),Yre=({open:e,onClose:t,setValue:n,props:r,tonieCardProps:a,audioId:i,hash:o})=>{const{t:s}=$t(),[l]=Xt.useForm();c.useEffect(()=>{e&&f(),e&&a&&l.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,l]);const u=async C=>{if(C.tracks&&(C.tracks=C.tracks.filter(T=>T.track&&T.track.trim()).map(T=>T.track)),C.audio_id){C.audio_id=C.audio_id.filter(R=>R.audio_id&&R.audio_id.trim()&&R.hash&&R.hash.trim());const T=C.audio_id.map(R=>R.audio_id),x=C.audio_id.map(R=>R.hash);C={no:C.no,model:C.model,audio_id:T,hash:x,title:C.title,series:C.series,episodes:C.episodes,tracks:C.tracks,release:C.release,language:C.language,category:C.category,pic:C.pic}}g(C),v(!0);try{await oXe.apiPostTeddyCloudRaw("/api/doSomething",JSON.stringify(C),void 0,void 0,{"Content-Type":"application/json"}),C.article&&n&&(n(C.article),r.onChange(C.article)),f(),Qe.success(s("tonies.addNewCustomTonieModal.successfullyCreated")),t()}catch(T){Qe.error(s("tonies.addNewCustomTonieModal.failedToCreate")+T)}},d=()=>{l.submit()},p=()=>{f(),t()},f=()=>{l.resetFields(),l.setFieldsValue({audio_id:[{audio_id:i||"",hash:o||""}],tracks:[{track:""}]})},[m,g]=c.useState(""),[h,v]=c.useState(!1),S=b.jsx(Rt,{type:"primary",onClick:()=>_(),children:s("tonies.informationModal.ok")}),_=()=>{v(!1),p()};function E(){const C=window.matchMedia("(prefers-color-scheme: dark)").matches,T=localStorage.getItem("theme");return T==="auto"?C?"dark":"light":T}const y=b.jsx(Sn,{footer:S,width:700,title:"File (you can copy the content to the tonies.custom.json)",open:h,onCancel:_,children:m?b.jsxs(b.Fragment,{children:[b.jsx(Sl,{language:"json",style:E()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(m,null,2)},"json-readable"),b.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),b.jsx(Sl,{language:"json",style:E()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(m,null,0)},"json-minimized")]}):"Loading..."});return b.jsxs(b.Fragment,{children:[b.jsxs(Sn,{title:s("tonies.addNewCustomTonieModal.title"),open:e,onCancel:p,onOk:d,okText:s("tonies.addNewCustomTonieModal.save"),width:Math.max(Math.min(window.innerWidth*.75,800),500),children:[b.jsx(Xn,{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}}),b.jsx(Xt,{form:l,layout:"vertical",onFinish:u,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:24,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:b.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.series"),b.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.seriesHint"),children:b.jsx(zu,{style:{marginLeft:2}})},"series-tooltip")],name:"series",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.seriesRequired")}],children:b.jsx(en,{style:{width:"100%"}})},"series")}),b.jsx(Rn,{span:10,children:b.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.episode"),b.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.episodeHint"),children:b.jsx(zu,{style:{marginLeft:2}})},"episodes-tooltip")],name:"episodes",children:b.jsx(en,{style:{width:"100%"}})},"episodes")}),b.jsx(Rn,{span:6,children:b.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.language"),b.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.languageHint"),children:b.jsx(zu,{style:{marginLeft:2}})},"language-tooltip")],name:"language",children:b.jsx(en,{style:{width:"100%"}})},"language")})]})}),b.jsx(Rn,{span:24,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.model"),name:"model",rules:[{required:!0,message:s("tonies.addNewCustomTonieModal.modelRequired")}],children:b.jsx(en,{style:{width:"100%"}})},"model")}),b.jsx(Rn,{span:16,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.pic"),name:"pic",children:b.jsx(en,{style:{width:"100%"}})},"pic")})]})}),b.jsx(Rn,{span:24,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.no"),name:"no",children:b.jsx(en,{style:{width:"100%"}})},"no")}),b.jsx(Rn,{span:16,children:b.jsx(Xt.Item,{label:[s("tonies.addNewCustomTonieModal.formfieldTitle"),b.jsx(Jt,{title:s("tonies.addNewCustomTonieModal.formfieldTitleHint"),children:b.jsx(zu,{style:{marginLeft:2}})},"title-tooltip")],name:"title",children:b.jsx(en,{style:{width:"100%"}})},"title")})]})}),b.jsx(Rn,{span:24,children:b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.release"),name:"release",children:b.jsx(en,{style:{width:"100%"}})},"release")}),b.jsx(Rn,{span:16,children:b.jsx(Xt.Item,{label:s("tonies.addNewCustomTonieModal.category"),name:"category",children:b.jsx(en,{style:{width:"100%"}})},"category")})]})}),b.jsx(Rn,{span:24,children:b.jsx(Oa,{gutter:[16,0],children:b.jsx(Rn,{span:24,children:b.jsx(Xt.List,{name:"audio_id",children:(C,{add:T,remove:x})=>b.jsxs(b.Fragment,{children:[C.map(({key:R,name:w,...I},O)=>b.jsxs(Oa,{gutter:[16,0],children:[b.jsx(Rn,{span:8,children:c.createElement(Xt.Item,{...I,key:`audio-id-${R}`,name:[w,"audio_id"],label:b.jsx("div",{children:O===0?s("tonies.addNewCustomTonieModal.audioId"):""},`audio-id-label-${R}`)},b.jsx(en,{style:{width:"100%"}}))}),b.jsx(Rn,{span:16,children:c.createElement(Xt.Item,{...I,key:`hash-${R}`,name:[w,"hash"],label:b.jsx("div",{children:O===0?s("tonies.addNewCustomTonieModal.hash"):""},`hash-label-${R}`)},b.jsx(en,{style:{width:"100%"},addonAfter:b.jsx(Rt,{type:"link",onClick:()=>x(w),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`audio-id-hash-remove-${R}`)}))})]},`audio-id-hash-row-${R}`)),b.jsx(Xt.Item,{children:b.jsx(Rt,{type:"dashed",onClick:()=>T(),block:!0,children:s("tonies.addNewCustomTonieModal.addAudioIdHash")})},"add-audio-id-hash")]})},"audio-id-hash-list")})})}),b.jsx(Rn,{span:24,children:b.jsx(Xt.List,{name:"tracks",children:(C,{add:T,remove:x})=>b.jsxs(b.Fragment,{children:[C.map(({key:R,name:w,...I},O)=>b.jsx(Oa,{gutter:[16,0],children:b.jsx(Rn,{span:24,children:c.createElement(Xt.Item,{...I,key:`track-${R}`,name:[w,"track"],label:b.jsx("div",{children:O===0?s("tonies.addNewCustomTonieModal.track"):""},`track-label-${R}`)},b.jsx(en,{style:{width:"100%"},addonAfter:b.jsx(Rt,{type:"link",onClick:()=>x(w),style:{height:"auto",margin:-2},children:s("tonies.addNewCustomTonieModal.remove")},`track-remove-${R}`)},"input-track-"+R))})},`track-row-${R}`)),b.jsx(Xt.Item,{children:b.jsx(Rt,{type:"dashed",onClick:()=>T(),block:!0,children:s("tonies.addNewCustomTonieModal.addTrack")})},"add-track")]})},"track-list")})]})})]}),y]})},sXe=new xn(vn()),lXe=e=>{const{t}=$t();Qe.useMessage();const[n,r]=c.useState([]),[a,i]=c.useState(),[o,s]=c.useState(),[l,u]=c.useState(!1),d=async m=>{const g=encodeURIComponent(m),h="/api/toniesJsonSearch?searchModel="+g+"&searchSeries="+g+"&searchEpisode="+g;try{const S=await(await sXe.apiGetTeddyCloudApiRaw(h)).json();s(S);const _=S.map(E=>({value:E.model,text:"["+E.model+"] "+E.series+" - "+E.episode,picture:E.picture}));r(_)}catch(v){Qe.error(t("tonieArticleSearch.failedToFetchSearchResults")+v);return}},p=m=>{i(m),e.onChange(m)},f=()=>{u(!0)};return b.jsxs(b.Fragment,{children:[b.jsx($r,{showSearch:!0,value:a,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:d,onChange:p,notFoundContent:null,options:(n||[]).map(m=>({value:m.value,label:b.jsxs("div",{style:{display:"flex",alignItems:"center"},children:[b.jsx("img",{src:m.picture,alt:m.text,style:{display:"none"}}),m.text]})})),style:{marginTop:"8px"}}),b.jsx(Yre,{open:l,props:e,setValue:i,onClose:()=>u(!1)}),b.jsx(Jt,{title:t("tonies.addNewCustomTonieHint"),children:b.jsx(Rt,{onClick:f,style:{marginTop:8},children:t("tonies.addNewCustomTonie")})})]})},cXe=({countryCode:e,height:t})=>{switch(e){case"de-de":return b.jsxs("svg",{height:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 60",children:[b.jsx("path",{d:"M0 0h100v20H0z"}),b.jsx("path",{fill:"#D00",d:"M0 20h100v20H0z"}),b.jsx("path",{fill:"#FFCE00",d:"M0 40h100v20H0z"})]});case"en-gb":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.666",height:t,children:[b.jsxs("g",{fill:"#FFF",children:[b.jsx("path",{d:"M0 0h100v66.53H0z"}),b.jsx("path",{d:"M60.76 44.834 100 66.53v-6.141L71.988 44.834zM39.045 21.696 0 0v6.141l28.012 15.556z"})]}),b.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"}),b.jsxs("g",{fill:"#D80027",children:[b.jsx("path",{d:"M56.141 0H43.665v27.037H0v12.476h43.664V66.55H56.14V39.513h43.664V27.037H56.14z"}),b.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 b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),b.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"}),b.jsx("path",{fill:"#2E52B2",d:"M0 0h50v35.887H0z"}),b.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 b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFF",d:"M0 0h100v66.667H0z"}),b.jsx("path",{fill:"#0052B4",d:"M0 0h33.333v66.667H0z"}),b.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-be":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#fdda25",d:"M0 0h100v66.667H0z"}),b.jsx("path",{d:"M0 0h33.333v66.667H0z"}),b.jsx("path",{fill:"#ef3340",d:"M66.667 0H100v66.667H66.667z"})]});case"nl-nl":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFF",d:"M0 22.222h100v22.222H0z"}),b.jsx("path",{fill:"#cd1f2a",d:"M0 0h100v22.222H0z"}),b.jsx("path",{fill:"#1d4185",d:"M0 44.444h100v22.223H0z"})]});case"pt-pt":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[b.jsx("path",{y:"85.337",fill:"#D80027",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),b.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"}),b.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"}),b.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"}),b.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 b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFF",d:"M66.667 0H0v66.53h99.805V0Z"}),b.jsx("path",{fill:"#6DA544",d:"M0 0h33.333v66.667H0z"}),b.jsx("path",{fill:"#D80027",d:"M66.667 0H100v66.667H66.667z"})]});case"es-es":return b.jsxs("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 66.667",height:t,children:[b.jsx("path",{fill:"#FFFFFF",d:"M0 0h100v66.667H0z"}),b.jsx("path",{fill:"#D03433",d:"M0 0h100v17.778H0zm0 48.889h100v17.778H0z"}),b.jsx("path",{fill:"#FBCA46",d:"M0 17.778h100v31.111H0z"}),b.jsx("path",{fill:"#FFFFFF",d:"M34.667 31.111h4.444v2.222h-4.444z"}),b.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"}),b.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 b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 16.667 100 66.667",height:t,children:[b.jsxs("g",{children:[b.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"341.326",d:"M0 16.667H100V83.333H0V16.667z"}),b.jsx("path",{y:"85.337",fill:"#FFFFFF",width:"512",height:"170.663",d:"M0 16.667H100V50H0V16.667z"})]}),b.jsx("path",{y:"256",fill:"#D80027",width:"512",height:"170.663",d:"M0 50H100V83.333H0V50z"})]});case"tr-tr":return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",height:t,viewBox:"0 -5000 15000 10000",children:[b.jsx("path",{fill:"#E30A17",d:"M0-5000h15000V5000H0z"}),b.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}},MN=["de-de","en-gb","en-us","es-es","fr-fr","it-it","nl-be","nl-nl","pl-pl","pt-pt","tr-tr","undefined"],uXe=e=>{const{t}=$t(),[n,r]=Qe.useMessage(),[a,i]=c.useState([]),[o,s]=c.useState(),[l,u]=c.useState(!1),d="https://de1.api.radio-browser.info/json/";c.useEffect(()=>{(async()=>{try{(await fetch(d+"stats")).ok&&u(!0)}catch{console.log("Radio Browser API not available, disable radiostream search."),u(!1)}})()},[]);const p=(v,S)=>{let _;return(...E)=>{clearTimeout(_),_=setTimeout(()=>v.apply(void 0,E),S)}},f=async v=>{if(i([]),v==="")return;const S=encodeURIComponent(v),_=d+"stations/search?name="+S+"&is_https=true&hidebroken=true";try{const E=await fetch(_,{});if(!E.ok)throw new Error(E.status+" "+E.statusText);const y=await E.json(),C=Array.from(new Set(y.map(T=>T.url))).map(T=>{const x=y.find(R=>R.url===T);return{value:x.url,text:(x.country?"["+x.country+"] ":"")+x.name+(x.language?" ("+x.language+")":"")}});i(C)}catch(E){Qe.error(t("radioStreamSearch.failedToFetchSearchResults")+E);return}},m=c.useCallback(p(f,300),[]),g=v=>{s(v),e.onChange(v)};return l?b.jsxs(b.Fragment,{children:[b.jsx(wn.Text,{style:{fontSize:"small",display:"inline-block",marginTop:"8px"},children:t("radioStreamSearch.searchLabel")}),r,b.jsx($r,{showSearch:!0,style:{margin:"8px 0"},value:o,placeholder:e.placeholder,defaultActiveFirstOption:!1,suffixIcon:null,filterOption:!1,onSearch:m,onChange:g,notFoundContent:null,options:(a||[]).map(v=>({value:v.value,label:v.text}))})]}):b.jsx(b.Fragment,{})},hu=new xn(vn()),{Meta:dXe}=tp,{Text:_9}=wn,{useToken:pXe}=Xa,fXe=({tonieCard:e,lastRUIDs:t,overlay:n,readOnly:r,defaultLanguage:a="",showSourceInfo:i=!0,onHide:o,onUpdate:s})=>{const{t:l}=$t(),{token:u}=pXe(),[d,p]=c.useState(0),[f,m]=c.useState(e),[g,h]=Qe.useMessage(),[v,S]=c.useState(f.nocloud),[_,E]=c.useState(f.live),[y,C]=c.useState(f.downloadTriggerUrl),{playAudio:T}=CS(),[x,R]=c.useState(!1),[w,I]=c.useState(!1),[O,k]=c.useState(!1),[P,M]=c.useState(f.tonieInfo.model),[N,A]=c.useState(""),[D,L]=c.useState({validateStatus:"",help:""}),[$,F]=c.useState(f.source),[B,z]=c.useState(""),[U,j]=c.useState({validateStatus:"",help:""}),G=async()=>{try{const ve=await hu.apiGetTagInfo(f.ruid,n);m(ve),s(ve)}catch(ve){Qe.error("Error fetching updated card: "+ve)}},J=`${f.tonieInfo.series}`+(f.tonieInfo.episode?` - ${f.tonieInfo.episode}`:""),Y="sourceInfo"in f?`${f.sourceInfo.series}`+(f.sourceInfo.episode?` - ${f.sourceInfo.episode}`:""):"",X=i&&"sourceInfo"in f&&(f.sourceInfo.picture!==f.tonieInfo.picture&&J!==Y||f.sourceInfo.picture===f.tonieInfo.picture&&J!==Y),V=(ve,Ae,ye)=>{if(ve&&ve.length===1){const Ne=(ye==="library"?"lib:/":"content:/")+Ae+"/"+ve[0].name;z(Ne)}else z($)},H=()=>{k(!0)},q=()=>{z($),k(!1)},K=()=>{A(P),z($),I(!0)},Z=async()=>{try{$!==B&&await Te(),P!==N&&await de()}catch{G();return}I(!1),G()},te=async()=>{try{await hu.apiPostTeddyCloudContentJson(f.ruid,"live="+!_,n),E(!_),_?Qe.success(l("tonies.messages.liveDisabled")):Qe.success(l("tonies.messages.liveEnabled")),G()}catch(ve){Qe.error(l("tonies.messages.couldNotChangeLiveFlag")+ve)}},se=async()=>{try{await hu.apiPostTeddyCloudContentJson(f.ruid,"nocloud="+!v,n),m({...f,nocloud:!v}),S(!v),v?Qe.success(l("tonies.messages.cloudAccessEnabled")):Qe.success(l("tonies.messages.cloudAccessBlocked")),G()}catch(ve){Qe.error(l("tonies.messages.couldNotChangeCloudFlag")+ve)}},ue=async ve=>{console.log(f),T(ve,X?f.sourceInfo:f.tonieInfo,f.trackSeconds)},me=async()=>{const ve=f.downloadTriggerUrl;C("");try{g.open({type:"loading",content:l("tonies.messages.downloading"),duration:0});const ye=await(await hu.apiGetTeddyCloudApiRaw(ve)).blob();g.destroy(),g.open({type:"success",content:l("tonies.messages.downloadedFile")}),G()}catch(Ae){g.destroy(),g.open({type:"error",content:l("tonies.messages.errorDuringDownload")+Ae}),C(""+ve)}},de=async()=>{try{await hu.apiPostTeddyCloudContentJson(f.ruid,"tonie_model="+encodeURIComponent(N),n),M(N),Qe.success(l("tonies.messages.setTonieToModelSuccessful",{selectedModel:N||l("tonies.messages.setToEmptyValue")})),L({validateStatus:"",help:""})}catch(ve){throw Qe.error(l("tonies.messages.setTonieToModelFailed")+ve),L({validateStatus:"error",help:l("tonies.messages.setTonieToModelFailed")+ve}),ve}},Te=async()=>{try{await hu.apiPostTeddyCloudContentJson(f.ruid,"source="+encodeURIComponent(B),n),F(B),Qe.success(l("tonies.messages.setTonieToSourceSuccessful",{selectedSource:B||l("tonies.messages.setToEmptyValue")})),j({validateStatus:"",help:""})}catch(ve){throw Qe.error(l("tonies.messages.setTonieToSourceFailed")+ve),j({validateStatus:"error",help:l("tonies.messages.setTonieToSourceFailed")+ve}),ve}v||se()},Ee=ve=>{A(ve.target.value)},ge=ve=>{z(ve.target.value)},re=t.filter(([ve])=>ve===f.ruid).map(([,ve,Ae])=>({ruidTime:ve,boxName:Ae})),ne=ve=>{A(ve)},ae=ve=>{z(ve)},le=b.jsxs(b.Fragment,{children:[b.jsxs("h3",{style:{lineHeight:0},children:[l("tonies.editModal.title"),f.tonieInfo.model?" ("+f.tonieInfo.model+")":""]}),f.tonieInfo.series?b.jsx(_9,{type:"secondary",children:J}):" "]}),pe=b.jsx(b.Fragment,{children:b.jsxs(Rt,{type:"primary",onClick:Z,disabled:$===B&&P===N,children:[b.jsx(Fee,{},"saveClick")," ",l("tonies.editModal.save")]})}),Re=b.jsxs(Sn,{open:w,onCancel:()=>I(!1),title:le,footer:pe,width:700,children:[b.jsx(Qr,{orientation:"left",orientationMargin:"0",children:l("tonies.editModal.source")}),b.jsx("div",{children:b.jsxs(Xt.Item,{validateStatus:U.validateStatus,help:U.help,children:[b.jsx(en,{value:B,width:"auto",onChange:ge,addonBefore:b.jsx(na,{onClick:()=>{z($),j({validateStatus:"",help:""})},style:{color:$===B?u.colorTextDisabled:u.colorText,cursor:$===B?"default":"pointer"}}),addonAfter:b.jsx(Uk,{onClick:()=>H()})}),b.jsx(uXe,{placeholder:l("tonies.editModal.placeholderSearchForARadioStream"),onChange:ae})]})}),b.jsx(Qr,{orientation:"left",orientationMargin:"0",children:l("tonies.editModal.model")}),b.jsx("div",{children:b.jsxs(Xt.Item,{validateStatus:D.validateStatus,help:D.help,children:[b.jsx(en,{value:N,width:"auto",onChange:Ee,addonBefore:b.jsx(na,{onClick:()=>{A(P),L({validateStatus:"",help:""})},style:{color:P===N?u.colorTextDisabled:u.colorText,cursor:P===N?"default":"pointer"}})}),b.jsx(lXe,{placeholder:l("tonies.editModal.placeholderSearchForAModel"),onChange:ne})]})})]}),Se=b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[b.jsx(Rt,{onClick:q,children:l("tonies.selectFileModal.cancel")}),b.jsx(Rt,{type:"primary",onClick:()=>k(!1),children:l("tonies.selectFileModal.ok")})]}),Pe=b.jsx(Sn,{className:"sticky-footer",title:l("tonies.selectFileModal.selectFile"),open:O,onOk:()=>k(!1),onCancel:q,width:"auto",footer:Se,children:b.jsx(t2,{special:"library",maxSelectedRows:1,trackUrl:!1,filetypeFilter:[".taf",".tap"],onFileSelectChange:V})}),fe=r?[b.jsx(zu,{onClick:()=>{p(d+1),R(!0)}},"info"),f.valid||$.startsWith("http")?b.jsx(Lo,{onClick:()=>ue(f.valid?""+f.audioUrl:$)},"playpause"):b.jsx(Lo,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),b.jsx(CD,{style:{cursor:"default",color:v?"red":u.colorTextDisabled}},"nocloud"),b.jsx(I4,{style:{cursor:"default",color:_?"red":u.colorTextDisabled}},"live")]:[b.jsx(zu,{onClick:()=>{p(d+1),R(!0)}},"info"),b.jsx(Sm,{onClick:K},"edit"),f.valid||$.startsWith("http")?b.jsx(Lo,{onClick:()=>ue(f.valid?""+f.audioUrl:$)},"playpause"):y&&y.length>0?b.jsx(Bk,{onClick:me},"download"):b.jsx(Lo,{style:{cursor:"default",color:u.colorTextDisabled}},"playpause"),b.jsx(CD,{style:{color:v?"red":u.colorTextDescription},onClick:se},"nocloud"),b.jsx(I4,{style:{color:_?"red":u.colorTextDescription},onClick:te},"live")];return b.jsxs(b.Fragment,{children:[h,b.jsx(tp,{hoverable:!1,size:"small",style:re&&re.length>0?{background:u.colorBgContainerDisabled,borderTop:"3px #1677ff inset"}:{background:u.colorBgContainerDisabled,paddingTop:"2px"},title:b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[b.jsx("div",{style:{overflow:"hidden",textOverflow:"ellipsis"},children:f.tonieInfo.series?f.tonieInfo.series:l("tonies.unsetTonie")}),a!==f.tonieInfo.language?b.jsx(Jt,{placement:"top",zIndex:2,title:l("languageUtil."+f.tonieInfo.language),children:b.jsx(_9,{style:{height:20,width:"auto"},children:b.jsx(cXe,{countryCode:f.tonieInfo.language,height:20})})}):""]}),cover:b.jsxs("div",{style:{position:"relative"},children:[b.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%"}}),X?b.jsx(Jt,{title:`${Y}`?l("tonies.alternativeSource",{originalTonie:'"'+J+'"',assignedContent:'"'+Y+'"'}).replace(' "" '," "):l("tonies.alternativeSourceUnknown",{originalTonie:'"'+J+'"'}).replace(' "" '," "),placement:"bottom",children:b.jsx("img",{src:f.sourceInfo.picture,alt:"",style:{bottom:0,padding:8,position:"absolute",right:20,height:"50%",width:"auto"}})}):""]}),actions:fe,children:b.jsx(dXe,{title:`${f.tonieInfo.episode}`,description:f.uid})},f.ruid),b.jsx(JP,{open:x,onClose:()=>R(!1),tonieCardOrTAFRecord:f,showSourceInfo:i,readOnly:r,lastRUIDs:t,onHide:o,overlay:n},d),Pe,Re]})},mXe=({currentPage:e,onChange:t,total:n,pageSize:r,additionalButtonOnClick:a})=>{const{t:i}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(kk,{current:e,total:n,pageSize:r,onChange:t,showSizeChanger:!0,pageSizeOptions:["24","48","96","192"],locale:{items_per_page:i("tonies.tonies.pageSelector")},style:{marginBottom:8}}),b.jsx(Rt,{onClick:a,style:{marginLeft:16},children:i("tonies.tonies.showAll")})]})},{Option:gXe}=$r,Fh=new xn(vn()),LN="toniesListState",n2=({tonieCards:e,showFilter:t,showPagination:n,overlay:r,readOnly:a,defaultLanguage:i="",onToniesCardUpdate:o})=>{const{t:s}=$t(),l=Vo(),[u,d]=c.useState(e),[p,f]=c.useState(""),[m,g]=c.useState(""),[h,v]=c.useState(""),[S,_]=c.useState([]),[E,y]=c.useState(!1),[C,T]=c.useState(!1),[x,R]=c.useState(!1),[w,I]=c.useState(!1),[O,k]=c.useState(!1),[P,M]=c.useState(!1),[N,A]=c.useState(!1),[D,L]=c.useState(!1),[$,F]=c.useState(!1),[B,z]=c.useState(!1),[U,j]=c.useState(!1),[G,J]=c.useState(!0),[Y,X]=c.useState(!0),[V,H]=c.useState([]),[q,K]=c.useState(()=>{const Me=localStorage.getItem(LN);if(Me){const{pageSize:Ce}=JSON.parse(Me);return Ce}return 24}),[Z,te]=c.useState(1),[se,ue]=c.useState(!0),[me,de]=c.useState(!1),[Te,Ee]=c.useState(!0),[ge,re]=c.useState([]),[ne,ae]=c.useState(0),[le,pe]=c.useState(!1);c.useEffect(()=>{const Me=localStorage.getItem(LN);if(Me)try{const{pageSize:Ce,showAll:De}=JSON.parse(Me);De?ye():(K(Ce),Ne(1,Ce))}catch(Ce){console.error("Error parsing stored state:",Ce)}else console.log("No stored state found.")},[]),c.useEffect(()=>{(async()=>{const De=async ze=>await Fh.apiGetTonieboxLastRUID(ze),Ue=async ze=>await Fh.apiGetTonieboxLastRUIDTime(ze),Ye=await Fh.apiGetTonieboxesIndex(),He=await Promise.all(Ye.map(async ze=>{const Xe=await De(ze.ID),Be=await Ue(ze.ID);return[Xe,Be,ze.boxName]}));H(He)})(),(async()=>{const De=await Fh.apiGetTeddyCloudSettingRaw("frontend.split_model_content");pe(await De.text()==="true")})()},[]);const Re=c.useMemo(()=>e.map(Me=>Me.ruid).join(","),[e]);c.useEffect(()=>{const Ce=new URLSearchParams(l.search).get("tonieRUID");if(Ce){f(Ce),J(!1);const De=e.filter(Ue=>Ue.ruid.toLowerCase()===Ce);d(De)}else d(e);ae(De=>De+1),X(!1)},[l.search,Re]),c.useEffect(()=>{te(1),ae(Me=>Me+1)},[Re]),c.useEffect(()=>{const Me=JSON.stringify({pageSize:q,paginationEnabled:se,showAll:me});localStorage.setItem(LN,Me)},[Te,q,se,me]);const Se=()=>{Ee(!Te)},Pe=Me=>{o&&o(Me),d(Ce=>Ce.map(De=>De.ruid===Me.ruid?Me:De))},fe=()=>{let Me=e.filter(Ce=>{var De,Ue;return(((De=Ce.sourceInfo)==null?void 0:De.series)&&Ce.sourceInfo.series.toLowerCase().includes(m.toLowerCase())||Ce.tonieInfo.series.toLowerCase().includes(m.toLowerCase()))&&(((Ue=Ce.sourceInfo)==null?void 0:Ue.episode)&&Ce.sourceInfo.episode.toLowerCase().includes(h.toLowerCase())||Ce.tonieInfo.episode.toLowerCase().includes(h.toLowerCase()))&&(S.length===0||S.includes(Ce.tonieInfo.language!==void 0&&MN.includes(Ce.tonieInfo.language)?Ce.tonieInfo.language:"undefined")||S.includes(Ce.sourceInfo&&Ce.sourceInfo.language!==void 0&&MN.includes(Ce.sourceInfo.language)?Ce.sourceInfo.language:"undefined"))&&(!C||Ce.valid)&&(!x||!Ce.valid)&&(!w||Ce.exists)&&(!O||!Ce.exists)&&(!P||Ce.live)&&(!N||!Ce.live)&&(!D||Ce.nocloud)&&(!$||!Ce.nocloud)&&(!B||Ce.hasCloudAuth)&&(!U||!Ce.hasCloudAuth)});p&&(Me=Me.filter(Ce=>{var De,Ue,Ye;return Ce.tonieInfo.series.toLowerCase().includes(p.toLowerCase())||((De=Ce.sourceInfo)==null?void 0:De.series)&&Ce.sourceInfo.series.toLowerCase().includes(p.toLowerCase())||Ce.tonieInfo.episode.toLowerCase().includes(p.toLowerCase())||((Ue=Ce.sourceInfo)==null?void 0:Ue.episode)&&Ce.sourceInfo.episode.toLowerCase().includes(p.toLowerCase())||Ce.tonieInfo.model.toLowerCase().includes(p.toLowerCase())||((Ye=Ce.sourceInfo)==null?void 0:Ye.model)&&Ce.sourceInfo.model.toLowerCase().includes(p.toLowerCase())||Ce.ruid.toLowerCase().includes(p.toLowerCase())||Ce.uid.toLowerCase().includes(p.toLowerCase())})),E&&(Me=Me.filter(Ce=>V.some(([De])=>De===Ce.ruid))),ge&&(Me=Me.filter(Ce=>!ge.includes(Ce.ruid))),te(1),d(Me),ae(Ce=>Ce+1)},ve=Me=>{d(u.filter(Ce=>Ce.ruid!==Me)),re(Ce=>[...Ce,Me]),ae(Ce=>Ce+1)},Ae=()=>{f(""),g(""),v(""),T(!1),R(!1),I(!1),k(!1),M(!1),A(!1),L(!1),F(!1),z(!1),j(!1),y(!1),_([]);const Me=window.location.pathname;window.history.pushState({},"",Me),l.search="",ge&&(e=e.filter(Ce=>!ge.includes(Ce.ruid))),d(e),ae(Ce=>Ce+1)},ye=()=>{de(!0),ue(!1),Se()},be=()=>{ue(!0),de(!1),Ne(1,q)},Ne=(Me,Ce)=>{K(Ce),ae(De=>De+1),te(Me),Se(),window.scrollTo(0,0)};if(Y)return b.jsx("div",{children:"Loading..."});const Ie=()=>{if(me)return u!==null?u:e;{const Me=(Z-1)*q,Ce=Me+q;return u!==null?u.slice(Me,Ce):e.slice(Me,Ce)}},xe=b.jsx("div",{style:{display:"flex",justifyContent:"flex-end",flexWrap:"wrap"},children:se?b.jsx(mXe,{currentPage:Z,onChange:Ne,total:u!==null?u.length:e.length,pageSize:q,additionalButtonOnClick:ye}):b.jsx(Rt,{onClick:be,children:s("tonies.tonies.showPagination")})}),ke=b.jsxs(b.Fragment,{children:[b.jsx("label",{htmlFor:"search-field",className:"filter-label",children:s("tonies.tonies.filterBar.searchLabel")}),b.jsx(en.Search,{id:"search-field",placeholder:s("tonies.tonies.filterBar.searchPlaceholder"),value:p,onChange:Me=>f(Me.target.value),onSearch:fe,enterButton:!0,style:{margin:"8px 0 8px 0"}}),b.jsxs("div",{className:"filter-container",children:[b.jsx("label",{className:"filter-label",children:s("tonies.tonies.filterBar.filterLabel")}),b.jsx(en,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.seriesFilterPlaceholder"),value:m,onChange:Me=>g(Me.target.value)}),b.jsx(en,{style:{margin:"8px 0 8px 0"},placeholder:s("tonies.tonies.filterBar.episodeFilterPlaceholder"),value:h,onChange:Me=>v(Me.target.value)}),b.jsx($r,{mode:"multiple",placeholder:s("tonies.tonies.filterBar.languagePlaceholder"),value:S,onChange:Me=>_(Me),style:{width:"100%",margin:"8px 0"},children:MN.map(Me=>b.jsx(gXe,{value:Me,children:s(Me?"languageUtil."+Me:"languageUtil.other")},Me))}),b.jsxs("div",{children:[b.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"16px"},children:[b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:C,onChange:Me=>T(Me)}),s("tonies.tonies.filterBar.valid")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:x,onChange:Me=>R(Me)}),s("tonies.tonies.filterBar.invalid")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:w,onChange:Me=>I(Me)})," ",s("tonies.tonies.filterBar.exists")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:O,onChange:Me=>k(Me)}),s("tonies.tonies.filterBar.notExists")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:P,onChange:Me=>M(Me)})," ",s("tonies.tonies.filterBar.live")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:N,onChange:Me=>A(Me)})," ",s("tonies.tonies.filterBar.unsetLive")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:$,onChange:Me=>F(Me)}),s("tonies.tonies.filterBar.unsetNoCloud")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:D,onChange:Me=>L(Me)}),s("tonies.tonies.filterBar.noCloud")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:B,onChange:Me=>z(Me)}),s("tonies.tonies.filterBar.hasCloudAuth")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:U,onChange:Me=>j(Me)}),s("tonies.tonies.filterBar.unsetHasCloudAuth")]}),b.jsxs("div",{style:{flex:"1 1 auto",minWidth:0,marginRight:16,display:"flex",alignItems:"center",gap:"8px",whiteSpace:"nowrap"},children:[b.jsx($a,{checked:E,onChange:Me=>y(Me)}),s("tonies.tonies.filterBar.lastPlayed")]})]}),b.jsxs("div",{style:{display:"flex",flexWrap:"wrap",justifyContent:"flex-end",marginTop:8},children:[b.jsx(Rt,{onClick:Ae,style:{marginLeft:16},children:s("tonies.tonies.filterBar.resetFilters")}),b.jsx(Rt,{onClick:fe,style:{marginLeft:16},children:s("tonies.tonies.filterBar.applyFilters")})]})]})]})]}),rt=[{key:"search-filter",label:s(G?"tonies.tonies.filterBar.showFilters":"tonies.tonies.filterBar.hideFilters"),children:ke}];return b.jsxs("div",{className:"tonies-list-container",children:[t?b.jsx(xd,{items:rt,defaultActiveKey:G?[]:["search-filter"],onChange:()=>J(!G),bordered:!1}):"",b.jsx(vl,{header:n?xe:"",footer:n?xe:"",grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:4,xxl:6},dataSource:Ie(),renderItem:Me=>b.jsx(vl.Item,{id:Me.ruid,children:b.jsx(fXe,{tonieCard:Me,lastRUIDs:V,overlay:r,readOnly:a,defaultLanguage:i,showSourceInfo:le,onHide:ve,onUpdate:Pe})})},ne)]})},zp=new xn(vn()),{Paragraph:Bh}=wn,hXe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),[r,a]=c.useState(!1),[i,o]=c.useState(!1),[s,l]=c.useState(""),[u,d]=c.useState([]);c.useEffect(()=>{(async()=>{const v=await zp.apiGetSecurityMITAlert();a(v)})(),(async()=>{try{const v=await zp.apiGetNewBoxesAllowed();o(v),v&&(async()=>{const _=await zp.apiGetTonieboxesIndex(),E=await Promise.all(_.map(async y=>{const C=await zp.apiGetTonieboxApiAccess(y.ID);return[y.boxName,C]}));d(E)})()}catch(v){Qe.error("Error: "+v)}})(),(async()=>{const v=(await zp.apiGetTagIndexMergedAllOverlays(!0)).filter(S=>!S.hide);n(v.sort((S,_)=>Math.random()>.5?Math.floor(-100*Math.random()):Math.floor(100*Math.random())))})()},[]),c.useEffect(()=>{const m={};t.forEach(v=>{const S=v.tonieInfo.language;m[S]?m[S]++:m[S]=1});let g=0,h="";for(const v in m)m.hasOwnProperty(v)&&m[v]>g&&(g=m[v],h=v);l(h)},[t]);const p=u.filter(m=>!m[1]),f=i?b.jsxs(b.Fragment,{children:[b.jsx(Xn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}),p.length>0&&b.jsx(Xn,{message:e("tonieboxes.boxWithoutAPIAccess"),description:b.jsxs(b.Fragment,{children:[e("tonieboxes.boxWithoutAPIAccessText"),b.jsx("ul",{children:p.map(m=>b.jsx("li",{children:m[0]},m[0]))}),e("tonieboxes.boxWithoutAPIAccessGoToTonieboxes"),b.jsx(wt,{to:"/tonieboxes",children:e("tonieboxes.navigationTitle")})]}),type:"info",showIcon:!0,style:{margin:"16px 0"}})]}):null;return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Cl,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Cl,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsxs(Bh,{children:[b.jsx("h1",{children:e("home.title")}),r?b.jsx(Xn,{message:e("security.alert"),description:e("security.incident_detected"),type:"error",showIcon:!0,style:{margin:"16px 0"}}):"",e("home.intro"),f]}),b.jsxs(Bh,{children:[e("home.forumIntroPart1"),b.jsx(wt,{to:"https://forum.revvox.de/",target:"_blank",children:"https://forum.revvox.de/"}),e("home.forumIntroPart2")]}),b.jsxs(Bh,{children:[b.jsx("h2",{children:e("home.yourTonies")}),b.jsx(n2,{tonieCards:t.filter(m=>m.type==="tag"&&m.tonieInfo.series).slice(0,6),overlay:"",showFilter:!1,showPagination:!1,readOnly:!0,defaultLanguage:s}),b.jsx(Rt,{children:b.jsxs(wt,{to:"/tonies",children:[e("home.toAllYourTonies")," (",t.filter(m=>m.type==="tag").length,")"]})})]}),b.jsxs(Bh,{children:[b.jsx("h2",{children:e("home.helpfulLinks")}),b.jsxs("ul",{children:[b.jsx("li",{children:b.jsx(wt,{to:"/community/faq",children:"FAQ"})}),b.jsx("li",{children:b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"})}),b.jsx("li",{children:b.jsx(wt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"})}),b.jsx("li",{children:b.jsx(wt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"})}),b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/",target:"_blank",children:"TeddyCloud Wiki"})})]})]})]})]})]})},{useToken:vXe}=Xa,_Xe=()=>{const{token:e}=vXe();return b.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",x:"0px",y:"0px",width:"100%",viewBox:"0 0 512 512",children:[b.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"}),b.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"})]})},bXe=new xn(vn()),{useToken:SXe}=Xa,r2=({maxNoOfGuests:e,toniesSize:t,showQuestionMark:n,title:r,description:a,height:i=(s=>(s=document.getElementById("collage-container"))==null?void 0:s.clientHeight)()||0,width:o=(l=>(l=document.getElementById("collage-container"))==null?void 0:l.clientWidth)()||0})=>{var _,E;const{token:u}=SXe(),[d,p]=c.useState([]),f=o,m=i,g=50,h=50,v=(((_=document.getElementById("central-text"))==null?void 0:_.clientWidth)||0)/(f<450?3:2),S=(((E=document.getElementById("central-text"))==null?void 0:E.clientHeight)||0)/(m<500?3:2);return c.useEffect(()=>{(async()=>{const x=(await bXe.apiGetTagIndexMergedAllOverlays(!1)).sort((R,w)=>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,w)=>{if(r&&a){let I,O;do I=Math.random()*(100-t/m*100),O=Math.random()*(100-t/f*100);while(0g-S/m*100-t/m*100&&Ih-v/f*100-t/f*100&&Ob.jsxs("div",{className:"collage-image-container",style:{position:"absolute",top:y.top,left:y.left,width:"150px",height:"150px",overflow:"hidden",pointerEvents:"none"},children:[b.jsx("img",{src:y.src,alt:`Random ${y.id}`,className:"collage-image",style:{width:"100%",height:"100%",objectFit:"cover"}}),n&&b.jsx("div",{className:"question-mark-overlay",style:{position:"absolute",top:"5%",right:"20%",width:"30%",height:"30%",display:"flex",alignItems:"center",justifyContent:"center"},children:b.jsx(_Xe,{})})]},y.id))]})},{Paragraph:EXe}=wn,yXe=()=>{const{t:e}=$t();return b.jsx(b.Fragment,{children:b.jsx(Pn,{children:b.jsx(EXe,{children:b.jsx(r2,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!0,title:e("404.title"),description:e("404.description")})})})})},CXe=new xn(vn()),TXe=()=>{var a;const{t:e}=$t(),[t,n]=c.useState(),r=async()=>{var o,s;const i=await CXe.apiStatsGet();(o=i==null?void 0:i.stats)!=null&&o.length&&((s=i==null?void 0:i.stats)==null?void 0:s.length)>0&&n(i)};return c.useEffect(()=>{r()},[]),c.useEffect(()=>{const i=setInterval(()=>{r()},1e4);return()=>clearInterval(i)},[]),b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Cl,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Cl,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.stats.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("home.stats.title")}),(a=t==null?void 0:t.stats)==null?void 0:a.map(i=>b.jsxs("div",{children:[b.jsx("h2",{children:e("home.stats."+i.iD)}),b.jsx("p",{children:i.value})]},i.iD))]})]})]})},xXe=new _ne(vn()),RXe=new sFe(vn()),wXe=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),[r,a]=c.useState(!1),i=async()=>{try{(await xXe.v1TimeGet()).length===10&&a(!0)}catch{a(!1)}try{(await RXe.reverseV1TimeGet()).length===10&&n(!0)}catch{n(!1)}};return c.useEffect(()=>{i()},[]),b.jsxs(Na,{children:[b.jsx(Jt,{title:e(t?"server.boxineStatusOnline":"server.boxineStatusOffline"),children:b.jsxs(A_,{icon:t?b.jsx(C4,{}):b.jsx(x4,{}),color:t?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[b.jsx(In,{children:"B"}),b.jsx(Tm,{children:"Boxine"})]})}),b.jsx(Jt,{title:e(r?"server.teddycloudStatusOnline":"server.teddycloudStatusOffline"),children:b.jsxs(A_,{icon:r?b.jsx(C4,{}):b.jsx(x4,{}),color:r?"#87d068":"#f50",bordered:!1,style:{cursor:"help",color:"#001529"},children:[b.jsx(In,{children:"TC"}),b.jsx(Tm,{children:"TeddyCloud"})]})})]})},IXe=()=>{var i;const{t:e,i18n:t}=$t(),n=o=>{t.changeLanguage(o)},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")},{key:"4",label:e("language.spanish"),onClick:()=>n("es")}],a=t.language;return b.jsx(Na,{children:b.jsx(dS,{menu:{items:r},trigger:["click"],children:b.jsx("a",{href:"/",onClick:o=>o.preventDefault(),title:e("language.change"),children:b.jsxs(A_,{color:"transparent",children:[b.jsx(Pee,{})," ",b.jsx("strong",{children:(i=r.find(o=>o.onClick&&o.onClick.toString().includes(a)))==null?void 0:i.label})]})})})})},b9=new xn(vn()),{useToken:OXe}=Xa,NXe=ka.img` - height: 32px; -`,AXe=ka(See)` - color: white; - display: flex; - align-items: center; - padding-left: 16px; - padding-right: 16px; - background: #141414; -`,DXe=ka.div` - margin-left: auto; - display: flex; - align-items: center; -`,MXe=ka.div` - margin-right: 12px; - display: flex; - align-items: center; -`,LXe=({themeSwitch:e})=>{const{t}=$t(),{token:n}=OXe(),[r,a]=c.useState(!1),i=Vo();c.useEffect(()=>{const u=document.querySelector('meta[name="theme-color"]');if(u)u.setAttribute("content",n.colorBgBase);else{const d=document.createElement("meta");d.name="theme-color",d.content=n.colorBgBase,document.head.appendChild(d)}},[n.colorBgBase]);const o=[{key:"/",label:b.jsx(wt,{to:"/",children:t("home.navigationTitle")}),onClick:()=>a(!1)},{key:"tonies",label:b.jsx(wt,{to:"/tonies",children:t("tonies.navigationTitle")}),onClick:()=>a(!1)},{key:"tonieboxes",label:b.jsx(wt,{to:"/tonieboxes",children:t("tonieboxes.navigationTitle")}),onClick:()=>a(!1)},{key:"settings",label:b.jsx(wt,{to:"/settings",children:t("settings.navigationTitle")}),onClick:()=>a(!1)},{key:"community",label:b.jsx(wt,{to:"/community",children:t("community.navigationTitle")}),onClick:()=>a(!1)}];let s=i.pathname.split("/")[1];s||(s="/"),s==="home"&&(s="/");const l=()=>{Sn.error({title:t("home.error"),content:t("home.errorWebVersionMismatch"),okText:t("home.errorConfirm")})};return c.useEffect(()=>{(async()=>{const d=async()=>{try{return await(await b9.apiGetTeddyCloudSettingRaw("frontend.ignore_web_version_mismatch")).text()==="true"}catch{return console.log("Something went wrong getting ignoreWebVersionMismatch."),!1}},p=async()=>{try{const m=await(await b9.apiGetTeddyCloudSettingRaw("internal.version_web.git_sha")).text(),v=(await(await fetch("/web/web_version.json")).json()).web_gitSha;console.log("expected Web Git Sha: ",m),console.log("actual Web Git Sha: ",v),m!==v&&l()}catch{console.log("Something went wrong getting gitSha.")}};await d()||await p()})()},[]),b.jsxs(AXe,{children:[b.jsx(wt,{to:"/",style:{color:"white"},children:b.jsxs(MXe,{children:[b.jsx(NXe,{src:zte}),b.jsx(Tm,{children:" TeddyCloud Server"})]})}),b.jsx(Tm,{children:b.jsx(zo,{theme:"dark",mode:"horizontal",items:o,selectedKeys:[s],style:{width:"calc(100vw - 480px)",background:"#141414 !important"}})}),b.jsxs(DXe,{children:[b.jsx(wXe,{}),e,b.jsx(IXe,{}),b.jsxs(In,{children:[b.jsx(Rt,{className:"barsMenu",type:"primary",onClick:()=>a(!0),icon:b.jsx(b1e,{})}),b.jsx(eee,{placement:"right",open:r,onClose:()=>a(!1),children:b.jsx(zo,{mode:"vertical",items:o,selectedKeys:[s]})})]})]})]})},{useToken:kXe}=Xa,PXe=()=>kXe().token,$Xe=({onVisibilityChange:e})=>{const{t}=$t(),{songImage:n,songArtist:r,songTitle:a,songTracks:i}=CS(),o=document.getElementById("globalAudioPlayer"),s=new xn(vn()),[l,u]=c.useState("none"),[d,p]=c.useState(!1),[f,m]=c.useState(!1),[g,h]=c.useState(0),[v,S]=c.useState("0:00"),[_,E]=c.useState("0:00"),[y,C]=c.useState(0),[T,x]=c.useState({left:0,top:0,visible:!1}),[R,w]=c.useState(!1),[I,O]=c.useState(100),[k,P]=c.useState(100),[M,N]=c.useState(!1),[A,D]=c.useState(!0),[L,$]=c.useState(!1);c.useEffect(()=>{o&&(I===null?o.volume=0:o.volume=I/100)},[I,o]),c.useEffect(()=>{(async()=>{const fe=await(await s.apiGetTeddyCloudSettingRaw("frontend.confirm_audioplayer_close")).text()==="true";D(fe)})()},[l]);const F=Se=>{Array.isArray(Se)||O(Se)},B=()=>{P(I),O(0)},z=()=>{O(k)},U=()=>{m(!0)},j=()=>{m(!1)},G=()=>{m(!1)},J=()=>{o.play()},Y=()=>{o.pause()},X=()=>{ue(),o.src="",o.removeAttribute("src"),o.load(),u("none"),e()};c.useEffect(()=>{e(),o!=null&&o.src&&l==="none"&&u("flex")},[l,o==null?void 0:o.src,e]);const V=Se=>{const Pe=Se.target,fe=Math.floor(Pe.currentTime/60),ve=Math.floor(Pe.currentTime%60);h(Pe.currentTime/o.duration*100),S(`${fe}:${ve<10?"0":""}${ve}`)};c.useEffect(()=>{const Se=document.getElementById("globalAudioPlayer");Se.addEventListener("loadedmetadata",()=>{const Pe=Math.floor(Se.duration/60),fe=Math.floor(Se.duration%60);E(`${Pe}:${fe<10?"0":""}${fe}`)}),Se.addEventListener("progress",()=>{if(Se.buffered.length>0){const Pe=Se.buffered.end(Se.buffered.length-1),fe=Se.duration;fe>0&&C(Pe/fe*100)}})},[]);const H=Se=>{if("touches"in Se){const Pe=Se.touches[0],fe=Se.currentTarget.getBoundingClientRect(),ve=Pe.clientX-fe.left,Ae=fe.height/2;x({left:ve,top:Ae,visible:!0}),o.currentTime=ve/(d?100:150)*o.duration,$(!0)}else{const Pe=Se.currentTarget.getBoundingClientRect(),fe=Se.clientX-Pe.left,ve=Pe.height/2;x({left:fe,top:ve,visible:!0}),R&&K()}},q=()=>{x({left:0,top:0,visible:!1})},K=()=>{L?($(!1),q()):o.currentTime=T.left/(d?100:150)*o.duration},Z=Se=>{w(!0)},te=Se=>{w(!1)},se=()=>{p(!d),e()},ue=()=>{N(!1)},me=()=>{A?N(!0):X()},de=()=>{let Se=0;for(;o.currentTime>i[Se]&&(Se++,!(Se>i.length)););Se>1&&Se<=i.length?o.currentTime=i[Se-2]:Se<=1&&(o.currentTime=0)},Te=()=>{let Se=0;for(;o.currentTime>i[Se]&&(Se++,!(Se>i.length)););Se{const Se=Pe=>{Pe?(o==null||o.play(),m(!0)):(o==null||o.pause(),m(!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",()=>{Se(!0)}),navigator.mediaSession.setActionHandler("pause",()=>{Se(!1)}),navigator.mediaSession.setActionHandler("previoustrack",de),i.length>0&&navigator.mediaSession.setActionHandler("nexttrack",Te))},[a,r,n,i,o]),c.useEffect(()=>{if(navigator.mediaSession&&o){const Se=o.duration||0,Pe=g*Se/100||0,fe=o.playbackRate||1;try{navigator.mediaSession.setPositionState({duration:Se,position:Pe,playbackRate:fe})}catch(ve){console.error("Error setting media session position state:",ve)}}},[g,o]);const Ee=window.innerWidth<=768,ge=Ee?{...Wn.innerContainer,flexDirection:"column",alignItems:"center",width:"100%",gap:8}:Wn.innerContainer,re=Ee?{...Wn.controls2,width:"100%"}:Wn.controls2,ne=Ee?{...Wn.progressBar,width:200,marginRight:0}:Wn.progressBar;c.useEffect(()=>{e()},[e,Ee]);const ae=b.jsxs(b.Fragment,{children:[d?b.jsx(mOe,{onClick:se}):b.jsx(lAe,{onClick:se}),b.jsx(tZ,{title:b.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:8},children:[b.jsxs("div",{children:[b.jsx(zee,{})," ",t("tonies.closeAudioPlayerPopover")]}),b.jsxs("div",{style:{display:"flex",flexDirection:"row",gap:8},children:[b.jsx(Rt,{onClick:ue,children:t("tonies.cancel")}),b.jsx(Rt,{onClick:X,children:t("tonies.closeAudioPlayer")})]})]}),open:M,trigger:"click",onOpenChange:ue,className:"closePlayerPopover",placement:"top",style:{right:8},children:b.jsx(na,{style:{margin:"0 0 0 10px"},onClick:me})})]}),le=b.jsxs(b.Fragment,{children:[b.jsx(gS,{type:"line",success:{percent:g,strokeColor:"#1677ff"},percent:y,strokeColor:"#272727",format:()=>"",status:"active",showInfo:!1}),T.visible&&b.jsx("svg",{style:{position:"absolute",left:T.left,top:T.top,transform:"translate(-50%, -50%)"},width:"16",height:"16",viewBox:"0 0 16 16",children:b.jsx("circle",{cx:"8",cy:"8",r:"8",fill:"rgba(0,0,0,0.5)"})})]}),pe=d?b.jsx(b.Fragment,{children:b.jsx("span",{id:"minimalAudioPlayer",style:{...ge,display:d?"flex":"none",padding:0},children:b.jsxs("div",{style:Wn.trackInfo,children:[f?b.jsx(w4,{style:{fontSize:24,marginRight:8},onClick:Y}):b.jsx(Lo,{style:{fontSize:24,marginRight:8},onClick:J}),n&&b.jsx("img",{src:n,alt:"Song",style:Wn.songImage}),_.startsWith("Infinity")?b.jsx("div",{style:{...Wn.playPositionContainer,marginRight:0},children:b.jsxs("div",{style:{display:"flex"},children:[b.jsx("div",{style:{textAlign:"center",marginBottom:0},children:" "}),b.jsx("span",{children:ae})]})}):b.jsxs("div",{style:{...Wn.playPositionContainer,marginRight:0},children:[b.jsxs("div",{style:{display:"flex"},children:[b.jsxs("div",{style:{textAlign:"center",marginBottom:0},children:[v," / ",_]}),b.jsx("span",{style:{margin:0,marginLeft:16,textAlign:"right"},children:ae})]}),b.jsx("div",{style:{...ne,width:100},onMouseDown:Z,onMouseMove:H,onMouseUp:te,onMouseLeave:q,onTouchStart:H,onTouchMove:H,onClick:K,children:le})]})]})})}):"",Re=d?"":b.jsxs(b.Fragment,{children:[b.jsx("span",{id:"normalAudioPlayer",style:{margin:0,marginLeft:16,textAlign:"right",display:d?"none":"flex",position:"absolute"},children:ae}),b.jsxs("span",{style:{...ge,display:d?"none":"flex"},children:[b.jsxs("div",{id:"audioPlayer",style:Wn.controls,children:[b.jsx(fAe,{style:Wn.controlButton,onClick:de}),f?b.jsx(w4,{style:Wn.controlButton,onClick:Y}):b.jsx(Lo,{style:Wn.controlButton,onClick:J}),b.jsx(hAe,{style:{...Wn.controlButton,cursor:i.length===0?"default":"pointer",opacity:i.length===0?.25:1},disabled:i.length===0,onClick:Te})]}),b.jsxs("div",{style:Wn.trackInfo,children:[n&&b.jsx("img",{src:n,alt:"Song",style:Wn.songImage}),b.jsxs("div",{style:Wn.songContainer,children:[b.jsx("div",{children:a}),b.jsx("div",{children:r})]})]}),_.startsWith("Infinity")?"":b.jsxs("div",{style:Wn.playPositionContainer,children:[b.jsx("div",{children:b.jsxs("div",{style:{textAlign:"center"},children:[v," / ",_]})}),b.jsx("div",{style:ne,onMouseDown:Z,onMouseMove:H,onMouseUp:te,onMouseLeave:q,onTouchStart:H,onTouchMove:H,onClick:K,children:le})]}),b.jsx("div",{style:re,children:b.jsxs("div",{style:{...Wn.controls,position:"relative"},children:[b.jsx(A1e,{style:{...Wn.controlButton,...Wn.volumeIcon,display:(I||0)===0?"block":"none"},onClick:z}),b.jsx(Bee,{style:{...Wn.controlButton,...Wn.volumeIcon,display:(I||0)>0?"block":"none"},onClick:B}),b.jsx("div",{style:Wn.volumeSlider,children:b.jsx(xxe,{min:0,max:100,value:I||0,onChange:F})})]})})]})]});return b.jsxs(b.Fragment,{children:[b.jsxs("div",{style:{...Wn.container,display:l,visibility:o!=null&&o.src?"visible":"hidden",height:o!=null&&o.src?"auto":"0",margin:o!=null&&o.src?"0":"-24px",marginBottom:o!=null&&o.src?"8px":"0",overflow:"hidden"},children:[pe,Re]}),b.jsx("audio",{id:"globalAudioPlayer",controls:!0,onPlay:U,onPause:j,onEnded:G,onTimeUpdate:V,style:{display:"none"},children:"Your browser does not support the audio element."})]})},Wn={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:`${()=>PXe().colorBgContainer}`,padding:0},volumeIcon:{fontSize:24,cursor:"pointer",marginBottom:0}},FXe=ka(Eee)` - position: fixed; - bottom: 0; - z-index: 10; - width: 100%; - display: flex; - flex-direction: column; - align-items: center; - padding: 16px 50px; - color: white; -`,S9=ka.div` - margin: auto; - display: flex; - align-items: center; -`,kN=new xn(vn()),BXe=()=>{const[e,t]=c.useState(0),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(""),l=()=>{const u=document.querySelector("footer");u&&t(u.offsetHeight)};return c.useEffect(()=>{kN.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(u=>u.text()).then(u=>r(u)).catch(u=>console.error("Error fetching data:",u)),kN.apiGetTeddyCloudSettingRaw("internal.version.v_short").then(u=>u.text()).then(u=>i(u)).catch(u=>console.error("Error fetching data:",u)),kN.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(u=>u.text()).then(u=>s(u)).catch(u=>console.error("Error fetching data:",u))},[]),b.jsxs(b.Fragment,{children:[b.jsx("div",{style:{paddingBottom:e}}),b.jsxs(FXe,{children:[b.jsx(S9,{children:b.jsx($Xe,{onVisibilityChange:l})}),b.jsx(S9,{children:b.jsx("div",{children:b.jsx("small",{children:b.jsxs(wt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/",target:"_blank",children:[b.jsxs(In,{children:[a," (",o,")"]}),b.jsx(Tm,{children:n})]})})})})]})]})},Gi=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),[r,a]=c.useState(""),i=()=>{n(!0),a("")},o=[{key:"tonies",label:b.jsx(wt,{to:"/tonies",children:e("tonies.tonies.navigationTitle")}),icon:ce.createElement(jee),title:e("tonies.tonies.navigationTitle")},{key:"custom-json",label:b.jsx("label",{style:{cursor:"pointer"},children:e("tonies.addToniesCustomJsonEntry")}),onClick:i,icon:ce.createElement(MAe),title:e("tonies.addToniesCustomJsonEntry")},{key:"encoder",label:b.jsx(wt,{to:"/tonies/encoder",children:e("tonies.encoder.navigationTitle")}),icon:ce.createElement(qOe),title:e("tonies.encoder.navigationTitle")},{key:"tap",label:b.jsx(wt,{to:"/tonies/tap",children:e("tonies.tap.navigationTitle")}),icon:ce.createElement(wAe),title:e("tonies.tap.navigationTitle")},{key:"library",label:b.jsx(wt,{to:"/tonies/library",children:e("tonies.library.navigationTitle")}),icon:ce.createElement(vOe),title:e("tonies.library.navigationTitle")},{key:"content",label:b.jsx(wt,{to:"/tonies/content",children:e("tonies.content.navigationTitle")}),icon:ce.createElement(Bee),title:e("tonies.content.navigationTitle")},{key:"system-sounds",label:b.jsx(wt,{to:"/tonies/system-sounds",children:e("tonies.system-sounds.navigationTitle")}),icon:ce.createElement(Hk),title:e("tonies.system-sounds.navigationTitle")}];return b.jsxs(b.Fragment,{children:[b.jsx(yg,{mode:"inline",selectedKeys:[r],defaultOpenKeys:["sub"],items:o}),t&&b.jsx(Yre,{open:t,onClose:()=>n(!1)})]})},PN=new xn(vn()),a2=e=>{const[t,n]=c.useState([]),[r,a]=c.useState(()=>{if(e!==void 0){if(e!==null)return localStorage.setItem("contentOverlay",e),e;{const o=localStorage.getItem("contentOverlay");return o||""}}else{const o=localStorage.getItem("contentOverlay");return o||""}});return c.useEffect(()=>{(async()=>{const s=await PN.apiGetTonieboxesIndex(),u=(await Promise.all(s.map(async m=>[await PN.apiGetTonieboxContentDir(m.ID),m.boxName,m.ID]))).reduce((m,[g,h,v])=>{const S=m.findIndex(_=>_[0]===g);return S!==-1?(m[S][1].push(h),r===v&&a(m[S][2])):m.push([g,[h],v]),m},[]),d=await PN.apiGetTonieboxContentDir("");u.findIndex(m=>m[0]===d)===-1&&u.push(["",["TeddyCloud Default Content Dir"],""]);const f=u.map(([m,g,h])=>[m,g,h]);if(r===""||r===null||r===void 0){const m=f.length>0?f[0][2]:"";a(m),localStorage.setItem("contentOverlay",m)}n(f)})()},[]),{tonieBoxContentDirs:t,overlay:r,handleSelectChange:o=>{a(o),localStorage.setItem("contentOverlay",o)}}},UXe=new xn(vn()),{Option:jXe}=$r,zXe=()=>{const e=Vo(),n=new URLSearchParams(e.search).get("overlay"),{t:r}=$t(),[a,i]=c.useState([]),{tonieBoxContentDirs:o,overlay:s,handleSelectChange:l}=a2(n),[u,d]=c.useState(""),p=f=>{i(m=>m.map(g=>g.ruid===f.ruid?f:g))};return c.useEffect(()=>{(async()=>{const m=(await UXe.apiGetTagIndex(s||"",!0)).filter(g=>!g.hide);i(m.sort((g,h)=>g.tonieInfo.seriesh.tonieInfo.series?1:g.tonieInfo.episodeh.tonieInfo.episode?1:0))})()},[s]),c.useEffect(()=>{const f={};a.forEach(h=>{const v=h.tonieInfo.language;f[v]?f[v]++:f[v]=1});let m=0,g="";for(const h in f)f.hasOwnProperty(h)&&f[h]>m&&(m=f[h],g=h);d(g)},[a]),b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:r("home.navigationTitle")},{title:r("tonies.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[b.jsx("h1",{style:{width:"200px"},children:r("tonies.title")}),o.length>1?b.jsx(Jt,{title:r("tonies.content.showToniesOfBoxes"),children:b.jsx($r,{id:"contentDirectorySelect",defaultValue:"",onChange:l,style:{maxWidth:"300px"},value:s,children:o.map(([f,m,g])=>b.jsx(jXe,{value:g,children:m.join(", ")},g))})}):""]}),b.jsx(n2,{showFilter:!0,showPagination:!0,tonieCards:a.filter(f=>f.type==="tag"),overlay:s,readOnly:!1,defaultLanguage:u,onToniesCardUpdate:p})]})]})]})},HXe=new xn(vn()),{Option:GXe}=$r,VXe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),{tonieBoxContentDirs:r,overlay:a,handleSelectChange:i}=a2();return c.useEffect(()=>{(async()=>{const s=await HXe.apiGetTagIndex(a||"");n(s.sort((l,u)=>l.tonieInfo.seriesu.tonieInfo.series?1:l.tonieInfo.episodeu.tonieInfo.episode?1:0))})()},[a]),b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.system-sounds.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[b.jsx("h1",{children:e("tonies.system-sounds.title")}),r.length>1?b.jsx($r,{id:"contentDirectorySelect",defaultValue:"",onChange:i,style:{maxWidth:"300px"},value:a,title:e("tonies.content.showToniesOfBoxes"),children:r.map(([o,s,l])=>b.jsx(GXe,{value:l,children:s.join(", ")},l))}):""]}),b.jsx(n2,{showFilter:!1,showPagination:!0,tonieCards:t.filter(o=>o.type==="system"),overlay:a,readOnly:!1})]})]})]})},{useToken:qXe}=Xa,WXe=e2,Kre=({open:e,initialValuesJson:t,onCreate:n,onCancel:r})=>{const{t:a}=$t(),{token:i}=qXe(),[o]=Xt.useForm(),[s,l]=c.useState([]),[u,d]=c.useState(!1),[p,f]=c.useState(0),[m,g]=c.useState(-1);c.useEffect(()=>{l([])},[]),c.useEffect(()=>{if(t)try{const D=JSON.parse(t);o.setFieldsValue(D)}catch(D){console.error("Error parsing JSON:",D)}},[o,t]);const h=()=>{o.resetFields()},v=D=>{o.setFieldsValue({filepath:D.target.value})},S=(D,L,$)=>{if(D){const F=$==="library"?"lib:/":"content:/",B=D.map(z=>({filepath:F+L+"/"+z.name,name:z.name}));l(B)}},_=()=>{f(D=>D+1),d(!0)},E=D=>{f(L=>L+1),d(!0),g(D),l([o.getFieldValue(["files",D])])},y=()=>{const D=o.getFieldsValue();let L=[...D.files];m!==-1?L[m]={filepath:s[0].filepath,name:s[0].name}:L=[...D.files,...s];const $={...D,files:L};o.setFieldsValue($),d(!1),l([]),g(-1)},C=()=>{d(!1),l([])},[T,x]=c.useState(""),[R,w]=c.useState(""),[I,O]=c.useState(!1),k=b.jsx(Rt,{type:"primary",onClick:()=>O(!1),children:a("tonies.informationModal.ok")}),P=()=>{O(!1)};function M(){const D=window.matchMedia("(prefers-color-scheme: dark)").matches,L=localStorage.getItem("theme");return L==="auto"?D?"dark":"light":L}const N=b.jsx(Sn,{footer:k,width:700,title:"File (you can copy the content to a *.tap file)",open:I,onCancel:P,children:T?b.jsxs(b.Fragment,{children:[b.jsx(Sl,{language:"json",style:M()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:T}),b.jsx("div",{style:{margin:"16px 0 8px 0"},children:"Minimized json:"}),b.jsx(Sl,{language:"json",style:M()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:R})]}):"Loading..."}),A=b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:i.colorBgElevated},children:[b.jsx(Rt,{onClick:C,children:a("tonies.selectFileModal.cancel")}),b.jsx(Rt,{type:"primary",onClick:y,children:a("tonies.selectFileModal.ok")})]});return b.jsxs(b.Fragment,{children:[b.jsxs(Sn,{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(),h()},onOk:()=>{o.validateFields().then(()=>{n(o.getFieldsValue()),x(JSON.stringify(o.getFieldsValue(),null,2)),w(JSON.stringify(o.getFieldsValue(),null,0)),O(!0),h()}).catch(D=>{console.log("Validate Failed:",D)})},children:[b.jsx(Xn,{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}}),b.jsxs(Xt,{form:o,layout:"vertical",name:"tapEditorModal",initialValues:{type:"tap",filepath:"",name:"",files:[]},children:[b.jsx(Xt.Item,{name:"type",hidden:!0,label:"type",children:b.jsx(en,{type:"string"})}),b.jsx(Xt.Item,{name:"audio_id",label:"Audio ID",children:b.jsx(en,{type:"number"})}),b.jsx(Xt.Item,{name:"filepath",label:a("tonies.tapEditor.filePath"),children:b.jsx(en,{onChange:v})}),b.jsx(Xt.Item,{name:"name",label:a("tonies.tapEditor.name"),rules:[{required:!0,message:a("tonies.tapEditor.nameRequired")}],children:b.jsx(en,{})}),b.jsx(Xt.List,{name:"files",children:(D,{add:L,remove:$})=>b.jsxs(b.Fragment,{children:[D.map(({key:F,name:B},z)=>b.jsx("div",{className:"playlistTitle",children:b.jsxs(Na,{style:{display:"flex",marginBottom:8,alignItems:"center",width:"100%"},align:"baseline",children:[b.jsx(Xt.Item,{name:[B,"filepath"],label:a("tonies.tapEditor.filePathContentFile"),rules:[{required:!0,message:a("tonies.tapEditor.filePathContentFileRequired")}],children:b.jsx(en,{width:"auto",addonBefore:b.jsx(na,{onClick:()=>{const U=[...o.getFieldsValue().files];U[z].filepath="",o.setFieldsValue({files:U})}}),addonAfter:b.jsx(Uk,{onClick:()=>E(z)})})}),b.jsx(Xt.Item,{name:[B,"name"],label:a("tonies.tapEditor.fileNameContentFile"),children:b.jsx(en,{placeholder:"Name"})}),b.jsx(y1e,{onClick:()=>$(B)})]},`space-${F}`)},`files-${F}`)),b.jsx(Xt.Item,{children:b.jsx(Rt,{type:"dashed",onClick:()=>_(),block:!0,icon:b.jsx(hJ,{}),children:a("tonies.tapEditor.addFile")})})]})})]}),b.jsx(Sn,{className:"sticky-footer",title:a("tonies.selectFileModal.selectFile"),open:u,onOk:y,onCancel:C,width:"auto",footer:A,children:b.jsx(t2,{maxSelectedRows:99,special:"library",trackUrl:!1,filetypeFilter:WXe,onFileSelectChange:S},p)})]}),N]})};function YXe(){for(var e=arguments.length,t=new Array(e),n=0;nr=>{t.forEach(a=>a(r))},t)}const QS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function dp(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function i2(e){return"nodeType"in e}function Za(e){var t,n;return e?dp(e)?e:i2(e)&&(t=(n=e.ownerDocument)==null?void 0:n.defaultView)!=null?t:window:window}function o2(e){const{Document:t}=Za(e);return e instanceof t}function Ig(e){return dp(e)?!1:e instanceof Za(e).HTMLElement}function Xre(e){return e instanceof Za(e).SVGElement}function pp(e){return e?dp(e)?e.document:i2(e)?o2(e)?e:Ig(e)||Xre(e)?e.ownerDocument:document:document:document}const ho=QS?c.useLayoutEffect:c.useEffect;function s2(e){const t=c.useRef(e);return ho(()=>{t.current=e}),c.useCallback(function(){for(var n=arguments.length,r=new Array(n),a=0;a{e.current=setInterval(r,a)},[]),n=c.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,n]}function Am(e,t){t===void 0&&(t=[e]);const n=c.useRef(e);return ho(()=>{n.current!==e&&(n.current=e)},t),n}function Og(e,t){const n=c.useRef();return c.useMemo(()=>{const r=e(n.current);return n.current=r,r},[...t])}function U_(e){const t=s2(e),n=c.useRef(null),r=c.useCallback(a=>{a!==n.current&&(t==null||t(a,n.current)),n.current=a},[]);return[n,r]}function sM(e){const t=c.useRef();return c.useEffect(()=>{t.current=e},[e]),t.current}let $N={};function Ng(e,t){return c.useMemo(()=>{if(t)return t;const n=$N[e]==null?0:$N[e]+1;return $N[e]=n,e+"-"+n},[e,t])}function Qre(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a{const s=Object.entries(o);for(const[l,u]of s){const d=i[l];d!=null&&(i[l]=d+e*u)}return i},{...t})}}const id=Qre(1),j_=Qre(-1);function XXe(e){return"clientX"in e&&"clientY"in e}function l2(e){if(!e)return!1;const{KeyboardEvent:t}=Za(e.target);return t&&e instanceof t}function QXe(e){if(!e)return!1;const{TouchEvent:t}=Za(e.target);return t&&e instanceof t}function lM(e){if(QXe(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 XXe(e)?{x:e.clientX,y:e.clientY}:null}const Pd=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[Pd.Translate.toString(e),Pd.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:n,easing:r}=e;return t+" "+n+"ms "+r}}}),E9="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function ZXe(e){return e.matches(E9)?e:e.querySelector(E9)}const JXe={display:"none"};function eQe(e){let{id:t,value:n}=e;return ce.createElement("div",{id:t,style:JXe},n)}function tQe(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 ce.createElement("div",{id:t,style:a,role:"status","aria-live":r,"aria-atomic":!0},n)}function nQe(){const[e,t]=c.useState("");return{announce:c.useCallback(r=>{r!=null&&t(r)},[]),announcement:e}}const Zre=c.createContext(null);function rQe(e){const t=c.useContext(Zre);c.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function aQe(){const[e]=c.useState(()=>new Set),t=c.useCallback(r=>(e.add(r),()=>e.delete(r)),[e]);return[c.useCallback(r=>{let{type:a,event:i}=r;e.forEach(o=>{var s;return(s=o[a])==null?void 0:s.call(o,i)})},[e]),t]}const iQe={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. - `},oQe={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 sQe(e){let{announcements:t=oQe,container:n,hiddenTextDescribedById:r,screenReaderInstructions:a=iQe}=e;const{announce:i,announcement:o}=nQe(),s=Ng("DndLiveRegion"),[l,u]=c.useState(!1);if(c.useEffect(()=>{u(!0)},[]),rQe(c.useMemo(()=>({onDragStart(p){let{active:f}=p;i(t.onDragStart({active:f}))},onDragMove(p){let{active:f,over:m}=p;t.onDragMove&&i(t.onDragMove({active:f,over:m}))},onDragOver(p){let{active:f,over:m}=p;i(t.onDragOver({active:f,over:m}))},onDragEnd(p){let{active:f,over:m}=p;i(t.onDragEnd({active:f,over:m}))},onDragCancel(p){let{active:f,over:m}=p;i(t.onDragCancel({active:f,over:m}))}}),[i,t])),!l)return null;const d=ce.createElement(ce.Fragment,null,ce.createElement(eQe,{id:r,value:a.draggable}),ce.createElement(tQe,{id:s,announcement:o}));return n?Ur.createPortal(d,n):d}var Br;(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"})(Br||(Br={}));function z_(){}function Jre(e,t){return c.useMemo(()=>({sensor:e,options:t??{}}),[e,t])}const vo=Object.freeze({x:0,y:0});function lQe(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function cQe(e,t){if(!e||e.length===0)return null;const[n]=e;return n[t]}function uQe(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),i=Math.min(t.top+t.height,e.top+e.height),o=a-r,s=i-n;if(r{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const a=[];for(const i of r){const{id:o}=i,s=n.get(o);if(s){const l=uQe(s,t);l>0&&a.push({id:o,data:{droppableContainer:i,value:l}})}}return a.sort(lQe)};function pQe(e,t,n){return{...e,scaleX:t&&n?t.width/n.width:1,scaleY:t&&n?t.height/n.height:1}}function eae(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:vo}function fQe(e){return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),i=1;i({...o,top:o.top+e*s.y,bottom:o.bottom+e*s.y,left:o.left+e*s.x,right:o.right+e*s.x}),{...n})}}const mQe=fQe(1);function gQe(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 hQe(e,t,n){const r=gQe(t);if(!r)return e;const{scaleX:a,scaleY:i,x:o,y:s}=r,l=e.left-o-(1-a)*parseFloat(n),u=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),d=a?e.width/a:e.width,p=i?e.height/i:e.height;return{width:d,height:p,top:u,right:l+d,bottom:u+p,left:l}}const vQe={ignoreTransform:!1};function fp(e,t){t===void 0&&(t=vQe);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:u,transformOrigin:d}=Za(e).getComputedStyle(e);u&&(n=hQe(n,u,d))}const{top:r,left:a,width:i,height:o,bottom:s,right:l}=n;return{top:r,left:a,width:i,height:o,bottom:s,right:l}}function y9(e){return fp(e,{ignoreTransform:!0})}function _Qe(e){const t=e.innerWidth,n=e.innerHeight;return{top:0,left:0,right:t,bottom:n,width:t,height:n}}function bQe(e,t){return t===void 0&&(t=Za(e).getComputedStyle(e)),t.position==="fixed"}function SQe(e,t){t===void 0&&(t=Za(e).getComputedStyle(e));const n=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(a=>{const i=t[a];return typeof i=="string"?n.test(i):!1})}function c2(e,t){const n=[];function r(a){if(t!=null&&n.length>=t||!a)return n;if(o2(a)&&a.scrollingElement!=null&&!n.includes(a.scrollingElement))return n.push(a.scrollingElement),n;if(!Ig(a)||Xre(a)||n.includes(a))return n;const i=Za(e).getComputedStyle(a);return a!==e&&SQe(a,i)&&n.push(a),bQe(a,i)?n:r(a.parentNode)}return e?r(e):n}function tae(e){const[t]=c2(e,1);return t??null}function FN(e){return!QS||!e?null:dp(e)?e:i2(e)?o2(e)||e===pp(e).scrollingElement?window:Ig(e)?e:null:null}function nae(e){return dp(e)?e.scrollX:e.scrollLeft}function rae(e){return dp(e)?e.scrollY:e.scrollTop}function cM(e){return{x:nae(e),y:rae(e)}}var Xr;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Xr||(Xr={}));function aae(e){return!QS||!e?!1:e===document.scrollingElement}function iae(e){const t={x:0,y:0},n=aae(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,i=e.scrollLeft<=t.x,o=e.scrollTop>=r.y,s=e.scrollLeft>=r.x;return{isTop:a,isLeft:i,isBottom:o,isRight:s,maxScroll:r,minScroll:t}}const EQe={x:.2,y:.2};function yQe(e,t,n,r,a){let{top:i,left:o,right:s,bottom:l}=n;r===void 0&&(r=10),a===void 0&&(a=EQe);const{isTop:u,isBottom:d,isLeft:p,isRight:f}=iae(e),m={x:0,y:0},g={x:0,y:0},h={height:t.height*a.y,width:t.width*a.x};return!u&&i<=t.top+h.height?(m.y=Xr.Backward,g.y=r*Math.abs((t.top+h.height-i)/h.height)):!d&&l>=t.bottom-h.height&&(m.y=Xr.Forward,g.y=r*Math.abs((t.bottom-h.height-l)/h.height)),!f&&s>=t.right-h.width?(m.x=Xr.Forward,g.x=r*Math.abs((t.right-h.width-s)/h.width)):!p&&o<=t.left+h.width&&(m.x=Xr.Backward,g.x=r*Math.abs((t.left+h.width-o)/h.width)),{direction:m,speed:g}}function CQe(e){if(e===document.scrollingElement){const{innerWidth:i,innerHeight:o}=window;return{top:0,left:0,right:i,bottom:o,width:i,height:o}}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 oae(e){return e.reduce((t,n)=>id(t,cM(n)),vo)}function TQe(e){return e.reduce((t,n)=>t+nae(n),0)}function xQe(e){return e.reduce((t,n)=>t+rae(n),0)}function RQe(e,t){if(t===void 0&&(t=fp),!e)return;const{top:n,left:r,bottom:a,right:i}=t(e);tae(e)&&(a<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const wQe=[["x",["left","right"],TQe],["y",["top","bottom"],xQe]];class u2{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=c2(n),a=oae(r);this.rect={...t},this.width=t.width,this.height=t.height;for(const[i,o,s]of wQe)for(const l of o)Object.defineProperty(this,l,{get:()=>{const u=s(r),d=a[i]-u;return this.rect[l]+d},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Nf{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 IQe(e){const{EventTarget:t}=Za(e);return e instanceof t?e:pp(e)}function BN(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 Ai;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Ai||(Ai={}));function C9(e){e.preventDefault()}function OQe(e){e.stopPropagation()}var Mn;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(Mn||(Mn={}));const sae={start:[Mn.Space,Mn.Enter],cancel:[Mn.Esc],end:[Mn.Space,Mn.Enter]},NQe=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case Mn.Right:return{...n,x:n.x+25};case Mn.Left:return{...n,x:n.x-25};case Mn.Down:return{...n,y:n.y+25};case Mn.Up:return{...n,y:n.y-25}}};class lae{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 Nf(pp(n)),this.windowListeners=new Nf(Za(n)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Ai.Resize,this.handleCancel),this.windowListeners.add(Ai.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Ai.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:n}=this.props,r=t.node.current;r&&RQe(r),n(vo)}handleKeyDown(t){if(l2(t)){const{active:n,context:r,options:a}=this.props,{keyboardCodes:i=sae,coordinateGetter:o=NQe,scrollBehavior:s="smooth"}=a,{code:l}=t;if(i.end.includes(l)){this.handleEnd(t);return}if(i.cancel.includes(l)){this.handleCancel(t);return}const{collisionRect:u}=r.current,d=u?{x:u.left,y:u.top}:vo;this.referenceCoordinates||(this.referenceCoordinates=d);const p=o(t,{active:n,context:r.current,currentCoordinates:d});if(p){const f=j_(p,d),m={x:0,y:0},{scrollableAncestors:g}=r.current;for(const h of g){const v=t.code,{isTop:S,isRight:_,isLeft:E,isBottom:y,maxScroll:C,minScroll:T}=iae(h),x=CQe(h),R={x:Math.min(v===Mn.Right?x.right-x.width/2:x.right,Math.max(v===Mn.Right?x.left:x.left+x.width/2,p.x)),y:Math.min(v===Mn.Down?x.bottom-x.height/2:x.bottom,Math.max(v===Mn.Down?x.top:x.top+x.height/2,p.y))},w=v===Mn.Right&&!_||v===Mn.Left&&!E,I=v===Mn.Down&&!y||v===Mn.Up&&!S;if(w&&R.x!==p.x){const O=h.scrollLeft+f.x,k=v===Mn.Right&&O<=C.x||v===Mn.Left&&O>=T.x;if(k&&!f.y){h.scrollTo({left:O,behavior:s});return}k?m.x=h.scrollLeft-O:m.x=v===Mn.Right?h.scrollLeft-C.x:h.scrollLeft-T.x,m.x&&h.scrollBy({left:-m.x,behavior:s});break}else if(I&&R.y!==p.y){const O=h.scrollTop+f.y,k=v===Mn.Down&&O<=C.y||v===Mn.Up&&O>=T.y;if(k&&!f.x){h.scrollTo({top:O,behavior:s});return}k?m.y=h.scrollTop-O:m.y=v===Mn.Down?h.scrollTop-C.y:h.scrollTop-T.y,m.y&&h.scrollBy({top:-m.y,behavior:s});break}}this.handleMove(t,id(j_(p,this.referenceCoordinates),m))}}}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()}}lae.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=sae,onActivation:a}=t,{active:i}=n;const{code:o}=e.nativeEvent;if(r.start.includes(o)){const s=i.activatorNode.current;return s&&e.target!==s?!1:(e.preventDefault(),a==null||a({event:e.nativeEvent}),!0)}return!1}}];function T9(e){return!!(e&&"distance"in e)}function x9(e){return!!(e&&"delay"in e)}class d2{constructor(t,n,r){var a;r===void 0&&(r=IQe(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:i}=t,{target:o}=i;this.props=t,this.events=n,this.document=pp(o),this.documentListeners=new Nf(this.document),this.listeners=new Nf(r),this.windowListeners=new Nf(Za(o)),this.initialCoordinates=(a=lM(i))!=null?a:vo,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(Ai.Resize,this.handleCancel),this.windowListeners.add(Ai.DragStart,C9),this.windowListeners.add(Ai.VisibilityChange,this.handleCancel),this.windowListeners.add(Ai.ContextMenu,C9),this.documentListeners.add(Ai.Keydown,this.handleKeydown),n){if(r!=null&&r({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(x9(n)){this.timeoutId=setTimeout(this.handleStart,n.delay);return}if(T9(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(Ai.Click,OQe,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Ai.SelectionChange,this.removeTextSelection),n(t))}handleMove(t){var n;const{activated:r,initialCoordinates:a,props:i}=this,{onMove:o,options:{activationConstraint:s}}=i;if(!a)return;const l=(n=lM(t))!=null?n:vo,u=j_(a,l);if(!r&&s){if(T9(s)){if(s.tolerance!=null&&BN(u,s.tolerance))return this.handleCancel();if(BN(u,s.distance))return this.handleStart()}return x9(s)&&BN(u,s.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),o(l)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===Mn.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const AQe={move:{name:"pointermove"},end:{name:"pointerup"}};class ZS extends d2{constructor(t){const{event:n}=t,r=pp(n.target);super(t,AQe,r)}}ZS.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 DQe={move:{name:"mousemove"},end:{name:"mouseup"}};var uM;(function(e){e[e.RightClick=2]="RightClick"})(uM||(uM={}));class MQe extends d2{constructor(t){super(t,DQe,pp(t.event.target))}}MQe.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button===uM.RightClick?!1:(r==null||r({event:n}),!0)}}];const UN={move:{name:"touchmove"},end:{name:"touchend"}};class LQe extends d2{constructor(t){super(t,UN)}static setup(){return window.addEventListener(UN.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(UN.move.name,t)};function t(){}}}LQe.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 Af;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Af||(Af={}));var H_;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(H_||(H_={}));function kQe(e){let{acceleration:t,activator:n=Af.Pointer,canScroll:r,draggingRect:a,enabled:i,interval:o=5,order:s=H_.TreeOrder,pointerCoordinates:l,scrollableAncestors:u,scrollableAncestorRects:d,delta:p,threshold:f}=e;const m=$Qe({delta:p,disabled:!i}),[g,h]=KXe(),v=c.useRef({x:0,y:0}),S=c.useRef({x:0,y:0}),_=c.useMemo(()=>{switch(n){case Af.Pointer:return l?{top:l.y,bottom:l.y,left:l.x,right:l.x}:null;case Af.DraggableRect:return a}},[n,a,l]),E=c.useRef(null),y=c.useCallback(()=>{const T=E.current;if(!T)return;const x=v.current.x*S.current.x,R=v.current.y*S.current.y;T.scrollBy(x,R)},[]),C=c.useMemo(()=>s===H_.TreeOrder?[...u].reverse():u,[s,u]);c.useEffect(()=>{if(!i||!u.length||!_){h();return}for(const T of C){if((r==null?void 0:r(T))===!1)continue;const x=u.indexOf(T),R=d[x];if(!R)continue;const{direction:w,speed:I}=yQe(T,R,_,t,f);for(const O of["x","y"])m[O][w[O]]||(I[O]=0,w[O]=0);if(I.x>0||I.y>0){h(),E.current=T,g(y,o),v.current=I,S.current=w;return}}v.current={x:0,y:0},S.current={x:0,y:0},h()},[t,y,r,h,i,o,JSON.stringify(_),JSON.stringify(m),g,u,C,d,JSON.stringify(f)])}const PQe={x:{[Xr.Backward]:!1,[Xr.Forward]:!1},y:{[Xr.Backward]:!1,[Xr.Forward]:!1}};function $Qe(e){let{delta:t,disabled:n}=e;const r=sM(t);return Og(a=>{if(n||!r||!a)return PQe;const i={x:Math.sign(t.x-r.x),y:Math.sign(t.y-r.y)};return{x:{[Xr.Backward]:a.x[Xr.Backward]||i.x===-1,[Xr.Forward]:a.x[Xr.Forward]||i.x===1},y:{[Xr.Backward]:a.y[Xr.Backward]||i.y===-1,[Xr.Forward]:a.y[Xr.Forward]||i.y===1}}},[n,t,r])}function FQe(e,t){const n=t!==null?e.get(t):void 0,r=n?n.node.current:null;return Og(a=>{var i;return t===null?null:(i=r??a)!=null?i:null},[r,t])}function BQe(e,t){return c.useMemo(()=>e.reduce((n,r)=>{const{sensor:a}=r,i=a.activators.map(o=>({eventName:o.eventName,handler:t(o.handler,r)}));return[...n,...i]},[]),[e,t])}var Dm;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Dm||(Dm={}));var dM;(function(e){e.Optimized="optimized"})(dM||(dM={}));const R9=new Map;function UQe(e,t){let{dragging:n,dependencies:r,config:a}=t;const[i,o]=c.useState(null),{frequency:s,measure:l,strategy:u}=a,d=c.useRef(e),p=v(),f=Am(p),m=c.useCallback(function(S){S===void 0&&(S=[]),!f.current&&o(_=>_===null?S:_.concat(S.filter(E=>!_.includes(E))))},[f]),g=c.useRef(null),h=Og(S=>{if(p&&!n)return R9;if(!S||S===R9||d.current!==e||i!=null){const _=new Map;for(let E of e){if(!E)continue;if(i&&i.length>0&&!i.includes(E.id)&&E.rect.current){_.set(E.id,E.rect.current);continue}const y=E.node.current,C=y?new u2(l(y),y):null;E.rect.current=C,C&&_.set(E.id,C)}return _}return S},[e,i,n,p,l]);return c.useEffect(()=>{d.current=e},[e]),c.useEffect(()=>{p||m()},[n,p]),c.useEffect(()=>{i&&i.length>0&&o(null)},[JSON.stringify(i)]),c.useEffect(()=>{p||typeof s!="number"||g.current!==null||(g.current=setTimeout(()=>{m(),g.current=null},s))},[s,p,m,...r]),{droppableRects:h,measureDroppableContainers:m,measuringScheduled:i!=null};function v(){switch(u){case Dm.Always:return!1;case Dm.BeforeDragging:return n;default:return!n}}}function cae(e,t){return Og(n=>e?n||(typeof t=="function"?t(e):e):null,[t,e])}function jQe(e,t){return cae(e,t)}function zQe(e){let{callback:t,disabled:n}=e;const r=s2(t),a=c.useMemo(()=>{if(n||typeof window>"u"||typeof window.MutationObserver>"u")return;const{MutationObserver:i}=window;return new i(r)},[r,n]);return c.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function JS(e){let{callback:t,disabled:n}=e;const r=s2(t),a=c.useMemo(()=>{if(n||typeof window>"u"||typeof window.ResizeObserver>"u")return;const{ResizeObserver:i}=window;return new i(r)},[n]);return c.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function HQe(e){return new u2(fp(e),e)}function w9(e,t,n){t===void 0&&(t=HQe);const[r,a]=c.useReducer(s,null),i=zQe({callback(l){if(e)for(const u of l){const{type:d,target:p}=u;if(d==="childList"&&p instanceof HTMLElement&&p.contains(e)){a();break}}}}),o=JS({callback:a});return ho(()=>{a(),e?(o==null||o.observe(e),i==null||i.observe(document.body,{childList:!0,subtree:!0})):(o==null||o.disconnect(),i==null||i.disconnect())},[e]),r;function s(l){if(!e)return null;if(e.isConnected===!1){var u;return(u=l??n)!=null?u:null}const d=t(e);return JSON.stringify(l)===JSON.stringify(d)?l:d}}function GQe(e){const t=cae(e);return eae(e,t)}const I9=[];function VQe(e){const t=c.useRef(e),n=Og(r=>e?r&&r!==I9&&e&&t.current&&e.parentNode===t.current.parentNode?r:c2(e):I9,[e]);return c.useEffect(()=>{t.current=e},[e]),n}function qQe(e){const[t,n]=c.useState(null),r=c.useRef(e),a=c.useCallback(i=>{const o=FN(i.target);o&&n(s=>s?(s.set(o,cM(o)),new Map(s)):null)},[]);return c.useEffect(()=>{const i=r.current;if(e!==i){o(i);const s=e.map(l=>{const u=FN(l);return u?(u.addEventListener("scroll",a,{passive:!0}),[u,cM(u)]):null}).filter(l=>l!=null);n(s.length?new Map(s):null),r.current=e}return()=>{o(e),o(i)};function o(s){s.forEach(l=>{const u=FN(l);u==null||u.removeEventListener("scroll",a)})}},[a,e]),c.useMemo(()=>e.length?t?Array.from(t.values()).reduce((i,o)=>id(i,o),vo):oae(e):vo,[e,t])}function O9(e,t){t===void 0&&(t=[]);const n=c.useRef(null);return c.useEffect(()=>{n.current=null},t),c.useEffect(()=>{const r=e!==vo;r&&!n.current&&(n.current=e),!r&&n.current&&(n.current=null)},[e]),n.current?j_(e,n.current):vo}function WQe(e){c.useEffect(()=>{if(!QS)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 YQe(e,t){return c.useMemo(()=>e.reduce((n,r)=>{let{eventName:a,handler:i}=r;return n[a]=o=>{i(o,t)},n},{}),[e,t])}function uae(e){return c.useMemo(()=>e?_Qe(e):null,[e])}const jN=[];function KQe(e,t){t===void 0&&(t=fp);const[n]=e,r=uae(n?Za(n):null),[a,i]=c.useReducer(s,jN),o=JS({callback:i});return e.length>0&&a===jN&&i(),ho(()=>{e.length?e.forEach(l=>o==null?void 0:o.observe(l)):(o==null||o.disconnect(),i())},[e]),a;function s(){return e.length?e.map(l=>aae(l)?r:new u2(t(l),l)):jN}}function XQe(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return Ig(t)?t:e}function QQe(e){let{measure:t}=e;const[n,r]=c.useState(null),a=c.useCallback(u=>{for(const{target:d}of u)if(Ig(d)){r(p=>{const f=t(d);return p?{...p,width:f.width,height:f.height}:f});break}},[t]),i=JS({callback:a}),o=c.useCallback(u=>{const d=XQe(u);i==null||i.disconnect(),d&&(i==null||i.observe(d)),r(d?t(d):null)},[t,i]),[s,l]=U_(o);return c.useMemo(()=>({nodeRef:s,rect:n,setRef:l}),[n,s,l])}const ZQe=[{sensor:ZS,options:{}},{sensor:lae,options:{}}],JQe={current:{}},Ov={draggable:{measure:y9},droppable:{measure:y9,strategy:Dm.WhileDragging,frequency:dM.Optimized},dragOverlay:{measure:fp}};class Df 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 eZe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Df,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:z_},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ov,measureDroppableContainers:z_,windowRect:null,measuringScheduled:!1},tZe={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:z_,draggableNodes:new Map,over:null,measureDroppableContainers:z_},eE=c.createContext(tZe),dae=c.createContext(eZe);function nZe(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Df}}}function rZe(e,t){switch(t.type){case Br.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case Br.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 Br.DragEnd:case Br.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case Br.RegisterDroppable:{const{element:n}=t,{id:r}=n,a=new Df(e.droppable.containers);return a.set(r,n),{...e,droppable:{...e.droppable,containers:a}}}case Br.SetDroppableDisabled:{const{id:n,key:r,disabled:a}=t,i=e.droppable.containers.get(n);if(!i||r!==i.key)return e;const o=new Df(e.droppable.containers);return o.set(n,{...i,disabled:a}),{...e,droppable:{...e.droppable,containers:o}}}case Br.UnregisterDroppable:{const{id:n,key:r}=t,a=e.droppable.containers.get(n);if(!a||r!==a.key)return e;const i=new Df(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function aZe(e){let{disabled:t}=e;const{active:n,activatorEvent:r,draggableNodes:a}=c.useContext(eE),i=sM(r),o=sM(n==null?void 0:n.id);return c.useEffect(()=>{if(!t&&!r&&i&&o!=null){if(!l2(i)||document.activeElement===i.target)return;const s=a.get(o);if(!s)return;const{activatorNode:l,node:u}=s;if(!l.current&&!u.current)return;requestAnimationFrame(()=>{for(const d of[l.current,u.current]){if(!d)continue;const p=ZXe(d);if(p){p.focus();break}}})}},[r,t,a,o,i]),null}function iZe(e,t){let{transform:n,...r}=t;return e!=null&&e.length?e.reduce((a,i)=>i({transform:a,...r}),n):n}function oZe(e){return c.useMemo(()=>({draggable:{...Ov.draggable,...e==null?void 0:e.draggable},droppable:{...Ov.droppable,...e==null?void 0:e.droppable},dragOverlay:{...Ov.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 sZe(e){let{activeNode:t,measure:n,initialRect:r,config:a=!0}=e;const i=c.useRef(!1),{x:o,y:s}=typeof a=="boolean"?{x:a,y:a}:a;ho(()=>{if(!o&&!s||!t){i.current=!1;return}if(i.current||!r)return;const u=t==null?void 0:t.node.current;if(!u||u.isConnected===!1)return;const d=n(u),p=eae(d,r);if(o||(p.x=0),s||(p.y=0),i.current=!0,Math.abs(p.x)>0||Math.abs(p.y)>0){const f=tae(u);f&&f.scrollBy({top:p.y,left:p.x})}},[t,o,s,r,n])}const pae=c.createContext({...vo,scaleX:1,scaleY:1});var zs;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(zs||(zs={}));const fae=c.memo(function(t){var n,r,a,i;let{id:o,accessibility:s,autoScroll:l=!0,children:u,sensors:d=ZQe,collisionDetection:p=dQe,measuring:f,modifiers:m,...g}=t;const h=c.useReducer(rZe,void 0,nZe),[v,S]=h,[_,E]=aQe(),[y,C]=c.useState(zs.Uninitialized),T=y===zs.Initialized,{draggable:{active:x,nodes:R,translate:w},droppable:{containers:I}}=v,O=x?R.get(x):null,k=c.useRef({initial:null,translated:null}),P=c.useMemo(()=>{var Ce;return x!=null?{id:x,data:(Ce=O==null?void 0:O.data)!=null?Ce:JQe,rect:k}:null},[x,O]),M=c.useRef(null),[N,A]=c.useState(null),[D,L]=c.useState(null),$=Am(g,Object.values(g)),F=Ng("DndDescribedBy",o),B=c.useMemo(()=>I.getEnabled(),[I]),z=oZe(f),{droppableRects:U,measureDroppableContainers:j,measuringScheduled:G}=UQe(B,{dragging:T,dependencies:[w.x,w.y],config:z.droppable}),J=FQe(R,x),Y=c.useMemo(()=>D?lM(D):null,[D]),X=Me(),V=jQe(J,z.draggable.measure);sZe({activeNode:x?R.get(x):null,config:X.layoutShiftCompensation,initialRect:V,measure:z.draggable.measure});const H=w9(J,z.draggable.measure,V),q=w9(J?J.parentElement:null),K=c.useRef({activatorEvent:null,active:null,activeNode:J,collisionRect:null,collisions:null,droppableRects:U,draggableNodes:R,draggingNode:null,draggingNodeRect:null,droppableContainers:I,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Z=I.getNodeFor((n=K.current.over)==null?void 0:n.id),te=QQe({measure:z.dragOverlay.measure}),se=(r=te.nodeRef.current)!=null?r:J,ue=T?(a=te.rect)!=null?a:H:null,me=!!(te.nodeRef.current&&te.rect),de=GQe(me?null:H),Te=uae(se?Za(se):null),Ee=VQe(T?Z??J:null),ge=KQe(Ee),re=iZe(m,{transform:{x:w.x-de.x,y:w.y-de.y,scaleX:1,scaleY:1},activatorEvent:D,active:P,activeNodeRect:H,containerNodeRect:q,draggingNodeRect:ue,over:K.current.over,overlayNodeRect:te.rect,scrollableAncestors:Ee,scrollableAncestorRects:ge,windowRect:Te}),ne=Y?id(Y,w):null,ae=qQe(Ee),le=O9(ae),pe=O9(ae,[H]),Re=id(re,le),Se=ue?mQe(ue,re):null,Pe=P&&Se?p({active:P,collisionRect:Se,droppableRects:U,droppableContainers:B,pointerCoordinates:ne}):null,fe=cQe(Pe,"id"),[ve,Ae]=c.useState(null),ye=me?re:id(re,pe),be=pQe(ye,(i=ve==null?void 0:ve.rect)!=null?i:null,H),Ne=c.useCallback((Ce,De)=>{let{sensor:Ue,options:Ye}=De;if(M.current==null)return;const He=R.get(M.current);if(!He)return;const ze=Ce.nativeEvent,Xe=new Ue({active:M.current,activeNode:He,event:ze,options:Ye,context:K,onStart(Je){const mt=M.current;if(mt==null)return;const pt=R.get(mt);if(!pt)return;const{onDragStart:We}=$.current,Ve={active:{id:mt,data:pt.data,rect:k}};Ur.unstable_batchedUpdates(()=>{We==null||We(Ve),C(zs.Initializing),S({type:Br.DragStart,initialCoordinates:Je,active:mt}),_({type:"onDragStart",event:Ve})})},onMove(Je){S({type:Br.DragMove,coordinates:Je})},onEnd:Be(Br.DragEnd),onCancel:Be(Br.DragCancel)});Ur.unstable_batchedUpdates(()=>{A(Xe),L(Ce.nativeEvent)});function Be(Je){return async function(){const{active:pt,collisions:We,over:Ve,scrollAdjustedTranslate:Ze}=K.current;let dt=null;if(pt&&Ze){const{cancelDrop:It}=$.current;dt={activatorEvent:ze,active:pt,collisions:We,delta:Ze,over:Ve},Je===Br.DragEnd&&typeof It=="function"&&await Promise.resolve(It(dt))&&(Je=Br.DragCancel)}M.current=null,Ur.unstable_batchedUpdates(()=>{S({type:Je}),C(zs.Uninitialized),Ae(null),A(null),L(null);const It=Je===Br.DragEnd?"onDragEnd":"onDragCancel";if(dt){const Nt=$.current[It];Nt==null||Nt(dt),_({type:It,event:dt})}})}}},[R]),Ie=c.useCallback((Ce,De)=>(Ue,Ye)=>{const He=Ue.nativeEvent,ze=R.get(Ye);if(M.current!==null||!ze||He.dndKit||He.defaultPrevented)return;const Xe={active:ze};Ce(Ue,De.options,Xe)===!0&&(He.dndKit={capturedBy:De.sensor},M.current=Ye,Ne(Ue,De))},[R,Ne]),xe=BQe(d,Ie);WQe(d),ho(()=>{H&&y===zs.Initializing&&C(zs.Initialized)},[H,y]),c.useEffect(()=>{const{onDragMove:Ce}=$.current,{active:De,activatorEvent:Ue,collisions:Ye,over:He}=K.current;if(!De||!Ue)return;const ze={active:De,activatorEvent:Ue,collisions:Ye,delta:{x:Re.x,y:Re.y},over:He};Ur.unstable_batchedUpdates(()=>{Ce==null||Ce(ze),_({type:"onDragMove",event:ze})})},[Re.x,Re.y]),c.useEffect(()=>{const{active:Ce,activatorEvent:De,collisions:Ue,droppableContainers:Ye,scrollAdjustedTranslate:He}=K.current;if(!Ce||M.current==null||!De||!He)return;const{onDragOver:ze}=$.current,Xe=Ye.get(fe),Be=Xe&&Xe.rect.current?{id:Xe.id,rect:Xe.rect.current,data:Xe.data,disabled:Xe.disabled}:null,Je={active:Ce,activatorEvent:De,collisions:Ue,delta:{x:He.x,y:He.y},over:Be};Ur.unstable_batchedUpdates(()=>{Ae(Be),ze==null||ze(Je),_({type:"onDragOver",event:Je})})},[fe]),ho(()=>{K.current={activatorEvent:D,active:P,activeNode:J,collisionRect:Se,collisions:Pe,droppableRects:U,draggableNodes:R,draggingNode:se,draggingNodeRect:ue,droppableContainers:I,over:ve,scrollableAncestors:Ee,scrollAdjustedTranslate:Re},k.current={initial:ue,translated:Se}},[P,J,Pe,Se,R,se,ue,U,I,ve,Ee,Re]),kQe({...X,delta:w,draggingRect:Se,pointerCoordinates:ne,scrollableAncestors:Ee,scrollableAncestorRects:ge});const ke=c.useMemo(()=>({active:P,activeNode:J,activeNodeRect:H,activatorEvent:D,collisions:Pe,containerNodeRect:q,dragOverlay:te,draggableNodes:R,droppableContainers:I,droppableRects:U,over:ve,measureDroppableContainers:j,scrollableAncestors:Ee,scrollableAncestorRects:ge,measuringConfiguration:z,measuringScheduled:G,windowRect:Te}),[P,J,H,D,Pe,q,te,R,I,U,ve,j,Ee,ge,z,G,Te]),rt=c.useMemo(()=>({activatorEvent:D,activators:xe,active:P,activeNodeRect:H,ariaDescribedById:{draggable:F},dispatch:S,draggableNodes:R,over:ve,measureDroppableContainers:j}),[D,xe,P,H,S,F,R,ve,j]);return ce.createElement(Zre.Provider,{value:E},ce.createElement(eE.Provider,{value:rt},ce.createElement(dae.Provider,{value:ke},ce.createElement(pae.Provider,{value:be},u)),ce.createElement(aZe,{disabled:(s==null?void 0:s.restoreFocus)===!1})),ce.createElement(sQe,{...s,hiddenTextDescribedById:F}));function Me(){const Ce=(N==null?void 0:N.autoScrollEnabled)===!1,De=typeof l=="object"?l.enabled===!1:l===!1,Ue=T&&!Ce&&!De;return typeof l=="object"?{...l,enabled:Ue}:{enabled:Ue}}}),lZe=c.createContext(null),N9="button",cZe="Droppable";function uZe(e){let{id:t,data:n,disabled:r=!1,attributes:a}=e;const i=Ng(cZe),{activators:o,activatorEvent:s,active:l,activeNodeRect:u,ariaDescribedById:d,draggableNodes:p,over:f}=c.useContext(eE),{role:m=N9,roleDescription:g="draggable",tabIndex:h=0}=a??{},v=(l==null?void 0:l.id)===t,S=c.useContext(v?pae:lZe),[_,E]=U_(),[y,C]=U_(),T=YQe(o,t),x=Am(n);ho(()=>(p.set(t,{id:t,key:i,node:_,activatorNode:y,data:x}),()=>{const w=p.get(t);w&&w.key===i&&p.delete(t)}),[p,t]);const R=c.useMemo(()=>({role:m,tabIndex:h,"aria-disabled":r,"aria-pressed":v&&m===N9?!0:void 0,"aria-roledescription":g,"aria-describedby":d.draggable}),[r,m,h,v,g,d.draggable]);return{active:l,activatorEvent:s,activeNodeRect:u,attributes:R,isDragging:v,listeners:r?void 0:T,node:_,over:f,setNodeRef:E,setActivatorNodeRef:C,transform:S}}function dZe(){return c.useContext(dae)}const pZe="Droppable",fZe={timeout:25};function mZe(e){let{data:t,disabled:n=!1,id:r,resizeObserverConfig:a}=e;const i=Ng(pZe),{active:o,dispatch:s,over:l,measureDroppableContainers:u}=c.useContext(eE),d=c.useRef({disabled:n}),p=c.useRef(!1),f=c.useRef(null),m=c.useRef(null),{disabled:g,updateMeasurementsFor:h,timeout:v}={...fZe,...a},S=Am(h??r),_=c.useCallback(()=>{if(!p.current){p.current=!0;return}m.current!=null&&clearTimeout(m.current),m.current=setTimeout(()=>{u(Array.isArray(S.current)?S.current:[S.current]),m.current=null},v)},[v]),E=JS({callback:_,disabled:g||!o}),y=c.useCallback((R,w)=>{E&&(w&&(E.unobserve(w),p.current=!1),R&&E.observe(R))},[E]),[C,T]=U_(y),x=Am(t);return c.useEffect(()=>{!E||!C.current||(E.disconnect(),p.current=!1,E.observe(C.current))},[C,E]),ho(()=>(s({type:Br.RegisterDroppable,element:{id:r,key:i,disabled:n,node:C,rect:f,data:x}}),()=>s({type:Br.UnregisterDroppable,key:i,id:r})),[r]),c.useEffect(()=>{n!==d.current.disabled&&(s({type:Br.SetDroppableDisabled,id:r,key:i,disabled:n}),d.current.disabled=n)},[r,i,n,s]),{active:o,rect:f,isOver:(l==null?void 0:l.id)===r,node:C,over:l,setNodeRef:T}}function tE(e,t,n){const r=e.slice();return r.splice(n<0?r.length+n:n,0,r.splice(t,1)[0]),r}function gZe(e,t){return e.reduce((n,r,a)=>{const i=t.get(r);return i&&(n[a]=i),n},Array(e.length))}function Uh(e){return e!==null&&e>=0}function hZe(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 i=tE(t,r,n),o=t[a],s=i[a];return!s||!o?null:{x:s.left-o.left,y:s.top-o.top,scaleX:s.width/o.width,scaleY:s.height/o.height}},jh={scaleX:1,scaleY:1},gae=e=>{var t;let{activeIndex:n,activeNodeRect:r,index:a,rects:i,overIndex:o}=e;const s=(t=i[n])!=null?t:r;if(!s)return null;if(a===n){const u=i[o];return u?{x:0,y:nn&&a<=o?{x:0,y:-s.height-l,...jh}:a=o?{x:0,y:s.height+l,...jh}:{x:0,y:0,...jh}};function _Ze(e,t,n){const r=e[t],a=e[t-1],i=e[t+1];return r?nr.map(T=>typeof T=="object"&&"id"in T?T.id:T),[r]),g=o!=null,h=o?m.indexOf(o.id):-1,v=u?m.indexOf(u.id):-1,S=c.useRef(m),_=!hZe(m,S.current),E=v!==-1&&h===-1||_,y=vZe(i);ho(()=>{_&&g&&d(m)},[_,m,g,d]),c.useEffect(()=>{S.current=m},[m]);const C=c.useMemo(()=>({activeIndex:h,containerId:p,disabled:y,disableTransforms:E,items:m,overIndex:v,useDragOverlay:f,sortedRects:gZe(m,l),strategy:a}),[h,p,y.draggable,y.droppable,E,m,v,l,f,a]);return ce.createElement(vae.Provider,{value:C},t)}const bZe=e=>{let{id:t,items:n,activeIndex:r,overIndex:a}=e;return tE(n,r,a).indexOf(t)},SZe=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:a,items:i,newIndex:o,previousItems:s,previousContainerId:l,transition:u}=e;return!u||!r||s!==i&&a===o?!1:n?!0:o!==a&&t===l},EZe={duration:200,easing:"ease"},bae="transform",yZe=Pd.Transition.toString({property:bae,duration:0,easing:"linear"}),CZe={roleDescription:"sortable"};function TZe(e){let{disabled:t,index:n,node:r,rect:a}=e;const[i,o]=c.useState(null),s=c.useRef(n);return ho(()=>{if(!t&&n!==s.current&&r.current){const l=a.current;if(l){const u=fp(r.current,{ignoreTransform:!0}),d={x:l.left-u.left,y:l.top-u.top,scaleX:l.width/u.width,scaleY:l.height/u.height};(d.x||d.y)&&o(d)}}n!==s.current&&(s.current=n)},[t,n,r,a]),c.useEffect(()=>{i&&o(null)},[i]),i}function Sae(e){let{animateLayoutChanges:t=SZe,attributes:n,disabled:r,data:a,getNewIndex:i=bZe,id:o,strategy:s,resizeObserverConfig:l,transition:u=EZe}=e;const{items:d,containerId:p,activeIndex:f,disabled:m,disableTransforms:g,sortedRects:h,overIndex:v,useDragOverlay:S,strategy:_}=c.useContext(vae),E=xZe(r,m),y=d.indexOf(o),C=c.useMemo(()=>({sortable:{containerId:p,index:y,items:d},...a}),[p,a,y,d]),T=c.useMemo(()=>d.slice(d.indexOf(o)),[d,o]),{rect:x,node:R,isOver:w,setNodeRef:I}=mZe({id:o,data:C,disabled:E.droppable,resizeObserverConfig:{updateMeasurementsFor:T,...l}}),{active:O,activatorEvent:k,activeNodeRect:P,attributes:M,setNodeRef:N,listeners:A,isDragging:D,over:L,setActivatorNodeRef:$,transform:F}=uZe({id:o,data:C,attributes:{...CZe,...n},disabled:E.draggable}),B=YXe(I,N),z=!!O,U=z&&!g&&Uh(f)&&Uh(v),j=!S&&D,G=j&&U?F:null,Y=U?G??(s??_)({rects:h,activeNodeRect:P,activeIndex:f,overIndex:v,index:y}):null,X=Uh(f)&&Uh(v)?i({id:o,items:d,activeIndex:f,overIndex:v}):y,V=O==null?void 0:O.id,H=c.useRef({activeId:V,items:d,newIndex:X,containerId:p}),q=d!==H.current.items,K=t({active:O,containerId:p,isDragging:D,isSorting:z,id:o,index:y,items:d,newIndex:H.current.newIndex,previousItems:H.current.items,previousContainerId:H.current.containerId,transition:u,wasDragging:H.current.activeId!=null}),Z=TZe({disabled:!K,index:y,node:R,rect:x});return c.useEffect(()=>{z&&H.current.newIndex!==X&&(H.current.newIndex=X),p!==H.current.containerId&&(H.current.containerId=p),d!==H.current.items&&(H.current.items=d)},[z,X,p,d]),c.useEffect(()=>{if(V===H.current.activeId)return;if(V&&!H.current.activeId){H.current.activeId=V;return}const se=setTimeout(()=>{H.current.activeId=V},50);return()=>clearTimeout(se)},[V]),{active:O,activeIndex:f,attributes:M,data:C,rect:x,index:y,newIndex:X,items:d,isOver:w,isSorting:z,isDragging:D,listeners:A,node:R,overIndex:v,over:L,setNodeRef:B,setActivatorNodeRef:$,setDroppableNodeRef:I,setDraggableNodeRef:N,transform:Z??Y,transition:te()};function te(){if(Z||q&&H.current.newIndex===y)return yZe;if(!(j&&!l2(k)||!u)&&(z||K))return Pd.Transition.toString({...u,property:bae})}}function xZe(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}}Mn.Down,Mn.Right,Mn.Up,Mn.Left;const{useToken:RZe}=Xa,wZe=({originNode:e,fileObjectList:t,file:n,onRemove:r,disabled:a})=>{const{token:i}=RZe(),{attributes:o,listeners:s,setNodeRef:l,transform:u,transition:d,isDragging:p}=Sae({id:n.uid}),{t:f}=$t(),m={transform:Pd.Transform.toString(u),transition:d,cursor:"move"};return b.jsx("div",{ref:l,style:m,className:p?"is-dragging":"",...o,...s,children:b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"space-between",alignItems:"center",margin:"8px 0",padding:8,borderRadius:8,border:`1px solid ${i.colorBorder}`},children:[b.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[b.jsxs("span",{style:{fontSize:30,width:48,height:48,textAlign:"center",color:`${i.colorPrimaryText}`},children:[t.indexOf(n)+1,"."]}),b.jsxs("div",{children:[b.jsx("div",{children:n.name}),b.jsxs("div",{style:{fontSize:"smaller",color:`${i.colorTextSecondary}`},children:["in ",n.path,"/"]})]})]}),b.jsx(Rt,{title:f("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:b.jsx(Rd,{})})]})})},Eae=/[<>:"/\\|?*]/,Mf=Eae.source.slice(1,-1).split("").join(" ");function qu(e){return!Eae.test(e)}const yo=new xn(vn()),{useToken:IZe}=Xa,A9=99,vu=e2,Xi={id:"1",pId:"-1",value:"1",title:"/",fullPath:"/"},p2=({special:e,filetypeFilter:t=[],isTapList:n=!1,overlay:r="",trackUrl:a=!0,showDirOnly:i=!1,showColumns:o=void 0})=>{const{t:s}=$t(),{playAudio:l}=CS(),{token:u}=IZe(),d=lP(),p=c.useRef(null),f=c.useRef(null),m=c.useRef(null),g=c.useRef(null),h=c.useRef(null),[v,S]=Qe.useMessage(),_=Vo(),y=new URLSearchParams(_.search).get("path")||"",[C,T]=c.useState(y),[x,R]=c.useState([]),[w,I]=c.useState(!1),[O,k]=c.useState(""),[P,M]=c.useState([]),[N,A]=c.useState(Xi.id),[D,L]=c.useState([Xi]),[$,F]=c.useState([]),[B,z]=c.useState(""),[U,j]=c.useState(!1),[G,J]=c.useState(!1),[Y,X]=c.useState(),[V,H]=c.useState(""),[q,K]=c.useState(!1),[Z,te]=c.useState(!1),[se,ue]=c.useState(0);c.useState(!1),c.useState(0);const[me,de]=c.useState(),[Te,Ee]=c.useState(!1),[ge,re]=c.useState(!0),[ne,ae]=c.useState(!1),[le,pe]=c.useState(!1),[Re,Se]=c.useState(!0),[Pe,fe]=c.useState(!1),[ve,Ae]=c.useState(1),[ye,be]=c.useState(y),[Ne,Ie]=c.useState(!1),[xe,ke]=c.useState(!1),[rt,Me]=c.useState(null),[Ce,De]=c.useState(""),[Ue,Ye]=c.useState(""),[He,ze]=c.useState(!1),[Xe,Be]=c.useState(!1),[Je,mt]=c.useState(0),[pt,We]=c.useState(!1),[Ve,Ze]=c.useState([]),[dt,It]=c.useState(!1),[Nt,ht]=c.useState(!1),[ct,ot]=c.useState(0),[et,vt]=c.useState([]),[nt,bt]=c.useState(!1),[Ct,tt]=c.useState(!1),[it,Ke]=c.useState(0),[qe,_t]=c.useState([]);c.useEffect(()=>{(async()=>{const we=Vt(Xi.id);yo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${we}&special=library`).then(je=>je.json()).then(je=>{var st=je.files;st=st.filter(At=>At.isDir&&At.name!=="..").sort((At,Zt)=>At.name===Zt.name?0:At.name.toLowerCase()>Zt.name.toLowerCase()?1:-1).map(At=>({id:Xi.id+"."+st.indexOf(At),pId:Xi.id,value:Xi.id+"."+st.indexOf(At),title:At.name,fullPath:`${we}/${At.name}/`})),L(D.concat(st))})})()},[]),c.useEffect(()=>{const we=new URLSearchParams(_.search).get("path")||"";T(we)},[]),c.useEffect(()=>{if(r){const Oe=new URLSearchParams(_.search);Oe.set("path",""),T("");const we=`${window.location.pathname}?${Oe.toString()}`;window.history.replaceState(null,"",we),I(je=>!je)}},[r]),c.useEffect(()=>{yo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${C}&special=${e}`+(r?`&overlay=${r}`:"")).then(Oe=>Oe.json()).then(Oe=>{var we=Oe.files;i&&(we=we.filter(je=>je.isDir)),t.length>0&&(we=we.filter(je=>je.isDir||t.some(st=>je.name.endsWith(st)))),R(we)})},[C,e,i,w]),c.useEffect(()=>{Pe&&setTimeout(()=>{f.current&&f.current.focus()},0)},[Pe]),c.useEffect(()=>{p.current!==null&&h.current&&h.current.setSelectionRange(p.current,p.current)},[B]),c.useEffect(()=>{be(Vt(N))},[N]),c.useEffect(()=>{be(C)},[C]);function xt(){const Oe=window.matchMedia("(prefers-color-scheme: dark)").matches,we=localStorage.getItem("theme");return we==="auto"?Oe?"dark":"light":we}function kt(){return"10000000-1e3-4e3-8e3-1e11".replace(/[018]/g,Oe=>(parseInt(Oe)^crypto.getRandomValues(new Uint8Array(1))[0]&15>>parseInt(Oe)/4).toString(16))}const tn=Oe=>{a&&d(`?path=${Oe}`),C===Oe&&I(we=>!we),j(!1),T(Oe)},nn=(Oe,we)=>{const je=Oe.split("/").filter(At=>At),st=[{title:b.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(""),children:s("fileBrowser.root")}),key:"/"}];return je.forEach((At,Zt)=>{const Cn=`/${je.slice(0,Zt+1).join("/")}`;st.push({title:b.jsx("span",{style:{cursor:"pointer"},onClick:()=>we(Cn),children:At}),key:Cn})}),b.jsx(Zd,{items:st})},rn=({id:Oe})=>new Promise((we,je)=>{const st=Vt(Oe);yo.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${st}&special=library`).then(At=>At.json()).then(At=>{let Zt=At.files;Zt=Zt.filter(Cn=>Cn.isDir&&Cn.name!=="..").sort((Cn,Er)=>Cn.name===Er.name?0:Cn.name.toLowerCase()>Er.name.toLowerCase()?1:-1).map(Cn=>({id:Oe+"."+Zt.indexOf(Cn),pId:Oe,value:Oe+"."+Zt.indexOf(Cn),title:Cn.name,fullPath:`${st}/${Cn.name}/`})),L(D.concat(Zt)),we(!0)}).then(()=>{je()})}),Vt=Oe=>{const we=D.filter(je=>je.value===Oe)[0];return we.pId==="-1"?"":Vt(D.filter(je=>je.id===we.pId)[0].id)+"/"+we.title},yt=(Oe,we)=>{for(const je of we)if(je.fullPath===Oe)return je.id;return null},Ot=(Oe,we)=>{let je=[];for(const st of we)st.pId===Oe&&je.push(st);return je},Mt=Oe=>$.includes(Oe),En=b.jsx(Dl,{className:"move-file",treeLine:!0,treeDataSimpleMode:!0,value:N,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:A,loadData:rn,treeData:D,treeNodeLabelProp:"fullPath",placeholder:s("fileBrowser.moveFile.destinationPlaceholder"),treeExpandedKeys:$,onTreeExpand:Oe=>F(Oe),disabled:nt||dt}),Hn=Oe=>{var we;!Oe.isDir&&((we=Oe.tonieInfo)!=null&&we.tracks)&&(X(Oe),J(!0))},lr=Oe=>{Rr((e==="library"?"/library":"/content")+Oe),j(!1),k(Oe),K(!0)},tr=()=>{K(!1)},Rr=async Oe=>{try{const je=await(await yo.apiGetTeddyCloudApiRaw(Oe)).json();H(je)}catch(we){console.error("Error fetching JSON data:",we)}},wr=b.jsx(Rt,{type:"primary",onClick:()=>K(!1),children:s("tonies.informationModal.ok")}),Gn=b.jsx(Sn,{className:"json-viewer",footer:wr,width:700,title:"File: "+O,open:q,onCancel:tr,children:V?b.jsx(Sl,{language:"json",style:xt()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(V,null,2)}):"Loading..."}),Yt=(Oe,we)=>{const je=we,{trackSeconds:st,...At}=je;j(!1),de(At),k(Oe),Ee(!0)},Bt=()=>{Ee(!1)},qt=b.jsx(Sn,{className:"taf-header-viewer",footer:b.jsx(Rt,{type:"primary",onClick:()=>Ee(!1),children:s("tonies.informationModal.ok")}),title:s("tonies.tafHeaderOf")+O,open:Te,onCancel:Bt,children:me?b.jsx(Sl,{language:"json",style:xt()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(me,null,2)}):"Loading..."}),Ut=Oe=>{Oe.includes(".tap")&&(Rr((e==="library"?"/library":"/content")+Oe),j(!1),k(Oe),ue(je=>je+1),te(!0))},jt=Oe=>{console.log("Received values of form: ",Oe),te(!1)},St=(Oe,we)=>{},Tt=(Oe,we,je)=>{j(!1),Me(Oe),De(we),Ye(je),Ie(!0)},sn=()=>{Ie(!1),ke(!1)},yn=()=>{vr(Ce,Ue),I(Oe=>!Oe),Ie(!1)},nr=()=>{ke(!0)},cr=async()=>{if(P.length>0){for(const Oe of P){const we=x.find(je=>je.name===Oe);if(we){const je=C+"/"+we.name,st="?special="+e+(r?`&overlay=${r}`:"");await vr(je,st)}}I(Oe=>!Oe),ke(!1),M([])}else Qe.warning("No rows selected for deletion.")},vr=async(Oe,we)=>{const je=Qe.loading(s("fileBrowser.messages.deleting"),0);try{const st=`/api/fileDelete${we}`,Zt=await(await yo.apiPostTeddyCloudRaw(st,Oe)).text();if(je(),Zt==="OK"){Qe.success(s("fileBrowser.messages.deleteSuccessful",{file:Oe}));const Cn=yt(Oe+"/",D);Cn&&L(Er=>Er.filter(Vr=>Vr.id!==Cn)),ye===Oe+"/"&&be(C)}else Qe.error(`${s("fileBrowser.messages.deleteFailed",{file:Oe})}: ${Zt}`)}catch(st){je(),Qe.error(`${s("fileBrowser.messages.deleteFailed",{file:Oe})}: ${st}`)}},zt=()=>{re(!0),ae(!1),Ae(Oe=>Oe+1),j(!1),fe(!0)},Ft=()=>{j(!1),fe(!1)},ut=Oe=>{const we=Oe.target.value,je=!qu(we.toString());ae(je),re(we==="")},Pt=()=>{var we,je;const Oe=((je=(we=f.current)==null?void 0:we.input)==null?void 0:je.value)||"";try{yo.apiPostTeddyCloudRaw("/api/dirCreate?special=library",ye+"/"+Oe).then(st=>st.text()).then(st=>{if(st!=="OK")throw new Error(st);const At=yt(ye+"/",D)||Xi.id,Zt=`${At}.${D.length}`,Cn=Mt(At),Er=Ot(At,D);if(Cn||Er.length>0){const Vr={id:Zt,pId:At,value:Zt,title:Oe,fullPath:ye+"/"+Oe+"/"};L([...D,Vr].sort((T2,x2)=>T2.title===x2.title?0:T2.title.toLowerCase()>x2.title.toLowerCase()?1:-1)),(He||Nt)&&A(Zt)}Qe.success(s("fileBrowser.createDirectory.directoryCreated")),fe(!1),I(Vr=>!Vr),be(C)}).catch(st=>{Qe.error(st.message)})}catch{Qe.error("Error while creating directory")}},mn=ge||ne,pr=b.jsxs(Sn,{title:s("fileBrowser.createDirectory.modalTitle"),open:Pe,onCancel:Ft,onOk:Pt,okText:s("fileBrowser.createDirectory.create"),cancelText:s("fileBrowser.createDirectory.cancel"),zIndex:1050,okButtonProps:{disabled:mn},children:[b.jsxs(wn,{style:{marginBottom:8},children:[s("fileBrowser.createDirectory.parentPath")+" "+ye+"/"," "]}),b.jsxs(Xt.Item,{validateStatus:ne?"error":"",help:ne?s("inputValidator.invalidCharactersDetected",{invalidChar:Mf}):"",required:!0,children:[" ",b.jsx(en,{ref:f,type:"text",placeholder:s("fileBrowser.createDirectory.placeholder"),status:ne?"error":"",onChange:ut})]})]},"createDirModal-"+ve),pn=async(Oe,we,je)=>{const st="source="+encodeURIComponent(Oe)+"&target="+encodeURIComponent(we),At=Qe.loading(s(je?"fileBrowser.messages.moving":"fileBrowser.messages.renaming"),0);try{const Zt=`/api/fileMove${"?special="+e+(r?`&overlay=${r}`:"")}`,Er=await(await yo.apiPostTeddyCloudRaw(Zt,st)).text();if(At(),Er==="OK")Qe.success(je?s("fileBrowser.messages.movingSuccessful",{file:Oe}):s("fileBrowser.messages.renamingSuccessful",{file:Oe}));else throw Qe.error(`${je?s("fileBrowser.messages.movingFailed",{file:Oe}):s("fileBrowser.messages.renamingFailed",{file:Oe})}: ${Er}`),Er}catch(Zt){throw At(),Qe.error(`${je?s("fileBrowser.messages.movingFailed",{file:Oe}):s("fileBrowser.messages.renamingFailed",{file:Oe})}: ${Zt}`),Zt}},Ir=Oe=>{A(Xi.id),k(Oe),ze(!0)},Or=()=>{ze(!1),be(C)},Sr=async(Oe,we)=>{try{await pn(Oe+"/"+O,we+"/"+O,!0),I(je=>!je),ze(!1),A(Xi.id)}catch{}},sa=async(Oe,we)=>{if(P.length>0){for(const je of P){const st=x.find(At=>At.name===je);st&&!st.isDir&&await pn(Oe+"/"+st.name,we+"/"+st.name,!0)}I(je=>!je),ze(!1),M([]),A(Xi.id)}else Qe.warning("No rows selected for moving.")},Ja=!N||Vt(N)===C,Yo=b.jsxs(Sn,{title:s(O?"fileBrowser.moveFile.modalTitle":"fileBrowser.moveFile.modalTitleMultiple"),open:He,onCancel:Or,onOk:()=>O?Sr(C,Vt(N)):sa(C,Vt(N)),okText:s("fileBrowser.moveFile.move"),cancelText:s("fileBrowser.moveFile.cancel"),okButtonProps:{disabled:Ja},children:[b.jsx(Xn,{message:s("fileBrowser.attention"),description:s("fileBrowser.moveFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),b.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:[b.jsx(en,{type:"text",style:{borderTopRightRadius:O?0:"unset",borderBottomRightRadius:O?0:"unset"},disabled:!0,value:C+"/"+(O||""),placeholder:C+"/"+(O||"")}),b.jsx("div",{children:s("fileBrowser.moveFile.moveTo")}),b.jsxs("div",{style:{display:"flex"},children:[En,b.jsx(Jt,{title:s("fileBrowser.createDirectory.createDirectory"),children:b.jsx(Rt,{icon:b.jsx(TD,{}),onClick:()=>{be(Vt(N)),zt()},style:{borderTopLeftRadius:0,borderBottomLeftRadius:0}})})]})]})]}),Dt=Oe=>{k(Oe),re(!0),pe(!qu(Oe)),mt(we=>we+1),Be(!0)},Kt=()=>{Be(!1)},Vn=async(Oe,we)=>{try{await pn(Oe+"/"+O,Oe+"/"+we,!1),I(je=>!je),Be(!1)}catch{}},fr=Oe=>{const we=Oe.target.value,je=!qu(we.toString()),st=!we.toString()||je;pe(je),Se(st),re(!we||we===O)},qn=ge||le||Re,Ns=b.jsxs(Sn,{title:s("fileBrowser.renameFile.modalTitle"),open:Xe,onCancel:Kt,onOk:()=>Vn(C,g.current&&g.current.input?g.current.input.value:O),okText:s("fileBrowser.renameFile.rename"),cancelText:s("fileBrowser.renameFile.cancel"),okButtonProps:{disabled:qn},children:[b.jsx(Xn,{message:s("fileBrowser.attention"),description:s("fileBrowser.renameFile.attention"),type:"warning",showIcon:!0,style:{marginBottom:16}}),b.jsx("div",{style:{display:"flex",flexDirection:"column",gap:16,justifyContent:"space-between"},children:b.jsx(Xt.Item,{validateStatus:le?"error":"",help:le?s("inputValidator.invalidCharactersDetected",{invalidChar:Mf}):"",required:!0,children:b.jsx(en,{ref:g,type:"text",defaultValue:O,onChange:fr,placeholder:O,status:le?"error":""})})})]},"renameModal-"+Je),_p=()=>{Ke(Oe=>Oe+1),tt(!0)},bp=()=>{tt(!1)},$l=()=>{vt(Oe=>[...Oe,...qe]),tt(!1),_t([])},lie=(Oe,we,je)=>{const st=[];if(Oe.length>0)for(const At of Oe){const Zt=Oe.find(Cn=>Cn.name===At.name&&vu.some(Er=>Cn.name.toLowerCase().endsWith(Er)));Zt&&st.push({uid:kt(),name:Zt.name,path:we})}_t(st)},cie=b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[b.jsx(Rt,{onClick:bp,children:s("tonies.selectFileModal.cancel")}),b.jsx(Rt,{type:"primary",onClick:$l,children:s("tonies.selectFileModal.ok")})]}),uie=b.jsx(Sn,{className:"sticky-footer",title:s("tonies.selectFileModal.selectFile"),open:Ct,onOk:$l,onCancel:bp,width:"auto",footer:cie,children:b.jsx(t2,{special:"library",maxSelectedRows:A9-et.length-1,trackUrl:!1,filetypeFilter:vu,onFileSelectChange:lie},it)}),die=()=>{re(!0),pe(!1),ot(we=>we+1),A(Xi.id);const Oe=[];for(const we of P){const je=x.find(st=>st.name===we&&vu.some(At=>st.name.toLowerCase().endsWith(At)));je&&Oe.push({uid:kt(),name:je.name,path:C})}vt(Oe),ht(!0)},pie=()=>{ht(!1),be(C),vt([])},fie=async()=>{var st,At;bt(!0);const Oe=(At=(st=m==null?void 0:m.current)==null?void 0:st.input)==null?void 0:At.value,we=Qe.loading(s("fileBrowser.encodeFiles.encodingInProgress"),0),je=et.map(Zt=>`source=${encodeURIComponent(Zt.path+"/"+Zt.name)}`).join("&")+`&target=${encodeURIComponent(Vt(N)+"/"+Oe+".taf")}`;try{(await yo.apiPostTeddyCloudRaw(`/api/fileEncode?special=${e}`,je)).ok?(we(),Qe.success(s("fileBrowser.encodeFiles.encodingSuccessful")),ht(!1),A("1"),M([]),I(!w)):(we(),Qe.error(s("fileBrowser.encodeFiles.encodingFailed")))}catch{we(),Qe.error(s("fileBrowser.encodeFiles.encodingFailed"))}bt(!1)},mie=Jre(ZS,{activationConstraint:{distance:10}}),gie=({active:Oe,over:we})=>{Oe.id!==(we==null?void 0:we.id)&&vt(je=>{const st=je.findIndex(Zt=>Zt.uid===Oe.id),At=je.findIndex(Zt=>Zt.uid===(we==null?void 0:we.id));return tE(je,st,At)})},hie=Oe=>{const we=et.indexOf(Oe),je=et.slice();je.splice(we,1),vt(je)},vie=()=>{vt(Oe=>[...Oe].sort((we,je)=>we.name.localeCompare(je.name)))},_ie=Oe=>{const we=Oe.target.value,je=!qu(we.toString()),st=et.length>0&&!we.toString()||je;pe(je),Se(st),re(we==="")},bie=b.jsxs(Sn,{title:s("fileBrowser.encodeFiles.modalTitle"),open:Nt,onCancel:pie,onOk:fie,okText:s("fileBrowser.encodeFiles.encode"),cancelText:s("fileBrowser.encodeFiles.cancel"),zIndex:1e3,width:"auto",okButtonProps:{disabled:nt||Re||ge||et.length===0},children:[uie,b.jsx(fae,{sensors:[mie],onDragEnd:gie,children:b.jsxs(_ae,{items:et.map(Oe=>Oe.uid),strategy:gae,disabled:nt,children:[b.jsx(Rt,{disabled:nt,onClick:_p,children:s("fileBrowser.encodeFiles.addFiles")}),et.map(Oe=>b.jsx(wZe,{originNode:b.jsx("div",{children:Oe.name}),onRemove:hie,disabled:nt,fileObjectList:et,file:Oe},Oe.uid))]})}),b.jsx(Na,{direction:"vertical",style:{display:"flex"},children:et.length>0?b.jsxs(b.Fragment,{children:[b.jsx(Na,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start"},children:b.jsx(Rt,{type:"default",disabled:nt,onClick:vie,children:s("tonies.encoder.sortAlphabetically")})}),b.jsx(Qr,{}),b.jsx("div",{style:{width:"100%"},className:"encoder",children:b.jsxs(Na,{direction:"vertical",style:{width:"100%"},children:[b.jsxs(Na.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[b.jsx(en,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:s("tonies.encoder.saveAs")}),En,b.jsx(Jt,{title:s("fileBrowser.createDirectory.createDirectory"),children:b.jsx(Rt,{disabled:nt,icon:b.jsx(TD,{}),onClick:()=>{be(Vt(N)),zt()},style:{borderRadius:0}})}),b.jsx(en,{ref:m,addonAfter:".taf",required:!0,status:Re?"error":"",onChange:_ie,disabled:nt})]}),le?b.jsx("div",{style:{textAlign:"end",color:u.colorErrorText},children:s("inputValidator.invalidCharactersDetected",{invalidChar:Mf})}):""]})})]}):b.jsx(b.Fragment,{})})]},"encodeModal-"+ct),Sie=()=>{We(!0)},S2=()=>{Ze([]),We(!1)},Eie={name:"file",multiple:!0,fileList:Ve,customRequest:async Oe=>{const{onSuccess:we,onError:je,file:st}=Oe;we("Ok")},onChange(Oe){const{status:we,fileList:je}=Oe;we!=="uploading"&&(Ze(je),console.log(Oe.file,Oe.fileList))},onDrop(Oe){console.log("Dropped files",Oe.dataTransfer.files)},onRemove:Oe=>{Ze(we=>we.filter(je=>je.uid!==Oe.uid))}},yie=async Oe=>{if(!Oe.length)return;It(!0);let we=!1;for(let je=0;jeEr.filter(Vr=>Vr.uid!==st.uid)),Qe.success(s("fileBrowser.upload.uploadSuccessfulForFile",{file:st.name}))):(we=!0,At(),Ze(Er=>Er.map(Vr=>Vr.uid===st.uid?{...Vr,status:"Failed"}:Vr)),Qe.error(s("fileBrowser.upload.uploadFailedForFile",{file:st.name})))}catch{we=!0,At(),Qe.error(s("fileBrowser.upload.uploadFailedForFile",{file:st.name})),Ze(Er=>Er.map(Vr=>Vr.uid===st.uid?{...Vr,status:"Failed"}:Vr))}}we?(I(!w),Qe.error(s("fileBrowser.upload.uploadFailed"))):(I(!w),We(!1),Qe.success(s("fileBrowser.upload.uploadSuccessful"))),It(!1)},Cie=b.jsxs("div",{style:{display:"flex",gap:8,justifyContent:"flex-end",padding:"16px 0",margin:"-24px -24px -12px -24px",background:u.colorBgElevated},children:[b.jsx(Rt,{onClick:S2,children:s("fileBrowser.upload.cancel")}),b.jsx(Rt,{type:"primary",onClick:()=>yie(Ve),loading:dt,disabled:Ve.length===0||dt,children:s(dt?"fileBrowser.upload.uploading":"fileBrowser.upload.upload")})]}),Tie=b.jsx(Sn,{className:"sticky-footer",title:s("fileBrowser.upload.modalTitle"),open:pt,onCancel:S2,footer:Cie,children:b.jsx("div",{style:{width:"100%",marginBottom:8},children:b.jsxs(bg.Dragger,{...Eie,style:{width:"100%",marginBottom:8},children:[b.jsx("p",{className:"ant-upload-drag-icon",children:b.jsx(jk,{})}),b.jsx("p",{className:"ant-upload-text",children:s("fileBrowser.upload.uploadText")}),b.jsx("p",{className:"ant-upload-hint",children:s("fileBrowser.upload.uploadHint")})]})})}),E2=(Oe,we,je)=>{try{v.open({type:"loading",content:s("fileBrowser.messages.migrationOngoing"),duration:0});const st=`ruid=${Oe}&libroot=${we}`;yo.apiPostTeddyCloudRaw("/api/migrateContent2Lib",st,je).then(At=>At.text()).then(At=>{v.destroy(),At==="OK"?(v.open({type:"success",content:s("fileBrowser.messages.migrationSuccessful")}),I(Zt=>!Zt)):v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+At})}).catch(At=>{v.destroy(),v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+At})})}catch(st){v.destroy(),v.open({type:"error",content:s("fileBrowser.messages.migrationFailed")+": "+st})}},xie=Oe=>{z(Oe.target.value),p.current=Oe.target.selectionStart,j(!0)},Rie=()=>{z(""),p.current=0},wie=()=>{j(!0)},Iie=()=>{j(!1)},Oie=Oe=>P.includes(Oe.key)?"highlight-row":"",Nie=Oe=>{M(Oe)},Aie=Oe=>{const we=Oe===".."?C.split("/").slice(0,-1).join("/"):`${C}/${Oe}`;a&&d(`?path=${we}`),j(!1),M([]),T(we)},y2=(Oe,we)=>we.reduce((je,st)=>{if(je&&je[st]!==void 0)return je[st]},Oe),C2=(Oe,we,je)=>{const st=Array.isArray(je)?y2(Oe,je):Oe[je],At=Array.isArray(je)?y2(we,je):we[je];return st===void 0&&At===void 0?0:st===void 0?1:At===void 0?-1:typeof st=="string"&&typeof At=="string"?st.localeCompare(At):typeof st=="number"&&typeof At=="number"?st-At:(console.log("Unsupported types for sorting:",Oe,we),console.log("Unsupported types for sorting field:",je,st,At),0)},Die=(Oe,we)=>Oe.isDir===we.isDir?C2(Oe,we,"name"):Oe.isDir?-1:1,Mie=Oe=>Oe>0&&Oe<=A9;var Fl=[{title:P.length>0?b.jsxs("div",{style:{display:"flex",gap:8,minHeight:32},children:[x.filter(Oe=>P.includes(Oe.name)&&!Oe.isDir).length>0?b.jsx(Jt,{title:s("fileBrowser.moveMultiple"),children:b.jsx(Rt,{icon:b.jsx(R4,{}),onClick:()=>Ir(""),disabled:P.length===0})},"moveMultiple"):"",b.jsx(Jt,{title:s("fileBrowser.deleteMultiple"),children:b.jsx(Rt,{icon:b.jsx(Rd,{}),onClick:nr,disabled:P.length===0})},"deleteMultiple"),Mie(x.filter(Oe=>P.includes(Oe.name)&&vu.some(we=>Oe.name.toLowerCase().endsWith(we))).length)&&e==="library"?b.jsx(Jt,{title:s("fileBrowser.encodeFiles.encodeFiles")+vu.join(", "),children:b.jsx(Rt,{icon:b.jsx(CD,{}),onClick:die,disabled:P.length===0})},"encodeFiles"):""]}):b.jsx("div",{style:{minHeight:32}}),dataIndex:["tonieInfo","picture"],key:"picture",sorter:void 0,width:10,render:(Oe,we)=>{var je,st;return we&&((je=we.tonieInfo)!=null&&je.picture)?b.jsx("img",{src:we.tonieInfo.picture,alt:s("tonies.content.toniePicture"),onClick:()=>Hn(we),style:{width:100,cursor:!we.isDir&&((st=we==null?void 0:we.tonieInfo)!=null&&st.tracks)?"help":"default"}},`picture-${we.name}`):b.jsx(b.Fragment,{})},showOnDirOnly:!1},{title:s("fileBrowser.name"),dataIndex:"name",key:"name",sorter:Die,defaultSortOrder:"ascend",render:(Oe,we)=>{var je,st,At,Zt,Cn;return we&&b.jsxs("div",{children:[b.jsxs("div",{className:"showSmallDevicesOnly",children:[b.jsxs("div",{children:[b.jsxs("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:[we.isDir?"["+we.name+"]":we.name," "]}),!we.isDir&&we.size?"("+Vu(we.size)+")":""]}),b.jsx("div",{children:(je=we.tonieInfo)==null?void 0:je.model}),b.jsx("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:((st=we.tonieInfo)!=null&&st.series?(At=we.tonieInfo)==null?void 0:At.series:"")+((Zt=we.tonieInfo)!=null&&Zt.episode?" - "+((Cn=we.tonieInfo)==null?void 0:Cn.episode):"")}),b.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),b.jsxs("div",{className:"showMediumDevicesOnly",children:[b.jsxs("div",{children:[b.jsxs("div",{style:{wordBreak:we.isDir?"normal":"break-word"},children:[we.isDir?"["+we.name+"]":we.name," "]}),!we.isDir&&we.size?"("+Vu(we.size)+")":""]}),b.jsx("div",{children:!we.isDir&&new Date(we.date*1e3).toLocaleString()})]}),b.jsx("div",{className:"showBigDevicesOnly",children:we.isDir?"["+we.name+"]":we.name})]},`name-${we.name}`)},filteredValue:[B],onFilter:(Oe,we)=>{var st,At,Zt,Cn;const je=Oe.toLowerCase();return we.name===".."||we.name.toLowerCase().includes(je)||!we.isDir&&"tafHeader"in we&&we.tafHeader.size&&Vu(we.tafHeader.size).toString().includes(je)||"tafHeader"in we&&((st=we.tafHeader.audioId)==null?void 0:st.toString().includes(je))||"tonieInfo"in we&&((At=we.tonieInfo)==null?void 0:At.model.toLowerCase().includes(je))||"tonieInfo"in we&&((Zt=we.tonieInfo)==null?void 0:Zt.series.toLowerCase().includes(je))||"tonieInfo"in we&&((Cn=we.tonieInfo)==null?void 0:Cn.episode.toLowerCase().includes(je))},showOnDirOnly:!0},{title:s("fileBrowser.size"),dataIndex:"size",key:"size",render:(Oe,we)=>b.jsx("div",{children:we.isDir?"":Vu(Oe)},`size-${we.name}`),showOnDirOnly:!1,responsive:["xl"]},{title:s("fileBrowser.model"),dataIndex:["tonieInfo","model"],key:"model",showOnDirOnly:!1,responsive:["xl"],render:(Oe,we)=>{var je;return b.jsx("div",{children:(je=we.tonieInfo)==null?void 0:je.model},`model-${we.name}`)}},{title:b.jsxs(b.Fragment,{children:[b.jsxs("div",{className:"showMediumDevicesOnly",children:[s("fileBrowser.model"),"/",s("fileBrowser.series"),"/",s("fileBrowser.episode")]}),b.jsx("div",{className:"showBigDevicesOnly",children:s("fileBrowser.series")})]}),dataIndex:["tonieInfo","series"],key:"series",render:(Oe,we)=>{var je,st,At,Zt,Cn,Er,Vr;return b.jsxs("div",{children:[b.jsxs("div",{className:"showMediumDevicesOnly",children:[b.jsx("div",{children:(je=we.tonieInfo)==null?void 0:je.model}),b.jsx("div",{style:{wordBreak:"break-word"},children:((st=we.tonieInfo)!=null&&st.series?(At=we.tonieInfo)==null?void 0:At.series:"")+((Zt=we.tonieInfo)!=null&&Zt.episode?" - "+((Cn=we.tonieInfo)==null?void 0:Cn.episode):"")})]}),b.jsx("div",{className:"showBigDevicesOnly",children:(Er=we.tonieInfo)!=null&&Er.series?(Vr=we.tonieInfo)==null?void 0:Vr.series:""})]},`series-${we.name}`)},showOnDirOnly:!1,responsive:["md"]},{title:s("fileBrowser.episode"),dataIndex:["tonieInfo","episode"],key:"episode",showOnDirOnly:!1,responsive:["xl"],render:(Oe,we)=>{var je;return b.jsx("div",{children:(je=we.tonieInfo)==null?void 0:je.episode},`episode-${we.name}`)}},{title:s("fileBrowser.date"),dataIndex:"date",key:"date",render:(Oe,we)=>b.jsx("div",{children:new Date(Oe*1e3).toLocaleString()},`date-${we.name}`),showOnDirOnly:!0,responsive:["xl"]},{title:b.jsx("div",{className:"showMediumDevicesOnly showBigDevicesOnly",children:s("fileBrowser.actions")}),dataIndex:"controls",key:"controls",sorter:void 0,render:(Oe,we)=>{let je=[];return we.tafHeader?(e!=="library"&&(je.push(b.jsx(Jt,{title:s("fileBrowser.migrateContentToLib"),children:b.jsx(jOe,{onClick:()=>E2(C.replace("/","")+we.name,!1,r),style:{margin:"0 8px 0 0"}})},`action-migrate-${we.name}`)),je.push(b.jsx(Jt,{title:s("fileBrowser.migrateContentToLibRoot"),children:b.jsx(TAe,{onClick:()=>E2(C.replace("/","")+we.name,!0,r),style:{margin:"0 8px 0 0"}})},`action-migrate-root-${we.name}`))),je.push(b.jsx(Jt,{title:s("fileBrowser.playFile"),children:b.jsx(Lo,{style:{margin:"0 8px 0 0"},onClick:()=>{var st;return l(encodeURI("/content"+C+"/"+we.name)+"?ogg=true&special="+e+(r?`&overlay=${r}`:""),we.tonieInfo,(st=we.tafHeader)==null?void 0:st.trackSeconds)}})},`action-play-${we.name}`))):vu.some(st=>we.name.endsWith(st))&&je.push(b.jsx(Jt,{title:s("fileBrowser.playFile"),children:b.jsx(Lo,{style:{margin:"0 8px 0 0"},onClick:()=>l(encodeURI("/content"+C+"/"+we.name)+"?special="+e+(r?`&overlay=${r}`:""),we.tonieInfo)})},`action-play-${we.name}`)),n&&we.name.includes(".tap")&&(je.push(b.jsx(Jt,{title:s("fileBrowser.tap.edit"),children:b.jsx(Sm,{style:{margin:"0 8px 0 0"},onClick:()=>Ut(C+"/"+we.name)})},`action-edit-${we.name}`)),je.push(b.jsx(Jt,{title:s("fileBrowser.tap.copy"),children:b.jsx(Lee,{style:{margin:"0 8px 0 0"}})},`action-copy-${we.name}`))),we.tafHeader&&je.push(b.jsx(Jt,{title:s("fileBrowser.tafMeta.edit"),children:b.jsx(Sm,{style:{margin:"0 8px 0 0"},onClick:()=>St()})},`action-edit-${we.name}`)),!we.isDir&&we.name!==".."&&je.push(b.jsx(Jt,{title:s("fileBrowser.rename"),children:b.jsx(HNe,{onClick:()=>Dt(we.name),style:{margin:"0 8px 0 0"}})},`action-rename-${we.name}`)),!we.isDir&&we.name!==".."&&je.push(b.jsx(Jt,{title:s("fileBrowser.move"),children:b.jsx(R4,{onClick:()=>Ir(we.name),style:{margin:"0 8px 0 0"}})},`action-move-${we.name}`)),we.name!==".."&&je.push(b.jsx(Jt,{title:s("fileBrowser.delete"),children:b.jsx(Rd,{onClick:()=>Tt(we.name,C+"/"+we.name,"?special="+e+(r?`&overlay=${r}`:"")),style:{margin:"0 8px 0 0"}})},`action-delete-${we.name}`)),je},showOnDirOnly:!1}];return Fl.forEach(Oe=>{Oe.hasOwnProperty("sorter")||(Oe.sorter=(we,je)=>C2(we,je,Oe.dataIndex))}),i&&(Fl=Fl.filter(Oe=>Oe.showOnDirOnly)),o&&(Fl=Fl.filter(Oe=>typeof Oe.key=="string"?o.includes(Oe.key):!1)),b.jsxs(b.Fragment,{children:[S,b.jsx(kd,{title:s("fileBrowser.confirmDeleteModal"),open:Ne,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmDeleteDialog",{fileToDelete:rt}),handleOk:yn,handleCancel:sn}),b.jsx(kd,{title:s("fileBrowser.confirmDeleteModal"),open:xe,okText:s("fileBrowser.delete"),cancelText:s("fileBrowser.cancel"),content:s("fileBrowser.confirmMultipleDeleteDialog"),handleOk:cr,handleCancel:sn}),Gn,qt,pr,Tie,Yo,Ns,bie,Y?b.jsx(JP,{open:G,tonieCardOrTAFRecord:Y,onClose:()=>J(!1),overlay:r}):"",b.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"flex-start"},children:[b.jsxs("div",{style:{display:"flex",flexDirection:"row",marginBottom:8},children:[b.jsx("div",{style:{lineHeight:1.5,marginRight:16},children:s("tonies.currentPath")}),nn(C,tn)]}),e==="library"?b.jsx("div",{style:{width:"100%",marginBottom:8},children:b.jsxs("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:[b.jsx(Rt,{size:"small",onClick:zt,style:{marginBottom:8},children:s("fileBrowser.createDirectory.createDirectory")}),b.jsx(Rt,{size:"small",onClick:Sie,style:{marginBottom:8},children:s("fileBrowser.upload.showUploadFilesDragNDrop")})]})}):""]}),b.jsx(Wa,{dataSource:x,columns:Fl,rowKey:Oe=>Oe.name,pagination:!1,onRow:Oe=>({onDoubleClick:()=>{Oe.isDir?Aie(Oe.name):Oe.name.includes(".json")||Oe.name.includes(".tap")?lr(C+"/"+Oe.name):Oe.tafHeader&&Yt(Oe.name,Oe.tafHeader)}}),rowClassName:Oie,rowSelection:{selectedRowKeys:P,onChange:Nie,getCheckboxProps:Oe=>({disabled:Oe.name===".."}),onSelectAll:(Oe,we)=>{const je=Oe?we.filter(st=>st.name!=="..").map(st=>st.name):[];M(je)}},components:{header:{wrapper:Oe=>b.jsx("thead",{...Oe}),row:Oe=>b.jsxs(b.Fragment,{children:[b.jsx("tr",{...Oe}),b.jsx("tr",{children:b.jsx("th",{style:{padding:"10px 8px"},colSpan:Fl.length+1,children:b.jsx(en,{placeholder:s("fileBrowser.filter"),value:B,onChange:xie,onFocus:wie,onBlur:Iie,ref:h,style:{width:"100%"},autoFocus:U,addonAfter:b.jsx(na,{onClick:Rie,disabled:B.length===0,style:{color:B.length===0?u.colorTextDisabled:u.colorText,cursor:B.length===0?"default":"pointer"}})})})})]}),cell:Oe=>b.jsx("th",{...Oe,style:{position:"sticky",top:0,zIndex:20}})}}}),b.jsx(Kre,{open:Z,initialValuesJson:V?JSON.stringify(V,null,2):void 0,onCreate:jt,onCancel:()=>{te(!1)}},se)]})},{Option:OZe}=$r,NZe=()=>{const{t:e}=$t(),{tonieBoxContentDirs:t,overlay:n,handleSelectChange:r}=a2();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.content.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignContent:"center",flexDirection:"row",alignItems:"center"},children:[b.jsx("h1",{children:e("tonies.content.title")}),t.length>1?b.jsx($r,{id:"contentDirectorySelect",defaultValue:"",onChange:r,style:{maxWidth:"300px"},value:n,title:e("tonies.content.showToniesOfBoxes"),children:t.map(([a,i,o])=>b.jsx(OZe,{value:o,children:i.join(", ")},o))}):""]}),b.jsx(p2,{special:"",overlay:n})]})]})]})},AZe=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.library.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonies.library.title")}),b.jsx(p2,{special:"library"})]})]})]})},{Text:DZe}=wn,MZe=({originNode:e,fileList:t,file:n,onRemove:r,disabled:a})=>{const{attributes:i,listeners:o,setNodeRef:s,transform:l,transition:u,isDragging:d}=Sae({id:n.uid}),{t:p}=$t(),f={transform:Pd.Transform.toString(l),transition:u,cursor:"move"};return b.jsx("div",{ref:s,style:f,className:d?"is-dragging":"",...i,...o,children:b.jsxs("div",{className:"ant-upload-list-item ant-upload-list-item-undefined",children:[b.jsx("div",{className:"ant-upload-list-item-thumbnail ant-upload-list-item-file",children:b.jsxs("span",{role:"img","aria-label":"file",className:"anticon anticon-file",children:[t.indexOf(n)+1,"."]})}),b.jsxs("span",{className:"ant-upload-list-item-name",title:n.name,children:[b.jsx("span",{className:"",children:n.name}),b.jsx("br",{}),b.jsx(DZe,{type:"secondary",children:Vu(n.size?n.size:-1)})]}),b.jsx("span",{className:"ant-upload-list-item-actions picture",children:b.jsx(Rt,{title:p("tonies.encoder.removeFile"),onClick:()=>r(n),disabled:a,icon:b.jsx(Rd,{})})})]})})};function LZe(e,t,n,r,a,i){const o=new FileReader;o.onload=async s=>{try{if(s.target==null)return;const l=s.target.result,u=new AudioContext,d=48e3,p=await u.decodeAudioData(l),f=new OfflineAudioContext({numberOfChannels:p.numberOfChannels,length:Math.round(p.length*d/p.sampleRate),sampleRate:d}),m=f.createBufferSource();m.buffer=p,m.connect(f.destination),m.start();const g=await f.startRendering(),h=g.numberOfChannels,v=new Float32Array(g.getChannelData(0)),S=h>1?new Float32Array(g.getChannelData(1)):new Float32Array(g.getChannelData(0)),_=new Int16Array(v.length+S.length);for(let E=0,y=0;E{t("Failed to read the file")},a.file&&o.readAsArrayBuffer(a.file)}const kZe=e=>Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&"),zh=new xn(vn()),{useToken:PZe}=Xa,_u={id:"1",pId:"-1",value:"1",title:"/"},Hh=99,$Ze=()=>{const{t:e}=$t(),{token:t}=PZe(),[n,r]=Qe.useMessage(),[a,i]=c.useState(!1),[o,s]=c.useState([]),[l,u]=c.useState(!1),[d,p]=c.useState(!1),[f,m]=c.useState(""),[g,h]=c.useState(_u.id),[v,S]=c.useState([_u]),[_,E]=c.useState(!1),[y,C]=c.useState(""),[T,x]=c.useState(!1),[R,w]=c.useState(!1),I=c.useRef(null);let O=0;c.useEffect(()=>{(async()=>{const H=new xn(vn());let q=!1;try{const K=await H.apiGetTeddyCloudSettingRaw("debug.web.pcm_encode_console_url");if(!K.ok)throw new Error(`HTTP error! status: ${K.status}`);q=(await K.json()).toString()==="true"}catch(K){console.error("Error fetching debug.web.pcm_encode_console_url: ",K)}i(q)})(),(async()=>{const H=$(_u.id);zh.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${H}&special=library`).then(q=>q.json()).then(q=>{var K=q.files;K=K.filter(Z=>Z.isDir&&Z.name!=="..").sort((Z,te)=>Z.name===te.name?0:Z.name.toLowerCase()>te.name.toLowerCase()?1:-1).map(Z=>({id:_u.id+"."+K.indexOf(Z),pId:_u.id,value:_u.id+"."+K.indexOf(Z),title:Z.name})),S(v.concat(K))})})()},[]),c.useEffect(()=>{_&&setTimeout(()=>{I.current&&I.current.focus()},0)},[_]),c.useEffect(()=>{O=o.length},[o]);const k=Jre(ZS,{activationConstraint:{distance:10}}),P=({active:X,over:V})=>{X.id!==(V==null?void 0:V.id)&&s(H=>{const q=H.findIndex(Z=>Z.uid===X.id),K=H.findIndex(Z=>Z.uid===(V==null?void 0:V.id));return tE(H,q,K)})},M=({fileList:X})=>{O++,O>Hh&&n.open({type:"error",content:e("tonies.encoder.maxFiles",{maxFiles:Hh})});const V=X.slice(0,Hh);if(V.length===1&&f===""){const q=V[0].name.replace(/\.[^/.]+$/,"");m(q)}s(V)},N=X=>{const V=o.indexOf(X),H=o.slice();H.splice(V,1),s(H)},A=async()=>{u(!0);const X=new FormData;for(const K of o)try{await new Promise((Z,te)=>LZe(Z,te,X,o,K,a))}catch(Z){Qe.error(e("tonies.encoder.errorFileProcessing")+" "+Z),u(!1);return}const V=Math.floor(Date.now()/1e3),H={name:f+".taf",audioId:V-1342177280,path:$(g),special:"library"};p(!0);const q=kZe(H);try{const K=await zh.apiPostTeddyCloudFormDataRaw(`/api/pcmUpload?${q}`,X);K.ok?(Qe.success(e("tonies.encoder.uploadSuccessful")),s([]),m("")):Qe.error(e("tonies.encoder.uploadFailed")+": "+K.statusText),p(!1),u(!1)}catch{Qe.error(e("tonies.encoder.uploadFailed")),p(!1),u(!1)}},D={listType:"picture",multiple:!0,beforeUpload:X=>{const V=X;return V.file=X,o.push(V),s(o),!1},fileList:o,onChange:M,itemRender:(X,V)=>b.jsx(MZe,{originNode:X,fileList:o,file:V,onRemove:N,disabled:l})},L=({id:X})=>new Promise((V,H)=>{const q=$(X);zh.apiGetTeddyCloudApiRaw(`/api/fileIndexV2?path=${q}&special=library`).then(K=>K.json()).then(K=>{let Z=K.files;Z=Z.filter(te=>te.isDir&&te.name!=="..").sort((te,se)=>te.name===se.name?0:te.name.toLowerCase()>se.name.toLowerCase()?1:-1).map(te=>({id:X+"."+Z.indexOf(te),pId:X,value:X+"."+Z.indexOf(te),title:te.name})),S(v.concat(Z)),V(!0)}).then(()=>{H()})}),$=X=>{const V=v.filter(H=>H.value===X)[0];return V.pId==="-1"?"":$(v.filter(H=>H.id===V.pId)[0].id)+"/"+V.title},F=()=>{s(X=>[...X].sort((V,H)=>V.name.localeCompare(H.name)))},B=()=>{s([])},z=()=>{E(!0)},U=X=>{w(!qu(X.target.value.toString())),C(X.target.value)},j=()=>{const X=$(g),V=`${g}.${v.length}`,H={id:V,pId:g,value:V,title:y};try{zh.apiPostTeddyCloudRaw("/api/dirCreate?special=library",X+"/"+y).then(q=>q.text()).then(q=>{if(q!=="OK")throw new Error(q);S([...v,H].sort((K,Z)=>K.title===Z.title?0:K.title.toLowerCase()>Z.title.toLowerCase()?1:-1)),h(V),Qe.success(e("fileBrowser.createDirectory.directoryCreated")),E(!1),C("")}).catch(q=>{Qe.error(q.message)})}catch{Qe.error("Error while creating directory")}},G=()=>{E(!1),C(""),w(!1)},J=b.jsxs(Sn,{title:e("fileBrowser.createDirectory.modalTitle"),open:_,onCancel:G,onOk:j,okText:e("fileBrowser.createDirectory.create"),cancelText:e("fileBrowser.createDirectory.cancel"),okButtonProps:{disabled:R},children:[b.jsxs("p",{children:[e("fileBrowser.createDirectory.inDirectory")," ",b.jsxs("b",{children:[$(g),"/"]})]}),b.jsx(Xt.Item,{validateStatus:R?"error":"",help:R?e("inputValidator.invalidCharactersDetected",{invalidChar:Mf}):"",required:!0,children:b.jsx(en,{ref:I,autoFocus:!0,placeholder:e("fileBrowser.createDirectory.placeholder"),value:y,status:R?"error":"",onChange:U})})]}),Y=X=>{const V=X.target.value;x(!qu(V)),m(V)};return b.jsxs(b.Fragment,{children:[r,b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.encoder.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonies.encoder.title")}),b.jsxs(Na,{direction:"vertical",style:{display:"flex"},children:[b.jsx(fae,{sensors:[k],onDragEnd:P,children:b.jsx(_ae,{items:o.map(X=>X.uid),strategy:gae,disabled:l,children:b.jsxs(bg.Dragger,{...D,disabled:l,children:[b.jsx("p",{className:"ant-upload-drag-icon",children:b.jsx(jk,{})}),b.jsx("p",{className:"ant-upload-text",children:e("tonies.encoder.uploadText",{maxFiles:Hh})}),b.jsx("p",{className:"ant-upload-hint",children:e("tonies.encoder.uploadHint")})]})})}),o.length>0?b.jsxs(b.Fragment,{children:[b.jsxs(Na,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-start",flexWrap:"wrap"},children:[b.jsx(Rt,{type:"default",disabled:l,onClick:F,children:e("tonies.encoder.sortAlphabetically")}),b.jsx(Rt,{type:"default",disabled:l,style:{marginRight:16},onClick:B,children:e("tonies.encoder.clearList")})]}),b.jsx(Qr,{}),b.jsx("div",{style:{width:"100%"},className:"encoder",children:b.jsxs(Na,{direction:"vertical",style:{width:"100%"},children:[b.jsxs(Na.Compact,{direction:"horizontal",style:{width:"100%",display:"flex",alignItems:"flex-end",justifyContent:"flex-end"},children:[b.jsx(en,{type:"text",style:{maxWidth:180,borderTopRightRadius:0,borderBottomRightRadius:0},disabled:!0,value:e("tonies.encoder.saveAs")}),b.jsx(Dl,{treeLine:!0,treeDataSimpleMode:!0,disabled:l,style:{maxWidth:250},value:g,dropdownStyle:{maxHeight:400,overflow:"auto"},onChange:h,loadData:L,treeData:v}),b.jsx(Jt,{title:e("fileBrowser.createDirectory.createDirectory"),children:b.jsx(Rt,{disabled:l,icon:b.jsx(TD,{}),onClick:z,style:{borderRadius:0}})}),b.jsx(en,{addonAfter:".taf",required:!0,defaultValue:f,style:{maxWidth:300},status:o.length>0&&f===""||T?"error":"",onChange:Y,disabled:l})]}),T?b.jsx("div",{style:{textAlign:"end",color:t.colorErrorText},children:e("inputValidator.invalidCharactersDetected",{invalidChar:Mf})}):"",b.jsx(Na.Compact,{style:{display:"flex",justifyContent:"flex-end",marginTop:"8px"},children:b.jsx(Rt,{type:"primary",onClick:A,disabled:o.length===0||f===""||T,loading:l,children:e(l?d?"tonies.encoder.processing":"tonies.encoder.uploading":"tonies.encoder.upload")})})]})})]}):b.jsx(b.Fragment,{})]})]})]}),J]})},{Paragraph:FZe}=wn,BZe=()=>{const{t:e}=$t(),[t,n]=c.useState(!1),r=a=>{console.log("Received values of form: ",a),n(!1)};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Gi,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Gi,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonies.navigationTitle")},{title:e("tonies.tap.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonies.tap.title")}),b.jsx(Xn,{message:e("settings.information"),description:b.jsx("div",{children:"Development still in progress - Please be patient or support implementation of this feature!"}),type:"info",showIcon:!0,style:{marginBottom:8}}),b.jsx(p2,{special:"library",filetypeFilter:[".tap"],showColumns:["picture","name","size","date","controls"],isTapList:!0}),b.jsx(FZe,{children:b.jsxs("div",{children:[b.jsx(Rt,{type:"primary",style:{marginTop:8},onClick:()=>{n(!0)},children:e("tonies.tapEditor.titleCreate")}),b.jsx(Kre,{open:t,onCreate:r,onCancel:()=>{n(!1)}})]})})]})]})]})},Gh=new xn(vn()),UZe=({overlay:e})=>{var d;const[t,n]=c.useState(),{t:r}=$t(),[a,i]=c.useState(""),[o,s]=c.useState(!1);c.useEffect(()=>{(async()=>{try{const f=await Gh.apiGetTeddyCloudSettingRaw("core.settings_level");if(!f.ok)throw new Error(`HTTP error! status: ${f.status}`);const m=await f.json();i(m.toString())}catch(f){console.error("Error fetching settings level: ",f)}})()},[]),c.useEffect(()=>{(async()=>{var m,g;s(!0);const f=await Gh.apiGetIndexGet(e);(m=f==null?void 0:f.options)!=null&&m.length&&((g=f==null?void 0:f.options)==null?void 0:g.length)>0&&n(f),s(!1)})()},[e,a]);const l=async()=>{try{await Gh.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},u=async p=>{try{await Gh.apiPostTeddyCloudSetting("core.settings_level",p),l(),i(p)}catch{Qe.error("Error while sending data to server.")}};return b.jsxs(b.Fragment,{children:[b.jsx(Xn,{message:r("settings.warning"),description:b.jsx("div",{children:r("settings.warningHint")}),type:"warning",showIcon:!0,style:{margin:"8px"}}),b.jsx(Qr,{children:r("settings.title")}),b.jsx(Jne,{initialValues:{test:"test"},onSubmit:p=>{},children:b.jsx(Xt,{labelCol:{span:8},wrapperCol:{span:14},layout:"horizontal",children:(d=t==null?void 0:t.options)==null?void 0:d.map((p,f,m)=>{if(p.iD.includes("core.settings_level")||!p.iD.includes("core.certdir")&&!p.iD.includes("core.client_cert.")&&!p.iD.includes("core.flex_")&&!p.iD.includes("core.contentdir")&&!p.iD.includes("toniebox.")&&!p.iD.includes("cloud.enabled")&&!p.iD.includes("cloud.enableV1Claim")&&!p.iD.includes("cloud.enableV1CloudReset")&&!p.iD.includes("cloud.enableV1FreshnessCheck")&&!p.iD.includes("cloud.enableV1Log")&&!p.iD.includes("cloud.enableV1Time")&&!p.iD.includes("cloud.enableV1Ota")&&!p.iD.includes("cloud.enableV2Content")&&!p.iD.includes("cloud.cacheOta")&&!p.iD.includes("cloud.localOta")&&!p.iD.includes("cloud.cacheContent")&&!p.iD.includes("cloud.cacheToLibrary")&&!p.iD.includes("cloud.markCustomTagByPass")&&!p.iD.includes("cloud.prioCustomContent")&&!p.iD.includes("cloud.updateOnLowerAudioId")&&!p.iD.includes("cloud.dumpRuidAuthContentJson"))return null;const g=p.iD.split("."),h=m[f-1]?m[f-1].iD.split("."):[];return b.jsxs(ce.Fragment,{children:[g.slice(0,-1).map((v,S)=>h[S]!==v?S===0?b.jsxs("h3",{style:{marginLeft:`${S*20}px`,marginBottom:"10px"},children:["Category ",v]},`category-${v}`):b.jsxs("h4",{style:{marginLeft:`${S*10}px`,marginTop:"10px",marginBottom:"10px"},children:[".",v]},`category-${v}`):null),b.jsx(ere,{option:p,overlayId:e},`option-item-${p.iD}`)]},`option-${p.iD}`)})})}),b.jsx(Qr,{children:r("settings.levelLabel")}),b.jsxs(di.Group,{value:a,onChange:p=>u(p.target.value),style:{display:"flex",justifyContent:"center",marginTop:8},disabled:o,children:[b.jsx(di.Button,{value:"1",children:"Basic"}),b.jsx(di.Button,{value:"2",children:"Detail"}),b.jsx(di.Button,{value:"3",children:"Expert"})]})]})},D9=new xn(vn());function yae(){const[e,t]=c.useState([]);return c.useEffect(()=>{async function n(){var r=[];try{const o=await(await D9.apiGetTeddyCloudApiRaw("/api/tonieboxesJson")).json();r=[...r,...o]}catch(i){console.error("Error fetching and transforming toniebox data:",i)}try{const o=await(await D9.apiGetTeddyCloudApiRaw("/api/tonieboxesCustomJson")).json();r=[...r,...o]}catch(i){console.error("Error fetching and transforming custom toniebox data:",i)}const a=r.map(i=>({id:i.id,name:i.name,img_src:i.img_src,crop:i.crop||null}));t(a)}n()},[]),e}const ha=new xn(vn()),{Paragraph:zN,Text:jZe}=wn,{Meta:zZe}=tp,{useToken:HZe}=Xa,GZe=({tonieboxCard:e,tonieboxImages:t})=>{var Ie,xe,ke,rt,Me;const{t:n}=$t(),{token:r}=HZe(),[a,i]=Qe.useMessage(),[o,s]=c.useState(!1),[l,u]=c.useState(""),[d,p]=c.useState(""),[f,m]=c.useState(""),[g,h]=c.useState(!1),[v,S]=c.useState(null),[_,E]=c.useState(),[y,C]=c.useState(!1),[T,x]=c.useState(!1),[R,w]=c.useState(!1),[I,O]=c.useState(e.boxModel),[k,P]=c.useState(e.boxModel),[M,N]=c.useState(e.boxName),[A,D]=c.useState(e.boxName),[L,$]=c.useState(null),[F,B]=c.useState(!1),[z,U]=c.useState(!0),[j,G]=c.useState(0);c.useEffect(()=>{(async()=>{const De=await ha.apiGetTonieboxApiAccess(e.ID);U(De)})()},[e.ID,y]),c.useEffect(()=>{(async()=>{const He=await ha.apiGetTonieboxStatus(e.ID);s(He)})(),(async()=>{const He=await ha.apiGetTonieboxVersion(e.ID),ze={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};if(He in ze){const Xe=ze[He];u(Xe)}else u("UNKNOWN")})(),(async()=>{const He=await ha.apiGetTonieboxLastRUID(e.ID);if(He!=="ffffffffffffffff"&&He!==""){const ze=await ha.apiGetTonieboxLastRUIDTime(e.ID);(async()=>{const Be=await ha.apiGetTagIndex(e.ID);V(Be.filter(Je=>Je.ruid===He),ze)})()}})(),o||(async()=>{const ze=await ha.apiGetLastOnline(e.ID);p(ze)})(),(async()=>{const ze=await(await ha.apiGetTeddyCloudSettingRaw("internal.ip",e.ID)).text();m(ze)})(),X(e.boxModel),P(e.boxModel)},[e.ID,e.boxModel]),c.useEffect(()=>{if(f&&l==="CC3200")try{fetch(`http://${f}/api/ajax?cmd=box-battery&sub=stats`).then(Ce=>Ce.text()).then(Ce=>{console.log("Battery Stats fetched --> assume CFW active"),h(!0)}).catch(Ce=>{console.log("No Battery Stats fetched --> assume CFW not active"),h(!1)})}catch{console.log("No Battery Stats fetched --> assume CFW not active"),h(!1)}},[f,l]);const J=yae(),Y=[{label:n("tonieboxes.editModelModal.unsetBoxName"),value:"-1"}].concat(J.map(Ce=>({label:Ce.name,value:Ce.id}))),X=Ce=>{const De=t.find(Ue=>Ue.id===Ce);$(De?b.jsx("img",{src:De.img_src,alt:"",style:{...re(Ce),position:"absolute",top:"0",left:"0"}}):b.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"}}))},V=(Ce,De)=>{S(b.jsx(b.Fragment,{children:b.jsx(wt,{to:"/tonies?tonieRUID="+Ce[0].ruid+"&overlay="+e.ID,children:b.jsx(Jt,{placement:"top",zIndex:2,title:n("tonieboxes.lastPlayedTonie")+Ce[0].tonieInfo.series+(Ce[0].tonieInfo.episode?" - "+Ce[0].tonieInfo.episode:"")+(De?" ("+De+")":""),children:b.jsx("img",{src:Ce[0].tonieInfo.picture,alt:"Tonie",style:{position:"absolute",bottom:0,right:0,zIndex:1,padding:8,borderRadius:4,height:"60%"}})})})}))},H=()=>{(async()=>{var Ue,Ye;const De=await ha.apiGetIndexGet(e.ID);(Ue=De==null?void 0:De.options)!=null&&Ue.length&&((Ye=De==null?void 0:De.options)==null?void 0:Ye.length)>0&&E(De)})(),q()},q=()=>{x(!0)},K=async()=>{x(!1)},Z=()=>{x(!1)},te=()=>{C(!0)},se=async()=>{C(!1)},ue=()=>{C(!1)},me=()=>{G(Ce=>Ce+1),te()},de=()=>{P(k===void 0?I:k),w(!0)},Te=()=>{P(I),D(A),N(A),w(!1)},Ee=async()=>{X(k),O(k);const Ce=async()=>{await ha.apiTriggerWriteConfigGet()};try{ha.apiPostTeddyCloudSetting("boxModel",k,e.ID).then(()=>{Ce()}).catch(De=>{Qe.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),Qe.success(n("tonieboxes.editModelModal.successOnModelChange"))}catch(De){Qe.error(n("tonieboxes.editModelModal.errorOnModelChange",{error:De}))}},ge=async()=>{D(M);const Ce=async()=>{await ha.apiTriggerWriteConfigGet()};try{ha.apiPostTeddyCloudSetting("boxName",M.toString(),e.ID).then(()=>{Ce()}).catch(De=>{Qe.error(n("tonieboxes.editModelModal.errorWhileSavingConfig"))}),Qe.success(n("tonieboxes.editModelModal.successOnNameChange"))}catch(De){Qe.error(n("tonieboxes.editModelModal.errorOnNameChange",{error:De}))}},re=Ce=>{const De=t.find(Ue=>Ue.id===Ce);if(De&&De.crop){const[Ue,Ye,He]=De.crop;return{width:"100%",height:"auto",transform:`scale(${He}) translateX(${Ue}px) translateY(${Ye}px)`}}else return{width:"100%",height:"auto"}},ne=()=>e.ID.replace(/(.{2})(?=.)/g,"$1:"),ae=async()=>{w(!1),M!==A&&ge(),I!==k&&Ee()},le=b.jsx(b.Fragment,{children:b.jsxs(Rt,{type:"primary",onClick:ae,disabled:M===A&&I===k,children:[b.jsx(Fee,{},"saveClick")," ",n("tonies.editModal.save")]})}),pe=b.jsxs(Sn,{title:b.jsx(b.Fragment,{children:b.jsxs("h3",{children:[n("tonieboxes.editModelModal.editModel",{name:e.boxName}),b.jsx("br",{}),b.jsx(jZe,{type:"secondary",children:(l!=="UNKNOWN"?l:"MAC")+": "+ne()})]})}),open:R,footer:le,onCancel:Te,children:[b.jsx(Qr,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.name")}),b.jsx(zN,{children:b.jsx(en,{name:"boxName",value:M,onChange:Ce=>N(Ce.target.value),addonBefore:b.jsx(na,{onClick:()=>N(A),style:{color:M===A?r.colorTextDisabled:r.colorText,cursor:M===A?"default":"pointer"}})})}),b.jsx(Qr,{orientation:"left",orientationMargin:"0",children:n("tonieboxes.editModelModal.model")}),b.jsx(zN,{children:b.jsx($r,{options:Y,value:k,onChange:Ce=>P(Ce)})})]}),Re=b.jsxs(Sn,{title:n("tonieboxes.uploadTonieboxCertificatesModal.uploadTonieboxCertificates",{name:e.boxName}),open:T,onOk:K,onCancel:Z,children:[b.jsxs(zN,{children:[n("tonieboxes.uploadTonieboxCertificatesModal.uploadPath")," ",b.jsx("i",{children:(xe=(Ie=_==null?void 0:_.options)==null?void 0:Ie.find(Ce=>Ce.iD==="core.certdir"))==null?void 0:xe.value})," ",b.jsx("small",{children:(rt=(ke=_==null?void 0:_.options)==null?void 0:ke.find(Ce=>Ce.iD==="core.certdir"))!=null&&rt.overlayed?n("tonieboxes.uploadTonieboxCertificatesModal.boxSpecific"):n("tonieboxes.uploadTonieboxCertificatesModal.AttentionGeneralPath")})]}),b.jsx(Wre,{overlay:e.ID})]}),Se=b.jsx(Sn,{title:n("tonieboxes.editTonieboxSettingsModal.editTonieboxSettings",{name:e.boxName}),width:"auto",open:y,onOk:se,onCancel:ue,children:b.jsx(UZe,{overlay:e.ID},j)}),Pe=()=>{try{a.open({type:"loading",content:n("tonieboxes.messages.deleting"),duration:0}),ha.apiPostTeddyCloudSetting("removeOverlay",null,e.ID).then(Ce=>Ce.text()).then(Ce=>{a.destroy(),Ce==="OK"?(a.open({type:"success",content:n("tonieboxes.messages.deleteSuccessful")}),window.location.reload()):a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})}).catch(Ce=>{a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})})}catch(Ce){a.destroy(),a.open({type:"error",content:n("tonieboxes.messages.deleteFailed")+Ce})}},fe=()=>{B(!0)},ve=()=>{Pe(),B(!1)},Ae=()=>{B(!1)},ye=b.jsx(kd,{title:n("tonieboxes.confirmDeleteModal"),open:F,okText:n("tonieboxes.delete"),cancelText:n("tonieboxes.cancel"),content:n("tonieboxes.confirmDeleteDialog",{tonieboxToDelete:A}),handleOk:ve,handleCancel:Ae}),be=async()=>{try{await ha.apiTriggerWriteConfigGet()}catch{Qe.error("Error while saving config to file.")}},Ne=async()=>{try{ha.apiPostTeddyCloudSetting("toniebox.api_access",!z,e.ID).then(()=>{be(),U(!z),z?Qe.success(n("tonieboxes.messages.apiAccessDisabled")):Qe.success(n("tonieboxes.messages.apiAccessEnabled"))}).catch(Ce=>{throw new Error(Ce.status+" "+Ce.statusText)})}catch(Ce){Qe.error(n("tonieboxes.messages.apiAccessNotChangedError")+Ce)}};return b.jsxs(b.Fragment,{children:[i,b.jsx(tp,{hoverable:!1,size:"default",style:{background:r.colorBgContainerDisabled,cursor:"default"},title:b.jsx("span",{children:A}),cover:b.jsxs("div",{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},children:[v,b.jsx("img",{src:(Me=t.find(Ce=>Ce.id==="03-0009"))==null?void 0:Me.img_src,alt:"",style:{position:"relative",filter:"opacity(0)",width:"100%",height:"auto"}}),L]}),actions:[b.jsx(b.Fragment,{children:z?o?b.jsx(Jt,{title:n("tonieboxes.online"),children:b.jsx(xD,{style:{color:"green",cursor:"default"}})}):b.jsx(Jt,{title:n("tonieboxes.offline")+(d?" - "+n("tonieboxes.lastOnline")+": "+d:""),children:b.jsx(xD,{style:{color:r.colorTextDescription,cursor:"default"}})}):b.jsx(Jt,{title:n("tonieboxes.accessApiDisabled"),children:b.jsx(h1e,{style:{color:"red",cursor:"pointer"},onClick:Ne})})}),b.jsx(Sm,{onClick:()=>de()},"edit"),b.jsx(zk,{style:{marginRight:8},onClick:H},"certificate"),b.jsx(Hk,{style:{marginRight:8},onClick:me},"edit"),b.jsx(Rd,{style:{marginRight:8},onClick:fe},"delete")],children:b.jsx(zZe,{description:[(l!=="UNKNOWN"&&l!==void 0&&l!==null?l:"MAC")+" ",g?b.jsx(Jt,{title:n("tonieboxes.linkToBoxCFW"),children:b.jsxs(wt,{to:"http://"+f,target:"_blank",children:[ne()," ",b.jsx(f1e,{})]})}):ne()]})}),Se,Re,pe,ye]})},VZe=({tonieboxCards:e})=>{const[t,n]=c.useState(!0),r=yae();return r.length===0&&t?b.jsx("div",{children:"Loading..."}):b.jsx(vl,{grid:{gutter:16,xs:1,sm:2,md:2,lg:3,xl:3,xxl:4},dataSource:e,renderItem:a=>b.jsx(vl.Item,{id:a.ID,children:b.jsx(GZe,{tonieboxCard:a,tonieboxImages:r})})})},qZe=()=>b.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:b.jsxs("g",{transform:"translate(0.000000,900.000000) scale(0.100000,-0.100000)",fill:"currentColor",stroke:"none",children:[b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"}),b.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"})]})}),Ta=()=>{const{t:e}=$t(),t=Vo(),[n,r]=c.useState([]),a=o=>{const s=[];o.includes("/tonieboxes/boxsetup")&&(s.push("boxsetup"),o.includes("/tonieboxes/boxsetup/esp32")?s.push("esp32"):o.includes("/tonieboxes/boxsetup/cc3200")?s.push("cc3200"):o.includes("/tonieboxes/boxsetup/cc3235")&&s.push("cc3235")),r(l=>Array.from(new Set([...l,...s])))};c.useEffect(()=>{a(t.pathname)},[t.pathname]);const i=[{key:"tonieboxes",label:b.jsx(wt,{to:"/tonieboxes",style:{marginLeft:8},children:e("tonieboxes.navigationTitle")}),icon:ce.createElement(qZe),title:e("tonieboxes.navigationTitle")},{key:"identifyboxversion",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/identifyboxversion",children:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}),icon:ce.createElement(Gb),title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")},{key:"openbox",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}),icon:ce.createElement($ee),title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")},{key:"esp32boxflashing",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/esp32/flashing",children:e("tonieboxes.esp32BoxFlashing.navigationTitle")}),icon:ce.createElement(wy),title:e("tonieboxes.esp32BoxFlashing.navigationTitle")},{key:"cc3200boxflashing",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/cc3200/flashing",children:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}),icon:ce.createElement(wy),title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")},{key:"cc3235boxflashing",label:b.jsx(wt,{to:"/tonieboxes/boxsetup/cc3235/flashing",children:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}),icon:ce.createElement(wy),title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}];return b.jsx(yg,{mode:"inline",defaultOpenKeys:["boxsetup"],selectedKeys:[],items:i})},M9=new xn(vn()),WZe=()=>{const{t:e}=$t(),[t,n]=c.useState([]),[r,a]=c.useState(!1);c.useEffect(()=>{(async()=>{const l=await M9.apiGetTonieboxesIndex();n(l)})(),(async()=>{try{const l=await M9.apiGetNewBoxesAllowed();a(l)}catch(l){Qe.error("Fetching new box allowed: "+l)}})()},[]);const i=r?b.jsx(Xn,{message:e("tonieboxes.newBoxesAllowed"),description:e("tonieboxes.newBoxesAllowedText"),type:"warning",showIcon:!0,style:{margin:"16px 0"}}):"";return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.title")}),i,b.jsx(VZe,{tonieboxCards:t})]})]})]})},Ya=()=>{const{t:e}=$t(),[t,n]=c.useState([]),r=o=>{const s=[];o.includes("/contribution")&&s.push("contribution"),n(l=>Array.from(new Set([...l,...s])))};c.useEffect(()=>{r(location.pathname)},[location.pathname]);const a=o=>{const s=o.find(u=>!t.includes(u)),l=t.find(u=>!o.includes(u));s?n(u=>[...u,s]):l&&n(u=>u.filter(d=>d!==l))},i=[{key:"community",label:b.jsx(wt,{to:"/community",children:e("community.navigationTitle")}),icon:ce.createElement(u1e),title:e("community.navigationTitle")},{key:"faq",label:b.jsx(wt,{to:"/community/faq",children:e("community.faq.navigationTitle")}),icon:ce.createElement(uee),title:e("community.faq.navigationTitle")},{key:"contribution",label:b.jsx(wt,{to:"/community/contribution",style:{color:"currentColor"},children:e("community.contribution.navigationTitle")}),icon:ce.createElement(cNe),title:e("community.contribution.navigationTitle"),children:[{key:"toniesJson",label:b.jsx(wt,{to:"/community/contribution/tonies-json",children:e("community.contribution.toniesJson.navigationTitle")}),icon:ce.createElement(gRe),title:e("community.contribution.toniesJson.navigationTitle")},{key:"translation",label:b.jsx(wt,{to:"/community/contribution/translations",children:e("community.translations.navigationTitle")}),icon:ce.createElement(Pee),title:e("community.translations.navigationTitle")}]},{key:"contributors",label:b.jsx(wt,{to:"/community/contributors",children:e("community.contributors.navigationTitle")}),icon:ce.createElement(MNe),title:e("community.contributors.navigationTitle")},{key:"changelog",label:b.jsx(wt,{to:"/community/changelog",children:e("community.changelog.navigationTitle")}),icon:ce.createElement(SOe),title:e("community.changelog.navigationTitle")},{key:"Forum",label:b.jsx(wt,{to:"https://forum.revvox.de/",target:"_blank",children:e("community.forum.navigationTitle")}),icon:ce.createElement(QOe),title:e("community.forum.navigationTitle")}];return b.jsx(yg,{mode:"inline",defaultOpenKeys:["sub"],openKeys:t,selectedKeys:[],onOpenChange:a,items:i})},{Paragraph:L9}=wn,YZe=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.title")}),b.jsxs(L9,{children:[b.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."]}),b.jsxs(L9,{children:["Your best points of contact are the following locations",b.jsxs("ul",{children:[b.jsxs("li",{children:[b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering",target:"_blank",children:"GitHub"}),b.jsx("ul",{children:b.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."})})]}),b.jsxs("li",{children:[b.jsx(wt,{to:"https://t.me/toniebox_reverse_engineering",target:"_blank",children:"Telegram Chat"}),b.jsx("ul",{children:b.jsx("li",{children:"The first level support if you need help or if you are interested in getting involved in the development of TeddyCloud."})})]}),b.jsxs("li",{children:[b.jsx(wt,{to:"https://forum.revvox.de/",target:"_blank",children:"Discourse Forum"}),b.jsx("ul",{children:b.jsx("li",{children:"The lively knowledge base for the project, a place to ask questions whose answers can be helpful for others."})})]}),b.jsxs("li",{children:[b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/",target:"_blank",children:"TeddyCloud Wiki"}),b.jsx("ul",{children:b.jsx("li",{children:"A Wiki contains, among other things, how to install TeddyCloud and how to solve possible problems."})})]})]})]})]})]})]})},{Paragraph:bu}=wn,KZe=()=>{const{t:e}=$t(),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 b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.contribution.title")}),b.jsxs(bu,{children:[b.jsx(bu,{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!"}),b.jsxs(bu,{children:[b.jsx("h2",{children:"Community values"}),b.jsx(bu,{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."}),b.jsx(bu,{children:"Examples of behaviors that contribute to creating a positive environment include:"}),b.jsx("ul",{children:t.map((r,a)=>b.jsx("li",{children:r},a))})]}),b.jsxs(bu,{children:[b.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.",b.jsx("ul",{children:n.map((r,a)=>b.jsx("li",{children:r},a))})]})]})]})]})]})},XZe=new xn(vn()),{Paragraph:k9}=wn,{Panel:QZe}=xd,ZZe=()=>{const{t:e}=$t(),[t,n]=c.useState({});return c.useEffect(()=>{async function r(){try{const s=(await(await XZe.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})),l={};s.forEach(u=>{l[u.language]||(l[u.language]=[]),l[u.language].push(u)}),n(l)}catch(a){console.error("Error fetching and transforming data:",a)}}r()},[]),b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contribution.navigationTitle")},{title:e("community.contribution.toniesJson.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.contribution.toniesJson.title")}),b.jsx(k9,{children:e("community.contribution.toniesJson.text")}),b.jsx(k9,{children:b.jsx(xd,{accordion:!0,children:Object.keys(t).map((r,a)=>b.jsx(QZe,{header:r,children:b.jsx(vl,{children:Array.isArray(t[r])&&t[r].map((i,o)=>b.jsx(vl.Item,{id:i.model,children:b.jsxs("div",{children:[b.jsx("img",{src:i.pic,alt:"",style:{width:"100px",height:"auto"}}),i.model," - ",i.series," -"," ",i.episodes]})},o))})},a))})})]})]})]})},{Paragraph:Hp}=wn,JZe=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.contributors.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.contributors.title")}),b.jsxs(Hp,{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:",b.jsxs(Hp,{children:[b.jsx("h3",{children:"teddycloud"}),b.jsx("div",{children:"The most neccessary, but mostly invisible part of your TeddyCloud Server."}),b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud/graphs/contributors"})]}),b.jsxs(Hp,{children:[b.jsx("h3",{children:"teddycloud_web"}),b.jsx("div",{children:"Which is actually this frontend you are using and seeing here."}),b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors",target:"_blank",children:"https://github.com/toniebox-reverse-engineering/teddycloud_web/graphs/contributors"})]}),b.jsxs(Hp,{children:["You can find more contributors to the entire topic complex in the other GitHub repositories at"," ",b.jsx(wt,{to:"https://github.com/orgs/toniebox-reverse-engineering/repositories",target:"_blank",children:"https://github.com/orgs/toniebox-reverse-engineering/repositories"})]})]}),b.jsx(Na,{}),b.jsxs(Hp,{children:[b.jsx("div",{style:{marginBottom:24},children:"A big round of applause for them!"}),b.jsx(r2,{maxNoOfGuests:100,toniesSize:150,showQuestionMark:!1,height:150})]})]})]})]})},{Paragraph:P9,Text:HN}=wn,eJe=()=>{const{t:e}=$t(),t=[{version:"0.6.2",changes:["Stabilization backend","Provide TrackSeconds for Frontend https://github.com/toniebox-reverse-engineering/teddycloud/issues/187","Fixed bug no update of model in content.json if empty https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Added web_version.json for consistency checks, including new setting frontend.ignore_web_version_mismatch","Added frontend setting frontend.confirm_audioplayer_close","Fixed some bugs","gui: Next button in audio player now jumps according tracks of taf","gui: Show error if something went wrong while encoding new taf (Audio Encoder)","gui: Added translation overview page in community contribution section","gui: Improved Audio Encoder, leave selected target folder till reload of page, if only one file is added, take filename as preset for taf filename https://github.com/toniebox-reverse-engineering/teddycloud/issues/223","gui: Fixed filterbug in FileBrowser Component (List + Select) https://github.com/toniebox-reverse-engineering/teddycloud/issues/224","gui: Show warning if web_version of gui does not match expected web_version from backend","gui: Show warning if ogg/opus (taf) is not supported by browser","gui: Extended CC3200 Firmware flash section, added custom alt Url Patch generation. https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/126","gui: Extended CC3200 Firmware flash section, extended Applying Patches step","gui: Added Box version identification page https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/145","gui: Integrated frontend.confirm_audioplayer_close","gui: Added Open Toniebox guide page (first version) https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/146"],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.1...tc_v0.6.2","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.1...tcw_v0.6.2"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-2/773",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.2"},{version:"0.6.1",changes:["Stabilization backend","Changed default for setting cloud.prioCustomContent to false","Disabled prioCustomContent if lower audio id is allowed","Added reload tonies(.custom).json api https://github.com/toniebox-reverse-engineering/teddycloud/issues/177","Added moveFile api https://github.com/toniebox-reverse-engineering/teddycloud/issues/198","Added server side taf file encoding","Support TAF files in taps and server side taf file encoding","Added API to extract certificates https://github.com/toniebox-reverse-engineering/teddycloud/issues/103","Initial cert generation generates now a 4096bit long cert https://github.com/toniebox-reverse-engineering/teddycloud/issues/138","Extended settings api","Fixed bug updating empty model information if entry was added in tonies.json https://github.com/toniebox-reverse-engineering/teddycloud/issues/215","Fixed some bugs","gui: Fixed bug storing source with html special chars","gui: Fixed bug saving model and source of a tonie/tag at once","gui: Fixed display bug sourceInfo with unknown content","gui: Integrated new reload tonies.json api","gui: Added Moving and renaming of files in library and content","gui: Fixing security weaknesses","gui: Added file upload to library",`gui: If setting "Category frontend: Split content / model" is disabled, don't show the source info in Tonies list and details modal`,"gui: Added encoding functionality in library","gui: Allow playing all encodable files in teddyCloud","gui: ESP32 flash process - integrated remaining manual steps. Certificate extraction is now also automated","gui: Fixed bug tonieboxes if tonieboxes.custom.json was empty or not available https://github.com/toniebox-reverse-engineering/teddycloud_web/issues/133","gui: Added Spanish language - feel free to improve translations as current translation is completely done by ChatGPT."],commits:["https://github.com/toniebox-reverse-engineering/teddycloud/compare/tc_v0.6.0...tc_v0.6.1","https://github.com/toniebox-reverse-engineering/teddycloud_web/compare/tcw_v0.6.0...tcw_v0.6.1"],discussionLink:"https://forum.revvox.de/t/release-notes-0-6-1/701",githubReleaseLink:"https://github.com/toniebox-reverse-engineering/teddycloud/releases/tag/tc_v0.6.1"},{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((o,s)=>a.test(o)?b.jsx(wt,{to:o,target:"_blank",rel:"noopener noreferrer",children:o},s):o)};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.changelog.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.changelog.title")}),b.jsx(P9,{children:b.jsx(vl,{dataSource:t,renderItem:r=>b.jsxs(b.Fragment,{children:[b.jsxs("h2",{children:["Version ",r.version]}),b.jsxs(P9,{children:[b.jsx("h3",{children:"Changes"}),b.jsx("ul",{children:r.changes.map((a,i)=>b.jsx("li",{children:n(a)},i))})]}),r.commits&&r.commits.length>0&&b.jsxs(b.Fragment,{children:[b.jsx(HN,{strong:!0,children:"All contained commits can be found here (teddy cloud repo):"}),b.jsx("ul",{children:r.commits.map((a,i)=>b.jsx("li",{children:b.jsx(wt,{to:a,target:"_blank",children:a})},i))})]}),r.discussionLink&&b.jsxs(b.Fragment,{children:[b.jsx(HN,{strong:!0,children:"Discussion:"}),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:r.discussionLink,target:"_blank",children:r.discussionLink})})})]}),r.githubReleaseLink&&b.jsxs(b.Fragment,{children:[b.jsx(HN,{strong:!0,children:"GitHub Release:"}),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:r.githubReleaseLink,target:"_blank",children:r.githubReleaseLink})})})]})]})})})]})]})]})};class wa extends Error{}/*! pako 2.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const tJe=4,$9=0,F9=1,nJe=2;function mp(e){let t=e.length;for(;--t>=0;)e[t]=0}const rJe=0,Cae=1,aJe=2,iJe=3,oJe=258,f2=29,Ag=256,Mm=Ag+1+f2,od=30,m2=19,Tae=2*Mm+1,oc=15,GN=16,sJe=7,g2=256,xae=16,Rae=17,wae=18,pM=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]),Nv=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]),lJe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Iae=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),cJe=512,os=new Array((Mm+2)*2);mp(os);const Lf=new Array(od*2);mp(Lf);const Lm=new Array(cJe);mp(Lm);const km=new Array(oJe-iJe+1);mp(km);const h2=new Array(f2);mp(h2);const G_=new Array(od);mp(G_);function VN(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 Oae,Nae,Aae;function qN(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}const Dae=e=>e<256?Lm[e]:Lm[256+(e>>>7)],Pm=(e,t)=>{e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255},Ha=(e,t,n)=>{e.bi_valid>GN-n?(e.bi_buf|=t<>GN-e.bi_valid,e.bi_valid+=n-GN):(e.bi_buf|=t<{Ha(e,n[t*2],n[t*2+1])},Mae=(e,t)=>{let n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1},uJe=e=>{e.bi_valid===16?(Pm(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)},dJe=(e,t)=>{const n=t.dyn_tree,r=t.max_code,a=t.stat_desc.static_tree,i=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,l=t.stat_desc.max_length;let u,d,p,f,m,g,h=0;for(f=0;f<=oc;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,u=e.heap_max+1;ul&&(f=l,h++),n[d*2+1]=f,!(d>r)&&(e.bl_count[f]++,m=0,d>=s&&(m=o[d-s]),g=n[d*2],e.opt_len+=g*(f+m),i&&(e.static_len+=g*(a[d*2+1]+m)));if(h!==0){do{for(f=l-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[l]--,h-=2}while(h>0);for(f=l;f!==0;f--)for(d=e.bl_count[f];d!==0;)p=e.heap[--u],!(p>r)&&(n[p*2+1]!==f&&(e.opt_len+=(f-n[p*2+1])*n[p*2],n[p*2+1]=f),d--)}},Lae=(e,t,n)=>{const r=new Array(oc+1);let a=0,i,o;for(i=1;i<=oc;i++)a=a+n[i-1]<<1,r[i]=a;for(o=0;o<=t;o++){let s=e[o*2+1];s!==0&&(e[o*2]=Mae(r[s]++,s))}},pJe=()=>{let e,t,n,r,a;const i=new Array(oc+1);for(n=0,r=0;r>=7;r{let t;for(t=0;t{e.bi_valid>8?Pm(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},B9=(e,t,n,r)=>{const a=t*2,i=n*2;return e[a]{const r=e.heap[n];let a=n<<1;for(;a<=e.heap_len&&(a{let r,a,i=0,o,s;if(e.sym_next!==0)do r=e.pending_buf[e.sym_buf+i++]&255,r+=(e.pending_buf[e.sym_buf+i++]&255)<<8,a=e.pending_buf[e.sym_buf+i++],r===0?Ao(e,a,t):(o=km[a],Ao(e,o+Ag+1,t),s=pM[o],s!==0&&(a-=h2[o],Ha(e,a,s)),r--,o=Dae(r),Ao(e,o,n),s=Nv[o],s!==0&&(r-=G_[o],Ha(e,r,s)));while(i{const n=t.dyn_tree,r=t.stat_desc.static_tree,a=t.stat_desc.has_stree,i=t.stat_desc.elems;let o,s,l=-1,u;for(e.heap_len=0,e.heap_max=Tae,o=0;o>1;o>=1;o--)WN(e,n,o);u=i;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],WN(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[u*2]=n[o*2]+n[s*2],e.depth[u]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=u,e.heap[1]=u++,WN(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],dJe(e,t),Lae(n,l,e.bl_count)},j9=(e,t,n)=>{let r,a=-1,i,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)i=o,o=t[(r+1)*2+1],!(++s{let r,a=-1,i,o=t[0*2+1],s=0,l=7,u=4;for(o===0&&(l=138,u=3),r=0;r<=n;r++)if(i=o,o=t[(r+1)*2+1],!(++s{let t;for(j9(e,e.dyn_ltree,e.l_desc.max_code),j9(e,e.dyn_dtree,e.d_desc.max_code),fM(e,e.bl_desc),t=m2-1;t>=3&&e.bl_tree[Iae[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t},mJe=(e,t,n,r)=>{let a;for(Ha(e,t-257,5),Ha(e,n-1,5),Ha(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 $9;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return F9;for(n=32;n{H9||(pJe(),H9=!0),e.l_desc=new qN(e.dyn_ltree,Oae),e.d_desc=new qN(e.dyn_dtree,Nae),e.bl_desc=new qN(e.bl_tree,Aae),e.bi_buf=0,e.bi_valid=0,kae(e)},$ae=(e,t,n,r)=>{Ha(e,(rJe<<1)+(r?1:0),3),Pae(e),Pm(e,n),Pm(e,~n),n&&e.pending_buf.set(e.window.subarray(t,t+n),e.pending),e.pending+=n},vJe=e=>{Ha(e,Cae<<1,3),Ao(e,g2,os),uJe(e)},_Je=(e,t,n,r)=>{let a,i,o=0;e.level>0?(e.strm.data_type===nJe&&(e.strm.data_type=gJe(e)),fM(e,e.l_desc),fM(e,e.d_desc),o=fJe(e),a=e.opt_len+3+7>>>3,i=e.static_len+3+7>>>3,i<=a&&(a=i)):a=i=n+5,n+4<=a&&t!==-1?$ae(e,t,n,r):e.strategy===tJe||i===a?(Ha(e,(Cae<<1)+(r?1:0),3),U9(e,os,Lf)):(Ha(e,(aJe<<1)+(r?1:0),3),mJe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1),U9(e,e.dyn_ltree,e.dyn_dtree)),kae(e),r&&Pae(e)},bJe=(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[(km[n]+Ag+1)*2]++,e.dyn_dtree[Dae(t)*2]++),e.sym_next===e.sym_end);var SJe=hJe,EJe=$ae,yJe=_Je,CJe=bJe,TJe=vJe,xJe={_tr_init:SJe,_tr_stored_block:EJe,_tr_flush_block:yJe,_tr_tally:CJe,_tr_align:TJe};const RJe=(e,t,n,r)=>{let a=e&65535|0,i=e>>>16&65535|0,o=0;for(;n!==0;){o=n>2e3?2e3:n,n-=o;do a=a+t[r++]|0,i=i+a|0;while(--o);a%=65521,i%=65521}return a|i<<16|0};var $m=RJe;const wJe=()=>{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},IJe=new Uint32Array(wJe()),OJe=(e,t,n,r)=>{const a=IJe,i=r+n;e^=-1;for(let o=r;o>>8^a[(e^t[o])&255];return e^-1};var Wr=OJe,Lc={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"},gp={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:NJe,_tr_stored_block:mM,_tr_flush_block:AJe,_tr_tally:pl,_tr_align:DJe}=xJe,{Z_NO_FLUSH:fl,Z_PARTIAL_FLUSH:MJe,Z_FULL_FLUSH:LJe,Z_FINISH:Li,Z_BLOCK:G9,Z_OK:ca,Z_STREAM_END:V9,Z_STREAM_ERROR:$o,Z_DATA_ERROR:kJe,Z_BUF_ERROR:YN,Z_DEFAULT_COMPRESSION:PJe,Z_FILTERED:$Je,Z_HUFFMAN_ONLY:Vh,Z_RLE:FJe,Z_FIXED:BJe,Z_DEFAULT_STRATEGY:UJe,Z_UNKNOWN:jJe,Z_DEFLATED:nE}=gp,zJe=9,HJe=15,GJe=8,VJe=29,qJe=256,gM=qJe+1+VJe,WJe=30,YJe=19,KJe=2*gM+1,XJe=15,_n=3,el=258,Fo=el+_n+1,QJe=32,$d=42,v2=57,hM=69,vM=73,_M=91,bM=103,sc=113,af=666,Aa=1,hp=2,kc=3,vp=4,ZJe=3,lc=(e,t)=>(e.msg=Lc[t],t),q9=e=>e*2-(e>4?9:0),Vs=e=>{let t=e.length;for(;--t>=0;)e[t]=0},JJe=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 eet=(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))},pi=(e,t)=>{AJe(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,ii(e.strm)},On=(e,t)=>{e.pending_buf[e.pending++]=t},Gp=(e,t)=>{e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255},SM=(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=$m(e.adler,t,a,n):e.state.wrap===2&&(e.adler=Wr(e.adler,t,a,n)),e.next_in+=a,e.total_in+=a,a)},Fae=(e,t)=>{let n=e.max_chain_length,r=e.strstart,a,i,o=e.prev_length,s=e.nice_match;const l=e.strstart>e.w_size-Fo?e.strstart-(e.w_size-Fo):0,u=e.window,d=e.w_mask,p=e.prev,f=e.strstart+el;let m=u[r+o-1],g=u[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(a=t,!(u[a+o]!==g||u[a+o-1]!==m||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]&&ro){if(e.match_start=t,o=i,i>=s)break;m=u[r+o-1],g=u[r+o]}}while((t=p[t&d])>l&&--n!==0);return o<=e.lookahead?o:e.lookahead},Fd=e=>{const t=e.w_size;let n,r,a;do{if(r=e.window_size-e.lookahead-e.strstart,e.strstart>=t+(t-Fo)&&(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),JJe(e),r+=t),e.strm.avail_in===0)break;if(n=SM(e.strm,e.window,e.strstart+e.lookahead,r),e.lookahead+=n,e.lookahead+e.insert>=_n)for(a=e.strstart-e.insert,e.ins_h=e.window[a],e.ins_h=ml(e,e.ins_h,e.window[a+1]);e.insert&&(e.ins_h=ml(e,e.ins_h,e.window[a+_n-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<_n)););}while(e.lookahead{let n=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,r,a,i,o=0,s=e.strm.avail_in;do{if(r=65535,i=e.bi_valid+42>>3,e.strm.avail_outa+e.strm.avail_in&&(r=a+e.strm.avail_in),r>i&&(r=i),r>8,e.pending_buf[e.pending-2]=~r,e.pending_buf[e.pending-1]=~r>>8,ii(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&&(SM(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(o===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_wateri&&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++,i+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),i>e.strm.avail_in&&(i=e.strm.avail_in),i&&(SM(e.strm,e.window,e.strstart,i),e.strstart+=i,e.insert+=i>e.w_size-e.insert?e.w_size-e.insert:i),e.high_water>3,i=e.pending_buf_size-i>65535?65535:e.pending_buf_size-i,n=i>e.w_size?e.w_size:i,a=e.strstart-e.block_start,(a>=n||(a||t===Li)&&t!==fl&&e.strm.avail_in===0&&a<=i)&&(r=a>i?i:a,o=t===Li&&e.strm.avail_in===0&&r===a?1:0,mM(e,e.block_start,r,o),e.block_start+=r,ii(e.strm)),o?kc:Aa)},KN=(e,t)=>{let n,r;for(;;){if(e.lookahead=_n&&(e.ins_h=ml(e,e.ins_h,e.window[e.strstart+_n-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-Fo&&(e.match_length=Fae(e,n)),e.match_length>=_n)if(r=pl(e,e.strstart-e.match_start,e.match_length-_n),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=_n){e.match_length--;do e.strstart++,e.ins_h=ml(e,e.ins_h,e.window[e.strstart+_n-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=ml(e,e.ins_h,e.window[e.strstart+1]);else r=pl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=e.strstart<_n-1?e.strstart:_n-1,t===Li?(pi(e,!0),e.strm.avail_out===0?kc:vp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:hp},Su=(e,t)=>{let n,r,a;for(;;){if(e.lookahead=_n&&(e.ins_h=ml(e,e.ins_h,e.window[e.strstart+_n-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=_n-1,n!==0&&e.prev_length4096)&&(e.match_length=_n-1)),e.prev_length>=_n&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-_n,r=pl(e,e.strstart-1-e.prev_match,e.prev_length-_n),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=ml(e,e.ins_h,e.window[e.strstart+_n-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=_n-1,e.strstart++,r&&(pi(e,!1),e.strm.avail_out===0))return Aa}else if(e.match_available){if(r=pl(e,0,e.window[e.strstart-1]),r&&pi(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Aa}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=pl(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<_n-1?e.strstart:_n-1,t===Li?(pi(e,!0),e.strm.avail_out===0?kc:vp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:hp},tet=(e,t)=>{let n,r,a,i;const o=e.window;for(;;){if(e.lookahead<=el){if(Fd(e),e.lookahead<=el&&t===fl)return Aa;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=_n&&e.strstart>0&&(a=e.strstart-1,r=o[a],r===o[++a]&&r===o[++a]&&r===o[++a])){i=e.strstart+el;do;while(r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&r===o[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=_n?(n=pl(e,1,e.match_length-_n),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=pl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=0,t===Li?(pi(e,!0),e.strm.avail_out===0?kc:vp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:hp},net=(e,t)=>{let n;for(;;){if(e.lookahead===0&&(Fd(e),e.lookahead===0)){if(t===fl)return Aa;break}if(e.match_length=0,n=pl(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(pi(e,!1),e.strm.avail_out===0))return Aa}return e.insert=0,t===Li?(pi(e,!0),e.strm.avail_out===0?kc:vp):e.sym_next&&(pi(e,!1),e.strm.avail_out===0)?Aa:hp};function Co(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 of=[new Co(0,0,0,0,Bae),new Co(4,4,8,4,KN),new Co(4,5,16,8,KN),new Co(4,6,32,32,KN),new Co(4,4,16,16,Su),new Co(8,16,32,32,Su),new Co(8,16,128,128,Su),new Co(8,32,128,256,Su),new Co(32,128,258,1024,Su),new Co(32,258,258,4096,Su)],ret=e=>{e.window_size=2*e.w_size,Vs(e.head),e.max_lazy_match=of[e.level].max_lazy,e.good_match=of[e.level].good_length,e.nice_match=of[e.level].nice_length,e.max_chain_length=of[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=_n-1,e.match_available=0,e.ins_h=0};function aet(){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=nE,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(KJe*2),this.dyn_dtree=new Uint16Array((2*WJe+1)*2),this.bl_tree=new Uint16Array((2*YJe+1)*2),Vs(this.dyn_ltree),Vs(this.dyn_dtree),Vs(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(XJe+1),this.heap=new Uint16Array(2*gM+1),Vs(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*gM+1),Vs(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!==$d&&t.status!==v2&&t.status!==hM&&t.status!==vM&&t.status!==_M&&t.status!==bM&&t.status!==sc&&t.status!==af?1:0},Uae=e=>{if(Dg(e))return lc(e,$o);e.total_in=e.total_out=0,e.data_type=jJe;const t=e.state;return t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap===2?v2:t.wrap?$d:sc,e.adler=t.wrap===2?0:1,t.last_flush=-2,NJe(t),ca},jae=e=>{const t=Uae(e);return t===ca&&ret(e.state),t},iet=(e,t)=>Dg(e)||e.state.wrap!==2?$o:(e.state.gzhead=t,ca),zae=(e,t,n,r,a,i)=>{if(!e)return $o;let o=1;if(t===PJe&&(t=6),r<0?(o=0,r=-r):r>15&&(o=2,r-=16),a<1||a>zJe||n!==nE||r<8||r>15||t<0||t>9||i<0||i>BJe||r===8&&o!==1)return lc(e,$o);r===8&&(r=9);const s=new aet;return e.state=s,s.strm=e,s.status=$d,s.wrap=o,s.gzhead=null,s.w_bits=r,s.w_size=1<zae(e,t,nE,HJe,GJe,UJe),set=(e,t)=>{if(Dg(e)||t>G9||t<0)return e?lc(e,$o):$o;const n=e.state;if(!e.output||e.avail_in!==0&&!e.input||n.status===af&&t!==Li)return lc(e,e.avail_out===0?YN:$o);const r=n.last_flush;if(n.last_flush=t,n.pending!==0){if(ii(e),e.avail_out===0)return n.last_flush=-1,ca}else if(e.avail_in===0&&q9(t)<=q9(r)&&t!==Li)return lc(e,YN);if(n.status===af&&e.avail_in!==0)return lc(e,YN);if(n.status===$d&&n.wrap===0&&(n.status=sc),n.status===$d){let a=nE+(n.w_bits-8<<4)<<8,i=-1;if(n.strategy>=Vh||n.level<2?i=0:n.level<6?i=1:n.level===6?i=2:i=3,a|=i<<6,n.strstart!==0&&(a|=QJe),a+=31-a%31,Gp(n,a),n.strstart!==0&&(Gp(n,e.adler>>>16),Gp(n,e.adler&65535)),e.adler=1,n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(n.status===v2){if(e.adler=0,On(n,31),On(n,139),On(n,8),n.gzhead)On(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)),On(n,n.gzhead.time&255),On(n,n.gzhead.time>>8&255),On(n,n.gzhead.time>>16&255),On(n,n.gzhead.time>>24&255),On(n,n.level===9?2:n.strategy>=Vh||n.level<2?4:0),On(n,n.gzhead.os&255),n.gzhead.extra&&n.gzhead.extra.length&&(On(n,n.gzhead.extra.length&255),On(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=Wr(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=hM;else if(On(n,0),On(n,0),On(n,0),On(n,0),On(n,0),On(n,n.level===9?2:n.strategy>=Vh||n.level<2?4:0),On(n,ZJe),n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(n.status===hM){if(n.gzhead.extra){let a=n.pending,i=(n.gzhead.extra.length&65535)-n.gzindex;for(;n.pending+i>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=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex+=s,ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0,i-=s}let o=new Uint8Array(n.gzhead.extra);n.pending_buf.set(o.subarray(n.gzindex,n.gzindex+i),n.pending),n.pending+=i,n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=vM}if(n.status===vM){if(n.gzhead.name){let a=n.pending,i;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0}n.gzindexa&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),n.gzindex=0}n.status=_M}if(n.status===_M){if(n.gzhead.comment){let a=n.pending,i;do{if(n.pending===n.pending_buf_size){if(n.gzhead.hcrc&&n.pending>a&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a)),ii(e),n.pending!==0)return n.last_flush=-1,ca;a=0}n.gzindexa&&(e.adler=Wr(e.adler,n.pending_buf,n.pending-a,a))}n.status=bM}if(n.status===bM){if(n.gzhead.hcrc){if(n.pending+2>n.pending_buf_size&&(ii(e),n.pending!==0))return n.last_flush=-1,ca;On(n,e.adler&255),On(n,e.adler>>8&255),e.adler=0}if(n.status=sc,ii(e),n.pending!==0)return n.last_flush=-1,ca}if(e.avail_in!==0||n.lookahead!==0||t!==fl&&n.status!==af){let a=n.level===0?Bae(n,t):n.strategy===Vh?net(n,t):n.strategy===FJe?tet(n,t):of[n.level].func(n,t);if((a===kc||a===vp)&&(n.status=af),a===Aa||a===kc)return e.avail_out===0&&(n.last_flush=-1),ca;if(a===hp&&(t===MJe?DJe(n):t!==G9&&(mM(n,0,0,!1),t===LJe&&(Vs(n.head),n.lookahead===0&&(n.strstart=0,n.block_start=0,n.insert=0))),ii(e),e.avail_out===0))return n.last_flush=-1,ca}return t!==Li?ca:n.wrap<=0?V9:(n.wrap===2?(On(n,e.adler&255),On(n,e.adler>>8&255),On(n,e.adler>>16&255),On(n,e.adler>>24&255),On(n,e.total_in&255),On(n,e.total_in>>8&255),On(n,e.total_in>>16&255),On(n,e.total_in>>24&255)):(Gp(n,e.adler>>>16),Gp(n,e.adler&65535)),ii(e),n.wrap>0&&(n.wrap=-n.wrap),n.pending!==0?ca:V9)},cet=e=>{if(Dg(e))return $o;const t=e.state.status;return e.state=null,t===sc?lc(e,kJe):ca},uet=(e,t)=>{let n=t.length;if(Dg(e))return $o;const r=e.state,a=r.wrap;if(a===2||a===1&&r.status!==$d||r.lookahead)return $o;if(a===1&&(e.adler=$m(e.adler,t,n,0)),r.wrap=0,n>=r.w_size){a===0&&(Vs(r.head),r.strstart=0,r.block_start=0,r.insert=0);let l=new Uint8Array(r.w_size);l.set(t.subarray(n-r.w_size,n),0),t=l,n=r.w_size}const i=e.avail_in,o=e.next_in,s=e.input;for(e.avail_in=n,e.next_in=0,e.input=t,Fd(r);r.lookahead>=_n;){let l=r.strstart,u=r.lookahead-(_n-1);do r.ins_h=ml(r,r.ins_h,r.window[l+_n-1]),r.prev[l&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=l,l++;while(--u);r.strstart=l,r.lookahead=_n-1,Fd(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=_n-1,r.match_available=0,e.next_in=o,e.input=s,e.avail_in=i,r.wrap=a,ca};var det=oet,pet=zae,fet=jae,met=Uae,get=iet,het=set,vet=cet,_et=uet,bet="pako deflate (from Nodeca project)",kf={deflateInit:det,deflateInit2:pet,deflateReset:fet,deflateResetKeep:met,deflateSetHeader:get,deflate:het,deflateEnd:vet,deflateSetDictionary:_et,deflateInfo:bet};const Eet=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var yet=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)Eet(n,r)&&(e[r]=n[r])}}return e},Cet=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;Fm[254]=Fm[254]=1;var Tet=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let t,n,r,a,i,o=e.length,s=0;for(a=0;a>>6,t[i++]=128|n&63):n<65536?(t[i++]=224|n>>>12,t[i++]=128|n>>>6&63,t[i++]=128|n&63):(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63,t[i++]=128|n>>>6&63,t[i++]=128|n&63);return t};const xet=(e,t)=>{if(t<65534&&e.subarray&&Hae)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 i=new Array(n*2);for(a=0,r=0;r4){i[a++]=65533,r+=s-1;continue}for(o&=s===2?31:s===3?15:7;s>1&&r1){i[a++]=65533;continue}o<65536?i[a++]=o:(o-=65536,i[a++]=55296|o>>10&1023,i[a++]=56320|o&1023)}return xet(i,a)},wet=(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+Fm[e[n]]>t?n:t},Bm={string2buf:Tet,buf2string:Ret,utf8border:wet};function Iet(){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 Gae=Iet;const Vae=Object.prototype.toString,{Z_NO_FLUSH:Oet,Z_SYNC_FLUSH:Net,Z_FULL_FLUSH:Aet,Z_FINISH:Det,Z_OK:V_,Z_STREAM_END:Met,Z_DEFAULT_COMPRESSION:Let,Z_DEFAULT_STRATEGY:ket,Z_DEFLATED:Pet}=gp;function Mg(e){this.options=rE.assign({level:Let,method:Pet,chunkSize:16384,windowBits:15,memLevel:8,strategy:ket},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 Gae,this.strm.avail_out=0;let n=kf.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==V_)throw new Error(Lc[n]);if(t.header&&kf.deflateSetHeader(this.strm,t.header),t.dictionary){let r;if(typeof t.dictionary=="string"?r=Bm.string2buf(t.dictionary):Vae.call(t.dictionary)==="[object ArrayBuffer]"?r=new Uint8Array(t.dictionary):r=t.dictionary,n=kf.deflateSetDictionary(this.strm,r),n!==V_)throw new Error(Lc[n]);this._dict_set=!0}}Mg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize;let a,i;if(this.ended)return!1;for(t===~~t?i=t:i=t===!0?Det:Oet,typeof e=="string"?n.input=Bm.string2buf(e):Vae.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),(i===Net||i===Aet)&&n.avail_out<=6){this.onData(n.output.subarray(0,n.next_out)),n.avail_out=0;continue}if(a=kf.deflate(n,i),a===Met)return n.next_out>0&&this.onData(n.output.subarray(0,n.next_out)),a=kf.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===V_;if(n.avail_out===0){this.onData(n.output);continue}if(i>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};Mg.prototype.onData=function(e){this.chunks.push(e)};Mg.prototype.onEnd=function(e){e===V_&&(this.result=rE.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function _2(e,t){const n=new Mg(t);if(n.push(e,!0),n.err)throw n.msg||Lc[n.err];return n.result}function $et(e,t){return t=t||{},t.raw=!0,_2(e,t)}function Fet(e,t){return t=t||{},t.gzip=!0,_2(e,t)}var Bet=Mg,Uet=_2,jet=$et,zet=Fet,Het=gp,Get={Deflate:Bet,deflate:Uet,deflateRaw:jet,gzip:zet,constants:Het};const qh=16209,Vet=16191;var qet=function(t,n){let r,a,i,o,s,l,u,d,p,f,m,g,h,v,S,_,E,y,C,T,x,R,w,I;const O=t.state;r=t.next_in,w=t.input,a=r+(t.avail_in-5),i=t.next_out,I=t.output,o=i-(n-t.avail_out),s=i+(t.avail_out-257),l=O.dmax,u=O.wsize,d=O.whave,p=O.wnext,f=O.window,m=O.hold,g=O.bits,h=O.lencode,v=O.distcode,S=(1<>>24,m>>>=y,g-=y,y=E>>>16&255,y===0)I[i++]=E&65535;else if(y&16){C=E&65535,y&=15,y&&(g>>=y,g-=y),g<15&&(m+=w[r++]<>>24,m>>>=y,g-=y,y=E>>>16&255,y&16){if(T=E&65535,y&=15,gl){t.msg="invalid distance too far back",O.mode=qh;break e}if(m>>>=y,g-=y,y=i-o,T>y){if(y=T-y,y>d&&O.sane){t.msg="invalid distance too far back",O.mode=qh;break e}if(x=0,R=f,p===0){if(x+=u-y,y2;)I[i++]=R[x++],I[i++]=R[x++],I[i++]=R[x++],C-=3;C&&(I[i++]=R[x++],C>1&&(I[i++]=R[x++]))}else{x=i-T;do I[i++]=I[x++],I[i++]=I[x++],I[i++]=I[x++],C-=3;while(C>2);C&&(I[i++]=I[x++],C>1&&(I[i++]=I[x++]))}}else if(y&64){t.msg="invalid distance code",O.mode=qh;break e}else{E=v[(E&65535)+(m&(1<>3,r-=C,g-=C<<3,m&=(1<{const l=s.bits;let u=0,d=0,p=0,f=0,m=0,g=0,h=0,v=0,S=0,_=0,E,y,C,T,x,R=null,w;const I=new Uint16Array(Eu+1),O=new Uint16Array(Eu+1);let k=null,P,M,N;for(u=0;u<=Eu;u++)I[u]=0;for(d=0;d=1&&I[f]===0;f--);if(m>f&&(m=f),f===0)return a[i++]=1<<24|64<<16|0,a[i++]=1<<24|64<<16|0,s.bits=1,0;for(p=1;p0&&(e===K9||f!==1))return-1;for(O[1]=0,u=1;uW9||e===X9&&S>Y9)return 1;for(;;){P=u-h,o[d]+1=w?(M=k[o[d]-w],N=R[o[d]-w]):(M=96,N=0),E=1<>h)+y]=P<<24|M<<16|N|0;while(y!==0);for(E=1<>=1;if(E!==0?(_&=E-1,_+=E):_=0,d++,--I[u]===0){if(u===f)break;u=t[n+o[d]]}if(u>m&&(_&T)!==C){for(h===0&&(h=m),x+=p,g=u-h,v=1<W9||e===X9&&S>Y9)return 1;C=_&T,a[C]=m<<24|g<<16|x-i|0}}return _!==0&&(a[x+_]=u-h<<24|64<<16|0),s.bits=m,0};var Pf=Qet;const Zet=0,qae=1,Wae=2,{Z_FINISH:Q9,Z_BLOCK:Jet,Z_TREES:Wh,Z_OK:Pc,Z_STREAM_END:ett,Z_NEED_DICT:ttt,Z_STREAM_ERROR:Vi,Z_DATA_ERROR:Yae,Z_MEM_ERROR:Kae,Z_BUF_ERROR:ntt,Z_DEFLATED:Z9}=gp,aE=16180,J9=16181,eq=16182,tq=16183,nq=16184,rq=16185,aq=16186,iq=16187,oq=16188,sq=16189,q_=16190,Jo=16191,QN=16192,lq=16193,ZN=16194,cq=16195,uq=16196,dq=16197,pq=16198,Yh=16199,Kh=16200,fq=16201,mq=16202,gq=16203,hq=16204,vq=16205,JN=16206,_q=16207,bq=16208,ur=16209,Xae=16210,Qae=16211,rtt=852,att=592,itt=15,ott=itt,Sq=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function stt(){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 Jc=e=>{if(!e)return 1;const t=e.state;return!t||t.strm!==e||t.modeQae?1:0},Zae=e=>{if(Jc(e))return Vi;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=aE,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(rtt),t.distcode=t.distdyn=new Int32Array(att),t.sane=1,t.back=-1,Pc},Jae=e=>{if(Jc(e))return Vi;const t=e.state;return t.wsize=0,t.whave=0,t.wnext=0,Zae(e)},eie=(e,t)=>{let n;if(Jc(e))return Vi;const r=e.state;return t<0?(n=0,t=-t):(n=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?Vi:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Jae(e))},tie=(e,t)=>{if(!e)return Vi;const n=new stt;e.state=n,n.strm=e,n.window=null,n.mode=aE;const r=eie(e,t);return r!==Pc&&(e.state=null),r},ltt=e=>tie(e,ott);let Eq=!0,e1,t1;const ctt=e=>{if(Eq){e1=new Int32Array(512),t1=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(Pf(qae,e.lens,0,288,e1,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;Pf(Wae,e.lens,0,32,t1,0,e.work,{bits:5}),Eq=!1}e.lencode=e1,e.lenbits=9,e.distcode=t1,e.distbits=5},nie=(e,t,n,r)=>{let a;const i=e.state;return i.window===null&&(i.wsize=1<=i.wsize?(i.window.set(t.subarray(n-i.wsize,n),0),i.wnext=0,i.whave=i.wsize):(a=i.wsize-i.wnext,a>r&&(a=r),i.window.set(t.subarray(n-r,n-r+a),i.wnext),r-=a,r?(i.window.set(t.subarray(n-r,n),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whave{let n,r,a,i,o,s,l,u,d,p,f,m,g,h,v=0,S,_,E,y,C,T,x,R;const w=new Uint8Array(4);let I,O;const k=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Jc(e)||!e.output||!e.input&&e.avail_in!==0)return Vi;n=e.state,n.mode===Jo&&(n.mode=QN),o=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,p=s,f=l,R=Pc;e:for(;;)switch(n.mode){case aE:if(n.wrap===0){n.mode=QN;break}for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>>8&255,n.check=Wr(n.check,w,2,0),u=0,d=0,n.mode=J9;break}if(n.head&&(n.head.done=!1),!(n.wrap&1)||(((u&255)<<8)+(u>>8))%31){e.msg="incorrect header check",n.mode=ur;break}if((u&15)!==Z9){e.msg="unknown compression method",n.mode=ur;break}if(u>>>=4,d-=4,x=(u&15)+8,n.wbits===0&&(n.wbits=x),x>15||x>n.wbits){e.msg="invalid window size",n.mode=ur;break}n.dmax=1<>8&1),n.flags&512&&n.wrap&4&&(w[0]=u&255,w[1]=u>>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0,n.mode=eq;case eq:for(;d<32;){if(s===0)break e;s--,u+=r[i++]<>>8&255,w[2]=u>>>16&255,w[3]=u>>>24&255,n.check=Wr(n.check,w,4,0)),u=0,d=0,n.mode=tq;case tq:for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>8),n.flags&512&&n.wrap&4&&(w[0]=u&255,w[1]=u>>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0,n.mode=nq;case nq:if(n.flags&1024){for(;d<16;){if(s===0)break e;s--,u+=r[i++]<>>8&255,n.check=Wr(n.check,w,2,0)),u=0,d=0}else n.head&&(n.head.extra=null);n.mode=rq;case rq:if(n.flags&1024&&(m=n.length,m>s&&(m=s),m&&(n.head&&(x=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Uint8Array(n.head.extra_len)),n.head.extra.set(r.subarray(i,i+m),x)),n.flags&512&&n.wrap&4&&(n.check=Wr(n.check,r,m,i)),s-=m,i+=m,n.length-=m),n.length))break e;n.length=0,n.mode=aq;case aq:if(n.flags&2048){if(s===0)break e;m=0;do x=r[i+m++],n.head&&x&&n.length<65536&&(n.head.name+=String.fromCharCode(x));while(x&&m>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=Jo;break;case sq:for(;d<32;){if(s===0)break e;s--,u+=r[i++]<>>=d&7,d-=d&7,n.mode=JN;break}for(;d<3;){if(s===0)break e;s--,u+=r[i++]<>>=1,d-=1,u&3){case 0:n.mode=lq;break;case 1:if(ctt(n),n.mode=Yh,t===Wh){u>>>=2,d-=2;break e}break;case 2:n.mode=uq;break;case 3:e.msg="invalid block type",n.mode=ur}u>>>=2,d-=2;break;case lq:for(u>>>=d&7,d-=d&7;d<32;){if(s===0)break e;s--,u+=r[i++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=ur;break}if(n.length=u&65535,u=0,d=0,n.mode=ZN,t===Wh)break e;case ZN:n.mode=cq;case cq:if(m=n.length,m){if(m>s&&(m=s),m>l&&(m=l),m===0)break e;a.set(r.subarray(i,i+m),o),s-=m,i+=m,l-=m,o+=m,n.length-=m;break}n.mode=Jo;break;case uq:for(;d<14;){if(s===0)break e;s--,u+=r[i++]<>>=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=ur;break}n.have=0,n.mode=dq;case dq:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[k[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,I={bits:n.lenbits},R=Pf(Zet,n.lens,0,19,n.lencode,0,n.work,I),n.lenbits=I.bits,R){e.msg="invalid code lengths set",n.mode=ur;break}n.have=0,n.mode=pq;case pq:for(;n.have>>24,_=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=S,d-=S,n.lens[n.have++]=E;else{if(E===16){for(O=S+2;d>>=S,d-=S,n.have===0){e.msg="invalid bit length repeat",n.mode=ur;break}x=n.lens[n.have-1],m=3+(u&3),u>>>=2,d-=2}else if(E===17){for(O=S+3;d>>=S,d-=S,x=0,m=3+(u&7),u>>>=3,d-=3}else{for(O=S+7;d>>=S,d-=S,x=0,m=11+(u&127),u>>>=7,d-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=ur;break}for(;m--;)n.lens[n.have++]=x}}if(n.mode===ur)break;if(n.lens[256]===0){e.msg="invalid code -- missing end-of-block",n.mode=ur;break}if(n.lenbits=9,I={bits:n.lenbits},R=Pf(qae,n.lens,0,n.nlen,n.lencode,0,n.work,I),n.lenbits=I.bits,R){e.msg="invalid literal/lengths set",n.mode=ur;break}if(n.distbits=6,n.distcode=n.distdyn,I={bits:n.distbits},R=Pf(Wae,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,I),n.distbits=I.bits,R){e.msg="invalid distances set",n.mode=ur;break}if(n.mode=Yh,t===Wh)break e;case Yh:n.mode=Kh;case Kh:if(s>=6&&l>=258){e.next_out=o,e.avail_out=l,e.next_in=i,e.avail_in=s,n.hold=u,n.bits=d,qet(e,f),o=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,r=e.input,s=e.avail_in,u=n.hold,d=n.bits,n.mode===Jo&&(n.back=-1);break}for(n.back=0;v=n.lencode[u&(1<>>24,_=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>y)],S=v>>>24,_=v>>>16&255,E=v&65535,!(y+S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=y,d-=y,n.back+=y}if(u>>>=S,d-=S,n.back+=S,n.length=E,_===0){n.mode=vq;break}if(_&32){n.back=-1,n.mode=Jo;break}if(_&64){e.msg="invalid literal/length code",n.mode=ur;break}n.extra=_&15,n.mode=fq;case fq:if(n.extra){for(O=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=mq;case mq:for(;v=n.distcode[u&(1<>>24,_=v>>>16&255,E=v&65535,!(S<=d);){if(s===0)break e;s--,u+=r[i++]<>y)],S=v>>>24,_=v>>>16&255,E=v&65535,!(y+S<=d);){if(s===0)break e;s--,u+=r[i++]<>>=y,d-=y,n.back+=y}if(u>>>=S,d-=S,n.back+=S,_&64){e.msg="invalid distance code",n.mode=ur;break}n.offset=E,n.extra=_&15,n.mode=gq;case gq:if(n.extra){for(O=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=ur;break}n.mode=hq;case hq:if(l===0)break e;if(m=f-l,n.offset>m){if(m=n.offset-m,m>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=ur;break}m>n.wnext?(m-=n.wnext,g=n.wsize-m):g=n.wnext-m,m>n.length&&(m=n.length),h=n.window}else h=a,g=o-n.offset,m=n.length;m>l&&(m=l),l-=m,n.length-=m;do a[o++]=h[g++];while(--m);n.length===0&&(n.mode=Kh);break;case vq:if(l===0)break e;a[o++]=n.length,l--,n.mode=Kh;break;case JN:if(n.wrap){for(;d<32;){if(s===0)break e;s--,u|=r[i++]<{if(Jc(e))return Vi;let t=e.state;return t.window&&(t.window=null),e.state=null,Pc},ptt=(e,t)=>{if(Jc(e))return Vi;const n=e.state;return n.wrap&2?(n.head=t,t.done=!1,Pc):Vi},ftt=(e,t)=>{const n=t.length;let r,a,i;return Jc(e)||(r=e.state,r.wrap!==0&&r.mode!==q_)?Vi:r.mode===q_&&(a=1,a=$m(a,t,n,0),a!==r.check)?Yae:(i=nie(e,t,n,n),i?(r.mode=Xae,Kae):(r.havedict=1,Pc))};var mtt=Jae,gtt=eie,htt=Zae,vtt=ltt,_tt=tie,btt=utt,Stt=dtt,Ett=ptt,ytt=ftt,Ctt="pako inflate (from Nodeca project)",ss={inflateReset:mtt,inflateReset2:gtt,inflateResetKeep:htt,inflateInit:vtt,inflateInit2:_tt,inflate:btt,inflateEnd:Stt,inflateGetHeader:Ett,inflateSetDictionary:ytt,inflateInfo:Ctt};function Ttt(){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 xtt=Ttt;const rie=Object.prototype.toString,{Z_NO_FLUSH:Rtt,Z_FINISH:wtt,Z_OK:Um,Z_STREAM_END:n1,Z_NEED_DICT:r1,Z_STREAM_ERROR:Itt,Z_DATA_ERROR:yq,Z_MEM_ERROR:Ott}=gp;function Lg(e){this.options=rE.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 Gae,this.strm.avail_out=0;let n=ss.inflateInit2(this.strm,t.windowBits);if(n!==Um)throw new Error(Lc[n]);if(this.header=new xtt,ss.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=Bm.string2buf(t.dictionary):rie.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(n=ss.inflateSetDictionary(this.strm,t.dictionary),n!==Um)))throw new Error(Lc[n])}Lg.prototype.push=function(e,t){const n=this.strm,r=this.options.chunkSize,a=this.options.dictionary;let i,o,s;if(this.ended)return!1;for(t===~~t?o=t:o=t===!0?wtt:Rtt,rie.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),i=ss.inflate(n,o),i===r1&&a&&(i=ss.inflateSetDictionary(n,a),i===Um?i=ss.inflate(n,o):i===yq&&(i=r1));n.avail_in>0&&i===n1&&n.state.wrap>0&&e[n.next_in]!==0;)ss.inflateReset(n),i=ss.inflate(n,o);switch(i){case Itt:case yq:case r1:case Ott:return this.onEnd(i),this.ended=!0,!1}if(s=n.avail_out,n.next_out&&(n.avail_out===0||i===n1))if(this.options.to==="string"){let l=Bm.utf8border(n.output,n.next_out),u=n.next_out-l,d=Bm.buf2string(n.output,l);n.next_out=u,n.avail_out=r-u,u&&n.output.set(n.output.subarray(l,l+u),0),this.onData(d)}else this.onData(n.output.length===n.next_out?n.output:n.output.subarray(0,n.next_out));if(!(i===Um&&s===0)){if(i===n1)return i=ss.inflateEnd(this.strm),this.onEnd(i),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===Um&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=rE.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function b2(e,t){const n=new Lg(t);if(n.push(e),n.err)throw n.msg||Lc[n.err];return n.result}function Ntt(e,t){return t=t||{},t.raw=!0,b2(e,t)}var Att=Lg,Dtt=b2,Mtt=Ntt,Ltt=b2,ktt=gp,Ptt={Inflate:Att,inflate:Dtt,inflateRaw:Mtt,ungzip:Ltt,constants:ktt};const{Deflate:Rnt,deflate:$tt,deflateRaw:wnt,gzip:Int}=Get,{Inflate:Ftt,inflate:Ont,inflateRaw:Nnt,ungzip:Ant}=Ptt;var Btt=$tt,Utt=Ftt;class Av{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 i=a.slice(0,16),o=String.fromCharCode(...i).split("").map(s=>s===" "||s>=" "&&s<="~"&&s!==" "?s:".").join("");a=a.slice(16),r+=` - ${this.hexify(i.slice(0,8))} ${this.hexify(i.slice(8))} | ${o}`}return r}else return this.hexify(t)}slipWriter(t){const n=[];n.push(192);for(let r=0;r0)return i;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:i,done:o}=await this.reader.read();if(o)throw this.leftOver=a,new Error("Timeout");a=new Uint8Array(this._appendBuffer(a.buffer,i.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 i=this.slipReader(a);return this.tracing&&(console.log("Slip reader results"),this.trace(`Read ${i.length} bytes: ${this.hexConvert(i)}`)),i}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 Dv(e){return new Promise(t=>setTimeout(t,e))}async function jtt(e){await e.setRTS(!1),await e.setDTR(!1),await Dv(100),await e.setDTR(!0),await e.setRTS(!1),await Dv(100),await e.setRTS(!0),await e.setDTR(!1),await e.setRTS(!0),await Dv(100),await e.setRTS(!1),await e.setDTR(!1)}function ztt(e){const t=["D","R","W"],n=e.split("|");for(const r of n){const a=r[0],i=r.slice(1);if(!t.includes(a))return!1;if(a==="D"||a==="R"){if(i!=="0"&&i!=="1")return!1}else if(a==="W"){const o=parseInt(i);if(isNaN(o)||o<=0)return!1}}return!0}async function Htt(e,t){const n={D:async r=>await e.setDTR(r),R:async r=>await e.setRTS(r),W:async r=>await Dv(r)};try{if(!ztt(t))return;const a=t.split("|");for(const i of a){const o=i[0],s=i.slice(1);o==="W"?await n.W(Number(s)):(o==="D"||o==="R")&&await n[o](s==="1")}}catch{throw new Error("Invalid custom reset sequence")}}var Gtt=function(t){return atob(t)};const Cq=xa(Gtt);async function Vtt(e){switch(e){case 15736195:{const{ESP32ROM:t}=await Zo(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 Zo(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 Zo(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 Zo(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 Zo(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 Zo(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 Zo(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 Zo(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 Zo(async()=>{const{ESP32P4ROM:n}=await import("./esp32p4-DfBdIAkh.js");return{ESP32P4ROM:n}},__vite__mapDeps([9,0,1]));return new t}default:return null}}class a1{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&&(o=this._appendArray(o,this._intToByteArray(this.chip.UART_DATE_REG_ADDR)),o=this._appendArray(o,this._intToByteArray(0)),o=this._appendArray(o,this._intToByteArray(0)),o=this._appendArray(o,this._intToByteArray(i))),await this.checkCommand("write target memory",this.ESP_WRITE_REG,o)}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 jtt(this.transport);else{const i=n?"D0|R1|W100|W2000|D1|R0|W50|D0":"D0|R1|W100|D1|R0|W50|D0";await Htt(this.transport,i)}let r=0,a=!0;for(;a;){try{const i=await this.transport.read(1e3);r+=i.length}catch(i){if(this.debug(i.message),i instanceof Error){a=!1;break}}await this._sleep(50)}for(this.transport.slipReaderEnabled=!0,this.syncStubDetected=!0,r=7;r--;){try{const i=await this.sync();return this.debug(i[0].toString()),"success"}catch(i){i 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,i;for(this.info("Connecting...",!1),await this.transport.connect(this.romBaudrate,this.serialOptions),a=0;a>>0;this.debug("Chip Magic "+o.toString(16));const s=await Vtt(o);if(this.chip===null)throw new wa(`Unexpected CHIP magic value ${o}. 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,i=3e3){this.debug("check_command "+t);const o=await this.command(n,r,a,void 0,i);return o[1].length>4?o[1]:o[0]}async memBegin(t,n,r,a){this.debug("mem_begin "+t+" "+n+" "+r+" "+a.toString(16));let i=this._appendArray(this._intToByteArray(t),this._intToByteArray(n));i=this._appendArray(i,this._intToByteArray(r)),i=this._appendArray(i,this._intToByteArray(a)),await this.checkCommand("enter RAM download mode",this.ESP_MEM_BEGIN,i)}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),i=new Date,o=i.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 l=this._appendArray(this._intToByteArray(a),this._intToByteArray(r));l=this._appendArray(l,this._intToByteArray(this.FLASH_WRITE_SIZE)),l=this._appendArray(l,this._intToByteArray(n)),this.IS_STUB==!1&&(l=this._appendArray(l,this._intToByteArray(0))),await this.checkCommand("enter Flash download mode",this.ESP_FLASH_BEGIN,l,void 0,s);const u=i.getTime();return t!=0&&this.IS_STUB==!1&&this.info("Took "+(u-o)/1e3+"."+(u-o)%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),i=Math.floor((t+this.FLASH_WRITE_SIZE-1)/this.FLASH_WRITE_SIZE),o=new Date,s=o.getTime();let l,u;this.IS_STUB?(l=t,u=3e3):(l=i*this.FLASH_WRITE_SIZE,u=this.timeoutPerMb(this.ERASE_REGION_TIMEOUT_PER_MB,l)),this.info("Compressed "+t+" bytes to "+n+"...");let d=this._appendArray(this._intToByteArray(l),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 p=o.getTime();return t!=0&&this.IS_STUB===!1&&this.info("Took "+(p-s)/1e3+"."+(p-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 i=this.checksum(t);await this.checkCommand("write to target Flash after seq "+n,this.ESP_FLASH_DATA,a,i,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 i=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,i,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,l=s+0,u=s+this.chip.SPI_USR_OFFS,d=s+this.chip.SPI_USR1_OFFS,p=s+this.chip.SPI_USR2_OFFS,f=s+this.chip.SPI_W0_OFFS;let m;this.chip.SPI_MOSI_DLEN_OFFS!=null?m=async(x,R)=>{const w=s+this.chip.SPI_MOSI_DLEN_OFFS,I=s+this.chip.SPI_MISO_DLEN_OFFS;x>0&&await this.writeReg(w,x-1),R>0&&await this.writeReg(I,R-1)}:m=async(x,R)=>{const w=d,I=17,O=8,k=x===0?0:x-1,M=(R===0?0:R-1)<32)throw new wa("Reading more than 32 bits back from a SPI flash operation is unsupported");if(n.length>64)throw new wa("Writing more than 64 bytes of data with one SPI command is unsupported");const v=n.length*8,S=await this.readReg(u),_=await this.readReg(p);let E=-2147483648,y;r>0&&(E|=268435456),v>0&&(E|=134217728),await m(v,r),await this.writeReg(u,E);let C=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 i=await this.checkCommand("calculate md5sum",this.ESP_SPI_FLASH_MD5,a,void 0,r);return i instanceof Uint8Array&&i.length>16&&(i=i.slice(0,16)),this.toHex(i)}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 i=await this.checkCommand("read flash",this.ESP_READ_FLASH,a);if(i!=0)throw new wa("Failed to read memory: "+i);let o=new Uint8Array(0);for(;o.length0&&(o=this._appendArray(o,s),await this.transport.write(this._intToByteArray(o.length)),r&&r(s,o.length,n));else throw new wa("Failed to read memory: "+s)}return o}async runStub(){if(this.syncStubDetected)return this.info("Stub is already running. No upload is necessary."),this.chip;this.info("Uploading stub...");let t=Cq(this.chip.ROM_TEXT),n=t.split("").map(function(s){return s.charCodeAt(0)});const r=new Uint8Array(n);t=Cq(this.chip.ROM_DATA),n=t.split("").map(function(s){return s.charCodeAt(0)});const a=new Uint8Array(n);let i=Math.floor((r.length+this.ESP_RAM_BLOCK-1)/this.ESP_RAM_BLOCK),o;for(await this.memBegin(r.length,i,this.ESP_RAM_BLOCK,this.chip.TEXT_START),o=0;o"u")throw new wa("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,i){if(this.debug("_update_image_flash_params "+r+" "+a+" "+i),t.length<8||n!=this.chip.BOOTLOADER_FLASH_OFFSET)return t;if(r==="keep"&&a==="keep"&&i==="keep")return this.info("Not changing the image"),t;const o=parseInt(t[0]);let s=parseInt(t[2]);const l=parseInt(t[3]);if(o!==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=l&15;i!=="keep"&&(u={"40m":0,"26m":1,"20m":2,"80m":15}[i]);let d=l&240;r!=="keep"&&(d=this.parseFlashSizeArg(r));const p=s<<8|u+d;return this.info("Flash params set to "+p.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 i=0;ia)throw new wa(`File ${i+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-i)),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 o=null;t.calculateMD5Hash&&(o=t.calculateMD5Hash(n),this.debug("Image MD5 "+o));const s=n.length;let l;if(t.compress){const _=this.bstrToUi8(n);n=this.ui8ToBstr(Btt(_,{level:9})),l=await this.flashDeflBegin(s,n.length,r)}else l=await this.flashBegin(s,r);let u=0,d=0;const p=n.length;t.reportProgress&&t.reportProgress(a,0,p);let f=new Date;const m=f.getTime();let g=5e3;const h=new Utt({chunkSize:1});let v=0;for(h.onData=function(_){v+=_.byteLength};n.length>0;){this.debug("Write loop "+r+" "+u+" "+l),this.info("Writing at 0x"+(r+v).toString(16)+"... ("+Math.floor(100*(u+1)/l)+"%)");const _=this.bstrToUi8(n.slice(0,this.FLASH_WRITE_SIZE));if(t.compress){const E=v;h.push(_,!1);const y=v-E;let C=3e3;this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,y)>3e3&&(C=this.timeoutPerMb(this.ERASE_WRITE_TIMEOUT_PER_MB,y)),this.IS_STUB===!1&&(g=C),await this.flashDeflBlock(_,u,g),this.IS_STUB&&(g=C)}else throw new wa("Yet to handle Non Compressed writes");d+=_.length,n=n.slice(this.FLASH_WRITE_SIZE,n.length),u++,t.reportProgress&&t.reportProgress(a,d,p)}this.IS_STUB&&await this.readReg(this.CHIP_DETECT_MAGIC_REG_ADDR,g),f=new Date;const S=f.getTime()-m;if(t.compress&&this.info("Wrote "+s+" bytes ("+d+" compressed) at 0x"+r.toString(16)+" in "+S/1e3+" seconds."),o){const _=await this.flashMd5sum(r,s);if(new String(_).valueOf()!=new String(o).valueOf())throw this.info("File md5: "+o),this.info("Flash md5: "+_),new wa("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 wa("Soft resetting is currently only supported on ESP8266");await this.command(this.ESP_RUN_USER_CODE,void 0,void 0,!1)}}}const qtt=()=>{const[e,t]=c.useState(0),n=["",".","..","...","....","....."];return c.useEffect(()=>{const r=setInterval(()=>{t(a=>(a+1)%n.length)},666);return()=>clearInterval(r)},[]),b.jsx(b.Fragment,{children:n[e]})},Wtt=()=>"serial"in navigator,yu=new xn(vn()),{Paragraph:Nr,Text:Ytt}=wn,{Step:Ktt}=hg,Xtt=()=>{const{t:e}=$t(),t=ra.language,n=c.useRef(null),[r,a]=c.useState(!1),[i,o]=c.useState(""),[s,l]=c.useState(!1),[u,d]=c.useState(!1),[p,f]=c.useState(!1),[m,g]=c.useState("certs/client"),[h,v]=c.useState(""),[S,_]=c.useState(0),[E,y]=c.useState([b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{})]),[C,T]=c.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}),[x,R]=c.useState(!1),w=921600,I=115200;function O(ne){const ae=new Uint8Array(ne);let le="";for(let pe=0;pe{(async()=>{const le=await(await yu.apiGetTeddyCloudSettingRaw("core.certdir")).text();g(le)})()},[]),c.useEffect(()=>{R(Wtt())},[]),c.useEffect(()=>{if(window.location.protocol!=="https:"){a(!1);const ne=async()=>{try{return await(await yu.apiGetTeddyCloudSettingRaw("core.server.https_web_port")).text()}catch(pe){console.error("Error fetching https port: ",pe)}},ae=async()=>{try{return await(await yu.apiGetTeddyCloudSettingRaw("core.server.http_port")).text()}catch(pe){console.error("Error fetching http port: ",pe)}};(async()=>{const pe=await ne()||"",Re=await ae()||"",Se=new URL(window.location.href);Se.protocol="https:",Se.port?Se.port=Se.port===Re?pe:Se.port:Se.port=pe,o(Se.toString())})()}else a(!0)},[]),c.useEffect(()=>{F(S,(()=>{switch(S){case 0:return Y;case 1:return X;case 2:return V;case 3:return q;default:return b.jsx("div",{})}})())},[C,t]),c.useEffect(()=>{C.proceed&&me()},[C.proceed]),c.useEffect(()=>{l(C.actionInProgress)},[C.actionInProgress]);const k=()=>{i&&(window.location.href=i)},P=async ne=>{if(C.port)return console.log(C.port.getInfo),C.port;T(le=>({...le,showStatus:!0,showProgress:!1,progress:0,state:ne||"Open serial port"}));let ae=null;try{ae=await navigator.serial.requestPort(),await ae.open({baudRate:115200}),await ae.close()}catch(le){return le==="NetworkError"?(T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"),error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.portOpenFailedInUse"))):le==="NotFoundError"?T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.noPortAvailable"),error:!0})):(T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+le,error:!0})),alert(e("tonieboxes.esp32BoxFlashing.esp32flasher.error")+` ${le}`)),null}return ae?(console.log("port done"),T(le=>({...le,port:ae})),ae):(T(le=>({...le,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.invalidSerialPort"),error:!0})),null)},M=async ne=>{if(console.log("loadFlashFile"),!ne.target.files)return;const ae=ne.target.files[0];if(!ae)return;T(pe=>({...pe,state:"",chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",error:!1,actionInProgress:!0})),console.log("Read file '"+ae+"'");const le=new FileReader;le.onload=async pe=>{var Pe;console.log("Connecting to ESP32");const Re=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadMac"));if(Re===null||C.connected){T(fe=>({...fe,actionInProgress:!1}));return}T(fe=>({...fe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${C.port}`,showFlash:!1,connected:!0}));let Se=null;try{const fe=new Av(Re);Se=new a1({transport:fe,baudrate:w,romBaudrate:I})}catch(fe){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),alert(fe),await Re.close();return}try{T(Ie=>({...Ie,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.retrievingMac"),actionInProgress:!0})),await Se.main();let fe=await Se.chip.readMac(Se);T(Ie=>({...Ie,chipMac:fe})),console.log("Chip MAC: "+fe),await Re.close();const ve=(Pe=pe.target)==null?void 0:Pe.result,Ae=new Uint8Array(ve),ye=`ESP32_${fe.replace(/:/g,"")}`,be=new Blob([Ae],{type:"application/octet-stream"}),Ne=URL.createObjectURL(be);await A(Ae,ye),pe.target&&T(Ie=>{var xe;return{...Ie,patchedFlash:(xe=pe.target)==null?void 0:xe.result,showFlash:!0,connected:!1,flashName:"from file",downloadLink:Ne}}),console.log("Done")}catch(fe){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(fe),alert(fe),await Re.close();return}},le.readAsArrayBuffer(ae),T(pe=>({...pe,actionInProgress:!1})),ne.target.value=""},N=async()=>{let ne=null,ae=null,le="";ae=new Uint8Array(1024);const pe=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingReadFlash"));if(pe===null||C.connected)return;T(fe=>({...fe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${pe.getInfo()}`,chipMac:"",chipType:"",flashId:"",flashManuf:"",flashDevice:"",flashSize:"",showFlash:!1,connected:!0,actionInProgress:!0,error:!1}));try{const fe=new Av(pe);ne=new a1({transport:fe,baudrate:w,romBaudrate:I})}catch(fe){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),alert(fe),await pe.close();return}try{T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await ne.main(),T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected")})),le=await ne.chip.readMac(ne),T(ye=>({...ye,chipMac:le})),console.log("Chip MAC: "+le);const fe=await ne.chip.getChipDescription(ne);T(ye=>({...ye,chipType:fe}));let ve=await ne.readFlashId();T(ye=>({...ye,flashId:""+ve,flashManuf:""+(ve&255),flashDevice:""+(ve>>8&255)}));let Ae=await ne.getFlashSize();if(T(ye=>({...ye,flashSize:""+Ae})),Ae<0||Ae>16384){T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await pe.close();return}T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFlash"),showProgress:!0,progress:0})),ae=await ne.readFlash(0,Ae*1024,(ye,be,Ne)=>{const Ie=100*be/Ne;T(xe=>({...xe,progress:Ie}))}),await pe.close(),T(ye=>({...ye,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.readingFinished"),progress:100,originalFlash:ae,connected:!1}))}catch(fe){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${fe}`,connected:!1,actionInProgress:!1,error:!0})),console.error(fe),alert(fe),await pe.close();return}const Re=`ESP32_${le.replace(/:/g,"")}`,Se=new Blob([ae],{type:"application/octet-stream"}),Pe=URL.createObjectURL(Se);T(fe=>({...fe,downloadLink:Pe,showProgress:!1})),await A(ae,Re),console.log("Done")},A=async(ne,ae)=>{try{T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploading"),error:!1}));const le=new FormData;le.append(ae,new Blob([ne.buffer]),ae);const pe=await yu.apiPostTeddyCloudFormDataRaw("/api/esp32/uploadFirmware",le);if(pe.ok&&pe.status===200){const Re=await pe.text();T(Se=>({...Se,showDownload:!0,filename:Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadSuccessful")+` ${Re}`+e("tonieboxes.esp32BoxFlashing.esp32flasher.readyToProceed"),proceed:!0,actionInProgress:!1}))}else T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}catch(le){console.error("There was an error when uploading!",le),T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.uploadFailed"),actionInProgress:!1,error:!0}))}},D=async()=>{if(C.wifi_ssid&&!C.wifi_pass||!C.wifi_ssid&&C.wifi_pass){T(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),showStatus:!0,warningTextWifi:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete"),error:!0}));return}T(ae=>({...ae,actionInProgress:!0})),T(ae=>({...ae,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage"),error:!1}));const ne=await yu.apiGetTeddyCloudApiRaw(`/api/esp32/patchFirmware?filename=${C.filename}&hostname=${encodeURIComponent(C.hostname)}`+(C.wifi_ssid&&C.wifi_pass?`&wifi_ssid=${encodeURIComponent(C.wifi_ssid)}&wifi_pass=${encodeURIComponent(C.wifi_pass)}`:""));if(T(ae=>({...ae,showProgress:!1,showFlash:!1,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFlashImage")})),ne.ok&&ne.status===200){const ae=await ne.arrayBuffer();T(Re=>({...Re,patchedFlash:ae,showFlash:!0,flashName:"patched"}));const le=new Blob([ae],{type:"application/octet-stream"}),pe=URL.createObjectURL(le);T(Re=>({...Re,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingSuccessful",{size:(ae.byteLength/1024/1024).toFixed(0)}),downloadLinkPatched:pe})),me()}else T(ae=>({...ae,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchingFailed"),error:!0}));T(ae=>({...ae,actionInProgress:!1}))},L=async()=>{const ne=await P(e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingWriteFlash"));if(ne===null||C.connected)return;T(le=>({...le,actionInProgress:!0,error:!1})),T(le=>({...le,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingTo")+` ${ne.getInfo()}`,connected:!0}));let ae=null;try{const le=new Av(ne);ae=new a1({transport:le,baudrate:w,romBaudrate:I})}catch(le){T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToConnect")+` ${le}`,connected:!1,actionInProgress:!1,error:!0})),alert(le),await ne.close();return}try{T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connectingToESP")})),await ae.main(),T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.connected"),progress:0,showProgress:!0}));let le=await ae.chip.readMac(ae);T(ve=>({...ve,chipMac:le})),console.log("Chip MAC: "+le);const pe=await ae.chip.getChipDescription(ae);T(ve=>({...ve,chipType:pe}));let Re=await ae.readFlashId();T(ve=>({...ve,flashId:""+Re,flashManuf:""+(Re&255),flashDevice:""+(Re>>8&255)}));let Se=await ae.getFlashSize();if(T(ve=>({...ve,flashSize:""+Se})),Se<0||Se>16384){T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSizeError"),connected:!1,actionInProgress:!1,error:!0})),await ne.close();return}T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.preparingFlash",{size:(C.patchedFlash.byteLength/1024/1024).toFixed(0)})}));let Pe=[];Pe.push({data:O(C.patchedFlash),address:0});let fe={fileArray:Pe,flashSize:"keep",flashMode:"keep",flashFreq:"keep",eraseAll:!1,compress:!0,reportProgress:(ve,Ae,ye)=>{const be=100*Ae/ye;T(Ne=>({...Ne,progress:be}))}};T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFlash",{size:(C.patchedFlash.byteLength/1024/1024).toFixed(0)})})),await ae.writeFlash(fe),await ne.close(),T(ve=>({...ve,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.writingFinished"),connected:!1,actionInProgress:!1,proceed:!0}))}catch(le){T(pe=>({...pe,state:e("tonieboxes.esp32BoxFlashing.esp32flasher.failedToCommunicate")+` ${le}`,connected:!1,actionInProgress:!1,error:!0})),console.error(le),alert(le),await ne.close();return}},$=async ne=>{const ae=Qe.loading(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates"),0);ne&&f(!1);try{const le=await yu.apiPostTeddyCloudRaw(`/api/esp32/extractCerts?filename=${C.filename}`+(ne?"&overwrite=true":""));if(le.ok&&le.status===200)ae(),Qe.success(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesSuccessful",{file:C.filename}));else if(!le.ok&&le.status===409){ae();const pe=await le.text();Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+pe),v(pe),f(!0)}else ae(),Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+await le.text())}catch(le){ae(),Qe.error(e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificatesFailed",{file:C.filename})+": "+le)}},F=(ne,ae)=>{y(le=>{const pe=[...le];return pe[ne]=ae,pe})},B=[{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")},{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}],z=b.jsx(b.Fragment,{children:C.showProgress&&b.jsx("div",{children:b.jsx("div",{children:b.jsx(gS,{percent:C.progress||0,format:ne=>`${(ne??0).toFixed(2)}%`})})})}),U=b.jsx(b.Fragment,{children:(C.chipType||C.chipMac)&&b.jsxs("div",{children:[b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.infoTable")}),b.jsx("table",{className:"info-table",children:b.jsxs("tbody",{children:[C.chipType&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipType")}),b.jsx("td",{children:C.chipType})]}),C.chipMac&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.chipMAC")}),b.jsx("td",{children:C.chipMac})]}),C.flashId&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashId")}),b.jsxs("td",{children:["0x",C.flashId.toString()]})]}),C.flashManuf&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashManuf")}),b.jsxs("td",{children:["0x",C.flashManuf.toString()]})]}),C.flashDevice&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashDevice")}),b.jsxs("td",{children:["0x",C.flashDevice.toString()]})]}),C.flashSize&&b.jsxs("tr",{children:[b.jsx("td",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashSize")}),b.jsxs("td",{children:[C.flashSize," KiB"]})]})]})})]})}),j=ne=>ne.replace(/[^a-zA-Z0-9-.]/g,"").trim(),G=ne=>{if(ne.endsWith("...")){const ae=ne.slice(0,-3);return b.jsxs("div",{style:{display:"flex"},children:[ae,b.jsx(qtt,{})]})}return ne},J=C.showStatus&&b.jsx("div",{className:"status",style:{marginBottom:16,color:C.error?"#CC3010":"unset"},children:b.jsx("i",{children:G(C.state)})}),Y=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleReadESP32ImportFlash")}),!C.actionInProgress&&b.jsxs(b.Fragment,{children:[b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),b.jsx(Nr,{style:{marginTop:16},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintReadESP32ImportFlash")})]}),J,b.jsx("input",{type:"file",style:{display:"none"},ref:n,onChange:M}),z]}),X=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titlePatchFlash")}),b.jsxs("div",{children:[!C.actionInProgress&&b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchFlash")}),J,!C.actionInProgress&&C.downloadLink?b.jsxs("div",{style:{marginBottom:16},children:[" ",b.jsx("a",{href:C.downloadLink,download:C.filename,title:C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})]}):"",b.jsxs(Xt,{children:[b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameSettings")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchHost")}),b.jsxs(Xt.Item,{children:[b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 200px",color:C.warningTextHostname?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostname")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en,{type:"text",value:C.hostname,onChange:ne=>{let ae=j(ne.target.value),le="";ae.length>12?le=e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong"):le="",T(pe=>({...pe,hostname:ae,warningTextHostname:le}))}})})]}),C.warningTextHostname&&b.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hostnameTooLong")})]}),b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSettings")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintPatchWifi")}),b.jsx(Xt.Item,{children:b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 200px",color:C.warningTextWifi?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiSSID")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en,{type:"text",defaultValue:C.wifi_ssid,onChange:ne=>{let ae=ne.target.value;T(le=>({...le,wifi_ssid:ae,warningTextWifi:ne.target.value&&C.wifi_pass||!ne.target.value&&!C.wifi_pass?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]})}),b.jsxs(Xt.Item,{children:[b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 200px",color:C.warningTextWifi?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiPassword")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en.Password,{defaultValue:C.wifi_pass,onChange:ne=>{let ae=ne.target.value;T(le=>({...le,wifi_pass:ae,warningTextWifi:ne.target.value&&C.wifi_ssid||!ne.target.value&&!C.wifi_ssid?"":e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")}))}})})]}),C.warningTextWifi&&b.jsx("p",{style:{color:"#CC3010"},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.wifiCredentialsIncomplete")})]})]})]}),z]}),V=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleFlashESP32")}),!C.actionInProgress&&b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintFlashESP32")}),J,!C.actionInProgress&&C.downloadLinkPatched?b.jsxs("div",{style:{marginBottom:16},children:[" ",b.jsx("a",{href:C.downloadLinkPatched,download:"patched_"+C.filename,title:"patched_"+C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})]}):"",z]}),H=`${m}/${C.chipMac?C.chipMac.replaceAll(":","").toLowerCase():""}`,q=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.titleESP32FirmwareFlashed")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.hintESP32FirmwareFlashed")}),J,z,(C.downloadLink||C.downloadLinkPatched)&&b.jsxs(b.Fragment,{children:[b.jsx(Xn,{type:"info",style:{marginTop:16},showIcon:!0,message:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates"),description:b.jsxs("div",{children:[b.jsxs(wn,{children:[b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.automatically")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint")}),b.jsx(Rt,{icon:b.jsx(zk,{}),disabled:s,type:"primary",onClick:()=>ue(),style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificates")}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesAutomaticallyHint2",{certDir:m,mac:C.chipMac.replaceAll(":","").toLocaleLowerCase()})})]}),b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.manually")}),b.jsx(wn,{style:{marginBottom:8},children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHint")}),b.jsx(wn,{children:b.jsx(xd,{size:"small",items:[{key:"1",label:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManually"),children:b.jsxs(wn,{children:[b.jsxs(Nr,{children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP1")," ",b.jsx(Ytt,{code:!0,children:"docker exec -it bash"}),"."]}),b.jsx(Nr,{children:b.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 -mkdir ${H} -teddycloud --esp32-extract data/firmware/`+(C.filename?C.filename:"ESP32_.bin")+` --destination ${H}`})}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP2")}),b.jsx(Nr,{children:b.jsx("pre",{style:{fontSize:12},children:`mv ${H}/CLIENT.DER ${H}/client.der -mv ${H}/PRIVATE.DER ${m}/${H}/private.der -mv ${H}/CA.DER ${m}/${H}/ca.der`})}),b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractCertificatesManuallyHintP3")}),b.jsx(Nr,{children:b.jsx("pre",{style:{fontSize:12},children:`cp ${H}/client.der ${m}/client.der -cp ${H}/private.der ${m}/private.der -cp ${H}/ca.der ${m}/ca.der`})})]})}]})})]})}),b.jsxs(Nr,{style:{marginTop:16},children:[e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadFlashFilesHint"),b.jsxs("ul",{style:{marginTop:8},children:[C.downloadLink&&b.jsx("li",{children:b.jsx("a",{href:C.downloadLink,download:C.filename,title:C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLink")})}),C.downloadLinkPatched&&b.jsx("li",{children:b.jsx("a",{href:C.downloadLinkPatched,download:"patched_"+C.filename,title:"patched_"+C.filename,children:e("tonieboxes.esp32BoxFlashing.esp32flasher.downloadLinkPatched")})})]})]})]})]}),K=()=>{N()},Z=()=>{n.current&&n.current.click()},te=()=>{D()},se=()=>{L()},ue=()=>{$()},me=()=>{T(ne=>({...ne,proceed:!1})),_(S+1)},de=()=>{T(ne=>({...ne,state:"",showProgress:!1,error:!1})),_(S-1)},Te=()=>{d(!1),se()},Ee=()=>{d(!1)},ge=b.jsx(Rt,{icon:b.jsx(Nc,{}),disabled:s,onClick:()=>de(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.previous")}),re=x?b.jsxs(b.Fragment,{children:[b.jsx(Qr,{children:e("tonieboxes.esp32BoxFlashing.title")}),b.jsx(kd,{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:Ee}),b.jsx(hg,{current:S,children:B.map((ne,ae)=>b.jsx(Ktt,{title:ne.title,status:ae===S&&ae===B.length-1?"finish":ae===S?C.error?"error":"process":aeZ(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.loadFile")}),b.jsx(Rt,{icon:b.jsx(Bk,{}),disabled:s,type:"primary",onClick:()=>K(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.readFlash")})]}),b.jsx(Rt,{icon:b.jsx($i,{}),iconPosition:"end",disabled:!C.proceed&&!C.filename||s,onClick:()=>me(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),S===1&&b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,b.jsx("div",{style:{display:"flex",gap:8},children:b.jsx(Rt,{icon:b.jsx(Fk,{}),disabled:s,type:"primary",onClick:()=>te(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.patchImage")})}),b.jsx(Rt,{icon:b.jsx($i,{}),iconPosition:"end",disabled:s||!C.showFlash,onClick:()=>me(),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.next")})]}),S===2&&b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,b.jsx("div",{style:{display:"flex",gap:8},children:b.jsx(Rt,{icon:b.jsx(NAe,{}),disabled:s,type:"primary",onClick:()=>d(!0),children:e("tonieboxes.esp32BoxFlashing.esp32flasher.flashEsp32")})}),b.jsx("div",{})]}),S===3&&b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ge,b.jsx("div",{}),b.jsx("div",{})]}),U]})]}):b.jsxs(b.Fragment,{children:[b.jsx(Nr,{children:b.jsx(Xn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:e("tonieboxes.esp32BoxFlashing.browserNotSupported"),type:"warning",showIcon:!0})}),b.jsxs(Nr,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki"),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiGeneral")})})})]}),b.jsxs(Nr,{children:[e("tonieboxes.esp32BoxFlashing.hintWiki2"),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/esp32/",target:"_blank",children:e("tonieboxes.esp32BoxFlashing.linkWikiSpecific")})})})]})]});return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.esp32BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.esp32BoxFlashing.title")}),r?re:b.jsx(Xn,{message:e("tonieboxes.esp32BoxFlashing.attention"),description:b.jsxs(b.Fragment,{children:[b.jsx(Nr,{children:e("tonieboxes.esp32BoxFlashing.hint")}),b.jsx(Nr,{children:b.jsx(Rt,{icon:b.jsx(Uee,{}),onClick:k,children:e("tonieboxes.esp32BoxFlashing.redirect")})})]}),type:"warning",showIcon:!0}),b.jsx(kd,{title:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwrite"),okText:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteConfirmButton"),cancelText:e("tonieboxes.esp32BoxFlashing.esp32flasher.cancel"),content:e("tonieboxes.esp32BoxFlashing.esp32flasher.extractingCertificates409ResponseForceOverwriteContent",{error:h}),open:p,handleOk:()=>$(!0),handleCancel:()=>f(!1)})]})]})]})},{Paragraph:Qtt}=wn,Ztt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Cl,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Cl,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.tonieMeeting.navigationTitle")}]}),b.jsx(Pn,{children:b.jsx(Qtt,{children:b.jsx(r2,{maxNoOfGuests:500,toniesSize:150,showQuestionMark:!1})})})]})]})},{Paragraph:Tq}=wn,Jtt=()=>{const{t:e}=$t(),t=e("faq",{returnObjects:!0});return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.faq.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.faq.title")}),b.jsx(Tq,{children:e("community.faq.intro")}),b.jsx(Tq,{children:t.map((n,r)=>b.jsxs("div",{style:{marginBottom:"20px"},children:[b.jsx("h3",{children:n.question}),b.jsx("p",{children:n.answer})]},r))})]})]})]})},i1=new xn(vn()),ent=()=>{const{t:e}=$t(),[t,n]=c.useState(""),[r,a]=c.useState(""),[i,o]=c.useState("");c.useEffect(()=>{i1.apiGetTeddyCloudSettingRaw("internal.version.v_long").then(d=>d.text()).then(d=>n(d)).catch(d=>console.error("Error fetching data:",d)),i1.apiGetTeddyCloudSettingRaw("internal.version.id").then(d=>d.text()).then(d=>a(d)).catch(d=>console.error("Error fetching data:",d)),i1.apiGetTeddyCloudSettingRaw("internal.version.git_sha_short").then(d=>d.text()).then(d=>o(d)).catch(d=>console.error("Error fetching data:",d))},[]);const s=(d,p)=>b.jsx("ul",{children:Object.keys(d).map(f=>{const m=d[f],g=`${p}.${f}`;return typeof m=="object"&&m.items?b.jsxs("li",{children:[e(`${g}.title`),s(m.items,g+".items")]},f):b.jsx("li",{children:e(g)},f)})}),l=e("home.features.features",{returnObjects:!0}),u=e("home.features.futureFeatures",{returnObjects:!0});return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Cl,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Cl,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("home.features.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("home.features.title")+" "+r}),b.jsx("p",{children:e("home.features.description")}),b.jsxs("p",{children:["Build:"," ",b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/teddycloud/tree/"+i,target:"_blank",children:t.replace(r,"")})]}),b.jsx("h2",{children:e("home.features.currentlyImplementedFeatures")}),s(l,"home.features.features"),b.jsx("h2",{children:e("home.features.yetToCome")}),s(u,"home.features.futureFeatures")]})]})]})},{Paragraph:o1}=wn,tnt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3235BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.cc3235BoxFlashing.title")}),b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),b.jsx(o1,{style:{marginTop:16}}),b.jsxs(o1,{children:[e("tonieboxes.cc3235BoxFlashing.hint"),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/",target:"_blank",children:"Patching your Toniebox for using with TeddyCloud"})})})]}),b.jsxs(o1,{children:[e("tonieboxes.cc3235BoxFlashing.hint2"),b.jsx("ul",{children:b.jsx("li",{children:b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3235/",target:"_blank",children:"CC3235 specific setup"})})})]})]})]})]})},s1=new xn(vn()),{Paragraph:Ii}=wn,{Step:nnt}=hg;function xq(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}const rnt=()=>{const{t:e}=$t(),t=ra.language,[n,r]=c.useState(0),[a,i]=c.useState([b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{}),b.jsx(b.Fragment,{})]),[o,s]=c.useState(!1),[l,u]=c.useState([]),[d,p]=c.useState(""),[f,m]=c.useState(""),[g,h]=c.useState(!1),v=(Y,X)=>{i(V=>{const H=[...V];return H[Y]=X,H})},S=Y=>Y.replace(/[^a-zA-Z0-9-.]/g,"").trim(),_=[{title:e("tonieboxes.cc3200BoxFlashing.preparations")},{title:e("tonieboxes.cc3200BoxFlashing.bootloader")},{title:e("tonieboxes.cc3200BoxFlashing.certificates")},{title:e("tonieboxes.cc3200BoxFlashing.patches")},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}],E=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.preparations")}),b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware"),style:{marginBottom:16}}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installCC3200tool")}),b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/cc3200tool?tab=readme-ov-file#installation",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installCC3200toolLink")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.connectToToniebox")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/wiki/cc3200/debug-port/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.connectToTonieboxLink")})]}),y=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.bootloader")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.installBootloader")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/install/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.installBootloaderLink")})]}),C=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.certificates")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.dumpCertificates")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/dump-certs/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.dumpCertificatesLink")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacement")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/flash-ca/cc3200/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.flashCAreplacementLink")})]}),T=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.patches")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.patchesMoreInformationLink")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.customUrlPatch")}),b.jsx(Xn,{description:e("tonieboxes.cc3200BoxFlashing.customUrlPatchHint"),type:"warning",style:{marginBottom:8}}),b.jsxs(Xt,{children:[b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.hintPatchHost")}),b.jsxs(Xt.Item,{children:[b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 200px",color:f?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.cc3200BoxFlashing.hostname")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en,{type:"text",value:d,onChange:Y=>{let X=S(Y.target.value),V="";X.length>12?V=e("tonieboxes.cc3200BoxFlashing.hostnameTooLong"):V="",p(X),m(V)}})})]}),f&&b.jsx("p",{style:{color:"#CC3010"},children:f})]})]})]}),x=[{key:"1",keyName:"activeImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.activeImgDesc"),values:"ofw1, ofw2, ofw3, cfw1, cfw2, cfw3, add1, add2, add3",defaultValue:"ofw1"},{key:"2",keyName:"waitForPress",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForPressDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"waitForBoot",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitForBootDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"waitTimeoutInS",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.waitTimeoutInSDesc"),values:"1-255",defaultValue:"60"},{key:"5",keyName:"minBatteryLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.minBatteryLevelDesc"),values:"",defaultValue:"8869"},{key:"6",keyName:"ofwFixValue",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixValueDesc"),values:"hex array with 4 bytes",defaultValue:'["4C", "01", "10", "00"]'},{key:"7",keyName:"ofwFixFlash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixFlashDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"serialLog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.serialLogDesc"),values:"true, false",defaultValue:"true"},{key:"9",keyName:"logLevel",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logLevelDesc"),values:"0-5",defaultValue:"DEBUG_LOG_LEVEL"},{key:"10",keyName:"logColor",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.logColorDesc"),values:"true, false",defaultValue:"false"}],R=[{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.key"),dataIndex:"keyName",key:"keyName",width:120},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.description"),dataIndex:"description",key:"description"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.values"),dataIndex:"values",key:"values"},{title:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.default"),dataIndex:"defaultValue",key:"defaultValue"}],w=[{key:"1",keyName:"checkHash",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.checkHashDesc"),values:"true, false",defaultValue:"true"},{key:"2",keyName:"hashFile",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.hashFileDesc"),values:"true, false",defaultValue:"false"},{key:"3",keyName:"watchdog",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.watchdogDesc"),values:"true, false",defaultValue:"false"},{key:"4",keyName:"ofwFix",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwFixDesc"),values:"true, false",defaultValue:"false"},{key:"5",keyName:"ofwSimBL",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.ofwSimBLDesc"),values:"true, false",defaultValue:"false"},{key:"6",keyName:"bootFlashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.bootFlashImgDesc"),values:"true, false",defaultValue:"false"},{key:"7",keyName:"flashImg",description:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.flashImgDesc"),values:"ex. /sys/pre-img.bin",defaultValue:""},{key:"8",keyName:"patches",description:b.jsxs(b.Fragment,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchesDesc")," ",b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/tree/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/patch",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchDirectory")}),", ",b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/custom-firmware/cc3200/hackieboxng-bl/ofw-patches/",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.patchWiki")})]}),values:'["noCerts.305", "noPass3.305"]',defaultValue:"[]"}],I={general:{activeImg:"ofw2",_descWaitForPress:"Waits for an earpress on startup",waitForPress:!1,_descWaitForBoot:"Waits for an earpress before firmware boot",waitForBoot:!1,waitTimeoutInS:60,_descMinBatteryLevel:"Divide through 2785 to get voltage",minBatteryLevel:8869,ofwFixFlash:"/sys/pre-img.bin",_descSerialLog:"Logging only works with the debug build!",serialLog:!1,_descLogLevel:"0:Trace - 5:Fatal",logLevel:0,_descLogColor:"Use colors in log output",logColor:!1},ofw1:{checkHash:!1,hashFile:!1,watchdog:!0,bootFlashImg:!0,flashImg:"/sys/pre-img.bin"},ofw2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!0,patches:["altCa.305","altUrl.custom.305"]},ofw3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,patches:["altCa.305","altUrl.tc.fritz.box"]},cfw1:{checkHash:!1,hashFile:!1,watchdog:!0},cfw2:{checkHash:!1,hashFile:!1,watchdog:!0},cfw3:{checkHash:!1,hashFile:!1,watchdog:!0},add1:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["blockCheck.310","noCerts.305","noPass3.310","noPrivacy.305","uidCheck.307"]},add2:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]},add3:{checkHash:!0,hashFile:!1,watchdog:!0,ofwFix:!0,ofwSimBL:!1,patches:["altCa.305","altUrl.305"]}},O=b.jsxs(b.Fragment,{children:[b.jsx("h3",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatches")}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesWithNgCfgJson")}),b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.introduction")}),b.jsx(xd,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.collapseTitle"),children:b.jsxs(Ii,{children:[b.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.title")}),b.jsxs(Ii,{children:[e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part1")," ",b.jsx(wt,{to:"https://github.com/toniebox-reverse-engineering/hackiebox_cfw_ng/blob/master/sd-bootloader-ng/bootmanager/sd/revvox/boot/ngCfg.json",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_link")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part2")]}),b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.section1_part3")}),b.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.generalSection")}),b.jsx(Wa,{dataSource:x,columns:R,pagination:!1,size:"small"}),b.jsx("h5",{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSection")}),e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.technicalDetailsCollapse.firmwareSectionIntro"),b.jsx(Wa,{dataSource:w,columns:R,pagination:!1,size:"small"})]})}],style:{marginBottom:16}}),b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part1")}),b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.section2_part2")}),b.jsx(xd,{size:"small",items:[{key:"1",label:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.examplengCFGJsonCollapse.collapseTitle"),children:b.jsx(Ii,{children:b.jsx(vre,{language:"json",style:xq()==="dark"?El:yl,customStyle:{padding:0,borderRadius:0,margin:0,border:"none"},children:JSON.stringify(I,null,2)})})}],style:{marginBottom:16}}),b.jsx(Ii,{style:{marginTop:16},children:e("tonieboxes.cc3200BoxFlashing.applyingPatchesSection.finish")})]});c.useEffect(()=>{v(n,(()=>{switch(n){case 0:return E;case 1:return y;case 2:return C;case 3:return T;case 4:return O;default:return b.jsx("div",{})}})())},[n,d,t,xq()]);const k=()=>{r(n-1)},P=()=>{r(n+1)},M=b.jsx(Rt,{icon:b.jsx(Nc,{}),disabled:o,onClick:()=>k(),children:e("tonieboxes.cc3200BoxFlashing.previous")}),N=Y=>{r(Y)},A=()=>{(async()=>{const X=await s1.apiGetTonieboxesIndex(),V=await Promise.all(X.map(async H=>{const K=await s1.apiGetTonieboxStatus(H.ID)?"Online":"Offline",Z=await s1.apiGetTonieboxVersion(H.ID),te={0:"UNKNOWN",1:"CC3200",2:"CC3235",3:"ESP32"};let se=null;return Z in te&&(se=te[Z]),{...H,status:K,version:se||"UNKNOWN"}}));u(V)})(),D()},D=()=>{h(!0)},L=()=>{h(!1)},$=()=>{h(!1)},F=[{title:e("tonieboxes.cc3200BoxFlashing.commonName"),dataIndex:"commonName",key:"commonName"},{title:e("tonieboxes.cc3200BoxFlashing.boxVersion"),dataIndex:"version",key:"version"},{title:e("tonieboxes.cc3200BoxFlashing.status"),dataIndex:"status",key:"status"}],B=b.jsxs(Sn,{title:e("tonieboxes.cc3200BoxFlashing.availableBoxes"),open:g,onOk:L,onCancel:$,children:[b.jsxs(Ii,{children:[b.jsx(Ii,{children:e("tonieboxes.cc3200BoxFlashing.newBoxAvailable")}),b.jsx(wt,{to:"https://tonies-wiki.revvox.de/docs/tools/teddycloud/setup/test-troubleshooting/",target:"_blank",children:e("tonieboxes.cc3200BoxFlashing.troubleShooting")})]}),b.jsx("h4",{children:e("tonieboxes.cc3200BoxFlashing.availableBoxes")}),b.jsx(Wa,{dataSource:l.filter(Y=>Y.version==="CC3200"),columns:F,rowKey:"ID",pagination:!1})]}),z={general:{_desc:"Changes Boxine URLs to custom ones.",_memPos:"",_fwVer:"3.0.5+"},searchAndReplace:[{_desc:"prod.de.tbs.toys to ",search:["70","72","6f","64","2e","64","65","2e","74","62","73","2e","74","6f","79","73","00"],replace:["70","72","6f","64","2e","72","65","76","76","6f","78","00","??","??","??","??","??"]},{_desc:"rtnl.bxcl.de to ",search:["72","74","6e","6c","2e","62","78","63","6c","2e","64","65","00"],replace:["72","74","6e","6c","2e","72","65","76","76","6f","78","00","??"]}]},U=(Y,X)=>{const V=Y.split("").map(te=>te.charCodeAt(0).toString(16).padStart(2,"0"));V.push("00");const H=V.length,K=X-H;return K>0?V.concat(Array.from({length:K},()=>"??")):V},j=Y=>({...z,searchAndReplace:(V=>V.map(H=>{const q=U(Y,H.replace.length);return{...H,_desc:`${H._desc}${Y}`,replace:q}}))(z.searchAndReplace)}),G=Y=>`{ - "general": { - "_desc": "${Y.general._desc}", - "_memPos": "${Y.general._memPos}", - "_fwVer": "${Y.general._fwVer}" - }, - "searchAndReplace": [${Y.searchAndReplace.map(X=>`{ - "_desc": "${X._desc}", - "search": ["${X.search.join('", "')}"], - "replace": ["${X.replace.join('", "')}"] - }`).join(", ")}] -}`,J=()=>{(X=>{const V=j(X),H=G(V),q=new Blob([H],{type:"application/json"}),K=URL.createObjectURL(q),Z=document.createElement("a");Z.href=K,Z.download="altUrl.custom.305.json",document.body.appendChild(Z),Z.click(),document.body.removeChild(Z)})(d)};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.cc3200BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.cc3200BoxFlashing.title")}),b.jsx(Qr,{children:e("tonieboxes.cc3200BoxFlashing.title")}),b.jsxs(Ii,{children:[b.jsx(hg,{current:n,onChange:N,children:_.map((Y,X)=>b.jsx(nnt,{title:Y.title,status:X===n&&X===_.length?"finish":X===n?"process":X12||d.length===0,type:"primary",onClick:J,children:e("tonieboxes.cc3200BoxFlashing.createPatch")})}),b.jsx("div",{children:b.jsx(Rt,{icon:b.jsx($i,{}),iconPosition:"end",disabled:o,onClick:()=>P(),children:e("tonieboxes.cc3200BoxFlashing.next")})})]}),n===4&&b.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[M,b.jsx("div",{children:b.jsx(Rt,{icon:b.jsx(uS,{}),disabled:o,type:"primary",onClick:A,children:e("tonieboxes.cc3200BoxFlashing.checkBoxes")})}),b.jsx("div",{})]})]})]}),B]})]})]})},ant=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.BoxFlashing.title")}),b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),"tbd"]})]})]})},int="/web/assets/3235_pcb-B8suHx9F.png",ont="/web/assets/3200_pcb-Czbc8CMj.png",snt="/web/assets/cc3200-B-jSkbsy.jpg",lnt="/web/assets/cc3235-Cr21bWbC.jpg",cnt="/web/assets/esp32_pcb-Df7OjtFN.png",unt="/web/assets/esp32-B_b6hCjy.jpg",{Paragraph:ks}=wn,{useToken:dnt}=Xa,pnt=()=>{const{t:e}=$t(),{token:t}=dnt(),[n,r]=c.useState(""),[a,i]=c.useState(""),[o,s]=c.useState(null),[l,u]=c.useState(null),d=y=>y.replace(/[^a-zA-Z0-9-:]/g,"").trim(),p=async()=>{s(null),u(null);try{const y=await fetch(`https://api.macvendors.com/${encodeURIComponent(n)}`);if(!y.ok)throw new Error("MAC address not found or invalid");const C=await y.text();s(C)}catch(y){u(y.message)}},[f,m]=c.useState(o!=null&&o.toLowerCase().includes("espressif")?"esp32":"cc3200");c.useEffect(()=>{o!=null&&o.toLowerCase().includes("espressif")?m("esp32"):m("cc3200")},[o]);const g=b.jsxs(b.Fragment,{children:[b.jsx(ks,{children:e("tonieboxes.boxSetup.identifyVersion.cc3200text")}),b.jsx(Yl,{src:ont,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB CC3200"})," ",b.jsx(Yl,{src:snt,height:300,alt:"Chip CC3200"})]}),h=b.jsxs(b.Fragment,{children:[b.jsx(ks,{children:e("tonieboxes.boxSetup.identifyVersion.cc3235text")}),b.jsx(Yl,{src:int,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB CC3235"})," ",b.jsx(Yl,{src:lnt,height:300,alt:"Chip CC3235"})]}),v=b.jsxs(b.Fragment,{children:[b.jsx(ks,{children:e("tonieboxes.boxSetup.identifyVersion.esp32text")}),b.jsx(Yl,{src:cnt,width:400,style:{maxWidth:window.innerWidth<448?"70%":"100%"},alt:"PCB ESP32"})," ",b.jsx(Yl,{src:unt,height:300,alt:"Chip ESP32"})]}),S=[{key:"cc3200",label:"CC3200",children:g},{key:"cc3235",label:"CC3235",children:h},{key:"esp32",label:"ESP32",children:v}],_=b.jsxs(b.Fragment,{children:[b.jsx(Tk,{activeKey:f,onChange:y=>m(y),defaultActiveKey:o!=null&&o.toLowerCase().includes("espressif")?"esp32":"cc3200",items:S.filter(y=>((o==null?void 0:o.toLowerCase().includes("texas"))||!o)&&y.key==="cc3200"||((o==null?void 0:o.toLowerCase().includes("texas"))||!o)&&y.key==="cc3235"||((o==null?void 0:o.toLowerCase().includes("espressif"))||!o)&&y.key==="esp32"),indicator:{size:y=>y-20,align:"center"}}),b.jsxs(ks,{style:{marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.proceedToFlash1")," ",b.jsxs(wt,{to:`../tonieboxes/boxsetup/${f}/flashing`,children:[f.toUpperCase()," ",e("tonieboxes.boxSetup.identifyVersion.proceedToFlashLinkText")]})]})]}),E=()=>{r(""),s(null),i(""),u(null)};return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.identifyVersion.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.boxSetup.identifyVersion.title")}),b.jsxs(Xt,{children:[b.jsxs(ks,{children:[e("tonieboxes.boxSetup.identifyVersion.identifyUsingMac")," "]}),b.jsxs(Xt.Item,{children:[b.jsxs(Oa,{align:"middle",style:{display:"flex",alignItems:"center"},children:[b.jsx(Rn,{style:{flex:"0 0 250px",color:a?"#CC3010":"unset"},children:b.jsx("label",{children:e("tonieboxes.boxSetup.identifyVersion.mac")})}),b.jsx(Rn,{style:{flex:"1 1 auto"},children:b.jsx(en,{type:"text",value:n,onChange:y=>{let C=d(y.target.value),T="";C.length>17?T=e("tonieboxes.boxSetup.identifyVersion.boxMacTooLong"):T="",r(C),i(T)},addonBefore:b.jsx(na,{onClick:E,style:{color:n?t.colorText:t.colorTextDisabled,cursor:n?"pointer":"default"}})})})]}),a&&b.jsx("p",{style:{color:"#CC3010"},children:a})]}),b.jsx(Rt,{icon:b.jsx(Fk,{}),disabled:n.length>17||n.length===0,type:"primary",onClick:p,children:e("tonieboxes.boxSetup.identifyVersion.identify")}),b.jsxs(ks,{style:{fontSize:"small",marginTop:16},children:[e("tonieboxes.boxSetup.identifyVersion.macvendors")," ",b.jsx(wt,{to:"https://macvendors.com/",target:"_blank",children:e("tonieboxes.boxSetup.identifyVersion.macvendorsLink")})]})]}),o?b.jsxs(b.Fragment,{children:[b.jsx(Xn,{style:{marginTop:16},type:"success",description:b.jsxs(b.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.vendor"),": ",b.jsx("b",{children:o})," ",e("tonieboxes.boxSetup.identifyVersion.boxVersion"),o.includes("Espressif")?b.jsx("b",{children:" ESP32"}):b.jsxs(b.Fragment,{children:[b.jsx("b",{children:" CC3200"})," ",e("tonieboxes.boxSetup.identifyVersion.or"),b.jsx("b",{children:" CC3235"})]})," ",e("tonieboxes.boxSetup.identifyVersion.version"),"."]})}),o.toLowerCase().includes("texas")?b.jsx(ks,{style:{marginTop:16},children:e("tonieboxes.boxSetup.identifyVersion.tiInstruction")}):""]}):l?b.jsx(Xn,{style:{marginTop:16},type:"error",description:b.jsx(b.Fragment,{children:e("tonieboxes.boxSetup.identifyVersion.errorMac")})}):"",b.jsxs(ks,{style:{marginTop:16},children:[o?"":b.jsxs(b.Fragment,{children:[e("tonieboxes.boxSetup.identifyVersion.generalInstruction1")," ",b.jsx(Jt,{title:e("tonieboxes.boxSetup.openBoxGuide.linkTooltip"),children:b.jsx(wt,{to:"/tonieboxes/boxsetup/openboxguide",children:e("tonieboxes.boxSetup.identifyVersion.generalInstructionLinkText")})})," ",e("tonieboxes.boxSetup.identifyVersion.generalInstruction2")]}),_]})]})]})]})},fnt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.BoxFlashing.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.BoxFlashing.title")}),b.jsx(Xn,{type:"warning",closeIcon:!0,showIcon:!0,message:e("tonieboxes.hintLatestFirmwareTitle"),description:e("tonieboxes.hintLatestFirmware")}),"tbd"]})]})]})},aie=(e,t,n="")=>{const r=[];return Object.keys(e).forEach(a=>{const i=n?`${n}.${a}`:a;Array.isArray(e[a])?Array.isArray(t[a])?e[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;t[a][s]||r.push(l,u)}):e[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;r.push(l,u)}):typeof e[a]=="object"&&e[a]!==null?!(a in t)||typeof t[a]!="object"?r.push(...iie(e[a],i)):r.push(...aie(e[a],t[a],i)):a in t||r.push(i)}),r},iie=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((i,o)=>{n.push(`${a}[${o}].question`,`${a}[${o}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...iie(e[r],a)):n.push(a)}),n},oie=(e,t,n="")=>{const r=[];return Object.keys(t).forEach(a=>{const i=n?`${n}.${a}`:a;Array.isArray(t[a])?Array.isArray(e[a])?t[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;e[a][s]||r.push(l,u)}):t[a].forEach((o,s)=>{const l=`${i}[${s}].question`,u=`${i}[${s}].answer`;r.push(l,u)}):typeof t[a]=="object"&&t[a]!==null?!e[a]||typeof e[a]!="object"?r.push(i):r.push(...oie(e[a],t[a],i)):a in e||r.push(i)}),r},mnt=()=>{const{t:e}=$t(),[t,n]=c.useState({}),[r,a]=c.useState({}),[i,o]=c.useState({}),[s,l]=c.useState(!0),u=["en","fr","de","es"],d="en";return c.useEffect(()=>{(async()=>{const f={};for(let m of u){const h=await(await fetch(`/web/translations/${m}.json`)).json();f[m]=h}n(f),l(!1)})()},[]),c.useEffect(()=>{if(!s&&t[d]){const p=t[d],f={},m={};u.forEach(g=>{if(g!==d){const h=t[g];f[g]=aie(p,h),m[g]=oie(p,h)}}),a(f),o(m)}},[s,t]),s?b.jsx("p",{children:"Loading translations..."}):b.jsxs(b.Fragment,{children:[b.jsx("h2",{children:e("community.translations.missingExtraKeysHeadline")}),u.every(p=>{var f,m;return p===d||((f=r[p])==null?void 0:f.length)===0&&((m=i[p])==null?void 0:m.length)===0})?b.jsx("p",{children:e("community.translations.noDiscrepancies")}):b.jsx("div",{children:u.map(p=>{var f,m;return p!==d&&b.jsxs("div",{children:[b.jsxs("h2",{children:[e("community.translations.language"),": ",p.toUpperCase()]}),b.jsx("h3",{children:e("community.translations.missingKeys")}),((f=r[p])==null?void 0:f.length)>0?b.jsx("ul",{children:r[p].map((g,h)=>b.jsx("li",{children:g},h))}):b.jsx("p",{children:e("community.translations.noMissingKeys")}),b.jsxs("h3",{children:[e("community.translations.extraKeys"),":"]}),((m=i[p])==null?void 0:m.length)>0?b.jsx("ul",{children:i[p].map((g,h)=>b.jsx("li",{children:g},h))}):b.jsx("p",{children:e("community.translations.noExtraKeys")})]},p)})})]})},sie=(e,t="")=>{const n=[];return Object.keys(e).forEach(r=>{const a=t?`${t}.${r}`:r;Array.isArray(e[r])?e[r].forEach((i,o)=>{n.push(`${a}[${o}].question`,`${a}[${o}].answer`)}):typeof e[r]=="object"&&e[r]!==null?n.push(...sie(e[r],a)):n.push(a)}),n},gnt=(e,t)=>{const n=t.split(".");let r=e;for(let a of n){if(a.includes("[")){const[i,o]=a.split("["),s=parseInt(o.replace("]",""),10);if(r=r[i],Array.isArray(r))r=r[s];else return}else r=r?r[a]:void 0;if(r===void 0)return}return typeof r=="string"?r:void 0},hnt=()=>{const{t:e}=$t(),[t,n]=c.useState({}),[r,a]=c.useState(!0),i=["en","fr","de","es"],o="en";if(c.useEffect(()=>{(async()=>{const p={};for(let f of i){const g=await(await fetch(`/web/translations/${f}.json`)).json();p[f]=g}n(p),a(!1)})()},[]),r)return b.jsx("p",{children:"Loading translations..."});const s=sie(t[o]),l=[{title:e("community.translations.key"),dataIndex:"key",key:"key",width:"20%",render:d=>b.jsx("div",{style:{wordWrap:"break-word",wordBreak:"break-all"},children:d})},...i.map(d=>({title:d.toUpperCase(),dataIndex:d,key:d}))],u=s.map(d=>{const p={key:d};return i.forEach(f=>{const m=gnt(t[f],d);p[f]=m||"<"+e("community.translations.missing")+">"}),p});return b.jsxs(b.Fragment,{children:[b.jsx("h2",{children:e("community.translations.allTranslationStrings")}),b.jsx(Wa,{size:"small",columns:l,dataSource:u,rowKey:"key",pagination:!1})]})},{Paragraph:vnt}=wn,_nt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ya,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ya,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("community.navigationTitle")},{title:e("community.translations.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("community.translations.title")}),b.jsx(vnt,{children:e("community.translations.hint")}),b.jsx(mnt,{}),b.jsx(hnt,{})]})]})]})},{Paragraph:bnt}=wn,Snt=()=>{const{t:e}=$t();return b.jsxs(b.Fragment,{children:[b.jsx(Bn,{children:b.jsx(Ta,{})}),b.jsxs(Un,{children:[b.jsx(In,{children:b.jsx(Ta,{})}),b.jsx(jn,{items:[{title:e("home.navigationTitle")},{title:e("tonieboxes.navigationTitle")},{title:e("tonieboxes.boxSetup.openBoxGuide.navigationTitle")}]}),b.jsxs(Pn,{children:[b.jsx("h1",{children:e("tonieboxes.boxSetup.openBoxGuide.title")}),b.jsx(bnt,{children:e("tonieboxes.boxSetup.openBoxGuide.intro")}),b.jsxs("ul",{children:[b.jsx("li",{children:b.jsx(wt,{to:e("tonieboxes.boxSetup.openBoxGuide.link1"),target:"_blank",children:e("tonieboxes.boxSetup.openBoxGuide.link1")})}),b.jsx("li",{children:b.jsx(wt,{to:"https://www.youtube.com/watch?v=Cv9ID4-P6_A",target:"_blank",children:"https://www.youtube.com/watch?v=Cv9ID4-P6_A"})})]})]})]})]})};function l1(){const e=window.matchMedia("(prefers-color-scheme: dark)").matches,t=localStorage.getItem("theme");return t==="auto"?e?"dark":"light":t}function Ent(){const{defaultAlgorithm:e,darkAlgorithm:t}=Xa,n=u=>{const d=document.querySelector('meta[name="theme-color"]');d&&d.setAttribute("content",u),document.body.style.backgroundColor=u},[r,a]=c.useState(()=>localStorage.getItem("theme")||"auto"),[i,o]=c.useState(l1()==="dark"),s=()=>{a(u=>u==="dark"?"light":u==="light"?"auto":"dark")};c.useEffect(()=>{localStorage.setItem("theme",r),o(l1()==="dark"),l1()==="dark"?n("#000000"):n("#f5f5f5")},[r]);let l;return r==="dark"?l=b.jsx(I1e,{onClick:s}):r==="light"?l=b.jsx(bAe,{onClick:s}):l=b.jsx(COe,{onClick:s}),b.jsx(_o,{theme:{algorithm:i?t:e,components:{Slider:{dotSize:3,handleSize:6,handleSizeHover:8,railSize:4},Popover:{titleMinWidth:0}}},children:b.jsx("div",{className:"App",children:b.jsx(Ho,{style:{minHeight:"100vh"},children:b.jsx(B2e,{basename:"/web",children:b.jsxs(G2e,{children:[b.jsx(LXe,{themeSwitch:l}),b.jsx(Ho,{children:b.jsxs(D2e,{children:[b.jsx(Nn,{path:"/",element:b.jsx(hXe,{})}),b.jsx(Nn,{path:"/home/stats",element:b.jsx(TXe,{})}),b.jsx(Nn,{path:"/home/features",element:b.jsx(ent,{})}),b.jsx(Nn,{path:"/home/toniemeeting",element:b.jsx(Ztt,{})}),b.jsx(Nn,{path:"/tonies",element:b.jsx(zXe,{})}),b.jsx(Nn,{path:"/tonies/system-sounds",element:b.jsx(VXe,{})}),b.jsx(Nn,{path:"/tonies/content",element:b.jsx(NZe,{})}),b.jsx(Nn,{path:"/tonies/library",element:b.jsx(AZe,{})}),b.jsx(Nn,{path:"/tonies/encoder",element:b.jsx($Ze,{})}),b.jsx(Nn,{path:"/tonies/tap",element:b.jsx(BZe,{})}),b.jsx(Nn,{path:"/tonieboxes",element:b.jsx(WZe,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup",element:b.jsx(ant,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/identifyboxversion",element:b.jsx(pnt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/openboxguide",element:b.jsx(Snt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/esp32/flashing",element:b.jsx(Xtt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/esp32/legacy",element:b.jsx(fnt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/cc3200/flashing",element:b.jsx(rnt,{})}),b.jsx(Nn,{path:"/tonieboxes/boxsetup/cc3235/flashing",element:b.jsx(tnt,{})}),b.jsx(Nn,{path:"/settings",element:b.jsx(VUe,{})}),b.jsx(Nn,{path:"/settings/certificates",element:b.jsx(eXe,{})}),b.jsx(Nn,{path:"/settings/rtnl",element:b.jsx(JKe,{})}),b.jsx(Nn,{path:"/community",element:b.jsx(YZe,{})}),b.jsx(Nn,{path:"/community/faq",element:b.jsx(Jtt,{})}),b.jsx(Nn,{path:"/community/contribution",element:b.jsx(KZe,{})}),b.jsx(Nn,{path:"/community/contribution/tonies-json",element:b.jsx(ZZe,{})}),b.jsx(Nn,{path:"/community/contribution/translations",element:b.jsx(_nt,{})}),b.jsx(Nn,{path:"/community/contributors",element:b.jsx(JZe,{})}),b.jsx(Nn,{path:"/community/changelog",element:b.jsx(eJe,{})}),b.jsx(Nn,{path:"/uitest",element:b.jsx(q2e,{})}),b.jsx(Nn,{path:"/*",element:b.jsx(yXe,{})})]})}),b.jsx(BXe,{})]})})})})})}const ynt=c1.createRoot(document.getElementById("root"));ynt.render(b.jsx(ce.StrictMode,{children:b.jsx(Ent,{})}))});export default Cnt(); diff --git a/contrib/data/www/web/assets/tb-esp32-uart-BDPWj6EB.png b/contrib/data/www/web/assets/tb-esp32-uart-BDPWj6EB.png new file mode 100644 index 00000000..8a5741ff Binary files /dev/null and b/contrib/data/www/web/assets/tb-esp32-uart-BDPWj6EB.png differ diff --git a/contrib/data/www/web/assets/tb-esp32-uart-clamp-D_86EMpu.png b/contrib/data/www/web/assets/tb-esp32-uart-clamp-D_86EMpu.png new file mode 100644 index 00000000..357a1411 Binary files /dev/null and b/contrib/data/www/web/assets/tb-esp32-uart-clamp-D_86EMpu.png differ diff --git a/contrib/data/www/web/index.html b/contrib/data/www/web/index.html index 749e1ea0..43d05a82 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 408fd61d..a2555035 100644 --- a/contrib/data/www/web/translations/de.json +++ b/contrib/data/www/web/translations/de.json @@ -329,12 +329,12 @@ "server": { "boxineStatusOffline": "Nicht mit Boxine/Toniecloud verbunden", "boxineStatusOnline": "Mit Boxine/Toniecloud verbunden", - "teddycloudStatusOffline": "Teddycloud Server offline", - "teddycloudStatusOnline": "Teddycloud Server online" + "teddycloudStatusOffline": "TeddyCloud Server offline", + "teddycloudStatusOnline": "TeddyCloud Server online" }, "settings": { "certificates": { - "hint": "Diese sind die Zertifikate, die für die allgemeine Nutzung von der Teddycloud genutzt werden. Für deine Tonieboxen können spezifische genutzt werden. Um diese zu ändern, gehe zu ", + "hint": "Diese sind die Zertifikate, die für die allgemeine Nutzung von der TeddyCloud genutzt werden. Für deine Tonieboxen können spezifische genutzt werden. Um diese zu ändern, gehe zu ", "information": "Information", "navigationTitle": "Zertifikate", "title": "Zertifikate", @@ -381,7 +381,36 @@ "tonieboxes": { "accessApiDisabled": "Zugriff auf TeddyCloud APIs deaktiviert.", "accessApiEnabled": "Zugriff auf TeddyCloud APIs aktiviert.", + "boxFlashingCommon": { + "certificatesIntro": "Beim ersten Start wird TeddyCloud das CA und die Zertifikate mit dem Startdatum 2015-11-03 generieren. Diese werden unter /certs/server/ abgelegt. Dabei wird auch der Ersatz-CA für die Toniebox unter certs/server/ca.der erzeugt.", + "dumpCertificates": "Zertifikate für TeddyCloud entnehmen", + "dumpCertificatesIntro1": "Du benötigst die flash:/cert/ca.der (Boxine CA), flash:/cert/client.der (Client-Zertifikat) und flash:/cert/private.der (Client-Privatschlüssel). Lege diese Dateien unter /certs/client/* ab. Du kannst die Box entweder mit dem Akku betreiben (achte darauf, dass er nicht leer ist) oder mit dem Netzteil (empfohlen).", + "dumpCertificatesIntro2": "Behalte eine Sicherungskopie der Zertifikate, besonders der client.der und private.der. Ohne diese kannst du dich nicht mehr mit der Cloud verbinden!", + "preparations": "Vorbereitungen", + "certificates": "Zertifikate", + "dns": "DNS", + "dnsHint": "DNS-Anpassungen für TeddyCloud", + "dnsText1": "Setze die DNS-Einträge für prod.de.tbs.toys und rtnl.bxcl.de auf die IP-Adresse der teddyCloud-Server.", + "dnsBeware": "Achtung!", + "dnsBewareText": "Dies wird die Verbindung aller Tonieboxen in deinem Netzwerk unterbrechen, die nicht mit deinem Ersatz-CA gepatcht sind!", + "dnsText2": "Alternativ kannst du das Gateway für die Tonieboxen auf die IP der teddyCloud setzen. Mit OpenWRT funktioniert es so:" + }, "boxSetup": { + "navigationTitle": "Toniebox hinzufügen", + "title": "Füge deine Toniebox zu TeddyCloud hinzu", + "setupTeddyCloud": "TeddyCloud einrichten", + "setupTeddyCloudText": "Herzlichen Glückwunsch! Da du diese Seite erreicht hast, hast du TeddyCloud erfolgreich eingerichtet!", + "identifyTonieboxVersion": "Identifiziere deine Toniebox-Version", + "identifyTonieboxVersionText": "Der erste Schritt, um deine Toniebox zu TeddyCloud hinzuzufügen, ist die Identifizierung der Version. Die Version bestimmt die spezifische Methode, um deine Toniebox mit TeddyCloud kompatibel zu machen.", + "flashBox": "Toniebox flashen", + "flashBoxText": "Um deine Toniebox zu TeddyCloud hinzuzufügen, sind einige Modifikationen erforderlich. Abhängig von deiner Toniebox-Version gibt es drei spezifische Anleitungen:", + "useIt": "Nutze es!", + "useItText": "Jetzt kannst du deinen Tonies oder eigenen Tags benutzerdefinierte Inhalte zuweisen, dich zurücklehnen und die endlosen Möglichkeiten deiner freigeschalteten Toniebox genießen!", + "boxSetupIntro1": "Diese Seite bietet eine vollständige Übersicht über die erforderlichen Schritte, um deine Toniebox zu TeddyCloud hinzuzufügen. Wenn du auf Probleme stößt, besuche gerne das", + "boxSetupIntroForum": "Forum", + "boxSetupIntro2": "oder trete der", + "boxSetupIntroTelegram": "Telegram-Gruppe", + "boxSetupIntro3": "bei, um Unterstützung von der Community zu erhalten.", "identifyVersion": { "navigationTitle": "Tonieboxversion", "title": "Identifiziere deine Toniebox-Version", @@ -423,13 +452,11 @@ "hint2": "Bitte folge dann dem CC3200-Pfad:", "linkGeneral": "Patching deiner Toniebox zur Nutzung mit TeddyCloud", "linkSpecific": "CC3200 spezifische Einrichtung", - "navigationTitle": "CC3200 Box Flashing", + "navigationTitle": "CC3200", "title": "CC3200 Box Flashing", "proceedWithCustomBootloader": "Mit dem Custom Bootloader fortfahren", "proceedWithoutCustomBootloader": "Ohne den Custom Bootloader fortfahren", - "preparations": "Vorbereitungen", "bootloader": "Bootloader", - "certificates": "Zertifikate", "patches": "Patches", "applyingPatches": "Patches anwenden", "previous": "Zurück", @@ -453,12 +480,6 @@ "customUrlPatchHint": "Bitte erstelle diesen Patch nur, wenn die vorhandenen Patches altUrl.305.json und altUrl.tc.fritz.box.json mit deiner aktuellen TeddyCloud-Installation nicht funktionieren. Wenn sie deinen Anforderungen entsprechen, kannst du mit 'Weiter' fortfahren.", "applyingPatchesWithNgCfgJson": "Patches mit ngCfg.json anwenden", "applyingPatchesWithNgCfgJsonLink": "Hier findest du die Anleitung", - "availableBoxes": "Verfügbare Toniebox(en) (Nur CC3200 Tonieboxen)", - "newBoxAvailable": "Bitte überprüfe, ob die neue Box in der Tabelle unten angezeigt wird. Wenn sie nicht aufgeführt ist, ist möglicherweise etwas schiefgegangen. Stelle sicher, dass die Box in deinem WLAN sichtbar ist, dass der Ersatz-CA geflasht wurde, dass du den richtigen Firmware-Slot bootest, dass alle erforderlichen Patches gesetzt sind und dass die richtige IP/URL für TeddyCloud verwendet wird. Wenn die Box immer noch nicht erscheint, schaue hier nach:", - "troubleShooting": "Fehlerbehebung", - "commonName": "MAC-Adresse der Toniebox", - "boxVersion": "Version", - "status": "Status", "hintPatchHost": "Gib den Hostnamen deiner TeddyCloud-Instanz ein und klicke dann auf 'Erstelle altUrl.custom.305.patch'. Der Patch wird danach automatisch heruntergeladen.", "hostname": "TeddyCloud-Hostname:", "hostnameTooLong": "Der Hostname darf nicht länger als 12 Zeichen sein.", @@ -512,8 +533,41 @@ "hint2": "Bitte folge dann dem CC3235-Pfad:", "linkGeneral": "Patching deiner Toniebox zur Nutzung mit TeddyCloud", "linkSpecific": "CC3235 spezifische Einrichtung", - "navigationTitle": "CC3235 Box Flashing", - "title": "CC3235 Box Flashing" + "navigationTitle": "CC3235", + "title": "CC3235 Box Flashing", + "installCC3200tool": "Installiere das CC3200 Tool", + "installCC3200toolLink": "Installationsanweisungen findest du hier", + "dumpCertificates": "Zertifikate für TeddyCloud auslesen", + "dumpCertificatesLink": "Anleitung zum Auslesen der Zertifikate findest du hier", + "flashCAreplacement": "CA-Ersatz für TeddyCloud flashen", + "flashCAreplacementLink": "Anweisungen zum Flashen findest du hier", + "dnsHint": "DNS-Anpassungen für TeddyCloud", + "dnsLink": "Anleitung für DNS-Anpassungen findest du hier", + "previous": "Zurück", + "next": "Weiter", + "certificatesDumpedCAreplacementFlashed": "Zertifikate ausgelesen und CA-Ersatz geflasht", + "checkBoxes": "Verfügbare Boxen anzeigen", + "preparationText": "Bitte verbinde deine Toniebox mit deinem WLAN und aktualisiere die Firmware. Viele Boxen werden mit einer Produktions-Firmware ausgeliefert, die aktualisiert werden muss. Andernfalls funktioniert die Box nicht wie vorgesehen. Es ist nicht notwendig, die Box mit der mytonies App zu verbinden.", + "preparationTextLink": "Verbinde die Box ohne den Setup-Assistenten.", + "dumpCertificatesCC3235": "Du musst sie manuell aus dem Flash des Toniebox-Chips mit einer SOP8-Klammer direkt aus dem Speicher oder durch Auslöten extrahieren. Das Lesen im eingebauten Zustand kann schwierig sein, ist aber möglich. Wir empfehlen Flashrom als Tool dafür. Es könnte notwendig sein, eine neuere Version davon zu verwenden.", + "readingFlashPico": "Flash mit Pico lesen", + "readingFlashPicoText1": "Als Probe kannst du einen Raspberry Pi Pico mit dem Serprog-Protokoll-Firmware verwenden.", + "installSerprogFirmware": "Serprog-Firmware installieren", + "serprogFirmwareLink": "Installationsanweisungen hier finden", + "readingFlashPicoText2": "Du kannst mehrere Lesevorgänge durchführen und die Ergebnisse vergleichen.", + "extractCertificates": "Zertifikate extrahieren", + "useCC3200ToolToExtract": "Du kannst das CC3200-Tool verwenden, um deine Zertifikate anschließend aus dem Flash-Dump zu extrahieren.", + "flashCAreplacementText1": "Ersetze die originale CA in deinem Flash-Dump durch die Ersatz-CA und flashe sie zurück auf deine Box.", + "flashCAreplacementText2": "Falls die Box gar keine Verbindung herstellt (Codewort: Eule), kannst du versuchen, mit dem alten gencerts.sh neue Zertifikate zu generieren und die Box neu zu flashen.", + "dnsText1": "Setze die DNS-Einträge für prod.de.tbs.toys und rtnl.bxcl.de auf die IP-Adresse des TeddyCloud-Servers.", + "dnsBeware": "Achtung!", + "dnsBewareText": "Dies wird die Verbindung aller Tonieboxen in deinem Netzwerk unterbrechen, die nicht mit deiner Ersatz-CA gepatcht wurden!", + "dnsText2": "Alternativ kannst du das Gateway für die Tonieboxen auf die IP von TeddyCloud setzen. Mit OpenWRT funktioniert es so:", + "flashCollapse": { + "collapseTitle": "Hilfe: Firmware-Flash des CC3235", + "cc3235flash": "Flash mit Pins", + "cc3235flashWithSMDGrippers": "Flash mit verbundenen SMD-Klammern" + } }, "confirmDeleteDialog": "Möchtest du die Toniebox {{tonieboxToDelete}} wirklich löschen?", "confirmDeleteModal": "Bestätige Löschvorgang", @@ -536,7 +590,7 @@ }, "esp32BoxFlashing": { "attention": "Achtung", - "browserNotSupported": "ESP32 Box Flashing kann nur mit Browsern genutzt werden, die die Web Serial API unterstützen. Dein genutzter Browser unterstützt diese Funktion leider nicht. Bitte verwende einen Browser, der die Web Serial API unterstützt, wie z.B. Chrome oder Edge.", + "browserNotSupported": "Die integrierte ESP32 Box Flashing Funktionalität kann nur mit Browsern genutzt werden, die die Web Serial API unterstützen. Dein genutzter Browser unterstützt diese Funktion leider nicht. Bitte verwende einen Browser, der die Web Serial API unterstützt, wie z.B. Chrome oder Edge.", "esp32flasher": { "automatically": "Automatisch", "cancel": "Abbrechen", @@ -583,9 +637,9 @@ "hintPatchFlash": "Um das ausgewählte / gelesene Flash mit dem dem CA-Zertifikat deiner TeddyCloud zu versehen und ggf. weitere Anpassungen wie Hostname der TeddyCloud und/oder der WiFi-Zugangsdaten vorzunehmen, klicke nach Eingabe auf \"Patch\" oder gehe ohne Patching direkt zum nächsten Schritt. ", "hintPatchHost": "Gib den gewünschten Hostnamen deiner TeddyCloud-Instanz ein.", "hintPatchWifi": "Gib optional die WiFi Zugangsdaten für deine Toniebox ein.", - "hintReadESP32ImportFlash": "Trenne die Stromversorgung deiner Toniebox. Stelle sicher, dass der UART im 3.3V Modus arbeitet. Verbinde dein UART mit deinem PC und der Toniebox (Toniebox J103 [TxD | RxD | GND] -> UART: TxD -> RxD, RxD -> TxD, GND -> GND). Schliesse die J100-Pinlöcher kurz. Klicke auf \"Flash lesen\" oder \"Datei laden\" und wähle dann den COM-Port. Schließe dann deine Toniebox an die Stromversorgung an und warte, bis der Schritt abgeschlossen ist!", + "hintReadESP32ImportFlash": "Trenne die Stromversorgung deiner Toniebox. Stelle sicher, dass der UART im 3.3V Modus arbeitet. Verbinde dein UART mit deinem PC und der Toniebox. Schliesse die J100-Pinlöcher kurz. Klicke auf \"Flash lesen\" oder \"Datei laden\" und wähle dann den COM-Port. Schließe dann deine Toniebox an die Stromversorgung an und warte, bis der Schritt abgeschlossen ist!", "hostname": "TeddyCloud-Hostname:", - "hostnameSettings": "Hostname Teddycloud", + "hostnameSettings": "Hostname TeddyCloud", "hostnameTooLong": "Der Hostname sollte weniger als 13 Zeichen lang sein.", "infoTable": "ESP32 info", "invalidSerialPort": "Ungültiger serieller Port", @@ -618,15 +672,39 @@ "wifiSSID": "WiFi SSID:", "wifiSettings": "WiFi Daten (optional)", "writingFinished": "Schreiben abgeschlossen", - "writingFlash": "Schreibe {{size}} MiB Flash..." + "writingFlash": "Schreibe {{size}} MiB Flash...", + "connectESPCollapseTitle": "Hilfe: UART mit Toniebox verbinden" }, "hint": "Dieser Abschnitt ist nur verfügbar, wenn HTTPS verwendet wird und du einen Browser nutzt, der die Web Serial API unterstützt, wie z.B. Chrome oder Edge. Wenn du deine ESP32 Toniebox flashen willst, dann klicke bitte auf \"Weiter zu HTTPS\", du wirst dann automatisch auf die HTTPS Version weitergeleitet. Es kann sein, dass dein Browser meldet, dass die Verbindung nicht sicher ist. Dies ist ok, bestätige es und öffne die Seite dennoch. Eventuell musst du dafür weitere Details bei der Meldung anzeigen.", - "hintWiki": "Falls du keinen WebSerial fähigen Browser nutzen möchtest, hier findest du eine Schritt-für-Schritt-Anleitung:", - "hintWiki2": "Bitte folge dann dem ESP32-Pfad:", + "hintLegacyApproach": "Wenn du lieber keinen Browser verwenden möchtest, der WebSerial unterstützt, kannst du immer noch die Legacy-Methode verwenden (kein GUI, nur Eingabeaufforderung).", "httpsSettings": "HTTPS Settings", + "legacy": { + "followLegacyApproach": "Oder verwende die Legacy-Methode (kein GUI, nur Eingabeaufforderung).", + "navigationTitle": "Legacy-Methode", + "title": "Legacy-Methode zum Flashen", + "hint": "Es gibt eine direkte Unterstützung zum Flashen deiner ESP32 Toniebox mit TeddyCloud!", + "preparationText": "Bitte verbinde deine Toniebox mit deinem WLAN und aktualisiere die Firmware. Viele Boxen werden mit einer Produktionsfirmware ausgeliefert, die aktualisiert werden muss. Andernfalls funktioniert die Box nicht wie vorgesehen. Es ist nicht notwendig, die Box mit der Mytonies-App/Konto zu verbinden.", + "preparationTextLink": "Verbinde die Box ohne den Einrichtungsassistenten.", + "installESPTool": "Aktuelles ESPtool installieren", + "installESPToolText": "Du kannst den Flash-Speicher über den Debug-Port der Box und das esptool extrahieren. Bewahre dein Backup auf! Bitte verwende eine aktuelle Version des esptool. (>v4.4)", + "installESPToolLink": "ESPtool-Repository auf GitHub", + "connectESP32": "Verbinde UART mit der Toniebox", + "next": "Weiter", + "previous": "Zurück", + "checkDumpIsOk": "Stelle sicher, dass der Dump in Ordnung ist und du die Zertifikate extrahieren kannst.", + "dumpCertificates": "Zertifikate für TeddyCloud extrahieren", + "flashCAreplacement": "CA-Ersatz für TeddyCloud flashen", + "flashCAreplacementText1": "Ersetze das originale CA in deinem Flash-Dump mit esptool.", + "flashCAreplacementText2": "Baue deine Toniebox erneut zusammen. Wenn du bereits den TeddyCloud-Hostnamen festgelegt hast, kannst du den DNS-Schritt für den ESP32 überspringen. Andernfalls fahre mit dem DNS-Schritt für den ESP32 fort.", + "flashCAreplacementText3": "Deine Toniebox sollte jetzt in der Lage sein, eine Verbindung zu deiner TeddyCloud herzustellen. Mache einen Freshnesscheck und klicke auf \"Verfügbare Boxen anzeigen\".", + "proceedWithDNS": "Weiter zum DNS-Schritt", + "skipDnsIfAlreadyDone": "Falls du schon die IP/hostname im Flash-Dump ersetzt hast, kannst du diesen Schritt hier ignorieren.", + "checkBoxes": "Verfügbare Boxen anzeigen", + "dnsIntro": "Du kannst entweder die IP/Hostname innerhalb des Images festlegen oder es wie im Folgenden beschrieben tun." + }, "linkWikiGeneral": "Patching deiner Toniebox zur Nutzung mit TeddyCloud", "linkWikiSpecific": "ESP32 spezifische Einrichtung", - "navigationTitle": "ESP32 Box Flashing", + "navigationTitle": "ESP32", "redirect": "Weiter zu HTTPS", "title": "ESP32 Box Flashing" }, @@ -646,6 +724,8 @@ "navigationTitle": "Tonieboxen", "newBoxesAllowed": "Neue Tonieboxen erlaubt", "newBoxesAllowedText": "Du kannst neue Tonieboxen mit TeddyCloud verbinden. Wenn du alle deine Boxen verbunden hast, deaktiviere aus Sicherheitsgründen bitte die Einstellung \"Allow new boxes\".", + "noNewBoxesAllowed": "Neue Tonieboxen sind nicht erlaubt", + "noNewBoxesAllowedText": "Du kannst keine neuen Tonieboxen mit TeddyCloud verbinden. Bitte aktiviere zuerst die Einstellung „Neue Boxen erlauben“. Sobald du alle deine Boxen verbunden hast, deaktiviere die Einstellung „Neue Boxen erlauben“ aus Sicherheitsgründen.", "offline": "offline", "online": "online", "title": "Deine Tonieboxen", @@ -655,6 +735,33 @@ "boxSpecific": " (Toniebox spezifisch hinterlegt)", "uploadPath": "Upload Pfad (certDir):", "uploadTonieboxCertificates": "Zertifikate für Toniebox \"{{name}}\" hochladen" + }, + "availableBoxModal": { + "commonName": "MAC-Adresse der Toniebox", + "boxVersion": "Version", + "status": "Status", + "availableBoxes": "Verfügbare Toniebox(en) (nur {{boxVersion}} Tonieboxen)", + "newBoxAvailable": "Bitte überprüfe, ob die neue Box in der Tabelle unten erscheint. Wenn sie nicht aufgeführt ist, könnte etwas schiefgegangen sein. Stelle sicher, dass du die Einstellung \"Add new boxes\" aktiviert hast, die Box in deinem WLAN sichtbar ist, dass das Ersatz-CA geflasht wurde{{cc3200Hint}} und dass die korrekte IP/URL für TeddyCloud verwendet wird. Wenn die Box weiterhin nicht erscheint, überprüfe hier:", + "cc3200Hint": ", dass du den richtigen Firmware-Slot bootest, dass alle notwendigen Patches gesetzt sind", + "troubleShooting": "Fehlerbehebung", + "ok": "OK", + "cancel": "Abbrechen", + "recheck": "Überprüfen" + }, + "connectESP32Modal": { + "connectESP32Text1": "Bitte verbinde den Jumper J100 (Boot) und setze die Box zurück, um sie in den erforderlichen UART-Modus zu versetzen. Verbinde dein 3,3 V UART mit J103 (Toniebox J103 [TxD | RxD | GND] -> UART: TxD -> RxD, RxD -> TxD, GND -> GND).", + "connectESP32Text2": "Wenn du dir nicht sicher bist, in welchem Modus der ESP32 startet, überprüfe Folgendes.", + "normalMode": "Normaler Startmodus", + "normalModeText": "LED blinkt grün, Startton wird abgespielt, Serieller Output:", + "downloadMode": "Download-Modus", + "downloadModeText": "LED ist aus, kein Ton, Serieller Output:", + "beware": "Achtung!", + "warningText": "Wenn der serielle Monitor geöffnet ist, blockiert er den Zugriff von esptool.py auf das ESP. Wenn du einen „BROWNOUT_RST“ erhältst, überprüfe deine Stromversorgung/Batterie. „SPI_FAST_FLASH_BOOT“ zeigt einen Boot ohne den Jumper J100 an.", + "esp32UartJ103": "ESP32 J103", + "esp32UartJ103ClampTitle": "Verbinde UART mit ESP32 J103 mithilfe einer Klemme", + "esp32UartJ103Clamp": "ESP32 J103 mit 4-Pin-Klemme", + "esp32UartJ103AnalogClamp": "ESP32 J103 mit Wäscheklammer-Klemme", + "esp32UartJ103Clamp4PinHint": "Wenn du nur eine 4-Pin-Klemme statt der benötigten 3-Pin-Klemme hast (wie oben gezeigt), sitzt sie möglicherweise nicht perfekt. Versuche, die Pins so zentral wie möglich auf den Kontakten zu platzieren." } }, "tonies": { @@ -839,5 +946,10 @@ "title": "Tonies" }, "unsetTonie": "Tonie/Tag" + }, + "utils": { + "copied": "Kopiert!", + "copyToClipboard": "In die Zwischenablage kopieren", + "failedToCopied": "Kopieren fehlgeschlagen!" } } diff --git a/contrib/data/www/web/translations/en.json b/contrib/data/www/web/translations/en.json index cb06aba4..21fb77b9 100644 --- a/contrib/data/www/web/translations/en.json +++ b/contrib/data/www/web/translations/en.json @@ -381,7 +381,36 @@ "tonieboxes": { "accessApiDisabled": "Access to TeddyCloud APIs disabled.", "accessApiEnabled": "Access to TeddyCloud APIs enabled.", + "boxFlashingCommon": { + "certificatesIntro": "On first run teddyCloud will generate the CA and certificates with the starting date 2015-11-03. Those will be placed in /certs/server/. This also generates the replacement CA for the toniebox certs/server/ca.der.", + "dumpCertificates": "Dump certificates for TeddyCloud", + "dumpCertificatesIntro1": "You`ll need the flash:/cert/ca.der (Boxine CA), flash:/cert/client.der (Client Cert) and flash:/cert/private.der (Client private key). Place those files under /certs/client/*. You can either power the box with the battery (be sure it is not empty) or with the power supply (recommended).", + "dumpCertificatesIntro2": "Keep a backup of the certificates, especially the client.der and private.der. Without it you won`t be able to connect to the cloud anymore!", + "preparations": "Preparations", + "certificates": "Certificates", + "dns": "DNS", + "dnsHint": "DNS Adaptions for TeddyCloud", + "dnsText1": "Set the DNS entries for prod.de.tbs.toys and rtnl.bxcl.de to the teddyCloud servers ip-address.", + "dnsBeware": "Beware!", + "dnsBewareText": "This will cut off the connection of all tonieboxes within your network, which arn`t patched with your replacement CA!", + "dnsText2": "As an alternative you can set the gateway for the tonieboxes to the ip of teddyCloud. With OpenWRT it works this way:" + }, "boxSetup": { + "navigationTitle": "Add Toniebox", + "title": "Add your Toniebox to TeddyCloud", + "setupTeddyCloud": "Setup TeddyCloud", + "setupTeddyCloudText": "Congratulations! By reaching this page, you've successfully set up TeddyCloud!", + "identifyTonieboxVersion": "Identify your Toniebox version", + "identifyTonieboxVersionText": "The first step in adding your Toniebox to TeddyCloud is identifying its version. The version determines the specific method needed to modify your Toniebox to make it compatible with TeddyCloud.", + "flashBox": "Flash Toniebox", + "flashBoxText": "To add your Toniebox to TeddyCloud, some modifications are required. Depending on your Toniebox version, there are three specific guidelines to follow:", + "useIt": "Use it!", + "useItText": "Now you can assign custom content to your Tonies or custom tags, sit back, and enjoy the endless possibilities of your unlocked Toniebox!", + "boxSetupIntro1": "This page provides a complete overview of the steps required to add your Toniebox to TeddyCloud. If you encounter any issues, feel free to visit the", + "boxSetupIntroForum": "forum", + "boxSetupIntro2": "or join the", + "boxSetupIntroTelegram": "Telegram group", + "boxSetupIntro3": "for community support.", "identifyVersion": { "navigationTitle": "Toniebox version", "title": "Identify your Toniebox version", @@ -423,13 +452,11 @@ "hint2": "Please follow then the CC3200 path:", "linkGeneral": "Patching your Toniebox for using with TeddyCloud", "linkSpecific": "CC3200 specific setup", - "navigationTitle": "CC3200 Box Flashing", + "navigationTitle": "CC3200", "title": "CC3200 Box Flashing", "proceedWithCustomBootloader": "Proceed with the custom bootloader", "proceedWithoutCustomBootloader": "Proceed without the custom bootloader", - "preparations": "Preparations", "bootloader": "Bootloader", - "certificates": "Certificates", "patches": "Patches", "applyingPatches": "Applying patches", "previous": "Back", @@ -453,12 +480,6 @@ "customUrlPatchHint": "Please create this patch only if the existing altUrl.305.json and altUrl.tc.fritz.box.json patches are not functioning with your current TeddyCloud setup. If they do meet your needs you can proceed by clicking 'Next'.", "applyingPatchesWithNgCfgJson": "Apply patches using ngCfg.json", "applyingPatchesWithNgCfgJsonLink": "Find instructions here", - "availableBoxes": "Available Toniebox(es) (only CC3200 Tonieboxes)", - "newBoxAvailable": "Please check if the new box appears in the table below. If it is not listed, something may have gone wrong. Ensure the box is visible in your Wi-Fi, that the replacement CA has been flashed, that you are booting the correct firmware slot, that all necessary patches are set, and that the correct IP/URL for TeddyCloud is being used. If the box still does not appear, check here:", - "troubleShooting": "Troubleshooting", - "commonName": "MAC address of Toniebox", - "boxVersion": "Version", - "status": "Status", "hintPatchHost": "Enter the hostname of your TeddyCloud instance and then click 'Create altUrl.custom.305.patch'. The patch will automatically download afterwards.", "hostname": "TeddyCloud Hostname:", "hostnameTooLong": "The hostname must not exceed 12 characters.", @@ -512,8 +533,41 @@ "hint2": "Please follow then the CC3235 path:", "linkGeneral": "Patching your Toniebox for using with TeddyCloud", "linkSpecific": "CC3235 specific setup", - "navigationTitle": "CC3235 Box Flashing", - "title": "CC3235 Box Flashing" + "navigationTitle": "CC3235", + "title": "CC3235 Box Flashing", + "installCC3200tool": "Install the CC3200 Tool", + "installCC3200toolLink": "Find installation instructions here", + "dumpCertificates": "Dump certificates for TeddyCloud", + "dumpCertificatesLink": "Find instructions for dumping certificates here", + "flashCAreplacement": "Flash CA replacement for TeddyCloud", + "flashCAreplacementLink": "Find flashing instructions here", + "dnsHint": "DNS Adaptions for TeddyCloud", + "dnsLink": "Find instructions for adapting DNS here", + "previous": "Back", + "next": "Next", + "certificatesDumpedCAreplacementFlashed": "Certificates dumped and CA replacement flashed", + "checkBoxes": "Show available boxes", + "preparationText": "Please connect your Toniebox to your Wi-Fi and update its firmware. Many boxes are shipped with a production firmware that needs to be updated. Otherwise the box won`t work as it should. It is not necessary to connect the box to the mytonies app/account.", + "preparationTextLink": "Connect the box without the setup assistant.", + "dumpCertificatesCC3235": "You`ll have to manually extract it from the flash of the box with a SOP8 clamp directly from the memory or by desoldering it. Reading in-circuit can be tricky, but is possible. We recommend flashrom as tool for that. It may be necessary to use a more recent version of it.", + "readingFlashPico": "Reading the flash with Pico", + "readingFlashPicoText1": "As a probe you may use a raspberry pi pico with the serprog protocol firmware for it.", + "installSerprogFirmware": "Install serprog firmware", + "serprogFirmwareLink": "Find installation instructions here", + "readingFlashPicoText2": "You may do multiple reads and compare the result", + "extractCertificates": "Extract certificates", + "useCC3200ToolToExtract": "You can use the cc3200tool to extract your certificates from the flash dump afterwards.", + "flashCAreplacementText1": "Replace the original CA within your flash dump with the replacement CA and reflash it to your box.", + "flashCAreplacementText2": "If the box does not connect at all (codeword owl), you may try the old gencerts.sh to generate new certificates and reflash the box.", + "dnsText1": "Set the DNS entries for prod.de.tbs.toys and rtnl.bxcl.de to the teddyCloud servers ip-address.", + "dnsBeware": "Beware!", + "dnsBewareText": "This will cut off the connection of all tonieboxes within your network, which arn`t patched with your replacement CA!", + "dnsText2": "As an alternative you can set the gateway for the tonieboxes to the ip of teddyCloud. With OpenWRT it works this way:", + "flashCollapse": { + "collapseTitle": "Help: Firmware flash of CC3235", + "cc3235flash": "Flash with pins", + "cc3235flashWithSMDGrippers": "Flash with connected SMD grippers" + } }, "confirmDeleteDialog": "Do you really want to delete {{tonieboxToDelete}}?", "confirmDeleteModal": "Confirm delete", @@ -536,7 +590,7 @@ }, "esp32BoxFlashing": { "attention": "Attention", - "browserNotSupported": "ESP32 Box Flashing can only be used with browsers that support the Web Serial API. Unfortunately, your current browser does not support this feature. Please use a browser that supports the Web Serial API, such as Chrome or Edge.", + "browserNotSupported": "The integrated ESP32 Box flashing functionality can only be used with browsers that support the Web Serial API. Unfortunately, your current browser does not support this feature. Please use a browser that supports the Web Serial API, such as Chrome or Edge.", "esp32flasher": { "automatically": "Automatically", "cancel": "Cancel", @@ -583,7 +637,7 @@ "hintPatchFlash": "To apply the selected/read flash with your TeddyCloud CA certificate and possibly make other adjustments like the TeddyCloud hostname and/or WiFi credentials, click 'Patch' after entering the information or proceed to the next step without patching.", "hintPatchHost": "Enter the desired hostname for your TeddyCloud instance.", "hintPatchWifi": "Optionally enter the WiFi credentials for your Toniebox.", - "hintReadESP32ImportFlash": "Now disconnect the Powersource of your Toniebox. Make sure that the UART operates in 3.3V mode. Connect your UART with your PC and Toniebox (Toniebox J103 [TxD | RxD | GND] -> UART: TxD -> RxD, RxD -> TxD, GND -> GND). Short cut the J100 pinholes. Click on \"Read Flash\" or \"Load File\", then choose the COM-Port. Then connect your Toniebox to power and wait till the step is done!", + "hintReadESP32ImportFlash": "Now disconnect the Powersource of your Toniebox. Make sure that the UART operates in 3.3V mode. Connect your UART with your PC and Toniebox. Short cut the J100 pinholes. Click on \"Read Flash\" or \"Load File\", then choose the COM-Port. Then connect your Toniebox to power and wait till the step is done!", "hostname": "TeddyCloud Hostname:", "hostnameSettings": "Hostname TeddyCloud", "hostnameTooLong": "The hostname should be less than 13 characters long.", @@ -618,15 +672,39 @@ "wifiSSID": "WiFi SSID:", "wifiSettings": "WiFi Data (optional):", "writingFinished": "Writing finished", - "writingFlash": "Writing {{size}} MiB flash..." + "writingFlash": "Writing {{size}} MiB flash...", + "connectESPCollapseTitle": "Help: Connect UART with Toniebox" }, "hint": "This section is only available when using HTTPS and a browser that supports the Web Serial API, such as Chrome or Edge. If you want to flash your ESP32 Toniebox, please click on \"Proceed to HTTPS\", and you will be automatically redirected to the HTTPS version. Your browser might warn that the connection is not secure. This is okay; confirm it and proceed to open the page anyway. You may need to display more details in the warning.", - "hintWiki": "If you prefer not to use a browser that supports WebSerial, you can find step-by-step guidance here:", - "hintWiki2": "Please follow then the ESP32 path:", + "hintLegacyApproach": "If you prefer not to use a browser that supports WebSerial, you can still use the legacy method (no GUI, command line only).", "httpsSettings": "HTTPS Settings", + "legacy": { + "followLegacyApproach": "Or use the legacy method (no GUI, command line only).", + "navigationTitle": "Legacy method", + "title": "Legacy method of flashing", + "hint": "There is a direct support of flashing your ESP32 Toniebox with TeddyCloud available!", + "preparationText": "Please connect your Toniebox to your Wi-Fi and update its firmware. Many boxes are shipped with a production firmware that needs to be updated. Otherwise the box won`t work as it should. It is not necessary to connect the box to the mytonies app/account.", + "preparationTextLink": "Connect the box without the setup assistant.", + "installESPTool": "Install recent ESPtool", + "installESPToolText": "You can extract the flash memory via the debug port of the box and the esptool. Keep your backup! Please use a recent version of esptool. (>v4.4)", + "installESPToolLink": "ESPtool repository on GitHub", + "connectESP32": "Connect UART with Toniebox", + "next": "Next", + "previous": "Back", + "checkDumpIsOk": "Be sure, that the dump is okay and you are able to extract the certificates.", + "dumpCertificates": "Dump certificates for TeddyCloud", + "flashCAreplacement": "Flash CA replacement for TeddyCloud", + "flashCAreplacementText1": "Replace the original CA within your flash dump with esptool.", + "flashCAreplacementText2": "Reassamble your Toniebox again. If you already set the teddyCloud hostname, you can skip the DNS step for the ESP32, if not continue with DNS step for the ESP32.", + "flashCAreplacementText3": "Your Toniebox should now be able to connect to your teddyCloud. Do a freshnesscheck and click on \"Check available Boxes\".", + "proceedWithDNS": "Proceed with DNS step", + "skipDnsIfAlreadyDone": "If you have already replaced the IP/hostname in the flash dump, you can skip this step here.", + "checkBoxes": "Show available boxes", + "dnsIntro": "You can either set the IP/hostname within the image or you may do it like described in the following." + }, "linkWikiGeneral": "Patching your Toniebox for using with TeddyCloud", "linkWikiSpecific": "ESP32 specific setup", - "navigationTitle": "ESP32 Box Flashing", + "navigationTitle": "ESP32", "redirect": "Proceed to HTTPS", "title": "ESP32 Box Flashing" }, @@ -646,6 +724,8 @@ "navigationTitle": "Tonieboxes", "newBoxesAllowed": "New Tonieboxes allowed", "newBoxesAllowedText": "You can connect new Tonieboxes to TeddyCloud. Once you have connected all your boxes, please disable the \"Allow new boxes\" setting for security reasons.", + "noNewBoxesAllowed": "New Tonieboxes are not allowed", + "noNewBoxesAllowedText": "You cannot connect new Tonieboxes to TeddyCloud. Please enable first the \"Allow new boxes\" setting. Once you have connected all your boxes, please disable the \"Allow new boxes\" setting for security reasons.", "offline": "offline", "online": "online", "title": "Your Tonieboxes", @@ -655,6 +735,33 @@ "boxSpecific": " (overlayed for toniebox)", "uploadPath": "Upload path (certDir):", "uploadTonieboxCertificates": "Upload certificates for Toniebox \"{{name}}\"" + }, + "availableBoxModal": { + "commonName": "MAC address of Toniebox", + "boxVersion": "Version", + "status": "Status", + "availableBoxes": "Available Toniebox(es) (only {{boxVersion}} Tonieboxes)", + "newBoxAvailable": "Please check if the new box appears in the table below. If it is not listed, something may have gone wrong. Ensure you have enabled the setting \"Add new boxes\", the box is visible in your Wi-Fi, that the replacement CA has been flashed{{cc3200Hint}} and that the correct IP/URL for TeddyCloud is being used. If the box still does not appear, check here:", + "cc3200Hint": ", that you are booting the correct firmware slot, that all necessary patches are set", + "troubleShooting": "Troubleshooting", + "ok": "OK", + "cancel": "Cancel", + "recheck": "Recheck" + }, + "connectESP32Modal": { + "connectESP32Text1": "Please connect the jumper J100 (Boot) and reset the box to put it into the required UARTmode. Connect your 3.3V UART to J103 (Toniebox J103 [TxD | RxD | GND] -> UART: TxD -> RxD, RxD -> TxD, GND -> GND).", + "connectESP32Text2": "If you`re unsure in which mode the ESP32 is starting, check the following.", + "normalMode": "Normal startup mode", + "normalModeText": "LED blinking green, startup sound is played, Serial output:", + "downloadMode": "Download mode", + "downloadModeText": "LED is off, no sound, Serial output:", + "beware": "Beware!", + "warningText": "If the serial monitor is open it will block esptool.py from accessing the esp. If you get a “BROWNOUT_RST” check your power supply / battery. “SPI_FAST_FLASH_BOOT” indicates a boot without the J100 jumper.", + "esp32UartJ103": "ESP32 J103", + "esp32UartJ103ClampTitle": "Connect UART to ESP32 J103 using a clamp", + "esp32UartJ103Clamp": "ESP32 J103 with 4-pin clamp", + "esp32UartJ103AnalogClamp": "ESP32 J103 with clothespin", + "esp32UartJ103Clamp4PinHint": "If you have only 4-pin clamp instead of the needed 3-pin clamp (as shown above), so it`s not aligned perfectlys. Try to place the pins as centrally as possible on the contacts." } }, "tonies": { @@ -839,5 +946,10 @@ "title": "Tonies" }, "unsetTonie": "Tonie/Tag" + }, + "utils": { + "copied": "Copied!", + "copyToClipboard": "Copy to clipboard", + "failedToCopied": "Failed to copy!" } } diff --git a/contrib/data/www/web/translations/es.json b/contrib/data/www/web/translations/es.json index ae67ec9e..83ba6b38 100644 --- a/contrib/data/www/web/translations/es.json +++ b/contrib/data/www/web/translations/es.json @@ -381,7 +381,36 @@ "tonieboxes": { "accessApiDisabled": "Acceso a las API de TeddyCloud deshabilitado.", "accessApiEnabled": "Acceso a las API de TeddyCloud habilitado.", + "boxFlashingCommon": { + "certificatesIntro": "En el primer inicio, TeddyCloud generará el CA y los certificados con fecha de inicio 2015-11-03. Estos se colocarán en /certs/server/. Esto también generará el reemplazo del CA para la Toniebox en certs/server/ca.der.", + "dumpCertificates": "Extraer certificados para TeddyCloud", + "dumpCertificatesIntro1": "Necesitarás los archivos flash:/cert/ca.der (Boxine CA), flash:/cert/client.der (Certificado del Cliente) y flash:/cert/private.der (Clave privada del Cliente). Coloca estos archivos en /certs/client/*. Puedes alimentar la caja con la batería (asegúrate de que no esté vacía) o con la fuente de alimentación (recomendado).", + "dumpCertificatesIntro2": "Guarda una copia de seguridad de los certificados, especialmente el client.der y private.der. ¡Sin ellos, no podrás conectarte a la nube nunca más!", + "preparations": "Preparativos", + "certificates": "Certificados", + "dns": "DNS", + "dnsHint": "Adaptaciones DNS para TeddyCloud", + "dnsText1": "Establece las entradas DNS para prod.de.tbs.toys y rtnl.bxcl.de en la dirección IP del servidor teddyCloud.", + "dnsBeware": "¡Cuidado!", + "dnsBewareText": "¡Esto desconectará la conexión de todas las tonieboxes dentro de tu red que no estén parcheadas con tu CA de reemplazo!", + "dnsText2": "Como alternativa, puedes establecer la puerta de enlace para las tonieboxes a la IP de teddyCloud. Con OpenWRT funciona así:" + }, "boxSetup": { + "navigationTitle": "Añadir Toniebox", + "title": "Añade tu Toniebox a TeddyCloud", + "setupTeddyCloud": "Configurar TeddyCloud", + "setupTeddyCloudText": "¡Felicidades! Al llegar a esta página, ¡has configurado TeddyCloud con éxito!", + "identifyTonieboxVersion": "Identifica la versión de tu Toniebox", + "identifyTonieboxVersionText": "El primer paso para añadir tu Toniebox a TeddyCloud es identificar su versión. La versión determina el método específico necesario para modificar tu Toniebox y hacerla compatible con TeddyCloud.", + "flashBox": "Flashear Toniebox", + "flashBoxText": "Para añadir tu Toniebox a TeddyCloud, se requieren algunas modificaciones. Dependiendo de la versión de tu Toniebox, hay tres guías específicas a seguir:", + "useIt": "¡Úsala!", + "useItText": "Ahora puedes asignar contenido personalizado a tus Tonies o etiquetas personalizadas, relajarte y disfrutar de las infinitas posibilidades de tu Toniebox liberada.", + "boxSetupIntro1": "Esta página proporciona una visión general completa de los pasos necesarios para añadir tu Toniebox a TeddyCloud. Si encuentras algún problema, no dudes en visitar el", + "boxSetupIntroForum": "foro", + "boxSetupIntro2": "o unirte al", + "boxSetupIntroTelegram": "grupo de Telegram", + "boxSetupIntro3": "para recibir soporte de la comunidad.", "identifyVersion": { "navigationTitle": "Versión de la Toniebox", "title": "Identifica la versión de tu Toniebox", @@ -423,13 +452,11 @@ "hint2": "Sigue luego el camino para CC3200:", "linkGeneral": "Parchear tu Toniebox para usar con TeddyCloud", "linkSpecific": "Configuración específica para CC3200", - "navigationTitle": "CC3200 Flasheo de la caja", + "navigationTitle": "CC3200", "title": "Flasheo de la caja CC3200", "proceedWithCustomBootloader": "Proceder con el Custom Bootloader", "proceedWithoutCustomBootloader": "Proceder sin el Custom Bootloader", - "preparations": "Preparativos", "bootloader": "Bootloader", - "certificates": "Certificados", "patches": "Parches", "applyingPatches": "Aplicando parches", "previous": "Atrás", @@ -453,12 +480,6 @@ "customUrlPatchHint": "Por favor, crea este parche solo si los parches existentes altUrl.305.json y altUrl.tc.fritz.box.json no funcionan con tu configuración actual de TeddyCloud. Si satisfacen tus necesidades, puedes continuar haciendo clic en 'Siguiente'.", "applyingPatchesWithNgCfgJson": "Aplicar parches utilizando ngCfg.json", "applyingPatchesWithNgCfgJsonLink": "Encuentra las instrucciones aquí", - "availableBoxes": "Toniebox(es) disponibles (Solo Tonieboxes CC3200)", - "newBoxAvailable": "Por favor, verifica si la nueva caja aparece en la tabla a continuación. Si no está listada, puede haber un problema. Asegúrate de que la caja sea visible en tu Wi-Fi, que el reemplazo de CA haya sido flasheado, que estés arrancando la ranura de firmware correcta, que todos los parches necesarios estén establecidos y que se esté utilizando la IP/URL correcta para TeddyCloud. Si la caja aún no aparece, consulta aquí:", - "troubleShooting": "Solución de problemas", - "commonName": "Dirección MAC de la Toniebox", - "boxVersion": "Versión", - "status": "Estado", "hintPatchHost": "Ingresa el nombre de host de tu instancia de TeddyCloud y luego haz clic en 'Crear altUrl.custom.305.patch'. El parche se descargará automáticamente después.", "hostname": "Nombre de host de TeddyCloud:", "hostnameTooLong": "El nombre de host no debe exceder los 12 caracteres.", @@ -512,8 +533,41 @@ "hint2": "Sigue luego el camino para CC3235:", "linkGeneral": "Parchear tu Toniebox para usar con TeddyCloud", "linkSpecific": "Configuración específica para CC3235", - "navigationTitle": "CC3235 Flasheo de la caja", - "title": "Flasheo de la caja CC3235" + "navigationTitle": "CC3235", + "title": "Flasheo de la caja CC3235", + "installCC3200tool": "Instalar la herramienta CC3200", + "installCC3200toolLink": "Encuentra las instrucciones de instalación aquí", + "dumpCertificates": "Extraer certificados para TeddyCloud", + "dumpCertificatesLink": "Encuentra las instrucciones para extraer los certificados aquí", + "flashCAreplacement": "Flashear el reemplazo de CA para TeddyCloud", + "flashCAreplacementLink": "Encuentra las instrucciones para flashear aquí", + "dnsHint": "Adaptaciones DNS para TeddyCloud", + "dnsLink": "Encuentra las instrucciones para adaptar DNS aquí", + "previous": "Atrás", + "next": "Siguiente", + "certificatesDumpedCAreplacementFlashed": "Certificados extraídos y CA de reemplazo flasheado", + "checkBoxes": "Mostrar Tonieboxes disponibles", + "preparationText": "Por favor, conecta tu Toniebox a tu Wi-Fi y actualiza su firmware. Muchas cajas se envían con un firmware de producción que necesita actualizarse. De lo contrario, la caja no funcionará como debería. No es necesario conectar la caja a la aplicación/cuenta mytonies.", + "preparationTextLink": "Conecta la caja sin el asistente de configuración.", + "dumpCertificatesCC3235": "Tendrás que extraerlo manualmente del flash de la caja con una pinza SOP8 directamente de la memoria o desoldándola. Leer en circuito puede ser complicado, pero es posible. Te recomendamos Flashrom como herramienta para eso. Puede ser necesario usar una versión más reciente.", + "readingFlashPico": "Leyendo el flash con Pico", + "readingFlashPicoText1": "Puedes usar un Raspberry Pi Pico con el firmware de protocolo Serprog como sonda.", + "installSerprogFirmware": "Instalar firmware Serprog", + "serprogFirmwareLink": "Encuentra las instrucciones de instalación aquí", + "readingFlashPicoText2": "Puedes realizar varias lecturas y comparar los resultados.", + "extractCertificates": "Extraer certificados", + "useCC3200ToolToExtract": "Puedes usar la herramienta CC3200 para extraer tus certificados del volcado de flash después.", + "flashCAreplacementText1": "Reemplaza la CA original en tu volcado de flash con la CA de reemplazo y reflashea tu caja.", + "flashCAreplacementText2": "Si la caja no se conecta en absoluto (palabra clave: búho), puedes intentar usar el antiguo gencerts.sh para generar nuevos certificados y reflashear la caja.", + "dnsText1": "Establece las entradas DNS para prod.de.tbs.toys y rtnl.bxcl.de en la dirección IP del servidor de TeddyCloud.", + "dnsBeware": "¡Cuidado!", + "dnsBewareText": "¡Esto desconectará todas las Tonieboxes en tu red que no estén parcheadas con tu CA de reemplazo!", + "dnsText2": "Como alternativa, puedes establecer la puerta de enlace de las Tonieboxes en la IP de TeddyCloud. Con OpenWRT funciona así:", + "flashCollapse": { + "collapseTitle": "Ayuda: Flash de firmware del CC3235", + "cc3235flash": "Flash con pines", + "cc3235flashWithSMDGrippers": "Flash con pinzas SMD conectadas" + } }, "confirmDeleteDialog": "¿Realmente quieres eliminar {{tonieboxToDelete}}?", "confirmDeleteModal": "Confirmar eliminación", @@ -536,7 +590,7 @@ }, "esp32BoxFlashing": { "attention": "Atención", - "browserNotSupported": "El flasheo de la caja ESP32 solo se puede usar con navegadores que admiten la API Web Serial. Lamentablemente, tu navegador actual no admite esta función. Utiliza un navegador que admita la API Web Serial, como Chrome o Edge.", + "browserNotSupported": "La funcionalidad de flasheo integrado de la caja ESP32 solo se puede utilizar con navegadores que admiten la API Web Serial. Desafortunadamente, tu navegador actual no admite esta función. Por favor, utiliza un navegador que soporte la API Web Serial, como Chrome o Edge.", "esp32flasher": { "automatically": "Automáticamente", "cancel": "Cancelar", @@ -583,7 +637,7 @@ "hintPatchFlash": "Para aplicar el flash seleccionado/leído con tu certificado CA de TeddyCloud y posiblemente hacer otros ajustes como el nombre de host de TeddyCloud y/o credenciales WiFi, haz clic en 'Parchear' después de ingresar la información o continúa con el siguiente paso sin parchear.", "hintPatchHost": "Introduce el nombre de host deseado para tu instancia de TeddyCloud.", "hintPatchWifi": "Opcionalmente ingresa las credenciales WiFi para tu Toniebox.", - "hintReadESP32ImportFlash": "Ahora desconecta la fuente de alimentación de tu Toniebox. Asegúrate de que el UART opere en modo 3.3V. Conecta tu UART con tu PC y Toniebox (Toniebox J103 [TxD | RxD | GND] -> UART: TxD -> RxD, RxD -> TxD, GND -> GND). Haz un cortocircuito en los pines J100. Haz clic en \"Leer Flash\" o \"Cargar archivo\", luego elige el puerto COM. Luego conecta tu Toniebox a la alimentación y espera hasta que se complete el paso.", + "hintReadESP32ImportFlash": "Ahora desconecta la fuente de alimentación de tu Toniebox. Asegúrate de que el UART opere en modo 3.3V. Conecta tu UART con tu PC y Toniebox. Haz un cortocircuito en los pines J100. Haz clic en \"Leer Flash\" o \"Cargar archivo\", luego elige el puerto COM. Luego conecta tu Toniebox a la alimentación y espera hasta que se complete el paso.", "hostname": "Nombre de host de TeddyCloud:", "hostnameSettings": "Configuración del nombre de host", "hostnameTooLong": "El nombre de host debe tener menos de 13 caracteres.", @@ -618,15 +672,39 @@ "wifiSSID": "SSID de WiFi:", "wifiSettings": "Datos WiFi (opcional):", "writingFinished": "Escritura finalizada", - "writingFlash": "Escribiendo flash de {{size}} MiB..." + "writingFlash": "Escribiendo flash de {{size}} MiB...", + "connectESPCollapseTitle": "Ayuda: Conectar UART con Toniebox" }, "hint": "Esta sección solo está disponible cuando se utiliza HTTPS y un navegador que admite la API Web Serial, como Chrome o Edge. Si deseas flashear tu Toniebox ESP32, haz clic en \"Proceder a HTTPS\" y serás redirigido automáticamente a la versión HTTPS. Tu navegador puede advertir que la conexión no es segura. Esto está bien; confírmalo y procede a abrir la página de todos modos. Es posible que debas mostrar más detalles en la advertencia.", - "hintWiki": "Si prefieres no usar un navegador que soporte WebSerial, puedes encontrar una guía paso a paso aquí:", - "hintWiki2": "Sigue luego el camino para ESP32:", + "hintLegacyApproach": "Si prefieres no usar un navegador que soporte WebSerial, aún puedes usar el método legado (sin GUI, solo línea de comandos).", "httpsSettings": "Configuración de HTTPS", + "legacy": { + "followLegacyApproach": "O utiliza el método legado (sin GUI, solo línea de comandos).", + "navigationTitle": "Método legado", + "title": "Método legado de flasheo", + "hint": "¡Hay soporte directo para flashear tu Toniebox ESP32 con TeddyCloud disponible!", + "preparationText": "Por favor, conecta tu Toniebox a tu Wi-Fi y actualiza su firmware. Muchas cajas se envían con un firmware de producción que necesita ser actualizado. De lo contrario, la caja no funcionará como debería. No es necesario conectar la caja a la aplicación/cuenta mytonies.", + "preparationTextLink": "Conecta la caja sin el asistente de configuración.", + "installESPTool": "Instalar la herramienta ESP reciente", + "installESPToolText": "Puedes extraer la memoria flash a través del puerto de depuración de la caja y la esptool. ¡Mantén tu copia de seguridad! Por favor, usa una versión reciente de esptool. (>v4.4)", + "installESPToolLink": "Repositorio de ESPtool en GitHub", + "connectESP32": "Conectar UART con Toniebox", + "next": "Siguiente", + "previous": "Atrás", + "checkDumpIsOk": "Asegúrate de que el volcado esté bien y que puedas extraer los certificados.", + "dumpCertificates": "Volcar certificados para TeddyCloud", + "flashCAreplacement": "Flashear reemplazo de CA para TeddyCloud", + "flashCAreplacementText1": "Reemplaza la CA original dentro de tu volcado flash con esptool.", + "flashCAreplacementText2": "Vuelve a ensamblar tu Toniebox. Si ya configuraste el nombre de host de teddyCloud, puedes omitir el paso de DNS para el ESP32, si no, continúa con el paso de DNS para el ESP32.", + "flashCAreplacementText3": "Tu Toniebox ahora debería poder conectarse a tu teddyCloud. Haz una verificación de frescura y haz clic en \"Verificar cajas disponibles\".", + "proceedWithDNS": "Procede con el paso de DNS", + "skipDnsIfAlreadyDone": "Si ya has reemplazado la IP/hostname en el volcado de flash, puedes ignorar este paso aquí.", + "checkBoxes": "Mostrar cajas disponibles", + "dnsIntro": "Puedes establecer la IP/nombre de host dentro de la imagen o puedes hacerlo como se describe a continuación." + }, "linkWikiGeneral": "Parchear tu Toniebox para usar con TeddyCloud", "linkWikiSpecific": "Configuración específica para ESP32", - "navigationTitle": "ESP32 Flasheo de la caja", + "navigationTitle": "ESP32", "redirect": "Proceder a HTTPS", "title": "Flasheo de la caja ESP32" }, @@ -646,6 +724,8 @@ "navigationTitle": "Tonieboxes", "newBoxesAllowed": "Nuevas Tonieboxes permitidas", "newBoxesAllowedText": "Puedes conectar nuevas Tonieboxes a TeddyCloud. Una vez que hayas conectado todas tus cajas, deshabilita la opción \"Permitir nuevas cajas\" por razones de seguridad.", + "noNewBoxesAllowed": "No se permiten nuevas Tonieboxes", + "noNewBoxesAllowedText": "No puedes conectar nuevas Tonieboxes a TeddyCloud. Por favor, activa la configuración \"Permitir nuevas cajas\". Una vez que hayas conectado todas tus cajas, desactiva la configuración \"Permitir nuevas cajas\" por razones de seguridad.", "offline": "desconectado", "online": "conectado", "title": "Tus Tonieboxes", @@ -655,6 +735,33 @@ "boxSpecific": " (superpuesto para Toniebox)", "uploadPath": "Ruta de carga (certDir):", "uploadTonieboxCertificates": "Subir certificados para Toniebox \"{{name}}\"" + }, + "availableBoxModal": { + "commonName": "Dirección MAC de la Toniebox", + "boxVersion": "Versión", + "status": "Estado", + "availableBoxes": "Toniebox(es) disponibles (solo {{boxVersion}} Tonieboxes)", + "newBoxAvailable": "Por favor, verifica si la nueva caja aparece en la tabla a continuación. Si no está listada, algo puede haber salido mal. Asegúrate has activado la configuración \"Add new boxes\", de que la caja sea visible en tu Wi-Fi, de que el CA de reemplazo haya sido flasheado{{cc3200Hint}} y de que se esté utilizando la IP/URL correcta para TeddyCloud. Si la caja aún no aparece, verifica aquí:", + "cc3200Hint": ", de que estés iniciando la ranura de firmware correcta, de que todos los parches necesarios estén configurados", + "troubleShooting": "Resolución de problemas", + "ok": "Aceptar", + "cancel": "Cancelar", + "recheck": "Revisar" + }, + "connectESP32Modal": { + "connectESP32Text1": "Por favor, conecta el jumper J100 (Boot) y reinicia la caja para ponerla en el modo UART requerido. Conecta tu UART de 3.3V a J103 (Toniebox J103 [TxD | RxD | GND] -> UART: TxD -> RxD, RxD -> TxD, GND -> GND).", + "connectESP32Text2": "Si no estás seguro de en qué modo está iniciando el ESP32, verifica lo siguiente.", + "normalMode": "Modo de inicio normal", + "normalModeText": "LED parpadeando en verde, sonido de inicio se reproduce, Salida serial:", + "downloadMode": "Modo de descarga", + "downloadModeText": "LED apagado, sin sonido, Salida serial:", + "beware": "¡Cuidado!", + "warningText": "Si el monitor serial está abierto, bloqueará el acceso de esptool.py al esp. Si obtienes un “BROWNOUT_RST”, verifica tu fuente de alimentación/batería. “SPI_FAST_FLASH_BOOT” indica un arranque sin el jumper J100.", + "esp32UartJ103": "ESP32 J103", + "esp32UartJ103ClampTitle": "Conecta UART a la ESP32 J103 usando una pinza", + "esp32UartJ103Clamp": "ESP32 J103 con pinza de 4 pines", + "esp32UartJ103AnalogClamp": "ESP32 J103 con pinza de ropa", + "esp32UartJ103Clamp4PinHint": "Si solo tienes una pinza de 4 pines en lugar de la pinza de 3 pines necesaria (como se muestra arriba), no estará alineada perfectamente. Intenta colocar los pines lo más centrado posible en los contactos." } }, "tonies": { @@ -839,5 +946,10 @@ "title": "Tonies" }, "unsetTonie": "Tonie/Etiqueta" + }, + "utils": { + "copied": "¡Copiado!", + "copyToClipboard": "Copiar al portapapeles", + "failedToCopied": "¡Error al copiar!" } } diff --git a/contrib/data/www/web/translations/fr.json b/contrib/data/www/web/translations/fr.json index 5c02c263..4430c456 100644 --- a/contrib/data/www/web/translations/fr.json +++ b/contrib/data/www/web/translations/fr.json @@ -381,7 +381,36 @@ "tonieboxes": { "accessApiDisabled": "Accès aux API de TeddyCloud désactivé.", "accessApiEnabled": "Accès aux API de TeddyCloud activé.", + "boxFlashingCommon": { + "certificatesIntro": "Lors du premier démarrage, teddyCloud générera la CA et les certificats avec la date de début 2015-11-03. Ceux-ci seront placés dans /certs/server/. Cela générera également le remplacement de la CA pour les certificats de la toniebox dans certs/server/ca.der.", + "dumpCertificates": "Extraire les certificats pour TeddyCloud", + "dumpCertificatesIntro1": "Tu auras besoin de flash:/cert/ca.der (Boxine CA), flash:/cert/client.der (Certificat Client) et flash:/cert/private.der (Clé privée Client). Place ces fichiers sous /certs/client/*. Tu peux alimenter la box avec la batterie (assure-toi qu'elle n'est pas vide) ou avec l'alimentation électrique (recommandé).", + "dumpCertificatesIntro2": "Conserve une sauvegarde des certificats, notamment du client.der et du private.der. Sans eux, tu ne pourras plus te connecter au cloud !", + "preparations": "Préparations", + "certificates": "Certificats", + "dns": "DNS", + "dnsHint": "Adaptations DNS pour TeddyCloud", + "dnsText1": "Définissez les entrées DNS pour prod.de.tbs.toys et rtnl.bxcl.de sur l'adresse IP du serveur teddyCloud.", + "dnsBeware": "Attention !", + "dnsBewareText": "Cela coupera la connexion de toutes les tonieboxes de votre réseau qui ne sont pas patchées avec votre CA de remplacement !", + "dnsText2": "En alternative, vous pouvez définir la passerelle pour les tonieboxes sur l'IP de teddyCloud. Avec OpenWRT, cela fonctionne de cette manière :" + }, "boxSetup": { + "navigationTitle": "Ajouter Toniebox", + "title": "Ajoutez votre Toniebox à TeddyCloud", + "setupTeddyCloud": "Configurer TeddyCloud", + "setupTeddyCloudText": "Félicitations ! En atteignant cette page, vous avez réussi à configurer TeddyCloud !", + "identifyTonieboxVersion": "Identifiez la version de votre Toniebox", + "identifyTonieboxVersionText": "La première étape pour ajouter votre Toniebox à TeddyCloud consiste à identifier sa version. La version détermine la méthode spécifique nécessaire pour modifier votre Toniebox afin qu'elle soit compatible avec TeddyCloud.", + "flashBox": "Flasher la Toniebox", + "flashBoxText": "Pour ajouter votre Toniebox à TeddyCloud, certaines modifications sont nécessaires. Selon la version de votre Toniebox, il existe trois directives spécifiques à suivre :", + "useIt": "Utilisez-la !", + "useItText": "Vous pouvez maintenant attribuer du contenu personnalisé à vos Tonies ou à des étiquettes personnalisées, vous détendre et profiter des possibilités infinies de votre Toniebox déverrouillée !", + "boxSetupIntro1": "Cette page fournit un aperçu complet des étapes nécessaires pour ajouter votre Toniebox à TeddyCloud. Si vous rencontrez des problèmes, n'hésitez pas à visiter le", + "boxSetupIntroForum": "forum", + "boxSetupIntro2": "ou à rejoindre le", + "boxSetupIntroTelegram": "groupe Telegram", + "boxSetupIntro3": "pour obtenir de l'aide de la communauté.", "identifyVersion": { "navigationTitle": "Version de la Toniebox", "title": "Identifie ta version de Toniebox", @@ -423,13 +452,11 @@ "hint2": "Veuillez suivre ensuite le chemin CC3200 :", "linkGeneral": "Patch de votre Toniebox pour l'utiliser avec TeddyCloud", "linkSpecific": "Configuration spécifique CC3200", - "navigationTitle": "CC3200 Flashage de la boîte", + "navigationTitle": "CC3200", "title": "CC3200 Flashage de la boîte", "proceedWithCustomBootloader": "Procéder avec le Custom Bootloader", "proceedWithoutCustomBootloader": "Procéder sans le Custom Bootloader", - "preparations": "Préparations", "bootloader": "Bootloader", - "certificates": "Certificats", "patches": "Patches", "applyingPatches": "Application des patches", "previous": "Retour", @@ -453,12 +480,6 @@ "customUrlPatchHint": "Veuillez créer ce patch uniquement si les patches existants altUrl.305.json et altUrl.tc.fritz.box.json ne fonctionnent pas avec votre configuration actuelle de TeddyCloud. S'ils répondent à vos besoins, vous pouvez continuer en cliquant sur 'Suivant'.", "applyingPatchesWithNgCfgJson": "Appliquer les patches en utilisant ngCfg.json", "applyingPatchesWithNgCfgJsonLink": "Trouve les instructions ici", - "availableBoxes": "Toniebox(es) disponibles (Seulement des Toniebox CC3200)", - "newBoxAvailable": "Veuillez vérifier si la nouvelle box apparaît dans le tableau ci-dessous. Si elle n'est pas répertoriée, quelque chose a peut-être mal tourné. Assurez-vous que la box est visible dans votre Wi-Fi, que le remplacement CA a été flashé, que vous démarrez le bon slot de firmware, que tous les patches nécessaires sont définis et que la bonne IP/URL pour TeddyCloud est utilisée. Si la box n'apparaît toujours pas, vérifiez ici :", - "troubleShooting": "Dépannage", - "commonName": "Adresse MAC de la Toniebox", - "boxVersion": "Version", - "status": "Statut", "hintPatchHost": "Entrez le nom d'hôte de votre instance TeddyCloud, puis cliquez sur 'Créer altUrl.custom.305.patch'. Le patch sera téléchargé automatiquement par la suite.", "hostname": "Nom d'hôte TeddyCloud :", "hostnameTooLong": "Le nom d'hôte ne doit pas dépasser 12 caractères.", @@ -512,8 +533,41 @@ "hint2": "Veuillez suivre ensuite le chemin CC3235 :", "linkGeneral": "Patch de votre Toniebox pour l'utiliser avec TeddyCloud", "linkSpecific": "Configuration spécifique CC3235", - "navigationTitle": "CC3235 Flashage de la boîte", - "title": "CC3235 Flashage de la boîte" + "navigationTitle": "CC3235", + "title": "CC3235 Flashage de la boîte", + "installCC3200tool": "Installer l'outil CC3200", + "installCC3200toolLink": "Trouver les instructions d'installation ici", + "dumpCertificates": "Extraire les certificats pour TeddyCloud", + "dumpCertificatesLink": "Trouver les instructions pour extraire les certificats ici", + "flashCAreplacement": "Flasher le remplacement de CA pour TeddyCloud", + "flashCAreplacementLink": "Trouver les instructions de flashage ici", + "dnsHint": "Adaptations DNS pour TeddyCloud", + "dnsLink": "Trouver les instructions d'adaptation DNS ici", + "previous": "Retour", + "next": "Suivant", + "certificatesDumpedCAreplacementFlashed": "Certificats extraits et remplacement de CA flashé", + "checkBoxes": "Afficher les boxes disponibles", + "preparationText": "Connecte ta Toniebox à ton Wi-Fi et mets à jour son firmware. De nombreuses boxes sont expédiées avec un firmware de production qui doit être mis à jour. Sinon, la box ne fonctionnera pas correctement. Il n'est pas nécessaire de connecter la box à l'application ou au compte mytonies.", + "preparationTextLink": "Connecter la box sans l'assistant de configuration.", + "dumpCertificatesCC3235": "Tu devras l'extraire manuellement du flash de la boîte avec une pince SOP8 directement depuis la mémoire ou en la dessoudant. La lecture en circuit peut être délicate, mais c'est possible. Nous te recommandons d'utiliser Flashrom comme outil pour cela. Il pourrait être nécessaire d'utiliser une version plus récente.", + "readingFlashPico": "Lire la mémoire flash avec Pico", + "readingFlashPicoText1": "Tu peux utiliser un Raspberry Pi Pico avec le firmware du protocole Serprog comme sonde.", + "installSerprogFirmware": "Installer le firmware Serprog", + "serprogFirmwareLink": "Trouver les instructions d'installation ici", + "readingFlashPicoText2": "Tu peux effectuer plusieurs lectures et comparer les résultats.", + "extractCertificates": "Extraire les certificats", + "useCC3200ToolToExtract": "Tu peux utiliser l'outil CC3200 pour extraire tes certificats à partir du dump de la mémoire flash ensuite.", + "flashCAreplacementText1": "Remplace la CA originale dans ton dump flash par la CA de remplacement et reflash ta boîte.", + "flashCAreplacementText2": "Si la boîte ne se connecte pas du tout (mot-clé: chouette), tu peux essayer l'ancien gencerts.sh pour générer de nouveaux certificats et reflasher la boîte.", + "dnsText1": "Configure les entrées DNS pour prod.de.tbs.toys et rtnl.bxcl.de sur l'adresse IP des serveurs TeddyCloud.", + "dnsBeware": "Attention!", + "dnsBewareText": "Cela coupera la connexion de toutes les Tonieboxes dans ton réseau qui ne sont pas patchées avec ta CA de remplacement !", + "dnsText2": "Comme alternative, tu peux définir la passerelle pour les Tonieboxes sur l'IP de TeddyCloud. Avec OpenWRT, cela fonctionne ainsi:", + "flashCollapse": { + "collapseTitle": "Aide : Flash du firmware du CC3235", + "cc3235flash": "Flash avec des broches", + "cc3235flashWithSMDGrippers": "Flash avec pinces SMD connectées" + } }, "confirmDeleteDialog": "Voulez-vous vraiment supprimer {{tonieboxToDelete}}?", "confirmDeleteModal": "Confirmer la suppression", @@ -536,7 +590,7 @@ }, "esp32BoxFlashing": { "attention": "Attention", - "browserNotSupported": "Le flashage de la boîte ESP32 ne peut être utilisé qu'avec des navigateurs prenant en charge l'API Web Serial. Malheureusement, votre navigateur actuel ne prend pas en charge cette fonctionnalité. Veuillez utiliser un navigateur prenant en charge l'API Web Serial, comme Chrome ou Edge.", + "browserNotSupported": "La fonctionnalité de flashage intégré de la boîte ESP32 ne peut être utilisée qu'avec des navigateurs prenant en charge l'API Web Serial. Malheureusement, votre navigateur actuel ne prend pas en charge cette fonctionnalité. Veuillez utiliser un navigateur qui prend en charge l'API Web Serial, comme Chrome ou Edge.", "esp32flasher": { "automatically": "Automatiquement", "cancel": "Annuler", @@ -583,7 +637,7 @@ "hintPatchFlash": "Pour appliquer le flash sélectionné/lu avec le certificat CA de votre TeddyCloud et éventuellement effectuer d'autres ajustements tels que le nom d'hôte de TeddyCloud et/ou les identifiants WiFi, cliquez sur 'Patch' après avoir entré les informations ou passez à l'étape suivante sans patch.", "hintPatchHost": "Entrez le nom d'hôte souhaité pour votre instance TeddyCloud.", "hintPatchWifi": "Entrez optionnellement les identifiants WiFi pour votre Toniebox.", - "hintReadESP32ImportFlash": "Déconnecte l'alimentation de ta Toniebox. Assure-toi que l'UART fonctionne en mode 3.3V. Connecte ton UART à ton PC et à la Toniebox (Toniebox J103 [TxD | RxD | GND] -> UART: TxD -> RxD, RxD -> TxD, GND -> GND). Court-circuite les trous de broche J100. Clique sur \"Lire le Flash\" ou \"Charger le fichier\", puis choisis le port COM. Ensuite, connecte ta Toniebox à l'alimentation et attends que l'étape soit terminée !", + "hintReadESP32ImportFlash": "Déconnecte l'alimentation de ta Toniebox. Assure-toi que l'UART fonctionne en mode 3.3V. Connecte ton UART à ton PC et à la Toniebox. Court-circuite les trous de broche J100. Clique sur \"Lire le Flash\" ou \"Charger le fichier\", puis choisis le port COM. Ensuite, connecte ta Toniebox à l'alimentation et attends que l'étape soit terminée !", "hostname": "Nom d'hôte TeddyCloud:", "hostnameSettings": "Nom d'hôte TeddyCloud", "hostnameTooLong": "Le nom d'hôte doit être inférieur à 13 caractères.", @@ -618,15 +672,39 @@ "wifiSSID": "SSID WiFi:", "wifiSettings": "Données WiFi (optionnel):", "writingFinished": "Écriture terminée", - "writingFlash": "Écriture de {{size}} MiB de mémoire flash..." + "writingFlash": "Écriture de {{size}} MiB de mémoire flash...", + "connectESPCollapseTitle": "Aide : Connecter UART avec Toniebox" }, "hint": "Cette section est uniquement disponible si vous utilisez HTTPS et un navigateur compatible avec l'API Web Serial, comme Chrome ou Edge. Si vous souhaitez flasher votre ESP32 Toniebox, cliquez sur \"Continuer vers HTTPS\", vous serez alors automatiquement redirigé vers la version HTTPS. Il est possible que votre navigateur indique que la connexion n'est pas sécurisée. C'est normal, confirmez-le et ouvrez la page quand même. Vous devrez peut-être afficher plus de détails dans l’avertissement.", - "hintWiki": "Si vous ne souhaitez pas utiliser un navigateur qui prend en charge WebSerial, vous trouverez ici un guide étape par étape :", - "hintWiki2": "Veuillez suivre ensuite le chemin ESP32 :", + "hintLegacyApproach": "Si vous préférez ne pas utiliser un navigateur prenant en charge WebSerial, vous pouvez toujours utiliser l'approche héritée via votre ligne de commande.", "httpsSettings": "Paramètres HTTPS", + "legacy": { + "followLegacyApproach": "Ou utilisez la méthode ancienne (pas de GUI, uniquement en ligne de commande).", + "navigationTitle": "Méthode ancienne", + "title": "Méthode ancienne de flashage", + "hint": "Il existe un support direct pour flasher votre Toniebox ESP32 avec TeddyCloud !", + "preparationText": "Veuillez connecter votre Toniebox à votre Wi-Fi et mettre à jour son firmware. De nombreuses boîtes sont expédiées avec un firmware de production qui doit être mis à jour. Sinon, la boîte ne fonctionnera pas comme elle le devrait. Il n'est pas nécessaire de connecter la boîte à l'application/comptes mytonies.", + "preparationTextLink": "Connectez la boîte sans l'assistant de configuration.", + "installESPTool": "Installer l'outil ESP récent", + "installESPToolText": "Vous pouvez extraire la mémoire flash via le port de débogage de la boîte et l'esptool. Gardez votre sauvegarde ! Veuillez utiliser une version récente d'esptool. (>v4.4)", + "installESPToolLink": "Dépôt ESPtool sur GitHub", + "connectESP32": "Connecter UART avec Toniebox", + "next": "Suivant", + "previous": "Retour", + "checkDumpIsOk": "Assurez-vous que le dump est correct et que vous pouvez extraire les certificats.", + "dumpCertificates": "Dump de certificats pour TeddyCloud", + "flashCAreplacement": "Flasher le remplacement CA pour TeddyCloud", + "flashCAreplacementText1": "Remplacez le CA d'origine dans votre dump flash avec esptool.", + "flashCAreplacementText2": "Remontez votre Toniebox. Si vous avez déjà défini le nom d'hôte de teddyCloud, vous pouvez ignorer l'étape DNS pour l'ESP32, sinon continuez avec l'étape DNS pour l'ESP32.", + "flashCAreplacementText3": "Votre Toniebox devrait maintenant pouvoir se connecter à votre teddyCloud. Effectuez un contrôle de fraîcheur et cliquez sur \"Vérifier les boîtes disponibles\".", + "proceedWithDNS": "Procédez à l'étape DNS", + "skipDnsIfAlreadyDone": "Si vous avez déjà remplacé l'IP/le nom d'hôte dans le dump flash, vous pouvez ignorer cette étape ici.", + "checkBoxes": "Afficher les boîtes disponibles", + "dnsIntro": "Vous pouvez soit définir l'adresse IP/le nom d'hôte dans l'image, soit le faire comme décrit ci-dessous." + }, "linkWikiGeneral": "Patch de votre Toniebox pour l'utiliser avec TeddyCloud", "linkWikiSpecific": "Configuration spécifique ESP32", - "navigationTitle": "ESP32 Flashage de la boîte", + "navigationTitle": "ESP32", "redirect": "Continuer vers HTTPS", "title": "ESP32 Flashage de la boîte" }, @@ -646,6 +724,8 @@ "navigationTitle": "Tonieboxes", "newBoxesAllowed": "Nouvelles Tonieboxes autorisées", "newBoxesAllowedText": "Vous pouvez connecter de nouvelles Tonieboxes à TeddyCloud. Une fois que vous avez connecté toutes vos boîtes, veuillez désactiver le réglage \"Autoriser les nouvelles boîtes\" pour des raisons de sécurité.", + "noNewBoxesAllowed": "Les nouvelles Tonieboxes ne sont pas autorisées", + "noNewBoxesAllowedText": "Tu ne peux pas connecter de nouvelles Tonieboxes à TeddyCloud. Veuillez activer le paramètre \"Autoriser de nouvelles boxes\". Une fois que tu as connecté toutes tes boxes, désactive le paramètre \"Autoriser de nouvelles boxes\" pour des raisons de sécurité.", "offline": "hors ligne", "online": "en ligne", "title": "Vos Tonieboxes", @@ -655,6 +735,33 @@ "boxSpecific": " (superposé pour la Toniebox)", "uploadPath": "Chemin de téléchargement (certDir):", "uploadTonieboxCertificates": "Télécharger les certificats pour la Toniebox \"{{name}}\"" + }, + "availableBoxModal": { + "commonName": "Adresse MAC de la Toniebox", + "boxVersion": "Version", + "status": "Statut", + "availableBoxes": "Toniebox(s) disponible(s) (seulement {{boxVersion}} Tonieboxes)", + "newBoxAvailable": "Veuillez vérifier si la nouvelle boîte apparaît dans le tableau ci-dessous. Si elle n'est pas listée, quelque chose a peut-être mal tourné. Assurez-vous tu as activé le paramètre \"Add new boxes\", que la boîte est visible dans votre Wi-Fi, que le CA de remplacement a été flashé{{cc3200Hint}} sont appliqués et que la bonne IP/URL pour TeddyCloud est utilisée. Si la boîte n'apparaît toujours pas, vérifiez ici :", + "cc3200Hint": ", que vous démarrez le bon slot de firmware, que tous les correctifs nécessaires", + "troubleShooting": "Dépannage", + "ok": "OK", + "cancel": "Annuler", + "recheck": "Vérifier" + }, + "connectESP32Modal": { + "connectESP32Text1": "Veuillez connecter le jumper J100 (Boot) et réinitialiser la boîte pour la mettre en mode UART requis. Connectez votre UART de 3,3V à J103 (Toniebox J103 [TxD | RxD | GND] -> UART: TxD -> RxD, RxD -> TxD, GND -> GND)", + "connectESP32Text2": "Si vous n'êtes pas sûr du mode dans lequel démarre l'ESP32, vérifiez ce qui suit.", + "normalMode": "Mode de démarrage normal", + "normalModeText": "LED clignotante verte, son de démarrage joué, Sortie série :", + "downloadMode": "Mode de téléchargement", + "downloadModeText": "LED éteinte, pas de son, Sortie série :", + "beware": "Attention !", + "warningText": "Si le moniteur série est ouvert, cela bloquera l'accès de esptool.py à l'esp. Si vous obtenez un “BROWNOUT_RST”, vérifiez votre alimentation/batterie. “SPI_FAST_FLASH_BOOT” indique un démarrage sans le jumper J100.", + "esp32UartJ103": "ESP32 J103", + "esp32UartJ103ClampTitle": "Connecte l'UART à la ESP32 J103 avec une pince", + "esp32UartJ103Clamp": "ESP32 J103 avec une pince 4 broches", + "esp32UartJ103AnalogClamp": "ESP32 J103 avec une pince à linge", + "esp32UartJ103Clamp4PinHint": "Si tu n'as qu'une pince à 4 broches au lieu de la pince à 3 broches nécessaire (comme illustré ci-dessus), elle ne sera pas parfaitement alignée. Essaie de placer les broches aussi centré que possible sur les contacts." } }, "tonies": { @@ -839,5 +946,10 @@ "title": "Tonies" }, "unsetTonie": "Tonie/Tag" + }, + "utils": { + "copied": "Copié !", + "copyToClipboard": "Copier dans le presse-papiers", + "failedToCopied": "Échec de la copie !" } } diff --git a/contrib/data/www/web/web_version.json b/contrib/data/www/web/web_version.json index 892fa179..a4c386df 100644 --- a/contrib/data/www/web/web_version.json +++ b/contrib/data/www/web/web_version.json @@ -2,9 +2,9 @@ "web_version": "vX.X.X", "web_gitDirty": "0", "web_gitTag": "undefined", - "web_gitDateTime": "2024-10-16 22:55:23 +0200", - "web_gitSha": "a422b7743f118ece56fea50d79d480517c5ec587", + "web_gitDateTime": "2024-10-22 00:05:20 +0200", + "web_gitSha": "4881b0bd2ba45bb8d6b5e3437bba3f736df63018", "web_gitTagPrefix": "undefined", - "web_gitShortSha": "a422b77", + "web_gitShortSha": "4881b0b", "_eof":"" } diff --git a/teddycloud_web b/teddycloud_web index a422b774..4881b0bd 160000 --- a/teddycloud_web +++ b/teddycloud_web @@ -1 +1 @@ -Subproject commit a422b7743f118ece56fea50d79d480517c5ec587 +Subproject commit 4881b0bd2ba45bb8d6b5e3437bba3f736df63018